/* -- Adobe GoLive JavaScript Library */
/* -- Global Functions */
CSStateArray = new Object;
CSCookieArray = new Object;
CSCookieValArray = new Object;
function CSWriteCookie(action) {
	var name   = "DFT" + action[1];
	var hrs    = action[2];
	var path   = action[3];
	var domain = action[4];
	var secure = action[5];	
	var exp    = new Date((new Date()).getTime() + hrs * 3600000);	
	var cookieVal = "";
	for(var prop in CSCookieArray) {
		if(("DFT" + CSCookieArray[prop]) == name) {
			if(cookieVal != "") cookieVal += "&";
			cookieVal += prop + ":" + escape(CSStateArray[prop]);
		}
	}
	if(hrs != 0)
		cookieVal += "; expires=" + exp.toGMTString();
	if(path != "")
		cookieVal += "; path=" + path;
	if(domain != "")
		cookieVal += "; domain=" + domain;
	if(secure == true)
		cookieVal += "; secure";
	document.cookie = name + '=' + cookieVal;
}
function CSReadCookie(action) {
	var name    = "DFT" + action[1];
	var cookies = document.cookie;
	if(cookies == "") return;
	var start = cookies.indexOf(name);
	if(start == -1) return;
	start += name.length + 1;
	var end = cookies.indexOf(";", start);
	if(end == -1) end = cookies.length;
	var cookieVal = cookies.substring(start, end);
	var arr = cookieVal.split('&');
	for(var i = 0; i < arr.length; i++) {
		var a = arr[i].split(':');
		CSStateArray[a[0]] = unescape(a[1]);
	}	
}
function CSDefineState(action) {
	CSCookieArray[action[1]] = action[3]; 
}
function CSSetState(action) {
	CSStateArray[action[1]] = action[2];
}
function CSInitState(action) {
	if(typeof(CSStateArray[action[1]]) == "undefined")
		CSStateArray[action[1]] = action[2];
}
function CSCheckState(action) {
	var obj1 = CSStateArray[action[1]];
	var obj2 = action[2];
	if(typeof(obj1) == "object") {
		for(var i=0;i<obj1.length;i++) {
			if(obj1[i] != obj2[i])
				return false;
			}
		return true;
		}
	var res;
	var op = action[3];
		     if(op == "==") res = (CSStateArray[action[1]] == action[2]);	
		else if(op == "!=") res = (CSStateArray[action[1]] != action[2]);	
		else if(op == ">" ) res = (CSStateArray[action[1]] >  action[2]);	
		else if(op == ">=") res = (CSStateArray[action[1]] >= action[2]);	
		else if(op == "<" ) res = (CSStateArray[action[1]] <  action[2]);	
		else if(op == "<=") res = (CSStateArray[action[1]] <= action[2]);	
	return res;
}
CSAg = window.navigator.userAgent; CSBVers = parseInt(CSAg.charAt(CSAg.indexOf("/")+1),10);
CSIsW3CDOM = ((document.getElementById) && !(IsIE()&&CSBVers<6)) ? true : false;
function IsIE() { return CSAg.indexOf("MSIE") > 0;}
function CSIEStyl(s) { return document.all.tags("div")[s].style; }
function CSNSStyl(s) { if (CSIsW3CDOM) return document.getElementById(s).style; else return CSFindElement(s,0);  }
CSIImg=false;
function CSInitImgID() {if (!CSIImg && document.images) { for (var i=0; i<document.images.length; i++) { if (!document.images[i].id) document.images[i].id=document.images[i].name; } CSIImg = true;}}
function CSFindElement(n,ly) { if (CSBVers<4) return document[n];
	if (CSIsW3CDOM) {CSInitImgID();return(document.getElementById(n));}
	var curDoc = ly?ly.document:document; var elem = curDoc[n];
	if (!elem) {for (var i=0;i<curDoc.layers.length;i++) {elem=CSFindElement(n,curDoc.layers[i]); if (elem) return elem; }}
	return elem;
}
function CSGetImage(n) {if(document.images) {return ((!IsIE()&&CSBVers<5)?CSFindElement(n,0):document.images[n]);} else {return null;}}
CSDInit=false;
function CSIDOM() { if (CSDInit)return; CSDInit=true; if(document.getElementsByTagName) {var n = document.getElementsByTagName('DIV'); for (var i=0;i<n.length;i++) {CSICSS2Prop(n[i].id);}}}
function CSICSS2Prop(id) { var n = document.getElementsByTagName('STYLE');for (var i=0;i<n.length;i++) { var cn = n[i].childNodes; for (var j=0;j<cn.length;j++) { CSSetCSS2Props(CSFetchStyle(cn[j].data, id),id); }}}
function CSFetchStyle(sc, id) {
	var s=sc; while(s.indexOf("#")!=-1) { s=s.substring(s.indexOf("#")+1,sc.length); if (s.substring(0,s.indexOf("{")).toUpperCase().indexOf(id.toUpperCase())!=-1) return(s.substring(s.indexOf("{")+1,s.indexOf("}")));}
	return "";
}
function CSGetStyleAttrValue (si, id) {
	var s=si.toUpperCase();
	var myID=id.toUpperCase()+":";
	var id1=s.indexOf(myID);
	if (id1==-1) return "";
	s=s.substring(id1+myID.length+1,si.length);
	var id2=s.indexOf(";");
	return ((id2==-1)?s:s.substring(0,id2));
}
function CSSetCSS2Props(si, id) {
	var el=document.getElementById(id);
	if (el==null) return;
	var style=document.getElementById(id).style;
	if (style) {
		if (style.left=="") style.left=CSGetStyleAttrValue(si,"left");
		if (style.top=="") style.top=CSGetStyleAttrValue(si,"top");
		if (style.width=="") style.width=CSGetStyleAttrValue(si,"width");
		if (style.height=="") style.height=CSGetStyleAttrValue(si,"height");
		if (style.visibility=="") style.visibility=CSGetStyleAttrValue(si,"visibility");
		if (style.zIndex=="") style.zIndex=CSGetStyleAttrValue(si,"z-index");
	}
}
function CSSetStylePos(s,d,p) {
	if (CSIsW3CDOM)d==0?document.getElementById(s).style.left=p+"px":document.getElementById(s).style.top=p+"px";
	else if(IsIE())(d==0)?CSIEStyl(s).posLeft=p:CSIEStyl(s).posTop=p;
	else (d==0)?CSNSStyl(s).left=p:CSNSStyl(s).top=p;
}
function CSGetStylePos(s,d) {
	if (CSIsW3CDOM){CSIDOM();return parseInt((d==0)?document.getElementById(s).style.left:document.getElementById(s).style.top);}
	else if (IsIE()) {CSIEWinInit();return(d==0)?CSIEStyl(s).posLeft:CSIEStyl(s).posTop;}
	else {return (d==0)?CSNSStyl(s).left:CSNSStyl(s).top;}
}
CSIEWInit=false;
function CSIEWinInit() { if(CSIEWInit==true) return; else CSIEWInit=true; if (IsIE()&&(CSAg.indexOf("Win")!=-1)&&CSBVers==4) { var i=0; var lyr=document.all.tags("div")[i++]; while(lyr) {lyr.style.posLeft=lyr.offsetLeft; lyr.style.posTop=lyr.offsetTop; lyr=document.all.tags("div")[i++];}}}
CSLoopIsRunning = false; CSFctArray = new Array; CSTimeoutID = null;
function CSLoop() {	
	CSLoopIsRunning = false;
	for (i=0;i<CSFctArray.length;i++) {
		var curFct = CSFctArray[i];
		if (curFct)	{
			if (curFct.DoFunction(curFct)) { CSLoopIsRunning = true; curFct.counter++; }
			else CSFctArray[i] = 0;
		}
	}
	if (CSLoopIsRunning) CSTimeoutID = setTimeout("CSLoop()", 1);
}
function CSStartFunction(fct,data) {
	if (!CSLoopIsRunning) { CSFctArray = 0; CSFctArray = new Array; }
	var fctInfo = new Object;
	fctInfo.DoFunction = fct; fctInfo.counter = 0; fctInfo.data = data;
	CSFctArray[CSFctArray.length] = fctInfo; 
	if (!CSLoopIsRunning) CSLoop();
}
function CSStopFunction(sceneName) {
	var i;
	for (i=0;i<CSFctArray.length;i++) {
		var curFct = CSFctArray[i];
		if (curFct){ if (curFct.data.name == sceneName){ CSFctArray[i] = 0; return; } }
	}
}
function CSStopComplete() {
	if (CSTimeoutID == null) return;
	clearTimeout (CSTimeoutID); CSLoopIsRunning = false; CSTimeoutID = null;
}
function CSMoveLoop(fInf) {
	var ticks = 60 * (((new Date()).getTime()) - fInf.data.startTime)/1000;
	var f = ticks/fInf.data.ticks;
	if (f < 1) { CSSetStylePos(fInf.data.layer,0,fInf.data.start[0] * (1-f) + fInf.data.end[0] * f);
		CSSetStylePos(fInf.data.layer,1,fInf.data.start[1] * (1-f) + fInf.data.end[1] * f); return true; }
	else { CSSetStylePos(fInf.data.layer,0,fInf.data.end[0]);
		CSSetStylePos(fInf.data.layer,1,fInf.data.end[1]); }
	return false;
}
function CSSlideObj (layer,start,end,ticks,startTime) {
	this.layer=layer;this.start=start;this.end=end;this.ticks=ticks;this.startTime=startTime;
}
function CSSlideLayer(l,pos,anim,ticks) {
	var x = pos[0]; var y = pos[1];
	if (l == '') return;
	if (ticks < 0) ticks = 0;
	if (!anim) { CSSetStylePos(l,0,x); CSSetStylePos(l,1,y); }
	else {  var fctData = new CSSlideObj(l,new Array(CSGetStylePos(l,0),CSGetStylePos(l,1)),new Array(x,y),ticks,(new Date()).getTime()); CSStartFunction(CSMoveLoop,fctData); }
}
function ROFindEmbed (name) {
	/* only for netscape */
	if(CSIsW3CDOM) {
		var emb=null;
		for(j=0; j<document.embeds.length; j++) {
			if(document.embeds[j].name==name) {
				emb=document.embeds[j]; break;
			}
		}
		return emb;
	}
	else
		return CSFindElement(name);
}
function ROUnpackVersionNumber(n) {
   return "" + (n >> 28) + "." +
   ((n & 0xFF00000) >> 20) + "." + 
   ((n & 0xFF000) >> 12) + "." + 
   ( n & 0xFFF);
}
function CSSetStyleVis(s,v) {
	if (CSIsW3CDOM){CSIDOM();document.getElementById(s).style.visibility=(v==0)?"hidden":"visible";}
	else if(IsIE())CSIEStyl(s).visibility=(v==0)?"hidden":"visible";
	else CSNSStyl(s).visibility=(v==0)?'hide':'show';
}
function CSGetStyleVis(s) {
	if (CSIsW3CDOM) {CSIDOM();return(document.getElementById(s).style.visibility=="hidden")?0:1;}
	else if(IsIE())return(CSIEStyl(s).visibility=="hidden")?0:1;
	else return(CSNSStyl(s).visibility=='hide')?0:1;
}
ROOnPLCArray=new Array();
function RPOnPositionLengthChange (position, length) {
	for(var i=0;i<ROOnPLCArray.length;i++) {
		var obj=ROOnPLCArray[i];
		if(typeof(obj)=="object") { 
			if(obj.time==position) {
				if(obj.type=="navigate") {
					window.parent.external.HandleAction("NavigateToURL("+obj.url+","+obj.target+")");
					ROOnPLCArray[i]=0;
				}
				else if(obj.type=="color") {
					window.parent.external.SetVideoBackgroundColor(obj.color);
					ROOnPLCArray[i]=0;
				}
			}
		}
	}
}
function CSGetLayerClip (el) {
	CSIDOM();
	if (el.isIE) return (new CSRect(0,0,el.offsetWidth,el.offsetHeight));
	else if (CSBVers>=5) return (new CSRect(0,0,parseInt(el.style.width),parseInt(el.style.height)));
	else return (new CSRect(el.clip.left,el.clip.top,el.clip.width,el.clip.height));
}
function CSSetLayerClip (el,clipRect) {
    var l,t,r,b;
    l=clipRect.left; t=clipRect.top; r=l+clipRect.width; b=t+clipRect.height;
    if(el.isIE) { el.style.clip = "rect("+ t + " " + r + " " + b + " " + l + ")"; }
    else if (CSBVers>=5) el.style.clip = "rect("+ t + "px, " + r + "px, " + b + "px, " + l + "px)";
    else { el.clip.left=l; el.clip.top=t; el.clip.width=clipRect.width; el.clip.height=clipRect.height; }
	CSSetStyleVis(el.layer);
}
function CSRect (left,top,width,height) {
this.left=left; this.top=top; this.width=width; this.height=height;
}
function CSCreateTransElement (layer, steps) {
	var el;
	if (IsIE()) el=document.all.tags("div")[layer];
	else if (CSBVers>=5) el=document.getElementById(layer);
	else el=CSNSStyl(layer);
	if (el==null) return null;
	if (el.locked && (el.locked == true)) return null;
	el.isIE=IsIE();
	el.clipRect=CSGetLayerClip(el);
	if (el.clipRect==null) return null;
	el.maxValue=steps;
	if (el.maxValue<=0) el.maxValue=30;
	el.modus=""; el.layer=layer;
	el.width=el.clipRect.width; el.height=el.clipRect.height;
	el.locked = true;
	return el;
}
function CSDisposeTransElement (el) { el.locked = false; }
function CSScriptInit() {
if(typeof(skipPage) != "undefined") { if(skipPage) return; }
idxArray = new Array;
for(var i=0;i<CSInit.length;i++)
	idxArray[i] = i;
CSAction2(CSInit, idxArray);
}
function CSScriptExit() {
idxArray = new Array;
for(var i=0;i<CSExit.length;i++)
	idxArray[i] = i;
CSAction2(CSExit, idxArray);
}
CSInit = new Array;
CSExit = new Array;
CSStopExecution=false;
function CSAction(array) {return CSAction2(CSAct, array);}
function CSAction2(fct, array) { 
	var result;
	for (var i=0;i<array.length;i++) {
		if(CSStopExecution) return false; 
		var aa = fct[array[i]];
		if (aa == null) return false;
		var ta = new Array;
		for(var j=1;j<aa.length;j++) {
			if((aa[j]!=null)&&(typeof(aa[j])=="object")&&(aa[j].length==2)){
				if(aa[j][0]=="VAR"){ta[j]=CSStateArray[aa[j][1]];}
				else{if(aa[j][0]=="ACT"){ta[j]=CSAction(new Array(new String(aa[j][1])));}
				else ta[j]=aa[j];}
			} else ta[j]=aa[j];
		}			
		result=aa[0](ta);
	}
	return result;
}
CSAct = new Object;
CSIm=new Object();
function CSIShow(n,i) {
	if (document.images) {
		if (CSIm[n]) {
			var img=CSGetImage(n);
			if (img&&typeof(CSIm[n][i].src)!="undefined") {img.src=CSIm[n][i].src;}
			if(i!=0) self.status=CSIm[n][3]; else self.status=" ";
			return true;
		}
	}
	return false;
}
function CSILoad(action) {
	im=action[1];
	if (document.images) {
		CSIm[im]=new Object();
		for (var i=2;i<5;i++) {
			if (action[i]!='') {CSIm[im][i-2]=new Image(); CSIm[im][i-2].src=action[i];}
			else CSIm[im][i-2]=0;
		}
		CSIm[im][3] = action[5];
	}
}
function newImage(arg) {
	if (document.images) {
		rslt = new Image();
		rslt.src = arg;
		return rslt;
	}
}
userAgent = window.navigator.userAgent;
browserVers = parseInt(userAgent.charAt(userAgent.indexOf("/")+1),10);
mustInitImg = true;
function initImgID() {var di = document.images; if (mustInitImg && di) { for (var i=0; i<di.length; i++) { if (!di[i].id) di[i].id=di[i].name; } mustInitImg = false;}}
function findElement(n,ly) {
	var d = document;
	if (browserVers < 4)		return d[n];
	if ((browserVers >= 6) && (d.getElementById)) {initImgID; return(d.getElementById(n))}; 
	var cd = ly ? ly.document : d;
	var elem = cd[n];
	if (!elem) {
		for (var i=0;i<cd.layers.length;i++) {
			elem = findElement(n,cd.layers[i]);
			if (elem) return elem;
		}
	}
	return elem;
}
function changeImagesArray(array) {
	if (preloadFlag == true) {
		var d = document; var img;
		for (i=0;i<array.length;i+=2) {
			img = null; var n = array[i];
			if (d.images) {
				if (d.layers) {img = findElement(n,0);}
				else {img = d.images[n];}
			}
			if (!img && d.getElementById) {img = d.getElementById(n);}
			if (!img && d.getElementsByName) {
				var elms = d.getElementsByName(n);
				if (elms) {
					for (j=0;j<elms.length;j++) {
						if (elms[j].src) {img = elms[j]; break;}
					}
				}
			}
			if (img) {img.src = array[i+1];}
		}
	}
}
function changeImages() {
	changeImagesArray(changeImages.arguments);
}
function toggleImages() {
	for (var i=0; i<toggleImages.arguments.length; i+=2) {
		if (selected == toggleImages.arguments[i])
			changeImagesArray(toggleImages.arguments[i+1]);
	}
}
function CSClickReturn () {
	var bAgent = window.navigator.userAgent; 
	var bAppName = window.navigator.appName;
	if ((bAppName.indexOf("Explorer") >= 0) && (bAgent.indexOf("Mozilla/3") >= 0) && (bAgent.indexOf("Mac") >= 0))
		return true; /* dont follow link */
	else return false; /* dont follow link */
}
function CSButtonReturn () { return !CSClickReturn(); }
function CSBrowserSwitch(action) {
	var bAgent	= window.navigator.userAgent;
	var bAppName	= window.navigator.appName;
	var isNS		= (bAppName.indexOf("Netscape") >= 0);
	var isIE		= (bAppName.indexOf("Explorer") >= 0);
	var isWin		= (bAgent.indexOf("Win") >= 0); 
	var isMac		= (bAgent.indexOf("Mac") >= 0); 
	var vers		= 0;
	var versIdx	= (bAgent.indexOf("Mozilla/"));
	if(versIdx >= 0)
		{
		var sstr	= bAgent.substring(versIdx + 8, versIdx + 9);
		vers		= parseInt(sstr) - 2;
		}
	var url		= action[1];
	var platform	= action[2];
	var versVec;
	if(platform)
		{
		if(isNS && isMac) versVec = action[3];
		if(isIE && isMac) versVec = action[5];
		if(isNS && isWin) versVec = action[4];
		if(isIE && isWin) versVec = action[6];
		}
	else
		{
		if(isNS) versVec = action[3];
		if(isIE) versVec = action[4];
		}
	if(vers > (versVec.length-1))
		vers = versVec.length-1;
	if(versVec[vers] == 0)
		{
		location			= url;
		CSStopExecution	= true;	
		}
}
function CSURLPopupShow(formName, popupName, target) {
	var form  = (!IsIE()&&CSBVers>=5)?document.forms[formName]:CSFindElement(formName);
	var popup = form.elements[popupName];
	window.open(popup.options[popup.selectedIndex].value, target);
	popup.selectedIndex = 0;
}
function CSSetStyleDepth(s,depth) {
	if (CSIsW3CDOM)document.getElementById(s).style.zIndex=depth;
	else if (IsIE())CSIEStyl(s).zIndex=depth;
	else CSNSStyl(s).zIndex=depth;
}
function CSGetStyleDepth(s) {
	if (CSIsW3CDOM){CSIDOM();return document.getElementById(s).style.zIndex;}
	else if (IsIE())return (CSIEStyl(s).zIndex);
	else return (CSNSStyl(s).zIndex);
}
CSSeqArray = new Array;
function CSSeqActionFct(seq,loopCount,continueLoop) {
	if ((seq.loop < 2) || ((loopCount % 2) != 0)) {
		for (var i=0;i<seq.actionCount;i++) {
			if (seq.actions[3*i + 1] <= seq.frame) {
				if ((loopCount > 1) && (seq.actions[3*i + 1] < seq.start)) continue;
				if (seq.actions[3*i + 2] < loopCount) {
					seq.actions[3*i + 2] = loopCount; CSLoopIsRunning = true;
					CSAction(new Array(seq.actions[3*i + 0])); continueLoop = true;
				}
			} else { continueLoop = true; break; }
		}
	} else {
		for (var i=seq.actionCount-1;i>=0;i--) {
			if (seq.actions[3*i + 1] > seq.frame) {
				if (seq.actions[3*i + 1] > seq.end) continue;
				if (seq.actions[3*i + 2] < loopCount) {
					seq.actions[3*i + 2] = loopCount; CSLoopIsRunning = true;
					CSAction(new Array(seq.actions[3*i + 0])); continueLoop = true;
				}
			} else { continueLoop = true; break; }
		}
	}
	return continueLoop;
}		
function CSSeqFunction(fctInfo)
{
	var seq = fctInfo.data; var oldFrame = seq.frame;
	var newTicks = (new Date()).getTime();
	seq.frame = Math.round((seq.fps * (newTicks - seq.startTicks)/1000.0) - 0.5);
	var continueLoop  = false; var loopCount = 1;
	
	if (seq.loop > 0) {
		continueLoop = true;
		if (seq.loop == 1) {
			var iv = (seq.end - seq.start);
			var f = Math.round(((seq.frame - seq.start) / iv) - 0.5);
			if (f < 0) f = 0;
			loopCount = f+1;
			seq.frame = seq.start + ((seq.frame - seq.start) % (seq.end - seq.start));
		} else {
			var iv = (seq.end - seq.start);
			var f = Math.round(((seq.frame - seq.start) / iv) - 0.5);
			if (f < 0) f = 0;
			loopCount = f+1;
			f = (seq.frame - seq.start) % (2 * iv);
			if (f > iv) f = 2*iv - f;
			seq.frame = seq.start + f;
		}
	}
	continueLoop = CSSeqActionFct(seq,loopCount,continueLoop);
	for (var i=0;i<seq.tracks.length;i++) {
		var track = seq.tracks[i]; var frameCount = 0; var lastCount = 0; var partCount = 0;
		var partIdx = track.parts.ticks.length;
		for (var k=0;k<track.parts.ticks.length;k++) {
			frameCount += track.parts.ticks[k];
			if (frameCount > seq.frame) { partIdx = k; partCount = seq.frame - lastCount; break; }
			lastCount = frameCount;
		}
		if (partIdx < track.parts.ticks.length) {
			var type=track.parts.moveType[partIdx];
			if(type==1) CSSetLinearPos (track, partIdx, partCount);
			else if(type==2) CSSetCurvePos (track, partIdx, partCount);
			else if(type==3) if (oldFrame != seq.frame) CSSetRandomPos (track, partIdx, partCount);
							 else { x = CSGetStylePos(track.layer,0); y = CSGetStylePos(track.layer,1); }
			CSSetStyleVis(track.layer,track.parts.visibilities[partIdx]);
			CSSetStyleDepth(track.layer,track.parts.depths[partIdx]);
			continueLoop = true;
		} else {
			var partIdx = track.parts.moveType.length-1;
			var posArray = track.parts.positions;
			var x = posArray[partIdx * 6 + 0]; var y = posArray[partIdx * 6 + 1];
			CSSetStylePos(track.layer,0,x); CSSetStylePos(track.layer,1,y);
			CSSetStyleVis(track.layer,track.parts.visibilities[partIdx]);
			CSSetStyleDepth(track.layer,track.parts.depths[partIdx]);
		}
	}
	return continueLoop;
}
function CSSetLinearPos (track, partIdx, partCount) {
	var curTicks = track.parts.ticks[partIdx];
	var pIdx1 = partIdx * 6; var pIdx2 = (partIdx+1) * 6;
	var posArray = track.parts.positions;
	var x = posArray[pIdx1 + 0]; var y = posArray[pIdx1 + 1];
	var x1,x2,y1,y2;
	var factor = partCount/curTicks;
	x1 = x; y1 = y;
	x2 = posArray[pIdx2 + 0]; y2 = posArray[pIdx2 + 1];
	x = x1 * (1-factor) + x2 * factor; y = y1 * (1-factor) + y2 * factor;
	CSSetStylePos(track.layer,0,x); CSSetStylePos(track.layer,1,y);
}
function CSSetCurvePos (track, partIdx, partCount) {
	var curTicks = track.parts.ticks[partIdx];
	var pIdx1 = partIdx * 6; var pIdx2 = (partIdx+1) * 6;
	var posArray = track.parts.positions;
	var x = posArray[pIdx1 + 0]; var y = posArray[pIdx1 + 1];
	var x1,x2,x3,x4,y1,y2,y3,y4;
	var factor = partCount/curTicks;
	var t = factor; var u = t * t; var v = u * t;
	var val1 = 3*(u-t) - v + 1; var val2 = 3*(v+t - 2*u); var val3 = 3*(u-v); var val4 = v;
	x1 = x; y1 = y; x2 = posArray[pIdx1 + 2]; y2 = posArray[pIdx1 + 3];
	x3 = posArray[pIdx1 + 4]; y3 = posArray[pIdx1 + 5];
	x4 = posArray[pIdx2 + 0]; y4 = posArray[pIdx2 + 1];
	x = x1 * val1 + x2 * val2 + x3 * val3 + x4 * val4;
	y = y1 * val1 + y2 * val2 + y3 * val3 + y4 * val4;
	CSSetStylePos(track.layer,0,x); CSSetStylePos(track.layer,1,y);
}
function CSSetRandomPos (track, partIdx, partCount) {
	var curTicks = track.parts.ticks[partIdx];
	var pIdx1 = partIdx * 6; var pIdx2 = (partIdx+1) * 6;
	var posArray = track.parts.positions;
	var x = posArray[pIdx1 + 0]; var y = posArray[pIdx1 + 1];
	var x1,x2,y1,y2;
	var factor = partCount/curTicks;
	x1 = x; y1 = y;
	x2 = posArray[pIdx2 + 0]; y2 = posArray[pIdx2 + 1];
	var factorx = Math.random(); var factory = Math.random();
	x = x1 * (1-factorx) + x2 * factorx; y = y1 * (1-factory) + y2 * factory;
	CSSetStylePos(track.layer,0,x); CSSetStylePos(track.layer,1,y);
}
function CSStartSeq(name) {
	var seq = CSGetScene(name); var date = new Date()
	seq.startTicks = date.getTime()
	for (var i=0;i<seq.actionCount;i++) seq.actions[3*i+2] = 0;
	CSStartFunction(CSSeqFunction,seq);
}
function CSSceneObj (name,fps,loop,start,end,frame,sTicks,numAct,acts,tracks) {
	this.name=name;this.fps=fps;this.loop=loop;this.start=start;this.end=end;
	this.frame=frame;this.startTicks=sTicks;this.actionCount=numAct;
	this.actions=acts;this.tracks=tracks;
}
function CSTrackObj (name,partIdx,partCount,parts) {
	this.layer=name;this.partIdx=partIdx;this.partCount=partCount;this.parts=parts;
}
function CSPartObj (ticks,pos,depths,vis,moveType) {
	this.ticks=ticks;this.positions=pos;this.depths=depths;this.visibilities=vis;
	this.moveType=moveType;
}
function CSGetScene (name) {
	for (i=0;i<CSSeqArray.length;i++) { var seq = CSSeqArray[i]; if (seq.name==name) return seq; }
	return 0;
}
function CSAutoStartScene(action) { CSStartSeq (action[1]); }
/* -- Action Functions */
function CSActionGroup (action) {
	for(var i=1;i<action.length;i++) { CSAction(new Array(action[i])); }
}
//\s*\S\s*\/\/.+\.$
// AdCarousel.action v1.2.3 - September, 2001
// © Copyright 1999 by Walter Blady
// All rights reserved
var ACAdvert;
function WBAdCarousel(action) {
	if (ACVersion() && action[13] != "") {
		var adImg = null, count = 0;
		var ACW3C = document.getElementById ? true : false;
		while (action[count+1] != "(Empty Reference!)"  && count <= 12) {
			count = count + 1;
		}
		if (window.navigator.userAgent.indexOf("MSIE") > 0 || ACW3C) {
			adImg = document.images[action[13]];
		}
		else {
			adImg = parseInt(navigator.appVersion.charAt(0)) > 3 ? ACFindImageObject(action[13],0) : document.images[action[13]];
		}
		var thisDate = new Date();
		var thisSec = thisDate.getSeconds();
		ACAdvert = Math.floor(thisSec/5) + 1;
		while (ACAdvert > count) {
			ACAdvert = ACAdvert - count
			}
		adImg.src = action[ACAdvert];
	}
	return;
}
function ACFindImageObject(baseImage, thisLayer) {
	if (thisLayer) {
		var thisDocument = thisLayer.document;
	}
	else {
		var thisDocument = document;
	}
	var imageObj = thisDocument[baseImage];
	if (imageObj) {
		return imageObj;
	}
	else {
		for (var i = 0; i < thisDocument.layers.length; i++) {
			imageObj = ACFindImageObject(baseImage, thisDocument.layers[i]); 
			if (imageObj) {
				break;
			}
		}
	}
	return imageObj;
}
function ACVersion() {
	return (navigator.appName.indexOf("Netscape") >= 0 && parseInt(navigator.appVersion.charAt(0)) >= 3)
          || (navigator.appName.indexOf("Explorer") >= 0 && parseInt(navigator.appVersion.charAt(0)) >= 2);
}
// AdGoRound.action v1.3.1 - September, 2001
// © Copyright 1999 by Walter Blady
// All rights reserved
var AGRAdImg, AGRAdver = null, AGRExposure = 0, AGRCount = 1, AGRAction = null, AGRFlag = false;
var AGRTimer = 0, AGRTimerArray = new Array(), AGRActionArray = new Array();
var AGRAdArray = new Array(), AGRCountArray = new Array();
function WBAdGoRound(action) {
	if (AGRVersion() && document.images && action[1] != "" && action[2] > 0) {
		AGRActionArray[action[4]] = action;
		AGRAdArray[action[4]] = action[2];
		AGRCountArray[action[4]] = 1;
		AGRAdImg = null;
		var AGRW3C = document.getElementById ? true : false;
		if (action[5]) {
			AGRCountArray[action[4]] = (Math.floor((Math.random() * 10000)) % action[2]) + 1;
		}
		if (window.navigator.userAgent.indexOf("MSIE") > 0 || AGRW3C) {
			AGRAdImg = document.images[action[1]];
		}
		else {
			AGRAdImg = parseInt(navigator.appVersion.charAt(0)) > 3 ? AGRFindImageObject(action[1],0) : document.images[action[1]];
		}
		if (AGRTimerArray[action[4]] == null) {
			AGRTimerArray[action[4]] = AGRAdImg;
			AGRDisplay(AGRAdImg, AGRActionArray[action[4]], AGRAdArray, AGRCountArray, action[4]);
		}
	}
	return;
}
function AGRDisplay(AGRAdImg, AGRAction, AGRAd, AGRCount, index) {
	if (AGRCount[index] > AGRAd[index]) {
		AGRCount[index] = 1;
	}
	AGRAdver = eval("AGRAd" + (AGRAction[4] + 1) + "_" + AGRCount[index]);
	if (AGRAdver != null) {
		AGRAdImg.src = eval("AGRAdver()");
		if (AGRExposure == 0) {
			AGRExposure = AGRAction[3];
		}
	}
	AGRCount[index] = AGRCount[index] + 1;
	AGRTimerArray[AGRAction[4]] = AGRAdImg;
	AGRTimer = "AGRNextAd" + AGRAction[4] + "()";
	var t = setTimeout(AGRTimer, AGRExposure*1000);
	return;
}
function AGRNextAd0() {
	AGRDisplay(AGRTimerArray[0], AGRActionArray[0], AGRAdArray, AGRCountArray, 0);
	return;
}
function AGRNextAd1() {
	AGRDisplay(AGRTimerArray[1], AGRActionArray[1], AGRAdArray, AGRCountArray, 1);
	return;
}
function AGRNextAd2() {
	AGRDisplay(AGRTimerArray[2], AGRActionArray[2], AGRAdArray, AGRCountArray, 2);
	return;
}
function AGRNextAd3() {
	AGRDisplay(AGRTimerArray[3], AGRActionArray[3], AGRAdArray, AGRCountArray, 3);
	return;
}
function AGRNextAd4(action) {
	AGRDisplay(AGRTimerArray[4], AGRActionArray[4], AGRAdArray, AGRCountArray, 4);
	return;
}
function AGRNextAd5(action) {
	AGRDisplay(AGRTimerArray[5], AGRActionArray[5], AGRAdArray, AGRCountArray, 5);
	return;
}
function AGRNextAd6() {
	AGRDisplay(AGRTimerArray[6], AGRActionArray[6], AGRAdArray, AGRCountArray, 6);
	return;
}
function AGRNextAd7() {
	AGRDisplay(AGRTimerArray[7], AGRActionArray[7], AGRAdArray, AGRCountArray, 7);
	return;
}
function AGRNextAd8(action) {
	AGRDisplay(AGRTimerArray[8], AGRActionArray[8], AGRAdArray, AGRCountArray, 8);
	return;
}
function AGRNextAd9(action) {
	AGRDisplay(AGRTimerArray[9], AGRActionArray[9], AGRAdArray, AGRCountArray, 9);
	return;
}
function AGRFindImageObject(baseImage, thisLayer) {
	if (thisLayer) {
		var thisDocument = thisLayer.document;
	}
	else {
		var thisDocument = document;
	}
	var imageObj = thisDocument[baseImage];
	if (imageObj) {
		return imageObj;
	}
	else {
		for (var i = 0; i < thisDocument.layers.length; i++) {
			imageObj = SACFindImageObject(baseImage, thisDocument.layers[i]); 
			if (imageObj) {
				break;
			}
		}
	}
	return imageObj;
}
function AGRVersion() {
	return (navigator.appName.indexOf("Netscape") >= 0 && parseInt(navigator.appVersion.charAt(0)) >= 3)
          || (navigator.appName.indexOf("Explorer") >= 0 && parseInt(navigator.appVersion.charAt(0)) >= 2);
}
function ROAddToNowPlayingList (act) {
	var i,url,clipinfo,related_info_url,width,height,media_browser_url,target;
	url=act[1];
	related_info_url=act[2];
	if(related_info_url=="(EmptyReference!)")related_info_url="";
	width=act[3];
	height=act[4];
	media_browser_url=act[5];
	if(media_browser_url=="(EmptyReference!)")media_browser_url="";
	if(act[6]==0)target="_rpbrowser";
	else target="_rpexternal";
	clipinfo="Album name="+act[7];
	clipinfo+="|Artist name="+act[8];
	clipinfo+="|CDNum="+act[9];
	clipinfo+="|Comments="+act[10];
	clipinfo+="|Genre="+act[11];
	clipinfo+="|Language="+act[12];
	clipinfo+="|Mood="+act[13];
	clipinfo+="|Preference="+act[14];
	clipinfo+="|Situation="+act[15];
	clipinfo+="|Title="+act[16];
	clipinfo+="|Year="+act[17];
	window.parent.external.AddToNowPlaying (url, clipinfo, related_info_url, width, height, media_browser_url, target);
}
// AutoScroll.action v1.3.1 - August, 2001
// © Copyright 2000 by Walter Blady
// All rights reserved
var ASisNav4 = navigator.appName.indexOf("Netscape") >= 0 && parseInt(navigator.appVersion.charAt(0)) == 4;
var ASisIE4 = navigator.appVersion.indexOf("MSIE 4") >= 0;
var ASW3C = document.getElementById ? true : false;
var ASrepeat = 0, ASrep = 0;
var ASstartDelay = 0, ASlineDelay = 0, ASendDelay = 0;
var ASyDest = 0, ASyOrig = 0, ASyloc = 0, ASxDest = 0, ASxOrig = 0, ASxloc = 0, ASaction;
var ASparamsB, ASparamsC, ASpixCount = 0, ASpauseFlag = false, ASInitFlag = true, ASstartFlag = true;
function WBAutoScroll(action) {
	if (ASVersion()) {
		ASaction = action;
		if (action[3]) {
			clearInterval(ASrepeat);
			ASInitFlag = true;
			clearTimeout(ASrep);
			return;
		}
		if (ASInitFlag) {
			ASparamsB = ASgetObject(action[10]);
			ASparamsC = ASgetObject(action[15]);
			ASscrollTo(ASparamsB, action[13], action[14]);
			if (ASisIE4) {
				var BboxWidth = action[11];
				var t = document.all.tags("div");
				var BboxHeight = (action[12] > 0) ? action[12] : t[action[10]].offsetHeight;
				var BboxTop = ASparamsB.pixelTop;
				var BboxLeft = ASparamsB.pixelLeft;
				var CboxWidth = action[16];
				var CboxHeight = action[17];
			}
			else if (ASW3C) {
				var BboxWidth = action[11];
				var t = document.getElementsByTagName("div");
				var BboxHeight = (action[12] > 0) ? action[12] : t[action[10]].offsetHeight;
				var BboxTop = parseInt(ASparamsB.top);
				var BboxLeft = parseInt(ASparamsB.left);
				var CboxWidth = action[16];
				var CboxHeight = action[17];
			}
			else {
				var BboxWidth = ASparamsB.clip.width;
				var BboxHeight = (action[12] > 0) ? action[12] : ASparamsB.clip.height;
				var BboxTop = ASparamsB.top;
				var BboxLeft = ASparamsB.left;
				var CboxWidth = ASparamsC.clip.width;
				var CboxHeight = ASparamsC.clip.height;
			}
			ASyOrig = BboxTop;
			ASxOrig = BboxLeft;
			ASyloc = BboxTop;
			ASxloc = BboxLeft;
			if (action[2]) {
				ASyDest = BboxTop < 0 ? CboxHeight - BboxTop : -1*(BboxHeight - BboxTop);
				ASxDest = BboxLeft < 0 ? CboxWidth : -1*(BboxWidth - BboxLeft);
			}
			else {
				ASyDest = BboxTop < 0 ? 0 : -1*(BboxHeight - BboxTop + (BboxTop - CboxHeight));
				ASxDest = BboxLeft < 0 ? 0 : -1*(BboxWidth - BboxLeft + (BboxLeft - CboxWidth));
			}
			ASInitFlag = false;
		}
		ASstartDelay = action[20]*1000;
		ASlineDelay = action[9]*1000;
		ASendDelay = action[21]*1000;
		if (action[4]) {
			upDownu = true;
			minusu = false;
			ASrepeat = setInterval("ASdoScroll(upDownu, minusu)", action[18]);
		}
		else if (action[5]) {
			upDownd = true;
			minusd = true;
			ASrepeat = setInterval("ASdoScroll(upDownd, minusd)", action[18]);
		}
		if (action[6]) {
			upDownl = false;
			minusl = false;
			ASrepeat = setInterval("ASdoScroll(upDownl, minusl)", action[18]);
		}
		else if (action[7]) {
			upDownr = false;
			minusr = true;
			ASrepeat = setInterval("ASdoScroll(upDownr, minusr)", action[18]);
		}
	}
	ASInitFlag = false;
	return;
}
function ASdoScroll(upDown, minus) {
	if (ASstartFlag && !ASpauseFlag) {
		ASscrollTo(ASparamsB, ASxloc, ASyloc);
		ASpauseFlag = true;
		ASstartFlag = false;
		ASrep = setTimeout("ASpause()", ASstartDelay);
	}
	if (ASaction[8] > 0 && ASpixCount >= ASaction[8] && !ASpauseFlag) {
		ASpixCount = 0;
		ASpauseFlag = true;
		ASrep = setTimeout("ASpause()", ASlineDelay);
	}
	if (!ASpauseFlag) {
		if (upDown) {
			if (minus) {
				ASyloc = (ASyloc - ASaction[19] >= ASyDest) ? ASyloc - ASaction[19] : ASyDest;
			}
			else {
				ASyloc = (ASyloc + ASaction[19] <= ASyDest) ? ASyloc + ASaction[19] : ASyDest;
			}
		}
		else {
			if (minus) {
				ASxloc = (ASxloc - ASaction[21] >= ASxDest) ? ASxloc - ASaction[19] : ASxDest;
			}
			else {
				ASxloc = (ASxloc + ASaction[19] <= ASxDest) ? ASxloc + ASaction[19] : ASxDest;
			}
		}
		ASscrollTo(ASparamsB, ASxloc, ASyloc);
		ASpixCount += ASaction[19];
	}
	var cont = (upDown) ? ASyloc == ASyDest && !ASpauseFlag : ASxloc == ASxDest && !ASpauseFlag;
	if (cont) {
		ASpauseFlag = true;
		ASstartFlag = true;
		ASyloc = ASyOrig;
		ASxloc = ASxOrig;
		ASpixCount = 0;
		if (!ASaction[1]) {
			ASstop();
		}
		ASrep = setTimeout("ASpause()", ASendDelay);
	}
	return;
}
function ASscrollTo(obj, x, y) {
	if (ASW3C) {
		obj.left = x + "px";
		obj.top = y + "px";
	}
	else if (ASisIE4) {
		obj.pixelLeft = x;
		obj.pixelTop = y;
	}
	else {
		obj.moveTo(x, y);
	}
	return;
}
function ASpause() {
	ASpauseFlag = false;
	clearTimeout(ASrep);
	return;
}
function ASstop() {
	clearInterval(ASrepeat);
	clearTimeout(ASrep);
	ASInitFlag = false;
	return;
}
function ASgetObject(objName) {
	var params;
	if (ASisIE4) {
		params = eval("document.all." + objName + ".style");
	}
	else if (ASW3C) {
		params = eval('document.getElementById("' + objName + '").style');
	}
	else {
		params = ASFindLayerObject(objName, 0);
	}
	return params;
}
function ASFindLayerObject(layer, thisLayer) {
	if (thisLayer) {
		var thisDocument = thisLayer.document;
	}
	else {
		var thisDocument = document;
	}
	var layerObj = thisDocument[layer];
	if (layerObj) {
		return layerObj;
	}
	else {
		for (var i = 0; i < thisDocument.layers.length; i++) {
			layerObj = ASFindLayerObject(layer, thisDocument.layers[i]); 
			if (layerObj) {
				break;
			}
		}
	}
	return layerObj;
}
function ASVersion() {
	return (navigator.appName.indexOf("Netscape") >= 0 && parseInt(navigator.appVersion.charAt(0)) >= 4)
          || (navigator.appName.indexOf("Explorer") >= 0 && parseInt(navigator.appVersion.charAt(0)) >= 4);
}
// BrowserDirect.action v1.8 - January, 2001
// © Copyright 1999 by Walter Blady
// All rights reserved.
function WBBrowserDirect(action) {
	if (BDVersion()) {
		var uAgent = window.navigator.userAgent; 
		var appName = window.navigator.appName;
		var appVers = window.navigator.appVersion;
		var navPlat = new Array("Mac", "Win");
		var urlPointer;
		if (appName.indexOf("Netscape") >= 0 && !(appName.indexOf("WebTV") >= 0)) {
			urlPointer = 0;
			for (var i = 0; i < 2; i++) {
				if (navigator.appVersion.indexOf(navPlat[i]) != -1) {
					for (var j = 1; j < 8; j = j + 2) {
						if (action[j+urlPointer] != "(Empty Reference!)" && action[j+urlPointer+1].length > 0) {
							if (uAgent.indexOf("Gecko") > -1 && uAgent.indexOf(action[j+urlPointer+1]) > -1) { 
								window.location.href = action[j+urlPointer];
								return;
							}
							else if (appVers.indexOf(action[j+urlPointer+1]) > -1) {
								window.location.href = action[j+urlPointer];
								return;
							}
						}
					}
				}
				urlPointer = urlPointer + 8;
			}
		}
		else if (appName.indexOf("Explorer") >= 0 && !(uAgent.indexOf("AOL") >= 0)) {
			urlPointer = 16;
			for (var i = 0; i < 2; i++) {
				if (navigator.appVersion.indexOf(navPlat[i]) != -1) {
					for (var j = 1; j < 8; j = j + 2) {
						if (action[j+urlPointer] != "(Empty Reference!)" && action[j+urlPointer+1].length > 0 && appVers.indexOf("MSIE " + action[j+urlPointer+1]) > -1) {
							window.location.href = action[j+urlPointer];
							return;
						}
					}
				}
				urlPointer = urlPointer + 8;
			}
		}
		else if (uAgent.indexOf("AOL") >= 0) {
			urlPointer = 32;
			for (var i = 0; i < 2; i++) {
				if (navigator.appVersion.indexOf(navPlat[i]) != -1) {
					for (var j = 1; j < 8; j = j + 2) {
						if (action[j+urlPointer] != "(Empty Reference!)" && action[j+urlPointer+1].length > 0 && uAgent.indexOf("AOL " + action[j+urlPointer+1]) > -1) {
							window.location.href = action[j+urlPointer];
							return;
						}
					}
				}
				urlPointer = urlPointer + 8;
			}
		}
		else if (appName.indexOf("WebTV") >= 0) {
			urlPointer = 48;
			for (var i = 1; i < 8; i = i + 2) {
				if (action[i+urlPointer] != "(Empty Reference!)" && action[i+urlPointer+1].length > 0 && navigator.appVersion.indexOf("WebTV;" + action[i+urlPointer+1]) > -1) {
					window.location.href = action[i+urlPointer];
					return;
				}
			}
		}
		if (action[57] != "(Empty Reference!)") {
			window.location.href = action[57];
		}
	}
	return;
}
function BDVersion() {
	return (navigator.appName.indexOf("Netscape") >= 0 && parseInt(navigator.appVersion.charAt(0)) >= 3)
          || (navigator.appName.indexOf("Explorer") >= 0 && parseInt(navigator.appVersion.charAt(0)) >= 2)
          || (navigator.appName.indexOf("WebTV") >= 0 && parseInt(navigator.appVersion.charAt(0)) >= 3);
}
// BrowserSwitch.action v1.7 - January, 2001
// © Copyright 1999 by Walter Blady
// All rights reserved.
function WBBrowserSwitch(action) {
	if (BSVersion()) {
		var browserMatch = false; 
		var platformMatch = false; 
		var uAgent = window.navigator.userAgent; 
		var appName = window.navigator.appName;
		if (appName.indexOf("Netscape") >= 0 && !(appName.indexOf("WebTV") >= 0)) {
			if (action[1] && uAgent.indexOf("Netscape6/6") > -1) { browserMatch = true; }
			if (action[2] && parseInt(navigator.appVersion.charAt(0)) == 5) { browserMatch = true; }
			if (action[3] && parseInt(navigator.appVersion.charAt(0)) == 4) { browserMatch = true; }
			if (action[4] && parseInt(navigator.appVersion.charAt(0)) == 3) { browserMatch = true; }
		}
		if (appName.indexOf("Explorer") >= 0 && !(uAgent.indexOf("AOL") >= 0)) {
			if (action[5] && navigator.appVersion.indexOf("MSIE 6") > -1) { browserMatch = true; }
			if (action[6] && navigator.appVersion.indexOf("MSIE 5") > -1) { browserMatch = true; }
			if (action[7] && navigator.appVersion.indexOf("MSIE 4") > -1) { browserMatch = true; }
			if (action[8] && navigator.appVersion.indexOf("MSIE 3") > -1) { browserMatch = true; }
		}
		if (uAgent.indexOf("AOL") >= 0) {
			if (action[9] && navigator.uAgent.indexOf("AOL 6") > -1) { browserMatch = true; }
			if (action[10] && navigator.uAgent.indexOf("AOL 5") > -1) { browserMatch = true; }
			if (action[11] && navigator.uAgent.indexOf("AOL 4") > -1) { browserMatch = true; }
			if (action[12] && navigator.uAgent.indexOf("AOL 3") > -1) { browserMatch = true; }
		}
		if (appName.indexOf("WebTV") >= 0) {
			if (action[13] && navigator.appVersion.indexOf("WebTV;2.2") > -1) { browserMatch = true; }
			if (action[14] && navigator.appVersion.indexOf("WebTV;1.4") > -1) { browserMatch = true; }
			if (action[15] && navigator.appVersion.indexOf("WebTV;1.2") > -1) { browserMatch = true; }
		}
		if (action[16] && !(action[17]) && !(action[18])) { 
			platformMatch = uAgent.indexOf("Mac") > -1;
		}
		if (!(action[16]) && action[17] && !(action[18])){ 
			platformMatch = uAgent.indexOf("Win") > -1;
		}
		if (!(action[16]) && !(action[17]) && action[18]){ 
			platformMatch = uAgent.indexOf("WebTV") > -1;
		}
		if (action[16] && action[17] && !(action[18])) { 
			platformMatch = (uAgent.indexOf("Mac") > -1) || (uAgent.indexOf("Win") > -1);
		}
		if (action[16] && !(action[17]) && action[18]){ 
			platformMatch = (uAgent.indexOf("Mac") > -1) || (uAgent.indexOf("WebTV") > -1);
		}
		if (!(action[16]) && action[17] && action[18]){ 
			platformMatch = (uAgent.indexOf("Win") > -1) || (uAgent.indexOf("WebTV") > -1);
		}
		if (action[16] && action[17] && action[18]) { 
			platformMatch = true;
		}
		if (browserMatch && platformMatch) { 
			if (action[19] != "(Empty Reference!)") { 
				window.location.href = action[19];
			}
		}
		else { 
			if (action[20] != "(Empty Reference!)") { 
				window.location.href = action[20];
			}
		}
		return;
	}
}
function BSVersion() {
	return (navigator.appName.indexOf("Netscape") >= 0 && parseInt(navigator.appVersion.charAt(0)) >= 3)
          || (navigator.appName.indexOf("Explorer") >= 0 && parseInt(navigator.appVersion.charAt(0)) >= 2)
          || (navigator.appName.indexOf("WebTV") >= 0 && parseInt(navigator.appVersion.charAt(0)) >= 3);
}
// WBBusinessCard.action v1.2.2 - September, 2001
// © Copyright 1999 by Walter Blady
// All rights reserved
var BCisNav4, BCisIE4, BCScope = "", BCStyleObj = "";
var BCNewWind = new Object(), BCWindowObj, BCWindowName, BCParams = "", BCTimer = 0, BCTimerArray = new Array();
var BCisIE = window.navigator.userAgent.indexOf("MSIE") > -1;
var BCisIE3 = navigator.appVersion.indexOf("MSIE 3") != -1;
var uAgent = window.navigator.userAgent;
var PMUW3C = document.getElementById ? true : false;
var BCisWIN = uAgent.indexOf("Win") > -1, BCisMAC = uAgent.indexOf("Mac") > -1, BCisWTV = uAgent.indexOf("WebTV") > -1;
var BCAction = "";
function WBBusinessCard(action) {
	if (BCVersion() && action[1].length > 0) { 
		var winWidth = 300, winHeight = 240, tablWidth = 282, tablHeight = 174, cropsWidth = 282, cropsHeight = 15, cardWidth = 252, cardHeight = 144;
		if ((BCisWIN && !BCisWTV) || PMUW3C) {
			winWidth = 400, winHeight = 320, tablWidth = 376, tablHeight = 232, cropsWidth = 376, cropsHeight = 20, cardWidth = 336, cardHeight = 192;
		}
		else if (BCisWTV) {
			winWidth = 300, winHeight = 240, tablWidth = 282, tablHeight = 174, cropsWidth = 282, cropsHeight = 15, cardWidth = 252, cardHeight = 144;
		}
		BCWindowObj = action[1];
		BCWindowName = action[1] + "win";
		BCParams = "width=" + winWidth + ",height=" + winHeight + ",toolbar=no,location=no,directories=no,status=no,menubar=yes,scrollbars=no,favorites=no,resizable=no";
		var screenWidth = screen.width;
		var screenHeight = screen.height;
		if (action[4] == 0) {
			var left = (screenWidth - (winWidth+20))/2;
			var top = (screenHeight - (winHeight+55))/2;
		}
		else if (action[4] == 1) {
			var left = 10;
			var top = 10;
		}
		else if (action[4] == 2) {
			var left = 10;
			var top = (screenHeight - (winHeight+55));
		}
		else if (action[4] == 3) {
			var left = (screenWidth - (winWidth+20));
			var top = 3;
		}
		else if (action[4] == 4) {
			var left = (screenWidth - (winWidth+20));
			var top = (screenHeight - (winHeight+55));
		}
		else if (action[4] == 5) {
			var top = action[5];
			var left = action[6];
		}
		BCParams += (BCisIE || PMUW3C) ? ",top=" + top + ",left=" + left : ",screenY=" + top + ",screenX=" + left;
		var BCMess = '<html><head>';
		BCMess += '<meta http-equiv="content-type" content="text/html;charset=ISO-8859-1">';
		BCMess += '<title> My Business Card</title>';
		BCMess += '<script language="Javascript">function BCCloseWindow() { self.window.close(); return;}</' + 'script>';
		BCMess += '</head><body bgcolor="#ffffff">';
		BCMess += '<div align="center"><table border="0" cellpadding="0" cellspacing="0" width="' + tablWidth + '" height="' + tablHeight + '"><tr>';
		BCMess += '<td valign="top" width="' + cropsWidth + '"><img src=';
		BCMess += action[3] ? '"BCImages/top_crops.gif"' : '"BCImages/blank.gif"';
		BCMess += 'width="' + cropsWidth + '" height="' + cropsHeight + '" border="0" align="top"></td></tr>';
		BCMess += '<tr height="' + cardHeight + '"><td align="center" valign="middle" width="' + cardWidth + '" height="' + cardHeight + '">';
		BCMess += '<img src="' + action[2] + '" width="' + cardWidth + '" height="'+ cardHeight + '" border="0"></td>';
		BCMess += '</tr><tr><td valign="bottom" width="' + tablWidth + '"><img src=';
		BCMess += action[3] ? '"BCImages/bottom_crops.gif"' : '"BCImages/blank.gif"';
		BCMess += 'width="' + cropsWidth + '" height="' + cropsHeight + '" border="0"></td></tr></table></div>';
		BCMess += '<div align="center"><font size="2">Please print this card from your browser</font><br>';
		BCMess += '<a href="Javascript:void(BCCloseWindow())">';
		BCMess += '<img src="BCImages/close.jpg" border="0"></a></div></body></html>';
		if (!BCNewWind[BCWindowObj] || BCNewWind[BCWindowObj].closed) {
			BCNewWind[BCWindowObj] = window.open("", action[1], BCParams);
			BCNewWind[BCWindowObj].document.open();
			BCNewWind[BCWindowObj].document.write(BCMess);
			BCNewWind[BCWindowObj].document.close();
		}
		else {
			BCNewWind[BCWindowObj].focus();
		}
		if (action[7] > 0 && BCWindowObj) {
			BCTimerArray[action[7]] = BCNewWind[BCWindowObj];
			BCTimer = "BCCloseWind" + action[7] + "()";
			BCNewWind[BCWindowObj].value = setTimeout(BCTimer, action[8]*1000);
		}
	}
	return;
}
function BCCloseWind1() {
	var windObj = BCTimerArray[1]
	if (BCisIE3) {
		windObj = window.open("", "tempName", BCParams);
	}
	if (windObj && !windObj.closed) {
		windObj.close();
	}
	return;
}
function BCCloseWind2() {
	var windObj = BCTimerArray[2]
	if (BCisIE3) {
		windObj = window.open("", "tempName", BCParams);
	}
	if (windObj && !windObj.closed) {
		windObj.close();
	}
	return;
}
function BCCloseWind3() {
	var windObj = BCTimerArray[3]
	if (BCisIE3) {
		windObj = window.open("", "tempName", BCParams);
	}
	if (windObj && !windObj.closed) {
		windObj.close();
	}
	return;
}
function BCCloseWind4() {
	var windObj = BCTimerArray[4]
	if (BCisIE3) {
		windObj = window.open("", "tempName", BCParams);
	}
	if (windObj && !windObj.closed) {
		windObj.close();
	}
	return;
}
function BCVersion() {
	return (navigator.appName.indexOf("Netscape") >= 0 && parseInt(navigator.appVersion.charAt(0)) >= 4)
          || (navigator.appName.indexOf("Explorer") >= 0 && parseInt(navigator.appVersion.charAt(0)) >= 4);
}
function CSCallAction(action)
{
	CSAction(new Array(action[1]));
}
function CSCallFunction(action)
{
	var str = action[1];
	str += "(";
	str += action[2];
	str += ");"
	return eval(str);
}
// Chameleon.action v1.2.1 - August, 2001
// © Copyright 1999 by Walter Blady
// All rights reserved
var CHisNav4 = navigator.appName.indexOf("Netscape") >= 0 && parseInt(navigator.appVersion.charAt(0)) == 4;
var CHisIE4 = navigator.appVersion.indexOf("MSIE 4") >= 0;
var CHW3C = document.getElementById ? true : false;
var CHisNav4, CHisIE4, CHScope = "", CHStyleObj = "";
function WBChameleon(action) { 
	if (CHVersion()) {
		for (var i = 1; i <= 37; i = i + 3) {
			if (action[i].length > 0) {
				var params = CHgetObject(action[i]);
				if (action[i+1] > 0 ) {
					var blank = CHisNav4 ? null : "Transparent";
					var color = action[i+1] == 2 ? blank : action[i+2];
					if (CHisNav4) {
						params.bgColor = color;
					}
					else {
						params.style.backgroundColor = color;
					}
				}
			}
		}
	return;
	}
}
function CHgetObject(objName) {
	var params;
	if (CHisIE4) {
		params = eval("document.all." + objName);
	}
	else if (CHW3C) {
		params = eval('document.getElementById("' + objName + '")');
	}
	else {
		params = CHFindLayerObject(objName, 0);
	}
	return params;
}
function CHFindLayerObject(layer, thisLayer) {
	if (thisLayer) {
		var thisDocument = thisLayer.document;
	}
	else {
		var thisDocument = document;
	}
	var layerObj = thisDocument[layer];
	if (layerObj) {
		return layerObj;
	}
	else {
		for (var i = 0; i < thisDocument.layers.length; i++) {
			layerObj = CHFindLayerObject(layer, thisDocument.layers[i]); 
			if (layerObj) {
				break;
			}
		}
	}
	return layerObj;
}
function CHVersion() {
	return (navigator.appName.indexOf("Netscape") >= 0 && parseInt(navigator.appVersion.charAt(0)) >= 4)
          || (navigator.appName.indexOf("Explorer") >= 0 && parseInt(navigator.appVersion.charAt(0)) >= 4);
}
function ROClearNowPlayingList (act) {
	window.parent.external.ClearNowPlaying();
}
function CSshowtimedateID(action) {
	(action[2] != "") ? (updateobject = action[2]) : (updateobject = action[1])
	showtime = action[3]
	usemilitary = action[4]
	showdate = action[5]
	dateformat = action[6]
	showday = action[7]
	leadin = action[8]
	opentag = action[9]
	closetag = action[10]
	theTimer = setTimeout("theClockDate()",10);
}
function theClockDate() {   
	now = new Date()
	theMonth = now.getMonth() + 1
	theDate = now.getDate()
	theYear = now.getFullYear()
	theDay = now.getDay()
	hours = now.getHours()
	if(navigator.appVersion.indexOf("MSIE 5.0; Macintosh") != -1) {
	if (theMonth <= 11 && theMonth >= 4) { hours = hours + 1}
	}
	ampm = ((hours >= 12) ? "PM" : "AM");
	hours = ((hours > 12 && usemilitary == false) ? hours -12 : hours);
	if (hours == 0) hours = 12;
	if (hours >= 1 && hours <=9) hours = "0" + hours;
	minutes = now.getMinutes()
	if (minutes < 10) minutes = "0" + minutes;
	time = "";
	(showtime == true) ? (time = " " + hours + ":" + minutes) : (time = "",ampm="");
	(usemilitary == true) ? (ampm="") : (ampm=ampm);
	days = new Array("Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday");
	today = days[theDay];
	if (showdate == true) {
		if (dateformat == 0) todisplay = theMonth + "/" + theDate + "/" + theYear;
		if (dateformat == 1) todisplay = theDate + "/" + theMonth + "/" + theYear;
		if (dateformat == 2) todisplay = theYear + "/" + theMonth + "/" + theDate;
		if (dateformat == 3) todisplay = theYear + "/" + theDate + "/" + theMonth;
		} else {todisplay = "" }
	if (showday == true) todisplay =  today + ", " + todisplay;
	if (document.all) { document.all(updateobject).innerHTML = opentag + leadin + todisplay + time + " " + ampm + closetag; } 
	else {
		if (document.getElementById) { document.getElementById(updateobject).innerHTML = opentag + leadin + todisplay + time + " " + ampm + closetag; }
}
theTimer = setTimeout("theClockDate()",2000);
}
function CSCloseWindow() { 
if (self.parent.frames.length != 0) {
	self.parent.close()	
	} else {
	window.close()
	}
}
// ColorCarousel.action v1.3.1 - August, 2001
// © Copyright 1999 by Walter Blady
// All rights reserved
var CCisNav4 = navigator.appName.indexOf("Netscape") >= 0 && parseInt(navigator.appVersion.charAt(0)) == 4;
var CCisIE4 = navigator.appVersion.indexOf("MSIE 4") >= 0;
var CCW3C = document.getElementById ? true : false;
var CCisNav4, CCisIE4, CCScope = "", CCStyleObj = "", CCColor;
function WBColorCarousel(action) { 
	if (CCVersion() && action[3] > 0) {
		var colnum = action[3] > 12 ? 12 : action[3];
		var thisDate = new Date();
		var thisSec = thisDate.getSeconds();
		CCColor = Math.floor(thisSec/5) + 1;
		while (CCColor > colnum) {
			CCColor = CCColor - colnum;
		}
		CCColor = CCColor + 3;
		if (action[1] && action[2].length > 0) {
			var params = CCgetObject(action[2]);
			if (CCisNav4) {
				params.bgColor = action[CCColor];
			}
			else if (CCW3C || CCisIE4) {
				params.style.backgroundColor = action[CCColor];
			}
		}
		else {
			if (action[16].length > 0) {
				var params = eval(action[16] + ".document");
				params.bgColor = action[CCColor];
			}
			else {
				document.bgColor = action[CCColor];
			}
		}
	}
	return;
}
function CCgetObject(objName) {
	var params;
	if (CCisIE4) {
		params = eval("document.all." + objName);
	}
	else if (CCW3C) {
		params = eval('document.getElementById("' + objName + '")');
	}
	else {
		params = CCFindLayerObject(objName, 0);
	}
	return params;
}
function CCFindLayerObject(layer, thisLayer) {
	if (thisLayer) {
		var thisDocument = thisLayer.document;
	}
	else {
		var thisDocument = document;
	}
	var layerObj = thisDocument[layer];
	if (layerObj) {
		return layerObj;
	}
	else {
		for (var i = 0; i < thisDocument.layers.length; i++) {
			layerObj = CCFindLayerObject(layer, thisDocument.layers[i]); 
			if (layerObj) {
				break;
			}
		}
	}
	return layerObj;
}
function CCVersion() {
	return (navigator.appName.indexOf("Netscape") >= 0 && parseInt(navigator.appVersion.charAt(0)) >= 3)
          || (navigator.appName.indexOf("Explorer") >= 0 && parseInt(navigator.appVersion.charAt(0)) >= 2);
}
function CSConditionAction(action) {
	if (action[1]) {
		if (CSAction(new Array(action[1])) == true) {
			if (action[2]) CSAction(new Array(action[2]));
		} else if (action[3]) CSAction(new Array(action[3]));
	}
}
function WBConfirmLink(action) {
	 if (checkIt(action)) {
		 if (action[2] != "(Empty Reference!)" && action[2] != "(EmptyReference!)") {
		 	if (action[3].length < 1) {
				parent.location.href=action[2];
			}
			else {
				parent.frames[action[3]].location.href=action[2];
			}
		}
	}
	return;
}
function checkIt(action) {
	var carryOn = window.confirm(action[1]);
	return carryOn;
	}
