<!--

//Global Variables
var GImagePath = "../images/storefront/";
var GLastDiv=0;
var GIsIE = 0;

//Common Functions
if (navigator.appVersion.indexOf("MSIE")>0) //Check Browser Type
	GIsIE = 1;

function display(id, str) {
  if (GIsIE=1) {
    document.all[id].innerHTML = str;
  }
}
function goBack(){
	window.history.back();
}
function goRedirect(newURL){
	window.location.href = newURL;
}
function SwapImg(obj){
		obj.oSrc=GImagePath + obj.name + "_on.gif";
		obj.src=obj.oSrc;
}
function RestoreImg(obj){
	if (obj.name!="S" + GLastDiv){ 
		obj.oSrc=GImagePath + obj.name + "_off.gif";
		obj.src=obj.oSrc;
	}
}

//Top Bar script start

//Date Display
/*
function DateDisplay(){	
}
*/
function ContentSearch(){
	document.forms.frmSearch.submit();
}

//Top Bar script End


//Side Menu Bar functions Start

function DropSubMenu(CatID){
	var LastCatID;
	if (GIsIE=1){
		LastCatID=GLastDiv;
		if (GLastDiv!=0){
			document.all("div" + GLastDiv).style.display = "none";
		}	
		document.all("div" + CatID).style.display = "";
			
		
		if (LastCatID!=0){
			document.all("td" + LastCatID).bgColor="";
			document.all("td" + LastCatID).Color="#4D7EAB";
		}
		if (CatID!=0) {
			document.all("td" + CatID).bgColor="#9BBCE2";
			document.all("td" + CatID).Color="#FFCC00";
		}
		GLastDiv=CatID;
	}
}

//Side Menu Bar functions End

//-->