//var sPath = new String(self.location);//var sPage = sPath.substring(sPath.lastIndexOf('/') + 1);//if (top.location == self.location){//	top.location.href="index.htm?passpage=" + escape(sPage);//}function go(loc, frame){ //replace the current location with the passed location	window.parent.frames[frame].location.replace(loc);}function pauseAndGoto(loc, frame){ //pause for 100ms, and then replace the current location with the passed location	 self.setTimeout('go(\'' + loc + '\', \'' + frame + '\')', 300);}function resizeparent(ifr,frame_to_go){	if(frame_to_go){		setFlashVariables(frame_to_go);	}	if (ifr=='content'){		parent.scroll(0,0);	}	parent.document.getElementById(ifr).height=document.getElementById("content").offsetHeight;}function MM_preloadImages() { //v3.0  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}}var ua        = navigator.userAgent.toLowerCase(); var is_pc_ie  = ( (ua.indexOf('msie') != -1 ) && ( ua.indexOf('win') != -1 ) && ( ua.indexOf('opera') == -1 ) && ( ua.indexOf('webtv') == -1 ) );function setFlashVariables(flashquery){	var i,values;	if(is_pc_ie){		if(parent.menu.document['menu']){			parent.menu.document['menu'].SetVariable("param1",flashquery);			parent.menu.document['menu'].TCallFrame("/", 40);//run the send code		}	}else{		var divcontainer = "flash_setvariables";		if(!parent.menu.document.getElementById(divcontainer)){			var divholder = parent.menu.document.createElement("div");			divholder.id = divcontainer;			parent.menu.document.body.appendChild(divholder);		}				parent.menu.document.getElementById(divcontainer).innerHTML = "";		var divinfo = "<embed src='gateway.swf' FlashVars='fq="+escape(flashquery)+"' width='0' height='0' type='application/x-shockwave-flash'></embed>";		parent.menu.document.getElementById(divcontainer).innerHTML = divinfo;	}}function openDiv(target) {	e = document.getElementById(target);	if (e.style.display == "block"){		e.style.display="none";	} else{		e.style.display="block";	}}function MM_goToURL() { //v3.0  var i, args=MM_goToURL.arguments; document.MM_returnValue = false;  for (i=0; i<(args.length-1); i+=2) eval(args[i]+".location='"+args[i+1]+"'");}