// CopyrightNotice.action v1.3 - March, 2001
// © Copyright 1999 by Walter Blady
// All rights reserved
var CNParams = "", CNAction2 = "", CNNewWindow, CNwindowName = "newWindow";
var CNisIE3 = navigator.appVersion.indexOf("MSIE 3") != -1;
var CNisNav3 = navigator.appName.indexOf("Netscape") >= 0 && parseInt(navigator.appVersion.charAt(0)) == 3;
function WBCopyrightNotice(action) {
	if (CNVersion()) {
		if (action[12] && CNisNav3) {
			window.alert("This material is protected by © Copyright!");
			return;
		}
		else {
			if (action[1]) {
				var params = "";
				var timeOut = action[11] * 1000;
				params += "width=" + action[6] + ",height=" + action[7];
				params += ",toolbar=0, location=0, directories=0, status=0, menubar=0";
				params += ",scrollbars=" + (action[8] ? "1" : "0");
				params += ",resizable=" + (action[9] ? "1" : "0");
				CNParams = params;
				CNAction2 = action[2];
				if (action[2] != "(Empty Reference!)") {
					CNNewWindow = window.open(action[2], CNwindowName, params);
				}
				else {
					CNNewWindow = window.open("", CNwindowName, params);
					CNNewWindow.document.open();
					CNNewWindow.document.write(CNWriteWindow(action));
					CNNewWindow.document.close();
				}
				if (action[10] && CNNewWindow) {
					var t = setTimeout("CNCloseWind()", timeOut);
				}
			}
			else {
				window.alert("This material is protected by © Copyright!");
			}
		}
	}
	return;
}
function CNWriteWindow(action) {
	var pMessage = "";
	pMessage += '<html><head>';
	pMessage += '<meta http-equiv="content-type" content="text/html;charset=ISO-8859-1">';
	pMessage += '<title>' + action[3] + '</title></head>';
	pMessage += '<body bgcolor="white">';
	pMessage += '<b>' + action[3] + ':</b></p>';
	pMessage += 'This photograph or illustration is protected by copyright ©.</p>';
	pMessage += 'Reproduction in whole or in part is strictly prohibited<br>';
	pMessage += 'without prior written permission of ' + action[4] + '.</p>';
	pMessage += 'For reprint information please contact <a href="mailto:' + action[5] + '">' + action[4] + '</a>'
	pMessage += '</body></html>';
	return pMessage;
}
function CNCloseWind() {
	if (CNisIE3) {
		CNNewWindow = window.open(CNAction2, CNwindowName, CNParams);
	}
	if (CNNewWindow && !CNNewWindow.closed) {
		CNNewWindow.close();
	}
	return;
}
function CNVersion() {
	return (navigator.appName.indexOf("Netscape") >= 0 && parseInt(navigator.appVersion.charAt(0)) >= 3)
          || (navigator.appName.indexOf("Explorer") >= 0 && parseInt(navigator.appVersion.charAt(0)) >= 2);
}
function CSCSSRedirect(action) { 
if (navigator.platform.indexOf("Win32") != -1) { os = "windows" };
if (navigator.platform.indexOf("Mac") != -1) { os = "mac" };
if (navigator.platform.indexOf("x") != -1 || navigator.platform.indexOf("BSD") != -1 || navigator.platform.indexOf("S") != -1) { os = "unix" };
if (navigator.appName.indexOf("Microsoft") != -1) { browser = "IE" };
if (navigator.appName.indexOf("Netscape") != -1) { browser = "NN" };
if (navigator.appVersion.indexOf("4.") != -1) { version = 4 };
if (navigator.appVersion.indexOf("5.") != -1) { version = 5 };
var tag='<LINK REL="styleSheet" TYPE="text/css" HREF="'+action[2]+'" >';
var type=action[1];
	if(type==0 && os=="mac" && browser=="NN" && version==4) { document.write(tag) }
	else 
	if(type==1 && os=="mac" && browser=="NN" && version==5) { document.write(tag) }
	else 
	if(type==2 && os=="windows" && browser=="NN" && version==4) { document.write(tag) }
	else 
	if(type==3 && os=="windows" && browser=="NN" && version==5) { document.write(tag) }
	else 
	if(type==4 && os=="unix" && browser=="NN" && version==4) { document.write(tag) }
	else 
	if(type==5 && os=="unix" && browser=="NN" && version==5) { document.write(tag) }
	else 
	if(type==6 && os=="mac" && browser=="IE") { document.write(tag) }
	else 
	if(type==7 && os=="windows" && browser=="IE") { document.write(tag) }
}
// CustomFit.action v1.3.1 - August, 2001
// © Copyright 2000 by Walter Blady
// All rights reserved
var CFisNav4 = navigator.appName.indexOf("Netscape") >= 0 && parseInt(navigator.appVersion.charAt(0)) == 4;
var CFisIE4 = navigator.appVersion.indexOf("MSIE 4") >= 0;
var CFW3C = document.getElementById ? true : false;
var CFisIE = navigator.appVersion.indexOf("MSIE") >= 0;
var CFResArray = new Array("640", "480", "800", "600", "832", "624", "1024", "768", "1152", "870", "1280", "1024", "1600", "1200");
function WBCustomFit(action) {
	if (CFVersion()) {
		var screenWidth = screen.width;
		var screenHeight = screen.height;
		var matchWidth = action[2] != 7 ? CFResArray[action[2]*2] : action[3];
		var matchHeight = action[2] != 7 ? CFResArray[(action[2]*2)+1] : action[4];
		var match = eval("CFRes" + action[1] + "(" + screenWidth + ", " + screenHeight + ", " + matchWidth + ", " + matchHeight + ")");
		if (match) {
			if (action[5] > 0) {
				window.moveTo(0,0);
				if (action[5] == 1) {
					var newWidth = (action[6] <= screen.availWidth) ? action[6] : screen.availWidth;
					var newHeight = (action[7] <= screen.availHeight) ? action[7] : screen.availHeight;
				}
				else if (action[5] == 2) {
					var newWidth = (action[6]*screen.availWidth/100 <= screen.availWidth) ? Math.round(action[6]*screen.availWidth/100) : screen.availWidth;
					var newHeight = (action[7]*screen.availWidth/100 <= screen.availHeight) ? Math.round(action[7]*screen.availWidth/100) : screen.availHeight;
				}
				else if (action[5] == 3) {
					var newWidth = screen.availWidth;
					var newHeight = screen.availHeight;
				}
				if (CFW3C || CFisIE4) {
					window.resizeTo(newWidth, newHeight);
				}
				else {
					window.outerWidth = newWidth;
					window.outerHeight = newHeight;
				}
			}
			for (var i = 8; i < 44; i = i + 9) {
				if (action[i] != "") {
					CFparams = CFgetObject(action[i]);
					var cwidth = action[i+1], cheight = action[i+2];
					if (action[i+3] > 0) {
						if (action[i+3] == 1) {
							var nw = action[i+4], nh = action[i+5];
						}
						else if (action[i+3] == 2) {
							var nw = Math.round(action[i+4]*cwidth/100), nh = Math.round(action[i+5]*cheight/100);
						}
						if (CFisIE4) {
							CFparams.pixelWidth = nw;
							var t = document.all.tags("div");
							CFparams.pixelHeight = t[action[i]].offsetHeight > nh ? t[action[i]].offsetHeight : nh;
						}
						if (CFW3C) {
							CFparams.width = nw + "px";
							var t = document.getElementsByTagName("div");
							CFparams.height = t[action[i]].height > nh ? t[action[i]].height + "px" : nh + "px";
						}
						else {
							CFparams.width = nw;
							CFparams.height = CFparams.height > nh ? CFparams.height : nh;
						}
					}
					if (action[i+6] > 0) {
						if (CFW3C || CFisIE4) {
							var boxLeft = CFW3C ? parseInt(CFparams.left) : CFparams.pixelLeft;
							var boxTop = CFW3C ? parseInt(CFparams.top) : CFparams.pixelTop;
						}
						else {
							var boxLeft = CFparams.left;
							var boxTop = CFparams.top;
						}
						if (action[i+6] == 1) {
							var nleft = action[i+7] >= 0 ? action[i+7] : boxLeft;
							var ntop = action[i+8] >= 0 ? action[i+8] : boxTop;
						}
						else if (action[i+6] == 2) {
							 if (CFisIE) {
								var nleft = action[i+7] >= 0 ? action[i+7]*document.body.clientWidth/100 : boxLeft*100/document.body.clientWidth;
								var ntop = action[i+8] >= 0 ? action[i+8]*document.body.clientHeight/100 : boxTop*100/document.body.clientHeight;
							}
							else {
								var nleft = action[i+7] >= 0 ? action[i+7]*window.innerWidth/100 : boxLeft*100/window.innerWidth;
								var ntop = action[i+8] >= 0 ? action[i+8]*window.innerHeight/100 : boxTop*100/window.innerHeight;
							}
						}
						CFscrollTo(CFparams, nleft, ntop);
					}
				}
			}
		}
	}
	return;
}
function CFRes0(w, h, mw, mh) {
	var matchFlag = (mw == w && mh == h);
	return matchFlag;
}
function CFRes1(w, h, mw, mh) {
	var matchFlag = (mw >= w && mh > h);
	return matchFlag;
}
function CFRes2(w, h, mw, mh) {
	var matchFlag = (mw < w && mh < h);
	return matchFlag;
}
function CFRes3(w, h, mw, mh) {
	var matchFlag = (mw >= w && mh >= h);
	return matchFlag;
}
function CFRes4(w, h, mw, mh) {
	var matchFlag = (mw <= w && mh <= h);
	return matchFlag;
}
function CFscrollTo(obj, x, y) {
	if (CFW3C) {
		obj.left = x + "px";
		obj.top = y + "px";
	}
	else if (CFisIE4) {
		obj.pixelLeft = x;
		obj.pixelTop = y;
	}
	else {
		obj.moveTo(x, y);
	}
	return;
}
function CFgetObject(objName) {
	var params;
	if (CFisIE4) {
		params = eval("document.all." + objName + ".style");
	}
	else if (CFW3C) {
		params = eval('document.getElementById("' + objName + '").style');
	}
	else {
		params = CFFindLayerObject(objName, 0);
	}
	return params;
}
function CFFindLayerObject(layer, thisLayer) {
	if (thisLayer) {
		var thisDocument = thisLayer.document;
	}
	else {
		var thisDocument = document;
	}
	var layerObj = thisDocument[layer];
	if (layerObj) {
		return layerObj;
	}
	else {
		for (var i = 0; i < thisDocument.layers.length; i++) {
			layerObj = CFFindLayerObject(layer, thisDocument.layers[i]); 
			if (layerObj) {
				break;
			}
		}
	}
	return layerObj;
}
function CFVersion() {
	return (navigator.appName.indexOf("Netscape") >= 0 && parseInt(navigator.appVersion.charAt(0)) >= 4)
          || (navigator.appName.indexOf("Explorer") >= 0 && parseInt(navigator.appVersion.charAt(0)) >= 4)
          || (navigator.appName.indexOf("WebTV") >= 0 && parseInt(navigator.appVersion.charAt(0)) >= 3);
}
function initIArray() {
this.length = initIArray.arguments.length;
for (var i = 0; i < this.length; i++)
this[i+1] = initIArray.arguments[i]; 
}
function dailyImageURL(action) {
var dateArray = new
initIArray("Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday");
var today = new Date();
var day = dateArray[today.getDay()];
if (today.getDay() == 0) { day = "Sunday"; }
var img = null;
if (document.images) {
	if (!IsIE()&&CSBVers<5) img = CSFindElement(action[1],0);
	else img = document.images[action[1]];
		if (img) {
			if (day == "Monday" && action[2] != "(Empty Reference!)" && action[2] != "(EmptyReference!)") img.src = action[2]
			if (day == "Tuesday" && action[3] != "(Empty Reference!)" && action[3] != "(EmptyReference!)") img.src = action[3]
			if (day == "Wednesday" && action[4] != "(Empty Reference!)" && action[4] != "(EmptyReference!)") img.src = action[4]
			if (day == "Thursday" && action[5] != "(Empty Reference!)" && action[5] != "(EmptyReference!)") img.src = action[5]
			if (day == "Friday" && action[6] != "(Empty Reference!)" && action[6] != "(EmptyReference!)") img.src = action[6]
			if (day == "Saturday" && action[7] != "(Empty Reference!)" && action[7] != "(EmptyReference!)") img.src = action[7]
			if (day == "Sunday" && action[8] != "(Empty Reference!)" && action[8] != "(EmptyReference!)") img.src = action[8]
		}  
}  
}
function initArray() {
this.length = initArray.arguments.length;
for (var i = 0; i < this.length; i++)
this[i+1] = initArray.arguments[i]; 
}
function dailyRedirect(action) {
var dateArray = new
initArray("Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday");
var today = new Date();
var day = dateArray[today.getDay()];
if (today.getDay() == 0) { day = "Sunday"; }
if (day == "Monday" && action[1] != "(Empty Reference!)" && action[1] != "(EmptyReference!)") window.location = action[1]
if (day == "Tuesday" && action[2] != "(Empty Reference!)" && action[2] != "(EmptyReference!)") window.location = action[2]
if (day == "Wednesday" && action[3] != "(Empty Reference!)" && action[3] != "(EmptyReference!)") window.location = action[3]
if (day == "Thursday" && action[4] != "(Empty Reference!)" && action[4] != "(EmptyReference!)") window.location = action[4]
if (day == "Friday" && action[5] != "(Empty Reference!)" && action[5] != "(EmptyReference!)") window.location = action[5]
if (day == "Saturday" && action[6] != "(Empty Reference!)" && action[6] != "(EmptyReference!)") window.location = action[6]
if (day == "Sunday" && action[7] != "(Empty Reference!)" && action[7] != "(EmptyReference!)") window.location = action[7]
}
// DailyTimedWindow.action v1.2.2 - March, 2001
// © 1999, Walter Blady
// All rights reserved
var DTWisIE3 = navigator.appVersion.indexOf("MSIE 3") != -1;
var DTWisIE = navigator.appVersion.indexOf("MSIE") != -1;
var DTWW3C = navigator.userAgent.indexOf("Netscape6") > 0 || navigator.appVersion.indexOf("MSIE 5") >=0;
var DTWNewWind = "", DTWWindowName = "", DTWAction, DTWNewDay;
function WBDailyTimedWindow(action) {
	if (DTWVersion()) {
		DTWAction = action;
		var thisDate = new Date();
		var DTWNewDay = thisDate.getDay() + 16;
		var params = "";
		var timeOut = action[15] * 1000;
		DTWWindowName = action[1].length > 0 ? action[1] : "newWindow";
		params += action[2] > 0 ? "width=" + action[2] : ""; 
		params += action[3] > 0 ? ",height=" + action[3] : "";
		params += ",toolbar=" + (action[4] ? "1" : "0");
		params += ",location=" + (action[5] ? "1" : "0");
		params += ",directories=" + (action[6] ? "1" : "0");
		params += ",status=" + (action[7] ? "1" : "0");
		params += ",menubar=" + (action[8] ? "1" : "0");
		params += ",favorites=" + (action[9] ? "1" : "0");
		params += ",scrollbars=" + (action[10] ? "1" : "0");
		params += ",resizable=" + (action[11] ? "1" : "0");
		params += (DTWW3C) ? ",top=" + action[12] + ",left=" + action[13] : ",screenX=" + action[12] + ",screenY=" + action[13];
		if (action[DTWNewDay] != "(Empty Reference!)") {
			DTWNewWind = window.open(action[DTWNewDay], DTWWindowName, params);
			if (action[14]) {
				var t = setTimeout("DTWcloseWind()", timeOut);
			}
		}
	}
	return;
}
function DTWcloseWind() {
	if (DTWisIE3) {
		DTWNewWind = window.open(DTWAction[DTWNewDay], DTWWindowName, params);
	}
	if (DTWNewWind && !DTWNewWind.closed) {
		DTWNewWind.close();
	}
	return;
}
function DTWVersion() {
	return (navigator.appName.indexOf("Netscape") >= 0 && parseInt(navigator.appVersion.charAt(0)) >= 3)
          || (navigator.appName.indexOf("Explorer") >= 0 && parseInt(navigator.appVersion.charAt(0)) >= 3);
}
// DateImage.action v1.4.3 - September, 2001
// © 1999, Walter Blady
// All rights reserved
function WBDateImage(action) {
	if (DIVersion() && document.images) {
		var DIW3C = document.getElementById ? true : false;
		var thisDate = new Date();
		var thisHour = thisDate.getHours();
		var thisMinute = thisDate.getMinutes();
		var thisSecond = thisDate.getSeconds();
		for (var i = 1; i < 49; i = i + 4) {
			if (action[i + 3] != "(Empty Reference!)" && action[i].length > 0) {
				var baseImage = null;
				var fromDate = eval(new Date(action[i+1] + " " + thisHour + ":" + thisMinute + ":" + (thisSecond - 1)));
				var toDate = eval(new Date(action[i+2] + " " + thisHour + ":" + thisMinute + ":" + (thisSecond + 1)));
				if (thisDate >= fromDate && thisDate <= toDate) {
					if (window.navigator.userAgent.indexOf("MSIE") > 0 || DIW3C) {
						baseImage = document.images[action[i]];
					}
					else {
						baseImage = parseInt(navigator.appVersion.charAt(0)) > 3 ? DIFindImageObject(action[i],0) : document.images[action[i]];
					}
					if (baseImage) {
						baseImage.src = action[i+3];
					}
				}
			}
		}
	}
	return;
}
function DIFindImageObject(baseImage, thisLayer) {
	if (thisLayer) {
		var thisDocument = thisLayer.document;
	}
	else {
		var thisDocument = document;
	}
	var imageObj = thisDocument[baseImage];
	if (imageObj) {
		return imageObj;
	}
	else {
		for (var i = 0; i < thisDocument.layers.length; i++) {
			imageObj = DIFindImageObject(baseImage, thisDocument.layers[i]); 
			if (imageObj) {
				break;
			}
		}
	}
	return imageObj;
}
function DIVersion() {
	return (navigator.appName.indexOf("Netscape") >= 0 && parseInt(navigator.appVersion.charAt(0)) >= 3)
          || (navigator.appName.indexOf("Explorer") >= 0 && parseInt(navigator.appVersion.charAt(0)) >= 3);
}
// DateLink.action v1.2 - January, 2000
// © 1999, Walter Blady
// All rights reserved.
function WBDateLink(action) {
	if (DLVersion() && document.images) {
		var thisDate = new Date();
		var thisHour = thisDate.getHours();
		var thisMinute = thisDate.getMinutes();
		var thisSecond = thisDate.getSeconds();
		for (var i = 1; i < 37; i = i + 3) {
			if (action[i + 2] != "(Empty Reference!)") {
				var fromDate = eval(new Date(action[i] + " " + thisHour + ":" + thisMinute + ":" + (thisSecond - 1)));
				var toDate = eval(new Date(action[i+1] + " " + thisHour + ":" + thisMinute + ":" + (thisSecond + 1)));
				if (thisDate >= fromDate && thisDate <= toDate) {
					var params;
					if (action[37].length < 1) {
						window.location.href = action[i+2];
					}
					else {
						if (action[37].toLowerCase().indexOf("blank") != -1) {
							var DLNewWindow = window.open(action[i+2],"newWindow", "toolbar=yes,location=yes,directories=yes,status=yes,menubar=yes,scrollbars=yes,resizable=yes");
							return;
						}
						else {
							params = eval(action[37] + ".window.location");
						}
						params.href = action[i+2];
					}
				}
			}
		}
	}
	return;
}
function DLVersion() {
	return (navigator.appName.indexOf("Netscape") >= 0 && parseInt(navigator.appVersion.charAt(0)) >= 3)
          || (navigator.appName.indexOf("Explorer") >= 0 && parseInt(navigator.appVersion.charAt(0)) >= 3);
}
// DatePage.action v1.1.1 - March, 2001
// © 1999, Walter Blady
// All rights reserved
var DPisIE3 = navigator.appVersion.indexOf("MSIE 3") != -1;
var DPisIE = navigator.appVersion.indexOf("MSIE") != -1;
var DPW3C = navigator.userAgent.indexOf("Netscape6") > 0 || navigator.appVersion.indexOf("MSIE 5") >=0;
var DPNewWind, DPAction;
function WBDatePage(action) {
	if (DPVersion()) {
		DPAction = action;
		var thisDate = new Date();
		var thisHour = thisDate.getHours();
		var thisMinute = thisDate.getMinutes();
		var thisSecond = thisDate.getSeconds();
		for (var i = 17; i < 53; i = i + 3) {
			if (action[i + 2] != "(Empty Reference!)") {
				var fromDate = eval(new Date(action[i] + " " + thisHour + ":" + thisMinute + ":" + (thisSecond - 1)));
				var toDate = eval(new Date(action[i+1] + " " + thisHour + ":" + thisMinute + ":" + (thisSecond + 1)));
				if (thisDate >= fromDate && thisDate <= toDate) {
					if (action[1]) {
						var params = "";
						var timeOut = action[16] * 1000;
						if (action[2].length > 0) {
							windowName = action[2];
						}
						else {
							windowName = "newWindow";
						}
						params += "width=" + action[3] + ",height=" + action[4];
						params += ",toolbar=" + (action[5] ? "1" : "0");
						params += ",location=" + (action[6] ? "1" : "0");
						params += ",directories=" + (action[7] ? "1" : "0");
						params += ",status=" + (action[8] ? "1" : "0");
						params += ",menubar=" + (action[9] ? "1" : "0");
						params += ",favorites=" + (action[10] ? "1" : "0");
						params += ",scrollbars=" + (action[11] ? "1" : "0");
						params += ",resizable=" + (action[12] ? "1" : "0");
						params += (DPWW3C) ? ",top=" + action[13] + ",left=" + action[14] : ",screenX=" + action[13] + ",screenY=" + action[14];
						DPNewWind = window.open(action[i+2],windowName,params);
						if (action[15]) {
							var t = setTimeout("DPCloseWind()", timeOut);
						}
					}
					else {
						var fparams;
						if (action[53].length < 1) {
							window.location.href = action[i+2];
						}
						else {
							fparams = eval(action[53] + ".window.location");
							fparams.href = action[i+2];
						}
					}
				}
			}
		}
	}
	return;
}
function DPCloseWind() {
	if (DPisIE3) {
		DPNewWind = window.open(DPAction[2],windowName,params);
	}
	if (DPNewWind && !DPNewWind.closed) {
		DPNewWind.close();
	}
	return;
}
function DPVersion() {
	return (navigator.appName.indexOf("Netscape") >= 0 && parseInt(navigator.appVersion.charAt(0)) >= 3)
          || (navigator.appName.indexOf("Explorer") >= 0 && parseInt(navigator.appVersion.charAt(0)) >= 3);
}
function CSDeleteCookie(action) 
{
var name=action[1]
var value=action[2]
var jours=-12000
path="/"
domain=null
var expdate = new Date ();
expdate.setTime (expdate.getTime() + (jours * 60 * 60 * 1000));
SetCookie(name,value,expdate)
}
function SetCookie (name, value) {
  var argv = SetCookie.arguments;
  var argc = SetCookie.arguments.length;
  var expires = (argc > 2) ? argv[2] : null;
  var secure = (argc > 5) ? argv[5] : false;
  document.cookie = name + "=" + escape (value) +
    ((expires == null) ? "" : ("; expires=" + expires.toGMTString())) +
    ((path == null) ? "" : ("; path=" + path)) +
    ((domain == null) ? "" : ("; domain=" + domain)) +
    ((secure == true) ? "; secure" : "");
}
function CSdigitalclock(action){
img1 = CSGetImage(action[1]);
img2 = CSGetImage(action[2]);
img3 = CSGetImage(action[3]);
img4 = CSGetImage(action[4]);
usemilitary = action[5];
giflocation = action[6];
path = giflocation.substring(0, giflocation.length - 5);
extension = (giflocation.indexOf("jpg") != -1) ? (".jpg") : (".gif");
digClock();
}
function digClock() {   
now = new Date();
hours = now.getHours();
theMonth = now.getMonth();
if(navigator.appVersion.indexOf("MSIE 5.0; Macintosh") != -1) {
	if (theMonth <= 11 && theMonth >= 4) { hours = hours + 1 };
	if (hours == 24) { hours = 0 };
	}
minutes = now.getMinutes();
hours = ((hours > 12 && usemilitary == false) ? hours -12 : hours);
if (hours >= 0 && hours <=9) hours = "0" + hours;
if (usemilitary == false && hours == 00) { hours = 12 };
if (minutes >= 0 && minutes <=9) minutes = "0" + minutes;
hours = "" + hours;
minutes = "" + minutes;
hour1 = hours.substring(0,1);
hour2 = hours.substring(1,2);
minutes1 = minutes.substring(0,1);
minutes2 = minutes.substring(1,2);
updater();
}
	
