var $j = jQuery.noConflict()
function loadPage(file){
			var id;
			// get the current showing content div
			$j("div").filter(function(){
				if( ($j(this).attr("class") == "insideContent") && ($j(this).css("display") == "block") ){
						id = $j(this).attr("id");
						return true;
				}
			}).fadeOut(200);
			
			$j("#centerLoader").fadeIn(200);
			setTimeout("var file = '"+file+"'; loadPage2(file, '"+id+"');",200);
		}
		
function loadPage2(file, loaderid){
	
	if(loaderid == "insideContent"){loaderid = "insideContent2";}else{loaderid = "insideContent";}
	$j("#copyrightBox").css("margin-top","0px");
	
	var randomnumber=Math.floor(Math.random()*11)
	if(file.indexOf("?") >0) { var extra = "&px=" + randomnumber; }else{ var extra = "?px=" + randomnumber;}
	$j("#" + loaderid).load(file + extra,function(){
			$j("#" + loaderid).fadeIn(400);
			$j('#centerLoader').fadeOut(300);
	});
}

function goBack(){
	
		var id;
		
		$j("div").filter(function(){
				if( ($j(this).attr("class") == "insideContent") && ($j(this).css("display") == "block") ){
						id = $j(this).attr("id");
						return true;
				}
			}).fadeOut(200);
		
		$j("#centerLoader").fadeIn(200);
		setTimeout("goBack2('"+id+"');",200);		
}

function goBack2(loaderid){
		if(loaderid == "insideContent"){loaderid = "insideContent2";}else{loaderid = "insideContent";}
		
		$j('#' + loaderid).fadeIn(400);
		$j('#centerLoader').fadeOut(300);
}

