// JavaScript Document

document.write('<scr'+'ipt type="text/javascript" src="../../scripts/rollover.js" ></scr'+'ipt>');
document.write('<scr'+'ipt type="text/javascript" src="../../scripts/mm_menu.js" ></scr'+'ipt>');


function checkIE(){
		var posIE;
		useragent = navigator.userAgent.toUpperCase();
		posIE = useragent.indexOf("MSIE");
		if(posIE > 0){
			versionIE = useragent.substr(posIE+5,1)
			return versionIE;
		}else{
			return false;
		}
	};


function header()
{		
	var winWid = document.body.clientWidth; 
	var winHgt = document.body.clientHeight;

	cn_final_height=Math.round(winHgt*0.25);
	if (cn_final_height<=145) { cn_final_height=145; };
	if (winWid <=900) { winWid =900; };
	
	var logoflash = "";
	//document.write( "<td bordercolor='#26264A'><span class='logo'><a href='/default.htm'><img src='/mainImages/logoWords.gif' border='0' width='300' height='63'></a></span>");
	
		logoflash="<OBJECT classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0' width='750' HEIGHT='90' id='logo'>"
		logoflash+="<PARAM NAME=movie VALUE='/flash/bannerlogo1.swf'>";		
		logoflash+="<PARAM NAME=quality VALUE=high>";
		logoflash+="<PARAM NAME=bgcolor VALUE=#FFFFFF>";
		logoflash+="<PARAM NAME=wmode VALUE=transparent>";
		logoflash+="<PARAM NAME=scale VALUE=EXACTFIT>";
		logoflash+="<PARAM NAME=salign VALUE=T>";
		logoflash+="<EMBED src='/flash/bannerlogo1.swf' wmode='transparent' quality='high' width='750' bgcolor=#FFFFFF salign='T' scale='EXACTFIT' HEIGHT='90' NAME='logo' TYPE='application/x-shockwave-flash' PLUGINSPAGE='http://www.macromedia.com/go/getflashplayer'></EMBED>";
		logoflash+="</OBJECT>";
					
		document.write( "<td bordercolor='#26264A'><span class='logo'><a href='/default.htm'><" + logoflash + "></a></span>");
	
	cn_object="<img src=\"/mainImages/topImage.jpg\" width=\"" + winWid + "\" height=\"90\" border=\"0\">";
	document.write( cn_object );
  	document.write("</td>");
}

function footer()
{		
  document.write("<table width='100%'  border='0' cellspacing='0' cellpadding='0'><tr>");
  document.write("<td background='/mainImages/sideExtDefault.jpg'><img src='/mainImages/sideExtDefault.jpg' width='59' height='50'></td>");
  document.write("<td background='/mainImages/sideExtDefault.jpg'><a href='mailto:sds@sdslink.com' onMouseOver=\"MM_swapImage('SDS Email','','/mainImages/emailButtonD.jpg',1)\" onMouseOut=\"MM_swapImgRestore()\"><img src='/mainImages/emailButton.jpg' alt='SDS Email' name='SDS Email' width='157' height='50' border='0'></a></td>");
  document.write("<td background='/mainImages/sideExtDefault.jpg'><a href='javascript:location.current;' onClick=\"MM_openBrWindow('/copyright.htm','Copyright','scrollbars=yes,width=630,height=400')\" onMouseOver=\"MM_swapImage('Copywright Statement','','/mainImages/copyrightButtonD.jpg',1)\" onMouseOut=\"MM_swapImgRestore()\"><img src='/mainImages/copyrightButton.jpg' alt='Copywright Statement' name='Copywright Statement' width='207' height='50' border='0'></a></td>");
  document.write("<td background='/mainImages/sideExtDefault.jpg'><a href='javascript:location.current;' onClick=\"MM_openBrWindow('/privacy.htm','PrivacyStatement','scrollbars=yes,width=630,height=400')\" onMouseOver=\"MM_swapImage('Privacy Statement','','/mainImages/privacyButtonD.jpg',1)\" onMouseOut=\"MM_swapImgRestore()\"><img src='/mainImages/privacyButton.jpg' alt='Privacy Statement' name='Privacy Statement' width='204' height='50' border='0'></a></td>");
  document.write("<td background='/mainImages/sideExtDefault.jpg'><a href='siteMap.htm' onMouseOver=\"MM_swapImage('Site Map','','/mainImages/siteButtonD.jpg',1)\" onMouseOut=\"MM_swapImgRestore()\"><img src='/mainImages/siteButton.jpg' alt='Site Map' name='Site Map' width='123' height='50' border='0'></a></td>");
  document.write("</tr></table>");
}