function updater() {
img1.src = path + hour1 + extension;
img2.src = path + hour2 + extension;
img3.src = path + minutes1 + extension;
img4.src = path + minutes2 + extension;
theTimer = setTimeout("digClock()",1000);
}
function CSDocWrite(action) { document.write(action[1]); }
var gCSIEDragObject = null;
var gDragX,gDragY;
function CSSetupDrag (layerName) {
	this.x = 0; this.y = 0;
	if (IsIE()) {
		this.canDrag=true; 
		this.layerObj=document.all.tags("div")[layerName];
		this.layerObj.dragObj = this;
		document.ondragstart = CSIEStartDrag;
		document.onmousedown = CSIEMouseDown;
		document.onmouseup = CSIEStopDrag;
	} else {
		if (CSBVers>=5)
			{
			this.layerObj=document.getElementById(layerName);
			this.layerObj.addEventListener("mousedown", CSNS6StartDrag, true);
			this.layerObj.addEventListener("mouseup", CSNS6StopDrag, true);
			}
		else
			{
			this.layer=CSNSStyl(layerName);this.onmousemove=null; 
			this.layer.document.theLayer=this;
			this.layer.document.captureEvents(Event.MOUSEDOWN);
			this.layer.document.onmousedown=CSNSStartDrag; 
			this.layer.document.onmouseup=CSNSStopDrag;
			}
	}
}
function CSNS6StartDrag (ev) {
	CSIDOM();
	ev.currentTarget.addEventListener("mousemove", CSNS6DoDrag, true);
	gDragX=ev.clientX;
	gDragY=ev.clientY;
	ev.preventDefault();
}
function CSNS6DoDrag (ev) {
	var style=ev.currentTarget.style;
	style.left = parseInt(style.left)+(ev.clientX-gDragX)+"px";
	style.top = parseInt(style.top)+(ev.clientY-gDragY)+"px";
	gDragX=ev.clientX;
	gDragY=ev.clientY;
}
function CSNS6StopDrag (ev) {	
	ev.target.removeEventListener("mousedown", CSNS6StartDrag, true);
	ev.target.removeEventListener("mouseup", CSNS6StopDrag, true);
	ev.currentTarget.removeEventListener("mousemove", CSNS6DoDrag, true);
	ev.preventDefault();
}
function CSNSStartDrag (ev) {
	var clickInMe = false;
	if (ev.target != this) {
		for (var i=0;i<this.images.length;i++) {
			if (this.images[i] == ev.target) { clickInMe = true; break;}
			}
		}
	else clickInMe = true;	
	if (clickInMe)
		{
		this.captureEvents(Event.MOUSEMOVE|Event.MOUSEUP); 
		this.onmousemove=CSNSDoDrag;
		this.theLayer.x= ev.pageX;
		this.theLayer.y= ev.pageY;
		this.routeEvent(ev);
		return false;
		}
   this.onmousemove=null;this.releaseEvents(Event.MOUSEMOVE|Event.MOUSEUP);
	this.routeEvent(ev);
   return true; 
}
function CSNSStopDrag (ev) {
   this.onmousemove=null;this.releaseEvents(Event.MOUSEMOVE|Event.MOUSEUP);return false; 
}
function CSNSDoDrag (ev) {
	this.theLayer.layer.moveBy(ev.pageX-this.theLayer.x, ev.pageY-this.theLayer.y); 
	this.theLayer.x = ev.pageX; 
	this.theLayer.y = ev.pageY;
	this.routeEvent(ev);
}
function CSIEStartDrag () {
	if(gCSIEDragObject != null && (gCSIEDragObject.tagName==event.srcElement.tagName))
		event.returnValue=false;  
}
function CSIEStopDrag () { gCSIEDragObject=null; document.onmousemove=null; }
function CSIEMouseDown () {
	if(event.button==1) {
		dragLayer = event.srcElement;
		while (dragLayer!=null) 
			{
			if ((dragLayer.dragObj == null) && (dragLayer.tagName == "DIV"))
				break;
			if (dragLayer.dragObj != null)
				break;
			dragLayer=dragLayer.parentElement;
			}
			
		if (dragLayer == null) return;
		if (dragLayer.dragObj!=null && dragLayer.dragObj.canDrag) {
			gCSIEDragObject = dragLayer;
			gCSIEDragObject.dragObj.x=event.clientX;
			gCSIEDragObject.dragObj.y=event.clientY;
			document.onmousemove = CSIEMouseMove;
		}
	}
}
function CSIEMouseMove () {
	gCSIEDragObject.dragObj.layerObj.style.pixelLeft+=(event.clientX-gCSIEDragObject.dragObj.x);
	gCSIEDragObject.dragObj.layerObj.style.pixelTop+=(event.clientY-gCSIEDragObject.dragObj.y);
	gCSIEDragObject.dragObj.x=event.clientX;
	gCSIEDragObject.dragObj.y=event.clientY;
	event.returnValue = false;
	event.cancelBubble = true;
}
var gDragArray = new Array();
function CSDrag(action) { gDragArray[gDragArray.length] = new CSSetupDrag(action[1]); }
function ROEmbeddedActions (act) {
	var fct,i,j,name,nsemb;
	name=act[1];
	if (!IsIE())nsemb = ROFindEmbed(name);
   	if(act[2]!="") {
		fct=act[2]; fct+="(";
		if(act[3]==undefined)
			fct+=")";
		for(i=3; i<act.length; i++) {
			fct+="\'"; fct+=act[i]; fct+="\'";
			if(i==act.length-1)fct+=")";
			else fct+=",";
		}
	}
	if(IsIE()) return eval(name+"."+fct);
	else {
		if(nsemb) return nsemb.eval(fct);
	}
}
function CSFieldValidate(action) { 
var form = action[1];
var elem = action[2];
var theEntry  = document.forms[form].elements[elem].value
var theFormElem = document.forms[form].elements[elem]
var badEntry = ""
	function theAlert () { 
	alert(action[6]);
	theFormElem.select();
	theFormElem.focus();
	}  	
	function isEmpty() { 
		if (theEntry == "") { 
		theAlert()
		} 	
	}
	function isNumber() { 
			if (theEntry == "") { 
			theAlert()
			} 		
		for (i=0; i<theEntry.length; i++) {  
			if (theEntry.charAt(i) < "0" || theEntry.charAt(i) > "9") {  
				badEntry = "notnumber"
				} 
			}  		
		if (badEntry == "notnumber") {
		theAlert()	
		}	
	} 
		
	function isAlpha() { 
			if (theEntry == "") { 
			theAlert()
			} 		
		for (i=0; i<theEntry.length; i++) {  
			if (theEntry.charAt(i) >= "0" && theEntry.charAt(i) <= "9") {  
				badEntry = "notalpha"
				} 
			}  		
		if (badEntry == "notalpha") {
		theAlert()	
		}	
	} 
				
	function requiredChars() {
	numofChars = theEntry.length
		if (numofChars != action[4]) {
			theAlert()
		} 
	}	
	function exactString() {
		if (theEntry != action[5]) {
			theAlert()
		} 
	}	
	
	function validEmail() {
		invalidChars = " /:,;"		
		if (theEntry == "") { 
			badEntry = "badEmail"
			}
		for (i=0; i < 5; i++)  {
			badChar = invalidChars.charAt(i)
				if (theEntry.indexOf(badChar,0) > -1) {
				badEntry = "badEmail"
				}
		}	
	atsignLoc = theEntry.indexOf("@",1)
		if (atsignLoc == -1) {
			badEntry = "badEmail"
		}		
		if (theEntry.indexOf("@",atsignLoc+1) > -1) {
		badEntry = "badEmail"
		}
	dotLoc = theEntry.indexOf(".",atsignLoc)
		if (dotLoc == -1) {
		badEntry = "badEmail"
		}
		if (dotLoc+3 > theEntry.length) {
		badEntry = "badEmail"
		}
		if (badEntry == "badEmail") {
		theAlert()
		}
	}
	function validCC() { 
	var theNumber = new Array(theEntry.length);
	var i = 0
	var total = 0
		for (i = 0; i < theEntry.length; ++i) {
		theNumber[i] = parseInt(theEntry.charAt(i))
		}
		for (i = theNumber.length -2; i >= 0; i-=2) {  
		theNumber[i] *= 2;							 
		if (theNumber[i] > 9) theNumber[i]-=9;			 
		}										 
		for (i = 0; i < theNumber.length; ++i) {
		total += theNumber[i];						 
		}	
		isinteger = total/10
		if(parseInt(isinteger)!=isinteger) {
		theAlert()
		}
	}
	
var type=action[3];
if(type==0) isEmpty()
else if(type==1) isNumber()
else if(type==2) isAlpha()
else if(type==3) requiredChars()
else if(type==4) exactString()
else if(type==5) validEmail()
else if(type==6) validCC()
}
		
// FileTabs.action v1.1.1 - August, 2001
// © Copyright 1999 by Walter Blady
// All rights reserved
var FTisNav4 = navigator.appName.indexOf("Netscape") >= 0 && parseInt(navigator.appVersion.charAt(0)) == 4;
var FTisIE4 = navigator.appVersion.indexOf("MSIE 4") >= 0;
var FTW3C = document.getElementById ? true : false;
function WBFileTabs(action) {
	if (FTVersion()) {
		for (var i = 1; i < 25; i = i + 2) {
			if (action[i].length > 0) {
				FTgetObject(action[i]).zIndex = action[i + 1];
			}
		}
		if (action[25] != "(Empty Reference!)") {
			var params;
			if (action[26].length < 1) {
				window.location.href = action[25];
			}
			else {
				if (action[26].toLowerCase().indexOf("blank") != -1) {
					var FTNewWindow = window.open(action[25],"newWindow", "toolbar=yes,location=yes,directories=yes,status=yes,menubar=yes,scrollbars=yes,favorites=yes,resizable=yes");
					return;
				}
				else {
					params = eval(action[26] + ".window.location");
				}
				params.href = action[25];
			}
		}
	}
	return;
}
function FTgetObject(objName) {
	var params;
	if (FTisIE4) {
		params = eval("document.all." + objName + ".style");
	}
	else if (FTW3C) {
		params = eval('document.getElementById("' + objName + '").style');
	}
	else {
		params = eval("document." + objName);
	}
	return params;
}
function FTVersion() {
	return (navigator.appName.indexOf("Netscape") >= 0 && parseInt(navigator.appVersion.charAt(0)) >= 4)
          || (navigator.appName.indexOf("Explorer") >= 0 && parseInt(navigator.appVersion.charAt(0)) >= 4);
}
// FlipFlop.action v1.3.1 - August, 2001
// © Copyright 1999 by Walter Blady
// All rights reserved
var FFisNav4 = navigator.appName.indexOf("Netscape") >= 0 && parseInt(navigator.appVersion.charAt(0)) == 4;
var FFisIE4 = navigator.appVersion.indexOf("MSIE 4") >= 0;
var FFW3C = document.getElementById ? true : false;
function WBFlipFlop(action) { 
	if (FFVersion() && action[2].length > 0) {
		var FFvis = (FFW3C || FFisIE4) ? "visible" : "show";
		var FFhid = (FFW3C || FFisIE4) ? "hidden" : "hide";
		var params = FFgetObject(action[2], action[5]);
		if (action[1] > 0) {
			var FFstate = FFvis;
			if (action[1] == 3) {
				FFstate = FFVisState(params, FFvis) ? FFhid : FFvis;
			}
			else if (action[1] == 2) {
				FFstate = FFhid;
			}
			FFShowHide(params, FFstate);
		}
		if (action[3] > 0 ) {
			var blank = FFisNav4 ? null : "Transparent";
			var color = action[3] == 2 ? blank : action[4];
			if (FFisNav4) {
				params.bgColor = color;
			}
			else {
				params.style.backgroundColor = color;
			}
		}
	}
	return;
}
function FFgetObject(objName, frameName) {
	var path = frameName.length > 0 ? frameName + "." : "";
	if (FFisIE4) {
		params = eval(path + "document.all." + objName);
	}
	else if (FFW3C) {
		params = eval(path + 'document.getElementById("' + objName + '")');
	}
	else {
		params = FFFindLayerObject(path, objName, 0);
	}
	return params;
}
function FFFindLayerObject(path, layer, thisLayer) {
	if (thisLayer) {
		var thisDocument = eval(path + "thisLayer.document");
	}
	else {
		var thisDocument = eval(path + "document");
	}
	var layerObj = thisDocument[layer];
	if (layerObj) {
		return layerObj;
	}
	else {
		for (var i = 0; i < thisDocument.layers.length; i++) {
			layerObj = FFFindLayerObject("", layer, thisDocument.layers[i]);
			if (layerObj) {
				break;
			}
		}
	}
	return layerObj;
}
function FFVisState(object, FFvis) {
	var styl = (FFW3C || FFisIE4) ? ".style" : "";
	return eval("object" + styl + ".visibility") == FFvis ? 1 : 0;
}
function FFShowHide(object, state) {
	if (FFW3C || FFisIE4) {
		object.style.visibility = state;
	}
	else if (FFisNav4) {
		object.visibility = state;
	}
	return;
}
function FFVersion() {
	return (navigator.appName.indexOf("Netscape") >= 0 && parseInt(navigator.appVersion.charAt(0)) >= 4)
          || (navigator.appName.indexOf("Explorer") >= 0 && parseInt(navigator.appVersion.charAt(0)) >= 4);
}
function CSFlipMove(action) {
	if (action[1] == '') return;
	var curX = CSGetStylePos(action[1],0); var curY = CSGetStylePos(action[1],1);
	var x1 = action[2][0];
	var y1 = action[2][1];
	if ((x1 != curX) || (y1 != curY)) CSSlideLayer(action[1],action[2],action[4],action[5]);
	else CSSlideLayer(action[1],action[3],action[4],action[5]);
}
if (navigator.appName == "Netscape" && navigator.appVersion.charAt(0) >=5) {
	leftH = ".left";
	topV = ".top";
	nndoc = "document.getElementById(layername).style";
	iestyle = "";
	offsetH = "window.pageXOffset";
	offsetV = "window.pageYOffset";
	} 
	
	else if (navigator.appName == "Netscape" && navigator.appVersion.charAt(0) >=4) {
	leftH = ".left";
	topV = ".top";
	nndoc = "document.";
	iestyle = "";
	offsetH = "window.pageXOffset";
	offsetV = "window.pageYOffset";	
	} 
	
	else if (navigator.appName == "Microsoft Internet Explorer") {
	leftH = ".pixelLeft";
	topV = ".pixelTop";
	nndoc = "";
	iestyle = "document.getElementById(layername).style";
	offsetH = "document.body.scrollLeft";
	offsetV = "document.body.scrollTop";
	}
function getnewPos() {
var currentH = eval(offsetH);
var currentV = eval(offsetV);
x = parseInt(currentH) + parseInt(xpos);
y = parseInt(currentV) + parseInt(ypos);
moveLayer();
setTimeout("getnewPos()",10)
}
function CSFloatLayer(action) {
layername = action[1];
ypos = action[2];
xpos = action[3];
if (navigator.appVersion.charAt(0) >=5 || navigator.appName == "Microsoft Internet Explorer") {
	leftPos = eval(nndoc + iestyle + leftH);
	topPos = eval(nndoc + iestyle + topV);
	} else {
	leftPos = eval(nndoc + layername + iestyle + leftH);
	topPos = eval(nndoc + layername + iestyle + topV);
	}
	getnewPos()
	}
function moveLayer() {
if (navigator.appVersion.charAt(0) >=5  || navigator.appName == "Microsoft Internet Explorer") {
	eval(nndoc + iestyle + topV + "=" + y);
	eval(nndoc + iestyle + leftH + "=" + x);
	} else {
	eval(nndoc + layername + iestyle + topV + "=" + y);
	eval(nndoc + layername + iestyle + leftH + "=" + x);
	}
}
// WBFrameTemplate.action v1.1.1 - August, 2001
// © Copyright 2000 by Walter Blady
// All rights reserved
var FTisNav4 = navigator.appName.indexOf("Netscape") >= 0 && parseInt(navigator.appVersion.charAt(0)) == 4;
var FTisIE4 = navigator.appVersion.indexOf("MSIE 4") >= 0;
var FTisIE = window.navigator.userAgent.indexOf("MSIE") > 0;
var FTW3C = document.getElementById ? true : false;
var FTisNav4, FTisIE4, FTScope = "", FTStyleObj = "", FTAction = "";
function WBFrameTemplate(action) {
	FTAction = action;
	if (FTVersion()) { 
		if (action[1] != "(Empty Reference!)" && action[2].length > 0) {
			var params;
			params = eval(action[2] + ".window.location");
			params.href = action[1];
			framePath = action[2];
			if (window.navigator.userAgent.indexOf("MSIE") > 0) {
				inter = setInterval('t = eval(framePath + ".document"); if (t.readyState == "complete") { FTLoadImages(FTAction, inter) }', 300);
			}
			else {
				inter = setInterval('t = eval(framePath + ".document"); t.captureEvents(Event.LOAD); t.onload = FTLoadImages(FTAction, inter); t.releaseEvents(Event.LOAD)', 300);
			}
 		}
	}
	return;
}
function FTLoadImages(action, inter) {
	clearInterval(inter);
	for (var i = 3; i < 11; i = i + 2) {
		if (action[i].length > 0) {
			var imgObj = FTFindImageObj(action[2], action[i])
			imgObj.src = action[i+1];
		}
	}
	var layerObj;
	var FTvis = (FTW3C || FTisIE4) ? "visible" : "show";
	for (var i = 11; i < 23; i = i + 3) {
		var visFlag = (action[i+2] == "(Empty Reference!)");
		if (visFlag && action[i].length > 0) {
			layerObj = FTGetObject(action[2], action[i], visFlag);
			if (layerObj) {
				layerObj.visibility = FTvis;
			}
		}
		if (FTisNav4 && action[i].length > 0 && action[i+2] != "(Empty Reference!)") {
			layerObj = FTGetObject(action[2], action[i], visFlag);
			if (layerObj) {
				layerObj.load(action[i+2], layerObj.clip.width);
			}
		}
		if ((FTisIE4 || FTW3C) && action[i+1].length > 0 && action[i+2] != "(Empty Reference!)") {
			layerObj = FTGetObject(action[2], action[i+1], visFlag);
			if (layerObj && layerObj.name == action[i+1]) { 
				layerObj.location.href = action[i+2]; 
			}
		}
	}
	return;
}
function FTGetObject(path, obj, visFlag) {
	var params;
	if (FTisIE4) {
		if (path.length > 0) {
			if (visFlag) {
				params = eval(path + ".document.all." + obj + ".style");
			}
			else {
				params = eval(path + ".document.frames." + obj);
			}
		}
		else {
			if (visFlag) {
				params = eval("document.all." + obj + ".style");
			}
			else {
				params = eval("document.frames." + obj);
			}
		}
	}
	else if (FTW3C) {
		if (path.length > 0) {
			if (visFlag) {
				params = eval(path + '.document.getElementById("' + obj + '").style');
			}
			else {
				params = eval(path + '.' + obj);
			}
		}
		else {
			if (visFlag) {
				params = eval('document.getElementById("' + obj + '").style');
			}
			else {
				params = eval(obj);
			}
		}
	}
	else {
		if (path.length > 0) {
			params = FTFindLayerObject(obj, 0, path);
		}
		else {
			params = FTFindLayerObject(obj, 0, "");
		}
	}
	return params;
}
function FTFindLayerObject(layer, thisLayer, frameName) {
	if (frameName.length > 0) {
		var thisDocument = thisLayer ? thisLayer.document : eval(frameName + ".document");
	}
	else {
		var thisDocument = thisLayer ? thisLayer.document : document;
	}
	var layerObj = thisDocument[layer];
	if (!layerObj) {
		for (var i = 0; i < thisDocument.layers.length; i++) {
			layerObj = FTFindLayerObject(layer, thisDocument.layers[i], frameName);
			if (layerObj) {
				break;
			}
		}
	}
	return layerObj;
}
function FTFindImageObj(path, obj) {
	if (FTisIE || FTW3C) {
		if (path.length > 0) {
			baseImage = eval(path + ".document.images[obj]");
		}
		else {
			baseImage = document.images[obj];
		}
	}
	else {
		if (path.length > 0) {
			baseImage = FTFindElement(obj, 0, path);
		}
		else {
			baseImage = FTFindElement(obj, 0, "");
		}
	}
	return baseImage;
}
function FTFindElement(baseImage, thisLayer, frameName) {
	if (frameName.length > 0) {
		var thisDocument = thisLayer ? thisLayer.document : eval(frameName + ".document");
	}
	else {
		var thisDocument = thisLayer ? thisLayer.document : document;
	}
	var imageObj = thisDocument[baseImage];
	if (imageObj) {
		return imageObj;
	}
	else {
		for (var i = 0; i < thisDocument.layers.length; i++) {
			imageObj = FTFindElement(baseImage, thisDocument.layers[i], frameName); 
			if (imageObj) {
				break;
			}
		}
	}
	return imageObj;
}
function FTVersion() {
	return (navigator.appName.indexOf("Netscape") >= 0 && parseInt(navigator.appVersion.charAt(0)) >= 4)
          || (navigator.appName.indexOf("Explorer") >= 0 && parseInt(navigator.appVersion.charAt(0)) >= 4);
}
function frameP(action) {
		if(parent.frames.length==0) {
			var fileName=window.location.href.substring(window.location.href.lastIndexOf("/")+1,window.location.href.length);
			window.location.href=action[1]+"?"+action[2]+"="+fileName;
		} else {
			if(top.location.search!="") {
				var sFrame=top.location.search.substring(1,top.location.search.indexOf("="));
				if(name==sFrame) {
					var sName=top.location.search.substring(top.location.search.indexOf("=")+1,top.location.search.length);
					var fileName=window.location.href.substring(window.location.href.lastIndexOf("/")+1,window.location.href.length);
					if(fileName!=sName) {
						location=sName;
					}
				}
			}
		}
	}
