/* -- Adobe GoLive JavaScript Library */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, st) {	var s=si.toUpperCase();	var myID=id.toUpperCase()+":";	var id1=s.indexOf(myID,st);	if (id1==-1) return "";	var ch=s.charAt(id1-1);	if (ch!=" " && ch!="\t" && ch!="\n" && ch!=";" && ch!="{")		return CSGetStyleAttrValue (si, id, id1+1);	var start=id1+myID.length;	ch=s.charAt(start);	while(ch==" " || ch=="\t" || ch=="\n") {start++; ch=s.charAt(start);}	s=s.substring(start,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",0);		if (style.top=="") style.top=CSGetStyleAttrValue(si,"top",0);		if (style.width=="") style.width=CSGetStyleAttrValue(si,"width",0);		if (style.height=="") style.height=CSGetStyleAttrValue(si,"height",0);		if (style.visibility=="") style.visibility=CSGetStyleAttrValue(si,"visibility",0);		if (style.zIndex=="") style.zIndex=CSGetStyleAttrValue(si,"z-index",0);	}}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;}CSInit = new Array;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);}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;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 */}//6 Random image Action, generates  1 of 6 random images during eventfunction CSRandomImg(action) { 		if (document.images) {			document.images[action[1]].src = action[Math.floor(Math.random()*6)+2]		} }function CSShowHide(action) {	if (action[1] == '') return;	var type=action[2];	if(type==0) CSSetStyleVis(action[1],0);	else if(type==1) CSSetStyleVis(action[1],1);	else if(type==2) { 		if (CSGetStyleVis(action[1]) == 0) CSSetStyleVis(action[1],1);		else CSSetStyleVis(action[1],0);	}}function CSCloseWindow() { if (self.parent.frames.length != 0) {	self.parent.close()		} else {	window.close()	}}/*	Lightbox JS: Fullsize Image Overlays	by Lokesh Dhakar - http://www.huddletogether.com	For more information on this script, visit:	http://huddletogether.com/projects/lightbox/	Licensed under the Creative Commons Attribution 2.5 License - http://creativecommons.org/licenses/by/2.5/	(basically, do anything you want, just leave my name and link)	*/var loadingImage = '/lightbox/loading.gif';		function getPageScroll(){	var yScroll;	if (self.pageYOffset) {		yScroll = self.pageYOffset;	} else if (document.documentElement && document.documentElement.scrollTop){		yScroll = document.documentElement.scrollTop;	} else if (document.body) {		yScroll = document.body.scrollTop;	}	arrayPageScroll = new Array('',yScroll) 	return arrayPageScroll;}function getPageSize(){		var xScroll, yScroll;		if (window.innerHeight && window.scrollMaxY) {			xScroll = document.body.scrollWidth;		yScroll = window.innerHeight + window.scrollMaxY;	} else if (document.body.scrollHeight > document.body.offsetHeight){		xScroll = document.body.scrollWidth;		yScroll = document.body.scrollHeight;	} else {		xScroll = document.body.offsetWidth;		yScroll = document.body.offsetHeight;	}		var windowWidth, windowHeight;	if (self.innerHeight) {		windowWidth = self.innerWidth;		windowHeight = self.innerHeight;	} else if (document.documentElement && document.documentElement.clientHeight) {		windowWidth = document.documentElement.clientWidth;		windowHeight = document.documentElement.clientHeight;	} else if (document.body) {		windowWidth = document.body.clientWidth;		windowHeight = document.body.clientHeight;	}			if(yScroll < windowHeight){		pageHeight = windowHeight;	} else { 		pageHeight = yScroll;	}	if(xScroll < windowWidth){			pageWidth = windowWidth;	} else {		pageWidth = xScroll;	}	arrayPageSize = new Array(pageWidth,pageHeight,windowWidth,windowHeight) 	return arrayPageSize;}function pause(numberMillis) {	var now = new Date();	var exitTime = now.getTime() + numberMillis;	while (true) {		now = new Date();		if (now.getTime() > exitTime)			return;	}}// getKey(key)// Gets keycode. If 'x' is pressed then it hides the lightbox.function getKey(e){	if (e == null) { // ie		keycode = event.keyCode;	} else {		keycode = e.which;	}	key = String.fromCharCode(keycode).toLowerCase();		if(key == 'x'){ hideLightbox(); }}//// listenKey()//function listenKey () {	document.onkeypress = getKey; }	function showLightbox(objLink){	var objOverlay = document.getElementById('overlay');	var objLightbox = document.getElementById('lightbox');	var objCaption = document.getElementById('lightboxCaption');	var objImage = document.getElementById('lightboxImage');	var objLoadingImage = document.getElementById('loadingImage');	var objLightboxDetails = document.getElementById('lightboxDetails');		var arrayPageSize = getPageSize();	var arrayPageScroll = getPageScroll();	if (objLoadingImage) {		objLoadingImage.style.top = (arrayPageScroll[1] + ((arrayPageSize[3] - 35 - objLoadingImage.height) / 2) + 'px');		objLoadingImage.style.left = (((arrayPageSize[0] - 20 - objLoadingImage.width) / 2) + 'px');		objLoadingImage.style.display = 'block';	}	objOverlay.style.height = (arrayPageSize[1] + 'px');	objOverlay.style.display = 'block';	imgPreload = new Image();	imgPreload.onload=function(){		objImage.src = objLink.href;		var lightboxTop = arrayPageScroll[1] + ((arrayPageSize[3] - 35 - imgPreload.height) / 2);		var lightboxLeft = ((arrayPageSize[0] - 20 - imgPreload.width) / 2);				objLightbox.style.top = (lightboxTop < 0) ? "0px" : lightboxTop + "px";		objLightbox.style.left = (lightboxLeft < 0) ? "0px" : lightboxLeft + "px";		objLightboxDetails.style.width = imgPreload.width + 'px';				if(objLink.getAttribute('title')){			objCaption.style.display = 'block';			objCaption.innerHTML = objLink.getAttribute('title');		} else {			objCaption.style.display = 'none';		}				if (navigator.appVersion.indexOf("MSIE")!=-1){			pause(250);		} 		if (objLoadingImage) {	objLoadingImage.style.display = 'none'; }		selects = document.getElementsByTagName("select");        for (i = 0; i != selects.length; i++) {                selects[i].style.visibility = "hidden";        }			objLightbox.style.display = 'block';		arrayPageSize = getPageSize();		objOverlay.style.height = (arrayPageSize[1] + 'px');				// Check for 'x' keypress		listenKey();		return false;	}	imgPreload.src = objLink.href;	}function hideLightbox(){	objOverlay = document.getElementById('overlay');	objLightbox = document.getElementById('lightbox');	objOverlay.style.display = 'none';	objLightbox.style.display = 'none';	selects = document.getElementsByTagName("select");    for (i = 0; i != selects.length; i++) {		selects[i].style.visibility = "visible";	}	// disable keypress listener	document.onkeypress = '';}function initLightbox(){		if (!document.getElementsByTagName){ return; }	var anchors = document.getElementsByTagName("a");	for (var i=0; i<anchors.length; i++){		var anchor = anchors[i];		if (anchor.getAttribute("href") && (anchor.getAttribute("rel") == "lightbox")){			anchor.onclick = function () {showLightbox(this); return false;}		}	}		var objBody = document.getElementsByTagName("body").item(0);		var objOverlay = document.createElement("div");	objOverlay.setAttribute('id','overlay');	objOverlay.onclick = function () {hideLightbox(); return false;}	objOverlay.style.display = 'none';	objOverlay.style.position = 'absolute';	objOverlay.style.top = '0';	objOverlay.style.left = '0';	objOverlay.style.zIndex = '90'; 	objOverlay.style.width = '100%';	objBody.insertBefore(objOverlay, objBody.firstChild);		var arrayPageSize = getPageSize();	var arrayPageScroll = getPageScroll();	var imgPreloader = new Image();		imgPreloader.onload=function(){		var objLoadingImageLink = document.createElement("a");		objLoadingImageLink.setAttribute('href','#');		objLoadingImageLink.onclick = function () {hideLightbox(); return false;}		objOverlay.appendChild(objLoadingImageLink);				var objLoadingImage = document.createElement("img");		objLoadingImage.src = loadingImage;		objLoadingImage.setAttribute('id','loadingImage');		objLoadingImage.style.position = 'absolute';		objLoadingImage.style.zIndex = '150';		objLoadingImageLink.appendChild(objLoadingImage);		imgPreloader.onload=function(){};		return false;	}	imgPreloader.src = loadingImage;	var objLightbox = document.createElement("div");	objLightbox.setAttribute('id','lightbox');	objLightbox.style.display = 'none';	objLightbox.style.position = 'absolute';	objLightbox.style.zIndex = '100';		objBody.insertBefore(objLightbox, objOverlay.nextSibling);		var objLink = document.createElement("a");	objLink.setAttribute('href','#');	objLink.setAttribute('title','Click to close');	objLink.onclick = function () {hideLightbox(); return false;}	objLightbox.appendChild(objLink);	var objImage = document.createElement("img");	objImage.setAttribute('id','lightboxImage');	objLink.appendChild(objImage);	var objLightboxDetails = document.createElement("div");	objLightboxDetails.setAttribute('id','lightboxDetails');	objLightbox.appendChild(objLightboxDetails);	var objCaption = document.createElement("div");	objCaption.setAttribute('id','lightboxCaption');	objCaption.style.display = 'none';	objLightboxDetails.appendChild(objCaption);}function addLoadEvent(func){		var oldonload = window.onload;	if (typeof window.onload != 'function'){    	window.onload = func;	} else {		window.onload = function(){		oldonload();		func();		}	}}addLoadEvent(initLightbox);// OpenPopUpLite 2.0.1 action by Nate Baldwin, www.mindpalette.com, copyright 2004if (typeof MPStoreOpenWin2 == "undefined") MPStoreOpenWin2 = new Array();function MPOpenPopupLite(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;	var thisPopup = window.open(action[15], action[1], windowOptions);	MPStoreOpenWin2[action[1]] = thisPopup;	if (action[14] != "" && action[14] != "#" && action[14] != "(EmptyReference!)" && action[14] != "(Empty Reference!)")		window.location = action[14];	}//-->// AutoScroll.action v3.0.2 - June, 2008// © Copyright 2000 by Walter Blady// All rights reservedvar ASisNav4 = navigator.appName.indexOf("Netscape") >= 0 && parseInt(navigator.appVersion.charAt(0)) == 4;var ASisNN6 = navigator.userAgent.indexOf("Netscape6") >= 0;var ASisIE4 = navigator.appVersion.indexOf("MSIE 4") >= 0;var ASW3C = document.getElementById ? true : false;var ASisOpera = navigator.userAgent.indexOf("Opera") >= 0;var ASsuff = ASisOpera ? "" : "px";var ASObject0 = new Object(), ASObject1 = new Object(), ASObject2 = new Object(), ASObject3 = new Object();var W3CinitFlag = false, ASparamsDiv;function WBAutoScroll(action) {	if (ASVersion()) {		if (!W3CinitFlag) ASBoxPrep();		var obj = eval("ASObject" + action[1]);		if (obj.idx == null) {			obj.idx = action[1];			obj.doinit = ASDoInit;			obj.action = action;			obj.doinit();		}		if (action[2] == 6) {			if (obj.ASrep > 0) clearTimeout(obj.ASrep);			if (obj.ASrepeat > 0) clearInterval(obj.ASrepeat);			obj.ASstopFlag = true;			return;		}		if (action[2] == 4 || action[2] == 5) {			if (obj.ASrep > 0) clearTimeout(obj.ASrep);			if (obj.ASrepeat > 0) clearInterval(obj.ASrepeat);			obj.ASpauseFlag = false;			if (action[2] == 5) {				if (obj.idx == 0 && !obj.ASstopFlag) obj.ASrepeat = setInterval("ASObject0.doscroll()", obj.ASdelay);				if (obj.idx == 1 && !obj.ASstopFlag) obj.ASrepeat = setInterval("ASObject1.doscroll()", obj.ASdelay);				if (obj.idx == 2 && !obj.ASstopFlag) obj.ASrepeat = setInterval("ASObject2.doscroll()", obj.ASdelay);				if (obj.idx == 3 && !obj.ASstopFlag) obj.ASrepeat = setInterval("ASObject3.doscroll()", obj.ASdelay);			}			return;		}		obj.ASstartDelay = action[5]*1000;		obj.ASendDelay = action[6]*1000;		obj.ASlineDelay = action[8]*1000;		obj.ASpixelLines = action[7];		obj.ASlines = action[11];		obj.ASdelay = action[12];		obj.ASpauseFlag = false;		if (obj.ASrep > 0) clearTimeout(obj.ASrep);		if (obj.ASrepeat > 0) clearInterval(obj.ASrepeat);		if (action[2] == 0) {			obj.ASupDown = true;			obj.ASminus = false;			if (obj.idx == 0) obj.ASrepeat = setInterval("ASObject0.doscroll()", action[12]);			if (obj.idx == 1) obj.ASrepeat = setInterval("ASObject1.doscroll()", action[12]);			if (obj.idx == 2) obj.ASrepeat = setInterval("ASObject2.doscroll()", action[12]);			if (obj.idx == 3) obj.ASrepeat = setInterval("ASObject3.doscroll()", action[12]);		}		if (action[2] == 1) {			obj.ASupDown = true;			obj.ASminus = true;			if (obj.idx == 0) obj.ASrepeat = setInterval("ASObject0.doscroll()", action[12]);			if (obj.idx == 1) obj.ASrepeat = setInterval("ASObject1.doscroll()", action[12]);			if (obj.idx == 2) obj.ASrepeat = setInterval("ASObject2.doscroll()", action[12]);			if (obj.idx == 3) obj.ASrepeat = setInterval("ASObject3.doscroll()", action[12]);		}		if (action[2] == 2) {			obj.ASupDown = false;			obj.ASminus = false;			if (obj.idx == 0) obj.ASrepeat = setInterval("ASObject0.doscroll()", action[12]);			if (obj.idx == 1) obj.ASrepeat = setInterval("ASObject1.doscroll()", action[12]);			if (obj.idx == 2) obj.ASrepeat = setInterval("ASObject2.doscroll()", action[12]);			if (obj.idx == 3) obj.ASrepeat = setInterval("ASObject3.doscroll()", action[12]);		}		if (action[2] == 3) {			obj.ASupDown = false;			obj.ASminus = true;			if (obj.idx == 0) obj.ASrepeat = setInterval("ASObject0.doscroll()", action[12]);			if (obj.idx == 1) obj.ASrepeat = setInterval("ASObject1.doscroll()", action[12]);			if (obj.idx == 2) obj.ASrepeat = setInterval("ASObject2.doscroll()", action[12]);			if (obj.idx == 3) obj.ASrepeat = setInterval("ASObject3.doscroll()", action[12]);		}	}	return;}function ASDoScroll() {	var panx = 0, pany = 0;	if (!this.ASpauseFlag && this.ASautoFlag) {		this.scrollto(this.contentBox, this.ASxloc, this.ASyloc, panx, pany);		this.ASpauseFlag = true;		this.ASautoFlag = false;		if (this.idx == 0) this.ASrep = setTimeout("ASObject0.pause()", this.ASstartDelay);		if (this.idx == 1) this.ASrep = setTimeout("ASObject1.pause()", this.ASstartDelay);		if (this.idx == 2) this.ASrep = setTimeout("ASObject2.pause()", this.ASstartDelay);		if (this.idx == 3) this.ASrep = setTimeout("ASObject3.pause()", this.ASstartDelay);	}	if (!this.ASpauseFlag && this.ASpixelLines > 0 && this.ASpixCount >= this.ASpixelLines) {		this.ASpixCount = 0;		this.ASpauseFlag = true;		if (this.idx == 0) this.ASrep = setTimeout("ASObject0.pause()", this.ASlineDelay);		if (this.idx == 1) this.ASrep = setTimeout("ASObject1.pause()", this.ASlineDelay);		if (this.idx == 2) this.ASrep = setTimeout("ASObject2.pause()", this.ASlineDelay);		if (this.idx == 3) this.ASrep = setTimeout("ASObject3.pause()", this.ASlineDelay);	}	if (!this.ASpauseFlag) {		var origin, posOrig;		if (this.ASupDown) {			if (this.ASminus) {				this.end = (this.ASyloc <= this.ASyDest);				if (!this.end) {					origin = this.contentBox.wrapBox ? this.ASyDest : this.ASyOrig;					posOrig = origin >= 0 ? this.ASyloc - this.ASlines <= origin : this.ASyloc - this.ASlines >= origin;					this.ASyloc = posOrig ? this.ASyloc - this.ASlines : origin;					//this.end = (this.ASyloc <= this.ASyDest);					pany = this.contBoxHeight;				}			}			else {				this.end = this.ASyDest < 0 ? -this.ASyloc == origin : this.ASyloc == origin;				if (!this.end) {					origin = this.contentBox.wrapBox ? this.ASyDest : this.ASyOrig;					posOrig = origin >= 0 ? this.ASyloc + this.ASlines <= origin : this.ASyloc + this.ASlines >= origin;					this.ASyloc = posOrig ? this.ASyloc + this.ASlines : origin;					pany = -this.contBoxHeight;				}			}		}		else {			if (this.ASminus) {				this.end = (this.ASxloc <= this.ASxDest);				if (!this.end) {					origin = this.contentBox.wrapBox ? this.ASxDest : this.ASxOrig;					posOrig = origin >= 0 ? this.ASxloc - this.ASlines <= origin : this.ASxloc - this.ASlines >= origin;					this.ASxloc = posOrig ? this.ASxloc - this.ASlines : origin;					panx = this.contBoxWidth;				}			}			else {				this.end = this.ASxDest < 0 ? -this.ASxloc == origin : this.ASxloc == origin;				if (!this.end) {					origin = this.contentBox.wrapBox ? this.ASxDest : this.ASxOrig;					posOrig = origin >= 0 ? this.ASxloc + this.ASlines <= origin : this.ASxloc + this.ASlines >= origin;					this.ASxloc = posOrig ? this.ASxloc + this.ASlines : origin;					panx = -this.contBoxWidth;				}			}		}		this.scrollto(this.contentBox, this.ASxloc, this.ASyloc, panx, pany);		this.ASpixCount += this.ASlines;	}	if (this.end) {		this.end = false;		if (this.ASloop) {			this.ASpauseFlag = true;			this.ASautoFlag = true;			if (this.action[2] == 1 || this.action[2] == 3) {				this.ASyloc = this.ASyOrig;				this.ASxloc = this.ASxOrig;			}			else if (this.action[2] == 0 || this.action[2] == 2){				this.ASyloc = this.ASyOrig;				this.ASxloc = this.ASxOrig;			}			this.ASpixCount = 0;			if (this.idx == 0) this.ASrep = setTimeout("ASObject0.pause()", this.ASendDelay);			if (this.idx == 1) this.ASrep = setTimeout("ASObject1.pause()", this.ASendDelay);			if (this.idx == 2) this.ASrep = setTimeout("ASObject2.pause()", this.ASendDelay);			if (this.idx == 3) this.ASrep = setTimeout("ASObject3.pause()", this.ASendDelay);		}		else {			if (this.ASrepeat > 0) clearInterval(this.ASrepeat);			if (this.ASrep > 0) clearTimeout(this.ASrep);		}	}	return;}function ASScrollTo(obj, x, y, panx, pany) {	if (ASW3C) {		obj.left = x + ASsuff;		obj.top = y + ASsuff;		if (obj.wrapBox) {			obj.wrapBox.left = (x + panx) + ASsuff;			obj.wrapBox.top = (y + pany) + ASsuff;		}	}	else if (ASisIE4) {		obj.pixelLeft = x;		obj.pixelTop = y;		if (obj.wrapBox) {			obj.wrapBox.pixelLeft = (x + panx);			obj.wrapBox.pixelTop = (y + pany);		}	}	else {		obj.moveTo(x, y);		if (obj.wrapBox) obj.wrapBox.moveTo(x + panx, y + pany);	}	return;}function ASPause() {	this.ASpauseFlag = false;	clearTimeout(this.ASrep);	return;}function ASGetObject(objName) {	var params;	if (ASW3C) {		params = eval('document.getElementById("' + objName + '").style');	}	else if (ASisIE4) {		params = eval("document.all." + objName + ".style");		ASparamsDiv = eval("document.all." + objName);	}	else {		params = ASFindLayerObject(objName, 0);	}	return params;}function ASFindLayerObject(layer, thisLayer) {	if (thisLayer) {		var thisDocument = thisLayer.document;	}	else {		var thisDocument = document;	}	var layerObj = thisDocument[layer];	if (layerObj) {		return layerObj;	}	else {		for (var i = 0; i < thisDocument.layers.length; i++) {			layerObj = ASFindLayerObject(layer, thisDocument.layers[i]); 			if (layerObj) {				break;			}		}	}	return layerObj;}function ASDoInit() {	this.getobject = ASGetObject;	this.scrollto = ASScrollTo;	this.pause = ASPause;	this.doscroll = ASDoScroll;	this.clipingBox = this.getobject(this.action[3]);	this.clipingBoxDiv = ASparamsDiv;	this.contentBox = this.getobject(this.action[4]);	this.contentBoxDiv = ASparamsDiv;	if (this.action[14] != "") {		this.contentBox.wrapBox = this.getobject(this.action[14]);	}	this.ASloop = this.contentBox.wrapBox ? true : this.action[9];	this.ASscrollOut = this.contentBox.wrapBox ? true : this.action[10];	this.ASstopFlag = false; 	this.ASrepeat = 0; 	this.ASrep = 0;	this.ASstartDelay = 0;	this.ASlineDelay = 0;	this.ASendDelay = 0;	this.ASyDest = 0;	this.ASyOrig = 0;	this.ASyloc = 0;	this.ASxDest = 0;	this.ASxOrig = 0;	this.ASxloc = 0;	this.ASpixCount = 0;	this.ASpauseFlag = false;	this.ASautoFlag = this.action[13] == 0 ? true : false;	this.ASstopFlag = false;	this.end = false;	if (ASW3C) {		if (ASisOpera) {			var clipingBox = document.getElementById(this.action[3]);			var contentBox = document.getElementById(this.action[4]);			this.contBoxWidth = contentBox.clientWidth;			this.contBoxHeight = contentBox.clientHeight;			this.contBoxTop = contentBox.offsetTop;			this.contBoxLeft = contentBox.offsetLeft;			this.clipBoxWidth = clipingBox.clientWidth;			this.clipBoxHeight = clipingBox.clientHeight;			this.clipingBox.clip = "rect(" + 0 + " " + clipingBox.clientWidth + " " + clipingBox.clientHeight + " " + 0 + ")";			this.clipingBox.overflow = "hidden";		}		else {			this.contBoxWidth = parseInt(this.contentBox.width);			this.contBoxHeight = parseInt(this.contentBox.height);			this.contBoxTop = parseInt(this.contentBox.top);			this.contBoxLeft = parseInt(this.contentBox.left);			this.clipBoxWidth = parseInt(this.clipingBox.width);			this.clipBoxHeight = parseInt(this.clipingBox.height);			this.clipingBox.clip = "rect(" + 0 + " " + this.clipingBox.width + " " + this.clipingBox.height + " " + 0 + ")";			this.clipingBox.overflow = "hidden";		}	}	else if (document.all) {		this.contBoxWidth = this.contentBoxDiv.clientWidth;		this.contBoxHeight = this.contentBoxDiv.clientHeight;		this.contBoxTop = this.contentBoxDiv.offsetTop;		this.contBoxLeft = this.contentBoxDiv.offsetLeft;		this.clipBoxWidth = this.clipingBoxDiv.clientWidth;		this.clipBoxHeight = this.clipingBoxDiv.clientHeight;		this.clipingBox.clip = "rect(" + 0 + " " + this.clipBoxWidth + " " + this.clipBoxHeight + " " + 0 + ")";		this.clipingBox.overflow = "hidden";	}	else if (document.layers){		this.contBoxWidth = this.contentBox.clip.width;		this.contBoxHeight = this.contentBox.clip.height;		this.contBoxTop = this.contentBox.top;		this.contBoxLeft = this.contentBox.left;		this.clipBoxWidth = this.clipingBox.clip.width;		this.clipBoxHeight = this.clipingBox.clip.height;		this.clipingBox.clip = "rect(" + 0 + " " + this.clipingBox.clip.width + " " + this.clipingBox.clip.height + " " + 0 + ")";		this.clipingBox.overflow = "hidden";	}	if (this.contentBox.wrapBox) {		if (ASW3C) {			if (this.ASupDown) {				this.contentBox.wrapBox.top = this.ASminus ? this.contBoxTop + this.contBoxHeight + ASsuff : this.contBoxTop - this.contBoxHeight + ASsuff;				this.contentBox.wrapBox.left = this.contBoxLeft;			}			else {				this.contentBox.wrapBox.top = this.contBoxTop;				this.contentBox.wrapBox.left = this.ASminus ? this.contBoxLeft + this.contBoxWidth + ASsuff : this.contBoxLeft - this.contBoxWidth + ASsuff;			}		}		else if (ASisIE4) {			if (this.ASupDown) {				this.contentBox.wrapBox.pixelTop = this.ASminus ? this.contBoxTop + this.contBoxHeight + ASsuff : this.contBoxTop - this.contBoxHeight + ASsuff;				this.contentBox.wrapBox.pixelLeft = this.contBoxLeft;			}			else {				this.contentBox.wrapBox.pixelTop = this.contBoxTop;				this.contentBox.wrapBox.pixelLeft = this.ASminus ? this.contBoxLeft + this.contBoxWidth + ASsuff : this.contBoxLeft - this.contBoxWidth + ASsuff;			}		}		else {			if (this.contentBox.wrapBox) this.contentBox.wrapBox.moveTo(this.contBoxTop, this.contBoxLeft);		}	}	this.scrollto(this.contentBox, this.contBoxLeft, this.contBoxTop, 0 ,0);	this.ASyOrig = this.contBoxTop;	this.ASxOrig = this.contBoxLeft;	this.ASyloc = this.contBoxTop;	this.ASxloc = this.contBoxLeft;	if (this.ASscrollOut) {		this.ASyDest = this.contBoxTop < 0 ? this.clipBoxHeight : -1*(this.contBoxHeight+this.contBoxTop);		this.ASxDest = this.contBoxLeft < 0 ? this.clipBoxWidth : -1*(this.contBoxWidth+this.contBoxLeft);	}	else {		this.ASyDest = this.contBoxTop < 0 ? 0 : -1*(this.contBoxHeight - this.clipBoxHeight);		this.ASxDest = this.contBoxLeft < 0 ? 0 : -1*(this.contBoxWidth - this.clipBoxWidth);	}	return;}function ASBoxPrep() {	if (!W3CinitFlag && ASW3C && document.getElementsByTagName("style")[0].innerHTML != "") {		var d = document.getElementsByTagName("div");		var s = document.getElementsByTagName("style");		for (var i = 0; i < s.length; i++) {			var html = (s[i].innerHTML);			var start = html.indexOf("!--") + 3;			var end = html.lastIndexOf("}") + 1 - start;			html = html.indexOf("!--") > -1 ? html.substr(start, end) : html;			html = html.replace(/^\s*/, "");			html = html.replace(/:\s*#/g, ": ~");			html = html.replace(/[\n\r]/g, "");			var styleArray = html.split(/\s*\}\s*/);			for (var j = 0; j < styleArray.length; j++) {				var name = styleArray[j].substr(styleArray[j].search(/\w/), styleArray[j].search(/{/));				name = name.replace(/[ \{].+/g, "")				for (var k = 0; k < d.length; k++) {					var match = (name == d[k].id && name != "");					if (match) break;				}				if (styleArray[j] != "" && match) {					styleArray[j] = styleArray[j].replace(/\**#/, "");					styleArray[j] = styleArray[j].replace(/~/g, "#");					var styleName = styleArray[j].substr(0, styleArray[j].indexOf("{"));					styleName = styleName.replace(/\s*/g, "");					styleArray[j] = styleArray[j].toLowerCase();					var t = eval("d." + styleName + ".style");					var divName = eval("d." + styleName + ".id");					var styleString = styleArray[j].replace(/^.*\{\s*/, "");					styleString = styleString.replace(/\s*\}.*$|\s*\}.*\n.*$|\s*\}.*\r.*$/, "");					styleString = styleString.replace(/\;$/, "");					var divArray = styleString.split(/\;\s*/g);					for (var k = 0; k < divArray.length; k++) {						var propertyName = divArray[k].substr(0, divArray[k].indexOf(":"));						var dash = propertyName.indexOf("-");						if (dash > -1) {							var propertyName = propertyName.substr(0, dash) + propertyName.substr(dash + 1, 1).toUpperCase() + propertyName.substr(dash + 2, propertyName.length);						}						var propertyValue = divArray[k].substr(divArray[k].indexOf(":"), divArray[k].length);						propertyValue = propertyValue.replace(/:*(-->)*}*\n*/g, "");						propertyValue = propertyValue.replace(/^\s*|\s*$/, "");						if (ASisNN6 && propertyValue.indexOf("(") > -1) {							propertyValue = propertyValue.replace(/auto|pt|pi|px|em|ex|mm|cm|in|%/g, "$& ");							propertyValue = propertyValue.replace(/ \)/g, ")");						}						t.name = divName;						t[propertyName] = propertyValue;					}				}			}		}		W3CinitFlag = true;	}	return;}function ASVersion() {	return true;}////-->// 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++;	}