function doRollOver(id)
{
	if(document.all && document.getElementById){
		document.getElementById(id).style.color = '#99CCFF';
	}else if(document.all && !document.getElementById){
		document.all[id].style.color = '#99CCFF';
	}
}

function doRollOut(id)
{
	if(document.all && document.getElementById){
		document.getElementById(id).style.color = '#FFFFFF';
	}else if(document.all && !document.getElementById){
		document.all[id].style.color = '#FFFFFF';
	}
}
  
function writeTopMenu(){
 
	menu1Content = '<table width="170" border="0" cellspacing="0" cellpadding="0" height="63" bgcolor="#003399"> \n'+
	'<tr><td width="170" height="1" bgcolor="#FFFFFF"><img src="../images/pixel1x1.gif" width="1" height="1" border="0"></td></tr> \n'+
	'<tr><td class="cursorStyle" width="170" height="20" class="menuLink" onMouseOver="doRollOver(\'link10\');" onMouseOut="doRollOut(\'link10\');" onclick="javascript:window.location.href=\'../xml_services/index.html\'">&nbsp;<a href="../xml_services/index.html" class="menuitems" id="link10">Overview</a></td></tr> \n'+
	'<tr><td width="170" height="1" bgcolor="#FFFFFF"><img src="../images/pixel1x1.gif" width="1" height="1" border="0"></td></tr> \n'+
	'<tr><td class="cursorStyle" width="170" height="20" class="menuLink" onMouseOver="doRollOver(\'link11\');" onMouseOut="doRollOut(\'link11\');" onclick="javascript:window.location.href=\'../xml_services/xml_web_services_education.html\'">&nbsp;<a href="../xml_services/xml_web_services_education.html" class="menuitems" id="link11">Education Services</a></td></tr> \n'+
	'<tr><td width="170" height="1" bgcolor="#FFFFFF"><img src="../images/pixel1x1.gif" width="1" height="1" border="0"></td></tr> \n'+
	'<tr><td class="cursorStyle" width="170" height="20" onMouseOver="doRollOver(\'link12\');" onMouseOut="doRollOut(\'link12\');" onclick="javascript:window.location.href=\'../xml_services/xml_web_services_project.html\'">&nbsp;<a href="../xml_services/xml_web_services_project.html" class="menuitems" id="link12">Project Services</a></td></tr> \n'+
	'<tr><td width="170" height="1" bgcolor="#FFFFFF"><img src="../images/pixel1x1.gif" width="1" height="1" border="0"></td></tr> \n'+
	'<tr><td class="cursorStyle" width="170" height="20" onMouseOver="doRollOver(\'link13\');" onMouseOut="doRollOut(\'link13\');" onclick="javascript:window.location.href=\'../xml_services/rxf.html\'">&nbsp;<a href="../xml_services/rxf.html" class="menuitems" id="link13">REIMSnet eXchange Format</a></td></tr> \n'+		
	'<tr><td width="170" height="1" bgcolor="#FFFFFF"><img src="../images/pixel1x1.gif" width="1" height="1" border="0"></td></tr> \n'+	
	'<tr><td class="cursorStyle" width="170" height="20" onMouseOver="doRollOver(\'link14\');" onMouseOut="doRollOut(\'link14\');" onclick="javascript:window.location.href=\'../xml_services/subscription_service.html\'">&nbsp;<a href="../xml_services/subscription_service.html" class="menuitems" id="link14">Subscription Services</a></td></tr> \n'+			
	'</table>';
	
	menu2Content = '<table width="210" border="0" cellspacing="0" cellpadding="0" height="63" bgcolor="#003399"> \n'+
	'<tr><td width="210" height="1" bgcolor="#FFFFFF"><img src="../images/pixel1x1.gif" width="1" height="1" border="0"></td></tr> \n'+
	'<tr><td class="cursorStyle" width="210" height="20" onMouseOver="doRollOver(\'link20\');" onMouseOut="doRollOut(\'link20\');" onclick="javascript:window.location.href=\'../xml_resources/index.html\'">&nbsp;<a id="link20" href="../xml_resources/index.html" class="menuitems">Overview</a></td></tr> \n'+
	'<tr><td width="210" height="1" bgcolor="#FFFFFF"><img src="../images/pixel1x1.gif" width="1" height="1" border="0"></td></tr> \n'+
	'<tr><td class="cursorStyle" width="210" height="20" onMouseOver="doRollOver(\'link21\');" onMouseOut="doRollOut(\'link21\');" onclick="javascript:window.location.href=\'../xml_resources/overview.html\'">&nbsp;<a href="../xml_resources/overview.html" class="menuitems" id="link21">XML Overview</a></td></tr> \n'+
	'<tr><td width="210" height="1" bgcolor="#FFFFFF"><img src="../images/pixel1x1.gif" width="1" height="1" border="0"></td></tr> \n'+
	'<tr><td class="cursorStyle" width="210" height="20" onMouseOver="doRollOver(\'link22\');" onMouseOut="doRollOut(\'link22\');" onclick="javascript:window.location.href=\'../xml_resources/links.html\'">&nbsp;<a href="../xml_resources/links.html" class="menuitems" id="link22">XML Links</a></td></tr> \n'+
	'<tr><td width="210" height="1" bgcolor="#FFFFFF"><img src="../images/pixel1x1.gif" width="1" height="1" border="0"></td></tr> \n'+
	'<tr><td class="cursorStyle" width="210" height="20" onMouseOver="doRollOver(\'link23\');" onMouseOut="doRollOut(\'link23\');" onclick="javascript:window.location.href=\'../xml_resources/business_benefits.html\'">&nbsp;<a href="../xml_resources/business_benefits.html" class="menuitems" id="link23">Business Benefits of XML</a></td></tr> \n'+	
	'<tr><td width="210" height="1" bgcolor="#FFFFFF"><img src="../images/pixel1x1.gif" width="1" height="1" border="0"></td></tr> \n'+
	'<tr><td class="cursorStyle" width="210" height="20" onMouseOver="doRollOver(\'link24\');" onMouseOut="doRollOut(\'link24\');" onclick="javascript:window.location.href=\'../xml_resources/case_studies.html\'">&nbsp;<a href="../xml_resources/case_studies.html" class="menuitems" id="link24">XML Deployment Case Studies</a></td></tr> \n'+	
	'<tr><td width="210" height="1" bgcolor="#FFFFFF"><img src="../images/pixel1x1.gif" width="1" height="1" border="0"></td></tr> \n'+
	'<tr><td class="cursorStyle" width="210" height="20" onMouseOver="doRollOver(\'link26\');" onMouseOut="doRollOut(\'link26\');" href="#" onclick="launch(\'../xmlglossary/index.html\',\'width=790,height=518\')">&nbsp;<a  href="#" onclick="launch(\'../xmlglossary/index.html\',\'width=790,height=518\')" id="link26" class="menuitems">XML Glossary</a></td></tr> \n'+	
	'<tr><td width="210" height="1" bgcolor="#FFFFFF"><img src="../images/pixel1x1.gif" width="1" height="1" border="0"></td></tr> \n'+
	'<tr><td class="cursorStyle" width="210" height="20" onMouseOver="doRollOver(\'link27\');" onMouseOut="doRollOut(\'link27\');" onclick="javascript:window.location.href=\'http://www.saaconsultants.com/products/index.html\'">&nbsp;<a href="http://www.saaconsultants.com/products/index.html" class="menuitems" id="link27">XML Solutions</a></td></tr> \n'+	
	'</table>';
	
	menu3Content = '<table width="107" border="0" cellspacing="0" cellpadding="0" height="21" bgcolor="#003399"> \n'+
	'<tr><td width="107" height="1" bgcolor="#FFFFFF"><img src="../images/pixel1x1.gif" width="1" height="1" border="0"></td></tr> \n'+
	'<tr><td class="cursorStyle" width="107" height="20" onMouseOver="doRollOver(\'link30\');" onMouseOut="doRollOut(\'link30\');" onclick="javascript:window.location.href=\'https://www.thexmlzone.com/ssl/buy_online/index.html\'">&nbsp;<a href="https://www.thexmlzone.com/ssl/buy_online/index.html" onClick="event.cancelBubble=true;" class="menuitems" id="link30">The XML Shop</a></td></tr> \n'+
	'</table>';	
	
	menu4Content = '<table width="168" border="0" cellspacing="0" cellpadding="0" height="42" bgcolor="#003399"> \n'+
	'<tr><td width="168" height="1" bgcolor="#FFFFFF"><img src="../images/pixel1x1.gif" width="1" height="1" border="0"></td></tr> \n'+
	'<tr><td class="cursorStyle" width="168" height="20" onMouseOver="doRollOver(\'link40\');" onMouseOut="doRollOut(\'link40\');" onclick="javascript:window.location.href=\'https://www.thexmlzone.com/ssl/customised_services/index.html\'">&nbsp;<a href="https://www.thexmlzone.com/ssl/customised_services/index.html" onClick="event.cancelBubble=true;" class="menuitems" id="link40">Overview</a></td></tr> \n'+
	'<tr><td width="168" height="1" bgcolor="#FFFFFF"><img src="../images/pixel1x1.gif" width="1" height="1" border="0"></td></tr> \n'+
	'<tr><td class="cursorStyle" width="168" height="20" onMouseOver="doRollOver(\'link41\');" onMouseOut="doRollOut(\'link41\');" onclick="javascript:window.location.href=\'https://www.thexmlzone.com/ssl/customised_services/education_services.html\'">&nbsp;<a href="https://www.thexmlzone.com/ssl/customised_services/education_services.html" onClick="event.cancelBubble=true;" class="menuitems" id="link41">Education Services</a></td></tr> \n'+
	'<tr><td width="168" height="1" bgcolor="#FFFFFF"><img src="../images/pixel1x1.gif" width="1" height="1" border="0"></td></tr> \n'+
	'<tr><td class="cursorStyle" width="168" height="20" onMouseOver="doRollOver(\'link42\');" onMouseOut="doRollOut(\'link42\');" onclick="javascript:window.location.href=\'https://www.thexmlzone.com/ssl/customised_services/project_services.html\'">&nbsp;<a href="https://www.thexmlzone.com/ssl/customised_services/project_services.html" onClick="event.cancelBubble=true;" class="menuitems" id="link42">Project Services</a></td></tr> \n'+
	'<tr><td width="168" height="1" bgcolor="#FFFFFF"><img src="../images/pixel1x1.gif" width="1" height="1" border="0"></td></tr> \n'+
	'<tr><td class="cursorStyle" width="168" height="20" onMouseOver="doRollOver(\'link43\');" onMouseOut="doRollOut(\'link43\');" onclick="javascript:window.location.href=\'https://www.thexmlzone.com/ssl/customised_services/design_production_services.html\'">&nbsp;<a href="https://www.thexmlzone.com/ssl/customised_services/design_production_services.html" onClick="event.cancelBubble=true;" class="menuitems" id="link43">Design and Production Services</a></td></tr> \n'+		
	'</table>';	

	menu5Content = '<table width="107" border="0" cellspacing="0" cellpadding="0" height="63" bgcolor="#003399"> \n'+
	'<tr><td width="107" height="1" bgcolor="#FFFFFF"><img src="../images/pixel1x1.gif" width="1" height="1" border="0"></td></tr> \n'+
	'<tr><td class="cursorStyle" width="107" height="20" onMouseOver="doRollOver(\'link50\');" onMouseOut="doRollOut(\'link50\');" onclick="javascript:window.location.href=\'../about_saa.html\'">&nbsp;<a href="../about_saa.html" class="menuitems" id="link50">About SAA</a></td></tr> \n'+
	'<tr><td width="107" height="1" bgcolor="#FFFFFF"><img src="../images/pixel1x1.gif" width="1" height="1" border="0"></td></tr> \n'+
	'<tr><td class="cursorStyle" width="107" height="20" onMouseOver="doRollOver(\'link52\');" onMouseOut="doRollOut(\'link52\');"  href="#" onclick="launchSaa(\'http://www.reims.net\',\'width=795,height=660\')">&nbsp;<a href="#" onclick="launchSaa(\'http://www.reims.net\',\'width=795,height=660\')" class="menuitems" id="link52">REIMSnet</a></td></tr> \n'+	
	'<tr><td width="107" height="1" bgcolor="#FFFFFF"><img src="../images/pixel1x1.gif" width="107" height="1"></td></tr> \n'+	
	'<tr><td class="cursorStyle" width="107" height="20" onMouseOver="doRollOver(\'link53\');" onMouseOut="doRollOut(\'link53\');" href="#" onclick="launchSaa(\'http://www.theedizone.com\',\'width=795,height=670\')">&nbsp;<a href="#" onclick="launchSaa(\'http://www.theedizone.com\',\'width=795,height=670\')" class="menuitems" id="link53">The EDI Zone</a></td></tr> \n'+	
	'<tr><td width="107" height="1" bgcolor="#FFFFFF"><img src="../images/pixel1x1.gif" width="1" height="1" border="0"></td></tr> \n'+
	'<tr><td class="cursorStyle" width="107" height="20" onMouseOver="doRollOver(\'link54\');" onMouseOut="doRollOut(\'link54\');" href="#" onclick="launchSaa(\'http://www.saaconsultants.com\',\'width=795,height=660\')">&nbsp;<a href="#" onclick="launchSaa(\'http://www.saaconsultants.com\',\'width=795,height=660\')" class="menuitems" id="link54">Corporate Web Site</a></td></tr> \n'+	
	'</table>';		

	if(document.all)writeIeMenu(menu1Content, menu2Content, menu3Content, menu4Content, menu5Content);
	if(document.layers)writeNs4Menu(menu1Content, menu2Content, menu3Content, menu4Content, menu5Content);
	if(!document.all && document.getElementById)writeNs6Menu(menu1Content, menu2Content, menu3Content, menu4Content, menu5Content);
}