// FrameSwapnRoll.action v1.3.3 - August, 2001
// © Copyright 1999 by Walter Blady
// All rights reserved
function WBFrameSwapnRoll(action) {
	if (FSRVersion()) {
	var FSRisW3C = document.getElementById ? true : false;
		if (!(action[1].length < 1) && action[2] != "(Empty Reference!)") {
			if (FSRisW3C) {
				if (action[3].length > 0) {
					baseImage = eval(action[3] + ".document.images." + action[1]);
				}
				else {
					baseImage = document.images[action[1]];
				}
			}
			else {
				if (action[3].length > 0) {
					baseImage = parseInt(navigator.appVersion.charAt(0)) > 3 ? FSRFindElement(action[1], 0, action[3]) : eval(action[3] + ".document.images[action[1]]");
				}
				else {
					baseImage = parseInt(navigator.appVersion.charAt(0)) > 3 ? FSRFindElement(action[1], 0) : document.images[action[1]];
				}
			}
			if (action[2] != "(Empty Reference!)" && baseImage) {
				baseImage.src = action[2];
			}
		}
	}
	return;
}
function FSRFindElement(baseImage, thisLayer, frameName) {
	if (frameName != null) {
		var thisDocument = thisLayer ? thisLayer.document : eval(frameName + ".document");
	}
	else {
		var thisDocument = thisLayer ? thisLayer.document : document;
	}
	var imageObj = thisDocument[baseImage];
	if (imageObj) {
		return imageObj;
	}
	else {
		for (var i = 0; i < thisDocument.layers.length; i++) {
			imageObj = FSRFindElement(baseImage, thisDocument.layers[i], frameName);
			if (imageObj) {
				break;
			}
		}
	}
	return imageObj;
}
function FSRVersion() {
	return (navigator.appName.indexOf("Netscape") >= 0 && parseInt(navigator.appVersion.charAt(0)) >= 3) 
        || (navigator.appName.indexOf("Explorer") >= 0 && parseInt(navigator.appVersion.charAt(0)) >= 2);
}
function ROGetClipInfo (act) {
	var property,type;
	type=act[1];
	if(type==0)property="Album name";
	else if(type==1)property="Artist name";
	else if(type==2)property="CDNum";
	else if(type==3)property="Comments";
	else if(type==4)property="Genre";
	else if(type==5)property="Language";
	else if(type==6)property="Mood";
	else if(type==7)property="Preference";
	else if(type==8)property="Situation";
	else if(type==9)property="Title";
	else if(type==10)property="Year";
	else return "";
	return window.parent.external.GetClipInfo (property);
}
function CSGetFormElementValue(action) { 
	var form = action[1];
	var elem = action[2];
	return document.forms[form].elements[elem].value;
}
function ROGetInstalledComponents() {
	return window.parent.external.InstalledComponents;
}
function CSGetLayerPos(action) { 
	var layer = action[1];
	var x		= CSGetStylePos(layer, 0);
	var y		= CSGetStylePos(layer, 1);
	return new Array(x, y);
}
function ROGetPlayerProperty (act) {
	var property,type;
	type=act[1];
	if(type==0)property="APIVERSION";
	else if(type==1)property="BANDWIDTH";
	else if(type==2)property="COUNTRYID";
	else if(type==3)property="DISTRIBUTION";
	else if(type==4)property="INSTALLPATH";
	else if(type==5)property="LANGUAGEID";
	else if(type==6)property="LANGUAGEPREFERENCE";
	else if(type==7)property="OSNAME";
	else if(type==8)property="PRODUCTNAME";
	else if(type==9)property="PRODUCTVERSION";
	else if(type==10)property="REGIONDATE";
	else return "";
	return window.parent.external.PlayerProperty(property);
}
function ROGetPlayerState() {
	var result,state;
	state=window.parent.external.GetPlayerState();
	switch(state) {
		case 0:
			result="Stopped";break;
		case 1:
			result="Contacting";break;
		case 2:
			result="Buffering";break;
		case 3:
			result="Playing";break;
		case 4:
			result="Paused";break;
		case 5:
			result="Seeking";break;
		default:
			result="";break;
	}
	return result;
}
function ROGetVersionNumber (act) {
	var comp,min,max,result,type,unpack;
	type=act[1];
	if(type==0 && act[2]=="") {
		result=window.parent.external.RealPlayerVersion;
	}
	else {
		if(type==1)comp="audp";
		else if(type==2)comp="DBCMpg1";
		else if(type==3)comp="Flash";
		else if(type==4)comp="GF";
		else if(type==5)comp="GFJP";
		else if(type==6)comp="imgp";
		else if(type==7)comp="MP3PL";
		else if(type==8)comp="MPGA";
		else if(type==9)comp="PNG";
		else if(type==10)comp="RA";
		else if(type==11)comp="RealTxt";
		else if(type==12)comp="RichFX";
		else if(type==13)comp="RPix";
		else if(type==14)comp="RV";
		else if(type==15)comp="sdp";
		else if(type==16)comp="vidp";
		if(act[2]!="")comp=act[2];
		max=act[3];
		min=act[4];
		result=window.parent.external.ComponentVersion (comp+":"+max+"."+min);
	}
	unpack=act[5];
	if(unpack)
		result=ROUnpackVersionNumber (result);
	return result;
}
function CSGoBack1() { history.back() }
function CSGotoLink(action) {
	if (action[2].length) {
		var hasFrame=false;
		for(i=0;i<parent.frames.length;i++) { if (parent.frames[i].name==action[2]) { hasFrame=true; break;}}
		if (hasFrame==true)
			parent.frames[action[2]].location = action[1];
		else
			window.open (action[1],action[2],"");
	}
	else location = action[1];
}
function ROHandleAction (act) {
	var str,type;
	type=act[1];
	if(type==0)str="CD";
	else if(type==1)str="MyDevices";
	else if(type==2)str="NowPlaying";
	else if(type==3)str="Radio";
	else if(type==4)str="ShowEqualizer";
	else if(type==5)str="Web";
	else return;
	window.parent.external.HandleAction(str);
}
// HideAllLayers.action v1.1.2 - August, 2001
// © Copyright 2000 by Walter Blady
// All rights reserved
var HALisNav4 = navigator.appName.indexOf("Netscape") >= 0 && parseInt(navigator.appVersion.charAt(0)) == 4;
var HALisIE4 = navigator.appVersion.indexOf("MSIE 4") >= 0;
var HALW3C = document.getElementById ? true : false;
var HALvis, HALhid;
function WBHideAllLayers(action) { 
	if (HALVersion()) {
		HALvis = (HALW3C || HALisIE4) ? "visible" : "show";
		HALhid = (HALW3C || HALisIE4) ? "hidden" : "hide";
		HALState = action[1];
		var path = (action[4].length > 0) ? eval(action[4] + ".document") : document;
		if (HALW3C) {
			var len = path.getElementsByTagName("div").length;
		}
		else if (HALisIE4) {
			var len = path.all.tags("div").length;
		}
		else if (HALisNav4) {
			var len = path.layers.length;
		}
		for (var i = 0; i < len; i++) {
			if (HALW3C) {
				var HALDiv = path.getElementsByTagName("div");
				if (action[2].length > 0 ) {
					if (HALDiv[i].id.indexOf(action[2]) > -1) {
						HALDiv[i].style.visibility = action[1] ? HALhid : HALvis;
						var innerObjs = HALDiv[i].getElementsByTagName("div");
						if (action[3]) {
							for (var j = 0; j < innerObjs.length; j++) {
								innerObjs[j].style.visibility = action[1] ? HALhid : HALvis;
							}
						}
					}
				}
				else {
					HALDiv[i].style.visibility = action[1] ? HALhid : HALvis;
				}
			}
			else if (HALisIE4) {
				var HALDiv = path.all.tags("div")[i];
				if (action[2].length > 0 ) {
					if (HALDiv.id.indexOf(action[2]) > -1) {
						HALDiv.style.visibility = action[1] ? HALhid : HALvis;
						if (action[3]) {
							for (var j = 0; j < document.all[action[2]].children.length; j++) {
								HALDiv.children[j].style.visibility = action[1] ? HALhid : HALvis;
							}
						}	
					}
				}
				else {
					HALDiv.style.visibility = action[1] ? HALhid : HALvis;
				}
			}
			else if (HALisNav4) {
				var obj = path.layers[i];
				HALFindLayerObject(action, obj, action[2]);
			}
		}
	}
	return;
}
function HALFindLayerObject(action, layerObj, layerName) {
	if (layerName.length > 0) {
		if (layerObj.id.indexOf(layerName) > -1) {
			layerObj.visibility = action[1] ? HALhid : HALvis;
			if (action[3]) {
				for (var i = 0; i < layerObj.layers.length; i++) {
					layerObj.layers[i].visibility = action[1] ? HALhid : HALvis;
					if (layerObj.layers[i].layers.length == 0) {
						return;
					}
					else {
						var obj = layerObj.layers[i];
						layerName = layerObj.layers[i].id;
						HALFindLayerObject(action, obj, layerName); 
					}
				}
			}
		}
	}
	else {
		layerObj.visibility = action[1] ? HALhid : HALvis;
	}
	if (layerObj.layers.length == 0) {
		return;
	}
	else {
		for (var i = 0; i < layerObj.layers.length; i++) {
			var obj = layerObj.layers[i];
			HALFindLayerObject(action, obj, layerName); 
		}
	}
	return layerObj;
}
function HALVersion() {
	return (navigator.appName.indexOf("Netscape") >= 0 && parseInt(navigator.appVersion.charAt(0)) >= 4)
          || (navigator.appName.indexOf("Explorer") >= 0 && parseInt(navigator.appVersion.charAt(0)) >= 4);
}
// HideHistory.action v1.0 - November, 2000
// © Copyright 1999 by Walter Blady
// All rights reserved.
function WBHideHistory(action) {
	if (HHVersion()) {
		if (action[2].length < 1) {
			window.location.replace(action[1]);
		}
		else {
			params = eval(action[2] + ".window.location");
			params.replace(action[1]);
		}
	}
	return;
}
function HHVersion() {
	return (navigator.appName.indexOf("Netscape") >= 0 && parseInt(navigator.appVersion.charAt(0)) >= 3)
          || (navigator.appName.indexOf("Explorer") >= 0 && parseInt(navigator.appVersion.charAt(0)) >= 2);
}
function CSIdleObject (action) {
	this.conditionAction = action[2];
	this.trueAction = action[3];
	this.falseAction = action[4];
	this.exitIdleIfTrue = action[1];
	this.lastState = false;
}
function CSIdleAction(action) {
	idleObj = new CSIdleObject (action);
	CSStartFunction (CSDoIdle,idleObj);
}
function CSDoIdle (param) {
	idleObject=param.data;
	if (idleObject.conditionAction) {
		gCurrentIdleObject = idleObject;
		var result = CSAction(new Array(idleObject.conditionAction));
		if (result == true && idleObject.lastState==false) {
			idleObject.lastState = result;
			if (idleObject.trueAction) {
				CSAction(new Array(idleObject.trueAction));
				if (idleObject.exitIdleIfTrue == true) return false;
			}
		} else if (result == false && idleObject.lastState == true) {
			idleObject.lastState = false;
			if (idleObject.falseAction) {
				CSAction(new Array(idleObject.falseAction));
			}		
		}
	}
	return true;
}
// ImageClickFlop.action v1.3.1 - September, 2001
// © Copyright 1999 by Walter Blady
// All rights reserved
var CFimageNo1 = new Array(), CFimageNo2 = new Array(), CFimageURL = new Array(), CFinitFlag = new Array();
var CFpointImage1 = new Array(), CFpointImage2 = new Array(), CFpointurl = new Array(), CFpointThisImg = new Array(), CFpointNextImg = new Array();
function WBImageClickFlop(action) {
	var CFbaseImage = null;
	var CFW3C = document.getElementById ? true : false;
	if (CFVersion() && document.images) {
		CFinitFlag[action[3]] = CFinitFlag[action[3]] == null ? true : CFinitFlag[action[3]];
		if (CFinitFlag[action[3]]) {
			CFimageNo1[action[3]] = action[4];
			CFimageNo2[action[3]] = action[5];
			CFimageURL[action[3]] = action[6];
			CFpointImage1[action[3]] = 4;
			CFpointImage2[action[3]] = 5;
			CFpointurl[action[3]] = 6;
			CFpointThisImg[action[3]] = 4;
			CFpointNextImg[action[3]] = 7;
			CFinitFlag[action[3]] = false;
		}
		if (action[2] != "") {
			if (window.navigator.userAgent.indexOf("MSIE") > 0 || CFW3C) {
				CFbaseImage = document.images[action[2]];
			}
			else {
				CFbaseImage = parseInt(navigator.appVersion.charAt(0)) > 3 ? CFFindImageObject(action[2],0) : document.images[action[2]];
			}
		}
		if (action[1] == 3) {
			CFimageURL[action[3]] = (CFimageURL[action[3]] == "") ? action[6] : CFimageURL[action[3]];
			if (action[34].length < 1) {
				window.location.href = CFimageURL[action[3]];
			}
			else {
				if (action[34].toLowerCase().indexOf("blank") != -1) {
					var CFNewWindow = window.open(CFimageURL[action[3]], "newWindow", "toolbar=yes,location=yes,directories=yes,status=yes,menubar=yes,scrollbars=yes,favorites=yes,resizable=yes");
					return;
				}
				else {
					params = eval(action[34] + ".window.location");
				}
				params.href = CFimageURL[action[3]];
			}
			return;
		}
		else if (action[1] == 2) {
			CFbaseImage.src = CFimageNo1[action[3]];
		}
		else if (action[1] == 1) {
			CFbaseImage.src = CFimageNo2[action[3]];
		}
		else if (action[1] == 0) {
			CFpointImage1[action[3]] += 3;
			CFpointImage2[action[3]] += 3;
			CFpointurl[action[3]] += 3;
			CFpointThisImg[action[3]] += 3;
			CFpointNextImg[action[3]] += 3;
			CFimageNo1[action[3]] = action[CFpointImage1[action[3]]];
			CFimageNo2[action[3]] = action[CFpointImage2[action[3]]];
			CFimageURL[action[3]] = action[CFpointurl[action[3]]];
			CFbaseImage.src = CFimageNo2[action[3]];
			if (action[CFpointNextImg[action[3]]] == "(Empty Reference!)" || CFpointNextImg[action[3]] == 34) {
				CFpointImage1[action[3]] = 1;
				CFpointImage2[action[3]] = 2;
				CFpointurl[action[3]] = 3;
				CFpointThisImg[action[3]] = 1;
				CFpointNextImg[action[3]] = 4;
			}
		}
	}
	return;
}
function CFFindImageObject(baseImage, thisLayer) {
	if (thisLayer) {
		var thisDocument = thisLayer.document;
	}
	else {
		var thisDocument = document;
	}
	var imageObj = thisDocument[baseImage];
	if (imageObj) {
		return imageObj;
	}
	else {
		for (var i = 0; i < thisDocument.layers.length; i++) {
			imageObj = CFFindImageObject(baseImage, thisDocument.layers[i]); 
			if (imageObj) {
				break;
			}
		}
	}
	return imageObj;
}
function CFVersion() {
	return (navigator.appName.indexOf("Netscape") >= 0 && parseInt(navigator.appVersion.charAt(0)) >= 3) 
        || (navigator.appName.indexOf("Explorer") >= 0 && parseInt(navigator.appVersion.charAt(0)) >= 2);
}
function CSLayerIntersect (condition)
{
	var l1,t1,r1,b1,l2,t2,r2,b2;
	if (IsIE()) {
		var layer1=document.all.tags("div")[condition[1]];
		var layer2=document.all.tags("div")[condition[2]];
		l1=layer1.style.pixelLeft; t1=layer1.style.pixelTop; r1=layer1.offsetWidth+l1; b1=layer1.offsetHeight+t1;
		l2=layer2.style.pixelLeft; t2=layer2.style.pixelTop; r2=layer2.offsetWidth+l2; b2=layer2.offsetHeight+t2;	
	} else {
		var layer1=CSNSStyl(condition[1]);
		var layer2=CSNSStyl(condition[2]);
		if (CSBVers>=5)
			{
			CSIDOM();
			l1=parseInt(layer1.left); t1=parseInt(layer1.top); r1=parseInt(layer1.width)+l1; b1=parseInt(layer1.height)+t1;
			l2=parseInt(layer2.left); t2=parseInt(layer2.top); r2=parseInt(layer2.width)+l2; b2=parseInt(layer2.height)+t2;
			}
		else
			{
			l1=layer1.x; t1=layer1.y; r1=layer1.clip.width+l1; b1=layer1.clip.height+t1;
			l2=layer2.x; t2=layer2.y; r2=layer2.clip.width+l2; b2=layer2.clip.height+t2;
			}
	}
	var w = (r1 < r2 ? r1 : r2) - (l1 > l2 ? l1 : l2)
	var h = (b1 < b2 ? b1 : b2) - (t1 > t2 ? t1 : t2)
	return ((w >= 0) && (h >= 0));
}
function CSKeePress(action) {
desiredKey1 = action[1];
calledAction1 = action[2];
desiredKey2 = action[3];
calledAction2 = action[4];
desiredKey3 = action[5];
calledAction3 = action[6];
desiredKey4 = action[7];
calledAction4 = action[8];
if (document.layers) { document.captureEvents(Event.KEYPRESS) ; }
document.onkeydown = checkKey;
function checkKey(e) {
	e = (e) ? e : (window.event) ? window.event : "";
	if (e) { var keyPressed = ""
			 if (e.which)  keyPressed = e.which; 
			 else  keyPressed = event.keyCode;
			 alphaNum = String.fromCharCode(keyPressed).toLowerCase();
			 if (desiredKey1 == alphaNum) { CSAction(new Array(calledAction1)) };
			 if (desiredKey2 == alphaNum) { CSAction(new Array(calledAction2)) };
			 if (desiredKey3 == alphaNum) { CSAction(new Array(calledAction3)) };
			 if (desiredKey4 == alphaNum) { CSAction(new Array(calledAction4)) };
	}
}
checkKey();
}
CSCurrentPressedKey = -1;
function CSKeyPress(ev) {
	var code;
	if(IsIE()) CSCurrentPressedKey = event.keyCode;
	else CSCurrentPressedKey = ev.which;
}
document.onkeypress	= CSKeyPress;
function CSKeyCompare(condition)
{
	var eq = (condition[1] == CSCurrentPressedKey);
	if(eq)
		CSCurrentPressedKey = -1;
	return eq;
}
function CSPAKkillframe() { 
if (self.parent.frames.length != 0)
self.parent.location = document.location
}
function CSshowdate(action) {
	form = action[1];
	elem = action[2];
	modified = new Date(document.lastModified);
	theMonth = modified.getMonth() + 1;
	theDate = modified.getDate();
	theYear = (navigator.appVersion.indexOf("3.0") != -1) ? (modified.getYear()) : (modified.getFullYear());
	theDay = modified.getDay();
	days = new Array("Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday");
	modified = new Date(document.lastModified);
	today = days[theDay];
	if (action[3] == 0) todisplay = theMonth + "/" + theDate + "/" + theYear;
	if (action[3] == 1) todisplay = theDate + "/" + theMonth + "/" + theYear;
	if (action[3] == 2) todisplay = theYear + "/" + theMonth + "/" + theDate;
	if (action[3] == 3) todisplay = theYear + "/" + theDate + "/" + theMonth;
	if (action[4] == true) todisplay = today + ", " + todisplay;
	if(form != "" || elem != "") { document.forms[form].elements[elem].value = todisplay} ;
	if (action[5] == false) { alert(todisplay) } 
		}
