// Start Status Bar Script
function setStatusBarText(sText){
	document.getElementById('StatusBar').innerHTML = sText;
}
function clearStatusBarText(){
	document.getElementById('StatusBar').innerHTML = '';
}
// End Status Bar Script

// Start Input Indicator Script
function setInputStatusArrow(sFieldName){
	document.getElementById(sFieldName).src = 'images/InputArrow.gif';
}
function clearInputStatusArrow(sFieldName){
	document.getElementById(sFieldName).src = 'images/InputArrowBlank.gif';
}
// End Input Indicator Script

// Start Status Bar Script
function setSiteMapTabText(sText){
	document.getElementById('SiteMapTab').innerHTML = sText;
}
function clearSiteMapTabText(){
	document.getElementById('SiteMapTab').innerHTML = '';
}
// End Status Bar Script

// Drop Down Minus
SubIDVar = new Array();
SubIDVar[1]="ProductsDrop";
SubIDVar[2]="ServicesDrop";
SubIDVar[3]="SolutionsDrop";
SubIDVar[4]="CompanyDrop";
function SetSubNav(){
	posLeft =0;
	for(i=1; i<SubIDVar.length ;i++){
			MySub=SubIDVar[i];
			posLeft = posLeft + 10;
			
			document.getElementById(MySub).style.position="absolute";
			document.getElementById(MySub).style.left=posLeft;
			document.getElementById(MySub).style.top=10;
			document.getElementById(MySub).style.visibility="hidden";
	}
}
function ShowSubNav(DivID,xCoord,yCoord){
	for(i=1; i<SubIDVar.length ;i++){
		menuActive=1
		MySub=SubIDVar[i]
		if (MySub!=DivID){
			document.getElementById(MySub).style.visibility="hidden";

		}else{
			OpositionX=document.getElementById('MyNav').offsetLeft
			positionWidth=document.getElementById('MyNav').offsetWidth
			finalPostion=OpositionX+xCoord
			// alert(finalPostion)
			document.getElementById(MySub).style.position="absolute";
			document.getElementById(MySub).style.left=finalPostion;
			document.getElementById(MySub).style.top=yCoord;
			document.getElementById(MySub).style.visibility="visible";
		}
	}
}
function HideSubNav(DivID){
document.getElementById(DivID).style.visibility="hidden"
}
function linkTimer(DivID) {
 timeOn = setTimeout("btnOut('"+DivID+"')",250)
}// MOUSE OUT
function btnOut(DivID) {
 if (menuActive == 0) {
 HideSubNav(DivID)
 }
}
// End Drop Down Minus