function writeIeMenu(m1,m2,m3,m4,m5){
	document.all.menu1.innerHTML = m1;
	document.all.menu2.innerHTML = m2;
	document.all.menu3.innerHTML = m3;
	document.all.menu4.innerHTML = m4;	
	document.all.menu5.innerHTML = m5;		
	document.all.menu1.style.visibility = 'hidden';
	document.all.menu2.style.visibility = 'hidden';
	document.all.menu3.style.visibility = 'hidden';
	document.all.menu4.style.visibility = 'hidden';	
	document.all.menu5.style.visibility = 'hidden';		
	menu1Content = null;
	menu2Content = null;
	menu3Content = null;
	menu4Content = null;	
	menu5Content = null;	
}

function writeNs4Menu(m1,m2,m3,m4,m5){
	document.layers.menu1.document.write(m1);
	document.layers.menu1.document.close();
	document.layers.menu2.document.write(m2);
	document.layers.menu2.document.close();
	document.layers.menu3.document.write(m3);
	document.layers.menu3.document.close();
	document.layers.menu4.document.write(m4);
	document.layers.menu4.document.close();	
	document.layers.menu5.document.write(m5);
	document.layers.menu5.document.close();		
	document.layers.menu1.visibility = 'hide';
	document.layers.menu2.visibility = 'hide';
	document.layers.menu3.visibility = 'hide';
	document.layers.menu4.visibility = 'hide';	
	document.layers.menu5.visibility = 'hide';	
	menu1Content = null;
	menu2Content = null;
	menu3Content = null;
	menu4Content = null;	
	menu5Content = null;	
}