function CSshowdateID(action) {
(action[2] != "") ? (updateobject = action[2]) : (updateobject = action[1]);
modified = new Date(document.lastModified);
theMonth = modified.getMonth() + 1;
theDate = modified.getDate();
theYear = (navigator.appVersion.indexOf("3.0") != -1) ? (modified.getYear()) : (modified.getFullYear());
theDay = modified.getDay();
days = new Array("Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday");
today = days[theDay];
if (action[3] == 0) todisplay = theMonth + "/" + theDate + "/" + theYear;
if (action[3] == 1) todisplay = theDate + "/" + theMonth + "/" + theYear;
if (action[3] == 2) todisplay = theYear + "/" + theMonth + "/" + theDate;
if (action[3] == 3) todisplay = theYear + "/" + theDate + "/" + theMonth;
if (action[4] == true) todisplay = today + ", " + todisplay;
if (document.all) { document.all(updateobject).innerHTML = action[6] + action[5] + todisplay + action[7]
	 } else {
	if (document.getElementById) { document.getElementById(updateobject).innerHTML = action[6] + action[5] + todisplay + action[7] }
	}
}
// Load6Pack.action v1.6.2 - September, 2001
// © Copyright 1999 by Walter Blady
// All rights reserved
var L6PImage = new Array();
function WBLoad6Pack(action) {
	if (L6PVersion() && document.images) {
		var L6PW3C = document.getElementById ? true : false;
		for (var i = 1; i < 13; i = i + 2 ) {
			if (action[i+1] != "(Empty Reference!)" && action[i].length > 0) {
				var imageObj = null;
				if (window.navigator.userAgent.indexOf("MSIE") > 0 || L6PW3C) {
					imageObj = document.images[action[i]];
				}
				else {
					imageObj = parseInt(navigator.appVersion.charAt(0)) > 3 ? L6PFindImageObject(action[i],0) : document[action[i]];
				}
				if (imageObj) {
					L6PImage[L6PImage.length] = new Image(imageObj.width, imageObj.height);
					L6PImage[L6PImage.length-1].src = action[i+1];
				}
			}
		}
	}
	return;
}
function L6PFindImageObject(baseImage, thisLayer) {
	if (thisLayer) {
		var thisDocument = thisLayer.document;
	}
	else {
		var thisDocument = document;
	}
	var imageObj = thisDocument[baseImage];
	if (imageObj) {
		return imageObj;
	}
	else {
		for (var i = 0; i < thisDocument.layers.length; i++) {
			imageObj = L6PFindImageObject(baseImage, thisDocument.layers[i]); 
			if (imageObj) {
				break;
			}
		}
	}
	return imageObj;
}
function L6PVersion() {
	return (navigator.appName.indexOf("Netscape") >= 0 && parseInt(navigator.appVersion.charAt(0)) >= 3) 
|| (navigator.appName.indexOf("Explorer") >= 0 && parseInt(navigator.appVersion.charAt(0)) >= 4);
}
// MagicLantern.action v1.0 - June/1999
// © Copyright 1999 by Walter Blady
// All rights reserved.
var MLAction = new Array(), MLCount = 0;
function WBMagicLantern(action) { 
	if (MLVersion()) {
		for (var i=1; i < 13; i++) {
			if (action[i].length > 0) {
				MLCount = MLCount + 1;
				MLAction[i] = action[i];
			}
		}
	}
	return;
}
function MLVersion() {
	return (navigator.appName.indexOf("Netscape") >= 0 && parseInt(navigator.appVersion.charAt(0)) >= 4)
          || (navigator.appName.indexOf("Explorer") >= 0 && parseInt(navigator.appVersion.charAt(0)) >= 4);
}
// MagicLanternSkip.action v1.3.1 - August, 2001
// © Copyright 1999 by Walter Blady
// All rights reserved
var MLSisNav4 = navigator.appName.indexOf("Netscape") >= 0 && parseInt(navigator.appVersion.charAt(0)) == 4;
var MLSisIE4 = navigator.appVersion.indexOf("MSIE 4") >= 0;
var MLSW3C = document.getElementById ? true : false;
var MLSScope = "", MLSStyleObj = "", MLSPrevBox = "", MLSSkip = 1, MLSinitFlag = false;
function WBMagicLanternSkip(action) { 
	if (MLSVersion() && MLCount[0] > 0 && (action[1] || action[2])) {
		if (!MLSinitFlag) {
			MLSPrevBox = MLSgetObject(MLSlide[1]);
			MLSinitFlag = true;
		}
		var MLSvis = (MLSW3C || MLSisIE4) ? "visible" : "show";
		var MLShid = (MLSW3C || MLSisIE4) ? "hidden" : "hide";
		if (action[1]) {
			MLSSkip += 1;
			if (MLSSkip > MLCount[0]) {
				MLSSkip = 1;
			}
		}
		if (action[2]) {
			MLSSkip -= 1
			if (MLSSkip < 1) {
				MLSSkip = MLCount[0];
			}
		}
		var params = MLSgetObject(MLSlide[MLSSkip]);
		if (MLSPrevBox != "") {
			MLSShowHide(MLSPrevBox, MLShid);
		}
		else {	
			MLSPrevBox = MLSgetObject(MLSlide[MLSSkip-1]);
			MLSShowHide(MLSPrevBox, MLShid);
		}
		MLSShowHide(params, MLSvis);
		MLSPrevBox = params;
	}
	return;
}
function MLSgetObject(objName) {
	var params;
	if (MLSisIE4) {
		params = eval("document.all." + objName);
	}
	else if (MLSW3C) {
		params = eval('document.getElementById("' + objName + '")');
	}
	else {
		params = MLSFindLayerObject(objName, 0);
	}
	return params;
}
function MLSFindLayerObject(layer, thisLayer) {
	if (thisLayer) {
		var thisDocument = thisLayer.document;
	}
	else {
		var thisDocument = document;
	}
	var layerObj = thisDocument[layer];
	if (layerObj) {
		return layerObj;
	}
	else {
		for (var i = 0; i < thisDocument.layers.length; i++) {
			layerObj = MLSFindLayerObject(layer, thisDocument.layers[i]); 
			if (layerObj) {
				break;
			}
		}
	}
	return layerObj;
}
function MLSShowHide(object, state) {
	if (MLSW3C) {
		object.style.visibility = state;
		var innerObjs = object.getElementsByTagName("div");
		for (var i = 0; i < innerObjs.length; i++) {
			innerObjs[i].style.visibility = state;
		}
	}
	else if (MLSisIE4) {
		object.style.visibility = state;
		for (var i = 0; i < object.children.length; i++) {
			object.children[i].style.visibility = state;
			if (object.children[i].children.length > 0) {
				layerObj = MLSShowHide(object.children[i], state);
			}
		}
	}
	else if (MLSisNav4) {
		object.visibility = state;
		for (var i = 0; i < object.layers.length; i++) {
			object.layers[i].visibility = state;
			if (object.layers[i].layers.length > 0) {
				layerObj = MLSShowHide(object.layers[i], state);
			}
		}
	}
	return;
}
function MLSVersion() {
	return (navigator.appName.indexOf("Netscape") >= 0 && parseInt(navigator.appVersion.charAt(0)) >= 4)
          || (navigator.appName.indexOf("Explorer") >= 0 && parseInt(navigator.appVersion.charAt(0)) >= 4);
}
// MagicStage.action v1.2 - April, 2001
// © Copyright 1999 by Walter Blady
// All rights reserved
var MSSlide = new Array(), MSCount = new Array(0);
MSCount[0] = 0;
function WBMagicStage(action) { 
	if (MSVersion()) {
		for (var i = 1; i < 13; i++) {
			if (action[i].length > 0) {
				MSCount[0] += 1;
				MSSlide[MSCount[0]] = action[i];
			}
		}
	}
	return;
}
function MSVersion() {
	return (navigator.appName.indexOf("Netscape") >= 0 && parseInt(navigator.appVersion.charAt(0)) >= 4)
          || (navigator.appName.indexOf("Explorer") >= 0 && parseInt(navigator.appVersion.charAt(0)) >= 4);
}
// MagicStageSkip.action v1.1 - April, 2001
// © Copyright 1999 by Walter Blady
// All rights reserved
var MSSScope = "", MSSStyleObj = "", MSSPrevScene = "", MSSSkip = 1;
function WBMagicStageSkip(action) { 
	if (MSSVersion() && MSCount > 0 && (action[1] || action[2])) {
		if (action[3] && MSSPrevScene != "") {
			CSStopFunction (MSSPrevScene);
		}
		CSStartSeq (MSSlide[MSSSkip]);
		MSSPrevScene = MSSlide[MSSSkip];
		if (action[1]) {
			MSSSkip += 1;
			if (MSSSkip > MSCount[0]) {
				MSSSkip = 1;
			}
		}
		if (action[2]) {
			MSSSkip -= 1
			if (MSSSkip < 1) {
				MSSSkip = MSCount[0];
			}
		}
	}
	return;
}
function MSSVersion() {
	return (navigator.appName.indexOf("Netscape") >= 0 && parseInt(navigator.appVersion.charAt(0)) >= 4)
          || (navigator.appName.indexOf("Explorer") >= 0 && parseInt(navigator.appVersion.charAt(0)) >= 4);
}
// MailURL.action v1.2.2 - September, 2001
// © Copyright 2000 by Walter Blady
// All rights reserved
var myWindow = null;
function WBMailURL(action) {
	if (MUVersion()) {
		var MUisIE = window.navigator.userAgent.indexOf("MSIE") > 0;
		var MUW3C = document.getElementById ? true : false;
		var url = action[5] != "(Empty Reference!)" ? action[5] : window.location.href;
		if (action[1] == 0) {
			var content = "mailto:Recipient@emailAddress ?subject= &body=" + url;
			window.location.href = content;
			return true;
		}
		var newWindow;
		MUParams = "width=400,height=300,toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,favorites=no,resizable=yes";
		var screenWidth = screen.width;
		var screenHeight = screen.height;
		if (action[2] == 0) {
			var left = (screenWidth - (400+20))/2;
			var top = (screenHeight - (200+55))/2;
		}
		else if (action[2] == 1) {
			var left = 10;
			var top = 10;
		}
		else if (action[2] == 2) {
			var left = 10;
			var top = (screenHeight - (200+55));
		}
		else if (action[2] == 3) {
			var left = (screenWidth - (400+20));
			var top = 3;
		}
		else if (action[2] == 4) {
			var left = (screenWidth - (400+20));
			var top = (screenHeight - (200+55));
		}
		else if (action[2] == 5) {
			var left = action[3];
			var top = action[4];
		}
		MUParams += (MUisIE || MUW3C) ? ",top=" + top + ",left=" + left : ",screenX=" + left + ",screenY=" + top;
		var MUMess = '<html><head><meta http-equiv="content-type" content="text/html;charset=ISO-8859-1">\n';
		MUMess += '<title>E-mail a URL</title>\n';
		MUMess += '<script language="Javascript"> function MUCloseWindow() { self.window.close(); return;} \n';
		MUMess += 'function MUSendForm() { var url ="' + url + '"; var myForm = window.document.emailForm;\n';
		MUMess += 'var content = "mailto:" + myForm.email.value + " ?Subject=" + myForm.subject.value + " &cc=" + myForm.cc.value + " &body=" + url;\n';
		MUMess += 'window.location.href = content; return true; } </' + 'script>\n';
		MUMess += '</head><body bgcolor="#ffffff">\n';
		MUMess += '<div align="center"><p><b>E-mail the Web address of this page to:</b></p>\n';
		MUMess += '<form name="emailForm">\n';
		MUMess += 'To:<br><input type="text" name="email" size="40"><br>\n';
		MUMess += 'Cc:<br><input type="text" name="cc" size="40"><br>\n';
		MUMess += 'Subject:<br><input type="text" name="subject" size="50">\n';
		MUMess += '<p><input type="button" name="mailURL" value="Mail this URL" onclick="Javascript:void(MUSendForm())">\n';
		MUMess += '<input type="button" name="closeWindow" value="Close window" onclick="Javascript:void(MUCloseWindow())">\n';
		MUMess += '</form></div></body></html>\n';
		if (!myWindow || myWindow.closed) {
			myWindow = window.open("", "", MUParams);
			myWindow.document.open();
			myWindow.document.write(MUMess);
			myWindow.document.close();
		}
		else {
			myWindow.focus();
		}
		return;
	}
}
function MUVersion() {
	return (navigator.appName.indexOf("Netscape") >= 0 && parseInt(navigator.appVersion.charAt(0)) >= 4)
          || (navigator.appName.indexOf("Explorer") >= 0 && parseInt(navigator.appVersion.charAt(0)) >= 4);
}
var myLayer = false;
var offSetX = 1;
var offSetY = 1;
function CSMouseFollow(action,offX,offY){
	myLayer = action[1];
	if(offX){offSetX=offX;}
	if(offY){offSetY=offY;}
	if (navigator.appName == "Netscape") {
		document.captureEvents(Event.MOUSEMOVE);
	} else {
		if(navigator.appVersion.indexOf("Mac")!=-1){offSetX=offSetX-18;}
	}
	document.onmousemove = mouseLayer;
}
function mouseLayer(e){
	if (navigator.appName == "Netscape" && navigator.appVersion.charAt(0) >=5) {
		document.getElementById(myLayer).style.left = (e.pageX+offSetX);
		document.getElementById(myLayer).style.top = (e.pageY+offSetY); 
		}
		else if (navigator.appName == "Netscape") {
			document.layers[myLayer].moveBy(
			(e.pageX+offSetX) - document.layers[myLayer].left, 
			(e.pageY+offSetY) - document.layers[myLayer].top);
	   		 return true; 
		} else {
		document.all[myLayer].style.pixelLeft = (event.x+offSetX);
		document.all[myLayer].style.pixelTop = (event.y+offSetY);
		event.cancelBubble = true;
		event.returnValue = false;
	}
}
function CSMoveBy(action)
{
	x = CSGetStylePos(action[1], 0);
	y = CSGetStylePos(action[1], 1);
	x += parseInt(action[2]);
	y += parseInt(action[3]);
	x = CSSetStylePos(action[1], 0, x);
	y = CSSetStylePos(action[1], 1, y);
}
function CSMoveTo(action) { CSSlideLayer(action[1],action[2],action[3],action[4]); }
// MultiCache.action v1.3.4 - September, 2001
// © Copyright 1999 by Walter Blady
// All rights reserved
var MCImage = new Array(), MCaction, MCwait, MClastImage;
function WBMultiCache(action) {
	if (MCVersion()) {
		MCaction = action;
		MCwait = setTimeout("MCcacheIt()", action[1] * 1000);
		return;
	}
}
function MCcacheIt() {
	var MCW3C = document.getElementById ? true : false;
	clearTimeout(MCwait);
	for (var i = 3; i < 99; i = i + 4 ) {
		if (MCaction[i+3] != "(Empty Reference!)") {			
			var imageObj = null;
			if (MCaction[i].length > 0) {
				if (window.navigator.userAgent.indexOf("MSIE") > 0 || MCW3C) {
					imageObj = document.images[MCaction[i]];
				}
				else {
					imageObj = parseInt(navigator.appVersion.charAt(0)) > 3 ? MCFindImageObject(MCaction[i],0) : document.images[MCaction[i]];
				}
			}
			if (imageObj) {
				MCImage[MCImage.length] = new Image(imageObj.width, imageObj.height);
			}
			else if (MCaction[i+1] > 0 && MCaction[i+2] > 0) {
				MCImage[MCImage.length] = new Image(MCaction[i+1], MCaction[i+2]);
			}
			else {
				MCImage[MCImage.length] = new Image();
			}
			MCImage[MCImage.length-1].src = MCaction[i+3];
			MClastImage = MCImage[MCImage.length-1];
		}
	}
	if (MCaction[2] != "(Empty Reference!)") {
		MCwait = setInterval("MCwaitLoad()", 500);
	}
	return;
}
function MCwaitLoad() {
	if (MClastImage.complete) {
		clearInterval(MCwait);
		window.location.href = MCaction[2];
	}
	return;
}
function MCFindImageObject(baseImage, thisLayer) {
	if (thisLayer) {
		var thisDocument = thisLayer.document;
	}
	else {
		var thisDocument = document;
	}
	var imageObj = thisDocument[baseImage];
	if (imageObj) {
		return imageObj;
	}
	else {
		for (var i = 0; i < thisDocument.layers.length; i++) {
			imageObj = MCFindImageObject(baseImage, thisDocument.layers[i]); 
			if (imageObj) {
				break;
			}
		}
	}
	return imageObj;
}
function MCVersion() {
	return (navigator.appName.indexOf("Netscape") >= 0 && parseInt(navigator.appVersion.charAt(0)) >= 4) 
|| (window.navigator.userAgent.indexOf("MSIE") && parseInt(navigator.appVersion.charAt(0)) >= 4);
}
// MultiLink.action v1.4.2 - August, 2001
// © Copyright 1999 by Walter Blady
// All rights reserved
var MLImageURL = new Object(), MLRollOn = new Object(), MLRollOff = new Object();
function WBMultiLink(action) {
	if (MLVersion()) {
		for (var i = 1; i < 41 && action[i].length > 0; i++) {	
			var imageObj = null;
			if (window.navigator.userAgent.indexOf("MSIE") > 0 || window.navigator.userAgent.indexOf("Netscape6") > 0) {
				imageObj = document.images[action[i]];
			}
			else {
				imageObj = parseInt(navigator.appVersion.charAt(0)) > 3 ? MLFindImageObject(action[i],0) : document.images[action[i]];
			}
			if (imageObj) {
				imageObj.src = action[i+1];
				MLRollOff[action[i]] = action[i+1];
				MLRollOn[action[i]] = action[i+2];
			}
			MLImageURL[action[i]] = action[i+3];
		}
		return;
	}
}
function MLFindImageObject(baseImage, thisLayer) {
	if (thisLayer) {
		var thisDocument = thisLayer.document;
	}
	else {
		var thisDocument = document;
	}
	var imageObj = thisDocument[baseImage];
	if (imageObj) {
		return imageObj;
	}
	else {
		for (var i = 0; i < thisDocument.layers.length; i++) {
			imageObj = MLFindImageObject(baseImage, thisDocument.layers[i]); 
			if (imageObj) {
				break;
			}
		}
	}
	return imageObj;
}
function MLVersion() {
	return (navigator.appName.indexOf("Netscape") >= 0 && parseInt(navigator.appVersion.charAt(0)) >= 3)
          || (navigator.appName.indexOf("Explorer") >= 0 && parseInt(navigator.appVersion.charAt(0)) >= 2);
}
// MultiLink.action v1.4.3 - September, 2001
// © Copyright 1999 by Walter Blady
// All rights reserved
var MLImageURL = new Object(), MLRollOn = new Object(), MLRollOff = new Object();
function WBMultiLink(action) {
	if (MLVersion()) {
		var MLW3C = document.getElementById ? true : false;
		for (var i = 1; i < 41 && action[i].length > 0; i++) {	
			var imageObj = null;
			if (window.navigator.userAgent.indexOf("MSIE") > 0 || MLW3C) {
				imageObj = document.images[action[i]];
			}
			else {
				imageObj = parseInt(navigator.appVersion.charAt(0)) > 3 ? MLFindImageObject(action[i],0) : document.images[action[i]];
			}
			if (imageObj) {
				imageObj.src = action[i+1];
				MLRollOff[action[i]] = action[i+1];
				MLRollOn[action[i]] = action[i+2];
			}
			MLImageURL[action[i]] = action[i+3];
		}
		return;
	}
}
function MLFindImageObject(baseImage, thisLayer) {
	if (thisLayer) {
		var thisDocument = thisLayer.document;
	}
	else {
		var thisDocument = document;
	}
	var imageObj = thisDocument[baseImage];
	if (imageObj) {
		return imageObj;
	}
	else {
		for (var i = 0; i < thisDocument.layers.length; i++) {
			imageObj = MLFindImageObject(baseImage, thisDocument.layers[i]); 
			if (imageObj) {
				break;
			}
		}
	}
	return imageObj;
}
function MLVersion() {
	return (navigator.appName.indexOf("Netscape") >= 0 && parseInt(navigator.appVersion.charAt(0)) >= 3)
          || (navigator.appName.indexOf("Explorer") >= 0 && parseInt(navigator.appVersion.charAt(0)) >= 2);
}
// MultiLinkTransport.action v1.5.3 - August, 2001
// © Copyright 1999 by Walter Blady
// All rights reserved
function WBMultiLinkTransport(action) {
	if (MLTVersion() && MLImageURL[action[1]]) {
		if (MLImageURL[action[1]] == "(Empty Reference!)" || MLImageURL[action[1]] == "#") {
			MLImageURL[action[1]] = action[2];
			if (action[2] == "(Empty Reference!)" || MLImageURL[action[1]] == "#") return;
		}
		var params;
		if (action[3].length < 1) {
			window.location.href = MLImageURL[action[1]];
		}
		else {
			if (action[3].toLowerCase().indexOf("blank") != -1) {
				var MLTNewWindow = window.open(MLImageURL[action[1]],"newWindow", "toolbar=yes,location=yes,directories=yes,status=yes,menubar=yes,scrollbars=yes,favorites=yes,resizable=yes");
				return;
			}
			else {
				params = eval(action[3] + ".window.location");
			}
			params.href = MLImageURL[action[1]];
		}
		return;
	}
	return;
}
function MLTVersion() {
	return (navigator.appName.indexOf("Netscape") >= 0 && parseInt(navigator.appVersion.charAt(0)) >= 3)
          || (navigator.appName.indexOf("Explorer") >= 0 && parseInt(navigator.appVersion.charAt(0)) >= 2);
}
// MultiRoll.action v1.1.4 - September, 2001
// © Copyright 1999 by Walter Blady
// All rights reserved
function WBMultiRoll(action) {
	if (MRVersion() && document.images && action[1] != "" && MLRollOn[action[1]] != null) {
		var MRW3C = document.getElementById ? true : false;
		var imageObj = null;
		if (window.navigator.userAgent.indexOf("MSIE") > 0 || MRW3C) {
			imageObj = document.images[action[1]];
		}
		else {
			imageObj = parseInt(navigator.appVersion.charAt(0)) > 3 ? MRFindImageObject(action[1],0) : document.images[action[1]];
		}
		if (imageObj) {
			if (action[2] && MLRollOn[action[1]] != "(Empty Reference!)") {
				imageObj.src = MLRollOn[action[1]];
			}
			if (action[3] && MLRollOff[action[1]] != "(Empty Reference!)") {
				imageObj.src = MLRollOff[action[1]];
			}
		}
	}
	return;
}
function MRFindImageObject(baseImage, thisLayer) { 
	if (thisLayer) {
		var thisDocument = thisLayer.document;
	}
	else {
		var thisDocument = document;
	}
	var imageObj = thisDocument[baseImage];
	if (imageObj) {
		return imageObj;
	}
	else {
		for (var i = 0; i < thisDocument.layers.length; i++) {
			imageObj = MRFindImageObject(baseImage, thisDocument.layers[i]); 
			if (imageObj) {
				break;
			}
		}
	}
	return imageObj;
}
function MRVersion() {
	return (navigator.appName.indexOf("Netscape") >= 0 && parseInt(navigator.appVersion.charAt(0)) >= 3)
          || (navigator.appName.indexOf("Explorer") >= 0 && parseInt(navigator.appVersion.charAt(0)) >= 2);
}
function CSHistoryGo(action) { history.go(action[1]); }
function RONavigateToURL (act) {
	var target,type,url,delay;
	url=act[1];
	type=act[2];
	if(type==0)target="_rpbrowser";
	else target="_rpexternal";
	delay=act[3]*1000;
	if(delay>0) {
		var obj=new Object();
		obj.type="navigate";
		obj.time=delay;
		obj.url=url;
		obj.target=target;
		if(ROOnPLCArray)
			ROOnPLCArray[ROOnPLCArray.length]=obj;
	}
	else
		window.parent.external.HandleAction("NavigateToURL("+url+","+target+")");
}
function CSFixFct() {
	var d = document; var w = window;
	if (d.cs.csFix.w != w.innerWidth || d.cs.csFix.h != w.innerHeight) {
		d.location = d.location; }
}
function CSNSFix(action) { 
	var d = document; var w = window;
	if ((navigator.appName == 'Netscape') && (parseInt(navigator.appVersion) == 4)) {
		if (typeof d.cs == 'undefined') { 
			d.cs = new Object;
			d.cs.csFix = new Object; 
		} else if (CSIsFrame (w) == true) CSFixFct();
		d.cs.csFix.w = w.innerWidth;
		d.cs.csFix.h = w.innerHeight; 
		window.onresize = CSFixFct;
	  }
}
function CSIsFrame (window) {
	var rootWindow = window.parent;
	if (rootWindow == 'undefined') return false;
	for (i = 0; i < rootWindow.frames.length; i++)
		if (window == rootWindow.frames[i]) return true;
	return false;
}
function CSOpenAlert(action) { alert(action[1]); }
// OpenTimedWindow.action v1.6.4 - August, 2001
// © Copyright 1999 by Walter Blady
// All rights reserved
var OTWisIE3 = navigator.appVersion.indexOf("MSIE 3") != -1;
var OTWisIE = navigator.appVersion.indexOf("MSIE") != -1;
var OTWW3C = document.getElementById ? true : false;
var OTWNewWind = new Object(), OTWWindName = new Array();
var OTWWindowObj, OTWParams = "", OTWAction;
function WBOpenTimedWindow(action) {
	if (OTWVersion()) {
		OTWAction = action;
		OTWWindowObj = (action[1].length > 0 ? action[1] : "");
		var params = "";
		var timeOut = action[18] * 1000;
		params += action[5] > 0 ? "width=" + action[5] : ""; 
		params += action[6] > 0 ? ",height=" + action[6] : "";
		params += ",toolbar=" + (action[7] ? "1" : "0");
		params += ",location=" + (action[8] ? "1" : "0");
		params += ",directories=" + (action[9] ? "1" : "0");
		params += ",status=" + (action[10] ? "1" : "0");
		params += ",menubar=" + (action[11] ? "1" : "0");
		params += ",favorites=" + (action[12] ? "1" : "0");
		params += ",scrollbars=" + (action[13] ? "1" : "0");
		params += ",resizable=" + (action[14] ? "1" : "0");
		params += (OTWW3C) ? ",top=" + action[15] + ",left=" + action[16] : ",screenY=" + action[15] + ",screenX=" + action[16];
		OTWParams = params;
		OTWAction2 = action[2];
		OTWAction4 = action[4];
		if (OTWWindowObj.length <= 0) {
			window.open(action[4], action[2], params);
		}
		else if (!OTWNewWind[OTWWindowObj] || OTWNewWind[OTWWindowObj].closed) {
			OTWNewWind[OTWWindowObj] = window.open(action[4], action[2], params);
		}
		else if (OTWNewWind[OTWWindowObj]) {
			OTWNewWind[windowObj].focus();
			if (!action[3]) {
				OTWNewWind[windowObj].location.href = action[4];
			}
		}
		if (action[17] && OTWWindowObj) {
			OTWWindName[action[19]] = OTWNewWind[OTWWindowObj];
			var OTWTimer = "OTWCloseWind" + action[19] + "()";
			var t = setTimeout(OTWTimer, timeOut);
		}
	}
	return;
}
function OTWCloseWind0() {
	if (OTWisIE3) {
		OTWWindName[0] = window.open(OTWAction[4], OTWAction[2], OTWParams);
	}
	if (OTWWindName[0] && !OTWWindName[0].closed) {
		OTWWindName[0].close();
	}
	return;
}
function OTWCloseWind1() {
	if (OTWisIE3) {
		OTWWindName[1] = window.open(OTWAction[4], OTWAction[2], OTWParams);
	}
	if (OTWWindName[1] && !OTWWindName[1].closed) {
		OTWWindName[1].close();
	}
	return;
}
function OTWCloseWind2() {
	if (OTWisIE3) {
		OTWWindName[2] = window.open(OTWAction[4], OTWAction[2], OTWParams);
	}
	if (OTWWindName[2] && !OTWWindName[2].closed) {
		OTWWindName[2].close();
	}
	return;
}
function OTWCloseWind3() {
	if (OTWisIE3) {
		OTWWindName[3] = window.open(OTWAction[4], OTWAction[2], OTWParams);
	}
	if (OTWWindName[3] && !OTWWindName[3].closed) {
		OTWWindName[3].close();
	}
	return;
}
function OTWVersion() {
	return (navigator.appName.indexOf("Netscape") >= 0 && parseInt(navigator.appVersion.charAt(0)) >= 3)
          || (navigator.appName.indexOf("Explorer") >= 0 && parseInt(navigator.appVersion.charAt(0)) >= 2);
}
function CSOpenWindow(action) {
	var wf = "";	
	wf = wf + "width=" + action[3];
	wf = wf + ",height=" + action[4];
	wf = wf + ",resizable=" + (action[5] ? "yes" : "no");
	wf = wf + ",scrollbars=" + (action[6] ? "yes" : "no");
	wf = wf + ",menubar=" + (action[7] ? "yes" : "no");
	wf = wf + ",toolbar=" + (action[8] ? "yes" : "no");
	wf = wf + ",directories=" + (action[9] ? "yes" : "no");
	wf = wf + ",location=" + (action[10] ? "yes" : "no");
	wf = wf + ",status=" + (action[11] ? "yes" : "no");		
	window.open(action[1],action[2],wf);
}
function CSOpenWindowPrompt(action) {
var where = self.location.href
var nw = prompt("Enter a new width:","")
if (nw != null) {
var nh = prompt("Enter a new height:","")
}
var wf = "";	
wf = wf + "width=" + nw;
wf = wf + ",height=" + nh;
wf = wf + ",resizable=" + (action[1] ? "yes" : "no");
wf = wf + ",scrollbars=" + (action[2] ? "yes" : "no");
wf = wf + ",menubar=" + (action[3] ? "yes" : "no");
wf = wf + ",toolbar=" + (action[4] ? "yes" : "no");
wf = wf + ",directories=" + (action[5] ? "yes" : "no");
wf = wf + ",location=" + (action[6] ? "yes" : "no");
wf = wf + ",status=" + (action[7] ? "yes" : "no");		
	if (nw == null || nh == null) { 
	return null
	} else {
	window.open(where,'testwin',wf);
	}
}
// PassMaster.action v1.6.2 - August, 2001
// © Copyright 1999 by Walter Blady
// All rights reserved
var PMisIE4 = navigator.appVersion.indexOf("MSIE 4") >= 0;
var PMW3C = document.getElementById ? true : false;
var PMisNav4 = navigator.appName.indexOf("Netscape") >= 0 && parseInt(navigator.appVersion.charAt(0)) == 4;
var PMassID, PMassPassw;
function WBPassMaster(action) {
	if (PMVersion() && action[2].length > 0) {
		PMassID = "", PMassPassw = "";
		var myForm = window.document[action[1]];
		if (PMisNav4 && action[5] && action[6].length > 0) {
			var myForm = window.document[action[6]].document[action[1]]
		}
		var access = eval("PMass_" + "0"), defaultUrl = access();
		for (var i = 1; PMassID.toLowerCase() != "end"; i++) {
			access = eval("PMass_" + i);
			var pmurl = access();
			if ((PMassID.toLowerCase() != "end" || PMassID != "") && PMassPassw != "" && myForm[action[2]].value == PMassID && myForm[action[3]].value == PMassPassw) {
				myForm[action[3]].value = "";
				var goURL = pmurl != "" ? pmurl : defaultUrl;
				if (goURL != "(Empty Reference!)") {
					var params;
					if (action[4].length < 1) {
						window.location.href = goURL;
					}
					else {
						if (action[4].toLowerCase().indexOf("blank") != -1) {
							var PMNewWindow = window.open(goURL,"newWindow", "toolbar=yes,location=yes,directories=yes,status=yes,menubar=yes,scrollbars=yes,favorites=yes,resizable=yes");
							return;
						}
						else {
							params = eval(action[4] + ".window.location");
						}
						params.href = goURL;
					}
				}
				return;
			}
		}
		myForm[action[3]].value = "";
		window.alert("The User ID or Password you entered is incorrect. Please enter it again.");
	}
	return;
}
function PMVersion() {
	return (navigator.appName.indexOf("Netscape") >= 0 && parseInt(navigator.appVersion.charAt(0)) >= 3)
          || (navigator.appName.indexOf("Explorer") >= 0 && parseInt(navigator.appVersion.charAt(0)) >= 2);
}
var actn1 = "";
var actn2 = "";
var pass=""
var z=23;
var y=28;
iCounter = 3;
if (Array) {
	var f= new Array();
	var K= new Array();
	var base= new Array("0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z","a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z")
} 
function inc(){
iCounter--
if (iCounter > 0)
	{
	if (confirm("\nPassword is incorrect.\n\n\n\nRetry?"))
		Check()
	} 
	else
		alert('Access Denied');
} 
function Check(){
pass = prompt("Enter your password.","")
if(pass==null || pass==""){
	alert("You did not enter a password!");
	if(pass==""){
		Check()
	} 
} 
else{
	var lpass=(pass.length)+1
	for (l=1; l<lpass; l++){
		K[l]=pass.charAt(l)
	} 
	var transmit=0;
	for (y=1; y<lpass; y++){
		for(x=0; x<62; x++){
			if (K[y]==base[x]){
				transmit+=f[x]
				transmit*=y
			} 
		} 
	} 
	if (transmit==parseInt(actn1)) 	
		go()
	else
		inc()
} 
} 
function go(){
alert(actn2);
location.href=pass+".html";
} 
function PVpassword(action) { 
if (Array) { 
	actn1 = action[1];
	actn2 = action[2];
	z=23;
	y=28;
	for (x=0; x<10; x++){
		f[x]=x<<9
		f[x]+=23
	} 
	for (x=10; x<36; x++){
		y=y<<1
		v= Math.sqrt(y)
		v = parseInt(v,16)
		v+=5
		f[x]=v
		y++
	} 
	for (x=36; x<62; x++){
		z=z<<1
		v= Math.sqrt(z)
		v = parseInt(v,16)
		v+=74
		f[x]=v
		z++
	} 
	iCounter = 3;
	Check();
} 
}
function CSPDFredirect(action) {    
    if(navigator.mimeTypes && navigator.mimeTypes["application/pdf"] && navigator.mimeTypes["application/pdf"].enabledPlugin) {
		location.href=action[1]
	}
    else if (navigator.appName == "Microsoft Internet Explorer") {
       	x = confirm("The page you are trying to view requires the Adobe Portable Document Format (.PDF) browser plug-in or the Adobe Acrobat Reader application. We could not detect if your browser has this plug-in installed. To attempt to view the page anyway, click OK. Otherwise click CANCEL to view an alternate page")
		if (x == true)  location.href=action[1] 
    }
	else {
		x = confirm("Your browser may not be able to display PDF files. To attempt to view the PDF page anyway, click OK. Otherwise click CANCEL to view an alternate page")
		if (x == true)  location.href=action[1] 
	}         
}
// PixelCop.action v1.5.3 - August, 2001
// © Copyright 1999 by Walter Blady
// All rights reserved
var PCisIE = navigator.appVersion.indexOf("MSIE") >= 0;
var PCW3C = document.getElementById ? true : false;
var PCisIE, PCScope = "";
var PCResArray = new Array("640", "480", "800", "600", "832", "624", "1024", "768", "1152", "870", "1280", "1024", "1600", "1200");
function WBPixelCop(action) {
	if (PCVersion()) {
		var screenWidth = screen.width;
		var screenHeight = screen.height;
		for (var i = 1; i < 49; i = i + 8) {
			if ( action[i] > 0) {
				var matchWidth = action[i+1] != 7 ? PCResArray[action[i+1]*2] : action[i+2];
				var matchHeight = action[i+1] != 7 ? PCResArray[(action[i+1]*2)+1] : action[i+3];
				var match = eval("PCRes" + action[i] + "(" + screenWidth + ", " + screenHeight + ", " + matchWidth + ", " + matchHeight + ")");
				if (match) {
					if (action[i+4] > 0) {
						window.moveTo(0,0);
						if (action[i+4] == 1) {
							var newWidth = (action[i+5] <= screen.availWidth) ? action[i+5] : screen.availWidth;
							var newHeight = (action[i+6] <= screen.availHeight) ? action[i+6] : screen.availHeight;
						}
						else if (action[i+4] == 2) {
							var newWidth = (action[i+5]*screen.availWidth/100 <= screen.availWidth) ? Math.round(action[i+5]*screen.availWidth/100) : screen.availWidth;
							var newHeight = (action[i+6]*screen.availWidth/100 <= screen.availHeight) ? Math.round(action[i+6]*screen.availWidth/100) : screen.availHeight;
						}
						else if (action[i+4] == 3) {
							var newWidth = screen.availWidth;
							var newHeight = screen.availHeight;
						}
						if (PCW3C || PCisIE) {
							window.resizeTo(newWidth, newHeight);
						}
						else {
							window.outerWidth = newWidth;
							window.outerHeight = newHeight;
						}
					}
					if (action[i+7] != "(Empty Reference!)") {
						window.location.href = action[i+7];
					}
					return;
				}
			}
		}
	}
	return;
}
function PCRes1(w, h, mw, mh) {
	var matchFlag = (w == mw && h == mh);
	return matchFlag;
}
function PCRes2(w, h, mw, mh) {
	var matchFlag = (w > mw && h > mh);
	return matchFlag;
}
function PCRes3(w, h, mw, mh) {
	var matchFlag = (w < mw && h < mh);
	return matchFlag;
}
function PCRes4(w, h, mw, mh) {
	var matchFlag = (w >= mw && h >= mh);
	return matchFlag;
}
function PCRes5(w, h, mw, mh) {
	var matchFlag = (w <= mw && h <= mh);
	return matchFlag;
}
function PCVersion() {
	return (navigator.appName.indexOf("Netscape") >= 0 && parseInt(navigator.appVersion.charAt(0)) >= 4)
          || (navigator.appName.indexOf("Explorer") >= 0 && parseInt(navigator.appVersion.charAt(0)) >= 4)
          || (navigator.appName.indexOf("WebTV") >= 0 && parseInt(navigator.appVersion.charAt(0)) >= 3);
}
function ROPlayClip (act) {
	var i,url,clipinfo,related_info_url,width,height,media_browser_url,target,delay,bnow_playing;
	url=act[1];
	related_info_url=act[2];
	if(related_info_url=="(EmptyReference!)")related_info_url="";
	width=act[3];
	height=act[4];
	media_browser_url=act[5];
	if(media_browser_url=="(EmptyReference!)")media_browser_url="";
	if(act[6]==0)target="_rpbrowser";
	else target="_rpexternal";
	delay=act[7]*1000;
	if(delay>0) {
		var obj=new Object();
		obj.type="navigate";
		obj.time=delay;
		obj.url=media_browser_url;
		media_browser_url="";
		obj.target=target;
		if(ROOnPLCArray)
			ROOnPLCArray[ROOnPLCArray.length]=obj;
	}
	bnow_playing=act[8];
	clipinfo="Album name="+act[9];
	clipinfo+="|Artist name="+act[10];
	clipinfo+="|CDNum="+act[11];
	clipinfo+="|Comments="+act[12];
	clipinfo+="|Genre="+act[13];
	clipinfo+="|Language="+act[14];
	clipinfo+="|Mood="+act[15];
	clipinfo+="|Preference="+act[16];
	clipinfo+="|Situation="+act[17];
	clipinfo+="|Title="+act[18];
	clipinfo+="|Year="+act[19];
	window.parent.external.PlayClip (url,clipinfo,related_info_url,width,height,media_browser_url,target,bnow_playing);
}
function CSPlayScene(action) { CSStartSeq (action[1]); }
var CSLastSound = null
function CSPlaySound(action) {
	if (eval('document.'+action[1])!=null) {
		if (CSLastSound != null && CSLastSound != action[1]) eval ('document.' + CSLastSound + '.stop()');
		CSLastSound = action[1]
		if (window.navigator.userAgent.indexOf("MSIE") > 0) eval ('document.' + CSLastSound + '.run()');
		else eval ('document.' + CSLastSound + '.play(true)');
	} else { alert ("The current Plug-In cannot be controlled by JavaScript. Please try using LiveAudio or a compatible Plug-In!"); }
}
// PluginChecker.action v1.4.1 - September, 2001
// © Copyright 1999 by Walter Blady
// All rights reserved
var PCisIE = window.navigator.userAgent.indexOf("MSIE") > -1;
var PCW3C = document.getElementById ? true : false;
var PCisIE3 = navigator.appVersion.indexOf("MSIE 3") != -1;
var PCNewWind;
function WBPluginChecker(action) {
	if (PCCheckPlugins(action)) {
		if (action[13] != "(Empty Reference!)") {
			var params;
			if (action[14].length < 1) {
				window.location.href = action[13];
			}
			else {
				if (action[10].toLowerCase().indexOf("blank") != -1) {
					var ACNewWindow = window.open(action[13],"newWindow");
				}
				else {
					params = eval(action[14] + ".window.location");
				}
				params.href = action[13];
			}
		}
	}
	else {
		if (action[15] != "(Empty Reference!)") {
			if (action[16].length < 1) {
				window.location.href = action[15];
			}
			else {
				if (action[16].toLowerCase().indexOf("blank") != -1) {
					var ACNewWindow = window.open(action[15],"newWindow");
				}
				else {
					params = eval(action[16] + ".window.location");
				}
				params.href = action[15];
			}
		}
	}
	return;
}
function PCCheckPlugins(action) {
	var pMessage = "";
	var IEpMessage = "";
	var pluginsNotFound = false;
	var contShow = true;
	if (!action[18]) {
		var pMessage = "These plugins are NOT installed. Continue anyway?\n";
		var IEpMessage = "These plugins are needed. Continue?\n";
	}
	if (PCVersion()) {
		for (var i = 1; i < action.length-4; i = i + 3) {
			if (action[i].length > 0 && action[i+1].length > 0) {
				if (!(PCPluginMimeCheck(action[i], action[i+1]))) {
					pluginsNotFound = true;
					if (action[i+2] != "(Empty Reference!)" && action[18]) {
						pMessage += '<a href=Javascript:goURL(' + "'" + action[i+2] + "'" + ')>' + action[i] + " - " + action[i+1] + '</a><br>';
					}
					else {
						pMessage += action[i] + " - " + action[i+1];
						pMessage += action[18] ? "<br>" : "\n";
					}
				}
			}
		}
		if (pluginsNotFound) {
			contShow = false;
			if (action[17]) {
				if (action[18]) {
					contShow = printWindow(action, pMessage);
				}
				else {
				 contShow = window.confirm(pMessage);
				}
			}
		}
	}
	else {
		if (action[17]) {
			for (var i = 1; i < action.length-4; i = i + 3) { 
				if (action[i].length > 0 && action[i+1].length > 0) {
					if (action[i+2] != "(Empty Reference!)" && action[18]) {
						IEpMessage += '<a href=Javascript:goURL(' + "'" + action[i+2] + "'" + ')>' + action[i] + " - " + action[i+1] + '</a><br>';
					}
					else {
						IEpMessage += action[i] + " - " + action[i+1];
						IEpMessage += action[18] ? "<br>" : "\n";
					}
				}
			}
			if (action[18]) {
				contShow = printWindow(action, IEpMessage);
			}
			else {
				contShow = window.confirm(IEpMessage);
			}
		}
	}
	return contShow;
}
function printWindow(action, list) {
	PCParams = "width=400,height=300,toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,favorites=no,resizable=yes";
	PCParams += (PCisIE || PCW3C) ? ',top="20", left="20"' : ',screenY="20", screenX="20"';
	var PCMess = '<html><head>';
	PCMess += '<meta http-equiv="content-type" content="text/html;charset=ISO-8859-1">';
	PCMess += '<title>Plugin Checker!</title>';
	PCMess += '</head><body bgcolor="#ffffff">';
	PCMess += '<script language="Javascript">function PCCloseWindowYes() { self.window.close(); return true;}</' + 'script>';
	PCMess += '<script language="Javascript">function goURL(url) { opener.location.href=url; return;}</' + 'script>';
	PCMess += '<center><b><font size="3">' + "This page needs these Plug-ins to run properly." + '<p>';
	PCMess += list + '</b></font><p>';
	PCMess += '<font size="3">' + 'Click on a Plugin to go to the download site.' + '</font><p>';
	PCMess += '<p><a href="Javascript:void(PCCloseWindowYes())"><b>Close window</b></a></p>';
	PCMess += '</center></body></html>';
	if (!PCNewWind || PCNewWind.closed) {
		PCNewWind = window.open("", "pCheckerWindow", PCParams);
	}
	else if (PCNewWind) {
		PCNewWind.focus();
	}
	PCNewWind.document.open();
	PCNewWind.document.write(PCMess);
	PCNewWind.document.close();
	return;
}
function PCPluginMimeCheck(pluginN, mimeT) {
	for (var i = 0; i < navigator.plugins.length; i++) {
		if (navigator.plugins[i].name.toLowerCase().indexOf(pluginN.toLowerCase()) > -1) {
			for (var j = 0; j < navigator.plugins[i].length; j++) {
				//count down timer to eliminate the bug in Windows version of Netscape 4
				//which crashes when a script attempts to retrieve mimeType objects of a 
				//certain type too quickly in a for to loop
				//increase or decrease this value as needed
				for (var t = 200; t > 0; t = t -1) { }
				var mimeObj = navigator.plugins[i][j];
				if (mimeObj.enabledPlugin && mimeObj.type.toLowerCase().indexOf(mimeT.toLowerCase()) > -1) {
					return true;
				}
			}
			return false;
		}
	}
	return false;
}
function PCVersion() {
	return navigator.appName.indexOf("Netscape") >= 0 && parseInt(navigator.appVersion.charAt(0)) >= 3;
}
// Portfolio.action v1.6.1 - August, 2001
// © Copyright 1999 by Walter Blady
// All rights reserved
var PORtisNav4 = navigator.appName.indexOf("Netscape") >= 0 && parseInt(navigator.appVersion.charAt(0)) == 4;
var PORtisIE4 = navigator.appVersion.indexOf("MSIE 4") >= 0;
var PORtW3C = document.getElementById ? true : false;
var PORtcount = new Array("0", "0", "0"), PORtnum, PORturl = null;
function WBPortfolio(action) {
	if (PORtVersion() && document.images && action[3] > 0 && (action[1] != "" || action[2] != "")) {
		PORtnum = action[6];
		var num = "00", image1 = "", image2 = "";
		if (PORtcount[PORtnum] == "0") { 
			PORtcount[PORtnum] = action[3];
		}
		var newImage;
		if (PORtW3C || PORtisIE4) {
			if (action[1] != "") {
				image1 = document.images[action[1]];
			}
			if (action[2] != "") {
				image2 = document.images[action[2]];
			}
		}
		else {
			if (action[1] != "") {
				image1 = PORtisNav4 ? PORtFindImageObject(action[1],0) : document.images[action[1]];
			}
			if (action[2] != "") {
				image2 = PORtisNav4 ? PORtFindImageObject(action[2],0) : document.images[action[2]];
			}
		}
		var direction = action[5];
		if (direction == 0) {
			PORtcount[PORtnum] = PORtcount[PORtnum] + 1;
			if (PORtcount[PORtnum] > action[3] + (action[4] - action[3])) {
				PORtcount[PORtnum] = action[3];
			}
		}
		if (direction == 1) {
			PORtcount[PORtnum] = PORtcount[PORtnum] - 1
			if (PORtcount[PORtnum] < action[3]) {
				PORtcount[PORtnum] = action[3] + (action[4] - action[3]);
			}
		}
		num = num.substring(0, 3 - PORtcount[PORtnum].toString().length) + PORtcount[PORtnum];
		newImage = eval("PORt" + num);
		PORturl = eval("PORturl" + num);
		if (image1 != "" && newImage(0) != "") {
			image1.src = newImage(0);
		}
		if (image2 != "" && newImage(1) != "") {
			image2.src = newImage(1);
		}
	}
	return;
}
function PORtFindImageObject(baseImage, thisLayer) {
	if (thisLayer) {
		var thisDocument = thisLayer.document;
	}
	else {
		var thisDocument = document;
	}
	var imageObj = thisDocument[baseImage];
	if (imageObj) { 
		return imageObj;
	}
	else {
		for (var i = 0; i < thisDocument.layers.length; i++) {
			imageObj = PORtFindImageObject(baseImage, thisDocument.layers[i]); 
			if (imageObj) {
				break; 
			}
		}
	}
	return imageObj;
}
function PORtVersion() {
	return (navigator.appName.indexOf("Netscape") >= 0 && parseInt(navigator.appVersion.charAt(0)) >= 3)
          || (navigator.appName.indexOf("Explorer") >= 0 && parseInt(navigator.appVersion.charAt(0)) >= 2);
}
// PortfolioLinks.action v1.1.4 - August, 2001
// © 1999, Walter Blady
// All rights reserved
var PORtLW3C = document.getElementById ? true : false;
function WBPortfolioLinks(action) {
	if (PORtLVersion()) {
		var params = "", newWind;
		var windowName = action[1].length > 0 ? action[1] : "newWindow";
		params += action[2] > 0 ? "width=" + action[2] : ""; 
		params += action[3] > 0 ? ",height=" + action[3] : "";
		params += ",toolbar=" + (action[4] ? "1" : "0");
		params += ",location=" + (action[5] ? "1" : "0");
		params += ",directories=" + (action[6] ? "1" : "0");
		params += ",status=" + (action[7] ? "1" : "0");
		params += ",menubar=" + (action[8] ? "1" : "0");
		params += ",favorites=" + (action[9] ? "1" : "0");
		params += ",scrollbars=" + (action[10] ? "1" : "0");
		params += ",resizable=" + (action[11] ? "1" : "0");
		params += (PORtLW3C) ? ",top=" + action[12] + ",left=" + action[13] : ",screenY=" + action[12] + ",screenX=" + action[13];
		if  (PORturl != null) {
			if (PORturl(action[14]) != "") {
				newWind = window.open(PORturl(action[14]),windowName,params);
			}
		}
		else {
			newWind = window.open(action[15],windowName,params);
		}
	}
	return;
}
function PORtLVersion() {
	return (navigator.appName.indexOf("Netscape") >= 0 && parseInt(navigator.appVersion.charAt(0)) >= 3)
        || (navigator.appName.indexOf("Explorer") >= 0 && parseInt(navigator.appVersion.charAt(0)) >= 2);
}
CSImages=new Array();
function CSPreloadImage(action) {
	if (document.images) { CSImages[CSImages.length]=new Image(); CSImages[CSImages.length-1].src=action[1]; }
}
function ROPreloadURL (act) {
	ROPreloadURLArray[ROPreloadURLArray.length]=act[1];
}
ROPreloadURLArray=new Array();
function RPOnPreload() {	/* RO-Event-Handler */
	for(var i=0;i<ROPreloadURLArray.length;i++) {
		if (ROPreloadURLArray[i] != 0) {
			window.parent.external.PreloadURL(ROPreloadURLArray[i]);
			ROPreloadURLArray[i]=0;
		}
	}
}
function CSprintdocument(action){
if (navigator.appName .indexOf("Microsoft") != -1 && navigator.platform.indexOf("Mac") != -1 || navigator.appVersion.indexOf("3.0") != -1) {
alert("Please use your browser\'s print command to print this document.");
	} else {
	(action[1] != "") ? (parent.frames[action[1]].print()) : (parent.print());
	}
}
// RadioRollover.action v1.2.2 - September, 2001
// © Copyright 1999 by Walter Blady
// All rights reserved
var RRW3C = document.getElementById ? true : false;
var RRLeaveOnObj = "", RRFLeaveOnButton = "";
function WBRadioRollover(action) { 
	if (RRVersion()) {
		if (action[1] != "") {
			var buttonObj = null;
			if (window.navigator.userAgent.indexOf("MSIE") > 0 || RRW3C) {
				buttonObj = document.images[action[1]];
			}
			else {
				buttonObj = parseInt(navigator.appVersion.charAt(0)) > 3 ? RRFindImageObject(action[1],0) : document.images[action[1]];
			}
			if (!action[2]) {
				if (RRLeaveOnObj != "" && RRLeaveOnObj != buttonObj) {
					RRLeaveOnObj.src = RRFLeaveOnButton;
				}
				RRLeaveOnObj = buttonObj;
				RRFLeaveOnButton = action[3];
			}
			else {
				if (action[3] != RRFLeaveOnButton) {
					buttonObj.src = action[3];
				}
			}
		}
		if (action[4] != "(Empty Reference!)" && action[4] != "#") {
			var params;
			if (action[5].length < 1) {
				window.location.href = action[4];
			}
			else {
				if (action[5].toLowerCase().indexOf("blank") != -1) {
					var ACNewWindow = window.open(action[4],"newWindow");
					return;
				}
				else {
					params = eval(action[5] + ".window.location");
				}
				params.href = action[4];
			}
		}
	}
	return;
}
function RRFindImageObject(baseImage, thisLayer) {
	if (thisLayer) {
		var thisDocument = thisLayer.document;
	}
	else {
		var thisDocument = document;
	}
	var imageObj = thisDocument[baseImage];
	if (imageObj) {
		return imageObj;
	}
	else {
		for (var i = 0; i < thisDocument.layers.length; i++) {
			imageObj = RRFindImageObject(baseImage, thisDocument.layers[i]); 
			if (imageObj) {
				break;
			}
		}
	}
	return imageObj;
}
function RRVersion() {
	return (navigator.appName.indexOf("Netscape") >= 0 && parseInt(navigator.appVersion.charAt(0)) >= 3)
          || (navigator.appName.indexOf("Explorer") >= 0 && parseInt(navigator.appVersion.charAt(0)) >= 2);
}
function CSRandomLinks(action){
var urlcounter = 0;
if (action[2] != "(Empty Reference!)" && action[2] != "(EmptyReference!)") { ++urlcounter};
if (action[3] != "(Empty Reference!)" && action[3] != "(EmptyReference!)") { ++urlcounter};
if (action[4] != "(Empty Reference!)" && action[4] != "(EmptyReference!)") { ++urlcounter};
if (action[5] != "(Empty Reference!)" && action[5] != "(EmptyReference!)") { ++urlcounter};
if (action[6] != "(Empty Reference!)" && action[6] != "(EmptyReference!)") { ++urlcounter};
if (action[7] != "(Empty Reference!)" && action[7] != "(EmptyReference!)") { ++urlcounter};
if (parent.frames.length > 0) {
if (action[1].length > 0) { parent.frames[action[1]].location=action[Math.floor(Math.random()*urlcounter)+2] }
}
else 
if (action[1].length > 0) { window.open(action[Math.floor(Math.random()*urlcounter)+2],action[1],"") }	
if (action[1].length == 0) { top.location=action[Math.floor(Math.random()*urlcounter)+2] }
}
function CSRandomImg(action) { 
	var img = CSGetImage(action[1]);
	if (img) 
		{
		var v1 =  Math.floor(Math.random() * 10);
		var whichone = v1-(Math.floor(v1/3)*3);
		img.src = action[whichone+2];
		}
}
function getCookie(thecookie){
	tempString= thecookie + "=";
	if(document.cookie.length>0){
		start = document.cookie.indexOf(tempString);
		if(start!=-1){
			end = document.cookie.indexOf(";",start);
			if(end==-1){end=document.cookie.length;}
			start += tempString.length;
			return unescape(document.cookie.substring(start,end))
		}
	}
}
function setCookie(thecookie,value,expire){
	cookieExpires = new Date
	cookieExpires.setMonth(cookieExpires.getMonth() + 6)
	document.cookie = thecookie + "=" + escape(value) + ";expires=" + cookieExpires.toGMTString();
}
function testCookie(thecookie){
	if(getCookie(thecookie)){
		return(getCookie(thecookie));
	}else{
		return false;
	}
}
function CSredPrompt(action) {
	var thecookie = action[5]
	if(testCookie(action[5]) && action[4] == true){	
			location.href=getCookie(action[5]);
	} else {
	var x = 0;
	}
	
	function kill() {
	alert(action[3]);
	x = 1;
	var enter = prompt(action[1],action[2]); 
	if (enter == action[6]){setCookie(action[5], action[7]);location.href=action[7];}
	else if (enter == action[8]){setCookie(action[5], action[9]);location.href=action[9];}
	else if (enter == action[10]){setCookie(action[5], action[11]);location.href=action[11];}
	else if (enter == action[12]){setCookie(action[5], action[13]);location.href=action[13];}
	else if (enter == action[15]){setCookie(action[5], action[16]);location.href=action[16];}
	else if (enter == action[2]){kill();}
	else if (enter == null) return
	else  kill()
	}
	if (x == 0) {
	var enter = prompt(action[1],action[2]); 
	if (enter == action[6]){setCookie(action[5], action[7]);location.href=action[7];}
	else if (enter == action[8]){setCookie(action[5], action[9]);location.href=action[9];}
	else if (enter == action[10]){setCookie(action[5], action[11]);location.href=action[11];}
	else if (enter == action[12]){setCookie(action[5], action[13]);location.href=action[13];}
	else if (enter == action[14]){setCookie(action[5], action[15]);location.href=action[15];}
	else if (enter == action[2]){kill();}
	else if (enter == null) return
	else  kill()
	}
}
function CSResizeWindow(action) { 
	if(navigator.appVersion.charAt(0) >=4) { window.resizeTo (action[1],action[2]) }
}
function CSScrollDown(action){
	if(navigator.appVersion.charAt(0) >=4) {
		var container = 0	
		if (action[2] > 0)		{
			while (container < action[1]) {
   				window.scrollBy(0,action[2]);
   				container = container + action[2];  
			} 	
      	}
	}
}
// ScrollFrame.action v1.2 - July, 2001
// © Copyright 2000 by Walter Blady
// All rights reserved
var SFpath, SFscrollAmount, SFscrollX, SFscrollY, SFaddX, SFaddY, SFscrollAmountX, SFscrollAmountY;
function WBScrollFrame(action) {
	if (SFVersion()) {
		SFscrollAmount = Math.abs(action[2]) > 0 ? action[2] : 1;
		var SFscrollDelay = action[3] > 0 ? action[3] : 1;
		SFpath = (action[6].length > 0) ? eval("window." + action[6]) : eval("window");
		if (action[1] == 5) {
			clearInterval(SFrepeat);
			return;
		}
		else if (action[1] == 4) {
			SFscrollX = 0, SFscrollY = 0, SFaddX = action[4], SFaddY = action[5];
			SFscrollAmountX = action[4] > 0 ? SFscrollAmount : 0;
			SFscrollAmountY = action[5] > 0 ? SFscrollAmount : 0;
			SFrepeat = setInterval("SFscrollTo()", SFscrollDelay);
			return;
		}
		else if (action[1] == 0) {
			SFrepeat = setInterval("SFscrollUp()", SFscrollDelay);
		}
		else if (action[1] == 1) {
			SFrepeat = setInterval("SFscrollDown()", SFscrollDelay);
		}
		else if (action[1] == 2) {
			SFrepeat = setInterval("SFscrollLeft()", SFscrollDelay);
		}
		else if (action[1] == 3) {
			SFrepeat = setInterval("SFscrollRight()", SFscrollDelay);
		}
	}
	return;
}
function SFscrollTo() {
	SFpath.scrollBy(SFscrollAmountX, SFscrollAmountY);
	SFscrollX += SFscrollX <= SFaddX ? Math.abs(SFscrollAmountX) : 0;
	SFscrollY += SFscrollY <= SFaddY ? Math.abs(SFscrollAmountY) : 0;
	if (SFscrollX >= SFaddX && SFscrollY >= SFaddY) {
		clearInterval(SFrepeat);
	}
	return;
}
function SFscrollUp() {
	SFpath.scrollBy(0, -SFscrollAmount);
	return;
}
function SFscrollDown() {
	SFpath.scrollBy(0, SFscrollAmount);
	return;
}
function SFscrollLeft() {
	SFpath.scrollBy(-SFscrollAmount, 0);
	return;
}
function SFscrollRight() {
	SFpath.scrollBy(SFscrollAmount, 0);
	return;
}
function SFVersion() {
	return (navigator.appName.indexOf("Netscape") >= 0 && parseInt(navigator.appVersion.charAt(0)) >= 4)
          || (navigator.appName.indexOf("Explorer") >= 0 && parseInt(navigator.appVersion.charAt(0)) >= 4);
}
// ScrollIt.action v1.4 - March, 2001
// © Copyright 2000 by Walter Blady
// All rights reserved
var SIrepeat = 0, SIisIE4, SIisNav4, SIW3C;
var SIyHi = 0, SIyLo = 0, SIyloc = 0, SIxloc = 0, SIxHi = 0, SIxLo = 0, SIyOrig = 0, SIxOrig = 0;
var SIspeed = 0, SIparamsB, SIInitFlag = true;
var SIBoxArray = new Object();
SIisNav4 = navigator.appName.indexOf("Netscape") >= 0 && parseInt(navigator.appVersion.charAt(0)) == 4;
SIisWTV = navigator.appName.indexOf("WebTV") >= 0 && parseInt(navigator.appVersion.charAt(0)) >= 3;
SIisIE4 = navigator.appVersion.indexOf("MSIE 4") >= 0;
SIW3C = navigator.userAgent.indexOf("Netscape6") > 0 || navigator.appVersion.indexOf("MSIE 5") >=0;
function WBScrollIt(action) {
	if (SIVersion()) {
		if (action[1]) {
			clearInterval(SIrepeat);
			SIInitFlag = true;
			return;
		}
		if (SIInitFlag) {
			SIspeed = action[14];
			if (!SIBoxArray[action[6]]) {
				SIBoxArray[action[6]] = SIgetObject(action[6]);
				SIBoxArray[action[6]].SIyOrig = action[9];
				SIBoxArray[action[6]].SIxOrig = action[10];
				SIscrollTo(SIBoxArray[action[6]], SIBoxArray[action[6]].SIyOrig, SIBoxArray[action[6]].SIxOrig);
			}
			SIparamsB = SIBoxArray[action[6]];
			SIparamsC = SIgetObject(action[11]);
			if (SIisIE4) {
				var BboxWidth = action[7];
				var t = document.all.tags("div");
				var BboxHeight = (action[8] > 0) ? action[8] : t[action[6]].offsetHeight;
				var BboxTop = SIparamsB.pixelTop;
				var BboxLeft = SIparamsB.pixelLeft;
				var CboxWidth = action[12];
				var CboxHeight = action[13];
			}
			else if (SIW3C) {
				var BboxWidth = action[7];
				var t = document.getElementsByTagName("div");
				var BboxHeight = (action[8] > 0) ? action[8] : t[action[6]].offsetHeight;
				var BboxTop = parseInt(SIparamsB.top);
				var BboxLeft = parseInt(SIparamsB.left);
				var CboxWidth = action[12];
				var CboxHeight = action[13];
			}
			else {
				var BboxWidth = SIparamsB.clip.width;
				var BboxHeight = (action[8] > 0) ? action[8] : SIparamsB.clip.height;
				var BboxTop = SIparamsB.top;
				var BboxLeft = SIparamsB.left;
				var CboxWidth = SIparamsC.clip.width;
				var CboxHeight = SIparamsC.clip.height;
			}
			SIyHi = SIBoxArray[action[6]].SIyOrig;
			SIyLo = CboxHeight - BboxHeight;
			SIxHi = SIBoxArray[action[6]].SIxOrig;
			SIxLo = CboxWidth - BboxWidth;
			SIyloc = BboxTop;
			SIxloc = BboxLeft;
			SIInitFlag = false;
		}
		if (action[2]) {
			SIrepeat = setInterval("SIscrollUp()", 20);
		}
		else if (action[3]) {
			SIrepeat = setInterval("SIscrollDown()", 20);
		}
		else if (action[4]) {
			SIrepeat = setInterval("SIscrollLeft()", 20);
		}
		else if (action[5]) {
			SIrepeat = setInterval("SIscrollRight()", 20);
		}
	}
	return;
}
function SIscrollUp() {
	SIyloc = (SIyloc + SIspeed <= SIyHi) ? SIyloc + SIspeed : SIyHi;
	SIscrollTo(SIparamsB, SIxloc, SIyloc);
	if (SIyloc >= SIyHi) {
		clearInterval(SIrepeat);
		SIInitFlag = false;
	}
	return;
}
function SIscrollDown() {
	SIyloc = (SIyloc - SIspeed >= SIyLo) ? SIyloc - SIspeed : SIyLo;
	SIscrollTo(SIparamsB, SIxloc, SIyloc);
	if (SIyloc <= SIyLo) {
		clearInterval(SIrepeat);
		SIInitFlag = false;
	}
	return;
}
function SIscrollLeft() {
	SIxloc = (SIxloc + SIspeed <= SIxHi) ? SIxloc + SIspeed : SIxHi;
	SIscrollTo(SIparamsB, SIxloc, SIyloc);
	if (SIxloc >= SIxHi) {
		clearInterval(SIrepeat);
		SIInitFlag = false;
	}
	return;
}
function SIscrollRight() {
	SIxloc = (SIxloc - SIspeed >= SIxLo) ? SIxloc - SIspeed : SIxLo;
	SIscrollTo(SIparamsB, SIxloc, SIyloc);
	if (SIxloc <= SIxLo) {
		clearInterval(SIrepeat);
		SIInitFlag = false;
	}
	return;
}
function SIscrollTo(obj, x, y) {
	if (SIW3C) {
		obj.left = x + "px";
		obj.top = y + "px";
	}
	else if (SIisIE4) {
		obj.pixelLeft = x;
		obj.pixelTop = y;
	}
	else {
		obj.moveTo(x, y);
	}
	return;
}
function SIgetObject(objName) {
	var params;
	if (SIisIE4) {
		params = eval("document.all." + objName + ".style");
	}
	else if (SIW3C) {
		params = eval('document.getElementById("' + objName + '").style');
	}
	else {
		params = SIFindLayerObject(objName, 0);
	}
	return params;
}
function SIFindLayerObject(layer, thisLayer) {
	if (thisLayer) {
		var thisDocument = thisLayer.document;
	}
	else {
		var thisDocument = document;
	}
	var layerObj = thisDocument[layer];
	if (layerObj) {
		return layerObj;
	}
	else {
		for (var i = 0; i < thisDocument.layers.length; i++) {
			layerObj = SIFindLayerObject(layer, thisDocument.layers[i]); 
			if (layerObj) {
				break;
			}
		}
	}
	return layerObj;
}
function SIVersion() {
	return (navigator.appName.indexOf("Netscape") >= 0 && parseInt(navigator.appVersion.charAt(0)) >= 4)
          || (navigator.appName.indexOf("Explorer") >= 0 && parseInt(navigator.appVersion.charAt(0)) >= 4);
}
function CSScrollLeft(action){
	if(navigator.appVersion.charAt(0) >=4) {
		var container = 0	
		if (action[2] > 0)		{
			while (container < action[1]) {
   				window.scrollBy(-action[2],0);
   				container = container + action[2];  
			} 	
      	}
	}
}
function CSScrollRight(action){
	if(navigator.appVersion.charAt(0) >=4) {
		var container = 0	
		if (action[2] > 0)		{
			while (container < action[1]) {
   				window.scrollBy(action[2],0);
   				container = container + action[2];  
			} 	
      	}
	}
}
function CSScrollUp(action){
	if(navigator.appVersion.charAt(0) >=4) {
		var container = 0	
		if (action[2] > 0)		{
			while (container < action[1]) {
   				window.scrollBy(0,-action[2]);
   				container = container + action[2];  
			} 	
      	}
	}
}
// ScrollMenu.action v1.3.1 - August, 2001
// © Copyright 2000 by Walter Blady
// All rights reserved
var SMisNav4 = navigator.appName.indexOf("Netscape") >= 0 && parseInt(navigator.appVersion.charAt(0)) == 4;
var SMisIE4 = navigator.appVersion.indexOf("MSIE 4") >= 0;
var SMW3C = document.getElementById ? true : false;
var SMPrevClip = "", SMPrevName = "", SMClipName = "", SMPrevBox, SMPrevX, SMPrevY;
var SMyHi = 0, SMyLo = 0, SMyloc = 0, SMxHi = 0, SMxLo = 0, SMxloc = 0;  
var SMspeed = 0, SMparamsB, SMrepeat = 0;
var SMvis = (SMW3C || SMisIE4) ? "visible" : "show";
var SMhid = (SMW3C || SMisIE4) ? "hidden" : "hide";
function WBScrollMenu(action) {
	if (SMVersion() && action[1].length > 0) {
		var isOn = false;
		if (SMPrevClip != "") {
			isOn = SMisNav4 ? SMPrevClip.visibility == SMvis : SMPrevClip.style.visibility == SMvis
		}
		var stillOn = action[8] != "" && action[8] == SMPrevName && isOn;
		if (!stillOn) {
			SMspeed = action[17];
			clearInterval(SMrepeat);
			SMparamsB = SMgetObject(action[1]);
			SMscrollTo(SMparamsB, action[7], action[6]);
			SMparamsC = SMgetObject(action[8]);
			SMClipName = action[1];
			if ((SMPrevClip != SMparamsC) || !stillOn) {
				if (SMisIE4) {
					var BboxWidth = action[2];
					var t = document.all.tags("div");
					var BboxHeight = (action[3] > 0) ? action[3] : t[action[1]].offsetHeight;
					var BboxTop = SMparamsB.style.pixelTop;
					var BboxLeft = SMparamsB.style.pixelLeft;
					var CboxWidth = action[9];
					var CboxHeight = action[10];
				}
				else if (SMW3C) {
					var BboxWidth = action[2];
					var t = document.getElementsByTagName("div");
					var BboxHeight = (action[3] > 0) ? action[3] : t[action[1]].offsetHeight;
					var BboxTop = parseInt(SMparamsB.style.top);
					var BboxLeft = parseInt(SMparamsB.style.left);
					var CboxWidth = action[9];
					var CboxHeight = action[10];
				}
				else {
					var BboxWidth = SMparamsB.clip.width;
					var BboxHeight = (action[3] > 0) ? action[3] : SMparamsB.clip.height;
					var BboxTop = SMparamsB.top;
					var BboxLeft = SMparamsB.left;
					var CboxWidth = SMparamsC.clip.width;
					var CboxHeight = SMparamsC.clip.height;
				}
				SMyHi = 0;
				SMyLo = CboxHeight - BboxHeight;
				SMxHi = 0;
				SMxLo = CboxWidth - BboxWidth;
				SMyloc = BboxTop;
				SMxloc = BboxLeft;
				if (SMisNav4 && action[4]) {
					SMparamsB.bgColor = action[5];
				}
				else if ((SMW3C || SMisIE4) && action[4]) {
					SMparamsB.style.backgroundColor = action[5];
				}
				var excludeBox = "";
				if (action[12].length > 0) {
					excludeBox = SMgetObject(action[12]);
				}
				if (SMPrevClip != "") {
					if (!(action[11] && SMPrevClip == excludeBox)) {
						SMShowHide(SMPrevClip, SMPrevName, SMhid);
					}
				}
				SMShowHide(SMparamsC, SMClipName, SMvis);
				SMPrevClip = SMparamsC;
				SMPrevBox = SMparamsB;
				SMPrevName = action[8];
				SMPrevX = BboxLeft;
				SMPrevY = BboxTop;
				if (action[13]) {
					SMrepeat = setInterval("SMscrollUp()", 20);
				}
				else if (action[14]) {
					SMrepeat = setInterval("SMscrollDown()", 20);
				}
				else if (action[15]) {
					SMrepeat = setInterval("SMscrollLeft()", 20);
				}
				else if (action[16]) {
					SMrepeat = setInterval("SMscrollRight()", 20);
				}
			}
		}
	}
	else {
		if (SMPrevClip) {
			clearInterval(SMrepeat);
			SMShowHide(SMPrevClip, SMPrevName, SMhid);
		}
	}
	return;
}
function SMscrollUp() {
	SMyloc = (SMyloc + SMspeed <= SMyHi) ? SMyloc + SMspeed : SMyHi;
	SMscrollTo(SMparamsB, SMxloc, SMyloc);
	if (SMyloc == SMyHi) {
		clearInterval(SMrepeat);
	}
	return;
}
function SMscrollDown() {
	SMyloc = (SMyloc - SMspeed >= SMyLo) ? SMyloc - SMspeed : SMyLo;
	SMscrollTo(SMparamsB, SMxloc, SMyloc);
	if (SMyloc == SMyLo) {
		clearInterval(SMrepeat);
	}
	return;
}
function SMscrollLeft() {
	SMxloc = (SMxloc + SMspeed <= SMxHi) ? SMxloc + SMspeed : SMxHi;
	SMscrollTo(SMparamsB, SMxloc, SMyloc);
	if (SMxloc == SMxHi) {
		clearInterval(SMrepeat);
	}
	return;
}
function SMscrollRight() {
	SMxloc = (SMxloc - SMspeed >= SMxLo) ? SMxloc - SMspeed : SMxLo;
	SMscrollTo(SMparamsB, SMxloc, SMyloc);
	if (SMxloc == SMxLo) {
		clearInterval(SMrepeat);
	}
	return;
}
function SMscrollTo(obj, x, y) {
	if (SMW3C) {
		obj.style.left = x + "px";
		obj.style.top = y + "px";
	}
	else if (SMisIE4) {
		obj.style.pixelLeft = x;
		obj.style.pixelTop = y;
	}
	else {
		obj.moveTo(x, y);
	}
	return;
}
function SMgetObject(objName) {
	var params;
	if (SMisIE4) {
		params = eval("document.all." + objName);
	}
	else if (SMW3C) {
		params = eval('document.getElementById("' + objName + '")');
	}
	else {
		params = SMFindLayerObject(objName, 0);
	}
	return params;
}
function SMFindLayerObject(layer, thisLayer) {
	if (thisLayer) {
		var thisDocument = thisLayer.document;
	}
	else {
		var thisDocument = document;
	}
	var layerObj = thisDocument[layer];
	if (layerObj) {
		return layerObj;
	}
	else {
		for (var i = 0; i < thisDocument.layers.length; i++) {
			layerObj = SMFindLayerObject(layer, thisDocument.layers[i]); 
			if (layerObj) {
				break;
			}
		}
	}
	return layerObj;
}
function SMShowHide(object, objectName, state) {
	if (SMW3C) {
		object.style.visibility = state;
		var innerObjs = object.getElementsByTagName("div");
		for (var i = 0; i < innerObjs.length; i++) {
			innerObjs[i].style.visibility = state;
		}
	}
	else if (SMisIE4) {
		object.style.visibility = state;
		for (var i = 0; i < document.all[objectName].children.length; i++) {
			object.children[i].style.visibility = state;
		}
	}
	else if (SMisNav4) {
		object.visibility = state;
		for (var i = 0; i < object.layers.length; i++) {
			object.layers[i].visibility = state;
		}
	}
	return;
}
function SMVersion() {
	return (navigator.appName.indexOf("Netscape") >= 0 && parseInt(navigator.appVersion.charAt(0)) >= 4)
          || (navigator.appName.indexOf("Explorer") >= 0 && parseInt(navigator.appVersion.charAt(0)) >= 4);
}
function CSScrollstatus(action) {
phrase = action[1];
speed = action[2];	
(action[3] != true)	? delay = setTimeout("CSScrollleftidle()",20) : delay = setTimeout("CSScrollrightidle()",20)
var thestring
leftphrase = "                                                                                                 " + phrase 
charnum = leftphrase.length;
stringnum = leftphrase.length;	
size = leftphrase.length+1
}
function CSScrollrightidle() {
	stringnum--;
	(stringnum != 0) ? window.status = leftphrase.substring(charnum,stringnum) : stringnum = charnum
	delay = setTimeout("CSScrollrightidle()",speed); 
	}
	