function mainMenu() {
  document.write("<table width='100%' border='0' cellpadding='0' cellspacing='0'><tr>");
  document.write("<td align='center' background='/mainImages/sliceTop.gif'><a href='/default.htm' onMouseOut=\"MM_swapImgRestore()\" onMouseOver=\"MM_swapImage('Home Page','','/mainImages/homeD.gif',1)\"><img src='/mainImages/home.gif' name='Home Page' width='72' height='29' border='0'></a></td>");
  document.write("<td align='center' background='/mainImages/sliceTop.gif'><a href='/aboutus/about.htm' onMouseOver=\"MM_swapImage('About Us','','/mainImages/aboutUsD.gif',1);MM_showMenu(window.mm_menu_1228180250_0,40,26,null,'About Us')\" onMouseOut=\"MM_swapImgRestore();MM_startTimeout();\"><img src='/mainImages/aboutUs.gif' name='About Us' width='86' height='29' border='0'></a></td>");
  document.write("<td align='center' background='/mainImages/sliceTop.gif'><a href='/services/service.htm' onMouseOver=\"MM_swapImage('Services &amp; Solutions','','/mainImages/corebusinessareaD.gif',1);MM_showMenu(window.mm_menu_1228180747_0,75,26,null,'Services &amp; Solutions')\" onMouseOut=\"MM_swapImgRestore();MM_startTimeout();\"><img src='/mainImages/corebusinessarea.gif' name='Services & Solutions' width='156' height='29' border='0'></a></td>");
  document.write("<td align='center' background='/mainImages/sliceTop.gif'><a href='/clientpartner/clientsPart.htm' onMouseOver=\"MM_swapImage('Client &amp; Partners','','/mainImages/clientPartD.gif',1);MM_showMenu(window.mm_menu_1228181200_0,80,26,null,'Client &amp; Partners')\" onMouseOut=\"MM_swapImgRestore();MM_startTimeout();\"><img src='/mainImages/clientPart.gif' name='Client & Partners' width='143' height='29' border='0'></a></td>");
  document.write("<td align='center' background='/mainImages/sliceTop.gif'><a href='/news/pressrelease.htm' onMouseOut=\"MM_swapImgRestore()\" onMouseOver=\"MM_swapImage('News','','/mainImages/newsD.gif',1)\"><img src='/mainImages/news.gif' name='News' width='65' height='29' border='0'></a></td>");
  document.write("<td align='center' background='/mainImages/sliceTop.gif'><a href='/career/employment.htm' onMouseOut=\"MM_swapImgRestore()\" onMouseOver=\"MM_swapImage('Careers','','/mainImages/careersD.gif',1)\"><img src='/mainImages/careers.gif' name='Careers' width='84' height='29' border='0'></a></td>");
  document.write("<td align='center' background='/mainImages/sliceTop.gif'><a href='http://intranet.sdslink.com' onMouseOut=\"MM_swapImgRestore()\" onMouseOver=\"MM_swapImage('Employee Portal','','/mainImages/employeePortD.gif',1)\"><img src='/mainImages/employeePort.gif' name='Employee Portal' width='144' height='29' border='0'></a></td>");
  document.write("</tr></table>");
}

function sideNav(){	

			//var ht = document.body.clientHeight - (document.body.clientHeight * .275);
			var ht = document.body.clientHeight - 170;			

			document.write("<table width='750' height='" + ht + "'  border='0' cellpadding='0' cellspacing='0'><tr><td width='100' valign='top'>");	
			document.write("<table  height='100%' border='0' cellspacing='0' cellpadding='0'>");
  			document.write("<tr><td><a href='/overview.htm' onMouseOut=\"MM_swapImgRestore()\" onMouseOver=\"MM_swapImage('Overview','','/mainImages/Doverview.gif',1)\"><img src='/mainImages/overview.gif' alt='Company Overview' name='Overview' width='100' height='40' border='0'></a></td></tr>");
  			document.write("<tr><td><a href='/aboutus/history.htm' onMouseOut=\"MM_swapImgRestore()\" onMouseOver=\"MM_swapImage('History','','/mainImages/Dhistory.gif',1)\"><img src='/mainImages/history.gif' alt='Company History' name='History' width='100' height='25' border='0'></a></td></tr>");
 			document.write("<tr><td><a href='/aboutus/location.htm' onMouseOut=\"MM_swapImgRestore()\" onMouseOver=\"MM_swapImage('Company Locations','','/mainImages/Dlocation.gif',1)\"><img src='/mainImages/location.gif' alt='Company Locations' name='Company Locations' width='100' height='34' border='0'></a></td></tr>");
			document.write("<tr><td><img src='/mainImages/flags.gif' width='100' height='77'></td></tr>");
			document.write("<tr><td><a href='/products.htm' onMouseOut=\"MM_swapImgRestore()\" onMouseOver=\"MM_swapImage('Serch Services Alphabetical','','/mainImages/Dproducts.gif',1)\"><img src='/mainImages/products.gif' alt='Serch Services Alphabetical' name='Serch Services Alphabetical' width='100' height='50' border='0'></a></td></tr>");
  			document.write("<tr><td><a href='/services.htm' onMouseOut=\"MM_swapImgRestore()\" onMouseOver=\"MM_swapImage('Serch Services By Location','','/mainImages/Dservices.gif',1)\"><img src='/mainImages/services.gif' alt='Serch Services By Location' name='Serch Services By Location' width='100' height='27' border='0'></a></td></tr>");
			document.write("<tr><td height='100%' valign='top'><img src='/mainImages/bottom.gif' width='100' height='100%'></td></tr></table>");
}
