// SHOW/HIDE the Sub Navigation
Menu = {timer : null, current : null};
Menu.getStyle = function(name){
	if(document.getElementById) return document.getElementById(name).style;
	else if(document.all) return document.all[name].style;
	else if(document.layers) return document.layers[name];
}
Menu.show = function(name){
	if(this.timer) clearTimeout(this.timer);
	this.getStyle(name).display = "inline";
	this.current = name;
	this.main_change(name.substring(0,name.length-2)+'mn');
	if (document.getElementById(name.substring(0,name.length-2)+'ar')) this.chgarrow(name.substring(0,name.length-2)+'ar','/tgi2/brands/ADXTGCA/directCA/images/header/arrowDN.gif');
}
Menu.hide = function(){
	this.timer = setTimeout("Menu.doHide()",1750);
}
Menu.doHide = function(){
	if(this.current){
		this.getStyle(this.current).display = "none";
		this.main_changeback(this.current.substring(0,this.current.length-2)+'mn');
		if (document.getElementById(this.current.substring(0,this.current.length-2)+'ar')) this.chgarrow(this.current.substring(0,this.current.length-2)+'ar','/tgi2/brands/ADXTGCA/directCA/images/header/arrowRT.gif');
		this.current = null;
	}
}
Menu.main_change =function(name){
	document.getElementById(name).className = "hovered";
}
Menu.main_changeback =function(name){
	document.getElementById(name).className = "";
}
Menu.chgarrow =function(MyTarget, MyPic){
	document.getElementById(MyTarget).src = MyPic;
}
//*****************************************************************
function selectItem(selectElement) {
    if (document.getElementById(selectElement).value != '')
	document.location.href= TRAVEL_GUARD_PURCHASE_DOMAIN + document.getElementById(selectElement).value + PROMO_NUMBER;
}