function CSScrollleftidle() {
   thestring = leftphrase.substring(0,1);
   leftphrase += thestring
   leftphrase = leftphrase.substring(1,size);
   window.status = leftphrase.substring(0,size);
   delay = setTimeout("CSScrollleftidle()",speed);
}
function CSSearchEngine(action) {
var form = action[1]
var elem = action[2]
var theEntry  
if(action[3]==true) { theEntry = action[4] } 
else { theEntry = document.forms[form].elements[elem].value }
var type=action[5];
if(type==0) engine="http://search.adobe.com/cgi-bin/query?mss=simple&pg=q&what=web&fmt=.&where=www_search_main&superq="+theEntry+"&rd=all&q="+theEntry+"&x=39&y=10" /* Adobe.com */
else if(type==1) engine="http://www.altavista.digital.com/cgi-bin/query?pg=q&what=web&fmt=.&q="+theEntry /*Altavista */ 
else if(type==2) engine="http://groups.google.com/groups?q="+theEntry+"&hl=en&lr=&safe=off&btnG=Google+Search&site=groups"; /* Google Deja News (Usenet) */ 
else if(type==3) engine="http://www.excite.com/search.gw?trace=a&search="+theEntry; /* Excite */
else if(type==4) engine="http://www.search.hotbot.com/hResult.html?SM=MC&MT="+theEntry+"&DV=7&RG=.com&DC=10&DE=2&OPs=MDRTP&_v=2&DU=days&SW=web&search.x=23&search.y=8"; /* HotBot */
else if(type==5) engine="http://www.google.com/search?q="+theEntry+"&btnG=Google+Search" /* Google */
else if(type==6) engine="http://search.msn.com/results.asp?RS=CHECKED&FORM=MSNH&v=1&q="+theEntry; /* MSN */
else if(type==7) engine="http://www.lycos.com/cgi-bin/pursuit?query="+theEntry+"&matchmode=and&cat=lycos&x=33&y=10"; /* Lycos */
else if(type==8) engine="http://shopper.cnet.com/shopping/search/results/1,10214,0-1257,00.html?tag=st%2Esh%2E1257%2Esbsr&qt="+theEntry+"&cn=&ca=1257" /* Shopper.com */
else if(type==9) engine="http://search.excite.com/search.gw?c=web&lk=webcrawler&onload=&s="+theEntry;/* Webcrawler */
else if(type==10) engine="http://search.yahoo.com/bin/search?p="+theEntry /* Yahoo */
if (theEntry=="") { alert("Please enter a search keyword!") } 
else  { newWindow=window.open(engine, action[6],"toolbar,location,directories,status,menubar,scrollbars,resizable=1") }
}
		
