
function site(goto,option)
{var goto=goto;var option=option;if(window.XMLHttpRequest&&!(window.ActiveXObject))
{try
{site_request=new XMLHttpRequest();}
catch(e)
{site_request=false;}}
else if(window.ActiveXObject)
{try
{site_request=new ActiveXObject("Msxml2.XMLHTTP");}
catch(e)
{try
{site_request=new ActiveXObject("Microsoft.XMLHTTP");}
catch(e)
{site_request=false;}}}
site_request.onreadystatechange=site_result;site_request.open('GET','inc/'+goto+'.inc.php?goto='+goto+'&option='+option,true);site_request.send(null);}
function site_result()
{if(site_request.readyState==4)
{if(site_request.status==200)
{document.getElementById('main_area').innerHTML=site_request.responseText;document.getElementById('main_area').height=site_request.responseText.height;}}}
