





var GO = new Class({
	
	
	rf: "",
	 
	
	initialize: function(){
		 
		
	},
	
	
	
	init: function(){
		
		 
	},
	
	RELOAD: function(){
		 
		 var d = new Date();
		 var ts = d.getTime();
		 
		 document.Global.main.contentHandler.currentId = "a_"+ts;
	
	},
	
	LOGOUT: function(return_func){
	
	 
		$.ajax({
  			type: 'POST',
  			url: "system.php?gomode=js&go=logout",
  			success: return_func,
  			dataType: 'json'
		});
	
	},
	
	
	NEWURL: function(url){
		 document.Global.main.contentHandler.currentId = url;
		 document.location.hash = '#'+url;
	
	},
	
	LOGOUTSESSION: function(return_func){
	
	 
		$.ajax({
  			type: 'POST',
  			url: "system.php?gomode=js&go=logoutsession",
  			success: return_func,
  			dataType: 'json'
		});
	
	},
	
	LOGIN: function(user,pw,return_func){
		
		 
		 
		$.ajax({
  			type: 'POST',
  			url: "system.php?gomode=js&go=login",
  			data: { username: user, password: pw },
  			success: return_func,
  			dataType: 'json'
		});
		
		
		
	}
	
	 	
});



$(document).ready(function(e){
	 
	
					
					
					
})