function CSSetBackColor(action) { document.bgColor = action[1]; }
function CSSetImageURL(action) {
	var img=CSGetImage(action[1]);
	if (img) img.src=action[2];
}
function CSSetStatus(action) { self.status = action[1]; }
function ROSetVideoBackgroundColor (act) {
	var delay,color;
	color="#";
	color+=act[1];
	delay=act[2]*1000;
	if(delay>0) {
		var obj=new Object();
		obj.type="color";
		obj.time=delay;
		obj.color=color;
		if(ROOnPLCArray)
			ROOnPLCArray[ROOnPLCArray.length]=obj;
	}
	else
		window.parent.external.SetVideoBackgroundColor(color);
}
function ROShowArtistInfo (act) {
	var show;
	if(act[1]==true)show=1;
	else show=0;
	window.parent.external.HandleAction("ShowArtistInfo("+show+")");
}
// ShownTell.action v1.8 - June, 2003
// © Copyright 1999 by Walter Blady
// All rights reserved
//Millisecond delay time for auto close (1000 = 1 second)
var SnTtrapDelay = 500;
var SnTisNav4 = navigator.appName.indexOf("Netscape") >= 0 && parseInt(navigator.appVersion.charAt(0)) == 4;
var SnTisIE4 = navigator.appVersion.indexOf("MSIE 4") >= 0;
var SnTisIE = navigator.appVersion.indexOf("MSIE") >= 0;
var SnTW3C = document.getElementById ? true : false;
var SnTisNN6 = navigator.userAgent.indexOf("Netscape6") >= 0;
var SnTboxObj, SnTprevBoxObj;
var W3CinitFlag = false;
var SnTmenuArray = new Array(), SnTprevMenu = new Array(), SnTmenu, SnTprevScene, SnTmouseTrapTimer = 0, SnTaction;
var SnTweightArray = new Array("normal", "bold", "bolder", "lighter");
var SnTstyleArray = new Array("normal", "italic");
var SnTdecorArray = new Array("none", "underline", "overline", "line-through");
var SnTalignArray = new Array("left", "right", "center", "justify");
var SnTorgColor, SnTorgText, SnTorgWeight;
var SnTobjArray = new Array();
var SnTsuffix = SnTW3C ? "px" : "";
var SnTclientWidth, SnTclientHeight, SnTtopOffset, SnTleftOffset, SnTsuffix, SnTcenterWidth, SnTcenterHeight;
if (SnTW3C) var SnTtop = "top", SnTleft = "left", SnTwidth = "width", SnTheight = "height";
if (SnTisIE4) var SnTtop = "pixelTop", SnTleft = "pixelLeft", SnTwidth = "pixelWidth", SnTheight = "pixelHeight";
var SnTvis = (SnTW3C || SnTisIE4) ? "visible" : "show";
var SnThid = (SnTW3C || SnTisIE4) ? "hidden" : "hide";
function WBShownTell(action) {
	if (SnTVersion()) {
		if (action[23] > 0) SnTtrapDelay = action[23];
		SnTaction = action;
		clearTimeout(SnTmouseTrapTimer);
		if (action[2].length > 0) {
			SnTboxObj = SnTgetObject(action[2]);
			if (action[1] == 2) {
				SnTboxObj.onmouseover = SnTMouseTrapTimerQuit;
				SnTboxObj.onmouseout = SnTMouseTrap;
				if (action[20] == 0) return;
			}
			else if (action[1] == 1) {
				SnTboxObj.onmouseover = SnTTurnOn;
				SnTboxObj.onmouseout = SnTTurnOff;
				SnTboxObj.SnTorgBoxColor = (SnTW3C || SnTisIE4) ? SnTboxObj.style.backgroundColor : SnTboxObj.bgColor;
				if (SnTboxObj.SnTorgBoxColor == "") SnTboxObj.SnTorgBoxColor = "transparent";
				SnTboxObj.SnTorgColor = (SnTW3C || SnTisIE4) ? SnTboxObj.style.color : SnTboxObj.color;
				if (SnTboxObj.SnTorgColor == "") SnTboxObj.SnTorgColor = "black";
				SnTboxObj.SnTorgWeight = (SnTW3C || SnTisIE4) ? SnTboxObj.style.fontWeight : SnTboxObj.fontWeight;
				if (SnTboxObj.SnTorgWeight == "") SnTboxObj.SnTorgWeight = "normal";
				SnTboxObj.SnTorgStyle = (SnTW3C || SnTisIE4) ? SnTboxObj.style.fontStyle : SnTboxObj.fontStyle;
				if (SnTboxObj.SnTorgStyle == "") SnTboxObj.SnTorgStyle = "normal";
				SnTboxObj.SnTorgDecor = (SnTW3C || SnTisIE4) ? SnTboxObj.style.textDecoration : SnTboxObj.textDecoration;
				if (SnTboxObj.SnTorgDecor == "") SnTboxObj.SnTorgDecor = "none";
				SnTboxObj.SnTorgAlign = (SnTW3C || SnTisIE4) ? SnTboxObj.style.textAlign : SnTboxObj.textAlign;
				if (SnTboxObj.SnTorgAlign == "") SnTboxObj.SnTorgAlign = "left";
				SnTboxObj.SnTnewBoxColor = action[14];
				SnTboxObj.SnTnewColor = action[15];
				SnTboxObj.SnTnewWeight = SnTweightArray[action[16]];
				SnTboxObj.SnTnewStyle = SnTstyleArray[action[17]];
				SnTboxObj.SnTnewDecor = SnTdecorArray[action[18]];
				SnTboxObj.SnTnewAlign = SnTalignArray[action[19]];
				if (action[20] == 0) return;
			}
			else if (action[1] == 0 || action[1] == 3) {
				if (!W3CinitFlag && SnTW3C) {
					var d = document.getElementsByTagName("div");
					var s = document.getElementsByTagName("style");
					for (var i = 0; i < s.length; i++) {
						var html = (s[i].innerHTML);
						var start = html.indexOf("!--") + 3;
						var end = html.lastIndexOf("}") + 1 - start;
						html = html.indexOf("!--") > -1 ? html.substr(start, end) : html;
						html = html.replace(/^\s*/, "");
						html = html.replace(/:\s*#/g, ": ~");
						html = html.replace(/[\n\r]/g, "");
						var styleArray = html.split(/\s*\}\s*/);
						for (var j = 0; j < styleArray.length; j++) {
							if (styleArray[j] != "" && styleArray[j].toLowerCase().indexOf("position:") > -1) {
								styleArray[j] = styleArray[j].replace(/\**#/, "");
								styleArray[j] = styleArray[j].replace(/~/g, "#");
								var styleName = styleArray[j].substr(0, styleArray[j].indexOf("{"));
								styleName = styleName.replace(/\s*/g, "");
								styleArray[j] = styleArray[j].toLowerCase();
								var t = eval("d." + styleName + ".style");
								var divName = eval("d." + styleName + ".id");
								var styleString = styleArray[j].replace(/^.*\{\s*/, "");
								styleString = styleString.replace(/\s*\}.*$|\s*\}.*\n.*$|\s*\}.*\r.*$/, "");
								var divArray = styleString.split(/\;\s*/g);
								for (var k = 0; k < divArray.length; k++) {
									var propertyName = divArray[k].substr(0, divArray[k].indexOf(":"));
									var dash = propertyName.indexOf("-");
									if (dash > -1) {
										var propertyName = propertyName.substr(0, dash) + propertyName.substr(dash + 1, 1).toUpperCase() + propertyName.substr(dash + 2, propertyName.length);
									}
									var propertyValue = divArray[k].substr(divArray[k].indexOf(":"), divArray[k].length);
									propertyValue = propertyValue.replace(/:*(-->)*}*\n*/g, "");
									propertyValue = propertyValue.replace(/^\s*|\s*$/, "");
									if (SnTisNN6 && propertyValue.indexOf("(") > -1) {
										propertyValue = propertyValue.replace(/auto|pt|pi|px|em|ex|mm|cm|in|%/g, "$& ");
										propertyValue = propertyValue.replace(/ \)/g, ")");
									}
									t.name = divName;
									t[propertyName] = propertyValue;
								}
							}
						}
					}
					W3CinitFlag = true;
				}
				if (action[20] != 0) {
					var clientWidth = SnTisIE ? eval(document.body.clientWidth) : eval(window.innerWidth);
					var clientHeight = SnTisIE ? eval(document.body.clientHeight) : eval(window.innerHeight);
					window.onresize = SnTControl;
					if (SnTisIE) {
						document.body.onscroll = SnTControl;
					}
					else {
						window.onclick = SnTControl;
					}
					SnTboxObj = eval(SnTboxObj.style);
					var width = SnTW3C ? parseInt(SnTboxObj[SnTwidth].replace(/\D/g, "")) : SnTboxObj[SnTwidth];
					var height = SnTW3C ? parseInt(SnTboxObj[SnTheight].replace(/\D/g, "")) : SnTboxObj[SnTheight];
					SnTboxObj.SnTorigTop = SnTW3C ? parseInt(SnTboxObj[SnTtop].replace(/\D/g, "")) : SnTboxObj[SnTtop];
					SnTboxObj.SnTorigLeft = SnTW3C ? parseInt(SnTboxObj[SnTleft].replace(/\D/g, "")) : SnTboxObj[SnTleft];
					SnTboxObj.SnTorigRelaTop = Math.round(SnTboxObj.SnTorigTop*100/clientWidth);
					SnTboxObj.SnTorigRelaLeft = Math.round(SnTboxObj.SnTorigLeft*100/clientHeight);
					SnTboxObj.SnTorigStreWidth = Math.round(width*100/clientWidth);
					SnTboxObj.SnTorigStreHeight = Math.round(height*100/clientHeight);
					SnTboxObj.SnTstretchWidth = action[21];
					SnTboxObj.SnTstretchHeight = action[22];
					SnTboxObj.SnTcenter = action[20] == 1 ? true : false;
					SnTboxObj.SnTcenterPlus = action[20] == 2 ? true : false;
					SnTboxObj.SnTstayPut = action[20] == 3 ? true : false;
					if (SnTboxObj.SnTcenter || SnTboxObj.SnTcenterPlus) {
						if (action[21]) SnTboxObj[SnTleft] = (clientWidth-width)/2 + SnTsuffix;
						if (action[22]) SnTboxObj[SnTtop] = (clientHeight-height)/2 + SnTsuffix;
					}
					if (SnTboxObj.SnTstayPut && SnTW3C && !SnTisWinIE5) SnTboxObj.position = "fixed";
					SnTobjArray[SnTobjArray.length] = SnTboxObj;
					return;
				}
				SnTboxObj.onmouseover = SnTMouseTrapTimerQuit;
				SnTboxObj.onmouseout = SnTMouseTrap;
				var isOn = false, showOne, stillOn = false;
				var paramsScene = action[6];
				if (!SnTmenuArray[action[3]]) SnTmenuArray[action[3]] = new Array();
				SnTmenu = SnTmenuArray[action[3]];
				SnTboxObj.menu = action[3]-1;
				SnTboxObj.level = action[4]-1;
				SnTmenu[action[4]] = SnTboxObj;
				SnTmenu[action[4]].level = action[4];
				if (!SnTmenu[action[4]].satelite) SnTmenu[action[4]].satelite = new Array();
				if (action[7]) {
				var j = 0;
					for (var i = 8; i < 14; i++) {
						if (action[i].length > 0) {
							SnTmenu[action[4]].satelite[j] = SnTgetObject(action[i]);
							j++;
						}
					}
				}
				if (SnTprevBoxObj) {
					isOn = SnTisNav4 ? SnTprevBoxObj.visibility == SnTvis : SnTprevBoxObj.style.visibility == SnTvis;
					stillOn = action[2] != "" && action[2] == SnTprevBoxObj.id && isOn;
					if (SnTboxObj == SnTprevBoxObj && stillOn) return;
				}
				if (SnTprevBoxObj) {
					var exclude = (SnTboxObj.menu == SnTprevBoxObj.menu && SnTprevBoxObj.level < SnTboxObj.level);
					if (!exclude) {
						showOne = false;
						SnTShowHide(SnTprevMenu, SnTboxObj.level, SnThid, showOne);
						if (action[5] && action[6].length > 0) {
							CSStopFunction(SnTprevScene);
						}
					}
				}
				if (!stillOn) {
					if ((!SnTboxObj.id == action[2]) || !stillOn) {
						if (SnTW3C) {
							SnTboxObj.boxWidth = parseInt(SnTboxObj.style.width);
							SnTboxObj.boxHeight = parseInt(SnTboxObj.style.height);
						}
						else if (SnTisIE4) {
							SnTboxObj.boxWidth = SnTboxObj.style.pixelWidth;
							SnTboxObj.boxHeight = SnTboxObj.style.pixelHeight;
						}
						else {
							SnTboxObj.boxWidth = SnTboxObj.clip.width;
							SnTboxObj.boxHeight = SnTboxObj.clip.height;
						}
						showOne = true;
						SnTShowHide(SnTmenu, SnTboxObj.level, SnTvis, showOne);
						if (action[5] && action[6].length > 0) {
							CSStartSeq(paramsScene);
						}
						SnTprevBoxObj = SnTboxObj;
						for (var i = 0; i < SnTmenu.length; i++) {
							SnTprevMenu[i] = SnTmenu[i];
						}
						SnTprevScene = paramsScene;
					}
				}
			}
		}
		else {
			if (SnTprevBoxObj) {
			SnTMouseTrap()
			}
		}
	}
	return;
}
function SnTMouseTrap() {
	SnTmouseTrapTimer = setTimeout("SnTMouseTrapp()", SnTtrapDelay);
	return;
}
function SnTMouseTrapp() {
	var showOne = false;
	SnTShowHide(SnTprevMenu, 1, SnThid, showOne);
	if (SnTaction[5] && SnTaction[6].length > 0) {
		CSStopFunction(SnTprevScene);
	}
	return;
}
function SnTMouseTrapTimerQuit() {
	clearTimeout(SnTmouseTrapTimer);
	return;
}
function SnTShowHide(menu, level, state, showOne) {
	if (SnTW3C) {
		if (level == "opt")  { menu.style.visibility = state; return; }
		for (var i = level; i < menu.length; i++) {
			if (menu[i] != null) {
				menu[i].style.visibility = state;
				var innerObjs = menu[level].getElementsByTagName("div");
				for (var j = 0; j < innerObjs.length; j++) {
					innerObjs[j].style.visibility = state;
				}
				for (var j = 0; j < menu[i].satelite.length; j++) {
					menu[i].satelite[j].style.visibility = state;
				}
			}
			if (showOne) break;
		}
	}
	else if (SnTisIE4) {
		if (level == 0) { menu.style.visibility = state; return; }
		for (var i = level; i < menu.length; i++) {
			if (menu[i] != null) {
				menu[i].style.visibility = state;
				for (var j = 0; j < document.all[menu[i].id].children.length; j++) {
					menu[i].children[j].style.visibility = state;
				}
				for (var j = 0; j < menu[i].satelite.length; j++) {
					menu[i].satelite[j].style.visibility = state;
				}
			}
			if (showOne) break;
		}
	}
	else if (SnTisNav4) {
		if (level == 0) { menu.style.visibility = state; return; }
		for (var i = level; i < menu.length; i++) {
			if (menu[i] != null) {
				menu[i].visibility = state;
				for (var j = 0; j < menu[i].layers.length; j++) {
					menu[i].layers[j].visibility = state;
				}
				for (var j = 0; j < menu[i].satelite.length; j++) {
					menu[i].satelite[j].visibility = state;
				}
			}
			if (showOne) break;
		}
	}
	return;
}
function SnTgetObject(objName) {
	var params;
	if (SnTW3C) {
		params = eval('document.getElementById("' + objName + '")');
	}
	else if (SnTisIE4) {
		params = eval("document.all." + objName);
	}
	else {
		params = SnTFindLayerObject(objName, 0);
	}
	return params;
}
function SnTFindLayerObject(layer, thisLayer) {
	if (thisLayer) {
		var thisDocument = thisLayer.document;
	}
	else {
		var thisDocument = document;
	}
	var layerObj = thisDocument[layer];
	if (layerObj) {
		return layerObj;
	}
	else {
		for (var i = 0; i < thisDocument.layers.length; i++) {
			layerObj = SnTFindLayerObject(layer, thisDocument.layers[i]); 
			if (layerObj) {
				break;
			}
		}
	}
	return layerObj;
}
function SnTTurnOn() { 
	if (!SnTisNav4) {
		this.style.backgroundColor = this.SnTnewBoxColor;
		this.style.color = this.SnTnewColor;
		this.style.fontWeight = this.SnTnewWeight;
		this.style.fontStyle = this.SnTnewStyle;
		this.style.textDecoration = this.SnTnewDecor;
		this.style.textAlign = this.SnTnewAlign;
	}
	else {
		this.bgColor = this.SnTnewBoxColor;
		this.fgColor = this.SnTnewColor;
		this.fontWeight = this.SnTnewWeight;
		this.fontStyle = this.SnTnewStyle;
		this.textDecoration = this.SnTnewDecor;
		this.textAlign = this.SnTnewAlign;
	}
	return;
}
function SnTTurnOff() { 
	if (!SnTisNav4) {
		this.style.backgroundColor = this.SnTorgBoxColor;
		this.style.color = this.SnTorgColor;
		this.style.fontWeight = this.SnTorgWeight;
		this.style.fontStyle = this.SnTorgStyle;
		this.style.textDecoration = this.SnTorgDecor;
		this.style.textAlign = this.SnTorgAlign;
	}
	else {
		this.bgColor = this.SnTorgBoxColor;
		this.fgColor = this.SnTorgColor;
		this.fontWeight = this.SnTorgWeight;
		this.fontStyle = this.SnTorgStyle;
		this.textDecoration = this.SnTorgDecor;
		this.textAlign = this.SnTorgAlign;
	}
	return;
}
function SnTControl() {
	for (var i = 0; i < SnTobjArray.length; i++) {
		SnTclientWidth = SnTisIE ? eval(document.body.clientWidth) : eval(window.innerWidth);
		SnTclientHeight = SnTisIE ? eval(document.body.clientHeight) : eval(window.innerHeight);
		SnTtopOffset = SnTisIE ? document.body.scrollTop : window.pageYOffset;
		SnTleftOffset = SnTisIE ? document.body.scrollLeft : window.pageXOffset;
		if (SnTobjArray[i].SnTstayPut) { SnTStayPut(i); }
		if (SnTobjArray[i].SnTcenter) { SnTCenter(i); }
		if (SnTobjArray[i].SnTcenterPlus) { SnTCenter(i); }
		if (SnTobjArray[i].SnTstretch){ SnTStretch(i); }
	}
	return;
}
function SnTStayPut(i) {
	if (SnTisWinIE5 || !SnTW3C) { 
		SnTobjArray[i][SnTtop] = SnTtopOffset + SnTobjArray[i].SnTorigTop + SnTsuffix;
		SnTobjArray[i][SnTleft] = SnTleftOffset + SnTobjArray[i].SnTorigLeft + SnTsuffix;
	}
	return;
}
function SnTCenter(i) {
	var width = SnTW3C ? parseInt(SnTobjArray[i][SnTwidth].replace(/\D/g, "")) : SnTobjArray[i][SnTwidth];
	var height = SnTW3C ? parseInt(SnTobjArray[i][SnTheight].replace(/\D/g, "")) : SnTobjArray[i][SnTheight];
	SnTcenterWidth = SnTobjArray[i].SnTcenterPlus ? SnTleftOffset : 0;
	SnTcenterHeight = SnTobjArray[i].SnTcenterPlus ? SnTtopOffset : 0;
	if (SnTobjArray[i].SnTstretchWidth) SnTobjArray[i][SnTleft] = (Math.round(SnTclientWidth-width)/2)+SnTcenterWidth + SnTsuffix;
	if (SnTobjArray[i].SnTstretchHeight) SnTobjArray[i][SnTtop] = (Math.round(SnTclientHeight-height)/2)+SnTcenterHeight + SnTsuffix;
	return;
}
function SnTVersion() {
	return (navigator.appName.indexOf("Netscape") >= 0 && parseInt(navigator.appVersion.charAt(0)) >= 4)
          || (navigator.appName.indexOf("Explorer") >= 0 && parseInt(navigator.appVersion.charAt(0)) >= 4);
}
function ROShowPreferences (act) {
	var str,type;
	type=act[1];
	str="ShowPreferences(";
	if(type==0)str+="General,General";
	else if(type==1)str+="Connection,Connection";
	else if(type==2)str+="Connection,Playback Settings";
	else if(type==3)str+="Connection,Internet Settings";
	else if(type==4)str+="Connection,Proxy";
	else if(type==5)str+="Connection,Network Transports";
	else if(type==6)str+="My Library,My Library";
	else if(type==7)str+="My Library,Advanced My Library";
	else if(type==8)str+="CD,CD";
	else if(type==9)str+="CD,Advanced CD";
	else if(type==10)str+="Devices,Devices";
	else if(type==11)str+="Accessories,Accessories";
	else if(type==12)str+="Media Types,Media Types";
	else if(type==13)str+="Content,Content";
	else if(type==14)str+="Hardware,Hardware";
	else if(type==15)str+="AutoUpdate,AutoUpdate";
	else return;
	str+=")";
	window.parent.external.HandleAction(str);
}
// ShowCase.action v1.2.1 - August, 2001
// © Copyright 1999 by Walter Blady
// All rights reserved
var SCisNav4 = navigator.appName.indexOf("Netscape") >= 0 && parseInt(navigator.appVersion.charAt(0)) == 4;
var SCisIE4 = navigator.appVersion.indexOf("MSIE 4") >= 0;
var SCW3C = document.getElementById ? true : false;
var SCcount = new Array("0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0"), SCnum;
var SCimage1 = new Array, SCimage2 = new Array, SCBox = new Array;
var SCPrevBox = "", SCPrevName = "", SCPresName = "";
function WBShowCase(action) {
	if (SCVersion()) {
		if (action[19] > 0) {
			if (SCBox[1] == null) {
				for (var i = 1; i < 13; i++) {
					SCBox[i] = eval ("SCB0001")(i);
				}
			}
			var SCvis = (SCW3C || SCisIE4) ? "visible" : "show";
			var SChid = (SCW3C || SCisIE4) ? "hidden" : "hide";
			SCPresName = SCBox[action[19]];
			if (SCPrevBox != "") {
				SCShowHide(SCPrevBox, SCPrevName, SChid);
			}
			if (SCPresName != "") {
				var params = SCgetObject(SCPresName);
				SCShowHide(params, SCPresName, SCvis);
				SCPrevBox = params;
				SCPrevName = SCBox[action[19]];
			}
			return;
		}
		SCnum = action[16];
		if (SCcount[SCnum] == 0) { 
			SCcount[SCnum] = action[13];
		}
		var image1 = "", image2 = "", image3 = "", image4 = "", image5 = "", image6 = "";
		var image7 = "", image8 = "", image9 = "", image10 = "", image11 = "", image12 = "";
		var num = "000", replaceImage = "", baseImg = "";
		if (SCW3C || SCisIE4) {
			if (action[17].length > 0 && action[18] != "(Empty Reference!)") {
				baseImg = document.images[action[17]];
			}
			else {
				for (var i = 1; i < 13; i++) {
					if (action[i] != "") {
						SCimage1[i] = document.images[action[i]];
					}
				}
			}
		}
		else {
			if (action[17].length > 0 && action[18] != "(Empty Reference!)") {
				baseImg = SCisNav4 ? SCFindImageObject(action[17],0) : document.images[action[17]];
			}
			else {
				for (var i = 1; i < 13; i++) {
					if (action[i] != "") {
						SCimage1[i] = SCisNav4 ? SCFindImageObject(action[i],0) : document.images[action[i]];
					}
				}
			}
		}
		if (baseImg) {
			baseImg.src = action[18];
		}
		else {
			var direction = action[15];
			if (direction == 0) {
				SCcount[SCnum] = SCcount[SCnum] + 1;
				if (SCcount[SCnum] > action[13] + (action[14] - action[13])) {
					SCcount[SCnum] = action[13];
				}
			}
			if (direction == 1) {
				SCcount[SCnum] = SCcount[SCnum] - 1
				if (SCcount[SCnum] < action[13]) {
					SCcount[SCnum] = action[13] + (action[14] - action[13]);
				}
			}
			num = num.substring(0, 4 - SCcount[SCnum].toString().length) + SCcount[SCnum];
			for (var i = 1; i < 13; i++) {
				replaceImage = eval("SCA" + num)(i);
				SCimage2[i] = eval("SCL" + num)(i);
				SCBox[i] = eval ("SCB" + num)(i);
				if (SCimage1[i] != "" && replaceImage != "") {
					SCimage1[i].src = replaceImage;
				}
			}
		}
	}
	return;
}
function SCFindImageObject(baseImage, thisLayer) {
	if (thisLayer) {
		var thisDocument = thisLayer.document;
	}
	else {
		var thisDocument = document;
	}
	var imageObj = thisDocument[baseImage];
	if (imageObj) { 
		return imageObj;
	}
	else {
		for (var i = 0; i < thisDocument.layers.length; i++) {
			imageObj = SCFindImageObject(baseImage, thisDocument.layers[i]); 
			if (imageObj) {
				break; 
			}
		}
	}
	return imageObj;
}
function SCgetObject(objName) {
	var params;
	if (SCisIE4) {
		params = eval("document.all." + objName);
	}
	else if (SCW3C) {
		params = eval('document.getElementById("' + objName + '")');
	}
	else {
		params = SCFindLayerObject(objName, 0);
	}
	return params;
}
function SCFindLayerObject(layer, thisLayer) {
	if (thisLayer) {
		var thisDocument = thisLayer.document;
	}
	else {
		var thisDocument = document;
	}
	var layerObj = thisDocument[layer];
	if (layerObj) {
		return layerObj;
	}
	else {
		for (var i = 0; i < thisDocument.layers.length; i++) {
			layerObj = SCFindLayerObject(layer, thisDocument.layers[i]); 
			if (layerObj) {
				break;
			}
		}
	}
	return layerObj;
}
function SCShowHide(object, objectName, state) {
	if (SCW3C) {
		object.style.visibility = state;
		var innerObjs = object.getElementsByTagName("div");
		for (var i = 0; i < innerObjs.length; i++) {
			innerObjs[i].style.visibility = state;
		}
	}
	else if (SCisIE4) {
		object.style.visibility = state;
		for (var i = 0; i < document.all[objectName].children.length; i++) {
			object.children[i].style.visibility = state;
		}
	}
	else if (SCisNav4) {
		object.visibility = state;
		for (var i = 0; i < object.layers.length; i++) {
			object.layers[i].visibility = state;
		}
	}
	return;
}
function SCVersion() {
	return (navigator.appName.indexOf("Netscape") >= 0 && parseInt(navigator.appVersion.charAt(0)) >= 3)
          || (navigator.appName.indexOf("Explorer") >= 0 && parseInt(navigator.appVersion.charAt(0)) >= 2);
}
// ShowCaseLinks.action v1.1.3 - August, 2001
// © 1999, Walter Blady
// All rights reserved
var SCLisNav4 = navigator.appName.indexOf("Netscape") >= 0 && parseInt(navigator.appVersion.charAt(0)) == 4;
var SCLisIE4 = navigator.appVersion.indexOf("MSIE 4") >= 0;
var SCLW3C = document.getElementById ? true : false;
function WBShowCaseLinks(action) {
	if (SCLVersion()) {
		if (action[2]) {
			var newImage;
			if (action[3] != "") {
				if (SCLW3C || SCLisIE4) {
					newImage = document.images[action[3]];
				}
				else {
					newImage = SCLisNav4 ? SCFindImageObject(action[3],0) : document[action[3]];
				}
				if  (SCimage2[action[1]] != null) {
					newImage.src = SCimage2[action[1]];
				}
				else {
					if (action[17] != "(Empty Reference!)") {
						newImage.src = action[17];
					}
				}
			}
		}
		else {	
			var params = "", newWind;
			var windowName = action[4].length > 0 ? action[4] : "newWindow";
			params += action[5] > 0 ? "width=" + action[5] : ""; 
			params += action[6] > 0 ? ",height=" + action[6] : "";
			params += ",toolbar=" + (action[7] ? "1" : "0");
			params += ",loSCion=" + (action[8] ? "1" : "0");
			params += ",directories=" + (action[9] ? "1" : "0");
			params += ",status=" + (action[10] ? "1" : "0");
			params += ",menubar=" + (action[11] ? "1" : "0");
			params += ",favorites=" + (action[12] ? "1" : "0");
			params += ",scrollbars=" + (action[13] ? "1" : "0");
			params += ",resizable=" + (action[14] ? "1" : "0");
			params += (SCLW3C) ? ",top=" + action[15] + ",left=" + action[16] : ",screenY=" + action[15] + ",screenX=" + action[16];
			if  (SCimage2[action[1]] != null) {
				var newURL = SCimage2[action[1]];
				newWind = window.open(newURL,windowName,params);
			}
			else {
				if (action[16] != "(Empty Reference!)") {
					newWind = window.open(action[16],windowName,params);
				}
			}
		}
	}
	return;
}
function SCLVersion() {
	return (navigator.appName.indexOf("Netscape") >= 0 && parseInt(navigator.appVersion.charAt(0)) >= 3)
        || (navigator.appName.indexOf("Explorer") >= 0 && parseInt(navigator.appVersion.charAt(0)) >= 2);
}
function CSShowHide(action) {
	if (action[1] == '') return;
	var type=action[2];
	if(type==0) CSSetStyleVis(action[1],0);
	else if(type==1) CSSetStyleVis(action[1],1);
	else if(type==2) { 
		if (CSGetStyleVis(action[1]) == 0) CSSetStyleVis(action[1],1);
		else CSSetStyleVis(action[1],0);
	}
}
function CSSlideNewWindow(action) {
var wh = ""
if (action[7] || action[8] || action[9] == true) wh=action[4]-125
else wh = action[4]
var wf = "";	
wf = wf + "width=" + action[3];
wf = wf + ",height=" + wh;
wf = wf + ",resizable=" + (action[5] ? "yes" : "no");
wf = wf + ",scrollbars=" + (action[6] ? "yes" : "no");
wf = wf + ",menubar=" + (action[7] ? "yes" : "no");
wf = wf + ",toolbar=" + (action[8] ? "yes" : "no");
wf = wf + ",directories=" + (action[9] ? "yes" : "no");
wf = wf + ",location=" + (action[10] ? "yes" : "no");
wf = wf + ",status=" + (action[11] ? "yes" : "no");		
if(navigator.appVersion.charAt(0) >=4) {
var sw=screen.width-20;
var sh=screen.height;
var newwidth=action[3]; 
var newheight=action[4];
var positionleft=(sw-newwidth)/2;
var positiontop=""
if (action[7] || action[8] || action[9] == true) positiontop=(sh-newheight)/3;
else positiontop=(sh-newheight)/2.5;
}
newwindow=window.open(action[1],action[2],wf); 
newwindow.focus()	
if(navigator.appVersion.charAt(0) >=4) {
	for(width1 = 1 ; width1 < positionleft ; width1 = width1 + 10)
	newwindow.moveTo(width1,positiontop)
	}
}
SSnumimg=1; SSsens2=-1;SSsens3=-1
function CSSlideShow(action) 
{
SSmax=action[2]
SSimgNom=action[1]
SSloop=action[4]
SSsens=action[3] 
SSpalin=action[5]
var SSimg = null;
	if (document.images) {
		if (!IsIE()&&CSBVers<5) SSimg = CSFindElement(SSimgNom,0);
		else SSimg = document.images[SSimgNom];
SSstr=SSimg.src
SSn=SSstr.length
SSp=SSn-6
SSpstr=SSstr.substring(0,SSp)
SSnimg=SSstr.substring(SSp,SSp+2)
SSformat=SSstr.substring(SSp+2,SSn)
if (SSformat==".jpg" || SSformat==".JPG" || SSformat==".gif" || SSformat==".GIF")
{}
else
{
 alert("Image extension must be .jpg or .gif (case sensitive). Images must be numbered 01, 02 ...")
}
slide(SSmax,SSformat,SSpstr,SSnimg,SSimgNom,SSloop,SSpalin)
}
}
function slide(SSmax,SSformat,SSpstr,SSnimg,SSimgNom,SSloop,SSpalin)
{
if (SSsens2==true) {SSsens=true}
if (SSsens2==false) {SSsens=false}
if (SSsens==true) 
{
SSsuite=SSnumimg-1
	if (SSnumimg>SSmax)SSsuite=SSmax
	if (SSnumimg<=1 & SSloop==true & SSpalin!=true) { SSsuite=SSmax }
	if (SSnumimg<=1 & SSloop==true & SSpalin==true) { 
		if (SSsens2==-1 & SSsens3==-1) {SSsuite=SSmax;SSsens3=1} else { SSsuite=SSnumimg+1; SSsens2=false }}
	if (SSnumimg<=1 & SSloop!=true & SSpalin!=true) {
		if  (SSsens2==-1 & SSsens3==-1) { SSsuite=SSmax;SSsens3=1 } else {SSsuite=SSnumimg; SSfini()}}
}
else
{
SSmax=SSmax-1
SSsuite=SSnumimg+1
	if (SSnumimg>SSmax & SSloop==true & SSpalin!=true) { SSsuite=1}
	if (SSnumimg>SSmax & SSloop==true & SSpalin==true) {SSsuite=SSnumimg-1; SSsens2=true }
	if (SSnumimg>SSmax & SSloop!=true &  SSpalin!=true) { SSsuite=SSnumimg;SSfini() }
	if (SSnumimg<1) SSsuite=1
}
SSnumimg=SSsuite
if (SSsuite<10) {
	SSaller="0"+SSsuite
	}
	else SSaller=SSsuite
SSsource=SSpstr+SSaller+SSformat
var SSimg = null;
	if (document.images) {
		if (!IsIE()&&CSBVers<5) SSimg = CSFindElement(SSimgNom,0);
		else SSimg = document.images[SSimgNom];
		if (SSimg) SSimg.src = SSsource;
	}
}
function SSfini() {
}
function CSSlideShowAuto(action) 
{
SSAfini=0
SSAnumimg=0
SSAmax=action[2]
SSAimgNom=action[1]
SSAtemps=action[3]*1000
if (action[4]==true) 
		{
		SSAstop=true
		}
	else SSAstop=false
var SSAimg = null;
	if (document.images) {
		if (!IsIE()&&CSBVers<5) SSAimg = CSFindElement(SSAimgNom,0);
		else SSAimg = document.images[SSAimgNom];
str=SSAimg.src
n=str.length
p=n-6
SSApstr=str.substring(0,p)
SSAnimg=str.substring(p,p+2)
SSAformat=str.substring(p+2,n)
if (SSAformat==".jpg" || SSAformat==".JPG" || SSAformat==".gif" || SSAformat==".GIF")
{}
else
{
 alert("Image extension must be .jpg or .gif (case sensitive). Images must use 2 digit naming starting with 01, 02 ... plus extension")
}
if (SSAnimg.substring(0,1)=="0") 
{
SSAnumimg=Number(SSAnimg.substring(1,2))
}
else
{SSAnumimg=Number(SSAnimg)}
SSAtempo(SSAmax,SSAimgNom,SSAtemps,SSAstop,SSApstr,SSAnimg,SSAformat)
}
}
function SSAtempo(SSAmax,SSAimgNom,SSAtemps,SSAstop,SSApstr,SSAnimg,SSAformat)
{
setTimeout("slideAuto(SSAmax,SSAimgNom,SSAstop,SSApstr,SSAnimg,SSAformat)",SSAtemps)
}
function slideAuto(SSAmax,SSAimgNom,SSAstop,SSApstr,SSAnimg,SSAformat)
{
if (SSAfini==1) {
SSAnumimg = SSAnumimg-2
CSSlideShowAutoPause()
}
else 
{
SSAmax=SSAmax-1
SSAsuite=SSAnumimg+1
	if (SSAnumimg>SSAmax)
		{
		SSAsuite=1
		if (SSAstop==true) SSAfini=1
		else
		SSAfini=0
		}
	if (SSAnumimg<1) SSAsuite=1
SSAnumimg=SSAsuite
if (SSAsuite<10) {
	SSAaller="0"+SSAsuite
	}
	else SSAaller=SSAsuite
SSAsource=SSApstr+SSAaller+SSAformat
var SSAimg = null;
	if (document.images) {
		if (!IsIE()&&CSBVers<5) SSAimg = CSFindElement(SSAimgNom,0);
		else SSAimg = document.images[SSAimgNom];
		if (SSAimg) SSAimg.src = SSAsource;
	}
SSAtempo(SSAmax,SSAimgNom,SSAtemps,SSAstop,SSApstr,SSAnimg,SSAformat)
}
}
function CSSlideShowAutoPause() 
{}
function CSSlideShowAutoStop(action) 
{
if (SSAfini==0) SSAfini=1
else SSAfini=0 ; SSAnumimg = SSAnumimg+2 ;  slideAuto(SSAmax,SSAimgNom,SSAstop,SSApstr,SSAnimg,SSAformat)
}
// WBStickemUp.action v1.1.4 - September, 2001
// © Copyright 1999 by Walter Blady
// All rights reserved
var SUisIE = window.navigator.userAgent.indexOf("MSIE") > -1;
var SUW3C = document.getElementById ? true : false;
var SUisIE3 = navigator.appVersion.indexOf("MSIE 3") != -1;
var SUNewWind = new Object(), SUWindowObj, SUWindowName, SUParams = "", SUTimer = 0, SUTimerArray = new Array();
function WBStickemUp(action) {
	if (SUVersion() && action[1].length > 0) {
		SUWindowObj = action[1];
		SUWindowName = action[1] + "win";
		SUParams = "width=200,height=200,toolbar=no,location=no,directories=no,status=no,menubar=yes,scrollbars=no,favorites=no,resizable=yes";
		var screenWidth = screen.width;
		var screenHeight = screen.height;
		if (action[5] == 0) {
			var left = (screenWidth - (200+20))/2;
			var top = (screenHeight - (200+50))/2;
		}
		else if (action[5] == 1) {
			var left = 10;
			var top = 10;
		}
		else if (action[5] == 2) {
			var left = 10;
			var top = (screenHeight - (200+50));
		}
		else if (action[5] == 3) {
			var left = (screenWidth - (200+20));
			var top = 3;
		}
		else if (action[5] == 4) {
			var left = (screenWidth - (200+20));
			var top = (screenHeight - (200+50));
		}
		SUParams += (SUisIE || SUW3C) ? ",top=" + top + ",left=" + left : ",screenY=" + top + ",screenX=" + left;
		var SUMess = '<html><head>';
		SUMess += '<meta http-equiv="content-type" content="text/html;charset=ISO-8859-1">';
		SUMess += '<title>StickemUp!</title>';
		var screenHeight = screen.height;
		if (action[3] == 0) {
			var color = "#ffffff";
		}
		else if (action[3] == 1) {
			var color = "#ffff00";
		}
		else if (action[3] == 2) {
			var color = "#ffCCff";
		}
		else if (action[3] == 3) {
			var color = "#66ffff";
		}
		SUMess += '<script language="Javascript">function SUCloseWindow() { self.window.close(); return;}</' + 'script>';
		SUMess += '</head><body bgcolor="' + color + '">';
		SUMess += '<font size="' + (action[4]+3) + '">' + action[2] + '</font><p>';
		SUMess += '<p><a href="Javascript:void(SUCloseWindow())"><b>Close</b></a></p></body></html>';
		if (!SUNewWind[SUWindowObj] || SUNewWind[SUWindowObj].closed) {
			SUNewWind[SUWindowObj] = window.open("", action[1], SUParams);
			SUNewWind[SUWindowObj].document.open();
			SUNewWind[SUWindowObj].document.write(SUMess);
			SUNewWind[SUWindowObj].document.close();
		}
		else {
			SUNewWind[SUWindowObj].focus();
		}
		if (action[7] > 0 && SUWindowObj) {
			SUTimer = "SUCloseWind" + action[6] + "()";
			SUNewWind[SUWindowObj].value = setTimeout(SUTimer, action[7]*1000);
			SUTimerArray[action[6]] = SUNewWind[SUWindowObj];
		}
	}
	return;
}
function SUCloseWind0() {
	var windObj = SUTimerArray[0]
	if (SUisIE3) {
		windObj = window.open("", "tempName", SUParams);
	}
	if (windObj && !windObj.closed) {
		windObj.close();
	}
	return;
}
function SUCloseWind1() {
	var windObj = SUTimerArray[1]
	if (SUisIE3) {
		windObj = window.open("", "tempName", SUParams);
	}
	if (windObj && !windObj.closed) {
		windObj.close();
	}
	return;
}
function SUCloseWind2() {
	var windObj = SUTimerArray[2]
	if (SUisIE3) {
		windObj = window.open("", "tempName", SUParams);
	}
	if (windObj && !windObj.closed) {
		windObj.close();
	}
	return;
}
function SUCloseWind3() {
	var windObj = SUTimerArray[3]
	if (SUisIE3) {
		windObj = window.open("", "tempName", SUParams);
	}
	if (windObj && !windObj.closed) {
		windObj.close();
	}
	return;
}
function SUVersion() {
	return (navigator.appName.indexOf("Netscape") >= 0 && parseInt(navigator.appVersion.charAt(0)) >= 4)
          || (navigator.appName.indexOf("Explorer") >= 0 && parseInt(navigator.appVersion.charAt(0)) >= 4);
}
function CSStopAll(action) { CSStopComplete (); }
function CSStopScene(action) { CSStopFunction (action[1]); }
function CSStopSound (action) {if (eval('document.'+action[1])!=null) { eval ('document.' + action[1] + '.stop()');}}
// StyleDirect.action v1.1 - September, 2000
// © Copyright 1999 by Walter Blady
// All rights reserved.
function WBStyleDirect(action) {
	if (SDVersion()) {
		var compat = false;
		var uAgent = window.navigator.userAgent;
		var bappName = window.navigator.appName;
		var appVers = window.navigator.appVersion;
		var navBrow = new Array("Netscape", "Explorer", "AOL");
		if (navigator.appVersion.indexOf("Mac") != -1) {
			for (var i = 0; i < 3; i++) {
				if ((bappName.indexOf(navBrow[i]) > -1 || uAgent.indexOf(navBrow[i]) > -1) && !(bappName.indexOf("WebTV") > -1)) {
					if (action[i+1] != "(Empty Reference!)") {
						document.write('<LINK HREF="' + action[i+1] + '" REL="styleSheet" TYPE="text/css">');
						compat = true;
					}
				}
			}
		}
		else if (navigator.appVersion.indexOf("Win") != -1) {
			for (var i = 0; i < 3; i++) {
				if ((bappName.indexOf(navBrow[i]) > -1 || uAgent.indexOf(navBrow[i]) > -1) && !(bappName.indexOf("WebTV") > -1)) {
					if (action[i+4] != "(Empty Reference!)") {
						document.write('<LINK HREF="' + action[i+4] + '" REL="styleSheet" TYPE="text/css">');
						compat = true;
					}
				}
			}
		}
		else if (navigator.appVersion.indexOf("WebTV") != -1) {
			if (action[7] != "(Empty Reference!)") { 
				document.write('<LINK HREF="' + action[7] + '" REL="styleSheet" TYPE="text/css">');
				compat = true;
			}
		}
		if (!(compat) && action[8] != "(Empty Reference!)") {
			document.write('<LINK HREF="' + action[8] + '" REL="styleSheet" TYPE="text/css">');
		}
		return;
	}
}
function SDVersion() {
	return (navigator.appName.indexOf("Netscape") >= 0 && parseInt(navigator.appVersion.charAt(0)) >= 4)
          || (navigator.appName.indexOf("Explorer") >= 0 && parseInt(navigator.appVersion.charAt(0)) >= 4)
          || (navigator.appName.indexOf("WebTV") >= 0 && parseInt(navigator.appVersion.charAt(0)) >= 2);
}
// SuperAdCarousel.action v1.4.1 - September, 2001
// © Copyright 1999 by Walter Blady
// All rights reserved
var SACAdurl = new Object();
function WBSuperAdCarousel(action) {
	if (SACVersion() && document.images && action[1] != "" && action[2] > 0 && action[3] > 0) {
		var SACW3C = document.getElementById ? true : false;
		var adImg = null, count = action[3];
		if (count > 60) { 
			count = 60; 
		}
		if (window.navigator.userAgent.indexOf("MSIE") > 0 || SACW3C) {
			adImg = document.images[action[1]];
		}
		else {
			adImg = parseInt(navigator.appVersion.charAt(0)) > 3 ? SACFindImageObject(action[1],0) : document.images[action[1]];
		}
		var thisDate = new Date();
		var thisMin = thisDate.getMinutes() + 1;
		while (thisMin > count) {
			thisMin = thisMin - count
		}
		if (thisMin > 9) {
			advert = eval("SACAd" + action[2] + "_" + thisMin);
		}
		else {
			advert = eval("SACAd" + action[2] + "_0" + thisMin);
		}
		if (advert != null) {
			adImg.src = eval("advert()");
		}
	}
	return;
}
function SACFindImageObject(baseImage, thisLayer) {
	if (thisLayer) {
		var thisDocument = thisLayer.document;
	}
	else {
		var thisDocument = document;
	}
	var imageObj = thisDocument[baseImage];
	if (imageObj) {
		return imageObj;
	}
	else {
		for (var i = 0; i < thisDocument.layers.length; i++) {
			imageObj = SACFindImageObject(baseImage, thisDocument.layers[i]); 
			if (imageObj) {
				break;
			}
		}
	}
	return imageObj;
}
function SACVersion() {
	return (navigator.appName.indexOf("Netscape") >= 0 && parseInt(navigator.appVersion.charAt(0)) >= 3)
          || (navigator.appName.indexOf("Explorer") >= 0 && parseInt(navigator.appVersion.charAt(0)) >= 2);
}
// SuperFlipFlop.action v1.1 - June, 2000
// © Copyright 1999 by Walter Blady
// All rights reserved.
function WBSuperFlipFlop(action) { 
	if (SFFVersion()) {
		var isNav = false, isIE = false, scope = "", styleObj = "";
		if (navigator.appName.indexOf("Netscape") >= 0) {
			isNav = true;
		}
		else if (navigator.appName.indexOf("Explorer") >= 0){
			isIE = true;
			scope = "all.";
			styleObj = ".style";
		}
		for (var i = 1; i < 27; i = i + 5) {
			if (action[i].length > 0) {
				if (action[i+3].length > 0) {
					var params = eval(action[i+3] + ".document." + scope + action[i] + styleObj);
				}
				else {
					var params = eval("document." + scope + action[i] + styleObj);
				}
				if (action[i+1]) {
					if (isNav) {
						params.bgColor = action[i+2];
					}
					else if (isIE) {
						params.backgroundColor = action[i+2];
					}
				}
				if (action[i + 4]) {
					params.visibility = "visible";
				}
				else {
					params.visibility = "hidden";
				}
			}
		}
	}
	return;
}
function SFFVersion() {
	return (navigator.appName.indexOf("Netscape") >= 0 && parseInt(navigator.appVersion.charAt(0)) >= 4)
          || (navigator.appName.indexOf("Explorer") >= 0 && parseInt(navigator.appVersion.charAt(0)) >= 4);
}
function CSSVGredirect(action){   
	 if(navigator.mimeTypes && navigator.mimeTypes["image/svg-xml"] && navigator.mimeTypes["image/svg-xml"].enabledPlugin ) {
		location.href=action[1]
	}
	 else if (navigator.appName == "Microsoft Internet Explorer") {
       	x = confirm("The page you are trying to view requires the Adobe Scaling Vector Graphics (.SVG) browser plug-in. We could not detect if your browser has this plug-in installed. To attempt to view the page anyway, click OK. Otherwise click CANCEL to view an alternate page")
			if (x == true)  location.href=action[1] 
    }
	else if(action[2] == true) {
		alert(action[3])
	}         
}
		
// WBSwapFrameSet.action v1.2 - January, 2000
// © Copyright 1999 by Walter Blady
// All rights reserved.
function WBSwapFrameSet(action) { 
	if (SFVersion()) { 
	for (var i = 1; i <= 9; i = i + 2)
		if (action[i].length > 0 && action[i+1] != "(Empty Reference!)") {
			var params;
			params = eval(action[i] + ".window.location");
			params.href = action[i+1];
		}
 	}
	return;
}
function SFVersion() {
	return (navigator.appName.indexOf("Netscape") >= 0 && parseInt(navigator.appVersion.charAt(0)) >= 3)
          || (navigator.appName.indexOf("Explorer") >= 0 && parseInt(navigator.appVersion.charAt(0)) >= 2);
}
function CSSWFredirect(action) {    
    if(navigator.mimeTypes && navigator.mimeTypes["application/x-shockwave-flash"] && navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin) {
		location.href=action[1]
    }
   else if (navigator.appName == "Microsoft Internet Explorer") {
       	x = confirm("The page you are trying to view requires the Macromedia Flash (.SWF) browser plug-in. We could not detect if your browser has this plug-in installed. To attempt to view the page anyway, click OK. Otherwise click CANCEL to view an alternate page")
			if (x == true)  location.href=action[1] 
	}
	else if(action[2] == true) {
		alert(action[3])
	}         
}
// TagToggle.action v1.0 - Aug/1999
// © Copyright 1999 by Walter Blady
// All rights reserved.
function WBTagToggle(action) {
	if (TTVersion()) {
		document.body.onmouseover = newColor;
		document.body.onmouseout = oldColor;
		function newColor() {
			for (i = 1; i < 12; i = i + 5) {
				obj = event.srcElement;
				if (action[i].length > 0 && obj.tagName == action[i]) {
					if (action[i+1]) {
						obj.oldcol = obj.style.color;
						obj.style.color = action[i+2];
					}
					if (action[i+3]) {
						obj.oldcolb = obj.style.backgroundColor;
						obj.style.backgroundColor = action[i+4];
					}
				}
			}
		}
		function oldColor() {
			for (i = 1; i < 12; i = i + 5) {
				obj = event.srcElement;
				if (action[i].length > 0 && obj.tagName == action[i]) {
					if (action[i+1]) {
						obj.style.color = obj.oldcol;
					}
					if (action[i+3]) {
						obj.style.backgroundColor = obj.oldcolb;
					}
				}
			}
		}
	}
	return
}
function TTVersion() {
	return (navigator.appName.indexOf("Explorer") >= 0 && parseInt(navigator.appVersion.charAt(0)) >= 4);
}
function CSPAKtrg2frames(action) { 
	parent.frames[action[1]].location.href = action[2]
	parent.frames[action[3]].location.href = action[4]
 }
function CSPakRemote(action) { 
	if (TRversion()) {
		if (action[2].length < 1) {
			opener.location.href=action[1];
		}
		else {
			opener.parent.frames[action[2]].location.href=action[1];
		}
	}
	return;
}
function TRversion() {
	return (navigator.appName.indexOf("Netscape") >= 0 && parseInt(navigator.appVersion.charAt(0)) >= 3)
          || (navigator.appName.indexOf("Explorer") >= 0 && parseInt(navigator.appVersion.charAt(0)) >= 3);
}
function CStextswapID(action) {
(action[2] != "") ? (updateobject = action[2]) : (updateobject = action[1]);
(action[5] == true) ? (whichfunction = "disappear()") : (whichfunction = "revert()");
if(document.all) { originaltext = document.all(updateobject).innerHTML };
if(document.getElementById) { originaltext = document.getElementById(updateobject).innerHTML};
timeout = (action[4] != "") ? (action[4] * 1000) : 0;
if(document.getElementById) { originaltext = document.getElementById(updateobject).innerHTML};
timeout = (action[4] != "") ? (action[4] * 1000) : 0;
if (document.all)	 {  document.all(updateobject).innerHTML = action[6] + action[3] + action[7]; if (timeout != 0)  setTimeout(whichfunction,timeout); } 
	else { 	if (document.getElementById) { document.getElementById(updateobject).innerHTML = action[6] + action[3] + action[7];
			if (timeout != 0)   setTimeout(whichfunction,timeout)  }
		}
}
function disappear() {  if (document.all) { document.all(updateobject).innerHTML = "<div id=updateobject></div>" } 
	else { if (document.getElementById) { document.getElementById(updateobject).innerHTML = "" }
	}
}
function revert() { if (document.all) { document.all(updateobject).innerHTML = originaltext } 
	else { if (document.getElementById) { document.getElementById(updateobject).innerHTML = originaltext }
	}
}
// TimeImage.action v1.1.1 - August, 2001
// © 1999, Walter Blady
// All rights reserved
var TIisMac = window.navigator.userAgent.indexOf("Mac") != -1;
var TIisNav = navigator.appName.indexOf("Netscape") >= 0;
var TIisNav3 = TIisNav && parseInt(navigator.appVersion.charAt(0)) == 3;
var TIisIE3 = navigator.appVersion.indexOf("MSIE 3") != -1;
var TIisIE = navigator.appVersion.indexOf("MSIE") != -1;
var TIW3C = document.getElementById ? true : false;
var TILinkUp = new Object();
function WBTimeImage(action) {
	if (TIVersion() && document.images) {
		var thisDate = new Date();
		var thisHour = thisDate.getHours();
		thisHour += action[63] && TIisIE && TIisMac ? 1 : 0;
		thisHour += action[63] && TIisNav3 && TIisMac ? -1 : 0;
		var DSTadjust = action[63] && TIisNav && TIisMac ? 1 : 0
		if (action[61]) {
			thisHour = (thisHour + ((thisDate.getTimezoneOffset()/60) + DSTadjust - action[62]) + 24) % 24;
		}
		thisHour = thisHour < 10 ? "0" + thisHour : thisHour;
		var thisMinute = thisDate.getMinutes();
		thisMinute = thisMinute < 10 ? "0" + thisMinute : thisMinute;
		var thisTime = thisHour + ":" + thisMinute;
		var baseImage = null;
		for (var i = 1; i < 49; i = i + 5) {
			if (action[i].length > 0 && action[i+3] != "(Empty Reference!)") {
				if (action[i+1].length > 0 && action[i+2].length == 0 && thisTime >= action[i+1]) {
					baseImage = TIgetBase(action);
					newImage = action[i+3];
					newURL = action[i+4];
				}
				else if (action[i+1].length > 0 && action[i+2].length > 0 && thisTime >= action[i+1] && thisTime <= action[i+2]) {
					baseImage = TIgetBase(action, i);
					newImage = action[i+3];
					newURL = action[i+4];
				}
			}
		}
		if (baseImage) {
			baseImage.src = newImage;
			TILinkUp[action[i]] = newURL;
		}	
	}
	return;
}
function TIgetBase(action, i) {
	if (window.navigator.userAgent.indexOf("MSIE") > 0 || window.navigator.userAgent.indexOf("Netscape6") > 0) {
		var bImage = document.images[action[i]];
	}
	else {
		var bImage = parseInt(navigator.appVersion.charAt(0)) > 3 ? TIFindImageObject(action[i],0) : document.images[action[i]];
	}
	return bImage;
}
function TIFindImageObject(baseImage, thisLayer) {
	if (thisLayer) {
		var thisDocument = thisLayer.document;
	}
	else {
		var thisDocument = document;
	}
	var imageObj = thisDocument[baseImage];
	if (imageObj) {
		return imageObj;
	}
	else {
		for (var i = 0; i < thisDocument.layers.length; i++) {
			imageObj = TIFindImageObject(baseImage, thisDocument.layers[i]); 
			if (imageObj) {
				break;
			}
		}
	}
	return imageObj;
}
function TIVersion() {
	return (navigator.appName.indexOf("Netscape") >= 0 && parseInt(navigator.appVersion.charAt(0)) >= 3)
          || (navigator.appName.indexOf("Explorer") >= 0 && parseInt(navigator.appVersion.charAt(0)) >= 3);
}
function timeRedirect(action) {
var now = new Date();
var hours = now.getHours();
var timeValue = action[1];
if (timeValue >= 12) { timeValue = timeValue - 12; } /* deals with 24-hour time */
if (action[2] == true) { timeValue += 12; } /* deals with PM times */
if (hours < timeValue && action[4] != "(Empty Reference!)" && action[4] != "(EmptyReference!)" && action[3] == true) {
window.location = action[4]; }
if (hours >= timeValue && action[6] != "(Empty Reference!)" && action[6] != "(EmptyReference!)" && action[5] == true) {
window.location = action[6]; }
}
// TimedDateWindow.action v1.2.3 - August, 2001
// © 1999, Walter Blady
// All rights reserved
var TDWisIE3 = navigator.appVersion.indexOf("MSIE 3") != -1;
var TDWW3C = document.getElementById ? true : false;
var TDWNewWind, TDWDayFile = "";
function WBTimedDateWindow(action) {
	if (TDWVersion()) {
		var thisDate = new Date();
		var year = thisDate.getYear(), month = thisDate.getMonth()+1, day = thisDate.getDate();
		var DOWe = thisDate.getDay();
		if (month < 10) {
			month = "0" + month;
		}
		if (day < 10) {
			day = "0" + day;
		}
		var TDWDayFile = "";
		var TDWDayFile = (action[17].lastIndexOf("/") == action[17].length) ? TDWDayFile + action[17] + action[18] + year + month + day : TDWDayFile + action[17] + "/" + action[18] + year + month + day;
		TDWDayFile = (action[19].indexOf(".") != -1) ? TDWDayFile + action[19] : TDWDayFile + "." + action[19];
		var params = "";
		if (action[DOWe + 21]) {
			if (action[1]) {
				var timeOut = action[16] * 1000;
				if (action[2].length > 0) {
					windowName = action[2];
				}
				else {
					windowName = "newWindow";
				}
				params += action[3] > 0 ? "width=" + action[3] : ""; 
				params += action[4] > 0 ? ",height=" + action[4] : "";
				params += ",toolbar=" + (action[5] ? "1" : "0");
				params += ",location=" + (action[6] ? "1" : "0");
				params += ",directories=" + (action[7] ? "1" : "0");
				params += ",status=" + (action[8] ? "1" : "0");
				params += ",menubar=" + (action[9] ? "1" : "0");
				params += ",favorites=" + (action[10] ? "1" : "0");
				params += ",scrollbars=" + (action[11] ? "1" : "0");
				params += ",resizable=" + (action[12] ? "1" : "0");
				params += (TDWW3C) ? ",top=" + action[15] + ",left=" + action[16] : ",screenY=" + action[15] + ",screenX=" + action[16];
				TDWNewWind = window.open(TDWDayFile,windowName,params);
				if (action[15]) {
					var t = setTimeout("TDWCloseWind()", timeOut);
				}
			}
			else {
				var params;
				if (action[27].length < 1) {
					window.location.href = TDWDayFile;
				}
				else {
					params = eval(action[27] + ".window.location");
					params.href = TDWDayFile;
				}
			}
		}
	}
	return;
}
function TDWCloseWind() {
	if (TDWisIE3) {
		TDWNewWind = window.open(TDWDayFile,windowName,params);
	}
	if (TDWNewWind && !TDWNewWind.closed) {
		TDWNewWind.close();
	}
	return;
}
function TDWVersion() {
	return (navigator.appName.indexOf("Netscape") >= 0 && parseInt(navigator.appVersion.charAt(0)) >= 3)
          || (navigator.appName.indexOf("Explorer") >= 0 && parseInt(navigator.appVersion.charAt(0)) >= 2);
}
function CSTimeout (condition) {
	var result = false;
	if (typeof (gCurrentIdleObject) == "undefined")	return result;
	if (gCurrentIdleObject.lastTime) {
		var t=new Date();
		if (t.getTime() >= gCurrentIdleObject.lastTime) { 
			if (t.getTime() >= gCurrentIdleObject.nextTime) { 
				gCurrentIdleObject.lastTime = t.getTime() + condition[1]*1000;
				gCurrentIdleObject.nextTime = gCurrentIdleObject.lastTime + condition[1]*1000;
				return false;
			}
			return true;
		}
	} else { 
		var t=new Date();
		gCurrentIdleObject.lastTime = t.getTime() + condition[1]*1000;
		gCurrentIdleObject.nextTime = gCurrentIdleObject.lastTime + condition[1]*1000;
	}
	return result;
}
function CSvisits(action) {
mycookie = action[8]
cookieExpires = new Date
cookieExpires.setMonth(cookieExpires.getMonth() + 12)
visits = eval(cookieVal(mycookie))
visits++
document.cookie = mycookie+"="+visits+";expires=" + cookieExpires.toGMTString()
                
function cookieVal(cookieName) {
	thisCookie = document.cookie.split("; ")
		for (i=0; i<thisCookie.length; i++) {
			if (cookieName == thisCookie[i].split("=")[0]) {
			return thisCookie[i].split("=")[1]
			}
	}
 return 0
}
	if(visits == 1 && action[1] == true) alert(action[2])
	else
	if(action[5] == true) alert(action[3] + " " + visits)
	if(action[6] == true) {
		if(visits == action[7])
		alert(action[4])
		}
}
		