function writeNs6Menu(m1,m2,m3,m4,m5){
	document.getElementById("menu1").innerHTML = m1;
	document.getElementById("menu2").innerHTML = m2;
	document.getElementById("menu3").innerHTML = m3;
	document.getElementById("menu4").innerHTML = m4;	
	document.getElementById("menu5").innerHTML = m5;	
	document.getElementById("menu1").style.visibility = 'hidden';
	document.getElementById("menu2").style.visibility = 'hidden';
	document.getElementById("menu3").style.visibility = 'hidden';
	document.getElementById("menu4").style.visibility = 'hidden';	
	document.getElementById("menu5").style.visibility = 'hidden';	
	menu1Content = null;
	menu2Content = null;
	menu3Content = null;
	menu4Content = null;	
	menu5Content = null;		
}

d = (document.all || document.getElementById)? 1:0;

var ns = '<link href="../css/xmlzone_ns.css" rel="stylesheet" title="SAA Consultants style sheet" type="text/css">';
var ie = '<link href="../css/xmlzone_ie.css" rel="stylesheet" title="SAA Consultants style sheet" type="text/css"> \n';

(d)? document.write(ie):document.write(ns);

var documentImages = new Array();

function preloadImages()
{
	documentImages[0] = new Image();
	documentImages[0].src = '../images/pixel1x1.gif';
	documentImages[1] = new Image();
	documentImages[1].src = '../images/more_over.gif';	
}


