
var loadedobjects=""
var rootdomain="http://"+window.location.hostname
function ajaxpage(url, containerid, menuid, submenuid){
	
//alert(submenuid);
//menu before select
var cmenu = document.getElementById("currentmenu").value;

if(cmenu=="home")
{
document.getElementById("home").innerHTML = "<a href=\"javascript:void(0)\"  onClick=\"ajaxpage('home.html', 'rightcolumn' ,'home','');\" onMouseOut=\"MM_swapImgRestore()\" onMouseOver=\"MM_swapImage('HOME','','images/menu/home_hover.gif',1)\" ><img src=\"images/menu/home.gif\" alt=\"HOME\" name=\"HOME\" width=\"38\" height=\"15\" border=\"0\"></a>";
}

if(cmenu=="services")
{
document.getElementById("services").innerHTML = "<a href=\"javascript:void(0)\"  onClick=\"ajaxpage('Collocations.html', 'rightcolumn' ,'services','');\" onMouseOut=\"MM_swapImgRestore()\" onMouseOver=\"MM_swapImage('SERVICES','','images/menu/serivces_hover.gif',1)\" ><img src=\"images/menu/serivces.gif\" alt=\"SERVICES\" name=\"SERVICES\" width=\"59\" height=\"15\" border=\"0\"></a>";
}

if(cmenu=="solutions")
{
document.getElementById("solutions").innerHTML = "<a href=\"javascript:void(0)\"  onClick=\"ajaxpage('professional_services.html', 'rightcolumn' ,'solutions','');\" onMouseOut=\"MM_swapImgRestore()\" onMouseOver=\"MM_swapImage('SOLUTIONS','','images/menu/solutions_hover.gif',1)\" ><img src=\"images/menu/solutions.gif\" alt=\"SOLUTIONS\" name=\"SOLUTIONS\" width=\"71\" height=\"15\" border=\"0\"></a>";
}

if(cmenu=="support")
{
document.getElementById("support").innerHTML = "<a href=\"javascript:void(0)\"  onClick=\"ajaxpage('support.html', 'rightcolumn' ,'support','');\" onMouseOut=\"MM_swapImgRestore()\" onMouseOver=\"MM_swapImage('SUPPORT','','images/menu/support_hover.gif',1)\" ><img src=\"images/menu/support.gif\" alt=\"SUPPORT\" name=\"SUPPORT\" width=\"59\" height=\"15\" border=\"0\"></a>";
}


if(cmenu=="contact")
{
document.getElementById("contact").innerHTML = "<a href=\"javascript:void(0)\"  onClick=\"ajaxpage('contact.html', 'rightcolumn' ,'contact','');\" onMouseOut=\"MM_swapImgRestore()\" onMouseOver=\"MM_swapImage('CONTACT','','images/menu/contact_hover.gif',1)\" ><img src=\"images/menu/contact.gif\" alt=\"CONTACT\" name=\"CONTACT\" width=\"58\" height=\"15\" border=\"0\"></a>";
}




// menu current select

if(menuid=="home")
{
document.getElementById("service_submenu").style.display="none";
document.getElementById("solutions_submenu").style.display="none";
document.getElementById("support_submenu").style.display="none";
document.getElementById("currentmenu").value = "home"
document.getElementById("home").innerHTML = "<a href=\"javascript:void(0)\"  onClick=\"ajaxpage('home.html', 'rightcolumn' ,'home','');\" ><img src=\"images/menu/home_select.gif\" alt=\"HOME\" name=\"HOME\" width=\"38\" height=\"15\" border=\"0\"></a>";

}

if(menuid=="services")
{
document.getElementById("service_submenu").style.display="block";
document.getElementById("solutions_submenu").style.display="none";
document.getElementById("support_submenu").style.display="none";
document.getElementById("currentmenu").value = "services"
document.getElementById("services").innerHTML = "<a href=\"javascript:void(0)\"  onClick=\"ajaxpage('Collocations.html', 'rightcolumn' ,'services','')\" ><img src=\"images/menu/serivces_select.gif\" alt=\"SERVICES\" name=\"SERVICES\" width=\"59\" height=\"15\" border=\"0\"></a>";

if(submenuid=="Collocations")
	{
	document.getElementById("Collocations").innerHTML = "<a href=\"javascript:void(0)\"  onClick=\"ajaxpage('Collocations.html', 'rightcolumn' ,'services','Collocations');\" ><img src=\"images/submenu/collocations_hover.jpg\" alt=\"Collocations\" name=\"Collocations\" width=\"67\" height=\"10\" border=\"0\"></a>";
	}
else{ document.getElementById("Collocations").innerHTML = "<a href=\"javascript:void(0)\"  onClick=\"ajaxpage('Collocations.html', 'rightcolumn' ,'services','Collocations' );\" onMouseOut=\"MM_swapImgRestore()\" onMouseOver=\"MM_swapImage('Collocations','','images/submenu/collocations_hover.jpg',1)\"><img src=\"images/submenu/collocations.jpg\" alt=\"Collocations\" name=\"Collocations\" width=\"67\" height=\"10\" border=\"0\"></a>";

	}


if(submenuid=="managed_hosting")
	{
	document.getElementById("managed_hosting").innerHTML = "<a href=\"javascript:void(0)\"  onClick=\"ajaxpage('managed_hosting.html', 'rightcolumn' ,'services','managed_hosting');\" ><img src=\"images/submenu/managed_hosting_hover.jpg\" alt=\"Managed Hosting\" name=\"Managed Hosting\" width=\"98\" height=\"10\" border=\"0\"></a>";
	}
else{ document.getElementById("managed_hosting").innerHTML = "<a href=\"javascript:void(0)\"  onClick=\"ajaxpage('managed_hosting.html', 'rightcolumn' ,'services','managed_hosting' );\" onMouseOut=\"MM_swapImgRestore()\" onMouseOver=\"MM_swapImage('Managed Hosting','','images/submenu/managed_hosting_hover.jpg',1)\"><img src=\"images/submenu/managed_hosting.jpg\" alt=\"Managed Hosting\" name=\"Managed Hosting\" width=\"98\" height=\"10\" border=\"0\"></a>";

	}

if(submenuid=="email_hosting")
	{
	document.getElementById("email_hosting").innerHTML = "<a href=\"javascript:void(0)\"  onClick=\"ajaxpage('email_hosting.html', 'rightcolumn' ,'services','email_hosting');\" ><img src=\"images/submenu/email_hosting_hover.jpg\" alt=\"Email Hosting\" name=\"Email Hostingg\" width=\"79\" height=\"10\" border=\"0\"></a>";
	}
else{ document.getElementById("email_hosting").innerHTML = "<a href=\"javascript:void(0)\"  onClick=\"ajaxpage('email_hosting.html', 'rightcolumn' ,'services','email_hosting' );\" onMouseOut=\"MM_swapImgRestore()\" onMouseOver=\"MM_swapImage('Email Hosting','','images/submenu/email_hosting_hover.jpg',1)\"><img src=\"images/submenu/email_hosting.jpg\" alt=\"Email Hosting\" name=\"Email Hosting\" width=\"79\" height=\"10\" border=\"0\"></a>";
	}
	
if(submenuid=="online_backup")
	{
	document.getElementById("online_backup").innerHTML = "<a href=\"javascript:void(0)\"  onClick=\"ajaxpage('online_backup.html', 'rightcolumn' ,'services','online_backup');\" ><img src=\"images/submenu/online_backup_hover.gif\" alt=\"Email Hosting\" name=\"Online Backup\" width=\"91\" height=\"10\" border=\"0\"></a>";
	}
else{ document.getElementById("online_backup").innerHTML = "<a href=\"javascript:void(0)\"  onClick=\"ajaxpage('online_backup.html', 'rightcolumn' ,'services','online_backup' );\" onMouseOut=\"MM_swapImgRestore()\" onMouseOver=\"MM_swapImage('Online Backup','','images/submenu/online_backup_hover.gif',1)\"><img src=\"images/submenu/online_backup.gif\" alt=\"Online Backup\" name=\"Online Backup\" width=\"91\" height=\"10\" border=\"0\"></a>";
	}
	


}

if(menuid=="solutions")
{
document.getElementById("service_submenu").style.display="none";
document.getElementById("solutions_submenu").style.display="block";
document.getElementById("support_submenu").style.display="none";
document.getElementById("currentmenu").value = "solutions"
document.getElementById("solutions").innerHTML = "<a href=\"javascript:void(0)\"  onClick=\"ajaxpage('professional_services.html', 'rightcolumn' ,'solutions','');\" ><img src=\"images/menu/solutions_select.gif\" alt=\"SOLUTIONS\" name=\"SOLUTIONS\" width=\"71\" height=\"15\" border=\"0\"></a>";


	if(submenuid=="professional_services")
	{
	document.getElementById("professional_services").innerHTML = "<a href=\"javascript:void(0)\"  onClick=\"ajaxpage('professional_services.html', 'rightcolumn' ,'solutions','professional_services');\" ><img src=\"images/submenu/professional_services_hover.jpg\" alt=\"Professional Services\" name=\"Professional Services\" width=\"128\" height=\"10\" border=\"0\"></a>";
	}
else{ document.getElementById("professional_services").innerHTML = "<a href=\"javascript:void(0)\"  onClick=\"ajaxpage('professional_services.html', 'rightcolumn' ,'solutions','professional_services');\" onMouseOut=\"MM_swapImgRestore()\" onMouseOver=\"MM_swapImage('Professional Services','','images/submenu/professional_services_hover.jpg',1)\"><img src=\"images/submenu/professional_services.jpg\" alt=\"Professional Services\" name=\"Professional Services\" width=\"128\" height=\"10\" border=\"0\"></a>";
	}
	
	if(submenuid=="remote_management")
	{
	document.getElementById("remote_management").innerHTML = "<a href=\"javascript:void(0)\"  onClick=\"ajaxpage('remote_management.html', 'rightcolumn' ,'solutions','remote_management');\" ><img src=\"images/submenu/remote_management_hover.jpg\" alt=\"Professional Services\" name=\"Professional Services\" width=\"116\" height=\"10\" border=\"0\"></a>";
	}
	else{
	document.getElementById("remote_management").innerHTML = "<a href=\"javascript:void(0)\"  onClick=\"ajaxpage('remote_management.html', 'rightcolumn' ,'solutions','remote_management' );\" onMouseOut=\"MM_swapImgRestore()\" onMouseOver=\"MM_swapImage('Remote Management','','images/submenu/remote_management_hover.jpg',1)\"><img src=\"images/submenu/remote_management.jpg\" alt=\"Remote Management\" name=\"Remote Management\" width=\"116\" height=\"10\" border=\"0\"></a>";
	}
	
	if(submenuid=="business_continuity")
	{
	document.getElementById("business_continuity").innerHTML = "<a href=\"javascript:void(0)\"  onClick=\"ajaxpage('business_continuity.html', 'rightcolumn' ,'solutions','business_continuity');\" ><img src=\"images/submenu/business_continuity_hover.jpg\" alt=\"Business Continuity\" name=\"Business Continuity\" width=\"112\" height=\"10\" border=\"0\"></a>";
	}
	else{
	document.getElementById("business_continuity").innerHTML = "<a href=\"javascript:void(0)\"  onClick=\"ajaxpage('business_continuity.html', 'rightcolumn' ,'solutions','business_continuity' );\" onMouseOut=\"MM_swapImgRestore()\" onMouseOver=\"MM_swapImage('Business Continuity','','images/submenu/business_continuity_hover.jpg',1)\"><img src=\"images/submenu/business_continuity.jpg\" alt=\"Business Continuity\" name=\"Business Continuity\" width=\"112\" height=\"10\" border=\"0\"></a>";
	}
	
}


if(menuid=="support")
{
document.getElementById("service_submenu").style.display="none";
document.getElementById("solutions_submenu").style.display="none";
document.getElementById("support_submenu").style.display="block";
document.getElementById("currentmenu").value = "support"
document.getElementById("support").innerHTML = "<a href=\"javascript:void(0)\"  onClick=\"ajaxpage('support.html', 'rightcolumn' ,'support','');\" ><img src=\"images/menu/support_select.gif\" alt=\"SUPPORT\" name=\"SUPPORT\" width=\"59\" height=\"15\" border=\"0\"></a>";


if(submenuid=="perpetual_tools")
	{
	document.getElementById("perpetual_tools").innerHTML = "<a href=\"javascript:void(0)\"  onClick=\"ajaxpage('perpetual_tools.html', 'rightcolumn' ,'support','perpetual_tools');\" ><img src=\"images/submenu/perpetual_tools_hover.jpg\" alt=\"Perpetual Tools\" name=\"Perpetual Tools\" width=\"97\" height=\"10\" border=\"0\"></a>";
	}
else{ document.getElementById("perpetual_tools").innerHTML = "<a href=\"javascript:void(0)\"  onClick=\"ajaxpage('perpetual_tools.html', 'rightcolumn' ,'support','perpetual_tools' );\" onMouseOut=\"MM_swapImgRestore()\" onMouseOver=\"MM_swapImage('Perpetual Tools','','images/submenu/perpetual_tools_hover.jpg',1)\"><img src=\"images/submenu/perpetual_tools.jpg\" alt=\"Perpetual Tools\" name=\"Perpetual Tools\" width=\"97\" height=\"10\" border=\"0\"></a>";


	}
	
	if(submenuid=="testimonials")
	{
	document.getElementById("testimonials").innerHTML = "<a href=\"javascript:void(0)\"  onClick=\"ajaxpage('testimonials.html', 'rightcolumn' ,'support','testimonials');\" ><img src=\"images/submenu/Testimonials_hover.gif\" alt=\"Testimonials\" name=\"Testimonials\" width=\"76\" height=\"10\" border=\"0\"></a>";
	}
	else{
	document.getElementById("testimonials").innerHTML = "<a href=\"javascript:void(0)\"  onClick=\"ajaxpage('testimonials.html', 'rightcolumn' ,'support','testimonials' );\" onMouseOut=\"MM_swapImgRestore()\" onMouseOver=\"MM_swapImage('Testimonials', '','images/submenu/Testimonials_hover.gif',1)\"><img src=\"images/submenu/Testimonials.gif\" alt=\"Testimonials\" name=\"Testimonials\" width=\"76\" height=\"10\" border=\"0\"></a>";
	
	
	
	}


}
if(menuid=="contact")
{
document.getElementById("service_submenu").style.display="none";
document.getElementById("solutions_submenu").style.display="none";
document.getElementById("support_submenu").style.display="none";
document.getElementById("currentmenu").value = "contact"
document.getElementById("contact").innerHTML = "<a href=\"javascript:void(0)\"  onClick=\"ajaxpage('contact.html', 'rightcolumn' ,'contact','');\" ><img src=\"images/menu/contact_select.gif\" alt=\"CONTACT\" name=\"CONTACT\" width=\"58\" height=\"15\" border=\"0\"></a>";
}
	
	
	
var page_request = false
if (window.XMLHttpRequest) // if Mozilla, Safari etc
page_request = new XMLHttpRequest()
else if (window.ActiveXObject){ // if IE
try {
page_request = new ActiveXObject("Msxml2.XMLHTTP")
} 
catch (e){
try{
page_request = new ActiveXObject("Microsoft.XMLHTTP")
}
catch (e){}
}
}
else
return false
page_request.onreadystatechange=function(){
loadpage(page_request, containerid , submenuid)
}
page_request.open('GET', url, true)
page_request.send(null)
}

