// -- Adobe GoLive JavaScript Library// -- Global Functions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 (!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 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;}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; }/* bugs? suggestions? email me <mailto:chay@uiuc.edu> * uses: *	The Central Randomizer 1.3 (C) 1997 by Paul Houle (paul@honeylocust.com) *	See:  http://www.honeylocust.com/javascript/randomizer.html */if ((Math.random==null) ||    ((navigator.appName.indexOf("Netscape")>=0) &&     (navigator.appVersion.charAt(0)=="2") &&     (navigator.userAgent.indexOf("X")==-1))) {	rnd.today=new Date();	rnd.seed=rnd.today.getTime();}function rnd() {	if ((Math.random==null) ||	    ((navigator.appName.indexOf("Netscape")>=0) &&	     (navigator.appVersion.charAt(0)=="2") &&	     (navigator.userAgent.indexOf("X")==-1))) {		rnd.seed = (rnd.seed*9301+49297) % 233280;		return rnd.seed/(233280.0);	} else { return Math.random(); }}function rand(number) {	return Math.ceil(rnd()*number);}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;}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() {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) {	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 changeImages() {	d = document;	if (d.images) {		var img;		for (var i=0; i<changeImages.arguments.length; i+=2) {			img = null;			if (d.layers) {img = findElement(changeImages.arguments[i],0);}			else {img = d.images[changeImages.arguments[i]];}			if (img) {img.src = changeImages.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// AdCarousel.action v1.2.7 - July, 2003// © Copyright 1999 by Walter Blady// All rights reservedvar ACAdvert = new Object(), ACthisSec = null;function WBAdCarousel(action) {	if (ACVersion() && action[13] != "") {		var adImg = null, count = 0;		var ACW3C = document.getElementById ? true : false;		while (action[count+1].indexOf("Reference!") == -1  && action[count+1] != "#" && count <= 11) {			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]];		}		if (ACthisSec == null) {			var thisDate = new Date();			var ACthisSec = thisDate.getSeconds();		}		ACAdvert[action[13]] = (Math.floor(ACthisSec/5) % count) + 1;		adImg.src = action[ACAdvert[action[13]]];	}	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);}// AdCarouselLinks.action v1.4.2 - July, 2003// © Copyright 1999 by Walter Blady// All rights reservedfunction WBAdCarouselLinks(action) {	var url = action[ACAdvert[action[14]]];	if (ACLVersion() && url.indexOf("Reference!") == -1 && url != "#") {		var params;		if (action[13].length < 1) {			window.location.href = url;		}		else {			if (action[13].toLowerCase().indexOf("blank") != -1) {				var ACNewWindow = window.open(url,"newWindow", "toolbar=yes,location=yes,directories=yes,status=yes,menubar=yes,personalbar=yes,scrollbars=yes,favorites=yes,resizable=yes");				return;			}			else {				params = eval(action[13] + ".window.location");			}			params.href = url;		}	}	return;}function ACLVersion() {	return (navigator.appName.indexOf("Netscape") >= 0 && parseInt(navigator.appVersion.charAt(0)) >= 3)          || (navigator.appName.indexOf("Explorer") >= 0 && parseInt(navigator.appVersion.charAt(0)) >= 2);}// CookieMaster.action v1.3.4 - June, 2003// © Copyright 2001 by Walter Blady// All rights reservedvar CMTimeout = 0, CMCookieObject, CMJumpURL, CMPairsDelim, CMFieldDelim, CMAction;function WBCookieMaster(action) {	if (CMVersion()) {		var appendDelim = action[19];		CMPairsDelim = action[21];		CMFieldDelim = action[22];		CMAction = action;		var cookieCrumbs = "", formPairs = action[20];		if (action[1] == 0 && action[2] != "") {			cookieCrumbs = CMGatherValues(action, formPairs);			CMSetCookie(action, cookieCrumbs);			CMCookieAction(action, cookieCrumbs);		}		else if (action[1] == 1 && action[2] != "") {			cookieCrumbs = CMGetCookie(action[2], 1);			cookieCrumbs += cookieCrumbs != "" ? appendDelim : cookieCrumbs;			cookieCrumbs += CMGatherValues(action, formPairs);			CMSetCookie(action, cookieCrumbs);			CMCookieAction(action, cookieCrumbs);		}		else if (action[1] == 2 && action[2] != "") {			cookieCrumbs = CMGetCookie(action[2], 1);			if (cookieCrumbs) {				cookieCrumbs += appendDelim + CMGetCookie(action[14], 1);			}			CMSetCookie(action, cookieCrumbs);			CMCookieAction(action, cookieCrumbs);		}		else if (action[1] == 3) {			cookieCrumbs = CMGetCookie("all", 0);			if (cookieCrumbs) {				cookieCrumbs = CMSearchCookie(action, cookieCrumbs);				if (cookieCrumbs) {					cookieCrumbs = CMDelimitCookie(action, cookieCrumbs);					CMCookieAction(action, cookieCrumbs);				}			}		}		else if (action[1] == 4 && action[2] != "") {			cookieCrumbs = CMGetCookie(action[2], 0);			if (cookieCrumbs) {				cookieCrumbs = CMSearchCookie(action, cookieCrumbs);				if (cookieCrumbs) {					cookieCrumbs = CMDelimitCookie(action, cookieCrumbs);					CMCookieAction(action, cookieCrumbs);				}			}		}		else if (action[1] == 5 && action[2] != "") {			cookieCrumbs = CMGetCookie(action[2], 0);			if (cookieCrumbs) {				cookieCrumbs = CMSearchCookie(action, cookieCrumbs);				if (cookieCrumbs) {					cookieCrumbs = CMDelimitCookie(action, cookieCrumbs);				}			}			else {				cookieCrumbs = CMGatherValues(action, formPairs);				CMSetCookie(action, cookieCrumbs);			}			CMCookieAction(action, cookieCrumbs);		}		else if (action[1] == 6 && action[2] != "" && document.cookie != "") {			CMCookieObject = new CMCookie(document, action[2], "0", action[4], action[5], action[6]);			CMCookieObject.removeCookie();		}		else if (action[1] == 7 && action[2] != "" && action[7] != "" && document.cookie != "") {			CMCookieObject = new CMCookie(document, action[2], action[3], action[4], action[5], action[6]);			CMCookieObject.loadCookie(false);			CMCookieObject.removeProperty(action[7]);			CMCookieAction(action, cookieCrumbs);		}		else if (action[1] == 8 && action[2] != "" && document.cookie != "") {			cookieCrumbs = CMGetCookie(action[2], 0, true);			CMCookieAction(action, cookieCrumbs);		}	}	return;}function CMSetCookie(action, cookieCrumbs){	cookieCrumbs = cookieCrumbs.replace(/\;/, escape(";"));	cookieCrumbs = cookieCrumbs.replace(/\,/, escape(","));	cookieCrumbs = cookieCrumbs.replace(/\ /, escape(" "));	CMCookieObject = new CMCookie(document, action[2], action[3], action[4], action[5], action[6]);	CMCookieObject.storeCookie(cookieCrumbs);	return;}function CMGetCookie(cookieTarget, stripName, view) {	var cookieCrumbs = unescape(document.cookie);	if (cookieCrumbs && cookieTarget != "all") {		var cookieArray = cookieCrumbs.split("; ");		for (var i = 0; i < cookieArray.length; i++) {			if (cookieArray[i].indexOf(cookieTarget) != -1) {				CMCookieObject = new CMCookie(document, cookieTarget);				CMCookieObject.loadCookie(view);				cookieCrumbs = cookieArray[i];				if (stripName) {					cookieCrumbs = cookieArray[i].substr(cookieArray[i].indexOf("=")+1, (cookieArray[i].length - cookieArray[i].indexOf("=")+1)); 				}				break;			}		}	}	return cookieCrumbs;}function CMSearchCookie(action, cookieCrumbs) {	if (cookieCrumbs) {		var bool = "";		if (action[10] == 0) bool = " && ";		else if (action[10] == 1) bool = " || ";		else if (action[10] == 2) bool = " ! ";		var cookieArray = unescape(cookieCrumbs).split("; ");		cookieCrumbs = "";			for (var i = 0; i < cookieArray.length; i++) {			var s0 = true;			var s1 = eval("cookieArray[i].indexOf(action[9]) > -1");			var s2 = eval("cookieArray[i].indexOf(action[9]) < 0");			var s3 = eval("action[9] == cookieArray[i].substr(0, action[9].length)");			var s4 = eval("cookieArray[i] == action[9]");			var s5 = true;			var s6 = eval("cookieArray[i].indexOf(action[12]) > -1");			var s7 = eval("cookieArray[i].indexOf(action[12]) < 0");			var s8 = eval("action[12] == cookieArray[i].substr(0, action[12].length)");			var s9 = eval("cookieArray[i] == action[12]");			CMCorrectFlag = eval("s" + action[8] + bool + "s" + (action[11]+5));			if (CMCorrectFlag) {				cookieCrumbs += cookieCrumbs != "" ? "; " : cookieCrumbs;				cookieCrumbs += cookieArray[i];			}		}	}	return cookieCrumbs;}function CMCookieAction(action, cookieCrumbs) {	CMJumpURL = action[15];	if (action[13] == 0) {		if (CMAction[38]) alert(cookieCrumbs);	}	else if (action[13] == 1 && action[14] != "") {		var script = action[14], cookieName = action[2];		script = script.replace(/\(|\)/g, "");		if (CMAction[38]) alert(cookieCrumbs);		var doIt = eval(script + "(cookieName, cookieCrumbs)");	}	else if (action[13] == 2 && action[15].indexOf("Reference!") == -1) {		if (CMAction[38]) alert(cookieCrumbs);		CMGoURL();	}	else if (action[13] == 3) {		var internal = true;		if (CMAction[38]) alert(cookieCrumbs);		if (cookieCrumbs) CMSendCookie(action, cookieCrumbs, internal);	}	else if (action[13] == 4 && action[15].indexOf("Reference!") == -1) {		var internal = true;		if (CMAction[38]) alert(cookieCrumbs);		if (cookieCrumbs) CMSendCookie(action, cookieCrumbs, internal);		CMTimeout = setTimeout("CMGoURL()", action[16] * 1000);	}	return;}function CMGatherValues(action, formPairs) {	var value = action[7];	if (action[23] != "") {		var myForm = window.document[action[23]];		for (var i = 25; i <= 36; i++) {			if (action[i] != "") {				var field = myForm[action[i]];				var type = field.type;				value += value != "" ? CMPairsDelim : "";				if (type == "text" || type == "textarea" || type == "hidden" || type == "password") {					value += formPairs ? field.name + CMFieldDelim + field.value : field.value;				}				else if (type == "checkbox" || type == "radio") {					value += formPairs ? field.name + CMFieldDelim + field.checked : field.checked;				}				else if (type == "select-one") {					var fieldVal = action[37] ? field.selectedIndex : field.options[field.selectedIndex].value;					value += formPairs ? field.name + CMFieldDelim + fieldVal  : fieldVal;				}				else if (type == "select-multiple") {					for (var j = 0; j < field.length; j++) {						if (field[j].selected) {							value += value.lastIndexOf(CMPairsDelim) == (value.length-1) ? "" : CMPairsDelim;							var fieldVal = action[37] ? j : field[j].value;							value += formPairs ? field.name+j + CMFieldDelim + fieldVal : fieldVal;						}					}				}				else if (field.length > 0) {					for (var j = 0; j < field.length; j++) {						var fieldVal = action[37] ? j : field[j].value;						if (field[j].checked) {							value += formPairs ? field[j].name + CMFieldDelim + fieldVal : fieldVal;							break;						}					}				}			}		}	}	if (action[24].length != "") {		myForm[action[24]].value = value;	}	return value;}function CMDelimitCookie(action, cookieCrumbs) {	var data = "", quotes = "", CMCorrectFlag = false, endLine = "";	if (action[17] == 0) delim = "";	else if (action[17] == 1) delim = " ";	else if (action[17] == 2) delim = "; ";	else if (action[17] == 3) delim = escape("\n");	else if (action[17] == 4) delim = escape("\t");	else if (action[17] == 5) delim = ", ";	else if (action[17] == 6) {		delim = ', ';		quotes = '"';	}	var cookieArray = cookieCrumbs.split("; "), formPairs = action[20];	for (var i = 0; i < cookieArray.length; i++) {		if (action[18]) {			data += data != "" ? delim : data;			data += quotes + cookieArray[i] + quotes;		}		else {			cookieArray[i] = cookieArray[i].substring(cookieArray[i].indexOf("=")+1, cookieArray[i].length);			var pairsArray = cookieArray[i].split(CMPairsDelim);			for (var j = 0; j < pairsArray.length; j++) {				data += data != "" ? delim : data;				pairsArray[j] = pairsArray[j].replace(CMFieldDelim, "=");				if (formPairs) {					data += quotes + pairsArray[j] + quotes;				}				else {					data += quotes + pairsArray[j].substring(pairsArray[j].indexOf(action[22])+1, pairsArray[j].length) + quotes;				}			}		}	}	return data;}function CMGoURL() {	clearTimeout(CMTimeout);	window.location.href = CMJumpURL;	return;}function CMSendCookie(action, data, internal) {	if (action[23].length > 0) {		var myForm = window.document[action[23]];		if (action[24].length != "") {			myForm[action[24]].value = unescape(data);		}		if (internal) {			document.forms[action[23]].submit();		}	}	return;}new CMCookie();CMCookie.prototype.storeCookie = CMstoreCookie;CMCookie.prototype.loadCookie = CMloadCookie;CMCookie.prototype.removeCookie = CMremoveCookie;CMCookie.prototype.removeProperty = CMremoveProperty;function CMCookie(document, name, hours, path, domain, secure) {	this.$document = document;	this.$name = name;	if (hours) this.$expires = new Date(new Date().getTime() + hours*86400000);	else this.$expires = null;	if (path) this.$path = path; else this.$path = null;	if (domain) this.$domain = domain; else this.$domain = null;	if (secure) this.$secure = secure; else this.$secure = false;	return;}function CMstoreCookie(value) {	if (value == null) value = "";	for (var prop in this) {		if (prop.charAt(0) == "$" || (typeof this[prop]) == "function") {			continue;		}		if (value != "") value += CMPairsDelim;		if (prop.substr(0, 5) != "CMval") value += prop + CMFieldDelim + escape(this[prop]);		else value += escape(this[prop]);	}	var cookie = this.$name + "=" + value;	if (this.$expires) cookie += "; expires=" + this.$expires.toGMTString();	if (this.$path) cookie += "; path=" + this.$path;	if (this.$domain) cookie += "; domain=" + this.$domain;	if (this.$secure) cookie += "; secure=" + secure;	if (CMAction[38]) alert(cookie);	this.$document.cookie = cookie;	return;}function CMloadCookie(view) {	if (view == null) view = false;	var cookies = this.$document.cookie;	if (cookies == "") return false;	var start = cookies.indexOf(this.$name + "=");	if (start == -1) return false;	start += this.$name.length + 1;	var end = cookies.indexOf(";", start);	if (end == -1) end = cookies.length;	var value = cookies.substring(start, end);	if (value == "") return true;	var subArray = value.split(CMPairsDelim);	for (var i = 0; i < subArray.length; i++) {		subArray[i] = subArray[i].split(CMFieldDelim);	}	var nam, val, n = 0, display = "";	display = 'These are the properties of the Cookie Object "' + this.$name + '":\n';	for (var i = 0; i < subArray.length; i++) {		if (subArray[i][1] != null) nam = subArray[i][0];		else { nam = "CMval" + n; n++; }		val = subArray[i][1] != null ? unescape(subArray[i][1]) : unescape(subArray[i][0]);		this[nam] = val;		display += nam + " = " + val + "\n";	}	if (view) alert(display);	return true;}function CMremoveCookie() {	var cookie = this.$name + "=";	if (this.$path) cookie += "; path=" + this.$path;	if (this.$domain) cookie += "; domain =" + this.$domain;	cookie += "; expires=Thu, 01-Jan-1970 00:00:01 GMT";	if (CMAction[38]) alert(cookie);	this.$document.cookie = cookie;	return;}function CMremoveProperty(property) {	if (property != null) {		for (var prop in this) {			if (prop.charAt(0) == "$" || typeof this[prop] == "function") {				continue;			}			if (property == prop) {				if (parseInt(navigator.appVersion.charAt(0)) >= 4) {					delete this[prop];				}				else {					this[prop] = void 0;				}				this.storeCookie("");			}		}	}	return;}function CMVersion() {	return (navigator.appName.indexOf("Netscape") >= 0 && parseInt(navigator.appVersion.charAt(0)) >= 3)          || (navigator.appName.indexOf("Explorer") >= 0 && parseInt(navigator.appVersion.charAt(0)) >= 2);}// 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] != "#") {					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);}// PassMaster.action v1.6.1 - July, 2001// © Copyright 1999 by Walter Blady// All rights reservedvar PMisIE4 = navigator.appVersion.indexOf("MSIE 4") >= 0;var PMW3C = navigator.userAgent.indexOf("Netscape6") > 0 || navigator.appVersion.indexOf("MSIE 5") >=0;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 != "(EmptyReference!)") {					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);}// ScrollIt.action v1.4.1 - August, 2001// © Copyright 2000 by Walter Blady// All rights reservedvar SIisNav4 = navigator.appName.indexOf("Netscape") >= 0 && parseInt(navigator.appVersion.charAt(0)) == 4;var SIisIE4 = navigator.appVersion.indexOf("MSIE 4") >= 0;var SIW3C = document.getElementById ? true : false;var SIrepeat = 0;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();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]].SIxOrig, SIBoxArray[action[6]].SIyOrig);			}			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);}// ShownTell.action v1.7 - February, 2002// © Copyright 1999 by Walter Blady// All rights reserved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 SnTW3C = document.getElementById ? true : false;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 SnTvis = (SnTW3C || SnTisIE4) ? "visible" : "show";var SnThid = (SnTW3C || SnTisIE4) ? "hidden" : "hide";function WBShownTell(action) {	if (SnTVersion()) {		SnTaction = action;		clearTimeout(SnTmouseTrapTimer);		if (action[2].length > 0) {			SnTboxObj = SnTgetObject(action[2]);			if (action[1] == 2) {				SnTboxObj.onmouseover = SnTMouseTrapTimerQuit;				SnTboxObj.onmouseout = SnTMouseTrap;				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]];				return;			}			else {				SnTboxObj.onmouseover = SnTMouseTrapTimerQuit;				SnTboxObj.onmouseout = SnTMouseTrap;				if (SnTW3C && !W3CinitFlag) {					var d = document.getElementsByTagName("div");					var s = document.getElementsByTagName("style");					for (var i = 0; i < s.length; i++) {						var html = (s[i].innerHTML);						html = html.replace(/:\s*#/g, ": ~");						html = html.substr(html.indexOf("#"), html.length);						var styleArray = html.split(/\*#|\*\.|#|[^\S]\.[^\S]/g);						for (var j = 0; j < styleArray.length; j++) {							if (styleArray[j] != "" && styleArray[j].toLowerCase().indexOf("position:") > -1) {								styleArray[j] = styleArray[j].replace(/~/g, "#");								styleArray[j] = styleArray[j].replace(/ *\}/g, "\}");								styleArray[j] = styleArray[j].substr(0, (styleArray[j].indexOf("}")+1));								var styleName = styleArray[j].substr(0, styleArray[j].indexOf("{"));								styleName = styleName.replace(/\s*/g, "");								var t = eval("d." + styleName + ".style");								styleArray[j] = styleArray[j].toLowerCase();								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*$/, "");									t[propertyName] = propertyValue;								}							}						}					}					W3CinitFlag = true;				}				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 SnTVersion() {	return (navigator.appName.indexOf("Netscape") >= 0 && parseInt(navigator.appVersion.charAt(0)) >= 4)          || (navigator.appName.indexOf("Explorer") >= 0 && parseInt(navigator.appVersion.charAt(0)) >= 4);}// WBShrinkWrapper.action v1.4.1 - January, 2004// © Copyright 2002 by Walter Blady// All rights reservedvar SWisWin = navigator.platform.indexOf("Win") > -1, SWwinHeightComp;var SWisNav4 = navigator.appName.indexOf("Netscape") > -1 && parseInt(navigator.appVersion.charAt(0)) == 4;var SWisIE4 = navigator.appVersion.indexOf("MSIE 4") > -1;var SWisIE = window.navigator.userAgent.indexOf("MSIE") > -1;var SWisOmniWeb = window.navigator.userAgent.indexOf("OmniWeb") > -1;var SWisSafari = window.navigator.userAgent.indexOf("Safari") > -1;var SWisOpera = window.navigator.userAgent.indexOf("Opera") > -1;var SWW3C = document.getElementById ? true : false;var SWNewWind = new Array(), SWsetDelay = 0, SWwindowObj, SWimageObj, SWprotectImageObj, SWwatermarkObj, SWleft, SWtop;var SWscreenWidth, SWscreenHeight, SWwinWidth = 0, SWwinHeight = 0, SWparams, SWwindowNam, SWaction;function WBShrinkWrapper(action) {	if (SWVersion() && action[4].indexOf("Reference!") == -1 && action[4] != "#") {		SWwinHeightComp = (SWisWin && SWisIE)|| SWisSafari || SWisOmniWeb || SWisOpera ? action[8] : 0;		SWaction = action;		SWwindowObj = "newWindowObject";		SWwindowNam = (action[2].length > 0 ? action[2] : "SWnewWindowName");		var windowTite = (action[3].length > 0 ? action[3] : "Shrink Wrapper");		SWparams = "";		SWscreenWidth = screen.width, SWscreenHeight = screen.height;		if (action[5] > 0) SWwinWidth = action[5];		if (action[6] > 0) SWwinHeight = action[6];		SWSetCoord(SWaction, SWwinWidth, SWwinHeight + SWwinHeightComp, SWscreenWidth, SWscreenHeight);		SWparams += "width=" + SWwinWidth;		SWparams += ",height=" + SWwinHeight;		SWparams += ",toolbar=0,location=0,directories=0,status=0,menubar=0,favorites=0,scrollbars=0";		SWparams += ",resizable=" + (SWisNav4 || action[7] ? "1" : "0");		SWparams += (SWisIE) ? ",top=" + SWtop + ",left=" + SWleft : ",screenY=" + SWtop + ",screenX=" + SWleft;		SWimageObj = "imageObject", SWprotectImageObj = "protectImage", SWwatermarkObj = "watermark";		var htmlContent = '<html><head>';		htmlContent += '<meta http-equiv="content-type" content="text/html;charset=ISO-8859-1">';		htmlContent += '<title>' + windowTite + '</title>';		htmlContent += '<style type="text/css" media="screen"><!--';		htmlContent += '#layer1 { position: absolute; z-index: 0; top: 0px; left: 0px; width: 100px; height: 100px; visibility: visible; display: block }';		if (action[13].indexOf("Reference!") == -1 && action[13] != "#") {			htmlContent += '#layer2 { position: absolute; z-index: 1; top: 0px; left: 0px; width: 100px; height: 100px; visibility: visible; display: block }';		}		if (action[14].indexOf("Reference!") == -1 && action[14] != "#") {			htmlContent += '#layer3 { position: absolute; z-index: 2; top: 0px; left: 0px; width: 100px; height: 100px; visibility: visible; display: block }';		}		if (action[12].indexOf("Reference!") == -1 && action[12] != "#") {			htmlContent += '#layer4 { position: absolute; z-index: 3; top: 10px; left: 10px; width: 68px; height: 16px; visibility: visible; display: block }';		}		htmlContent += '--></' + 'style>';		htmlContent += '<script language="Javascript">function SWCloseWindow() { self.window.close(); return;}</' + 'script>';		if (action[1] == 1) {			htmlContent += '</head><body bgcolor="#ffffff">';			htmlContent += '<div id="layer1"><img src="' + action[4] + '" name="' + SWimageObj + '"></div>';			if (action[13].indexOf("Reference!") == -1 && action[13] != "#") {				htmlContent += '<div id="layer2"><img src="' + action[13] + '" name="' + SWprotectImageObj + '"></div>';			}			if (action[14].indexOf("Reference!") == -1 && action[14] != "#") {				htmlContent += '<div id="layer3"><img src="' + action[14] + '" name="' + SWwatermarkObj + '"></div>';			}			if (action[12].indexOf("Reference!") == -1 && action[12] != "#") {				htmlContent += '<div id="layer4"><a href="Javascript:void(SWCloseWindow())"><img src="' + action[12] + '" alt="" width="68" height="16" border="0"></div></a>';			}		}		else if (action[1] == 0) {			htmlContent += '</head><body bgcolor="#ffffff" background="' + action[4] + '">';			if (action[14].indexOf("Reference!") == -1 && action[14] != "#") {				htmlContent += '<div id="layer3"><img src="' + action[14] + '" name="' + SWwatermarkObj + '" border="0"></div>';			}			if (action[12].indexOf("Reference!") == -1 && action[12] != "#") {				htmlContent += '<div id="layer4"><a href="Javascript:void(SWCloseWindow())"><img src="' + action[12] + '" alt="" width="68" height="16" border="0"></div></a>';			}		}		htmlContent += '</body></html>';		SWNewWind[SWwindowObj] = window.open("", SWwindowNam, SWparams);		SWNewWind[SWwindowObj].document.write(htmlContent);		SWNewWind[SWwindowObj].document.close();		if (action[1] == 0 && (SWW3C || SWisIE4)) {			SWNewWind[SWwindowObj].moveTo(SWleft, SWtop);			SWResizePage(SWwinWidth, SWwinHeight + SWwinHeightComp);		}		if (action[1] == 1) {			if (SWisIE || SWW3C) {				SWsetDelay = setInterval('if (SWNewWind[SWwindowObj].document.images[0].width >= 100) { SWGetImageObject() }', 50);			}			else {				SWsetDelay = setInterval('if (SWNewWind[SWwindowObj].document.layer1.document.images[0].width >= 100) { SWGetImageObject() }', 50);			}		}		else if (action[1] == 0 && action[14].indexOf("Reference!") == -1 && action[14] != "#") {			if (SWisIE || SWW3C) {				SWsetDelay = setInterval('if (SWNewWind[SWwindowObj].document.images[0].width >= 100) { SWCenterWatermark() }', 50);			}			else {				SWsetDelay = setInterval('if (SWNewWind[SWwindowObj].document.layer1.document.images[0].width >= 100) { SWCenterWatermark() }', 50);			}		}	}	SWNewWind[SWwindowObj].focus();	return;}function SWResizePage(width, height) {	if (SWisIE) {		SWNewWind[SWwindowObj].resizeTo(width, height);	}	else {		var temp = SWNewWind[SWwindowObj].innerWidth;		SWNewWind[SWwindowObj].innerWidth = temp-1;		if (SWNewWind[SWwindowObj].innerWidth == temp-1) {			SWNewWind[SWwindowObj].innerWidth = width;			SWNewWind[SWwindowObj].innerHeight = height;		}		else {			SWNewWind[SWwindowObj].resizeTo(width, height);		}	}	return;}function SWSetCoord(action, width, height, screenWidth, screenHeight) {	if (action[9] == 0) {		SWleft = (screenWidth - width)/2;		SWtop = (screenHeight - height)/2;	}	else if (action[9] == 1) {		SWleft = 0;		SWtop = 0;	}	else if (action[9] == 2) {		SWleft = 0;		SWtop = screenHeight - height - 12;	}	else if (action[9] == 3) {		SWleft = screenWidth - width - 12;		SWtop = 0;	}	else if (action[9] == 4) {		SWleft = screenWidth - width - 12;		SWtop = screenHeight - height - 12;	}	else if (action[9] == 5) {		SWleft = width+action[11]>screenWidth ? action[11]-(width+action[10]-screenWidth)-12 : action[11];		SWtop = height+action[10]>screenHeight ? action[10]-(height+action[10]-screenHeight)-12 : action[10];	}	return;}function SWGetImageObject() {	clearInterval(SWsetDelay);	if (SWisIE || SWW3C) {		var imgObj = SWNewWind[SWwindowObj].document.images[SWimageObj];		var protectImgObj = SWNewWind[SWwindowObj].document.images[SWprotectImageObj];		var watermarkObj = SWNewWind[SWwindowObj].document.images[SWwatermarkObj];	}	else {		var imgObj = SWFindImageObject(SWNewWind[SWwindowObj], SWimageObj, "layer1");		var protectImgObj = SWFindImageObject(SWNewWind[SWwindowObj], SWprotectImageObj, "layer2");		var watermarkObj = SWFindImageObject(SWNewWind[SWwindowObj], SWwatermarkObj, "layer3");	}	SWSetCoord(SWaction, imgObj.width, imgObj.height + SWwinHeightComp, SWscreenWidth, SWscreenHeight);	SWNewWind[SWwindowObj].moveTo(SWleft, SWtop);	SWResizePage(imgObj.width, imgObj.height + SWwinHeightComp);	SWNewWind[SWwindowObj].moveTo(SWleft, SWtop);	SWwinWidth = imgObj.width;	SWwinHeight = imgObj.height;	if (protectImgObj) { 		protectImgObj.width = imgObj.width;		protectImgObj.height = imgObj.height;	}	if (watermarkObj) {		SWSetCenter(watermarkObj, imgObj.width, imgObj.height);	}	return;}function SWCenterWatermark() {	clearInterval(SWsetDelay);	if (SWisIE || SWW3C) {		var watermarkObj = SWNewWind[SWwindowObj].document.images[SWwatermarkObj];	}	else {		var watermarkObj = SWFindImageObject(SWNewWind[SWwindowObj], SWwatermarkObj, "layer3");	}	SWSetCenter(watermarkObj, SWwinWidth, SWwinHeight + SWwinHeightComp);	return;}function SWSetCenter(watermarkImage, imageWidth, imageHeight) { 	var obj = SWGetObject("layer3");	watermarkImage.width = watermarkImage.width > imageWidth ? imageWidth : watermarkImage.width;	watermarkImage.height = watermarkImage.height > imageHeight ? imageHeight : watermarkImage.height;	var widthOffset = imageWidth - watermarkImage.width > 0 ? (imageWidth - watermarkImage.width) / 2 : 0;	var heighthOffset = (imageHeight - watermarkImage.height) / 2;	if (obj) SWScrollTo(obj, widthOffset, heighthOffset);	return;}function SWScrollTo(obj, x, y) {	if (SWW3C) {		obj.style.left = x + "px";		obj.style.top = y + "px";	}	else if (SWisIE4) {		obj.style.pixelLeft = x;		obj.style.pixelTop = y;	}	else {		obj.moveTo(x, y);	}	return;}function SWFindImageObject(newWindow, imgObj, thisLayer) {	if (newWindow.document[thisLayer] != null) {		var imgObj = newWindow.document[thisLayer].document[imgObj];	}	return imgObj;}function SWGetObject(objName) {	var params;	if (SWW3C) {		params = eval('SWNewWind[SWwindowObj].document.getElementById("' + objName + '")');	}	else if (SWisIE4) {		params = eval("SWNewWind[SWwindowObj].document.all." + objName);	}	else {		params = SWFindLayerObject(objName, 0);	}	return params;}function SWFindLayerObject(layer, thisLayer) {	if (thisLayer) {		var thisDocument = thisLayer.document;	}	else {		var thisDocument = SWNewWind[SWwindowObj].document;	}	var layerObj = thisDocument[layer];	if (layerObj) {		return layerObj;	}	else {		for (var i = 0; i < thisDocument.layers.length; i++) {			layerObj = SWFindLayerObject(layer, thisDocument.layers[i]); 			if (layerObj) {				break;			}		}	}	return layerObj;}function SWVersion() {	return (navigator.appName.indexOf("Netscape") >= 0 && parseInt(navigator.appVersion.charAt(0)) >= 4)          || (navigator.appName.indexOf("Explorer") >= 0 && parseInt(navigator.appVersion.charAt(0)) >= 4);}// StylesToDiv.action v1.0.8 - February, 2002// © Copyright 2001 by Walter Blady// All rights reservedvar STDW3C = document.getElementById ? true : false;var W3CinitFlag = false;function WBStylesToDiv(action) {	if (STDW3C) {		var d = document.getElementsByTagName("div");		var s = document.getElementsByTagName("style");		for (var i = 0; i < s.length; i++) {			var html = (s[i].innerHTML);			html = html.substr(html.indexOf("#"), html.length);			html = html.replace(/:\s*#/g, ": ~");			var styleArray = html.split(/\*#|\*\.|#|[^\S]\.[^\S]/g);			for (var j = 0; j < styleArray.length; j++) {				if (styleArray[j] != "" && styleArray[j].toLowerCase().indexOf("position:") > -1) {					styleArray[j] = styleArray[j].replace(/~/g, "#");					styleArray[j] = styleArray[j].replace(/ *\}/g, "\}");					styleArray[j] = styleArray[j].substr(0, (styleArray[j].indexOf("}")+1));					var styleName = styleArray[j].substr(0, styleArray[j].indexOf("{"));					styleName = styleName.replace(/\s*/g, "");					var t = eval("d." + styleName + ".style");					styleArray[j] = styleArray[j].toLowerCase();					var divName = eval("d." + styleName + ".id");					if (action[1] && (divName != styleName)) {						alert("This browser is reporting a name mismatch between the Style Object " + styleName + " and the Div Object " + divName);					}					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*$/, "");						t[propertyName] = propertyValue;					}				}			}		}		W3CinitFlag = true;	}	return;}// MindPalette Cascading Menu Action v1.0 by Nate Baldwin, www.mindpalette.comm, copyright 2003...function MPCascadeMenu(action) {var thisForm = action[1];var controlMenu = action[2];var compValue = action[3];var viewMenu = action[4];if (document.forms[thisForm].elements[controlMenu].options[document.forms[thisForm].elements[controlMenu].selectedIndex].value == compValue) {	document.forms[thisForm].elements[viewMenu].options.length = 0;	var labelArray = new Array();	var valueArray = new Array();	var n = 0;	for (i=5; i<44; i+=2) {		if (action[i] != "" && action[i] != "#" && action[i] != "EmptyReference!" && action[i] != "Empty Reference!" && action[i] != null) {			labelArray[n] = action[i];			if (action[i+1] != "") {				valueArray[n] = action[i+1];				} else {				valueArray[n] = action[i];				}			n++;			}		}	for(i=0; i<labelArray.length; i++) {		document.forms[thisForm].elements[viewMenu].options[i] = new Option(labelArray[i], valueArray[i]);		}	document.forms[thisForm].elements[viewMenu].options[0].selected = true;	}}// OUT Check Box Group Action 1.0// Script copyright 2000, OUT Media Design GmbH. All rights reserved.var OUTcheckBoxGroups = new Array();function OUTinitCBGroup(action) {	var cbGroup = null;	if (!OUTcheckBoxGroups[action[1]]){		OUTcheckBoxGroups[action[1]] = new Object();		OUTcheckBoxGroups[action[1]].boxes = new Array();		OUTcheckBoxGroups[action[1]].cboxes = new Array();	}	cbGroup = OUTcheckBoxGroups[action[1]];	cbGroup.name = action[1];	cbGroup.maxSelectable = action[2];	cbGroup.msgPrefix = action[3];	cbGroup.msgSuffix = action[4];	cbGroup.reselect=action[5]==1;	cbGroup.reset = OUTresetCBGroup;	cbGroup.checked = OUTcheckedCBGroup;	cbGroup.check = OUTaddCB;	cbGroup.uncheck = OUTremoveCB;	return true;}function OUTresetCBGroup() {	for (var i=0; i < this.boxes.length; i++) { this.boxes[i].checked = false; }}function OUTcheckedCBGroup() {	for (var i=0, cbCk =0; i < this.boxes.length; i++) { if (this.boxes[i].checked) cbCk++ ; } ; return cbCk;}function OUTremoveCB(cb) {	var newCB = new Array();	for (var i=0;i < this.cboxes.length; i++) { if (this.cboxes[i]!=cb) newCB[newCB.length]=this.cboxes[i]; }	this.cboxes = newCB;	cb.checked = false;	return cb;}function OUTaddCB(cb) {	if (this.checked() > this.maxSelectable) {	    // Exceeded the limit		if (this.reselect) {			this.uncheck(this.cboxes[0]);		} else {			alert(this.msgPrefix+this.maxSelectable+this.msgSuffix);			cb.checked = false;			return cb;		}	}	cb.checked = true;	this.cboxes[this.cboxes.length] = cb;	return cb;}// OUT Check Box Select Limit Action 1.0// Script copyright 2000, OUT Media Design GmbH. All rights reserved.function OUTlimitCheckedBoxes(action) {	var cbGroup=null, theCheckBox = document.forms[action[1]].elements[action[2]];	theCheckBox.OUTcbGroupN = action[3];	if (!OUTcheckBoxGroups[action[3]]) OUTinitCBGroup(new Array(action[3],1,"",""));	cbGroup = OUTcheckBoxGroups[action[3]];	cbGroup.boxes[cbGroup.boxes.length] = theCheckBox;	theCheckBox.OUTcbGroup = cbGroup;//	cbGroup.reset();	theCheckBox.onclick=OUTlimitCB;	return true;}function OUTlimitCB() {  // Limit the number of selected check boxes	var theCheckBox = this;	var cbGroup = theCheckBox.OUTcbGroup;	if (theCheckBox.checked)		cbGroup.check(theCheckBox);	else		cbGroup.uncheck(theCheckBox);}// Copy Field Value Action 1.02 by Nate Baldwin, mindpalette.com, copyright 2003...function MPCopyFieldValue(action) {	var thisForm = action[1];	for (n=2; n<=21; n+=2) {		if (action[n] != "") {			var mainField = action[n];			var copyField = action[n+1];			var mainIsArray = false;			mainFieldType = document.forms[thisForm].elements[mainField].type;			if (!mainFieldType) mainFieldType = document.forms[thisForm].elements[mainField][0].type;			copyFieldType = document.forms[thisForm].elements[copyField].type;			if (!copyFieldType) copyFieldType = document.forms[thisForm].elements[copyField][0].type;			with (document.forms[thisForm]) {				var mainValue = "";				if (mainFieldType == "text" || mainFieldType == "textarea")					mainValue = elements[mainField].value;				if (mainFieldType == "select-one")					mainValue = elements[mainField].options[elements[mainField].options.selectedIndex].value;				if (mainFieldType == "select-multiple") {					var x=0;					var selectArray = new Array();					for (i=0; i<elements[mainField].length; i++) {						if (elements[mainField].options[i].selected) {							selectArray[x] = elements[mainField].options[i].value;							x++;							}						}					if (x > 0) {						if (x == 1) mainValue = selectArray[0];							else {							mainValue = selectArray;							mainIsArray = true;							}						}					}				if (mainFieldType == "checkbox") {					if (elements[mainField].checked)						mainValue = elements[mainField].value;					}				if (mainFieldType == "radio") {					for (i=0; i<elements[mainField].length; i++) {						if (elements[mainField][i].checked) mainValue = elements[mainField][i].value;						}					}				if (copyFieldType == "text" || copyFieldType == "textarea") {					if (!mainIsArray) elements[copyField].value = mainValue;						else if (mainValue.length == 1) elements[copyField].value = mainValue[0]; 						else {						mainValueString = "";						for (i=0; i<mainValue.length; i++) {							if (mainValue[i] != "") {								if (mainValueString != "") mainValueString += ", ";								mainValueString += mainValue[i];								}							}						elements[copyField].value = mainValueString;						}					}				if (copyFieldType == "select-one") {					if (!mainIsArray) mainValueString = mainValue;						else mainValueString = mainValue[0];					for (i=0; i<elements[copyField].length; i++) {						if (elements[copyField].options[i].value == mainValueString)							elements[copyField].selectedIndex = i;						}					}				if (copyFieldType == "select-multiple") {					for (i=0; i<elements[copyField].length; i++) {						elements[copyField].options[i].selected = false;						}					if (!mainIsArray) {						for (i=0; i<elements[copyField].length; i++) {							if (elements[copyField].options[i].value == mainValue)								elements[copyField].selectedIndex = i;							}						} else {						for (x=0; x<mainValue.length; x++) {							for (i=0; i<elements[copyField].length; i++) {								if (elements[copyField].options[i].value == mainValue[x])									elements[copyField].options[i].selected = true;								}							}						}					}				if (copyFieldType == "checkbox") {					if (!mainIsArray) {						if (elements[copyField].value == mainValue)							elements[copyField].checked = true;						} else {						for (i=0; i<mainValue.length; i++) {							if (elements[copyField].value == mainValue[i])								elements[copyField].checked = true;							}						}					}				if (copyFieldType == "radio") {					if (!mainIsArray) {						for (i=0; i<elements[copyField].length; i++) {							if (elements[copyField][i].value == mainValue)								elements[copyField][i].checked = true;							}						} else {						var matchFound = false;						for (x=0; x<mainValue.length; x++) {							for (i=0; i<elements[copyField].length; i++) {								if (elements[copyField][i].value == mainValue[x]) {									if (matchFound == false) elements[copyField][i].checked = true;									matchFound = true;									}								}							}						}					}					} 			}		}	}// Count Field Input Action 1.0.1 by Nate Baldwin, www.mindpalette.comif (typeof MPFormCalcStoredVars == "undefined") var MPFormCalcStoredVars = new Array();function MPCFIMain2(a) {	with (document.forms[a[1]]) {		var input = elements[a[2]].value;		regexp = /\r\n/g;		input = input.replace(regexp, "\\n'");		if (a[3] == 0) {			var seps = new Array("\n", "\t", " ", "\r");			for (var n=0; n<a[12].length; n++) {				if (!MPCFIWhiteSpace(a[12].charAt(n))) seps[seps.length] = a[12].charAt(n);				}			var sepKey = new Array();			regexp = /\*/g;			input = input.replace(regexp, '!asterisk!');			var results = '';			var lastIsMatch = false;			for (var n=0; n<input.length; n++) {				var match = false;				for (var i=0; i<seps.length; i++) {					if (seps[i] == input.charAt(n)) {						if (a[13] && lastIsMatch) {							sepKey[sepKey.length-1] += input.charAt(n);							} else {							results += '*';							sepKey[sepKey.length] = input.charAt(n);							}						match = true;						lastIsMatch = true;						break;						}					}				if (!match) {					results += input.charAt(n);					lastIsMatch = false;					}				}			var temp = results.split('*');			if (temp.length > 0 && temp[temp.length-1] == '') temp = temp.slice(0, temp.length-1);			if (temp.length > 0 && temp[0] == '') temp = temp.slice(1);			var total = temp.length;			} else if (a[3] == 2) {			var total = 0;			for (var n=0; n<input.length; n++) {				if (!MPCFIWhiteSpace(input.charAt(n))) total++;				}			} else total = input.length;		if (a[4] > 0 && total > a[4]) {			if (a[5] != '') alert(a[5]);			if (a[3] == 0) {				temp = temp.slice(0, a[4]);				temp = temp.join('*');				var thisKey = 0;				var results = '';				for (var n=0; n<temp.length; n++) {					if (temp.charAt(n) == '*') {						results += sepKey[thisKey];						thisKey++;						} else results += temp.charAt(n);					}				regexp = /\!asterisk\!/g;				temp = results.replace(regexp, '*');				elements[a[2]].value = temp;				} else if (a[3] == 1) {				elements[a[2]].value = input.substr(0, a[4]);				} else {				var keep = 0;				var test = 0;				for (var n=0; n<input.length; n++) {					if (!MPCFIWhiteSpace(input.charAt(n))) test++;					keep++;					if (test >= a[4]) break;					}				elements[a[2]].value = input.substr(0, keep);				}			total = a[4];			}		var r1 = (a[7] == 1 && a[4] > 0) ? a[4] - total : total;		if (a[6] != '') elements[a[6]].value = r1+'';		}	var r2 = (a[9] == 1 && a[4] > 0) ? a[4] - total : total;	if (a[8] != '') MPCFIDivTextWrite(a[8], r2+'');	var r3 = (a[11] == 1 && a[4] > 0) ? a[4] - total : total;	if (a[10] != '') MPFormCalcStoredVars[a[7]] = total;	}function MPCFIDivTextWrite(div, text) {	if (document.layers) {		if (typeof eval("document."+div+".document") != "undefined") {			with (eval("document."+div+".document")) {				open();				write("<HTML><HEAD><\/HEAD><BODY>"+text+"<\/BODY><\/HTML>");				close();				}			}		} else if (document.all && typeof document.all[div] != "undefined") {		document.all[div].innerHTML = text;		} else if (document.getElementById && !document.all && typeof document.getElementById(div) != "undefined") {		document.getElementById(div).innerHTML = text;		}	}function MPCFIWhiteSpace(character) {	if (character == " " || character == "\t" || character == "\n" || character == "\r")		return true;		else return false;	}//-->// DropDownPopUp 1.2.5 by Nate Baldwin, www.mindpalette.comm, copyright 2002function MPDropPop(action) {	for (i=7; i<14; i++) {		if (action[i] == false) action[i] = "no"; else action[i] = "yes";		}	var posX = 0;	var posY = 0;	if (action[6] == true) {		posX = ((screen.availWidth/2)-(action[4]/2));		posY = ((screen.availHeight/2)-(action[5]/2));		} else {		posX = action[14];		posY = action[15];		}	if (action[4] > (screen.availWidth - 10)) action[4] = (screen.availWidth - 10);	if (action[5] > (screen.availHeight - 10)) action[5] = (screen.availHeight - 10);	var thisForm = action[1];	var thisMenu = action[2];		var thisURL = document.forms[thisForm].elements[thisMenu].options[document.forms[thisForm].elements[thisMenu].selectedIndex].value;	if (thisURL) {		if (thisURL != "" && thisURL != " " && thisURL != "#" && thisURL != "(EmptyReference!)" && thisURL != "(Empty Reference!)") {			var windowOptions = "";			windowOptions += "width=" + action[4];			windowOptions += ",height=" + action[5];			windowOptions += ",resizable=" + action[13];			windowOptions += ",scrollbars=" + action[7];			windowOptions += ",menubar=" + action[8];			windowOptions += ",toolbar=" + action[11];			windowOptions += ",directories=" + action[9];			windowOptions += ",location=" + action[12];			windowOptions += ",status=" + action[10];			windowOptions += ",left=" + posX;			windowOptions += ",top=" + posY;			window.open(thisURL, action[3], windowOptions);			}		}	}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();	theFormElem.style.backgroundColor = "#FFFFCC";	}  		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()			}		else if (action[4] != "" && theEntry.length != action[4]) {			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()			}		else if (action[4] != "" && theEntry.length != action[4]) {			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];						 		}			if ((total%10)!=0) {		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()}function CSFieldValidatePlus(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.focus();		theFormElem.select();	}  		function isEmpty() { 	for (i=0; i<document.forms[form].elements.length; i++) {	  		if (document.forms[form].elements[i].name.indexOf(elem) >=0) {	  			theEntry = document.forms[form].elements[i].value;	  			theFormElem = document.forms[form].elements[i];				if (theEntry == "") { 					theAlert();					break;				} 			}	}		}	function isNumber() { 		for (i=0; i<document.forms[form].elements.length; i++) {	  		if (document.forms[form].elements[i].name.indexOf(elem) >=0) {	  			theEntry = document.forms[form].elements[i].value;	  			theFormElem = document.forms[form].elements[i];				if (theEntry == "") { 				theAlert();				break;				} 						for (i=0; i<theEntry.length; i++) {  					if (theEntry.charAt(i) < "0" || theEntry.charAt(i) > "9") {  						badEntry = "notnumber"						} 					}  						if (badEntry == "notnumber") {				theAlert();				break;					}				else if (action[4] != "") {					requiredChars();				}				}		}	} 			function isAlpha() { 	for (i=0; i<document.forms[form].elements.length; i++) {	  		if (document.forms[form].elements[i].name.indexOf(elem) >=0) {	  			theEntry = document.forms[form].elements[i].value;	  			theFormElem = document.forms[form].elements[i];			if (theEntry == "") { 			theAlert();			break;			} 				for (i=0; i<theEntry.length; i++) {  			if (theEntry.charAt(i) >= "0" && theEntry.charAt(i) <= "9") {  				badEntry = "notalpha"				} 			}  				if (badEntry == "notalpha") {		theAlert();		break;			}			else if (action[4] != "") {			requiredChars();		}			}		}	} 					function requiredChars() {	for (i=0; i<document.forms[form].elements.length; i++) {	  		if (document.forms[form].elements[i].name.indexOf(elem) >=0) {	  			theEntry = document.forms[form].elements[i].value;	  			theFormElem = document.forms[form].elements[i];	numofChars = theEntry.length		if (numofChars != action[4]) {			theAlert();			break;		} 	}		function exactString() {		if (theEntry != action[5]) {			theAlert();		} 		}		}	}			function validEmail() {		re = /^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,3})+$/  //invalid email			for (i=0; i<document.forms[form].elements.length; i++) {			if (document.forms[form].elements[i].name.indexOf(elem) >=0) {	  			theEntry = document.forms[form].elements[i].value;	  			theFormElem = document.forms[form].elements[i];				if (re.test(theEntry)) { 	// if its invalid					return true				}				theAlert();				return false			}		}	}		function validCC() { 	for (i=0; i<document.forms[form].elements.length; i++) {	  		if (document.forms[form].elements[i].name.indexOf(elem) >=0) {	  			theEntry = document.forms[form].elements[i].value;	  			theFormElem = document.forms[form].elements[i];	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];						 		}			if ((total%10)!=0) {		theAlert();		break;		}		}		}	}		function validURL() {	for (i=0; i<document.forms[form].elements.length; i++) {	  		if (document.forms[form].elements[i].name.indexOf(elem) >=0) {	  			theEntry = document.forms[form].elements[i].value;	  			theFormElem = document.forms[form].elements[i];		if (theEntry == "") { 			theAlert();			break;			} 		re = /^(http):\/\/\S+\.(\w){2,6}$/i			if (!(re.test(theEntry))) {				theAlert();				break;			}			}			}	}		function validPhone() {	for (i=0; i<document.forms[form].elements.length; i++) {	  		if (document.forms[form].elements[i].name.indexOf(elem) >=0) {	  			theEntry = document.forms[form].elements[i].value;	  			theFormElem = document.forms[form].elements[i];		if (theEntry == "") { 			theAlert();			break;			} 		rePhone = /^\(?(\d{3})\)?[\.\-\/ ]?(\d{3})[\.\-\/ ]?(\d{4})$/		validPhone = rePhone.exec(theEntry)		if (validPhone) {			document.forms[form].elements[elem].value = "(" + validPhone[1] + ") " + validPhone[2] + "-" + validPhone[3];		}		else {			theAlert();			break;		}		}		}	}		function validSSN() {	for (i=0; i<document.forms[form].elements.length; i++) {	  		if (document.forms[form].elements[i].name.indexOf(elem) >=0) {	  			theEntry = document.forms[form].elements[i].value;	  			theFormElem = document.forms[form].elements[i];		if (theEntry == "") { 			theAlert();			break;			} 		reSSN = /^(\d{3})[\.\-\/ ]?(\d{2})[\.\-\/ ]?(\d{4})$/		validSSN = reSSN.exec(theEntry)		if (validSSN) {			document.forms[form].elements[elem].value = validSSN[1] + "-" + validSSN[2] + "-" + validSSN[3];		}		else {			theAlert();			break;		}		}		}	}		function validDOB() {	for (i=0; i<document.forms[form].elements.length; i++) {	  		if (document.forms[form].elements[i].name.indexOf(elem) >=0) {	  			theEntry = document.forms[form].elements[i].value;	  			theFormElem = document.forms[form].elements[i];		if (theEntry == "") { 			theAlert();			break;			} 		reDOB = /^(\d{2})[\.\-\/ ]?(\d{2})[\.\-\/ ]?(\d{2})$/		validDOB = reDOB.exec(theEntry)		if (validDOB) {			document.forms[form].elements[elem].value = validDOB[1] + "/" + validDOB[2] + "/" + validDOB[3];		}		else {			theAlert();			break;		}		}		}	}	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()else if(type==7) validURL()else if(type==8) validPhone()else if(type==9) validSSN()else if(type==10) validDOB()}function focusFormField(action){target=eval ("document."+action[1]+"."+action[2])if (target){target.focus()}}// START FORM CALCULATOR 1.0.1 FUNCTIONS (www.mindpalette.com)if (typeof MPFormCalcStoredVars == "undefined") var MPFormCalcStoredVars = new Array();MPFormCalcStoredVars['val1var'] = 2000;MPFormCalcStoredVars['val2var'] = 6000;function MPFormCalcMain(action) {	var formName = action[1];	var field1 = MPFormCalcTrim(action[2]);	var static1 = action[3];	var var1 = action[4];	var operation = action[5];	var field2 = MPFormCalcTrim(action[6]);	var static2 = action[7];	var var2 = action[8];	var roundOff = action[9];	var forceDec = action[10];	var absVal = action[11];	var result_field = action[12];	var result_id = action[13];	var result_var = action[14];	var round_type = action[15];	var commas = action[16];	var minSet = action[17];	var minVal = parseFloat(action[18]);	var maxSet = action[19];	var maxVal = parseFloat(action[20]);	var go = true;	var numVal1 = 0;	var numVal2 = 0;	if (typeof document.forms[formName] == 'undefined') formName = 0;	if (typeof document.forms[formName] == 'undefined') go = false;	if (go) {		var thisForm = document.forms[formName];		numVal1 += MPFormCalcBuildNum(thisForm, field1, static1, var1);		if (action[6] != '' || static2 != '' || var2 != '') {			numVal2 += MPFormCalcBuildNum(thisForm, field2, static2, var2);			numVal1 = MPFormCalcDoOp(numVal1, operation, numVal2);			}		if (minSet && numVal1 < minVal) numVal1 = minVal;		if (maxSet && numVal1 > maxVal) numVal1 = maxVal;		if (roundOff != '') numVal1 = MPFormCalcRound(numVal1, roundOff, round_type);		if (absVal == true) numVal1 = Math.abs(numVal1);		if (commas == true || forceDec > 0) numVal1 = MPFormCalcFormatString(numVal1, forceDec, commas);		if (result_id != '') MPFormCalcDivText(result_id, numVal1);		if (result_var != '') MPFormCalcStoredVars[result_var] = numVal1;		if (result_field != '') thisForm.elements[result_field].value = numVal1;		}	}function MPFormCalcVarType(thisField) {	var fieldType = false;	if (typeof thisField.type != 'undefined') fieldType = thisField.type;	if (!fieldType) if (thisField[0].type != 'undefined') fieldType = 'group';	if (!fieldType) fieldType = 'undefined';	return fieldType;	}function MPFormCalcInArray(needle, haystack) {	results = false;	for (var n=0; n<haystack.length; n++) {		if (haystack[n] == needle) {			results = true;			break;			}		}	return results;	}function MPFormCalcTrim(inString) {	var frontIndex = 0;	var backIndex = inString.length - 1;	var trimList = new Array(" ", "\t", "\n", "\r");	while (MPFormCalcInArray(inString.charAt(frontIndex), trimList)) frontIndex++;	while (MPFormCalcInArray(inString.charAt(backIndex), trimList)) backIndex--;	return inString.substring(frontIndex, (backIndex + 1));	}function MPFormCalcTrimArray(thisArray) {	var results = new Array();	var count = 0;	for (var n=0; n<thisArray.length; n++) {		var thisVal = MPFormCalcTrim(thisArray[n]);		if (thisVal != '') {			results[count] = MPFormCalcTrim(thisArray[n]);			count++;			}		}	return results;	}function MPFormCalcDoOp(num1, operation, num2) {	results = 0;	if (operation == 1) results = num1 - num2;		else if (operation == 2) results = num1 * num2;		else if (operation == 3) results = num1 / num2;		else if (operation == 4) results = num1 + ((num2 / 100) * num1);		else if (operation == 5) results = num1 - ((num2 / 100) * num1);		else results = num1 + num2;	return results;	}function MPFormCalcGetNum(thisString) {	thisString = thisString+"";	var result = "";	var regEx =  /^[0-9.]/;	for (var n=0; n<thisString.length; n++) {		var thisChar = thisString.charAt(n);		if (regEx.test(thisChar)) result += thisChar;		}	if (result == '.' || result == 'NaN') result = 0;	result = (result == '') ? 0 : parseFloat(result);	if (result == "NaN") result = 0;	return result;	}function MPFormCalcBuildNum(thisForm, fields, staticVal, varVal) {	var numVal = 0;	numVal += MPFormCalcGetNum(staticVal);	if (varVal != '') {		if (typeof MPFormCalcStoredVars[varVal] != "undefined") numVal += MPFormCalcGetNum(MPFormCalcStoredVars[varVal]);		}	if (fields != '') {		fieldList = MPFormCalcTrimArray(fields.split(','));		for (var n=0; n<fieldList.length; n++) {			thisField = fieldList[n];			if (thisField != '' && typeof thisForm.elements[thisField] != 'undefined') thisField = thisForm.elements[thisField];			numVal += MPFormCalcFlatten(thisField);			}		}	return numVal;	}function MPFormCalcFlatten(passedField) {	var numVal = 0;	fieldArray = (MPFormCalcVarType(passedField) != "group") ? new Array(passedField) : passedField;	for (var n=0; n<fieldArray.length; n++) {		var thisField = fieldArray[n];		var fieldType = MPFormCalcVarType(thisField);		if (fieldType == "text" || fieldType == "textarea" || fieldType == "hidden" || fieldType == "password") {			numVal = MPFormCalcDoOp(numVal, 0, MPFormCalcGetNum(thisField.value));			} else if (fieldType == "select-one")			numVal = MPFormCalcDoOp(numVal, 0, MPFormCalcGetNum(thisField.options[thisField.options.selectedIndex].value));			else if (fieldType == "select-multiple") {			var thisSum = 0;			for (var i=0; i<thisField.length; i++) {				if (thisField.options[i].selected) {					var selection = MPFormCalcGetNum(thisField.options[i].value);					thisSum += selection;					}				}			numVal = MPFormCalcDoOp(numVal, 0, thisSum);			}			else if (fieldType == "checkbox" || fieldType == "radio") {			if (typeof thisField.length != "undefined") {				var thisSum = 0;				for (var i=0; i<thisField.length; i++) {					if (thisField[i].checked) thisSum += MPFormCalcGetNum(thisField[i].value);					}				numVal = MPFormCalcDoOp(numVal, 0, thisSum);				} else if (thisField.checked) {				numVal = MPFormCalcDoOp(numVal, 0, MPFormCalcGetNum(thisField.value));				}			}		}	return numVal;	}function MPFormCalcRound(number, places, type) {	var precision = (places != 0) ? Math.pow(10, Math.abs(places)) : 0;	if (places > 0) number = number * precision;		else if (places < 0) number = number / precision;	if (type == 2) number = Math.ceil(number);		else if (type == 1) number = Math.floor(number);		else number = Math.round(number);	if (places > 0) number = number / precision;		else if (places < 0) number = number * precision;	return number;	}function MPFormCalcSplitIntDec(number) {	string = number+'';	if (string.indexOf('.') > -1) var results = string.split('.');		else results = new Array(string, '');	return results;	}function MPFormCalcFormatString(number, force, commas) {	var string = number+"";	if (force > 0) {		var temp = MPFormCalcSplitIntDec(string);		var integer = temp[0];		var decimal = temp[1];		while (decimal.length < force) { decimal+="0" };		string = integer+'.'+decimal;		}	if (commas) {		var temp = MPFormCalcSplitIntDec(string);		var integer = temp[0];		var decimal = '.'+temp[1];		var last = (integer.length - 1);		if (last > 2) {			var results = "";			var n = last;			while (n>-1) {				x = 1;				while (x<4 && n>-1) {					results = string.charAt(n) + results;					n--;					x++;					}				if (n>-1) results = ','+results;				}			string = results+decimal;			}		}	return string;	}function MPFormCalcDivText(div, text) {	if (document.layers) {		if (typeof eval("document."+div+".document") != "undefined") {			with (eval("document."+div+".document")) {				open();				write("<"+"HTML"+"><"+"HEAD"+"><"+"/HEAD"+"><"+"BODY"+">"+text+"<"+"/BODY"+"><"+"/HTML"+">");				close();				}			}		} else if (document.all && typeof document.all[div] != "undefined") {		document.all[div].innerHTML = text;		} else if (document.getElementById && !document.all && typeof document.getElementById(div) != "undefined") {		document.getElementById(div).innerHTML = text;		}	}// END FORM CALCULATOR 1.0 FUNCTIONS//-->function CSFormCheck(action) {	var form = action[1];	var	field = action[2];	var testMe = document.forms[form].elements[field].value //value to test	var focusMe = document.forms[form].elements[field]  //so alert can focus on the offending field	var failed=false;//lets nest some functions	function empty() {		if (testMe == "") {		AlertUser()		}	}		function email() {		var reg1str = "(@.*@)|(\\.\\.)|(@\\.)|(\\.@)|(^\\.)";  //invalid email		var reg2str = "^.+\\@(\\[?)[a-zA-Z0-9\\-\\.]+\\.([a-zA-Z]{2,3}|[0-9]{1,3})(\\]?)$"; //valid email		var reg1 = new RegExp(reg1str);		var reg2 = new RegExp(reg2str); 	if (!reg1.test(testMe) && reg2.test(testMe)) { 	// if its valid		return (true);	}	AlertUser();	}		function phone() {		var reg1str ="^[0-9\\-\\(\\)\\.]{7,14}$";		var reg1 = new RegExp(reg1str);		if (reg1.test(testMe)) {			return (true);		}	AlertUser();	}		function ccnum() {  		// Encoding only works on cards with less than 19 digits		// code from Netscape's form validation script examples		// 18 Feb 97 created Eric Krock		if (testMe.length > 19)			AlertUser(); 		sum = 0; mul = 1; l = testMe.length;		for (i = 0; i < l; i++) {			digit = testMe.substring(l-i-1,l-i);			tproduct = parseInt(digit ,10)*mul;		if (tproduct >= 10)			sum += (tproduct % 10) + 1;		else			sum += tproduct;		if (mul == 1)			mul++;		else			mul--;		}		if ((sum % 10) == 0)			return (true);		else			AlertUser();	}		function ssnum() {		//check for valid social security number (xxx-xx-xxxx)		var reg1str = "^[0-9\\-]{9,11}$";		var reg1 = new RegExp(reg1str);		if (reg1.test(testMe)) {			return (true);			}		AlertUser();	}		function regex() {		var reg1 = new RegExp(action[4]);		if (reg1.test(testMe)) {			return (true);			}		AlertUser();	}		function digits() {		var reg1str = "^[0-9]+$";		var reg1 = new RegExp(reg1str);		if (reg1.test(testMe)) {			return (true);			}		AlertUser();	}		function alpha() {		var reg1str = "^[a-zA-Z]+$";		var reg1 = new RegExp(reg1str);		if (reg1.test(testMe)) {			return (true);			}		AlertUser();	}		function exactchars() {		if (testMe.length !=action[4]) {			AlertUser();			}	}		function AlertUser() {		alert(action[6]);		focusMe.select();		focusMe.focus();	}//which function to call	var whichtest=action[3];	if(whichtest==0) empty()	else if(whichtest==1) email()	else if(whichtest==2) phone()	else if(whichtest==3) ccnum()	else if(whichtest==4) ssnum()	else if(whichtest==5) regex()	else if(whichtest==6) digits()	else if(whichtest==7) alpha()	else if(whichtest==8) exactchars()}//The FormCookie 1.1 action written by Michael Ahgrenvar cookieName="CSFormCookieAction"var formName=""var days=0var test=falsevar expires=0function CSInitCookie(action){formName=action[1]actionFields=action[2]days=action[3]test=action[4]expires=action[3]*24*60*60*1000if (!action[5]){eval("document."+action[1]+".onsubmit=setC")}else{eval("document."+action[1]+".mySubmit.onmousedown=setC")}cString=readC(cookieName)if (cString!=null) writeField(cString)}function setC(){document.cookie=cookieName+"="+escape(extractField())+"; expires="+calcExp(expires).toGMTString()return true}function readC(name){var arg=name+"="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 getCookieVal(j)i=document.cookie.indexOf(" ",i)+1if (i==0) break}return null}function extractField(){var string=""fields=textFields()for (i=0;i< fields.length;i++){string+=eval("document."+formName+"."+fields[i]+".value")+";"}return string}function writeField(cString){cSplit=cString.split(";")fields=textFields()for(i=0;i< fields.length;i++){eval('document.'+formName+'.'+fields[i]+'.value="'+cSplit[i]+'"')}}function getCookieVal(offset){var endstr=document.cookie.indexOf(";",offset)if (endstr==-1)endstr=document.cookie.lengthreturn unescape(document.cookie.substring(offset,endstr))}function textFields(){fields=actionFields.split(",")return fields}function calcExp(data){if (test) data=1000*60*3 var exp=new Date()var myDate=exp.getTime()+dataexp.setTime(myDate)return exp}//End of FormCookie 1.1 action. // LinkToMenu Action 1.0 by Nate Baldwin, www.mindpalette.com, copyright 2003...function MPLinkToMenu(action) {var thisForm = action[1];var thisMenu = action[2];document.forms[thisForm].elements[thisMenu].options.length = 0;var labelArray = new Array();var valueArray = new Array();var n = 0;for (i=3; i<42; i+=2) {	if (action[i] != "" && action[i] != "#" && action[i] != "EmptyReference!" && action[i] != "Empty Reference!" && action[i] != null) {		labelArray[n] = action[i];		if (action[i+1] != "") {			valueArray[n] = action[i+1];			} else {			valueArray[n] = "(no value)"			}		n++;		}	}j = labelArray.length;for(i=0; i<j; i++) {	document.forms[thisForm].elements[thisMenu].options[i] = new Option(labelArray[i], valueArray[i]);	}document.forms[thisForm].elements[thisMenu].options[0].selected = true;}// OUT List Box Selection Limit Action 1.0// Script copyright 2000, OUT Media Design GmbH. All rights reserved.// Original JavaScript by David Shadovitzfunction OUTlistBoxLimit(action) {	var listBox = document.forms[action[1]].elements[action[2]];	listBox.OUTDSmaxSelectable = action[3];	listBox.OUTDSprevSelected = new Array();	listBox.OUTDSmsgPrefix  = action[4];	listBox.OUTDSmsgSuffix = action[5];	OUTDSresetListBox(listBox);	listBox.onchange=OUTDSlimitSelect;	return true;}/*  * The original JavaScript example was created by David Shadovitz for demonstration * in the Adobe GoLive Bible, a book written by Deborah Shadovitz and published by IDG Books. */function OUTDSresetListBox(listBox) {	for (var i=0; i < listBox.options.length; i++) {		listBox.options[i].selected = false;		listBox.OUTDSprevSelected[i] = false;	}}function OUTDSlimitSelect() {  // Limit the number of selections in a select box	var listBox = this;	var curSelected = new Array();	var numSelected = 0;	for (var i=0; i < listBox.options.length; i++) {		curSelected[i] = listBox.options[i].selected;		if (listBox.options[i].selected) { numSelected++ }	}	if (numSelected <= listBox.OUTDSmaxSelectable) {    // Haven't yet exceeded the limit		for (var i=0; i < listBox.options.length; i++) {			listBox.OUTDSprevSelected[i] = curSelected[i];		}	} else {    // Exceeded the limit		alert(listBox.OUTDSmsgPrefix+listBox.OUTDSmaxSelectable+listBox.OUTDSmsgSuffix);		for (var i=0; i < listBox.options.length; i++) {			listBox.options[i].selected = listBox.OUTDSprevSelected[i];		}	}}//PassWord Action v1.0. AardActions by Jim Aardvark. From a script by Nate Baldwin www.mindpalette.com. Copyright 2003. seanclayton@tinkers-inc.co.ukfunction JAGoToPage(action) {	var folderName = action[1];	if (folderName.charAt(folderName.length-1) != "/") folderName += "/";	var formName = action[2];	var fieldName = action[3];	function theAlert() { 	alert(action[4]);}	with (document.forms[formName]) {		if (elements[fieldName].value == "") {			theAlert()			} else {			elements[fieldName].value = elements[fieldName].value.toLowerCase();			window.location = folderName + elements[fieldName].value;			}		}	}// RadioToMenu Action v1.1 by Nate Baldwin, www.mindpalette.comm, copyright 2005...function MPRadioToMenu(action) {var thisForm = action[1];var controlBtn = eval("document."+thisForm+"."+action[2]);var compValue = action[3];var viewMenu = eval("document."+thisForm+"."+action[4]);var selectedOne = -1;for (x=0; x<controlBtn.length; x++) {	if (controlBtn[x].checked && controlBtn[x].value == compValue) {		selectedOne = x;		viewMenu.options.length = 0;		var labelArray = new Array();		var valueArray = new Array();		var n = 0;		for (i=5; i<44; i+=2) {			if (action[i] != "" && action[i] != "#" && action[i] != "EmptyReference!" && action[i] != "Empty Reference!" && action[i] != null) {				labelArray[n] = action[i];				if (action[i+1] != "") {					valueArray[n] = action[i+1];					} else {					valueArray[n] = action[i];					}				n++;				}			}		for(i=0; i<labelArray.length; i++) {			viewMenu.options[i] = new Option(labelArray[i], valueArray[i]);			}		viewMenu.options[0].selected = true;		}	}if (selectedOne > -1) setTimeout("MPUpdateRadioBtn2('"+action[1]+"', '"+action[2]+"', '"+selectedOne+"')", 100);}function MPUpdateRadioBtn2(thisForm, thisGroup, thisSelected) {	var thisRadio = eval("document."+thisForm+"."+thisGroup);	for (i=0; i<thisRadio.length; i++) {		thisRadio[i].checked = false;		}	thisRadio[thisSelected].checked = true;	}//-->//SubmitForm Action v1.0 AardActions by Jim Aardvark. Copyright 2003. seanclayton@tinkers-inc.co.ukfunction JAsubmitForm(action) {var thisForm = action[1]if (thisForm == "") thisForm = 0document.forms[thisForm].submit()}// OUT Text Input Count Limit Action 1.0// Script copyright 2000, OUT Media Design GmbH. All rights reserved.// CharCount and countReturnKey originally by SWang, 12/06/99function OUTfieldCount(action) {	var textField = document.forms[action[1]].elements[action[2]];	textField.OUTmaxChar = action[3];	textField.OUTmsgPrefix  = action[4];	textField.OUTmsgSuffix = action[5];	textField.OUTshowCharMethod = action[6]	textField.OUTshowCharLeftStatus=action[7];	textField.OUTshowCharLeftField=action[8];	textField.OUTcharLeftField=action[9] ? document.forms[action[1]].elements[action[9]] : null;	textField.onkeyup=OUTcharCount;	return true;}//--------------------------------------// Functions implemented for counting// characters in the textarea,text_area.// This implementation works only for// IE 4.0+ and Netscape 4.0+.// SWang01, 12-99-06---------------startfunction OUTcharCount(){	var textField = this;	var txtString=textField.value;	var rkCount=OUTcountReturnKey(txtString);	var strLength=txtString.length-rkCount;	if (strLength>textField.OUTmaxChar){		alert(textField.OUTmsgPrefix+textField.OUTmaxChar+textField.OUTmsgSuffix)		textField.value=txtString.substring(0,textField.OUTmaxChar + rkCount);		strLength=textField.value.length-rkCount;	}//	strLength = (txtString.charAt(txtString.length-1)!="\n") ? strLength : strLength-1;	var charLeft = textField.OUTshowCharMethod ? textField.OUTmaxChar-strLength : strLength;	if (textField.OUTshowCharLeftStatus) window.status=charLeft;	if (textField.OUTshowCharLeftField) textField.OUTcharLeftField.value=charLeft;}function OUTcountReturnKey(data){	var rkCount=0, dataLength=data.length;	for (var i=0; i<dataLength;i++){		if (data.charAt(i)=="\r") rkCount++;	}	return rkCount;}// SWang01, 12-99-06-----------------endvar textErrFlag=false // Copyright 2004 Michael Åhgren version: 1.3 var radioErrFlag=falsevar selectErrFlag=falsevar matchErrFlag=falsevar errMsg=nullvar color=""var radioArray=new Array()var selectArray=new Array()var radioCount=0var selectCount=0var colorTest=falsevar errColor=nullvar colorEnabled=falsefunction CSinitCheck(action){colorEnabled=action[10]textErrFlag=falseradioErrFlag=falseselectErrFlag=falseerrColor=action[8]var testForm=eval("document."+action[9])errFlag=falseaction[4]!="" ? errMsg=action[4]+"\n" : errMsg='The following problems have been detected:\n'for(var i=0; i< testForm.length;i++){var target=testForm.elements[i]	if (!document.layers){	!colorTest ? target.orgcol=target.style.backgroundColor : target.style.backgroundColor= target.orgcol	}	if(target.type=="select-one"|| target.type=="select-multiple"){	CSbuildSelectArray (testForm.elements[i])		target.size>1 ? target.unChecked=-1 : target.unChecked=-0	}	if(target.type=="radio") CSbuildRadioArray(target)			if(target.type=="text"|| target.type=="textarea"){	target.empty=false	}}colorTest=trueif(action[1]!=""){	var emptCheck=CSsplitFieldNames(action[1])	var times1=emptCheck.length	CSrunCheck(1,emptCheck,times1,testForm,action[10],action[7])}if(action[2]!=""){	var emailCheck=CSsplitFieldNames(action[2])	var times2=emailCheck.length	CSrunCheck(2,emailCheck,times2,testForm,action[10],action[5])}if(action[3]!=""){	var phoneCheck=CSsplitFieldNames(action[3])	var times3=phoneCheck.length	CSrunCheck(3,phoneCheck,times3,testForm,action[10],action[6])}if(action[11]!=""){	var radioCheck=CSsplitFieldNames(action[11])	for( i=0;i< radioCheck.length;i++){	CSradioTest(radioCheck[i],action[10],action[13])}}if (action[12]!=""){var selectCheck=CSsplitFieldNames(action[12])for( i=0;i< selectCheck.length;i++){CSselectTest(selectCheck[i],action[10],action[14])}selectCount=0}if (action[15]!=""){CSmatchField(action)}if (textErrFlag || radioErrFlag || selectErrFlag || matchErrFlag){alert(errMsg)}else{testForm.submit()}}function CSrunCheck(type,data,times,formName,bColor,msgAction){	for(var i=0; i< formName.length;i++){	var target=formName.elements[i]		if(target.type=="text"|| target.type=="textarea"||target.type=="password"){			var target=formName.elements[i]				for(var j=0; j< times; j++){						if(type==1){											if(target.name	==data[j]&&target.value==""){						msgAction!="" ? errMsg+=(msgAction+' "'+target.name+'"\n') : errMsg+=('The field "'+target.name+'" is empty.\n');						target.empty=true						CSsetColor(target)						textErrFlag=true						}					}					if(type==2){						var reE=/^[\w\S?]+@(\w|\w\S?\w|\w[\w+\S+]+\w)\.\w+\b/						var reTest=reE.test(target.value)						if (navigator.userAgent.indexOf("Opera")!=-1) reTest=true						var reE2at=/@/						reE2at.test(target.value)						var test2at=RegExp.rightContext						if(target.name==data[j] && !target.empty&& ( target.value.indexOf("@",1)==-1 || 	target.value.indexOf(".",1)==-1 || !reTest || target.value.indexOf(".")==0 || reE2at.test(test2at))){						msgAction !="" ? errMsg+=(msgAction+' "'+target.name+'"\n') : errMsg+=('The field "'+target.name+'" contains an incorrect E-mail address.\n');						CSsetColor(target) 						target.empty=true						textErrFlag=true						}					}					if(type==3){						var reP=/[!"@£¤$%#&=?\\^'*åäöÅÄÖ;:,><§µ½*\|]|[a-z]|[A-Z]/ 						if(target.name	==data[j] &&  reP.test(target.value)&& !target.empty){					msgAction!="" ? errMsg+=(msgAction+' "'+target.name+'"\n') :errMsg+=('The field "'+target.name+'" contains illegal charater(s).\n');						CSsetColor(target)						textErrFlag=true;									}				}					}		}	}}function CSsplitFieldNames(fieldNames){afterSplit=fieldNames.split(",")return afterSplit}function CSsetColor(target){	if (!document.layers && colorEnabled){	target.style.backgroundColor=errColor}	} function CSbuildRadioArray(target){radioArray[radioCount]=targetradioCount++}function CSradioTest(groupName,bColor,msgAction){var testResult=falsefor (i=0;i< radioCount;i++){	if(radioArray[i].name==groupName&&radioArray[i].checked){		testResult=true		break	}}	if(!testResult){		msgAction!="" ? errMsg+=(msgAction+' "'+groupName+'"\n') : errMsg+=('No radio button has been selected for: "'+groupName+'".\n');								radioErrFlag=true			for (i=0;i< radioArray.length;i++){				if(radioArray[i].name==groupName)					CSsetColor(radioArray[i])					}	}radionCount=0}function CSbuildSelectArray(target){selectArray[selectCount]=targetselectCount++}function CSselectTest(listName,bColor,msgAction){for (var i=0;i < selectCount;i++){	if (selectArray[i].name==listName && selectArray[i].selectedIndex==0 && 		selectArray[i].unChecked==0)  {		msgAction!="" ? errMsg+=(msgAction+' "'+selectArray[i].name+'"\n') : errMsg+=('No selection has been made from the list: "'+ selectArray[i].name+'"\n')	;						CSsetColor(selectArray[i])		selectErrFlag=true					}	} } function CSmatchField(action){newData=CSsplitFieldNames(action[15])var target1=eval("document."+action[9]+"."+newData[0])var target2=eval("document."+action[9]+"."+newData[1])	if(target1.value==target2.value){		matchErrFlag=false	}else{		matchErrFlag=true;		CSsetColor(target1);		CSsetColor(target2);			if (action[16]==""){								errMsg+='Your entry in the field "'+newData[0]+'" doesn\'t match your entry in the field "'+newData[1]+'".'				}else{				errMsg+=action[16];								}		}	}// Copyright 2004 Michael Åhgren////-->var textErrFlag=false // Copyright 2001 Michael Åhgren version: 011003 1313  - MODIFIED by WDTP 4/21/05var radioErrFlag=falsevar selectErrFlag=falsevar errMsg=nullvar color=""var radioArray=new Array()var selectArray=new Array()var radioCount=0var selectCount=0var colorTest=falsevar errColor=nullvar colorEnabled=falsefunction CSinitCheck(action){colorEnabled=action[10]textErrFlag=falseradioErrFlag=falseselectErrFlag=falseerrColor=action[8]var testForm=eval("document."+action[9])errFlag=falseaction[4]!="" ? errMsg=action[4]+"\n" : errMsg='The following problems have been detected:\n'for(var i=0; i< testForm.length;i++){var target=testForm.elements[i]	if (!document.layers){	!colorTest ? target.orgcol=target.style.backgroundColor : target.style.backgroundColor= target.orgcol	}	if(target.type=="select-one"|| target.type=="select-multiple"){	CSbuildSelectArray (testForm.elements[i])		target.size>1 ? target.unChecked=-1 : target.unChecked=-0	}	if(target.type=="radio") CSbuildRadioArray(target)			if(target.type=="text"|| target.type=="textarea"){	target.empty=false	}}colorTest=trueif(action[1]!=""){	var emptCheck=CSsplitFieldNames(action[1])	var times1=emptCheck.length	CSrunCheck(1,emptCheck,times1,testForm,action[10],action[7])}if(action[2]!=""){	var emailCheck=CSsplitFieldNames(action[2])	var times2=emailCheck.length	CSrunCheck(2,emailCheck,times2,testForm,action[10],action[5])}if(action[3]!=""){	var phoneCheck=CSsplitFieldNames(action[3])	var times3=phoneCheck.length	CSrunCheck(3,phoneCheck,times3,testForm,action[10],action[6])}if(action[11]!=""){	var radioCheck=CSsplitFieldNames(action[11])	for( i=0;i< radioCheck.length;i++){	CSradioTest(radioCheck[i],action[10],action[13])}}if (action[12]!=""){var selectCheck=CSsplitFieldNames(action[12])for( i=0;i< selectCheck.length;i++){CSselectTest(selectCheck[i],action[10],action[14])}selectCount=0}if (textErrFlag || radioErrFlag || selectErrFlag){alert(errMsg)}else{testForm.submit()}}function CSrunCheck(type,data,times,formName,bColor,msgAction){	for(var i=0; i< formName.length;i++){	var target=formName.elements[i]		if(target.type=="text"|| target.type=="textarea"||target.type=="password"){			var target=formName.elements[i]				for(var j=0; j< times; j++){						if(type==1){											if(target.name.indexOf(data[j]) >=0 && target.value == ""){						msgAction!="" ? errMsg+=(msgAction+' "'+target.name+'"\n') : errMsg+=('The field "'+target.name+'" is empty.\n');						target.empty=true						CSsetColor(target)						textErrFlag=true						}					}					if(type==2){						var reE=/^[\w\S?]+@(\w|\w\S?\w|\w[\w+\S+]+\w)\.\w{2,3}\b/						var reTest=reE.test(target.value)						if (navigator.userAgent.indexOf("Opera")!=-1) reTest=true						var reE2at=/@/						reE2at.test(target.value)						var test2at=RegExp.rightContext						if(target.name.indexOf(data[j]) >=0 && !target.empty&& ( target.value.indexOf("@",1)==-1 || 	target.value.indexOf(".",1)==-1 || !reTest || target.value.indexOf(".")==0 || reE2at.test(test2at))){						msgAction !="" ? errMsg+=(msgAction+' "'+target.name+'"\n') : errMsg+=('The field "'+target.name+'" contains an incorrect E-mail address.\n');						CSsetColor(target) 						target.empty=true						textErrFlag=true						}					}					if(type==3){						var reP=/[!"@£¤$%#&=?\\^'*åäöÅÄÖ;:,><§µ½*\|]|[a-z]|[A-Z]/ 						if(target.name.indexOf(data[j]) >=0 &&  reP.test(target.value)&& !target.empty){					msgAction!="" ? errMsg+=(msgAction+' "'+target.name+'"\n') :errMsg+=('The field "'+target.name+'" contains illegal charater(s).\n');						CSsetColor(target)						textErrFlag=true;									}				}					}		}	}}function CSsplitFieldNames(fieldNames){afterSplit=fieldNames.split(",")return afterSplit}function CSsetColor(target){	if (!document.layers && colorEnabled){	target.style.backgroundColor=errColor}	} function CSbuildRadioArray(target){radioArray[radioCount]=targetradioCount++}function CSradioTest(groupName,bColor,msgAction){var testResult=falsefor (i=0;i< radioCount;i++){	if(radioArray[i].name==groupName&&radioArray[i].checked){		testResult=true		break	}}	if(!testResult){		msgAction!="" ? errMsg+=(msgAction+' "'+groupName+'"\n') : errMsg+=('No radio button has been selected for: "'+groupName+'".\n');								radioErrFlag=true			for (i=0;i< radioArray.length;i++){				if(radioArray[i].name==groupName)					CSsetColor(radioArray[i])					}	}radionCount=0}function CSbuildSelectArray(target){selectArray[selectCount]=targetselectCount++}function CSselectTest(listName,bColor,msgAction){for (var i=0;i < selectCount;i++){	if (selectArray[i].name==listName && selectArray[i].selectedIndex==0 && 		selectArray[i].unChecked==0)  {		msgAction!="" ? errMsg+=(msgAction+' "'+selectArray[i].name+'"\n') : errMsg+=('No selection has been made from the list: "'+ selectArray[i].name+'"\n')	;						CSsetColor(selectArray[i])		selectErrFlag=true					}	} } // Copyright 2001 Michael Åhgrenfunction CSGetLayerPos(action) { 	var layer = action[1];	var x		= CSGetStylePos(layer, 0);	var y		= CSGetStylePos(layer, 1);	return new Array(x, y);}function CSGetFormElementValue(action) { 	var form = action[1];	var elem = action[2];	return document.forms[form].elements[elem].value;}//6 Random image Action, generates  1 of 6 random images during eventfunction CS6RandomImg(action) { 		if (document.images) {			document.images[action[1]].src = action[Math.floor(Math.random()*6)+2]		} }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]		}  }  }// Image Window Action 1.0 by Nate Baldwin, mindpalette.com, copyright 2002...function MPImageMenu(action) {var thisForm = action[1];var thisMenu = action[2];var thisImg = eval("document." + action[3]);var thisImage = document.forms[thisForm].elements[thisMenu].options[document.forms[thisForm].elements[thisMenu].selectedIndex].value;if (thisImage != "") {thisImg.src = thisImage;}return (false)}// Image Sequence Action 1.2 by Nate Baldwin, www.mindpalette.com, copyright 2002var MPThisFileName = "";function MPImageSeq(action) {var MPImageCountID = 0;var reverse = action[2];var endStop = action[3];var imageList = new Array();var seqImage = eval("document."+action[1]);var currentImage = seqImage.src;MPGetFileName(currentImage);currentImage = MPThisFileName;var n=0;for (i=4; i<=23; i++) {	if (action[i] && action[i] != "" && action[i] != "#" && action[i] != "(EmptyReference!)" && action[i] != "(Empty Reference!)") {		imageList[n] = action[i];		MPGetFileName(imageList[n]);		var thisImage = MPThisFileName;		if (thisImage == currentImage) MPImageCountID = n;		n++;		}	}if (reverse == false) {	if (MPImageCountID >= imageList.length-1) {		if (endStop == false) MPImageCountID = 0; else alert("End of Images\n("+imageList.length+" of "+imageList.length+")");		} else {		MPImageCountID++;		}	} else {	if (MPImageCountID > 0) {		MPImageCountID--;		} else {		if (endStop == false) MPImageCountID = imageList.length-1; else alert("Beginning of Images\n(1 of "+imageList.length+")");		}	}seqImage.src = imageList[MPImageCountID];}function MPGetFileName(thisString) {if (thisString.lastIndexOf('/') != -1) {	var nameStart = thisString.lastIndexOf('/') + 1;	var nameEnd = thisString.length;	MPThisFileName = thisString.substring(nameStart, nameEnd);	} else {	MPThisFileName = thisString;	}}// Multi Preloader Action 1.0.2 by Nate Baldwin, www.mindpalette.com, copyright 2002var MPMultiPreldCount1 = 0;var MPMultiPreldArray1 = new Array();function MPMultiPreload(action) {	MPMultiPreldArray1[MPMultiPreldCount1] = new Array();	for (i=1; i<=20; i++) {		if (action[i] != "#" && action[i] != "(EmptyReference!)" && action[i] != "(Empty Reference)" && action[i] != "") {			MPMultiPreldArray1[MPMultiPreldCount1][i] = new Image();			MPMultiPreldArray1[MPMultiPreldCount1][i].src = action[i];			}		}	MPMultiPreldCount1++;	}CSImages=new Array();function CSPreloadImage(action) {	if (document.images) { CSImages[CSImages.length]=new Image(); CSImages[CSImages.length-1].src=action[1]; }}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 CSSetImageURL(action) {	var img=CSGetImage(action[1]);	if (img) img.src=action[2];}// ReadImageAndLink BETA by Nate Baldwin, www.mindpalette.com, copyright 2003-08-10var MPSetImageAndLinkArray1 = new Array();function MPImgLinkGet(action) {	var thisImage = action[1];	if (thisImage != "" && thisImage != "(Empty Reference!)" && thisImage != "(EmptyReference!)" && thisImage != "#") {		if (typeof MPSetImageAndLinkArray1 != "undefined") {			if (typeof MPSetImageAndLinkArray1[thisImage] != "undefined") {				var imageURL = MPSetImageAndLinkArray1[thisImage][0];				var linkURL = MPSetImageAndLinkArray1[thisImage][1];				var linkTarget = MPSetImageAndLinkArray1[thisImage][2];				if (linkURL != "" && linkURL != "(Empty Reference!)" && linkURL != "(EmptyReference!)" && linkURL != "#") {					if (linkTarget != "") {						var frameFound = false;						for (i=0; i<parent.frames.length; i++) {							if (parent.frames[i].name == linkTarget) {								frameFound = true;								break;								}							}						if (frameFound == true)							parent.frames[linkTarget].location = linkURL;							else window.open(linkURL, linkTarget, "");						} else window.location = linkURL;					}				}			}		}	}//-->// SetImageAndLink BETA by Nate Baldwin, www.mindpalette.com, copyright 2003-08-10var MPSetImageAndLinkArray1 = new Array();function MPImgLinkSet(action) {	var imageName = action[1];	var imageURL = action[2];	var linkURL = action[3];	var linkTarget = action[4];	if (imageName != "" && imageName != "(Empty Reference!)" && imageName != "(EmptyReference!)" && imageName != "#") {		MPSetImageAndLinkArray1[imageName] = new Array(imageURL, linkURL, linkTarget);		if (imageURL != "" && imageURL != "(Empty Reference!)" && imageURL != "(EmptyReference!)" && imageURL != "#") {			document.images[imageName].src = imageURL;			}		}	}//-->//Anti Spam Action ver. 1.6function RDasPro2(action){if(action[18] == 10) var den=action[16];if(action[18] == 20) var den='<img src="'+action[17]+'" border="0" alt="Email" title="Email">';var ASA = '<a href="mailto:'+action[1]+'@'+action[2]+'.'+action[3]+'';if(action[12]==true) {ASA += '?subject='+action[13]+' ' ;}if(action[4]==true) {ASA += '&cc='+action[5] +'@'+action[6]+'.'+action[7]+'';}if(action[8]==true) {ASA += '&bcc='+action[9]+'@'+action[10]+'.'+action[11]+'';}if(action[14]==true) {ASA += '&body='+action[15]+'';}ASA += '">'+den+'<\/a>';document.write(ASA);}//-->// Breadcrumb Links Action, by MindPalette (www.mindpalette.com)function MPBreadCrumbLinks1(a) {	var v1=a[1],v2=a[2],v3=a[3],v4=a[4],v5=a[5],v6=a[6],v7=a[7],v8=a[8],v9=a[9],v10=a[10],v11=a[11];	if (!MPBCValidURLString(v3)) v3 = '';	if (!MPBCValidURLString(v7)) v7 = '';	var linkHTML = '';	var thisURL = window.location + '';	var urlPair = thisURL.split('//');	if (urlPair.length > 1) thisURL = urlPair[1];	var dirArray = thisURL.split('/');	var linkArray = dirArray.slice(1);	var linkDir = '/';	var currentPage = '';	if (v3 != '' && v3 != '/') {		var thisTest = v3.split('//');		if (thisTest.length > 1) v3 = thisTest[1];		startArray = v3.split('/');		var backCount = 0;		for (var n=0; n<startArray.length; n++) {			if (startArray[n] == '..') backCount++;				else break;			}		if (backCount > 0) {			var part1 = dirArray.slice(0, (dirArray.length - backCount - 1));			var part2 = startArray.slice(backCount);			startArray = part1.concat(part2);			} else {			var newStart = new Array(dirArray[0]);			for (var n=1; n<startArray.length; n++) {				var thisTest = (typeof dirArray[n] != "undefined") ? dirArray[n] : false;				if (thisTest && thisTest == startArray[n]) newStart[n] = startArray[n];					else break;				}			startArray = newStart;			}		if (startArray.length > 1) {			var lastOne = startArray[startArray.length - 1];			if (lastOne != '') {				var thisTest = lastOne.split('.');				if (thisTest.length > 1) startArray[startArray.length - 1] = '';					else startArray[startArray.length] = '';				}			if (v1 == '') v1 = startArray[startArray.length-2];			linkArray = dirArray.slice(startArray.length - 1);			if (startArray[0] != '') startArray[0] = "http://"+startArray[0];			linkDir = startArray.join('/');			} else linkArray = dirArray.slice(1);		} else {		linkArray = dirArray.slice(1);		if (v1 == '') v1 = dirArray[0];		}	var backTrack = 1;	if (linkArray[linkArray.length - 1] != '') {		var lastOne = linkArray[linkArray.length - 1];		var testName = lastOne.split('.');		if (testName[0] == 'index' || testName[0] == 'default') {			backTrack = 2;			currentPage = linkArray[linkArray.length - 2];			} else if (v10) currentPage = testName[0]			else currentPage = lastOne;		} else {		backTrack = 2;		currentPage = linkArray[linkArray.length - 2];		}	var html = '';	if (linkArray.length >= backTrack) {		linkArray = linkArray.slice(0, linkArray.length - backTrack);		var links = new Array();		if (v1 != '') {			v1 = MPBCParseText(v1, v4, v5, v6);			links[links.length] = (v11) ? '<a href="'+linkDir+'">'+v1+'</a>' : v1;			}		var baseDir = linkDir;		for (var n=0; n<linkArray.length; n++) {			baseDir += linkArray[n] + '/';			var thisText = MPBCParseText(linkArray[n], v4, v5, v6);			links[links.length] = (v11) ? '<a href="'+baseDir+'">'+thisText+'</a>' : thisText;			}		if (currentPage != '') links[links.length] = MPBCParseText(currentPage, v4, v5, v6);		var sep = v2;		if (v7 != '') sep = '<img src="'+v7+'" \/>';		if (v8 == 1) {			for (var n=0; n<links.length; n++) {				links[n] = '<td valign="middle">'+links[n]+'<\/td>';				}			if (sep != '') sep = '<td valign="middle">'+sep+'<\/td>';			}		html = links.join(sep);		var CSS = (v9 != '') ? ' class="'+v9+'"' : '';		if (v8 == 1) html = '<table cellspacing="0"'+CSS+'><tr>'+html+'<\/tr><\/table>';			else if (v8 == 2) html = '<p'+CSS+'>'+html+'<\/p>';			else if (v8 == 3) html = '<div'+CSS+'>'+html+'<\/div>';			else if (v8 == 4) html = '<span'+CSS+'>'+html+'<\/span>';		document.write(html);		}	}function MPBCParseText(thisText, v4, v5, v6) {	if (v5) thisText = MPBCReplaceChar('-', ' ', thisText);	if (v4) thisText = MPBCReplaceChar('_', ' ', thisText);	if (v6) thisText = MPBCFixCaps(thisText, v6);	return thisText;	}function MPBCReplaceChar(oldChar, newChar, thisString) {	var newString = '';	for (var n=0; n<thisString.length; n++) {		newString += (thisString.charAt(n) == oldChar) ? newChar : thisString.charAt(n);		}	return newString;	}function MPBCFixCaps(thisString, v6) {	if (v6 == 1) thisString = MPBCUCWords(thisString);		else if (v6 == 2) thisString = thisString.toUpperCase();		else if (v6 == 3) thisString = thisString.toLowerCase();	return thisString;	}function MPBCUCWords(thisString) {	var thisArray = thisString.split(' ');	var newString = '';	for (var n=0; n<thisArray.length; n++) {		var firstChar = thisArray[n].charAt(0).toUpperCase();		var theRest = thisArray[n].substring(1, thisArray[n].length);		newString += firstChar+theRest+' ';		}	return newString.substring(0, newString.length - 1);	}function MPBCValidURLString(testString) {	var validString = true;	if (testString == "") validString = false;		else if (testString == "#") validString = false;		else if (testString == "(EmptyReference!)") validString = false;		else if (testString == "(Empty Reference!)") validString = false;	return validString;	}//-->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 if (action[3] == "_blank") {				window.open(action[2],'newWin','toolbar=yes,location=yes,status=yes,scrollbars=yes,resizable=yes,menubar=yes')			}			else {				parent.frames[action[3]].location.href=action[2];			}		}	}	return;}function checkIt(action) {	var carryOn = window.confirm(action[1]);	return carryOn;	}// OUT CSS Link Action 1.1// Script copyright 2000, OUT Media Design GmbH. All rights reserved.var OUTcssAgent = window.navigator.userAgent; OUTcssAppName = window.navigator.appName;function OUTcssLink(action) {	var OUTappVersion = (OUTcssAgent.indexOf("MSIE") >= 0) ? OUTcssAgent.substr(OUTcssAgent.indexOf("MSIE")+5,action[3].length) : OUTcssAgent.substr(OUTcssAgent.indexOf("Mozilla/")+8,action[3].length);	if (action[1]!=null && action[1]!='') {		var bOk = action[2]!='all' ? OUTcssAppName.indexOf(action[2]) >= 0 : true;		var vOk = action[3]!= '0'  ? eval(parseFloat(OUTappVersion)+action[5]+parseFloat(action[3])) : true;		var pOk = action[4]!='all' ? OUTcssAgent.indexOf(action[4]) >= 0 : true;			if (bOk && vOk && pOk)			document.write('<LINK HREF="'+action[1]+'" REL="styleSheet" TYPE="text/css">');		return true;	} else		return false;}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;					}				}			}		}	}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 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();}function CSPAKkillframe() { if (self.parent.frames.length != 0)self.parent.location = document.location}function CSHistoryGo(action) { history.go(action[1]); }//NoSpam Action v1.1  AardActions by Jim Aardvark. Copyright 2003. seanclayton@tinkers-inc.co.ukfunction JAnoSpam(action){var user=action[1];var domain=action[2];var suffix=action[3];var subject=action[4];document.write('<a href="' + 'mailto:' + user + '@' + domain + suffix + '?subject=' + subject + '">' + user + '@' + domain + suffix + '</a>');}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 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 CSDocWrite(action) { document.write(action[1]); }var thelongdate="";var browser="";var theref='';var theOS="";function browserchecker() {var bName = navigator.appName;var bVersion = parseInt(navigator.appVersion);// check for Netscapeif (bName == "Netscape") {browser = bName+' Navigator '+bVersion;}else {// check for MSIEif (bName == "Microsoft Internet Explorer") {if (bVersion >= 4) {browser = bName+' '+bVersion;// check for IE5/6	if (navigator.appVersion.indexOf("MSIE 5")!=-1) {		browser = bName+' 5';	}	else if (navigator.appVersion.indexOf("MSIE 6")!=-1) {		browser = bName+' 6';	}}else {browser = bName+' 3';} // End of 'else' for browser = IEv3} // End of 'if' for browser-name = MS IE} // End of 'else' to check for MSIE} // End of function browserchecker()function getLongdate() {var day="";var month="";var ampm="";var ampmhour="";var myweekday="";var year="";mydate = new Date();myday = mydate.getDay();mymonth = mydate.getMonth();myweekday= mydate.getDate();weekday= myweekday;myyear= mydate.getFullYear();year = myyear;myhours = mydate.getHours();ampmhour  =  (myhours > 12) ? myhours - 12 : myhours;ampm =  (myhours >= 12) ? ' pm' : ' am';mytime = mydate.getMinutes();myminutes =  ((mytime < 10) ? ':0' : ':') + mytime;if(myday == 0)day = " Sunday, ";else if(myday == 1)day = " Monday, ";else if(myday == 2)day = " Tuesday, ";else if(myday == 3)day = " Wednesday, ";else if(myday == 4)day = " Thurday, ";else if(myday == 5)day = " Friday, ";else if(myday == 6)day = " Saturday, ";if(mymonth == 0) {month = "January ";}else if(mymonth ==1)month = "February ";else if(mymonth ==2)month = "March ";else if(mymonth ==3)month = "April ";else if(mymonth ==4)month = "May ";else if(mymonth ==5)month = "June ";else if(mymonth ==6)month = "July ";else if(mymonth ==7)month = "August ";else if(mymonth ==8)month = "September "else if(mymonth ==9)month = "October ";else if(mymonth ==10)month = "November ";else if(mymonth ==11)month = "December ";thelongdate=ampmhour+""+myminutes+ampm+" on"+day+month+myweekday+", "+year;} // End of function getLongdate()// Beginning of OS codefunction isWin95() {if (navigator.appVersion.indexOf("95") !=-1)return true;else return false;}function isWin31() {if (navigator.appVersion.indexOf("16") !=-1)return true;else return false;}function isMac() {if ((navigator.appVersion.indexOf("PPC") !=-1 || navigator.userAgent.indexOf("PPC") !=-1) && (navigator.appVersion.indexOf("OS X") ==-1 && navigator.userAgent.indexOf("OS X") ==-1))return true;else return false;}function isOSX() {if ((navigator.appVersion.indexOf("PPC") !=-1 || navigator.userAgent.indexOf("PPC") !=-1) && (navigator.appVersion.indexOf("OS X") !=-1 || navigator.userAgent.indexOf("OS X") !=-1))return true;else return false;}function is68k() {if (navigator.appVersion.indexOf("68k") !=-1)return true;else return false;}function isSun() {if (navigator.appVersion.indexOf("SunOS") !=-1)return true;else return false;}function isLinux() {if (navigator.appVersion.indexOf("Linux") !=-1)return true;else return false;}function isHP() {if (navigator.appVersion.indexOf("HP") !=-1)return true;else return false;}function isXP() {if ((navigator.appVersion.indexOf("NT") !=-1) && (navigator.appVersion.indexOf("5.1") !=-1))return true;else return false;}function is2000() {if ((navigator.appVersion.indexOf("NT") !=-1) && (navigator.appVersion.indexOf("5.0") !=-1))return true;else return false;}function isNT() {if (navigator.appVersion.indexOf("NT") !=-1)return true;else return false;}function getOS() {if (isWin95()) {theOS="Windows 95"}else if (isWin31()) {theOS="Windows 3.1"}else if (isMac()) {theOS="Mac PPC"}else if (isOSX()) {	theOS="Mac OS X"	if (navigator.appVersion.indexOf("Safari") !=-1 || navigator.userAgent.indexOf("Safari") !=-1) {		browser = "Safari";	}	else if (navigator.appVersion.indexOf("Firefox") !=-1 || navigator.userAgent.indexOf("Firefox") !=-1) {		browser = "Firefox";	}}else if (is68k()) {theOS="MacOS 68k"}else if (isSun()) {theOS="SunOS"}else if (isLinux()) {theOS="Linux"}else if (isHP()) {theOS="HP-UX"}else if (isXP()) {theOS="Windows XP"}else if (is2000()) {theOS="Windows 2000"}else if (isNT()) {theOS="Windows NT"}else { theOS="(Unknown)"; }} // End of function getOS()// End of OS codefunction getRefer() {theref="(No referring page)";if (document.referrer!=null || document.referrer!="" || document.referrer!=" ") {theref=document.referrer;if (theref=="") { theref = "(No referring page)"; }} // End of if statementelse {theref="(No referring page)";} // End of else statement} // End of function getRefer()browserchecker();getLongdate();getOS();getRefer();var mybrowser = "You're viewing this page with " + browser;var mydate = "\nat " + thelongdate;var myOS = "\nunder the operating system " + theOS;var myref = "\nand you came here from " + theref;function getInfo(action) {	if(action[1] == false) { mydate = ""; }	if(action[2] == false) { myOS = ""; }	if(action[3] == false) { myref = ""; }	if (action[4] && action[5]) {		if (window.confirm(mybrowser + mydate + myOS + myref + "." + "\n\nWould you like to email this information to the webmaster?")) {			window.location="mailto:" + action[4] + "?subject=" + action[5] + "&body=" + "Browser = " + browser + " [" + navigator.userAgent + "]" + "; Operating System = " + theOS + "; Referring Page = " + theref;		}	}	else {		alert(mybrowser + mydate + myOS + myref + ".");	}}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] }	}}function cookieVal(cookieName) {						// Pass info to cookieVal and name it "cookieName"			thisCookie = document.cookie.split("; ")	// Split the cookie record into an array at the ";"	  	    for (i=0; i<thisCookie.length; i++) {		// Start loop at 0 until length of cookie record	  	        if (cookieName == thisCookie[i].split("=")[0]) {	// Is this the "pageVisit" cookie?	  	        	return thisCookie[i].split("=")[1];				// If it is the "pageVisit" cookie then return the value (i.e. the part after the "=")	  	       }	   	    }			return "1 January 1970"		// If there isn't a "pageVisit" cookie present then return the oldest date possible		}				var imgCode = "";		// Initialize imgCode to empty string so no HTML will be written if not "new"	    now = new Date			// Set "now" equal to current date	    expireDate = new Date	// Set expiration to current date	    expireDate.setMonth(expireDate.getMonth()+6)	// Set cookie expiration to 6 months in the future		lastVisit = new Date(cookieVal("pageVisit"))	// Set lastVisit to date that last cookie was set		document.cookie = "pageVisit="+now+";expires=" + expireDate.toGMTString()	// Set a cookie (i.e. pageVisit=current date;expires=expireDate)						function RT_newCheck(action) {			lastChgd = new Date(action[1],action[2]-1,action[3]);		// You have to subtract 1 from the month because JavaScript starts months at 0!			if (lastChgd.getTime() > lastVisit.getTime()) {				imgCode = "<IMG SRC=" + "'" + action[4] + "'" + " ALT='new' border='0'>";			}			document.write(imgCode)		}function CSOpenAlert(action) { alert(action[1]); }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();} }// © 1999, Adobe Systems Incorporated. All rights reserved.var actn1 = "";var actn2 = "";var actn3 = "";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==actn1) 			go()	else		inc()} } function go(){alert(actn2);if (actn3.length) {		var hasFrame=false;		for(i=0;i<parent.frames.length;i++) { if (parent.frames[i].name==actn3) { hasFrame=true; break;}}		if (hasFrame==true)			parent.frames[actn3].location = pass+ ".html";		else			window.open (pass+".html",actn3);	}	else location = pass+".html";}function PVpassword(action) { if (Array) { 	actn1 = action[1];	actn2 = action[2];	actn3 = action[3];	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 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 CSSetStatus(action) { self.status = action[1]; }function CSTempText(action){	if(!action[7]){		if(CStestDate(action[2],action[3])){		document.write(action[1])		}else{		document.write(action[4])		}	}else{		if(CStestDate(action[2],action[3])) {		document.write('<img src='+action[6]+'>')		}else if(action[5]!="#"){		document.write('<img src='+action[5]+'>')		}		}}function CStestDate(action2,action3){	stopInput=action2.split("/")	startInput=action3.split("/")	var stopDate= new Date(stopInput[2],stopInput[0]-1,stopInput[1])	var startDate= new Date(startInput[2],startInput[0]-1,startInput[1])	var currDate=new Date()		if(currDate<stopDate&&currDate>startDate){		return true		}else{		return false		}}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 }	}}function CSvisits(action) {mycookie = action[7]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) alert(action[1])	else	if(action[4] == true) alert(action[2] + " " + visits)	if(action[5] == true) {		if(visits == action[6])		alert(action[3])		}}		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 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);	}}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]); }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!"); }}var timerID=null;var tempAction=new Array()var accMove=new Array()var setUpIsDone=falsevar sLayer=nullvar cLayer=nullvar sLayerTop=nullvar cLayerHeight=nullvar cLayerWidth=nullvar sLayerLeft=nullvar sLayerHeight=nullvar uMax=0var dMax=0var lMax=0var rMax=0elem=new Array()currentLayer=nullwindow.onload = NN6fix;function NN6fix(){	if (navigator.appName=="Netscape"&& document.getElementById){	elem=document.getElementsByTagName("div")		for(var i=0;i<elem.length;i++){			if(elem[i].parentNode.id==""){				data="rect(0px,"+elem[i].offsetWidth+"px,"+elem[i].offsetHeight+"px,0px)"				elem[i].style.clip = data		}	}}}function initScrolling (action) {	if (action[9]){		clearInterval(timerID)	}else{		tempAction=action		if (currentLayer==null || currentLayer!=action[2]){		setUp(tempAction)	}		timerID = setInterval('scrollText(tempAction)',action[3]);	}}function scrollText (action) {for (var i=5;i<=8;i++){if (action[i]){x=i+""switch (x){case "5":if (accMove[5]<uMax){	if(document.layers){	sLayer.top-=action[4] 	}	if (document.all){	sLayer.style.pixelTop-=action[4] 	}	if (document.getElementById&&!document.all){	sLayer.style.top=parseInt(sLayer.style.top)-action[4]+"px"	} accMove[5]+=action[4]accMove[6]-=action[4]}breakcase "6":if (accMove[6]<dMax){if(document.layers){	sLayer.top+=action[4] 	}	if (document.all){	sLayer.style.pixelTop+=action[4] 	}	if (document.getElementById&&!document.all){	sLayer.style.top=parseInt(sLayer.style.top)+action[4]+"px"	} accMove[6]+=action[4]accMove[5]-=action[4]}breakcase "7":if (accMove[7]<lMax){if(document.layers){	sLayer.left-=action[4] 	}	if (document.all){	sLayer.style.pixelLeft-=action[4] 	}	if (document.getElementById&&!document.all){	sLayer.style.left=parseInt(sLayer.style.left)-action[4]+"px"	} accMove[7]+=action[4]accMove[8]-=action[4]}breakcase "8":if (accMove[8]<rMax){if(document.layers){	sLayer.left+=action[4] 	}	if (document.all){	sLayer.style.pixelLeft+=action[4] 	}	if (document.getElementById&&!document.all){	sLayer.style.left=parseInt(sLayer.style.left)+action[4]+"px"	} accMove[8]+=action[4]accMove[7]-=action[4]}break}}}}function setUp(action){	currentLayer=action[2]		if (document.layers){		sLayer=eval("document."+action[1]+".document."+action[2])		cLayer=eval("document."+action[1])		sLayerTop=sLayer.top		cLayerHeight=cLayer.clip.height		cLayerWidth=cLayer.clip.width		sLayerLeft=sLayer.left		sLayerHeight=sLayer.clip.height		sLayerWidth=sLayer.clip.width	}	if(document.all){	currentLayer=action[2]		sLayer=eval("document.all."+action[2])		cLayer=eval("document.all."+action[1])		sLayerTop=eval(sLayer.offsetTop)		cLayerHeight=cLayer.clientHeight		cLayerWidth=cLayer.clientWidth		sLayerLeft=sLayer.offsetLeft		sLayerHeight=sLayer.clientHeight		sLayerWidth=sLayer.clientWidth		sLayer.style.pixelTop=sLayer.offsetTop		sLayer.style.pixelLeft=sLayer.offsetLeft	}	if(document.getElementById && !document.all){	currentLayer=action[2]		sLayer=document.getElementById(action[2]) 		cLayer=document.getElementById(action[1]) 	if(navigator.userAgent.indexOf("Netscape6/6.0")!=-1 ){							sLayerTop=sLayer.offsetTop-sLayer.parentNode.offsetTop				sLayerLeft=sLayer.offsetLeft-sLayer.parentNode.offsetLeft			}else{				sLayerTop=sLayer.offsetTop				sLayerLeft=sLayer.offsetLeft				cLayer.style.overflow=""			}		cLayerHeight=parseInt(cLayer.offsetHeight) 		cLayerWidth=parseInt(cLayer.offsetWidth) 		sLayerHeight=parseInt(sLayer.offsetHeight) 		sLayerWidth=parseInt(sLayer.offsetWidth)			if (!sLayer.style.top&&!sLayer.firstTime){				sLayer.style.top=sLayerTop+"px"				sLayer.style.left=sLayerLeft+"px"				sLayer.firstTime=true			}	}if(navigator.userAgent.indexOf("Opera")!=-1){currentLayer=action[2]	sLayer=document.getElementById(action[2]) 	cLayer=document.getElementById(action[1]) 	sLayerTop=sLayer.offsetTop	sLayerLeft=sLayer.offsetLeft	sLayerHeight=sLayer.style.pixelHeight	sLayerWidth=sLayer.style.pixelWidth	cLayerHeight=cLayer.style.pixelHeight	cLayerWidth=cLayer.style.pixelWidth	}	uMax=(sLayerHeight-cLayerHeight+sLayerTop)	dMax=-1*sLayerTop	lMax=(sLayerWidth-cLayerWidth+sLayerLeft)	rMax=-1*sLayerLeft	if (uMax<0){		uMax=0	}	if (dMax<0){		dMax=0	}	if(lMax<0){		lMax=0	}	if(rMax<0){		rMax=0	}	for (var i=5;i<=9;i++){	accMove[i]=0	}	}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);	}}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)}var DJold = new Array();function DJmoveNewPos(t) {	if(document.all) {		x = document.body.scrollLeft + DJold[t].originX;		y = document.body.scrollTop + DJold[t].originY;	} else {		x = window.pageXOffset + DJold[t].originX;		y = window.pageYOffset + DJold[t].originY;	}	d1 = x - DJold[t].x;	d2 = y - DJold[t].y;	DJold[t].x = DJold[t].x + (x - DJold[t].x)*DJold[t].smooth;	DJold[t].y = DJold[t].y + (y - DJold[t].y)*DJold[t].smooth;	CSSetStylePos(DJold[t].oldLayer,0,DJold[t].x);	CSSetStylePos(DJold[t].oldLayer,1,DJold[t].y);	setTimeout("DJmoveNewPos(" + t + ")",10);}function DJSmoothFloatLayer(action) {	var x = action[2][0]; var y = action[2][1];	DJold[DJold.length] = new Array();	t = DJold.length - 1;	DJold[t].oldLayer = action[1];	CSSetStylePos(DJold[t].oldLayer,0,x);	CSSetStylePos(DJold[t].oldLayer,1,y);	DJold[t].x = x;	DJold[t].y = y;	DJold[t].originX = x;	DJold[t].originY = y;	DJold[t].smooth = 1.0/action[3];	setTimeout("DJmoveNewPos(" + t + ")",10);}function CSStopAll(action) { CSStopComplete (); }function CSStopScene(action) { CSStopFunction (action[1]); }function CSStopSound (action) {if (eval('document.'+action[1])!=null) { eval ('document.' + action[1] + '.stop()');}}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 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);}// CSS Write Action Script// By Matt Ridley//  Changes in version 1.1//   * Now deals specifically with IE5 Mac//   * Now allows choosing a StyleSheet for all other browers (v4 or later)//   * Now doesn't write a StyleSheet if the URL is "(EmptyReference!)"function isMSIE() {	if ((navigator.appName.indexOf("Explorer") != -1) && (parseInt(navigator.appVersion) >= 4)) {		return true; }	else {return false;}}function isNS() {	if ((navigator.appName.indexOf("Netscape") != -1) && (parseInt(navigator.appVersion) >= 4)) {		return true; }	else {return false;}}function isPC() {	if (navigator.userAgent.indexOf("Win") != -1) {		return true; }	else {return false;}}function isMac() {	if (navigator.appVersion.indexOf("PPC") != -1) {		return true; }	else {return false;}}function doCSSWrite(action) {theStr="";	if (isNS()) {		if (isMac()) {			theStr=action[1];		}		else if (isPC()) {			theStr=action[2];		}	}	if (isMSIE()) {		if (isMac()) {			theStr=action[3];			if (navigator.userAgent.indexOf("MSIE 5") != -1) {				theStr=action[5];			}		}		else if (isPC()) {			theStr=action[4];		}	}	if (action[6]==true) {		if (isNS()!=true && isMSIE()!=true && parseInt(navigator.appVersion)>=4) {			theStr=action[7];		}	}	if ((theStr!="") && (theStr!="(EmptyReference!)")) {		document.write("<LINK HREF=\""+theStr+"\" REL=\"styleSheet\" TYPE=\"text/css\">");	}} // end function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);}// OUT Execute JavaScript Action// Script copyright 1999, OUT Media Design GmbH. All rights reserved.function OUTexecuteJS(action) {	return eval(action[1]);}function doFind(action) {find(action[1],action[2],action[3])}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 CSprintdocument(action){if ((navigator.appName.indexOf("Microsoft") != -1 && navigator.platform.indexOf("Mac") != -1) || (navigator.appName.indexOf("Microsoft") != -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());	}}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 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);}// OUT Browser Test v1.3.1// Script copyright 2000, OUT Media Design GmbH. All rights reserved.var OUTuserAgent = window.navigator.userAgent; OUTappName = window.navigator.appName;function OUTbrowserTest(action) {	var OUTinnerW = window.innerWidth ? window.innerWidth : (document.body && document.body.clientWidth ? document.body.clientWidth : 0);	var OUTinnerH = window.innerHeight ? window.innerHeight : (document.body && document.body.clientHeight ? document.body.clientHeight : 0);	var OUTappVersion = (OUTuserAgent.indexOf("MSIE") >= 0) ? OUTuserAgent.substr(OUTuserAgent.indexOf("MSIE")+5,action[2].length) : OUTuserAgent.substr(OUTuserAgent.indexOf("Mozilla/")+8,action[2].length);	var bOk = action[1]!='all' ? OUTappName.indexOf(action[1]) >= 0 : true;	var vOk = action[2]!= '0'  ? eval(parseFloat(OUTappVersion)+action[4]+parseFloat(action[2])) : true;	var pOk = action[3]!='all' ? OUTuserAgent.indexOf(action[3]) >= 0 : true;		var wOk = action[5]!='0' && window.screen ? eval(window.screen.width+action[6]+parseInt(action[5])) : true;	var hOk = action[7]!='0' && window.screen ? eval(window.screen.height+action[8]+parseInt(action[7])) : true;	var iwOk = action[9]!='0' && OUTinnerW ? eval(OUTinnerW+action[10]+parseInt(action[9])) : true;	var ihOk = action[11]!='0' && OUTinnerH ? eval(OUTinnerH+action[12]+parseInt(action[11])) : true;	if (bOk && vOk && pOk && wOk && hOk && iwOk && ihOk) return true;	return false;}// OUT Call Action Later Action Library 1.0// Script copyright 2001, OUT Media Design GmbH. All rights reserved.var OUTactsLater = new Array();function OUTcallActionLater(action){	for(var i=2;i<action.length;i++) {		var a = new Array();		a[0] = action[i];		a[1] = setTimeout("CSAction(new Array('"+action[i]+"'))",action[1]);		OUTactsLater[OUTactsLater.length]=a;	}}// OUT Action Group Later Action 1.0// Script copyright 2001, OUT Media Design GmbH. All rights reserved.function OUTgroupActionLater(action) { OUTcallActionLater(action); }// OUT Call Action OnBlur Library 1.0// Script copyright 2001, OUT Media Design GmbH. All rights reserved.var OUTactsOnBlur = new Array();function OUTcallActionOnBlur(action){	for(var i=1;i<action.length;i++) { OUTactsOnBlur[OUTactsOnBlur.length]=action[i]; }	window.onblur=OUTexecBlurActions;}function OUTexecBlurActions() {	for (var i=0;i<OUTactsOnBlur.length;i++) CSAction(new Array(OUTactsOnBlur[i]));}// OUT Action Group OnBlur Action 1.0// Script copyright 2001, OUT Media Design GmbH. All rights reserved.function OUTgroupActionOnBlur(action) { OUTcallActionOnBlur(action); }// OUT Call Action OnFocus Library 1.0// Script copyright 2001, OUT Media Design GmbH. All rights reserved.var OUTactsOnFocus = new Array();function OUTcallActionOnFocus(action){	for(var i=1;i<action.length;i++) { OUTactsOnFocus[OUTactsOnFocus.length]=action[i]; }	window.OnFocus=OUTexecFocusActions;}function OUTexecFocusActions() {	for (var i=0;i<OUTactsOnFocus.length;i++) CSAction(new Array(OUTactsOnFocus[i]));}// OUT Action Group OnFocus Action 1.0// Script copyright 2001, OUT Media Design GmbH. All rights reserved.function OUTgroupActionOnFocus(action) { OUTcallActionOnFocus(action); }// OUT Call Action OnResize Library 1.0// Script copyright 2001, OUT Media Design GmbH. All rights reserved.var OUTactsOnResize = new Array();function OUTcallActionOnResize(action){	for(var i=1;i<action.length;i++) { OUTactsOnResize[OUTactsOnResize.length]=action[i]; }	window.onresize=OUTexecResizeActions;}function OUTexecResizeActions() {	for (var i=0;i<OUTactsOnResize.length;i++) CSAction(new Array(OUTactsOnResize[i]));}// OUT Action Group OnResize Action 1.0// Script copyright 2001, OUT Media Design GmbH. All rights reserved.function OUTgroupActionOnResize(action) { OUTcallActionOnResize(action); }// OUT Call Action OnScroll Action Library 1.0// Script copyright 2001, OUT Media Design GmbH. All rights reserved.var OUTactsOnScroll = new Array();function OUTcallActionOnScroll(action){	for(var i=1;i<action.length;i++) { OUTactsOnScroll[OUTactsOnScroll.length]=action[i]; }	window.onscroll=OUTexecScrollActions;	if (!IsIE()) {window.captureScrollEvent=OUTcaptureScrollEvent;window.OUTlastScrollX=0;window.OUTlastScrollY=0;setInterval(window.captureScrollEvent,10);}      }function OUTexecScrollActions() {	for (var i=0;i<OUTactsOnScroll.length;i++) CSAction(new Array(OUTactsOnScroll[i]));}function OUTcaptureScrollEvent() {	if (this.OUTlastScrollX!=window.pageXOffset||this.OUTlastScrollY!=window.pageYOffset) {		this.onscroll();	}	this.OUTlastScrollX = window.pageXOffset;	this.OUTlastScrollY = window.pageYOffset;}// OUT Action Group OnScroll Action 1.0// Script copyright 2001, OUT Media Design GmbH. All rights reserved.function OUTgroupActionOnScroll(action) { OUTcallActionOnScroll(action); }// OUT utility Javascript library 1.4.3// Script copyright 1999-2001 OUT Media Design GmbH. All rights reserved.// This version needs the Adobe GoLive Netscape 6 Fix installed to work in NN6var CSIsW3CDOM = CSIsW3CDOM; // declare variable in case the NN6 Fix isn't installedif(!CSIsW3CDOM) { CSIsW3CDOM = false; } // define in case the NN6 Fix isn't installedfunction OUTFindFrame(n,win) {	var curFrames = win ? win.frames : top.frames;	var frame = n=='' ? window : curFrames[n];	if (!frame) {		for (var i=0;i<curFrames.length;i++) {			frame = OUTFindFrame(n,curFrames[i]);			if (frame)				return frame;		}	}	return frame;}function OUTFindElement(n,ly,cmp) {	if (cmp) n=OUTfindComponentElementName(n,ly);	if (CSIsW3CDOM) { CSInitImgID();return document.getElementById(n); } 	var curDoc = ly ? (ly.document ? ly.document : ly) : document;	var elem = curDoc[n];	if (!elem && curDoc.layers) { for (var i=0;i<curDoc.layers.length;i++) {		elem = OUTFindElement(n,curDoc.layers[i]); if (elem) return elem; }}	return elem;}// functions to search for AGL component objects named like this "Cmp003B4E7300brian"function OUTfindComponentElementName(n,ly){	var objn = '';	var curDoc = ly ? (ly.document ? ly.document : ly) : (document.all ? document.all : document);	if (CSIsW3CDOM) {		curDoc = document.getElementsByTagName("*");		for (var i=0; i<curDoc.length; i++) {			objn = curDoc[i].name;			if (objn && objn.indexOf("Cmp")==0 && objn.substr(13)==n) return objn; 		}	}	else {		for (objn in curDoc) {			if (objn && objn.indexOf("Cmp")==0 && objn.substr(13)==n) return objn; 		}		if (!IsIE() && curDoc.layers) { for (var i=0;i<curDoc.layers.length;i++) {			objn = OUTfindComponentElementName(n,curDoc.layers[i]);if (objn) return objn; }		}	}	return null;}function OUTgetValuesFromURL(n) {	var u=window.location.search;	var a=new Array();	if (u!="") {		u=u.substring(u.indexOf('?')+1, u.length);		u=u.split('&');        for (var i=0; i<u.length; i++) { var p=u[i].split('='); if (p[0]==n) a[a.length]=p; }	}	return a;}function OUTcheckValueFromURL(n,v) {	var a = OUTgetValuesFromURL(n);	if (a) { for (var i in a) { if (a[i] && a[i][1]==v) return true; } }	return false;}// OUT Call Action From URL Action 1.1// Script copyright 2001, OUT Media Design GmbH. All rights reserved.var OUTactsFromUrl = new Array();function OUTcallActionFromURL(action){	if (OUTactsFromUrl.length==0) { OUTcollectActionsFromURL();}	for (var i in OUTactsFromUrl) CSAction(new Array(OUTactsFromUrl[i]));}function OUTcollectActionsFromURL() {	var acts = OUTgetValuesFromURL("OUTcallAct");    for (var i in acts) OUTactsFromUrl[OUTactsFromUrl.length]=acts[i][1];}OUTcollectActionsFromURL();// OUT Call Action in Frame Action 1.0// Script copyright 2000, OUT Media Design GmbH. All rights reserved.function OUTcallActionInFrame(action){	var actFrame = OUTFindFrame(action[2]);	if (actFrame) actFrame.CSAction(new Array(action[1]));}// OUT Cancel Action Later 1.0// Script copyright 2001, OUT Media Design GmbH. All rights reserved.function OUTcancelActionLater(action){	var timeoutID = 0;	for (var i in OUTactsLater) { if (OUTactsLater[i][0]==action[1] || action[1]=='') clearTimeout(OUTactsLater[i][1]); }}function OUTCSFixFct() {	var d = document; var w = window;	if (d.cs.csFix.w != w.innerWidth || d.cs.csFix.h != w.innerHeight) {		d.location = d.location; }}function OUTCSNSFix(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 (OUTCSIsFrame (w) == true) OUTCSFixFct();		d.cs.csFix.w = w.innerWidth;		d.cs.csFix.h = w.innerHeight; 		if (!action[1])  window.onresize = OUTCSFixFct;	  }}function OUTCSIsFrame (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;}// OUT Adjust Frame Sources 1.2.1// Script copyright 1999, 2000, OUT Media Design GmbH. All rights reserved.// Must be called by the Frameset's OnLoad Handlerfunction OUTadjFrameSrcs() {	var URLparams=window.location.search;	if (URLparams!="") {		URLparams=URLparams.substring(URLparams.indexOf('?')+1, URLparams.length);		URLparams=URLparams.split('&');        for (var i=0; i<URLparams.length; i++) {            var p=URLparams[i].split('=');            if (p[0]&&window.frames[p[0]]) {                var newURLparams="?";                for (var j=0;j<URLparams.length; j++) newURLparams+=(j!=i)?URLparams[j]+((j<URLparams.length-1)?"&":""):"";                window.frames[p[0]].location.replace(p[1]+(newURLparams.length>1 ? newURLparams : ""));             }         }	}	return true;}// OUT Load Frameset Action 1.2.2// Script copyright 1999-2000, OUT Media Design GmbH. All rights reserved.function OUTloadFrameset(action) {	if (!parent.frames[action[2]]) {		var URLparams = window.location.search;		var wl = window.location.href;		if (URLparams!="") URLparams = "&"+URLparams.substring(1,URLparams.length);		window.location.replace(action[1]+"?"+action[2]+"="+(action[3]?wl.substring(0,wl.indexOf('?')>0?wl.indexOf('?'):wl.length):window.location.pathname)+URLparams);		return true;	}	return false;}// OUT Lock MenuMachine in Frame Action v1.0// Script copyright 2002, OUT Media Design GmbH. All rights reserved.function OUTlckMenuMachineFrm(action) {	var lckTarget = null;	if (action[6]=='') lckTarget = window; else lckTarget = OUTFindFrame(action[6],0);	if (lckTarget && lckTarget.bbMenu && lckTarget.OUTinitLckMenuMachine){		lckTarget.OUTinitLckMenuMachine(action,document.location.href);;		return true;	}	return false;}// OUT Lock MenuMachine Library v1.0// Script copyright 2002, OUT Media Design GmbH. All rights reserved.function OUTinitLckMenuMachine(action,url) {	var OUTlckMM=null;	for (var i=0; !OUTlckMM && i<bbMenu.length; i++) {		if (bbMenu[i].name == action[5])			OUTlckMM = OUTlckMMGetMenu(bbMenu[i],url);	}	if (OUTlckMM) {		OUTlckMM.OUTlckD = action[1];		OUTlckMM.OUTlckH  = action[2];		OUTlckMM.OUTlckDl = action[3]-1;		OUTlckMM.OUTlckHl = action[4]-1;		OUTlckMM.r.OUTlckMM = OUTlckMM;		if (!OUTlckMM.r.mreset2) {			OUTlckMM.r.mreset2 = OUTlckMM.r.mreset;			OUTlckMM.r.mreset = OUTlckMMmreset;		}		OUTlckMM.r.mreset();	}}function OUTlckMMGetMenu(m,u){	var c = null;	if (m.url && OUTlckMMCheckURL(m.url,u)) return m;	for (var i=0; !c && m.c.length>i; i++) {		c = OUTlckMMGetMenu(m.c[i],u);	}	return c;}function OUTabsoluteURL(u, b){	var up=0;	while (u.indexOf('../')==0) {u=u.substring(3,u.length);up++;}	while (up) {b=b.substring(0,b.lastIndexOf('/'));up--;}	u = b.substring(0,b.lastIndexOf('/')+1)+u;	return u;}function OUTlckMMCheckURL(a,b){	return OUTabsoluteURL(a, window.location.href) == b;}function OUTlckMMmreset(){	this.mreset2();	if (this.OUTlckMM.OUTlckD) {		var m = this.OUTlckMM; l = m.OUTlckDl;		while (l>=0 && m.lvl>l) { m = m.par; }		m.display(1,1);	}	if (this.OUTlckMM.OUTlckH) {		var m = this.OUTlckMM, l = m.OUTlckHl;		while (l>=0 && m.lvl>l) { m = m.par; }		m.hilite(1,1);	}}// OUT Lock MenuMachine Action v1.0// Script copyright 2002, OUT Media Design GmbH. All rights reserved.function OUTlckMenuMachine(action) {	OUTinitLckMenuMachine(action,document.location.href);}// OUT Mouse Trail Library v 1.1.1// Script copyright 1999, OUT Media Design GmbH. All rights reserved.var OUTmtL=new Array;var OUTie=IsIE();var OUTmtOk = CSBVers > 3;var OUTie5fix1=0;var OUTie5fix2=0;var OUTmtXpos=0;var OUTmtYpos=0;function OUTmtLsetPos(x,y){	this.lastX=this.x;this.lastY=this.y;this.x=(x-this.mtXoff)*this.mtXfac+this.mtXoff;this.y=(y-this.mtYoff)*this.mtYfac+this.mtYoff;}function OUTmtMinMaxX(){	return (this.h?this.x<this.x1?this.x1:this.x>this.x2?this.x2:this.x:this.x)+this.dx;}function OUTmtMinMaxY(){	return (this.v?this.y<this.y1?this.y1:this.y>this.y2?this.y2:this.y:this.y)+this.dy; }function OUTmtMinMaxXval(x){	return (this.h?x<this.x1?this.x1:x>this.x2?this.x2:x:x)+this.dx;}function OUTmtMinMaxYval(y){	return (this.v?y<this.y1?this.y1:y>this.y2?this.y2:y:y)+this.dy; }function OUTmtSetInterval(){	this.intervalID=clearTimeout(this.intervalID);	this.intervalID=setTimeout(this.movef+'("'+this.name+'")',this.rate);}function OUTmouseTrailer(mf,n,r,s,h,v,x1,x2,y1,y2,c,ht,dx,dy,ox,oy,fx,fy){	this.movef=mf;this.name=n;this.rate=r;this.sequence=s;this.v=v;this.h=h;this.x1=x1;this.x2=x2;this.y1=y1;this.y2=y2;this.showcoords=c;this.keepRelDist=ht;	this.x=CSGetStylePos(this.name,0);this.y=CSGetStylePos(this.name,1);this.lastX=this.x;this.lastY=this.y;this.dX=0;this.dY=0;	this.setPos=OUTmtLsetPos;this.rX=OUTmtMinMaxX;this.rY=OUTmtMinMaxY;this.rvalX=OUTmtMinMaxXval;this.rvalY=OUTmtMinMaxYval;this.dx=dx;this.dy=dy;	this.mtSetInterval=OUTmtSetInterval;this.intervalID=0;this.mtSetInterval();	this.mtXoff=ox;this.mtYoff=oy;this.mtXfac=fx;this.mtYfac=fy;}function OUTinitMouseTrail(curMT){	if (!curMT) return;	if (OUTmtOk) {		OUTmtL[OUTmtL.length]=curMT;		OUTmtL.sort(OUTcompMT)		for (var i=0; i<OUTmtL.length; i+=1) {			if (i>0) {				OUTmtL[i].dX=OUTmtL[i].x-OUTmtL[i-1].x;				OUTmtL[i].dY=OUTmtL[i].y-OUTmtL[i-1].y;			} else {				OUTmtL[i].dX=OUTmtL[i].x;				OUTmtL[i].dY=OUTmtL[i].y;			}		}		if(!OUTie) document.captureEvents(Event.MOUSEMOVE);		document.onmousemove=OUTmtNewPos;	}}function OUTcompMT(a, b) {   return a.sequence - b.sequence}function OUTmtMove(n){	var curMt=null;	var i=0;	for (i=0; i<OUTmtL.length;i+=1) {		if (OUTmtL[i].name==n){curMt=OUTmtL[i]; break;};	}	if(!curMt) return null;	if(curMt.showcoords) self.status="x: "+((OUTmtXpos-curMt.mtXoff)*curMt.mtXfac)+", y: "+((OUTmtYpos-curMt.mtYoff)*curMt.mtYfac);	if(OUTie && document.body.scrollLeft!=null){OUTie5fix1=document.body.scrollLeft;OUTie5fix2=document.body.scrollTop;}	if (0 < i) {		if(curMt.keepRelDist){xPos=OUTmtL[i-1].x+curMt.dX;yPos=OUTmtL[i-1].y+curMt.dY;}		else{xPos=OUTmtL[i-1].lastX;yPos=OUTmtL[i-1].lastY;}	} else{xPos=OUTmtXpos;yPos=OUTmtYpos;}	curMt.setPos(xPos,yPos);	return curMt;}function OUTmtNewPos(e){	OUTmtXpos = OUTie ? event.clientX+OUTie5fix1 : e.pageX;	OUTmtYpos = OUTie ? event.clientY+OUTie5fix2 : e.pageY;}// OUT Mouse Trail Jump Action v 1.1.2// Script copyright 1999-2002, OUT Media Design GmbH. All rights reserved.function OUTinitMTjump(a){	if (a[1]=='') return;	myMT=new OUTmouseTrailer("OUTmtJumpMove",a[1],a[2],a[3],a[4],a[5],a[6],a[7],a[8],a[9],a[10],a[11],a[12],a[13],a[14],a[15],a[16],a[17]);	OUTinitMouseTrail(myMT);}function OUTmtJumpMove(n){	var curMt=OUTmtMove(n);	if(!curMt) return;	CSSetStylePos(curMt.name,0,curMt.rX());	CSSetStylePos(curMt.name,1,curMt.rY());	curMt.mtSetInterval();}// OUT Mouse Trail Multi Action v 1.0.3// Script copyright 1999-2002, OUT Media Design GmbH. All rights reserved.function OUTinitMTmulti(a){	if (a[1]=='') return;	myMT=new OUTmouseTrailer("OUTmtMultiMove",a[1],a[2],a[3],a[4],a[5],a[6],a[7],a[8],a[9],a[10],a[11],a[12],a[13],0,0,1,1);	myMT.master=a[14];	myMT.method=a[15];	myMT.xBase=a[16];	myMT.yBase=a[17];	myMT.step=0.2;	myMT.currStep=0;	OUTinitMouseTrail(myMT);}function OUTmtMultiMove(n){	var curMt=OUTmtMove(n);	if(!curMt) return;	switch(curMt.method) {		case 0: {			CSSetStylePos(curMt.name,0,curMt.rX());			CSSetStylePos(curMt.name,1,curMt.rY());			break;		}		case 1: {			CSSlideLayer(curMt.name,new Array(curMt.rX(),curMt.rY()),1,curMt.rate/10);			break;		}		case 2: {			var currStep = curMt.currStep;			var step = curMt.step;			var s=curMt.sequence;			var xPos = curMt.x + Math.sin((20*Math.sin(currStep/20))+s*70)*curMt.xBase*(Math.sin(10+currStep/10)+step)*Math.cos((currStep + s*25)/10);			var yPos = curMt.y + Math.cos((20*Math.sin(currStep/20))+s*70)*curMt.yBase*(Math.sin(10+currStep/10)+step)*Math.cos((currStep + s*25)/10);			CSSetStylePos(curMt.name,0,curMt.rvalX(xPos));			CSSetStylePos(curMt.name,1,curMt.rvalY(yPos));			if (curMt.isMaster) curMt.setPos(xPos,yPos);			curMt.currStep += curMt.step;			break;		}	}	curMt.mtSetInterval();}// OUT Mouse Trail Orbit Action v 1.0.3// Script copyright 1999-2002, OUT Media Design GmbH. All rights reserved.function OUTinitMTorbit(a){	if (a[1]=='') return;	myMT=new OUTmouseTrailer("OUTmtOrbitMove",a[1],a[2],a[3],a[4],a[5],a[6],a[7],a[8],a[9],a[10],a[11],a[12],a[13],0,0,1,1);	myMT.master=a[14];	myMT.step=a[17];	myMT.currStep=0;	myMT.xBase=a[15];	myMT.yBase=a[16];	OUTinitMouseTrail(myMT);}function OUTmtOrbitMove(n){	var curMt=OUTmtMove(n);	if(!curMt) return;	var currStep = curMt.currStep;	var step = curMt.step;	var s=curMt.sequence;	var xPos = curMt.x + Math.sin((20*Math.sin(currStep/20))+s*70)*curMt.xBase*(Math.sin(10+currStep/10)+step)*Math.cos((currStep + s*25)/10);	var yPos = curMt.y + Math.cos((20*Math.sin(currStep/20))+s*70)*curMt.yBase*(Math.sin(10+currStep/10)+step)*Math.cos((currStep + s*25)/10);	CSSetStylePos(curMt.name,0,curMt.rvalX(xPos));	CSSetStylePos(curMt.name,1,curMt.rvalY(yPos));	if (curMt.isMaster) curMt.setPos(xPos,yPos);	curMt.currStep += curMt.step;	curMt.mtSetInterval();}// OUT Mouse Trail Slide Action v 1.1.1// Script copyright 1999-2002, OUT Media Design GmbH. All rights reserved.function OUTinitMTslide(a){	if (a[1]=='') return;	myMT=new OUTmouseTrailer("OUTmtSlideMove",a[1],a[2],a[3],a[4],a[5],a[6],a[7],a[8],a[9],a[10],a[11],a[12],a[13],a[14],a[15],a[16],a[17]);	OUTinitMouseTrail(myMT);}function OUTmtSlideMove(n){	var curMt=OUTmtMove(n);	if(!curMt) return;	CSSlideLayer(curMt.name,new Array(curMt.rX(),curMt.rY()),1,curMt.rate/10);	curMt.mtSetInterval();}// OUT Open Image Window Action v1.2.6// Script copyright 1999, 2000 OUT Media Design GmbH. All rights reserved.function OUTOpenImageWindow(action) {	var imgWinW = action[3];	var imgWinH = action[4];	var bgImg = action[16] ? ' BACKGROUND="'+action[15]+'" ' : '';	var bVers=window.navigator.appVersion.substring(0,1);	var isMac = window.navigator.userAgent.indexOf("Mac") >= 0;	var isNN = window.navigator.appName.indexOf("Netscape")>=0;	var isIE = window.navigator.appName.indexOf("Explorer")>=0;	var wOffset = (bVers<4 && isNN) ? 9 : action[14];	imgWinW += 2*wOffset;	imgWinH += 2*wOffset;	var wf = "";		wf = wf + "width=" + imgWinW;	wf = wf + ",height=" + imgWinH;	wf = wf + ",resizable=" + (action[5] ? "no" : "yes");	wf = wf + ",scrollbars=" + (action[6] ? "no" : "yes");	wf = wf + ",menubar=" + (action[7] ? "no" : "yes");	wf = wf + ",toolbar=" + (action[8] ? "no" : "yes");	wf = wf + ",directories=" + (action[9] ? "no" : "yes");	wf = wf + ",location=" + (action[10] ? "no" : "yes");	wf = wf + ",status=" + (action[11] ? "no" : "yes");	var newImgWin = window.open("",action[2],wf);	newImgWin.saveResizable = !action[5];		newImgWin.document.writeln('<HTML><HEAD><TITLE>'+action[13]+'</TITLE></HEAD>');	newImgWin.document.writeln('<BODY BGCOLOR="'+action[12]+'"'+bgImg+' MARGINWIDTH="'+action[14]+'" MARGINHEIGHT="'+action[14]+'" LEFTMARGIN="'+action[14]+'" TOPMARGIN="'+action[14]+'">');	newImgWin.document.write('<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" WIDTH="100%" HEIGHT="100%"><TR><TD VALIGN="middle" ALIGN="center"><IMG SRC="'+action[1]+'"');	if (action[17] && bVers>=4) newImgWin.document.write(' ONLOAD="var imgWinW=this.width+'+2*wOffset+';var imgWinH=this.height+'+2*wOffset+';if(window.setResizable) window.setResizable(true);window.resizeTo(imgWinW, imgWinH);if (window.setResizable) window.setResizable(window.saveResizable);if(window.document.body && (window.document.body.clientWidth!=imgWinW || window.document.body.clientHeight!=imgWinH)) { window.resizeTo(2*imgWinW-window.document.body.clientWidth,2*imgWinH-window.document.body.clientHeight);}"');	newImgWin.document.writeln('></TD></TR></TABLE>');	newImgWin.document.writeln('</BODY></HTML>');	newImgWin.document.close();	if(bVers>=4 && !action[17]) { //do chrome compensation now		if (isNN && newImgWin.setResizable) newImgWin.setResizable(true);		if (!(isIE && isMac)) newImgWin.resizeTo(imgWinW,imgWinH);		if (isNN && newImgWin.setResizable) newImgWin.setResizable(!action[5]);		if(isIE && !isMac && (newImgWin.document.body.clientWidth!=imgWinW || newImgWin.document.body.clientHeight!=imgWinH)) newImgWin.resizeTo(2*imgWinW-newImgWin.document.body.clientWidth,2*imgWinH-newImgWin.document.body.clientHeight);	}	if(action[18] && bVers>=4 && !(isMac && isIE && bVers<5)) newImgWin.focus();}// OUT PNG library 1.0.7// Script copyright 2004 OUT Media Design GmbH. All rights reserved.function OUTpngBrowserCheck(){// Code partially taken from:// Browser Detect Lite  v2.1 <http://www.dithered.com/javascript/browser_detect/index.html>// modified by Chris Nott (chris@NOSPAMdithered.com - remove NOSPAM)// modified by Oliver Zahorka	var ua=navigator.userAgent.toLowerCase(); 	this.ua=ua;	// browser name	this.isGecko=(ua.indexOf('gecko')>=0);	this.isMozilla=(this.isGecko && ua.indexOf("gecko/")+14 == ua.length);	this.isNS=((this.isGecko)?(ua.indexOf('netscape')>=0):((ua.indexOf('mozilla')>=0) && (ua.indexOf('spoofer')<0) && (ua.indexOf('compatible')<0) && (ua.indexOf('opera')<0) && (ua.indexOf('webtv')<0) && (ua.indexOf('hotjava')<0)));	this.isIE=((ua.indexOf("msie")>=0) && (ua.indexOf("opera")<0) && (ua.indexOf("webtv")<0)); 	this.isOpera=(ua.indexOf("opera")>=0); 	this.isAol=(ua.indexOf("aol")>=0); 	// browser version	this.vers=parseFloat(navigator.appVersion); 	// correct version number for NS6+ 	if (this.isNS && this.isGecko){this.vers=parseFloat(ua.substring(ua.lastIndexOf('/')+1));}	// correct version number for IE4+ 	else if (this.isIE && this.vers >= 4){this.vers=parseFloat(ua.substring(ua.indexOf('msie ')+5));}	// correct version number for Opera 	else if (this.isOpera){if (ua.indexOf('opera/')>=0){this.vers=parseFloat(ua.substring(ua.indexOf('opera/')+6));}else{this.vers=parseFloat(ua.substring(ua.indexOf('opera ')+6));}}	// platform	this.isWin  =(ua.indexOf('win')>=0);	this.isMac  =(ua.indexOf('mac')>=0);	this.isUnix =(ua.indexOf('unix')>=0 || ua.indexOf('linux')>=0 || ua.indexOf('sunos')>=0 || ua.indexOf('bsd')>=0 || ua.indexOf('x11')>=0)}function OUTcheckPNGSupport(){	var b=new OUTpngBrowserCheck();	// support for PNG via AlphaImageLoader, if is IE5.5+ on windows; set flag to 1	if (b.isIE && b.vers>=5.5) return 1;	// no support for PNG; set flag to -1 for Opera < 6 on Win/Unix, Opera < 5 on Mac, Netscape < 5, AOL	else if ((b.isIE && b.isWin) || (b.isIE && b.isMac && b.vers < 5) || (b.isOpera && (b.isWin || b.isUnix) && b.vers < 6) || (b.isOpera && b.isMac && b.vers < 5) || (b.isNS && b.vers < 5) || b.isAol) return -1;	// support for PNG right away; set flag to 0 for all others	else return 0;}var OUTpngSupport=OUTcheckPNGSupport();function OUTisPNGsrc(s,n){s=s.toLowerCase();n="."+n.toLowerCase();return s.lastIndexOf(n)==(s.length-n.length);}function OUTpngImgReplace(img,isrc,psrc,rsrc){	if (OUTpngSupport>0 && psrc && psrc!="#" && isrc && isrc!="#"){		img.style.filter="progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+isrc+"', sizingMethod='scale')";		img.src=psrc;	}	if(OUTpngSupport<0 && rsrc && rsrc!="#"){img.src=rsrc;}	if(OUTpngSupport==0 && isrc && isrc!="#" && img.src!=isrc){img.src=isrc;}}function OUTpngCSILoadTrans(s) {if(typeof(CSIm)!="undefined"){for(var n in CSIm){CSIm[n][4]=new Image();CSIm[n][4].src=s;}}}function OUTpngCSIShow(n,i) {	if (document.images) {		if (CSIm[n]) {			var img=CSGetImage(n);			if (img&&typeof(CSIm[n][i].src)!="undefined") {				if(!OUTisPNGsrc(CSIm[n][i].src,"png")) img.src=CSIm[n][i].src;				else OUTpngImgReplace(img,CSIm[n][i].src,CSIm[n][4].src,"#")			}			if(i!=0) self.status=CSIm[n][3]; else self.status=" ";			return true;		}	}	return false;}function OUTpngRolloverInit(a) {OUTpngCSILoadTrans(a[1]); if(typeof(CSIShow)!="undefined" && OUTpngCSIShow)CSIShow=OUTpngCSIShow;}//// OUT PNG Image Replace 1.0.0// Script copyright 2004 OUT Media Design GmbH. All rights reserved.function OUTpngImgReplAct(a) {	var img=CSGetImage(a[3]);	if(img&&OUTisPNGsrc(img.src,a[2]))OUTpngImgReplace(img,img.src,a[1],a[4]);}////-->// OUT PNG MenuMachine 1.0.0// Script copyright 2004 OUT Media Design GmbH. All rights reserved.function OUTpngMenuMachineInit() {	if(OUTpngSupport>0) __menu.prototype.hilite=OUTpngMMhilite;}function OUTpngMMhilite(on,r){var m=this;if(_b.n4){m.o.ocss.visibility=on?_b.show:_b.hide;}else{if(m.overUrl){if (OUTisPNGsrc(on?m.overUrl:m.imgUrl,"png")) OUTpngImgReplace(m.img,(on?m.overUrl:m.imgUrl),m.r.spc,"#");else m.img.src=on?m.overUrl:m.imgUrl;}if(m.opaque){if(_b.op)m.o.ncss.background=on?m.bgOverColor:m.bgcolor;else{m.o.ncss.backgroundColor=on?m.bgOverColor:m.bgcolor}}m.o.ncss.color=on?m.foc:m.fc;}m.hi=on;if(m.r.nhlP&&on&&r&&m.lvl>0)m.par.hilite(1,1);}////-->// OUT PNG Transparency for IE 1.0.6// Script copyright 2004 OUT Media Design GmbH. All rights reserved.function OUTpngIEBgReplace(style,s,m){	style.backgroundImage="";	style.filter="progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+s+"', sizingMethod='"+m+"')";}function OUTiePNGimgXparency(a) {	/* check browser */	if (OUTpngSupport>0){		/* add Smart Rollover support */		OUTpngRolloverInit(a);		/* replace img */		if(document.images){			for (var i=0;i<document.images.length;i++) {				var img=document.images[i];				if(img&&OUTisPNGsrc(img.src,a[2]))OUTpngImgReplace(img,img.src,a[1],"#");			}		}		/* replace style backgrounds */		if (a[3] && document.all) {			for(var i=0;i<document.all.length;i++){			 	var e=document.all[i],s=null;			 	if (e.background) s=e.background;			 	else if (e.style && e.style.backgroundImage) {			 		s=e.style.backgroundImage;			 		s=s.substr(4,s.length-5);			 	}			 	if(s&&OUTisPNGsrc(s,a[2])){e.background="";OUTpngIEBgReplace(e.style,s,a[4]);}			}		}		/* replace css backgrounds */		if (a[5] && document.styleSheets) {			for (var j=0; j<document.styleSheets.length; j++){				for(var i=0;i<document.styleSheets[j].rules.length;i++){				 	var e=document.styleSheets[j].rules[i],s=null;				 	if (e.style && e.style.backgroundImage) {				 		s=e.style.backgroundImage;				 		s=s.substr(4,s.length-5);				 	}				 	if(s&&OUTisPNGsrc(s,a[2]))OUTpngIEBgReplace(e.style,s,a[6]);				}			}		}	}}////-->// OUT Move To Relative Position Library v 1.2.5// Script copyright 2000, OUT Media Design GmbH. All rights reserved.var CSIsW3CDOM = CSIsW3CDOM; // declare variable in case the NN6 Fix isn't installedif(!CSIsW3CDOM) { CSIsW3CDOM = false; } // define in case the NN6 Fix isn't installedfunction OUTcalcLyrRelPos(action){	var x,y,w,h,ww,wh,lx,ly,xs,ys; 	if (CSIsW3CDOM) { 		CSIDOM();		var lyr=document.getElementById(action[1]);		x=parseInt(lyr.style.left); y=parseInt(lyr.style.top); w=parseInt(lyr.style.width); h=parseInt(lyr.style.height);		xs=window.pageXOffset;ys=window.pageYOffset;		ww=window.innerWidth; wh=window.innerHeight; 	} else if (IsIE()) {		var lyr=document.all.tags("div")[action[1]];		x=lyr.offsetLeft; y=lyr.offsetTop; w=lyr.offsetWidth; h=lyr.offsetHeight;		xs=document.body.scrollLeft;ys=document.body.scrollTop;		ww=document.body.clientWidth; wh=document.body.clientHeight;	} else {		var lyr=CSNSStyl(action[1]);		x=lyr.x; y=lyr.y; w=lyr.clip.width; h=lyr.clip.height;		xs=window.pageXOffset;ys=window.pageYOffset;		ww=window.innerWidth; wh=window.innerHeight;	}	var newX=x;	var newY=y;	lx = 0; ly = 0;	if (action[2]==2) lx=Math.floor(w/2);	if (action[2]==3) lx=w;	if (action[3]==2) ly=Math.floor(h/2);	if (action[3]==3) ly=h;	if (action[2]) lx-=action[4];	if (action[3]) ly-=action[5];	if (action[6]==1) newX=action[8];	if (action[6]==2) newX=ww/2;	if (action[6]==3) newX=ww;	if (action[7]==1) newY=action[9];	if (action[7]==2) newY=wh/2;	if (action[7]==3) newY=wh;	if (action[6]) newX = OUTsnapPosToGrid(newX+xs,action[11],action[13],action[8]+xs-(action[10]?action[4]:0),ww+xs-action[8]-(action[10]?action[4]:0));	if (action[7]) newY = OUTsnapPosToGrid(newY+ys,action[12],action[14],action[9]+ys-(action[10]?action[5]:0),wh+ys-action[9]-(action[10]?action[5]:0));	return Array(newX-lx,newY-ly);}function OUTrelPosMod(x,y){return x-y*Math.floor(x/y);}function OUTsnapPosToGrid(pos,grid,offset,min,max){	pos = (min<max)?(pos>min?(pos<max?pos:max):min):pos;	if (!grid) return pos;	var newPos  = Math.floor((pos-offset)/grid)*grid;	newPos += Math.round(OUTrelPosMod(pos-offset,grid)/grid)==1 ? grid : 0;	newPos += offset;	newPos = newPos >= min ? newPos : newPos+grid;	newPos = newPos <= max ? newPos : newPos-grid;	return newPos;}// OUT Get Relative Position Action v 1.0// Script copyright 2000, OUT Media Design GmbH. All rights reserved.function OUTgetRelPos(action){	return OUTcalcLyrRelPos(action); }// OUT Move To Relative Position Action v 1.0// Script copyright 2000, OUT Media Design GmbH. All rights reserved.function OUTmoveToRelPos(action){	CSSlideLayer(action[1],OUTcalcLyrRelPos(action),action[15],action[16]);}// OUT Lock Rollover Action Script Library 1.3.6// Script copyright 1999 - 2002 OUT Media Design GmbH. All rights reserved.var OUTlckTimeout = new Array();var OUTlckIm = new Object();function OUTdoLckBtnIm(action,cmp) {	var n = cmp ? OUTfindComponentElementName(action[1]) : action[1];	var g = OUTlckGrpName(action[2]);	var img = null;	OUTlckTimeout[n] = OUTlckTimeout[n] ? clearTimeout(OUTlckTimeout[n]) : 0;	if (n!="" && !CSIm[n]) {//in case the CSIm object is not available, defer locking		OUTlckTimeout[n] = setTimeout("OUTdoLckBtnIm(new Array('','"+action[1]+"','"+action[2]+"',"+action[3]+"),"+cmp+")",500);		return false;	}	if (document.images) {		if (!OUTlckIm[g]){//create group if not available			eval("OUTlckIm."+g +" = new Object()");			OUTlckIm[g].name='';OUTlckIm[g].main='';OUTlckIm[g].over='';		} else if (OUTlckIm[g].name!=n) {			var lckd = OUTlckIm[g].name;			if (CSIm[lckd]) {//restore last locked image				img = (!IsIE()) ? OUTFindElement(lckd,0) : document[lckd];				if (img) {					img.src = OUTlckIm[g].main;					CSIm[lckd][0].src = OUTlckIm[g].main;					CSIm[lckd][1].src = OUTlckIm[g].over;				}			}		}		if (CSIm[n] && OUTlckIm[g].name!=n) {//lock image			//save new locked image			OUTlckIm[g].main = CSIm[n][0].src;			OUTlckIm[g].over = CSIm[n][1].src;			//replace main & over with click image			CSIm[n][0].src = CSIm[n][2].src;			if (action[3]!=true) CSIm[n][1].src = CSIm[n][2].src;		}		OUTlckIm[g].name = n; // change name here to allow unlock		//display image		CSIShow(n,2);		return true;	}	return false;}function OUTlckGrpName(g) {  return g ? "group_"+g : "group_all"; }// OUT Lock Rollover from URL 1.1// Script copyright 2000-2002, OUT Media Design GmbH. All rights reserved.function OUTlckRolloverURL() {	var URLparams=window.location.search;	var action = new Array(3);	action[1] = "";	action[2] = "";	action[3] = true;	if (URLparams!="") {		URLparams=URLparams.substring(URLparams.indexOf('?')+1, URLparams.length);		URLparams=URLparams.split('&');        for (var i=0; i<URLparams.length; i++) {            var p=URLparams[i].split('=');            if (p[0]&&p[0]=='OUT_lckBtn') action[1]=p[1];            if (p[0]&&p[0]=='OUT_lckGrp') action[2]=p[1];            if (p[0]&&p[0]=='OUT_lckOvr') action[3]=(p[1]=="no" || p[1]=="false" || p[1]=="0")?true:false; //invert setting         }		OUTdoLckBtnIm(action,false);	}	return true;}// OUT Lock Rollover in Frame Action v1.4// Script copyright 2000, OUT Media Design GmbH. All rights reserved.function OUTlckBtnImFrm(action) {	var lckTarget = null;	if (action[3]=='') lckTarget = window; else lckTarget = OUTFindFrame(action[3],0);	if (action[4]) {//automatic		var docDir = window.location.pathname;		var lckBtn = '';		if (action[1]) docDir=docDir.substring(docDir.indexOf(action[1])+action[1].length,docDir.length);		docDir=docDir.substring(docDir.charAt(0)=='/'?1:0,docDir.lastIndexOf('.')>0?docDir.lastIndexOf('.'):docDir.length);		docDir=docDir.split('/');		if(!action[6]) docDir.length-=1;		if(docDir.length){			if(action[4]==1) lckBtn=docDir[0];			if(action[4]==2) lckBtn=docDir[docDir.length-1];			if(action[4]==3) {for(var i=0; i<docDir.length; i++){lckBtn+=docDir[i];if(i<docDir.length-1)lckBtn+=action[5];}}		}		action[1]=lckBtn;	}	if (lckTarget && lckTarget.CSIShow && lckTarget.OUTdoLckBtnIm){		action[3] = action[8]? true : false; //copy params to correct position		lckTarget.OUTdoLckBtnIm(action,action[7]);		return true;	}	return false;}// OUT Lock Rollover Toggle Action v1.1// Script copyright 2001, OUT Media Design GmbH. All rights reserved.function OUTlckBtnImTgl(action) {	var g = OUTlckGrpName(action[2]);	if (OUTlckIm[g] && OUTlckIm[g].name==action[1]) action[1]="";	return OUTdoLckBtnIm(action,false);}// OUT Lock Rollover Action v1.4// Script copyright 1999-2002, OUT Media Design GmbH. All rights reserved.function OUTlckBtnIm(action) {	return OUTdoLckBtnIm(action,false);}// OUT Set Rollover Image Action// Script copyright 2000, OUT Media Design GmbH. All rights reserved.function OUTsetBtnImURL(action) {	if (window.CSILoad){		if (action[1] != '') { CSIm[action[1]][action[2]].src = action[3]; }		return true;	}	return false;}// OUT Set Rollover Action In Frame// Script copyright 2000, OUT Media Design GmbH. All rights reserved.function OUTsetBtnImInFrame(action) {	var btnFrame = action[3]=='' ? window : OUTFindFrame(action[3],0);	if (btnFrame && btnFrame.CSIShow){		btnFrame.CSIShow((action[4] ? OUTfindComponentElementName(action[1]) : action[1]), action[2]);		return true;	}	return false;}// OUT Set Rollover Action In Frame// Script copyright 2000, OUT Media Design GmbH. All rights reserved.function OUTsetBtnIm(action) {	if (window.CSIShow){		window.CSIShow(action[1], action[2]);		return true;	}	return false;}// OUT Lock Rollover Action// Script copyright 2001, OUT Media Design GmbH. All rights reserved.function OUTunlckBtnIm(action) {	action[2] = action[1];	action[1] = "";	return OUTdoLckBtnIm(action,false);}// OUT Set Image URL in Frame 1.3.2// Script copyright 1999, 2000 OUT Media Design GmbH. All rights reserved.function OUTSetImageURLinFrame(action) {	var img = null;	var curDoc = null;	if (action[3]==''|| action[3]=="_self" || action[3]=="_blank" || action[3]=="_top" || action[3]=="_parent") { curDoc = document; }	else { curDoc = OUTFindFrame(action[3],0); curDoc = curDoc ? curDoc.document : document; }	if (curDoc && curDoc.images) {		var url = location.pathname;		url = url.substr(0,url.lastIndexOf('/')+1);		if (!IsIE()&&!CSIsW3CDOM) img = OUTFindElement(action[1],curDoc,action[4]);		else img = curDoc.images[action[1]];		if (img) img.src = url+action[2];	}}		function RTAOLRedirect(action) {    	var agt=navigator.userAgent.toLowerCase(); 	if (agt.indexOf("aol") >= 0) {				// If AOL then proceed		if (!(action[2])) {						// If alert is not checked proceed; if checked, go to line 10			x = confirm("We have detected that you are an AOL user. The AOL browser, in it's default configuration, displays images at a much lower quality than necessary. Click OK to learn how to correct this simply and quickly.")				if (x == true) {				// If user clicks OK proceed					location.href=action[1];	// Redirect to AOL URL				}		}		else {									// Alert box is checked			alert(action[3]);		}	}}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) }}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]}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] 	}         }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 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])	}         }		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])	}         }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]; }}// SlideShowKit 1.5.1 by Nate Baldwin, www.mindpalette.com, April 27, 2004// Slide Show Detail List...function MPImgDetailList2(action) {	var thisGroup = action[1];	if (thisGroup == "") thisGroup = "default";	if (MP_SSKParam1[thisGroup] != "undefined") {		if (MPValidURLString(action[2])) {			var thisSlide = new Object();			thisSlide.imgurl = action[2];			thisSlide.linkurl = (MPValidURLString(action[3])) ? action[3] : "";			thisSlide.caption = action[4];			thisSlide.descript = action[5];			MP_SSKParam1[thisGroup].imagelist[MP_SSKParam1[thisGroup].imagelist.length] = thisSlide;			}		}	}//-->// Slideshow Kit 1.5.1 by Nate Baldwin, www.mindpalette.com, July 14, 2004// Slide Show DIV Action...function MPSSKWriteDiv2(action) {	var id = action[1];	var content = action[2];	var html = "";	if (id != "") {		html = '<'+'div id="'+id+'">'+content+'<'+'/div>'		}	if (html != "") document.write(html);	}//-->// Slideshow Kit 1.5.1 by Nate Baldwin, www.mindpalette.com, April 27, 2004// Slide Show Folder Action...function MPImgLinkFolder2(action) {	var thisGroup = (action[1] != "") ? action[1] : "default";	if (typeof MP_SSKParam1[thisGroup] != "undefined") {		var imgDir = (MPValidURLString(action[2])) ? action[2] : "";		imgDir = MPCheckDirFormat(imgDir);		var startNum = (action[3] != "") ? parseInt(action[3]) : 1;		var endNum = (action[4] != "") ? parseInt(action[4]) : 0;		var imgExt = (action[5] != "") ? MPCheckExtFormat(action[5]) : "jpg";		var linkImgs = action[6];		var linkExt = (action[7] != "") ? MPCheckExtFormat(action[7]) : "html";		var linkDir = (MPValidURLString(action[8])) ? action[8] : "";		linkDir = MPCheckDirFormat(linkDir);		if (endNum > 0 && endNum > startNum && imgDir != "") {			for (i=startNum; i<=endNum; i++) {				var thisSlide = new Object();				thisSlide.imgurl = imgDir+i+"."+imgExt;				thisSlide.linkurl = (linkImgs == true && linkDir != "") ? linkDir+i+"."+linkExt : "";				thisSlide.caption = "";				thisSlide.descript = "";				MP_SSKParam1[thisGroup].imagelist[MP_SSKParam1[thisGroup].imagelist.length] = thisSlide;				}			}		}	}//-->// Slideshow Kit 1.5.2 by Nate Baldwin, www.mindpalette.com, June 15, 2005// With modification to allow image name prefix string// Slide Show Folder Prefix Action...function MPImgLinkFolderPrefix(action) {	var thisGroup = (action[1] != "") ? action[1] : "default";	if (typeof MP_SSKParam1[thisGroup] != "undefined") {		var imgDir = (MPValidURLString(action[2])) ? action[2] : "";		imgDir = MPCheckDirFormat(imgDir);		var startNum = (action[3] != "") ? parseInt(action[3]) : 1;		var endNum = (action[4] != "") ? parseInt(action[4]) : 0;		var imgExt = (action[5] != "") ? MPCheckExtFormat(action[5]) : "jpg";		var linkImgs = action[6];		var linkExt = (action[7] != "") ? MPCheckExtFormat(action[7]) : "html";		var linkDir = (MPValidURLString(action[8])) ? action[8] : "";		var namePrefix = action[9];		var pad = (parseInt(action[10]) != 'NaN') ? parseInt(action[10]) : 0;		linkDir = MPCheckDirFormat(linkDir);		if (endNum > 0 && endNum > startNum && imgDir != "") {			for (i=startNum; i<=endNum; i++) {				var thisSlide = new Object();				var numString = i+'';				var remainder = pad - (numString.length + namePrefix.length);				var padString = '';				for (var x=0; x<remainder; x++) {					padString = padString + '0';					}				var thisFileName = namePrefix+padString+numString+'.'+imgExt;				thisSlide.imgurl = imgDir+thisFileName;				thisSlide.linkurl = (linkImgs == true && linkDir != "") ? linkDir+i+"."+linkExt : "";				thisSlide.caption = "";				thisSlide.descript = "";				MP_SSKParam1[thisGroup].imagelist[MP_SSKParam1[thisGroup].imagelist.length] = thisSlide;				}			}		}	}//-->// SlideShowKit 1.5.2 by Nate Baldwin, mindpalette.com - May 19, 2005// Slide Show Jump Action...function MPJump2SlideX(action) {	var group = (action[1] != "") ? action[1] : "default";	var imgurl = action[2];	if (typeof MP_SSKParam1[group] != "undefined") {		if (MPValidURLString(imgurl)) {			MP_SSKParam1[group].MPSetToggle("pause");			MP_SSKParam1[group].autoscroll.run = false;			var imageList = MP_SSKParam1[group].imagelist;			var nextIndex = -1;			var stopScript = false;			var currentImage = MPGetFileName(imgurl);			for (n=0; n<imageList.length; n++) {				if (imageList[n] != "") {					var testImage = MPGetFileName(imageList[n].imgurl);					if (testImage == currentImage) {						nextIndex = n;						break;						}					}				}			if (nextIndex > -1) {				var options = MP_SSKParam1[group].imageopts;				var img = options.imgname;				if (options.nextimg != "" && options.nextaltsrc != "" && options.nextimgsrc != "") {					var fixImage = MP_SSKParam1[group].imageopts.nextimg;					if (nextIndex == (imageList.length-1))						document.images[fixImage].src = options.nextaltsrc;						else document.images[fixImage].src = options.nextimgsrc;					}				if (options.previmg != "" && options.prevaltsrc != "" && options.previmgsrc != "") {					var fixImage = MP_SSKParam1[group].imageopts.previmg;					if (nextIndex == 0)						document.images[fixImage].src = options.prevaltsrc;						else document.images[fixImage].src = options.previmgsrc;					}				if (stopScript == false) {					document.images[img].src = imageList[nextIndex].imgurl;					MP_SSKParam1[group].MPUpdateImgMenu(nextIndex);					MP_SSKParam1[group].MPUpdateCaptDescDivs(nextIndex);					}				}			}		}	}//-->// SlideShowKit 1.5.1 by Nate Baldwin, www.mindpalette.com - April 27, 2004// Slide Show Link Action...function MPImgLinkTrigger1(action) {	var imgGroup = action[1];	var linkType = "";	if (action[2] == "1") linkType = "popup";		else if (action[2] == "2") linkType = "aiw";		else linkType = "link";	var urlFound = "";	var aiwImg = "";	if (typeof MP_SSKParam1[imgGroup] != "undefined") {		var currentImg = MPGetFileName(document.images[MP_SSKParam1[imgGroup].imageopts.imgname].src);		for (n=0; n<MP_SSKParam1[imgGroup].imagelist.length; n++) {			var testImage = MPGetFileName(MP_SSKParam1[imgGroup].imagelist[n].imgurl);			if (testImage == currentImg) {				if (linkType == "aiw") {					if (action[20] != "") {						aiwImg = MPCheckDirFormat(action[20])+testImage;						break;						}					} else if (testImage == currentImg && MP_SSKParam1[imgGroup].imagelist[n].linkurl != "") {					urlFound = MP_SSKParam1[imgGroup].imagelist[n].linkurl;					break;					}				}							}		}	if (urlFound != "" || aiwImg != "") {		if (action[25] == true) {			MP_SSKParam1[imgGroup].MPSetToggle("pause");			MP_SSKParam1[imgGroup].autoscroll.run = false;			if (typeof MP_SSKParam1[imgGroup].autoscroll.timer == "number") {				clearTimeout(MP_SSKParam1[imgGroup].autoscroll.timer);				MP_SSKParam1[imgGroup].autoscroll.timer = false;				}			}		if (linkType == "link") {			var frameFound = false;			var linkTarget = action[19];			if (linkTarget != "") {				for (i=0; i<parent.frames.length; i++) {					if (parent.frames[i].name == linkTarget) {						frameFound = true;						break;						}					}				}			if (frameFound == true)				parent.frames[linkTarget].location = urlFound;				else window.location = urlFound;			} else {			var posX = action[14];			var posY = action[15];			var winWidth = action[4];			var winHeight = action[5];			var setWidth = true;			var setHeight = true;			if (winWidth == "" || winWidth == 0 || winWidth == "0") setWidth = false;			if (winHeight == "" || winHeight == 0 || winHeight == "0") setHeight = false;			if (action[6] == true) {				if (setWidth == true) posX = Math.round((screen.availWidth/2)-(winWidth/2));				if (setHeight == true) posY = Math.round((screen.availHeight/2)-(winHeight/2));				}			if (action[17] == true || action[16] == true) {				posX = 0;				winWidth = screen.availWidth;				}			if (action[18] == true || action[16] == true) {				posY = 0;				winHeight = screen.availHeight;				}			if (winWidth > (screen.availWidth - posX)) winWidth = (screen.availWidth - posX);			if (winHeight > (screen.availHeight - posY)) winHeight = (screen.availHeight - posY);			for (i=7; i<14; i++) {				action[i] == true ? action[i] = "yes" : action[i] = "no";				}			var windowOptions = "";			if (setWidth == true) windowOptions += "width=" + winWidth;			if (setHeight == true) {				if (setWidth == true) windowOptions += ",";				windowOptions += "height=" + winHeight;				}			if (setWidth == true || setHeight == true) windowOptions += ",";			windowOptions += "resizable=" + action[13];			windowOptions += ",scrollbars=" + action[7];			windowOptions += ",menubar=" + action[8];			windowOptions += ",toolbar=" + action[11];			windowOptions += ",directories=" + action[9];			windowOptions += ",location=" + action[12];			windowOptions += ",status=" + action[10];			windowOptions += ",left=" + posX;			windowOptions += ",top=" + posY;			if (linkType != "aiw") {				var thisPopup = window.open(urlFound, action[3], windowOptions);				if (thisPopup && typeof thisPopup == "object") thisPopup.focus();				} else {				var code = "";				code += '<'+'!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"'+'>'+"\n\n";				code += '<'+'html'+'>'+"\n\n";				code += '<'+'head'+'>'+"\n";				code += '<'+'meta http-equiv="content-type" content="text/html;charset=iso-8859-1"'+'>'+"\n";				code += '<'+'title'+'>'+action[21]+'<'+'/title'+'>'+"\n";				if (action[23] == true && action[24] != "") {					code += '<'+'style type="text/css" media="screen"'+'><'+'!--'+"\n";					code += 'a { color: '+action[24]+'; font-size: 12px !important; font-family: Verdana, Arial, Helvetica }'+"\n";					code += '--'+'><'+'/style'+'>'+"\n";					}				code += '<'+'/head'+'>'+"\n\n";				code += '<'+'body bgcolor="'+action[22]+'" leftmargin="0" marginheight="0" marginwidth="0" topmargin="0"'+'>'+"\n";				code += '<'+'table width="100%" border="0" cellspacing="0" cellpadding="0" height="100%"'+'>'+"\n";				code += '<'+'tr'+'>'+"\n";				code += '<'+'td align="center" valign="middle"'+'><'+'img src="'+aiwImg+'" alt="" border="0"'+'>'+"\n";				if (action[23] == true && action[24] != "") code += '<br'+'><'+'a href="javascript:self.close();"'+'>'+'close window'+'<'+'/a'+'>'+"\n";				code += '<'+'/td'+'><'+'/tr'+'>'+"\n";				code += '<'+'/table'+'>'+"\n";				code += '<'+'/body'+'>'+"\n\n";				code += '<'+'/html'+'>';				var thisPopup = window.open("", action[3], windowOptions);				if (thisPopup && typeof thisPopup == "object") {					thisPopup.document.open();					thisPopup.document.write(code);					thisPopup.document.close();					thisPopup.focus();					}				}			}		}	}//-->// SlideShowKit 1.5.1 by Nate Baldwin, www.mindpalette.com, April 27, 2004// Slide Show Link List Action...function MPImgLinkCapt2(action) {	var thisGroup = action[1];	if (thisGroup == "") thisGroup = "default";	if (MP_SSKParam1[thisGroup] != "undefined") {		for (i=2; i<=16; i+=3) {			if (MPValidURLString(action[i])) {				var thisSlide = new Object();				thisSlide.imgurl = action[i];				thisSlide.linkurl = (MPValidURLString(action[i+1])) ? action[i+1] : "";				thisSlide.caption = action[i+2];				thisSlide.descript = "";				MP_SSKParam1[thisGroup].imagelist[MP_SSKParam1[thisGroup].imagelist.length] = thisSlide;				}			}		}	}//-->// SlideShowKit 1.5.1 by Nate Baldwin, www.mindpalette.com, April 27, 2004// Slide Show Link List Action...function MPImgLinkList2(action) {	var thisGroup = action[1];	if (thisGroup == "") thisGroup = "default";	if (MP_SSKParam1[thisGroup] != "undefined") {		for (i=2; i<=21; i+=2) {			if (MPValidURLString(action[i])) {				var thisSlide = new Object();				thisSlide.imgurl = action[i];				thisSlide.linkurl = (MPValidURLString(action[i+1])) ? action[i+1] : "";				thisSlide.caption = "";				thisSlide.descript = "";				MP_SSKParam1[thisGroup].imagelist[MP_SSKParam1[thisGroup].imagelist.length] = thisSlide;				}			}		}	}//-->// SlideShowKit 1.5.1 by Nate Baldwin, www.mindpalette.com, April 27, 2004// Slide Show List Action...function MPLoadImgLst2(action) {	var thisGroup = action[1];	if (thisGroup == "") thisGroup = "default";	if (MP_SSKParam1[thisGroup] != "undefined") {		for (i=2; i<=21; i++) {			if (MPValidURLString(action[i])) {				var thisSlide = new Object();				thisSlide.imgurl = action[i];				thisSlide.linkurl = "";				thisSlide.caption = "";				thisSlide.descript = "";				MP_SSKParam1[thisGroup].imagelist[MP_SSKParam1[thisGroup].imagelist.length] = thisSlide;				}			}		}	}//-->// Slideshow Kit 1.5.1 by Nate Baldwin, www.mindpalette.com, April 27, 2004// Slide Show Menu Action...function MPImgSeqMenu1(action) {	var imgGroup = action[1];	var visRows = (parseInt(action[2]) > 0) ? action[2] : "1";	if (typeof MP_SSKParam1[imgGroup] != "undefined") {		var currentImgName = MP_SSKParam1[imgGroup].imageopts.imgname;		if (typeof document.images[currentImgName] != "undefined")			var currentImg = document.images[currentImgName].src;			else currentImg = "";		var formHTML = "";		currentImg = MPGetFileName(currentImg);		var currentFound = false;		var thisImgList = MP_SSKParam1[imgGroup].imagelist;		var thisTotal = thisImgList.length;		if (thisImgList.length > 0) {			formHTML += "\n"+'<'+'form name="'+imgGroup+'_form"'+">\n";			formHTML += '<'+'select name="'+imgGroup+'_menu" size="'+visRows+'" ';			formHTML += 'onchange="MP_SSKParam1[\''+imgGroup+'\'].MPJump2ImgNum2(this, \''+imgGroup+'\');">'+"\n";			for (n=0; n<thisImgList.length; n++) {				var thisImg = MPGetFileName(thisImgList[n].imgurl);				if (thisImg != "") {					formHTML += '<'+'option ';					if (currentImg == thisImg && currentFound == false) {						formHTML += "selected ";						currentFound = true;						}					var menuText = "";					if (action[3] == "1") menuText = (n+1)+' of '+thisTotal;						else if (action[3] == "2") {						var caption = (thisImgList[n].caption != "") ? thisImgList[n].caption : thisImg;						menuText = (n+1)+". "+caption;						} else menuText = (n+1)+". "+thisImg;					formHTML += 'value="'+n+'">'+menuText+'<'+'/option'+">\n";					}				}			formHTML += '<'+'/select'+'>';			formHTML += '<'+'/form'+'>';			}		document.write(formHTML);		}	}//-->// Slideshow Kit 1.5.2 by Nate Baldwin, www.mindpalette.com, August 31, 2004// Slide Show Options Action...function MPGetFileName(startString) {	thisString = startString+"";	if (thisString.lastIndexOf('/') != -1) {		var nameStart = thisString.lastIndexOf('/') + 1;		var nameEnd = thisString.length;		var thisFile = thisString.substring(nameStart, nameEnd);		} else var thisFile = thisString;	return thisFile;	}function MPValidURLString(testString) {	var validString = true;	if (testString == "") validString = false;		else if (testString == "#") validString = false;		else if (testString == "(EmptyReference!)") validString = false;		else if (testString == "(Empty Reference!)") validString = false;	if (validString == true) return true;		else return false;	}function MPCheckExtFormat(thisString) {	if (thisString.charAt(0) == ".") thisString = thisString.substring(1);	return thisString;	}function MPCheckDirFormat(thisString) {	if (thisString != "") {		if (thisString.charAt(thisString.length - 1) == "/") thisString = thisString.substring(0, thisString.length - 1);		var dirArray = thisString.split("/");		var lastIndex = dirArray.length - 1;		thisString = "";		for (n=0; n<dirArray.length; n++) {			var addThisBlock = true;			if (n == lastIndex) {				var testArray = dirArray[lastIndex].split(".");				if (testArray.length > 1) addThisBlock = false;				}			if (addThisBlock == true) thisString += dirArray[n]+"/";			}		if (thisString.charAt(thisString.length - 1) != "/") thisString += "/";		}	return thisString;	}function MPJump2ImgNum2(menu, group) {	var imgNum = menu.options[menu.selectedIndex].value;	if (imgNum != "") {		var imgSrc = this.imagelist[imgNum].imgurl;		document.images[this.imageopts.imgname].src = imgSrc;		if (this.imageopts.nextaltsrc != "" && this.imageopts.nextimgsrc != "" && this.imageopts.nextimg != "") {			if (imgNum == (this.imagelist.length - 1))				document.images[this.imageopts.nextimg].src = this.imageopts.nextaltsrc;				else document.images[this.imageopts.nextimg].src = this.imageopts.nextimgsrc;			}		if (this.imageopts.prevaltsrc != "" && this.imageopts.previmgsrc != "" && this.imageopts.previmg != "") {			if (imgNum == 0)				document.images[this.imageopts.previmg].src = this.imageopts.prevaltsrc;				else document.images[this.imageopts.previmg].src = this.imageopts.previmgsrc;			}		this.MPUpdateCaptDescDivs(imgNum);		this.MPSetToggle("pause");		this.autoscroll.run = false;		if (typeof this.autoscroll.timer == "number") {			clearTimeout(this.autoscroll.timer);			this.autoscroll.timer = false;			}		}	}function MPUpdateImgMenu(newIndex) {	var thisForm = this.imagegroup+"_form";	var thisMenu = this.imagegroup+"_menu";	if (typeof document.forms[thisForm] != "undefined") {		if (typeof document.forms[thisForm].elements[thisMenu].options[newIndex] != "undefined") {			for (m=0; m<document.forms[thisForm].elements[thisMenu].length; m++) {				if (m == (newIndex)) document.forms[thisForm].elements[thisMenu].options[m].selected = true;					else document.forms[thisForm].elements[thisMenu].options[m].selected = false;				}			}		}	}function MPSetToggle(type) {	if (this.imageopts.playbtn != "" && this.imageopts.playsrc != "" && this.imageopts.pausesrc != "") {		if (type == "play") document.images[this.imageopts.playbtn].src = this.imageopts.pausesrc;			else document.images[this.imageopts.playbtn].src = this.imageopts.playsrc;		}	}function MPAutoScrollImgSeq1(group) {	if (typeof MP_SSKParam1[group] != "undefined") {		if (MP_SSKParam1[group].autoscroll.run == true) {			var thisIndex = MP_SSKParam1[group].autoscroll.index;			if (MP_SSKParam1[group].imageopts.stop == true) {				if (MP_SSKParam1[group].autoscroll.reverse == true) {					if (thisIndex < 1) {						MP_SSKParam1[group].autoscroll.run = false;						if (MP_SSKParam1[group].imageopts.alert == true) alert(MP_SSKParam1[group].imageopts.startalert);						}					} else {					if (thisIndex >= (MP_SSKParam1[group].imagelist.length - 1)) {						MP_SSKParam1[group].autoscroll.run = false;						if (MP_SSKParam1[group].imageopts.alert == true) alert(MP_SSKParam1[group].imageopts.endalert);						}					}				}			}		if (MP_SSKParam1[group].autoscroll.run == true) {			var nextIndex = 0;			if (MP_SSKParam1[group].autoscroll.stall == true)				nextIndex = thisIndex;				else {				if (MP_SSKParam1[group].autoscroll.reverse == false) {					if (thisIndex < (MP_SSKParam1[group].imagelist.length - 1))						nextIndex = (MP_SSKParam1[group].autoscroll.index + 1);					} else {					if (MP_SSKParam1[group].autoscroll.index > 0) nextIndex = thisIndex - 1;						else nextIndex = (MP_SSKParam1[group].imagelist.length - 1);					}				}			if (MP_SSKParam1[group].imagelist[nextIndex][0] != "")				document.images[MP_SSKParam1[group].imageopts.imgname].src = MP_SSKParam1[group].imagelist[nextIndex].imgurl;			var timer = setTimeout("this.MPAutoScrollImgSeq1('"+group+"')", MP_SSKParam1[group].autoscroll.delay);			MP_SSKParam1[group].autoscroll.index = nextIndex;			MP_SSKParam1[group].autoscroll.timer = timer;			if (MP_SSKParam1[group].autoscroll.stall == false) {				MP_SSKParam1[group].MPUpdateImgMenu(nextIndex);				MP_SSKParam1[group].MPUpdateCaptDescDivs(nextIndex);				}			MP_SSKParam1[group].autoscroll.stall = false;			} else {			if (typeof MP_SSKParam1[group].autoscroll.timer == "number") {				clearTimeout(MP_SSKParam1[group].autoscroll.timer);				MP_SSKParam1[group].autoscroll.timer = false;				}			MP_SSKParam1[group].MPSetToggle("pause");			MP_SSKParam1[group].autoscroll.run = false;			}		}	}function MPDivTextWrite2(div, text) {	if (document.layers) {		if (typeof eval("document."+div+".document") != "undefined") {			with (eval("document."+div+".document")) {				open();				write("<"+"HTML"+"><"+"HEAD"+"><"+"/HEAD"+"><"+"BODY"+">"+text+"<"+"/BODY"+"><"+"/HTML"+">");				close();				}			}		} else if (document.all && typeof document.all[div] != "undefined") {		document.all[div].innerHTML = text;		} else if (document.getElementById && !document.all && typeof document.getElementById(div) != "undefined") {		document.getElementById(div).innerHTML = text;		}	}function MPParseCountDivText(text, count, total) {	var regexp = /\[count\]/g	text = text.replace(regexp, count);	var regexp = /\[total\]/g	text = text.replace(regexp, total);	return text;	}function MPUpdateCaptDescDivs(nextIndex) {	var thisCaptDiv = this.imageopts.captdiv;	if (thisCaptDiv == "#") thisCaptDiv = "";	var thisCaptTxt = this.imagelist[nextIndex].caption;	if (thisCaptDiv != "" && thisCaptTxt != "") MPDivTextWrite2(thisCaptDiv, thisCaptTxt);	var thisDescDiv = this.imageopts.descdiv;	var thisDescTxt = this.imagelist[nextIndex].descript;	if (thisDescDiv != "" && thisDescTxt != "") MPDivTextWrite2(thisDescDiv, thisDescTxt);	var thisCountDiv = this.imageopts.countdiv;	if (thisCountDiv == "#") thisCountDiv = "";	var countTxtTmp = (this.imageopts.counttxt != thisCountDiv) ? this.imageopts.counttxt : "";	if (countTxtTmp == "") countTxtTmp = "[count] of [total]";	var thisCountTxt = MPParseCountDivText(countTxtTmp, parseInt(nextIndex)+1, this.imagelist.length);	if (thisCountDiv != "" && thisCountTxt != " of ") MPDivTextWrite2(thisCountDiv, thisCountTxt);	}if (typeof MP_SSKParam1 == "undefined") var MP_SSKParam1 = new Array();if (typeof MPImageSeqPreldArray1 == "undefined") var MPImageSeqPreldArray1 = new Array();function MPSequence2Options(action) {	var group = (action[1] != "") ? action[1] : "default";	var imageopts = new Object();	imageopts.stop = action[2];	imageopts.alert = action[3];	imageopts.startalert = (action[4] != "") ? action[4] : "beginning of slideshow";	imageopts.endalert = (action[5] != "") ? action[5] : "end of slideshow";	imageopts.nextimg = action[6];	imageopts.nextaltsrc = (MPValidURLString(action[7])) ? action[7] : "";	imageopts.previmg = action[8];	imageopts.prevaltsrc = (MPValidURLString(action[9])) ? action[9] : "";	imageopts.imgname = action[10];	imageopts.nextimgsrc = (MPValidURLString(action[11])) ? action[11] : "";	imageopts.previmgsrc = (MPValidURLString(action[12])) ? action[12] : "";	imageopts.playbtn = action[13];	imageopts.playsrc = (MPValidURLString(action[14])) ? action[14] : "";	imageopts.pausesrc = (MPValidURLString(action[15])) ? action[15] : "";	imageopts.captdiv = action[16];	imageopts.descdiv = action[17];	imageopts.countdiv = action[18];	imageopts.counttxt = action[19];	var autoscroll = new Object();	autoscroll.run = false;	autoscroll.index = 0;	autoscroll.delay = 3000;	autoscroll.reverse = false;	autoscroll.timer = false;	autoscroll.stall = false;	var slideshow = new Object();	slideshow.imagegroup = group;	slideshow.imagelist = new Array();	slideshow.imageopts = imageopts;	slideshow.autoscroll = autoscroll;	slideshow.MPJump2ImgNum2 = MPJump2ImgNum2;	slideshow.MPAutoScrollImgSeq1 = MPAutoScrollImgSeq1;	slideshow.MPUpdateImgMenu = MPUpdateImgMenu;	slideshow.MPSetToggle = MPSetToggle;	slideshow.MPUpdateCaptDescDivs = MPUpdateCaptDescDivs;	MP_SSKParam1[group] = slideshow;	var preldArray = new Array();	var MPImageSeqPreldCount1 = MPImageSeqPreldArray1.length;	if (action[7] != "") preldArray[preldArray.length] = action[7];	if (action[9] != "") preldArray[preldArray.length] = action[9];	if (action[11] != "") preldArray[preldArray.length] = action[11];	if (action[12] != "") preldArray[preldArray.length] = action[12];	if (action[14] != "") preldArray[preldArray.length] = action[14];	if (action[15] != "") preldArray[preldArray.length] = action[15];	if (preldArray.length > 0) {		MPImageSeqPreldArray1[MPImageSeqPreldCount1] = new Array();		for (i=0; i<preldArray.length; i++) {			if (preldArray[i] != "") {				MPImageSeqPreldArray1[MPImageSeqPreldCount1][i] = new Image();				MPImageSeqPreldArray1[MPImageSeqPreldCount1][i].src = preldArray[i];				}			}		}	}//-->// SlideShowKit 1.5.1 by Nate Baldwin, www.mindpalette.com, April 27, 2004// Slide Show Preload Action...if (typeof MPImageSeqPreldArray1 == "undefined") var MPImageSeqPreldArray1 = new Array();function MPImgSeqPrld2(action) {	var group = (action[1] != "") ? action[1] : "default";	var limit = action[2];	var max = (action[3] > 0) ? action[3] : 10;	MPImageSeqPreldCount1 = MPImageSeqPreldArray1.length;	if (limit == false || max > MP_SSKParam1[group].imagelist.length) max = MP_SSKParam1[group].imagelist.length;	MPImageSeqPreldArray1[MPImageSeqPreldCount1] = new Array();	for (i=0; i<max; i++) {		if (MP_SSKParam1[group].imagelist[i].imgurl != "") {			MPImageSeqPreldArray1[MPImageSeqPreldCount1][i] = new Image();			MPImageSeqPreldArray1[MPImageSeqPreldCount1][i].src = MP_SSKParam1[group].imagelist[i].imgurl;			}		}	}//-->// SlideShowKit 1.5 by Nate Baldwin, mindpalette.com - June 28, 2006// Slide Show Trigger Action 1.5.6function MPTriggerImageSeq(action) {	var group = (action[1] != "") ? action[1] : "default";	var type = (action[2] == 1 || action[2] == "1") ? "next" : "prev";	var type = "";	if (action[2] == "1") type = "prev";		else if (action[2] == "2") type = "play";		else if (action[2] == "3") type = "pause";		else if (action[2] == "4") type = "toggle";		else if (action[2] == "5") type = "start";		else if (action[2] == "6") type = "end";		else type = "next";	var delay = (parseInt(action[3]) > 0) ? parseInt(action[3]) : 3000;	var reverse = action[4];	if (typeof MP_SSKParam1[group] != "undefined") {		if (type == "toggle") {			if (MP_SSKParam1[group].autoscroll.run == false) type = "play";				else type = "pause";			}		MP_SSKParam1[group].MPSetToggle(type);		MP_SSKParam1[group].autoscroll.run = false;		if (typeof MP_SSKParam1[group].autoscroll.timer == "number") {			clearTimeout(MP_SSKParam1[group].autoscroll.timer);			MP_SSKParam1[group].autoscroll.timer = false;			}		if (type != "pause") {			var nextIndex = (type == "end") ? (MP_SSKParam1[group].imagelist.length - 1) : 0;			var thisIndex = -1;			var imageList = MP_SSKParam1[group].imagelist;			var img = MP_SSKParam1[group].imageopts.imgname;			var stopScript = false;			var currentImage = document.images[img].src;			currentImage = MPGetFileName(currentImage);			for (n=0; n<imageList.length; n++) {				if (imageList[n] != "") {					var testImage = MPGetFileName(imageList[n].imgurl);					if (testImage == currentImage) {						thisIndex = n;						break;						}					}				}			if (type == "next" || (type == "play" && !reverse)) {				if (thisIndex >= (imageList.length - 1))					nextIndex = 0;					else if (typeof imageList[thisIndex + 1] == "undefined")					nextIndex = 0;					else if (imageList[thisIndex + 1].imgurl == "")					nextIndex = 0;					else nextIndex = thisIndex + 1;				if (nextIndex == 0) {					if (MP_SSKParam1[group].imageopts.stop == true) {						if (thisIndex == (imageList.length - 1)) stopScript = true;						nextIndex = (thisIndex >= 0) ? thisIndex : 0;						}					if (MP_SSKParam1[group].imageopts.alert == true && thisIndex == (imageList.length - 1))						alert(MP_SSKParam1[group].imageopts.endalert);					}				} else if (type == "prev" || (type == "next" && reverse)) {				if ((thisIndex - 1) < 0)					nextIndex = imageList.length - 1;					else nextIndex = thisIndex - 1;				if (nextIndex == (imageList.length - 1)) {					if (MP_SSKParam1[group].imageopts.stop == true) {						stopScript = true;						nextIndex = (thisIndex >= 0) ? thisIndex : 0;						}					if (MP_SSKParam1[group].imageopts.alert == true) alert(MP_SSKParam1[group].imageopts.startalert);					}				}			var options = MP_SSKParam1[group].imageopts;			if (type == "play" && !stopScript) {				MP_SSKParam1[group].autoscroll.run = true;				var startIndex = (thisIndex > 0) ? thisIndex : 0;				MP_SSKParam1[group].autoscroll.index = startIndex;				MP_SSKParam1[group].autoscroll.delay = delay;				MP_SSKParam1[group].autoscroll.reverse = reverse;				MP_SSKParam1[group].autoscroll.stall = action[5];				if (options.playbtn != "" && options.playsrc != "" && options.pausesrc != "")					document.images[options.playbtn].src = options.pausesrc;				MPAutoScrollImgSeq1(group);				} else if (!stopScript) {				if (options.nextimg != "" && options.nextaltsrc != "" && options.nextimgsrc != "") {					var fixImage = MP_SSKParam1[group].imageopts.nextimg;					if (nextIndex == (imageList.length-1))						document.images[fixImage].src = options.nextaltsrc;						else document.images[fixImage].src = options.nextimgsrc;					}				if (options.previmg != "" && options.prevaltsrc != "" && options.previmgsrc != "") {					var fixImage = MP_SSKParam1[group].imageopts.previmg;					if (nextIndex == 0)						document.images[fixImage].src = options.prevaltsrc;						else document.images[fixImage].src = options.previmgsrc;					}				if (stopScript == false) {					document.images[img].src = imageList[nextIndex].imgurl;					MP_SSKParam1[group].MPUpdateImgMenu(nextIndex);					MP_SSKParam1[group].MPUpdateCaptDescDivs(nextIndex);					}				}			}		}	}//-->function CSActionGroup (action) {	for(var i=1;i<action.length;i++) { CSAction(new Array(action[i])); }}function CSCallAction(action){	CSAction(new Array(action[1]));}function CSCallFunction(action){	var str = action[1];	str += "(";	str += action[2];	str += ");"	return eval(str);}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 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;}function CSDJCheckFolder(action){	myDJFullPath = document.location.pathname;	myDJFileArray = myDJFullPath.split("/");	if(myDJFileArray.length > 1) {		myDJFolder = myDJFileArray[myDJFileArray.length-2];		if(myDJFolder == action[1])			return true;	}	return false;}function CSDJCheckFile(action){	myDJFullPath = document.location.href;	myDJFileArray = myDJFullPath.split("/");	myDJFile = myDJFileArray[myDJFileArray.length-1];	if(myDJFile == action[1])		return true;	else		return false;}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));}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;}/* * ver. 19980818 copyright 1998 terry chay * bugs? suggestions? <mailto:chay@uiuc.edu>  */function TCRandomAction (action) {	CSAction(new Array(action[rand(action.length-1)]));}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 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 CSSetStateToCode(action){	eval(action[3] + " = CSStateArray[action[1]]");}function CSSetStateWithCode(action){	CSStateArray[action[1]] = eval(action[3]);}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" : "");}function RTBrowserSniff(action) {isBrowser = falseif (action[1] == "Explorer") {	version = ("MSIE " + action[2]);}	else (version = action[2]);	if ((navigator.appName.indexOf(action[1]) >=0) && (navigator.appVersion.indexOf(version) >=0) && (navigator.appVersion.indexOf(action[3]) >=0)) {		isBrowser = true;		return isBrowser		}}function RTCookieCheck(action) {  var hasCookie = false;						  document.cookie="cookiecheck" + "=" + "yes";		if (document.cookie) {								var theCookie = getCookie(action[1]);				if (theCookie != null) {								hasCookie = true;										return hasCookie;									}	}  return hasCookie;}		function getCookie(name){								  var cname = name + "=";                 var dc = document.cookie;                 if (dc.length > 0) {                  begin = dc.indexOf(cname);               if (begin != -1) {                   begin += cname.length;               end = dc.indexOf(";", begin);            if (end == -1) end = dc.length;            return unescape(dc.substring(begin, end));        }     }return null;}function RTForcedEntry(action) {	if (document.cookie != "") {		var repeatvisit = getCookie(action[1])		if (repeatvisit == null) window.location = action[2];		}	}		function getCookie(name){var cname = name + "=";               var dc = document.cookie;                 if (dc.length > 0) {                  begin = dc.indexOf(cname);               if (begin != -1) {                   begin += cname.length;               end = dc.indexOf(";", begin);            if (end == -1) end = dc.length;            return unescape(dc.substring(begin, end));        }     }return null;}function RTForcedEntryCookie(action) {	var now = new Date();	var then = new Date(now.getTime() + (action[2] * 1000 * 60 *60 * 24));	document.cookie = action[1] + "=" + "entrypass" + "; expires=" + then.toGMTString() + "; path=/";	}var i = 0var loops = 0function RTMarquee(action) {  scrollParam = action  theMsg = "          " + action[1] + " .......... "    if (loops == (action[3] * theMsg.length)) {	document.forms[action[2]].elements[0].value = action[1]; return true	}	else { 	  frontPart = theMsg.substring(i, theMsg.length)	  backPart = theMsg.substring(0, i)	  document.forms[action[2]].elements[0].value = frontPart + backPart	  if (i < theMsg.length) {	    i++	  }	  else {	    i = 0	  }	  setTimeout("RTMarquee(scrollParam); loops++", action[4])	}}var thisSlide = -1i = 0function RTSlideShow(action) {	showPix = new Array(action[4], action[5], action[6], action[7], action[8]);	imgCount = 0;		while (!(showPix[imgCount] == "#")  && !(showPix[imgCount] == "(EmptyReference!)") && !(showPix[imgCount] == "/#")  && imgCount <= 4) {			imgCount++;		}	showParam = action;	if (i < (action[3] * imgCount)) {		if (document.images) {			if (document.images[action[1]].complete) {				thisSlide++;				if (thisSlide == imgCount) {					thisSlide = 0;				}				document.images[action[1]].src = showPix[thisSlide]			}			setTimeout ("RTSlideShow(showParam); i++", action[2] * 1000)		}	}}function RTSystemCheck(action) {  var passCheck=true;							  var screenCheck=true;  var cookieCheck=true;  var javaCheck=true;  document.cookie="cookiecheck" + "=" + "yes";	    if (action[1]) {									if (screen.width <= action[2]) {					screenCheck=false;		}    }    if (action[3]) {									if ( !(document.cookie) ) {							cookieCheck=false;		}    }    if (action[4]) {									if ( !(navigator.javaEnabled()) ) {					javaCheck=false;		}    }    if ( !(screenCheck) || !(cookieCheck) || !(javaCheck) ) {		passCheck=false;		return passCheck;    }    else {		return passCheck;    }}function RTWriteCookie(action) {	var now = new Date();	var then = new Date(now.getTime() + (action[3] * 1000 * 60 *60 * 24));	if (action[3] > 0) {													// If user enters days to expire then set cookie expire string		document.cookie = action[1] + "=" + action[2] + "; expires=" + then.toGMTString() + "; path=/";		}	else {												// If user leaves expiration set to 0 then don't write expire string, it will only last for the current session		document.cookie = action[1] + "=" + action[2];	}}function CSCloseWindow() { if (self.parent.frames.length != 0) {	self.parent.close()		} else {	window.close()	}}function CSCloseParentWindow() { window.opener.parent.close() }window.onload = MPFocusWin2;var counter = 0;function MPCloseWin2(action) {counter++;if (action[1] != "#" && action[1] != "<EmptyReference!)" && action[1] != "(Empty Reference)") {self.opener.location = action[1];}self.close();}function MPFocusWin2() {if (counter == 0) {window.focus();}}// DropDownPopUp 1.2.4 by Nate Baldwin, www.mindpalette.comm, copyright 2002function MPDropPop(action) {	for (i=7; i<14; i++) {		if (action[i] == false) action[i] = "no"; else action[i] = "yes";		}	var posX = 0;	var posY = 0;	if (action[6] == true) {		posX = ((screen.availWidth/2)-(action[4]/2));		posY = ((screen.availHeight/2)-(action[5]/2));		} else {		posX = action[14];		posY = action[15];		}	var thisForm = action[1];	var thisMenu = action[2];		var thisURL = document.forms[thisForm].elements[thisMenu].options[document.forms[thisForm].elements[thisMenu].selectedIndex].value;	if (thisURL && thisURL != "") {		var windowOptions = "";		windowOptions += "width=" + action[4];		windowOptions += ",height=" + action[5];		windowOptions += ",resizable=" + action[13];		windowOptions += ",scrollbars=" + action[7];		windowOptions += ",menubar=" + action[8];		windowOptions += ",toolbar=" + action[11];		windowOptions += ",directories=" + action[9];		windowOptions += ",location=" + action[12];		windowOptions += ",status=" + action[10];		windowOptions += ",left=" + posX;		windowOptions += ",top=" + posY;		window.open(thisURL, action[3], windowOptions);		}	}// © Mads Rasmussen Apr 2001// Ver. 1.1 mar 2002// All Rights Reserved Rasmussens Designfunction flyanoteRD(action) { var venstre,mt,ml, hojre,baggfarve,poster,PIvin="";if(action[10]==10){venstre=Math.floor(screen.width/2-action[3]/2); hojre =Math.floor(screen.height/2-action[4]/2);}if(action[10]==20){venstre=action[7]; hojre=action[8];}	PIvin = ",width=" + action[3];	PIvin += ",height=" + action[4] ;	PIvin += ",resizable=" + (action[5] ? "1" : "0");	PIvin += ",scrollbars=" + (action[6] ? "1" : "0");	PIvin +=",left=" + venstre;	PIvin += ",top=" + hojre;	PIvin +=",ScreenX=" + venstre;	PIvin += ",ScreenY=" + hojre;		ml=action[12];	mt=action[13];poster = "<html><head><meta http-equiv=\"content-type\" content=\"text/html;charset=iso-8859-1\">";poster += '<title>'+action[2]+'</title>';poster += '<link href=\"'+action[12]+'\" rel=\"stylesheet\" type=\"text/css\" media=\screen\">';poster += '</head><body text=#000000 bgcolor=\"'+action[11]+'\" leftmargin=\"'+action[13]+'\" marginheight=\"'+action[14]+'\" marginwidth=\"'+action[13]+'\" topmargin=\"'+action[14]+'\">';poster +=action[9];poster += '</body></html>';nytPIvin = window.open('',action[1],PIvin);nytPIvin.focus();nytPIvin.document.write(poster);nytPIvin.document.close()}function CSOpenPositionWindow(action) {// Matt Ridley, Dec. '98	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");		wf = wf + ",left=" + action[12];	wf = wf + ",top=" + action[13];		window.open(action[1],action[2],wf);}function CSOpenFullWindow(action) {	var wf = "";		if(action[12]) {		wf = wf + "width=" + screen.availWidth;		wf = wf + ",height=" + screen.availHeight;	} else {		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");		if(action[12]) {		wf = wf + ",left=0";		wf = wf + ",top=0";	} else {		if(action[13]) {			wf = wf + ",left=" + action[13];		}		if(action[14]) {			wf = wf + ",top=" + action[14];		}	}	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);	}}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);}// OpenPopUp 1.4.1 action by Nate Baldwin, www.mindpalette.com, copyright 2002function MPOpenPopup(action) {var posX = 0;var posY = 0;if (action[4] == true) {	posX = Math.round((screen.availWidth/2)-(action[2]/2));	posY = Math.round((screen.availHeight/2)-(action[3]/2));	} else {	posX = action[12];	posY = action[13];	}if (action[16] == true) {	posX = 0;	posY = 0;	action[2] = screen.availWidth;	action[3] = screen.availHeight;	}for (i=5; i<12; i++) {	action[i] == true ? action[i] = "yes" : action[i] = "no";	}var windowOptions = "";windowOptions += "width=" + action[2];windowOptions += ",height=" + action[3];windowOptions += ",resizable=" + action[11];windowOptions += ",scrollbars=" + action[5];windowOptions += ",menubar=" + action[6];windowOptions += ",toolbar=" + action[9];windowOptions += ",directories=" + action[7];windowOptions += ",location=" + action[10];windowOptions += ",status=" + action[8];windowOptions += ",left=" + posX;windowOptions += ",top=" + posY;window.open(action[15], action[1], windowOptions);if (action[14] != "" && action[14] != "#" && action[14] != "(EmptyReference!)" && action[14] != "(Empty Reference!)")	window.location = action[14];}////-->// OpenPopup 2.0 by Nate Baldwin, www.mindpalette.com - copyright 2003 (May 7, 2004)if (typeof MPStoreOpenWin2 == "undefined") MPStoreOpenWin2 = new Array();if (typeof MPStoreWinStngs2 == "undefined") {	MPStoreWinStngs2 = new Object();	MPStoreWinStngs2.url = "";	MPStoreWinStngs2.name = "";	MPStoreWinStngs2.options = "";	MPStoreWinStngs2.focus = true;	MPStoreWinStngs2.html = "";	MPStoreWinStngs2.redirect = "";	}function MPOpenPopupWin2(action) {	MPStoreWinStngs2.url = "";	MPStoreWinStngs2.name = "";	MPStoreWinStngs2.options = "";	MPStoreWinStngs2.focus = true;	MPStoreWinStngs2.html = "";	MPStoreWinStngs2.redirect = "";	var thisURL = (action[1] != "#" && action[1] != "(EmptyReference!)" && action[1] != "(Empty Reference!)") ? action[1] : "";	var redirect = (action[31] != "#" && action[31] != "(EmptyReference!)" && action[31] != "(Empty Reference!)") ? action[31] : "";	if (thisURL != "") {		var urlType = (action[2] == 1) ? "image" : "page";		MPStoreWinStngs2.focus = action[3];		var regExpr = /[\w\S?]/;		var validName = "";		action[11] = (action[11] == true) ? "yes" : "no";		var winName = (action[4] != "") ? action[4] : "PopUpWin";		for (var n=0; n<winName.length; n++) {			if (regExpr.test(winName.charAt(n))) validName += winName.charAt(n);			}		winName = (validName != "") ? validName : "PopUpWin";		var width = (action[7] > screen.availWidth) ? screen.availWidth : action[7];		var height = (action[9] > screen.availHeight) ? screen.availHeight : action[9];		if (action[6] == true || action[8] == true) {			width = screen.availWidth;			posX = 0;			}		if (action[6] == true || action[10] == true) {			height = screen.availHeight;			posY = 0;			}		var posX = (action[13] != "") ? action[13] : 0;		var posY = (action[15] != "") ? action[15] : 0;		if (action[12] == true && width > 0 && height > 0) {			posX = Math.round((screen.availWidth - width) / 2);			posY = Math.round((screen.availHeight - height) / 2);			} else {			if (action[14] == 1 && width > 0) posX = (screen.availWidth - width - posX);				else if (action[14] == 2) posX = Math.round((screen.availWidth - width) / 2);			if (action[16] == 1 && height > 0) posY = (screen.availHeight - height - posY);				else if (action[16] == 2) posY = Math.round((screen.availHeight - height) / 2);			}		for (i=17; i<=22; i++) {			action[i] = (action[i] == true) ? "yes" : "no";			}		if (action[5] == true && typeof MPStoreOpenWin2[winName] != "undefined") {			var oldWindow = MPStoreOpenWin2[winName];			if (oldWindow && typeof oldWindow == "object") if (!oldWindow.closed) oldWindow.close();			}		var windowOptions = "";		if (width > 0) windowOptions += "width=" + width + ",";		if (height > 0) windowOptions += "height=" + height + ",";		windowOptions += "resizable=" + action[11];		windowOptions += ",scrollbars=" + action[17];		windowOptions += ",menubar=" + action[18];		windowOptions += ",toolbar=" + action[21];		windowOptions += ",directories=" + action[19];		windowOptions += ",location=" + action[22];		windowOptions += ",status=" + action[20];		windowOptions += ",left=" + posX;		windowOptions += ",top=" + posY;		if (urlType == "image") {			var font = "Verdana, Arial, Helvetica, sans-serif";			if (action[28] == 1) font = "Arial, Helvetica, Geneva, Swiss, SunSans-Regular, sans-serif";				else if (action[28] == 2) font = "Helvetica, Geneva, Arial, SunSans-Regular, sans-serif";				else if (action[28] == 3) font = "\"Times New Roman\", Times, Georgia, serif";				else if (action[28] == 4) font = "\"Courier New\", Courier, Monaco, monospace";				else if (action[28] == 5) font = "\"Georgia\", Times New Roman, Times, serif";			var textColor = (action[27] != "") ? action[27] : "black";			var linkColor = (action[30] != "") ? action[30] : "#00417d";			var textSize = (action[29] != "" && action[29] > 5) ? action[29]+"" : "12";			var backGround = (action[24] != "") ? action[24] : "#ffffff";			var thisHTML = "";			thisHTML += '<'+'!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">'+"\n\n";			thisHTML += '<'+'html>'+"\n\n";			thisHTML += '<'+'head>'+"\n";			thisHTML += '<'+'meta http-equiv="content-type" content="text/html;charset=iso-8859-1">'+"\n";			if (action[23] != "") thisHTML += '<'+'title>'+action[23]+'<'+'/title>'+"\n";			thisHTML += '<'+'style type="text/css" media="screen"><'+'!--'+"\n";			thisHTML += 'body, div, td  { color: '+textColor+'; font-size: '+textSize+'px; font-family: '+font+'; background-color: '+backGround+'; margin: 0; padding: 0 }'+"\n";			thisHTML += '.textpad  { margin: 0; padding: 4px 0 }'+"\n";			if (action[25] == true) {				thisHTML += 'a { color: '+linkColor+'; font-size: '+textSize+'px; text-decoration: none }'+"\n";				thisHTML += 'a:link { color: '+linkColor+'; text-decoration: none }'+"\n";				thisHTML += 'a:visited { color: '+linkColor+'; text-decoration: none }'+"\n";				thisHTML += 'a:hover { color: '+linkColor+'; text-decoration: underline }'+"\n";				}			thisHTML += "--><"+"/style>\n<"+"/head>\n\n";			thisHTML += '<'+'body bgcolor="'+backGround+'" leftmargin="0" marginheight="0" marginwidth="0" topmargin="0">'+"\n";			if (action[26] != "") thisHTML += '<'+'div class="textpad" align="center">'+action[26]+'<'+'/div>'+"\n";			thisHTML += '<'+'div align="center"><'+'img src="'+thisURL+'" alt="" border="0"><'+'/div>'+"\n";			if (action[25] != "") thisHTML += '<'+'div class="textpad" align="center"><'+'a href="#" onclick="self.close();">Close Window<'+'/a><'+'/div>'+"\n";			thisHTML += "<"+"/body>\n\n<"+"/html>";			MPStoreWinStngs2.html = thisHTML;			MPStoreWinStngs2.type = "image";			thisURL = "";			}		MPStoreWinStngs2.name = winName;		MPStoreWinStngs2.options = windowOptions;		MPStoreWinStngs2.url = thisURL;		MPStoreWinStngs2.redirect = redirect;		var thisPopup = window.open(thisURL, winName, windowOptions);		MPStoreOpenWin2[MPStoreWinStngs2.name] = thisPopup;		setTimeout("MPTriggerDelayWin2()", 400);		}	}function MPTriggerDelayWin2() {	if (typeof MPStoreOpenWin2[MPStoreWinStngs2.name] == "object") {		var thisPopup = MPStoreOpenWin2[MPStoreWinStngs2.name];		if (thisPopup.closed) thisPopup = window.open(MPStoreWinStngs2.url, MPStoreWinStngs2.name, MPStoreWinStngs2.options);		if (thisPopup && typeof thisPopup == "object") {			if (MPStoreWinStngs2.type == "image" && MPStoreWinStngs2.html != "") {				if (!thisPopup.closed) {					thisPopup.document.open();					thisPopup.document.write(MPStoreWinStngs2.html);					thisPopup.document.close();					}				}			}		if (MPStoreWinStngs2.redirect != "") window.location = MPStoreWinStngs2.redirect;		MPStoreOpenWin2[MPStoreWinStngs2.name] = thisPopup;		if (thisPopup && typeof thisPopup == "object") if (!thisPopup.closed && MPStoreWinStngs2.focus) thisPopup.focus();		MPStoreWinStngs2.url = "";		MPStoreWinStngs2.name = "";		MPStoreWinStngs2.options = "";		MPStoreWinStngs2.focus = true;		MPStoreWinStngs2.html = "";		MPStoreWinStngs2.redirect = "";		}	}//-->/* Best Pitch Pop & Slide v1.1.3 *//* Javascript Action for Adobe GoLive *//* ©2002 Best Pitch Multi Media (http://www.bestpitch.com) *//* Developer: Charles Fahey (cfahey@bestpitch.com) *//* This Build: December 3, 2002 */function BPpopNslide(action) {	var bpwp = "";	bpwp = bpwp + "width=" + action[7];	bpwp = bpwp + ",height=" + action[8];	bpwp = bpwp + ",left=" + action[2];	bpwp = bpwp + ",top=" + action[3];	bpwp = bpwp + ",resizable=" + (action[9] ? "yes" : "no");	bpwp = bpwp + ",scrollbars=" + (action[10] ? "yes" : "no");	bpwp = bpwp + ",menubar=" + (action[11] ? "yes" : "no");	bpwp = bpwp + ",toolbar=" + (action[12] ? "yes" : "no");	bpwp = bpwp + ",directories=" + (action[13] ? "yes" : "no");	bpwp = bpwp + ",location=" + (action[14] ? "yes" : "no");	bpwp = bpwp + ",status=" + (action[15] ? "yes" : "no");	bpwin = window.open(action[1],"best_pitch_pop_n_slide",bpwp);	bpwin.focus()		var hzdist = (action[4] - action[2]);	var vtdist = (action[5] - action[3]);	if (hzdist > vtdist) {		var bphere = action[2];		var bpthere = action[4];	}	else {		var bphere = action[3];		var bpthere = action[5];	}	var bpendleft = action[4];	var bpendtop = action[5];		for(steps = bphere ; steps <= (bpthere - 1) ; steps = steps + action[6]) {			if (steps >= bpendleft) {				var moveleft = 0;			}			else {				var moveleft = action[6];			}			if (steps >= bpendtop) {				var movetop = 0;			}			else {				var movetop = action[6];			}			bpwin.moveBy(moveleft,movetop)		}}// © Mads Rasmussen Sep. '00 ver. 1// All Rights Reserved Rasmussens Design Actionsfunction RDpositionwindow(action) { window.moveTo(action[1], action[1]);}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];  			} 	      	}	}}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];  			} 	      	}	}}function RDShake(action) {        if (parseInt(navigator.appVersion.charAt(0)) >= 4) {                for (i = action[1]; i > 0; i--) {                for (z = action[2]; z > 0; z--) {                        self.moveBy(0,i);                        self.moveBy(i,0);                        self.moveBy(0,-i);                        self.moveBy(-i,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;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)	}}// EOF