function viewGL(mpara){
mpage = mpara + ".html"
if (window.XMLHttpRequest)
  {// code for IE7+, Firefox, Chrome, Opera, Safari
  
  xmlhttp=new XMLHttpRequest();
  }
else
  {// code for IE6, IE5
  xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");
  }
xmlhttp.onreadystatechange=function()
  {
  if (xmlhttp.readyState==4 && xmlhttp.status==200)
    {
	$('#mC').fadeOut('slow');
	$('#mC').fadeIn('slow');
		document.getElementById("mC").innerHTML= xmlhttp.responseText;
		if(mpara == 'home'){
			viewGL2('right-defualt');
		}
    }
  }
		xmlhttp.open("GET",mpage,true);
		xmlhttp.send();
}
window.onload=function(){
	viewGL('home');
}

function viewGL2(mpara){
mpage = mpara + ".html"
if (window.XMLHttpRequest)
  {// code for IE7+, Firefox, Chrome, Opera, Safari
  
  xmlhttp=new XMLHttpRequest();
  }
else
  {// code for IE6, IE5
  xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");
  }
xmlhttp.onreadystatechange=function()
  {
  if (xmlhttp.readyState==4 && xmlhttp.status==200)
    {
	$('#IR').fadeOut('slow');
	$('#IR').fadeIn('slow');
		document.getElementById("IR").innerHTML= xmlhttp.responseText;
		
    }
  }
		xmlhttp.open("GET",mpage,true);
		xmlhttp.send();
}