function loadpage(page_request, containerid){
if (page_request.readyState == 4 && (page_request.status==200 || window.location.href.indexOf("http")==-1))
document.getElementById(containerid).innerHTML=page_request.responseText
else
document.getElementById(containerid).innerHTML="<table height='200' cellpadding='0' cellspacing='0' width='100%' align='center'><tr><td valign='top' align='center'><center><img src='images/loading.gif'> Please wait....</center></td></tr></table>";
}

function loadobjs(){
if (!document.getElementById)
return
for (i=0; i<arguments.length; i++){
var file=arguments[i]
var fileref=""
if (loadedobjects.indexOf(file)==-1){ //Check to see if this object has not already been added to page before proceeding
if (file.indexOf(".js")!=-1){ //If object is a js file
fileref=document.createElement('script')
fileref.setAttribute("type","text/javascript");
fileref.setAttribute("src", file);
}
else if (file.indexOf(".css")!=-1){ //If object is a css file
fileref=document.createElement("link")
fileref.setAttribute("rel", "stylesheet");
fileref.setAttribute("type", "text/css");
fileref.setAttribute("href", file);
}
}
if (fileref!=""){
document.getElementsByTagName("head").item(0).appendChild(fileref)
loadedobjects+=file+" " //Remember this object as being already added to page
}
}
}

// JavaScript Document