function launch(popupURL , dimensions)
  {
   var strPopupOptions ="location=no";
   strPopupOptions += ",toolbar=no";
   strPopupOptions += ",menubar=no";
   strPopupOptions += ",status=no";
   strPopupOptions += ",scrolling=yes";
   strPopupOptions += ",scrollbars=yes";
   strPopupOptions += ",resizable=no";
   strPopupOptions += ",top=50";
   strPopupOptions += ",left=50,";
   strPopupOptions += dimensions;

   popupwin = window.open(popupURL, "popup1", strPopupOptions)
  }
  
    function launchSaa(popupURL , dimensions)
      {
       var strPopupOptions ="location=yes";
  	 strPopupOptions += ",directories=yes";
       strPopupOptions += ",toolbar=yes";
       strPopupOptions += ",menubar=yes";
       strPopupOptions += ",status=yes";
       strPopupOptions += ",scrolling=yes";
       strPopupOptions += ",scrollbars=yes";
       strPopupOptions += ",resizable=yes";
       strPopupOptions += ",top=20";
       strPopupOptions += ",left=50,";
       strPopupOptions += dimensions;
    
       popupwin = window.open(popupURL, "popup1", strPopupOptions)
  }
  
function writeYear(){
	document.write((new Date).getFullYear());
}