// VerifyForm.action v2.6 - July, 2001
// © Copyright 1999 by Walter Blady
// All rights reserved
var VFCorrectFlag, VFErrorMess, VFsent = false, VFListurl = "", VFPopUpurl, VFAction, VFTimeout, VFBlankForm;
function WBVerifyForm(action) {
	VFBlankForm = true;
	VFCorrectFlag = true;
	VFAction = action;
	VFPopUpurl = "";
	VFListurl = "";
	var IsNN6 = window.navigator.userAgent.indexOf("Netscape6") > 0;
	if (VFVersion()) {
		VFErrorMess = '<html> <head>'; 
		VFErrorMess += '<meta http-equiv="content-type" content="text/html;charset=ISO-8859-1">';
		VFErrorMess += '<title>VerifyForm Errors!</title>';
		VFErrorMess += '<script language="JavaScript1.2"> function VFCloseWindow() { self.window.close(); return; } </' + 'script>';
		VFErrorMess += '</head><body bgcolor="#ffffff">';
		VFErrorMess += "<p><b>Errors were found in your submission!</b></p>";
		var myForm = window.document[action[1]];
		if (navigator.appName == "Netscape" && !IsNN6 && action[2].length >0) {
			myForm = window.document[action[2]].document[action[1]];
		}
		for (var i = 0; i < myForm.length; i++) {
			if (myForm[i].type == "text" || myForm[i].type == "textarea" || myForm[i].type.type == "password") {
				if (myForm[i].value != "") {
					VFBlankForm = false;
					break;
				}
			}
			else if (myForm[i].type == "checkbox" || myForm[i].type == "radio") {
				if (myForm[i].checked) {
					VFBlankForm = false;
					break;
				}
			}
		}
		if (action[96]) {
			VFCorrectFlag = VFProfCheck(action, myForm);
		}
		for (var i = 3; i < 93; i = i + 6) {
			if (action[i] != "") {
				if (myForm[action[i]].type != "checkbox" || myForm[action[i]].type != "radio") {
					if (myForm[action[i]].type == "select-one") {
						eval("VF" + action[i+2] + "(action, i, myForm)");
						var trimLine = "";
					}
					else {
						var trimLine = myForm[action[i]].value;
						var trimStart = (trimLine.search(/\S/) != -1) ? trimLine.search(/\S/) : 0;
						var trimEnd = trimLine.search(/\b\s*$/) != -1 ? (trimLine.search(/\b\s*$/) - trimStart) : trimLine.length - trimStart;
						trimLine = trimLine.substr(trimStart, trimEnd);
						myForm[action[i]].value = trimLine;
					}
					if (trimLine != "" || action[i+2] == 1) {
						VFFieldModify = eval("VFCS" + action[i+4] + "(action, i, myForm)");
						VFCorrectFlag = (eval("VF" + action[i+2] + "(action, i, myForm)")) ? VFCorrectFlag : false;	
					}
					else if (action[i + 5]) {
						VFErrorMess += "Something must be entered in the <b>" + action[i+1] + "</b> field.<br>";
						VFCorrectFlag = false;
					}
				}
			}
		}
		if (!VFCorrectFlag || VFBlankForm) {
			if (VFBlankForm) {
				VFErrorMess += "You have not entered any information. This form will not be sent.<br>";
				VFCorrectFlag = false;
			}
			VFErrorMess += "<p><b>Please return to the order form page and check your entries, <br>then submit the form again.</b></p>";
			VFErrorMess += "<p>If you continue having problems, call the number at the bottom of our web page.</p>";
			VFErrorMess += '<p><a href="Javascript:void(VFCloseWindow())"><b>Close window</b></a></p></body></html>';
			var VFNewWindow = window.open("","VFnewWindow", "width=500,height=300,toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=yes");
			VFNewWindow.document.open();
			VFNewWindow.document.write(VFErrorMess);
			VFNewWindow.document.close();
		}
		else {
			if (action[93] && VFsent) {
				alert("You have already clicked the Submit button.\nPlease refresh or reload this page to submit again.");
				VFCorrectFlag = false;
			}
			else {
				document.forms[action[1]].submit();
				VFsent = true;
				if (VFPopUpurl != "" || VFListurl != "" || VFAction[94] != "(Empty Reference!)") {
					VFTimeout = setTimeout("VFGoUrl()", action[95] * 1000);
				}
			}
		}
	}
	return VFCorrectFlag;
}
function VFGoUrl() {
	clearTimeout(VFTimeout);
	if (VFPopUpurl != "") {
		window.location.href = VFPopUpurl;
	}
	else if (VFListurl != "") {
		window.location.href = VFListurl;
	}
	else if (VFAction[94] != "(Empty Reference!)") {
		window.location.href = VFAction[94];
	}
	return;
}
function VF0(action, i, myForm) {
	VFBlankForm = false;
	return VFCorrectFlag;
}
function VF1(action, i, myForm) {
	if (action[i+3] != "") {
		if ((myForm[action[i]].value != "" && myForm[action[i+3]].value == "") || (myForm[action[i]].value == "" && myForm[action[i+3]].value != "")) { 
			var secField = action[i+3];
			for (var j = 3; j < 93; j = j + 6) {
				if (action[j] == secField) {
					secField = action[j+1];
					break;
				}
			}
			VFCorrectFlag = false;
			VFBlankForm = false;
			VFErrorMess += "The <b>" + action[i+1] + "</b> and <b>" + secField + " </b>fields must both be filled in.<br>";
		}
	}
	return VFCorrectFlag;
}
function VF2(action, i, myForm) {
	if (myForm[action[i]].value.search(/\d+/g) > -1) {
		VFCorrectFlag = false;
		VFErrorMess += "Only letters are allowed in the <b>" + action[i+1] + "</b> field.<br>";
	}
	return VFCorrectFlag;
}
function VF3(action, i, myForm) {
	VFBlankForm = false;
	var regexpVF3 = new RegExp("^[0-9]+( [0-9]+)?$");
	if (!regexpVF3.test(myForm[action[i]].value)) {
		VFCorrectFlag = false;
		VFErrorMess += "Only numbers & spaces are allowed in the <b>" + action[i+1] + "</b> field.<br>";
	}
	return VFCorrectFlag;
}
function VF4(action, i, myForm) {
	if (action[i+3] != "") {
		VFBlankForm = false;
		if (myForm[action[i]].value.length != parseInt(action[i+3])) {
			VFCorrectFlag = false;
			VFErrorMess += "The <b>" + action[i+1] + "</b> field must have exactly " + action[i+3] + " characters.<br>";
		}
	}
	return VFCorrectFlag;
}
function VF5(action, i, myForm) {
	if (action[i+3] != "") {
		VFBlankForm = false;
		if (myForm[action[i]].value.length > parseInt(action[i+3])) {
			VFCorrectFlag = false;
			VFErrorMess += "The <b>" + action[i+1] + "</b> field must have no more than " + action[i+3] + " characters.<br>";
		}
	}
	return VFCorrectFlag;
}
function VF6(action, i, myForm) {
	if (action[i+3] != "") {
		VFBlankForm = false;
		var nameArray = myForm[action[i]].value.split(" ");
		if (nameArray.length > parseInt(action[i+3])) {
			VFCorrectFlag = false;
			VFErrorMess += "The <b>" + action[i+1] + "</b> field must have no more than " + action[i+3] + " words.<br>";
		}
	}
	return VFCorrectFlag;
}
function VF7(action, i, myForm) {
	if (action[i+3] != "") {
		VFBlankForm = false;
		if (myForm[action[i]].value.length < parseInt(action[i+3])) {
			VFCorrectFlag = false;
			VFErrorMess += "The <b>" + action[i+1] + "</b> field must have at least " + action[i+3] + " characters.<br>";
		}
	}
	return VFCorrectFlag;
}
function VF8(action, i, myForm) {
	if (action[i+3] != "") {
		VFBlankForm = false;
		var nameArray = myForm[action[i]].value.split(" ");
		if (nameArray.length < parseInt(action[i+3])) {
			VFCorrectFlag = false;
			VFErrorMess += "The <b>" + action[i+1] + "</b> field must have at least " + action[i+3] + " words.<br>";
		}
	}
	return VFCorrectFlag;
}
function VF9(action, i, myForm) {
	if (action[i+3] != "") {
		VFBlankForm = false;
		if (myForm[action[i]].value != myForm[action[i+3]].value) {
			VFCorrectFlag = false;
			myForm[action[i+3]].value = "";
			myForm[action[i]].value = "";
			VFErrorMess += "Your <b>Password</b> and <b>Verification</b> are different. Please enter them again.<br>";
		}
	}
	return VFCorrectFlag;
}
function VF10(action, i, myForm) {
	if (action[i+3] != "") {
		VFBlankForm = false;
		if (myForm[action[i]].value != action[i+3]) {
			VFCorrectFlag = false;
			VFErrorMess += "Your entry in the <b>" + action[i+1] + "</b> field is not correct.<br>";
		}
	}
	return VFCorrectFlag;
}
function VF11(action, i, myForm) {
	if (action[i+3] != "") {
		VFBlankForm = false;
		if (myForm[action[i]].value.toLowerCase().indexOf(action[i+3].toLowerCase()) == -1) {
			VFCorrectFlag = false;
			VFErrorMess += "Your entry in the <b>" + action[i+1] + "</b> field is not correct.<br>";
		}
	}
	return VFCorrectFlag;
}
function VF12(action, i, myForm) {
	VFBlankForm = false;
	var matchFlag = (action[i+3].toLowerCase() == "list") ? true : false;
	if (eval("VFList_" + 1 + "()") != null) {
		for (var j = 1; eval("VFList_" + j + "()").toLowerCase() != "<end>"; j++) {
			if (!matchFlag) {
				VFCorrectFlag = eval("VFList_" + j + "()").toLowerCase().indexOf(myForm[action[i]].value.toLowerCase()) > -1;
			}
			else {
				VFCorrectFlag = myForm[action[i]].value.toLowerCase().indexOf(eval("VFList_" + j + "()").toLowerCase()) > -1;
			}
			if (VFCorrectFlag) {
				break;
			}
		}
		if (!VFCorrectFlag) {
			VFErrorMess += "Your entry in the <b>" + action[i+1] + "</b> field is not correct.<br>";
		}
	}
	return VFCorrectFlag;
}
function VF13(action, i, myForm) {
	VFPopUpurl = myForm[action[i]].options[myForm[action[i]].selectedIndex].value;
	return VFCorrectFlag;
}
function VF14(action, i, myForm) {
	VFBlankForm = false;
	var periodInName =  myForm[action[i]].value.indexOf(".") >= 0;
	var nameArray = myForm[action[i]].value.split(" ");
	var wrongNumber = nameArray.length < 2 || nameArray.length > 3;
	for (var j = 0; j < nameArray.length; j++) {
		if (nameArray[j].length < 2) {
			var badNameLength = true;
			break;
		}
	}
	if (periodInName || badNameLength || wrongNumber) {
		VFCorrectFlag = false;
		VFErrorMess += "Please enter your <b>First & Last Name</b> in the <b>" + action[i+1] + "</b> field.<br>";
	}
	return VFCorrectFlag;
}
function VF15(action, i, myForm) {
	VFBlankForm = false;
	if (myForm[action[i]].value.search(/^\w+((\.|-)\w+)*@\w+((\.|-)\w+)*\.\w+$/) == -1) {
		VFCorrectFlag = false;
		VFErrorMess += "The <b>E-mail address</b> in the <b>" + action[i+1] + "</b> field is not properly formatted.<br>";
	}
	return VFCorrectFlag;
}
function VF16(action, i, myForm) {
	VFBlankForm = false;
	var urlArray = myForm[action[i]].value.split(/ +/g);
	var tempUrl = urlArray != null ? urlArray.join("") : myForm[action[i]].value;
	var regexpVF12 = new RegExp("^(ftp:\/\/|http:\/\/)");
	var goodFormat = regexpVF12.test(tempUrl);
	if (!goodFormat) {
		tempUrl = "http://" + tempUrl;
	}
	myForm[action[i]].value = tempUrl;
	return VFCorrectFlag;
}
function VF17(action, i, myForm) {
	if (action[i+3] != "") {
		VFBlankForm = false;
		var formatArray = action[i+3].split(/ +/g);
		formatArray = formatArray.join("");
		var cardArray = myForm[action[i]].value.split(/ +/g);
		cardArray = cardArray.join("");
		if (cardArray.search(/\D+/) < 0 && cardArray.length == formatArray.length) {
			var finalNumber = action[i+3];
			for (j = 0; j < formatArray.length; j++) {
				var finalNumber = finalNumber.replace(/#/, cardArray.substr(j, 1));
			}
			myForm[action[i]].value = finalNumber;
		}
		else {
			VFErrorMess += "Your entry in the <b>" + action[i+1] + "</b> field has not been properly entered.<br>";
			VFCorrectFlag = false;
		}
	}
	return VFCorrectFlag;
}
function VF18(action, i, myForm) {
	if (action[i+3] != "") {
		VFBlankForm = false;
		var finalNumber = "";
		var formatArray = action[i+3].split(/\(|- *|\) *| +/g);
		if (formatArray[0] == "") {
			formatArray.shift();
		}
		formatArray = formatArray.join("");
		var phoneArray = myForm[action[i]].value.split(/\(|- *|\) *| +/g);
		if (phoneArray[0] == "") {
			phoneArray.shift();
		}
		phoneArray = phoneArray.join("");
		if (phoneArray.search(/\D+/) < 0 && phoneArray.length >= formatArray.length) {
			var tempNo = action[i+3];
			var newNo = phoneArray.substr(phoneArray.length-formatArray.length, phoneArray.length);
			var remainder = phoneArray.substr(0, phoneArray.length-formatArray.length);
			for (j = 0; j < formatArray.length; j++) {
				var tempNo = tempNo.replace(/#/, newNo.substr(j, 1));
			}
			finalNumber = remainder.length > 0 ? remainder + " " + tempNo : tempNo;
			myForm[action[i]].value = finalNumber;
		}
		else {
			VFErrorMess += "The entry in the <b>" + action[i+1] + "</b> field has not been properly entered.<br>";
			VFCorrectFlag = false;
		}
	}
	return VFCorrectFlag;
}
function VF19(action, i, myForm) {
	if (action[i+3] != "") {
		VFBlankForm = false;
		var formatArray2 = action[i+3].split(/\/ *|- *|\. *|, *| +/g);
		formatArray = formatArray2.join("");
		var dateArray2 = myForm[action[i]].value.split(/\/ *|- *|\. *|, *| +/g);
		if (formatArray2.length > 1 && dateArray2.length > 1) {
			for (j = 0; j < formatArray2.length; j++) {
				dateArray2[j] = dateArray2[j].length < formatArray2[j].length ? "0" + dateArray2[j] : dateArray2[j];
			}
		}
		dateArray = dateArray2.join("");
		if (dateArray.search(/\D+/) < 0 && dateArray.length == formatArray.length) {
			var finalNumber = action[i+3].toLowerCase();
			for (j = 0; j < formatArray.length; j++) {
				var finalNumber = finalNumber.replace(/y|m|d/, dateArray.substr(j, 1));
			}
			myForm[action[i]].value = finalNumber;
		}
		else {
			VFErrorMess += "The entry in the <b>" + action[i+1] + "</b> field has not been properly entered.<br>";
			VFCorrectFlag = false;
		}
	}
	return VFCorrectFlag;
}
function VFCS0(action, i, myForm) {
	return VFCorrectFlag;
}
function VFCS1(action, i, myForm) {
	myForm[action[i]].value = myForm[action[i]].value.toUpperCase();
	return;
}
function VFCS2(action, i, myForm) {
	myForm[action[i]].value = myForm[action[i]].value.toLowerCase();
	return;
}
function VFCS3(action, i, myForm) {
	myForm[action[i]].value = myForm[action[i]].value.toLowerCase();
	myForm[action[i]].value = myForm[action[i]].value.replace(/\s+/g, " ");
	var nameArray = myForm[action[i]].value.split(" ");
	for (j = 0; j < nameArray.length; j++) {
		nameArray[j] = nameArray[j].substring(0, 1).toUpperCase() + nameArray[j].substring(1, nameArray[j].length);
	}
	myForm[action[i]].value = nameArray.join(" ");
	return;
}
function VFCS4(action, i, myForm) {
	var mf = eval(myForm[action[i]]);
	mf.value = mf.value.toLowerCase();
	mf.value = mf.value.replace(/ +/g, " ");
	mf.value = mf.value.substring(0, 1).toUpperCase() + mf.value.substring(1, mf.value.length);
	mf.value = mf.value.replace(/\si\s/g, " I ");
	mf.value = mf.value.replace(/\si'/g, " I'");
	var nameArray;
	nameArray = myForm[action[i]].value.split(/\.\ .|\?\ .|!\ .|\.\r+.|\?\r+.|!\r+./g);
	punctArray = myForm[action[i]].value.match(/\.\ .|\?\ .|!\ .|\.\r+.|\?\r+.|!\r+./g);
	stringA = nameArray[0];
	for (j = 0; j < punctArray.length; j++) {
		stringA += punctArray[j].toUpperCase() + nameArray[j+1];
	}
	mf.value = stringA;
	if (mf.value.search(/\s$/) != -1) {
		mf.value = myForm[action[i]].value.substring(0, (mf.value.length)-1);
	}
	return;	
}
function VFProfCheck(action, myForm) {
	if (eval("VFProfan()") != null) {
		var profList = VFProfan(), profFlag = false;
		var profArray = profList.split(/, */g);
		for (var i = 0; i < myForm.length; i++) {
			if (myForm[i].type == "text" || myForm[i].type == "textarea") {
				for (var j = 1; j < profArray.length; j++) {
					profFlag = myForm[i].value.toLowerCase().indexOf(profArray[j].toLowerCase()) > -1;
					if (profFlag) {
						var fieldDescr = "";
						for (var k = 3; k < 93; k = k + 6) {
							if (action[k] != "" && myForm[i].name == action[k]) {
								fieldDescr = action[k+1]
								break;
							}
						}
						fieldDescr = fieldDescr != "" ? fieldDescr : myForm[i].name;
						VFErrorMess += "You have entered inappropriate information in the <b>" + fieldDescr + " </b>field.<br>";
						VFCorrectFlag = false;
						if (action[96] && action[97] != "(Empty Reference!)") {
							window.location.href = action[97];
						}
					}
				}	
			}
		}
	}
	return VFCorrectFlag;
}
function VFVersion() {
	return (navigator.appName.indexOf("Netscape") >= 0 && parseInt(navigator.appVersion.charAt(0)) >= 4)
          || (navigator.appName.indexOf("Explorer") >= 0 && parseInt(navigator.appVersion.charAt(0)) >= 4);
}
function CSVisitorCookie(action) 
{
resultat = "visitor"
cookiename = action[1]
goUrl = action[2]
var arg = cookiename + "=";
  var alen = arg.length;
  var clen = document.cookie.length;
  var i = 0;
  while (i < clen) {
    var j = i + alen;
	   if (document.cookie.substring(i, j) == arg)
     return CSVisitorGetCookie (j);
    i = document.cookie.indexOf(" ", i) + 1;
    if (i == 0) break; 
  }
  VisitorSetCookie(cookiename)
  return null; 
}
function CSVisitorGetCookie (offset) {
  var endstr = document.cookie.indexOf (";", offset);
  if (endstr == -1) 
    endstr = document.cookie.length;
  valeur=unescape(document.cookie.substring(offset, endstr))
  if (valeur==resultat)
  VisitorGotoLink(goUrl)
  else
  VisitorSetCookie(cookiename)
}
function VisitorGotoLink(goUrl) {
location = goUrl
}
function VisitorSetCookie(cookiename) 
{
var value="visitor"
var jours=500*24
path="/"
domain=null
var expdate = new Date ();
expdate.setTime (expdate.getTime() + (jours * 60 * 60 * 1000));
SetCookie(cookiename,value,expdate)
}
function SetCookie (cookiename, value) {
  var argv = SetCookie.arguments;
  var argc = SetCookie.arguments.length;
  var expires = (argc > 2) ? argv[2] : null;
  var secure = (argc > 5) ? argv[5] : false;
  document.cookie = cookiename + "=" + escape (value) +
    ((expires == null) ? "" : ("; expires=" + expires.toGMTString())) +
    ((path == null) ? "" : ("; path=" + path)) +
    ((domain == null) ? "" : ("; domain=" + domain)) +
    ((secure == true) ? "; secure" : "");
}
// WBWindowTemplate.action v1.2.1 - August, 2001
// © Copyright 2000 by Walter Blady
// All rights reserved
var WTisNav4 = navigator.appName.indexOf("Netscape") >= 0 && parseInt(navigator.appVersion.charAt(0)) == 4;
var WTisIE4 = navigator.appVersion.indexOf("MSIE 4") >= 0;
var WTisIE = window.navigator.userAgent.indexOf("MSIE") > 0;
var WTW3C = document.getElementById ? true : false;
var WTNewWind = new Object(), WTWindowObj, WTParams = "", WTAction = "";
function WBWindowTemplate(action) {
	WTAction = action;
	if (WTVersion()) {
		if (action[1].length > 0 && action[2].length > 0 && action[15] != "(Empty Reference!)") {
			WTWindowObj = (action[1].length > 0 ? action[1] : "");
			var params = "";
			params += action[3] > 0 ? "width=" + action[3] : ""; 
			params += action[4] > 0 ? ",height=" + action[4] : "";
			params += ",toolbar=" + (action[5] ? "1" : "0");
			params += ",location=" + (action[6] ? "1" : "0");
			params += ",directories=" + (action[7] ? "1" : "0");
			params += ",status=" + (action[8] ? "1" : "0");
			params += ",menubar=" + (action[9] ? "1" : "0");
			params += ",favorites=" + (action[10] ? "1" : "0");
			params += ",scrollbars=" + (action[11] ? "1" : "0");
			params += ",resizable=" + (action[12] ? "1" : "0");
			params += (WTisIE) ? ",top=" + action[13] + ",left=" + action[14] : ",screenY=" + action[13] + ",screenX=" + action[14];
			WTParams = params;
			if (WTWindowObj.length <= 0) {
				window.open(action[15], action[2], params);
			}
			else if (!WTNewWind[WTWindowObj] || WTNewWind[WTWindowObj].closed) {
				WTNewWind[WTWindowObj] = window.open(action[15], action[2], params);
			}
			else if (WTNewWind[WTWindowObj]) {
				WTNewWind[WTWindowObj].focus();
				WTNewWind[WTWindowObj].location.href = action[15];
			}
			windowOb = WTNewWind[WTWindowObj], framePath = action[16];
			if (WTisIE) {
				if (action[16].length > 0) {
					inter = setInterval('t = eval("windowOb." + framePath + ".document"); if (t.readyState == "complete") { WTLoadImages(windowOb, WTAction, inter) }', 300);
				}
				else {
					inter = setInterval('t = windowOb.document; if (t.readyState == "complete") { WTLoadImages(windowOb, WTAction, inter) }', 300);
				}
			}
			else {
				if (action[16].length > 0) {
					inter = setInterval('t = eval("windowOb." + framePath + ".document"); t.captureEvents(Event.LOAD); t.onload = WTLoadImages(windowOb, WTAction, inter); t.releaseEvents(Event.LOAD)', 300);
				}
				else {
					inter = setInterval('t = windowOb.document; t.captureEvents(Event.LOAD); t.onload = WTLoadImages(windowOb, WTAction, inter); t.releaseEvents(Event.LOAD)', 300);
				}
			}
		}
	}
	return;
}
function WTLoadImages(windowOb, action, inter) {
	clearInterval(inter);
	for (var i = 17; i < 25; i = i + 2) {
		if (action[i].length > 0) {
			var imgObj = action[16].length > 0 ? WTFindImageObj(windowOb, action[16], action[i]) : WTFindImageObj(windowOb, "", action[i]);
			imgObj.src = action[i+1];
		}
	}
	var layerObj;
	var WTvis = (WTW3C || WTisIE4) ? "visible" : "show";
	for (var i = 25; i < 37; i = i + 3) {
		var visFlag = (action[i+2] == "(Empty Reference!)");
		if (visFlag && action[i].length > 0) {
			layerObj = action[16].length > 0 ? WTGetObject(windowOb, action[16], action[i], visFlag) : WTGetObject(windowOb, "", action[i], visFlag);
			if (layerObj) {
				layerObj.visibility = WTvis;
			}
		}
		if (WTisNav4 && action[i].length > 0 && action[i+2] != "(Empty Reference!)") {
			layerObj = action[16].length > 0 ? WTGetObject(windowOb, action[16], action[i], visFlag) : WTGetObject(windowOb, "", action[i], visFlag);
			if (layerObj) {
				layerObj.load(action[i+2], layerObj.clip.width);
			}
		}
		if ((WTisIE4 || WTW3C) && action[i+1].length > 0 && action[i+2] != "(Empty Reference!)") {
			layerObj = action[16].length > 0 ? WTGetObject(windowOb, action[16], action[i+1], visFlag) : WTGetObject(windowOb, "", action[i+1], visFlag);
			if (layerObj && layerObj.name == action[i+1]) { 
				layerObj.location.href = action[i+2]; 
			}
		}
	}
	return;
}
function WTGetObject(windowOb, path, obj, visFlag) {
	var params;
	if (WTisIE4) {
		if (path.length > 0) {
			if (visFlag) {
				params = eval("windowOb." + path + ".document.all." + obj + ".style");
			}
			else {
				params = eval('windowOb.' + path + '.' + obj);
			}
		}
		else {
			if (visFlag) {
				params = eval("windowOb.document.all." + obj + ".style");
			}
			else {
				params = eval('windowOb.' + obj);
			}
		}
	}
	else if (WTW3C) {
		if (path.length > 0) {
			if (visFlag) {
				params = eval('windowOb.' + path + '.document.getElementById("' + obj + '").style');
			}
			else {
				params = eval('windowOb.' + path + '.' + obj);
			}
		}
		else {
			if (visFlag) {
				params = eval('windowOb.document.getElementById("' + obj + '").style');
			}
			else {
				params = eval('windowOb.' + obj);
			}
		}
	}
	else {
		if (path.length > 0) {
			params = WTFindLayerObject(windowOb, obj, 0, path);
		}
		else {
			params = WTFindLayerObject(windowOb, obj, 0, "");
		}
	}
	return params;
}
function WTFindLayerObject(windowOb, layer, thisLayer, frameName) {
	if (frameName.length > 0) {
		var thisDocument = thisLayer ? windowOb.thisLayer.document : eval("windowOb." + frameName + ".document");
	}
	else {
		var thisDocument = thisLayer ? windowOb.thisLayer.document : windowOb.document;
	}
	var layerObj = thisDocument[layer];
	if (!layerObj) {
		for (var i = 0; i < thisDocument.layers.length; i++) {
			layerObj = WTFindLayerObject(windowOb, layer, thisDocument.layers[i], frameName);
			if (layerObj) {
				break;
			}
		}
	}
	return layerObj;
}
function WTFindImageObj(windowOb, path, obj) {
	if (WTisIE || WTW3C) {
		if (path.length > 0) {
			baseImage = eval("windowOb." + path + ".document.images[obj]");
		}
		else {
			baseImage = windowOb.document.images[obj];
		}
	}
	else {
		if (path.length > 0) {
			baseImage = WTFindElement(windowOb, obj, 0, path);
		}
		else {
			baseImage = WTFindElement(windowOb, obj, 0, "");
		}
	}
	return baseImage;
}
function WTFindElement(windowOb, baseImage, thisLayer, frameName) {
	if (frameName.length > 0) {
		var thisDocument = thisLayer ? windowOb.thisLayer.document : eval("windowOb." + frameName + ".document");
	}
	else {
		var thisDocument = thisLayer ? windowOb.thisLayer.document : windowOb.document;
	}
	var imageObj = thisDocument[baseImage];
	if (imageObj) {
		return imageObj;
	}
	else {
		for (var i = 0; i < thisDocument.layers.length; i++) {
			imageObj = WTFindElement(windowOb, baseImage, thisDocument.layers[i], frameName); 
			if (imageObj) {
				break;
			}
		}
	}
	return imageObj;
}
function WTVersion() {
	return (navigator.appName.indexOf("Netscape") >= 0 && parseInt(navigator.appVersion.charAt(0)) >= 4)
          || (navigator.appName.indexOf("Explorer") >= 0 && parseInt(navigator.appVersion.charAt(0)) >= 4);
}
function CSStartWipe (action)
{
	var el=CSCreateTransElement (action[1], action[2]);
	if (el==null) return;
	var dir=action[3];
	if (dir=="_inLeft") {el.steps=el.clipRect.width/el.maxValue; el.modus="in";}
	else if (dir=="_inRight") {el.steps=el.clipRect.width/el.maxValue; el.modus="in";}
	else if (dir=="_outLeft") {el.steps=el.clipRect.width/el.maxValue; el.modus="out";}
	else if (dir=="_outRight") {el.steps=el.clipRect.width/el.maxValue; el.modus="out";}
	else if (dir=="_inTop") {el.steps=el.clipRect.height/el.maxValue; el.modus="in";}
	else if (dir=="_inBottom") {el.steps=el.clipRect.height/el.maxValue; el.modus="in";}
	else if (dir=="_outTop") {el.steps=el.clipRect.height/el.maxValue; el.modus="out";}
	else if (dir=="_outBottom") {el.steps=el.clipRect.height/el.maxValue; el.modus="out";}
	else if (dir=="_inCenter") {el.HSteps=el.clipRect.width/el.maxValue; el.VSteps=el.clipRect.height/el.maxValue; el.modus="in";}
	else if (dir=="_outCenter") {el.HSteps=el.clipRect.width/el.maxValue; el.VSteps=el.clipRect.height/el.maxValue; el.modus="out";}
	if (el.modus=="") return;
	el.currentValue=0;
	el.glDir=action[3];
	CSStartFunction(CSDoWipe,el);
}
function CSDoWipe (info)
{
	var el = info.data;
	if (el==null) return false;
	if (el.currentValue==el.maxValue) { CSFinishWipe(el); return false; }
	var r = new CSRect(el.clipRect.left,el.clipRect.top,el.clipRect.width,el.clipRect.height);
	var dir=el.glDir;
	if (dir=="_inLeft") {r.left=r.width-el.currentValue*el.steps;}
	else if (dir=="_inTop") {r.top=r.height-el.currentValue*el.steps;}
	else if (dir=="_inRight") {r.width=el.currentValue*el.steps;}
	else if (dir=="_inBottom") {r.height=el.currentValue*el.steps;}
	else if (dir=="_outLeft") {r.width=r.width-el.currentValue*el.steps;}
	else if (dir=="_outTop") {r.height=r.height-el.currentValue*el.steps;}
	else if (dir=="_outRight") {r.left=el.currentValue*el.steps;}
	else if (dir=="_outBottom") {r.top=el.currentValue*el.steps;}
	else if (dir=="_inCenter") {r=CSCenterRectIn(el,r);}
	else if (dir=="_outCenter") {r=CSCenterRectOut(el,r);}
	CSSetLayerClip(el,r);
	el.currentValue+=1;
	return true;
}
function CSFinishWipe (el)
{
	if (el.modus=="in") CSSetLayerClip(el,el.clipRect);
	else { 
		el.clipRect=new CSRect(0,0,el.width,el.height); 
		CSSetLayerClip(el,el.clipRect); 
		CSSetStyleVis(el.layer,0);
	}
	CSDisposeTransElement(el);
}
function CSCenterRectIn(el,r)
{
	var hValue= el.currentValue*el.HSteps/2;
	var vValue= el.currentValue*el.VSteps/2;
	r.left=Math.round(r.left+r.width/2-hValue); 
	r.top=Math.round(r.top+r.height/2-vValue); 
	r.width=Math.round(hValue*2);
	r.height=Math.round(vValue*2);
	return r;
}
function CSCenterRectOut(el,r)
{
	var hValue= el.currentValue*el.HSteps/2;
	var vValue= el.currentValue*el.VSteps/2;
	r.left+=Math.round(hValue); 
	r.top+=Math.round(vValue); 
	r.width-=Math.round(hValue*2);
	r.height-=Math.round(vValue*2);
	return r;
}
function CSshowtime(action) { 
message = action[1]
military = action[2]
offset = action[3] 
dst = action[4]
statuscheck = action[5]
formcheck = action[6]
form = action[7];
elem = action[8];
var dstoffset = 0
theTimer = setTimeout("theClock()",10);
} 
    
function theClock() {   
clearTimeout(theTimer);
var now = new Date();
var correct = now.toGMTString();
time_string = correct.split(' ');
hm = time_string[4];
hm_string = hm.split(':');
var hours = hm_string[0] - 0;
var suffix = " A.M."
if (dst == true) dstoffset = 1
hours = hours + offset + dst;
	if (hours < 0) hours +=24	
	if (hours > 11 && hours < 24)  suffix = " P.M."
	if (hours > 12 && military == false) hours -=12;
	
var minutes = now.getMinutes();
var timeValue12 = "" + ((hours > 12) ? hours -12 : hours)
if (timeValue12 == 0) timeValue12 = 12
var timeValue24 = "" + ((hours > 23) ? hours -24 : hours)
timeValue12 += ((minutes < 10) ? ":0" : ":") + minutes
timeValue12 += suffix
timeValue24 += ((minutes < 10) ? ":0" : ":") + minutes
	if(military == false)  {
	WorldTime = message + timeValue12;
	} else { 
	WorldTime = message + timeValue24
	}  
	if(statuscheck == true)  window.status = WorldTime
	if(formcheck == true)  document.forms[form].elements[elem].value  = WorldTime
theTimer = setTimeout("theClock()",5000);
}
// Y2KSecureCheck.action v1.0 - January, 2000
// © Copyright 1999 by Walter Blady
// All rights reserved.
var Y2KSNewWind = new Object(), Y2KSWindowObj;
function WBY2KSecureCheck(action) {
	if (Y2KSVersion()) {
		bVersion = Y2KSBrowser();
		if (bVersion != "") {
			Y2KSWindowObj = (action[1].length > 0 ? action[1] : "");
			var params = "", goToURL = "";
			var timeOut = action[14] * 1000;
			params += "width=" + action[4] + ",height=" + action[5];
			params += ",toolbar=" + (action[6] ? "1" : "0");
			params += ",location=" + (action[7] ? "1" : "0");
			params += ",directories=" + (action[8] ? "1" : "0");
			params += ",status=" + (action[9] ? "1" : "0");
			params += ",menubar=" + (action[10] ? "1" : "0");
			params += ",scrollbars=" + (action[11] ? "1" : "0");
			params += ",resizable=" + (action[12] ? "1" : "0");
			if (bVersion == "NNvers") {
				goToURL = action[15];
			}
			else if (bVersion == "IEvers") {
				goToURL = action[16];
			}
			else if (bVersion == "WTvers") {
				goToURL = action[17];
			}
			if (goToURL != "(Empty Reference!)") {
				if (Y2KSWindowObj.length <= 0) {
					window.open(goToURL,action[2],params);
					}
				else if (!Y2KSNewWind[Y2KSWindowObj] || Y2KSNewWind[Y2KSWindowObj].closed) {
					Y2KSNewWind[Y2KSWindowObj] = window.open(goToURL,action[2],params);
				}
				else if (Y2KSNewWind[Y2KSWindowObj] && !action[12]) {
					Y2KSNewWind[Y2KSWindowObj] = window.open(goToURL,action[2],params);
				}
					if (action[13] && Y2KSWindowObj) {
					var t = setTimeout("Y2KSCloseWind()", timeOut);
				}
			}
		}
	}
	return;
}
function Y2KSCloseWind() {
	if (Y2KSNewWind[Y2KSWindowObj] && !Y2KSNewWind[Y2KSWindowObj].closed) {
		Y2KSNewWind[Y2KSWindowObj].close();
	}
	return;
}
function Y2KSBrowser() {
	var bAgent = window.navigator.userAgent;
	var bAppName = window.navigator.appName;
	var NNvers = 0.0, IEvers = 0.0, WTvers = 0.0, bVersion = "";
	if (bAppName.indexOf("Netscape") >= 0 && !(bAppName.indexOf("WebTV") >= 0)) {
		NNvers = parseFloat(navigator.appVersion.substring(0,4));
		if (NNvers <= 4.05) {
			bVersion = "NNvers";
		}
	}
	if (bAppName.indexOf("Explorer") >= 0) {
		IEvers = parseFloat(navigator.appVersion.substring(navigator.appVersion.indexOf("MSIE")+5,navigator.appVersion.indexOf("MSIE")+8));
		if (IEvers == 4.5 && bAgent.indexOf("Mac") > -1) {
			bVersion = "IEvers";
		}
	}
	if (bAppName.indexOf("WebTV") >= 0) {			
		WTvers = parseFloat(navigator.appVersion.substring(navigator.appVersion.indexOf("WebTV")+6,navigator.appVersion.indexOf("WebTV")+9));
		if (IEvers <= 2.2 && bAgent.indexOf("Mac") > -1) {
			bVersion = "WTvers";
		}
	}
	return(bVersion);
}
function Y2KSVersion() {
	return (navigator.appName.indexOf("Netscape") >= 0 && parseInt(navigator.appVersion.charAt(0)) >= 3)
          || (navigator.appName.indexOf("Explorer") >= 0 && parseInt(navigator.appVersion.charAt(0)) >= 2)
          || (navigator.appName.indexOf("WebTV") >= 0 && parseInt(navigator.appVersion.charAt(0)) >= 3);
}
/* EOF */

