var firstime=0;
function carica(what){

var box = $('content');
var fx =box.effects({duration: 1000, transition: Fx.Transitions.Quart.easeOut});

fx.start({
'opacity': .4
	}).chain(function(){
		// executes immediately after completion of above effect
		//log.setHTML('First effect completed (1/5)');
		
		
		
var tail='&r='+Math.floor(Math.random()*99999);

var myAjax = new Ajax(what+tail+" ", {method: 'get', update: 'content', onComplete: function(text){
fx.start({'opacity': 1});

		}, evalScripts: true });
myAjax.request();
});
}
		
function userlogin(){
carica ('/new_login.php?email='+document.userlog.email.value+'&pwd='+document.userlog.pwd.value);
}
