/*START CSS FOR MENU */

function EKMenu(){
	this.Config=function(){};
	this.Config.delay=0;IE6=false/*@cc_on || @_jscript_version < 5.7 @*/;
		if(IE6){
			var oThis=this;
			this.oldWindowload=window.onload;
			window.onload=function(oEvent){
				oEvent=oEvent||window.event;
				return oThis.handleWindowLoad(oEvent)
				}
			}
}

EKMenu.prototype.handleWindowLoad=function(A){
	if(!this.iframe){
		this.iframe=document.createElement("IFRAME");
		this.iframe.className="hiddenMenu";
		this.iframe.border="0";
		document.body.appendChild(this.iframe)
		}
	if(this.oldWindowload){
		return this.oldWindowload(A)
		}
};

EKMenu.prototype.findPos=function(A){
	var B=function(){};
	B.x=0;
	B.y=0;
	while(A.offsetParent){
		B.x+=A.offsetLeft;
		B.y+=A.offsetTop;
		A=A.offsetParent
	}
	return B
};

EKMenu.prototype.showMenu=function(B){
	var C,A,D;
	C=B.parentNode.nextSibling;
	this.hideMenuImmediate();
		if(C){
			C.style.visibility="visible";
			if(this.iframe){
				D=this.findPos(C);
				this.iframe.style.left=D.x+"px";
				this.iframe.style.top=D.y+"px";
				this.iframe.style.height=C.clientHeight+"px";
				this.iframe.style.width=C.clientWidth+"px";
				this.iframe.style.visibility="visible"
				}
			}
	
};

EKMenu.prototype.hideMenuDelayed=function(A){
	var B;
	if(A){
		if(this.iframe){
			this.iframe.style.visibility="hidden"
		}
		B=this;
		this.timeout=setTimeout(function(){try{B.hideSubMenu(A)}catch(C){}},this.Config.delay)
	}
};

EKMenu.prototype.hideMenuImmediate=function(){
	if(this.timeout){
		clearTimeout(this.timeout)
		}
};

			/*SUPER SALE*/

			EKMenu.prototype.hideMenuDelayed_supersale=function(A){
				var B;
				var selects = new Array("to","from");
				if(A){
					if(this.iframe){
						this.iframe.style.visibility="hidden"
					}
					B=this;
					this.timeout=setTimeout(function(){try{B.hideSubMenu(A)}catch(C){}},this.Config.delay)
				}
					toggleSelects("show",selects);
			};

			EKMenu.prototype.hideMenuImmediate_supersale=function(){
					var selects = new Array("to","from");
				if(this.timeout){
					clearTimeout(this.timeout)
					}
					toggleSelects("hide",selects);
			};
			EKMenu.prototype.showMenu_supersale=function(B){
				var C,A,D;
					var selects = new Array("to","from");
				C=B.parentNode.nextSibling;
				this.hideMenuImmediate();
					if(C){
						C.style.visibility="visible";
						if(this.iframe){
							D=this.findPos(C);
							this.iframe.style.left=D.x+"px";
							this.iframe.style.top=D.y+"px";
							this.iframe.style.height=C.clientHeight+"px";
							this.iframe.style.width=C.clientWidth+"px";
							this.iframe.style.visibility="visible"
							}
						}
				toggleSelects("hide",selects);
			};

			/*SUPER SALE*/

			/*TICKET QUOTE*/

			EKMenu.prototype.hideMenuDelayed_ticket=function(A){
				var B;
				var selects = new Array();
				if(A){
					if(this.iframe){
						this.iframe.style.visibility="hidden"
					}
					B=this;
					this.timeout=setTimeout(function(){try{B.hideSubMenu(A)}catch(C){}},this.Config.delay)
				}
					toggleSelects("show",selects);
			};

			EKMenu.prototype.hideMenuImmediate_ticket=function(){
				var selects = new Array();
				if(this.timeout){
					clearTimeout(this.timeout)
					}
					toggleSelects("hide",selects);
			};
			EKMenu.prototype.showMenu_ticket=function(B){
				var C,A,D;
				var selects = new Array();
				C=B.parentNode.nextSibling;
				this.hideMenuImmediate();
					if(C){
						C.style.visibility="visible";
						if(this.iframe){
							D=this.findPos(C);
							this.iframe.style.left=D.x+"px";
							this.iframe.style.top=D.y+"px";
							this.iframe.style.height=C.clientHeight+"px";
							this.iframe.style.width=C.clientWidth+"px";
							this.iframe.style.visibility="visible"
							}
						}
				toggleSelects("hide",selects);
			};

			/*TICKET QUOTE*/


			/*LINKS*/

			EKMenu.prototype.hideMenuDelayed_links=function(A){
				var B;
				var selects = new Array("to","from");
				if(A){
					if(this.iframe){
						this.iframe.style.visibility="hidden"
					}
					B=this;
					this.timeout=setTimeout(function(){try{B.hideSubMenu(A)}catch(C){}},this.Config.delay)
				}
					toggleSelects("show",selects);
			};

			EKMenu.prototype.hideMenuImmediate_links=function(){
					var selects = new Array("to","from");
				if(this.timeout){
					clearTimeout(this.timeout)
					}
					toggleSelects("hide",selects);
			};
			EKMenu.prototype.showMenu_links=function(B){
				var C,A,D;
					var selects = new Array("to","from");
				C=B.parentNode.nextSibling;
				this.hideMenuImmediate();
					if(C){
						C.style.visibility="visible";
						if(this.iframe){
							D=this.findPos(C);
							this.iframe.style.left=D.x+"px";
							this.iframe.style.top=D.y+"px";
							this.iframe.style.height=C.clientHeight+"px";
							this.iframe.style.width=C.clientWidth+"px";
							this.iframe.style.visibility="visible"
							}
						}
				toggleSelects("hide",selects);
			};

			/*LINKS*/
EKMenu.prototype.hideSubMenus=function(A){
	var D,B,C;
	D=A.getElementsByTagName("ul");
	MM_swapImgRestore();
	for(B=0,C=D.length;B<C;B++){
		this.hideSubMenu(D[B])
	}
};

EKMenu.prototype.hideSubMenu=function(A){
	if(A){
		A.style.visibility="hidden";
		MM_swapImgRestore()
	}
};

EKMenu.prototype.HandleIBELink=function(A){
	A.href=A.href.replace("j=f","j=t");
	return true
};

var EKMenu=new EKMenu();

/*END CSS FOR MENU */

function toggleSelects(action,selects) {
if(action == 'hide') {
for(i=0; i < selects.length; i++) {
document.getElementById(selects[i]).style.visibility='hidden';
}
} else if(action == 'show') {
for(i=0; i < selects.length; i++) {
document.getElementById(selects[i]).style.visibility='visible';
}
}
}

/*START CSS FOR MENU IMAGES */



function MM_swapImgRestore(){
	var C,A,B=document.MM_sr;
	for(C=0;B&&C<B.length&&(A=B[C])&&A.oSrc;C++){
		A.src=A.oSrc
	}
}

function MM_preloadImages(){
	var D=document;
		if(D.images){
			if(!D.MM_p){
				D.MM_p=new Array()
			}
			var C,B=D.MM_p.length,A=MM_preloadImages.arguments;
				for(C=0;C<A.length;C++){
					if(A[C].indexOf("#")!=0){
						D.MM_p[B]=new Image;D.MM_p[B++].src=A[C]
					}
				}
		}
}

function MM_findObj(E,D){
	var C,B,A;
		if(!D){
			D=document
		}
		if((C=E.indexOf("?"))>0&&parent.frames.length){
			D=parent.frames[E.substring(C+1)].document;
			E=E.substring(0,C)
		}
		if(!(A=D[E])&&D.all){
			A=D.all[E]
		}
		for(B=0;!A&&B<D.forms.length;B++){
			A=D.forms[B][E]
		}
		for(B=0;!A&&D.layers&&B<D.layers.length;B++){
			A=MM_findObj(E,D.layers[B].document)
		}
		if(!A&&D.getElementById){A=D.getElementById(E)}
		
		return A
}

function MM_swapImage(){
	var D,C=0,A,B=MM_swapImage.arguments;
	document.MM_sr=new Array;
		for(D=0;D<(B.length-2);D+=3){
			if((A=MM_findObj(B[D]))!=null){
				document.MM_sr[C++]=A;
					if(!A.oSrc){A.oSrc=A.src}
					A.src=B[D+2]
				}
			}
}


/*END CSS FOR MENU IMAGES */
