/* -- 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) {	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");	}}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 newImage(arg) {	if (document.images) {		rslt = new Image();		rslt.src = arg;		return rslt;	}}userAgent = window.navigator.userAgent;browserVers = parseInt(userAgent.charAt(userAgent.indexOf("/")+1),10);mustInitImg = true;function initImgID() {var di = document.images; if (mustInitImg && di) { for (var i=0; i<di.length; i++) { if (!di[i].id) di[i].id=di[i].name; } mustInitImg = false;}}function findElement(n,ly) {	var d = document;	if (browserVers < 4)		return d[n];	if ((browserVers >= 6) && (d.getElementById)) {initImgID; return(d.getElementById(n))}; 	var cd = ly ? ly.document : d;	var elem = cd[n];	if (!elem) {		for (var i=0;i<cd.layers.length;i++) {			elem = findElement(n,cd.layers[i]);			if (elem) return elem;		}	}	return elem;}function changeImagesArray(array) {	if (preloadFlag == true) {		var d = document; var img;		for (i=0;i<array.length;i+=2) {			img = null; var n = array[i];			if (d.images) {				if (d.layers) {img = findElement(n,0);}				else {img = d.images[n];}			}			if (!img && d.getElementById) {img = d.getElementById(n);}			if (!img && d.getElementsByName) {				var elms = d.getElementsByName(n);				if (elms) {					for (j=0;j<elms.length;j++) {						if (elms[j].src) {img = elms[j]; break;}					}				}			}			if (img) {img.src = array[i+1];}		}	}}function changeImages() {	changeImagesArray(changeImages.arguments);}function toggleImages() {	for (var i=0; i<toggleImages.arguments.length; i+=2) {		if (selected == toggleImages.arguments[i])			changeImagesArray(toggleImages.arguments[i+1]);	}}function CSClickReturn () {	var bAgent = window.navigator.userAgent; 	var bAppName = window.navigator.appName;	if ((bAppName.indexOf("Explorer") >= 0) && (bAgent.indexOf("Mozilla/3") >= 0) && (bAgent.indexOf("Mac") >= 0))		return true; /* dont follow link */	else return false; /* dont follow link */}// WBCyberGallerySetup.action v3.1 - October, 2008// Copyright © 2003 by Walter Blady// All rights reservedvar CGisNav4 = navigator.appName.indexOf("Netscape") >= 0 && parseInt(navigator.appVersion.charAt(0)) == 4;var CGisIE4 = navigator.appVersion.indexOf("MSIE 4") >= 0;var CGisIE = window.navigator.userAgent.indexOf("MSIE") >= 0;var CGisNN = window.navigator.userAgent.indexOf("Netscape") >= 0 || window.navigator.userAgent.indexOf("Navigator") >= 0;var CGisOpera = window.navigator.userAgent.indexOf("Opera") >= 0;var CGisW3C = document.getElementById ? true : false;var CGisWin = navigator.platform.indexOf("Win") > -1;var CGisMac = navigator.platform.indexOf("Mac") > -1;var CGisMacIE = CGisMac && CGisIE;var CGisMacNN = CGisMac && CGisNN && parseInt(navigator.appVersion.charAt(0)) < 8;var CGisWinIE = CGisWin && navigator.appName.indexOf("Explorer") > -1;var CGisWinIE7 = CGisWin && navigator.appVersion.indexOf("MSIE 7") >= 0;var CGimgm = null, CGboxm = null, CGboxb = null, CGboxw = null, CGboxc = null, CGimgn, CGvis, CGhid;var CGboxmLeft = 0, CGboxmTop = 0, CGboxcHeight = 0, CGSnameTag = "", CGSaction, CGSdelay, CGNNfixW, CGNNfixH;var CGvis = (CGisW3C || CGisIE4) ? "visible" : "show";var CGhid = (CGisW3C || CGisIE4) ? "hidden" : "hide";document.writeln('<head>');document.writeln('<style type="text/css" media="screen"><!--');document.writeln('#CGbackgroundLayer { height: auto; width: auto; left: 0px; top: 0px; position: absolute; z-index: 100; visibility: hidden; }');document.writeln('#CGimageLayer { left: 290px; top: 164px; z-index: 101; position: absolute; visibility: hidden; }');document.writeln('#CGwatermarkLayer { left: 0; top: 0; z-index: 102; position: absolute; visibility: hidden; }');document.writeln('#CGcaptionLayer { height: auto; left: 0; top: 0px; z-index: 102; position: absolute; visibility: hidden; }');document.writeln('--></style>');document.writeln('</head><body>');document.writeln('<div id="CGbackgroundLayer"></div>');document.writeln('<div id="CGimageLayer"><img id="CGpix" src="#" alt="" name="CGpix" border="0" /></div></body>');document.writeln('<div id="CGwatermarkLayer"></div>');document.writeln('<div id="CGcaptionLayer"></div>');function WBCyberGallerySetup(action) {	if (CGSVersion()) { 		CGSaction =  action;		CGSsetDelay = setInterval("CGSFinishUp()", 200);	}	CGSdelay = 100;	return;}function CGSFinishUp() {	clearInterval(CGSsetDelay);	window.onscroll = CGScrollSet;	window.onresize = CGScrollSet;	if (CGSaction[1] && !CGisMacIE) {		CGboxb = document.getElementById("CGbackgroundLayer");		CGboxb.doOpacity = CGSOpacity;		CGboxb.opa = CGSaction[2];		CGboxb.showHide = CGSShowHide;		CGboxb.style.backgroundColor = "#" + CGSaction[3];		CGboxb.bimage = CGSaction[4];		CGboxb.isImage = CGboxb.bimage.indexOf("Reference") == -1 && CGboxb.bimage != "#";		CGboxb.style.backgroundRepeat = "no-repeat";		CGboxb.style.backgroundPosition = "center";	}	CGboxm = document.getElementById("CGimageLayer");	CGboxm.setSize = CGSSetBoxSize;	CGboxm.scrollTo = CGSScrollTo;	CGboxm.showHide = CGSShowHide;	CGboxm.onmousedown = CGSDoHREF;	CGboxm.autoClose = CGSaction[8];	CGboxm.transMode = CGSaction[29];	CGboxm.transTics = CGSaction[30];	CGboxm.transSpeed = CGSaction[31];	CGboxm.borderSize = CGSaction[6];	CGboxm.style.border = CGSaction[7] + " #" + CGSaction[5] + " " + CGSaction[6] + "px";	CGimgm = CGboxm.lastChild;	CGboxw = document.getElementById("CGwatermarkLayer");	if (!CGisMacIE) {		CGboxw.isImage = CGSaction[9].indexOf("Reference") == -1 && CGSaction[9] != "#";		if (CGboxw.isImage) {			CGboxw.doOpacity = CGSOpacity;			CGboxw.style.backgroundImage = "url(" + CGSaction[9] + ")";			CGboxw.style.backgroundRepeat = "no-repeat";			CGboxw.style.backgroundPosition = "center";		}	}	CGboxw.setSize = CGSSetBoxSize;	CGboxw.scrollTo = CGSScrollTo;	CGboxw.showHide = CGSShowHide;	CGboxw.opa = CGSaction[10];	CGboxc = document.getElementById("CGcaptionLayer");	CGboxc.scrollTo = CGSScrollTo;	CGboxc.showHide = CGSShowHide;	if (CGSaction[11] != 0) {		CGboxc.style.fontFamily = CGSaction[11] == 1 ? CGSaction[32] : CGSaction[11];	}	CGboxc.style.fontSize = CGSaction[12];	CGboxc.style.lineHeight = CGSaction[13];	CGboxc.style.fontWeight = CGSaction[14];	CGboxc.style.fontStyle = CGSaction[15];	CGboxc.style.color = "#" + CGSaction[16];	CGboxc.style.textIndent = CGSaction[17];	CGboxc.style.wordSpacing = CGSaction[18];	CGboxc.style.letterSpacing = CGSaction[19];	CGboxc.style.margin = CGSaction[20];	CGboxc.mar = parseInt(CGSaction[20]);	CGboxc.style.padding = CGSaction[21];	CGboxc.pad = parseInt(CGSaction[21]);	CGboxc.fixedWidth = CGSaction[22];	CGboxc.style.border = CGSaction[25] + " #" + CGSaction[23] + " " + CGSaction[24] + "px";	CGboxc.wid = parseInt(CGSaction[24]);	if (CGSaction[26] == 0) {		CGboxc.style.backgroundColor = null;	}	else if (CGSaction[26] == 1) {		CGboxc.style.backgroundColor = "#" + CGSaction[27]	}	else if (CGSaction[26] == 2 && !CGisMacIE) {		CGboxc.style.backgroundImage = "url(" + CGSaction[28] + ")";		CGboxc.style.backgroundRepeat = "no-repeat";		CGboxc.style.backgroundPosition = "center";	}	return;}function CGSGetImageObj(frameName, imgObjName) {	var path = frameName.length > 0 ? frameName + "." : "";	if (CGisW3C || CGisIE) {		var baseImage = eval(path + "document.images." + imgObjName);	}	else {		baseImage = parseInt(navigator.appVersion.charAt(0)) > 3 ? CGSFindImgElement(imgObjName, 0, path) : eval(path + "document.images[imgObjName]");	}	return baseImage;}function CGSFindImgElement(baseImage, thisLayer, path) {	if (path.length != "") {		var thisDocument = thisLayer ? thisLayer.document : eval(path + "document");	}	else {		var thisDocument = thisLayer ? thisLayer.document : document;	}	var imageObj = thisDocument[baseImage];	if (imageObj) {		return imageObj;	}	else {		for (var i = 0; i < thisDocument.layers.length; i++) {			imageObj = CGSFindImgElement(baseImage, thisDocument.layers[i], path);			if (imageObj) {				break;			}		}	}	return imageObj;}function CGSGetBoxObj(frameName, imgName) {	var path = frameName.length > 0 ? frameName + "." : "";	if (CGisW3C) {		var layerObj = eval(path + 'document.getElementById("' + imgName + '")');	}	else if (CGisIE4) {		var layerObj = eval(path + "document.all." + imgName);	}	else {		var layerObj = CGSFindLayerObject(path, imgName, 0);	}	return layerObj;}function CGSFindLayerObject(path, layer, thisLayer) {	if (thisLayer) {		var thisDocument = eval(path + "thisLayer.document");	}	else {		var thisDocument = eval(path + "document");	}	var layerObj = thisDocument[layer];	if (layerObj) {		return layerObj;	}	else {		for (var i = 0; i < thisDocument.layers.length; i++) {			layerObj = CGSFindLayerObject("", layer, thisDocument.layers[i]);			if (layerObj) {				break;			}		}	}	return layerObj;}function CGSOpacity(opa) {	if (CGisIE && !CGisMacIE) {		this.style.filter = "progid:DXImageTransform.Microsoft.Alpha(enebled=true)";	}	if (this.style.MozOpacity != null) {		this.style.MozOpacity = opa != null ? opa/100 : null;	}	else if (CGisIE && !CGisMacIE) {		this.filters.item("DXImageTransform.Microsoft.Alpha").opacity = opa != null ? opa : 0;	}	else {		this.style.opacity = opa != null ? opa/100 : 0;	}	return;}function CGSSetBoxSize(w, h) {	if (CGisW3C || CGisIE4) {		this.style.width = w + "px";		this.style.height = h + "px";	}	else {		this.width = w;		this.height = h;	}	return;}function CGSScrollTo(x, y) {	if (CGisW3C) {		this.style.left = x + "px";		this.style.top = y + "px";	}	else if (CGisIE4) {		this.style.pixelLeft = x;		this.style.pixelTop = y;	}	else {		this.moveTo(x, y);	}	return;}function CGSShowHide(state) {	if (CGisW3C || CGisIE4) {		this.style.visibility = state;	}	else if (CGisNav4) {		this.visibility = state;	}	return;}function CGSDoHREF() {	if (this.url && this.url.indexOf("Reference") == -1 && this.url != "#" && this.url != "") {		if (this.win == 0) {			var w = eval(this.path + "window.location");			w.href = this.url;		}		else {				CGNewWind = window.open(this.url, "");		}	}	return;}function CGScrollSet() {	if (CGboxb && CGboxb.style.visibility == "visible") {		var st = this.document.body.scrollTop + this.document.documentElement.scrollTop, sl = this.document.body.scrollLeft + this.document.documentElement.scrollLeft;		if (this.innerHeight) {			CGboxb.style.height = this.innerHeight + st + "px";			CGboxb.style.width = this.innerWidth + sl + "px";		}		else {			var decw = this.document.documentElement.clientWidth, dbcw = this.document.body.clientWidth;			var dech = this.document.documentElement.clientHeight, dbch = this.document.body.clientHeight;			CGboxb.style.width = decw > 0 ? decw + sl + "px" : dbcw + sl + "px";			CGboxb.style.height = dech > 0 ? dech + st + "px" : dbch + st + "px";		}	}	return;}function CGQuickReturn() {	clearInterval(CGboxm.CGtransInt);	clearInterval(CGboxc.CGtransInt);	clearInterval(CGsetLoadDelay);	clearInterval(CGslideTimer);	clearInterval(CGsetLoadDelay);	if (CGboxm) {		CGboxm.showHide(CGhid);		if (CGboxm.autoClose) {			this.onmouseup = null;		}	}	if (CGboxw) {		CGboxw.showHide(CGhid);		if (CGboxw.doOpacity) CGboxw.doOpacity(null);	}	if (CGboxc) CGboxc.showHide(CGhid);	if (CGboxb) {		CGboxb.showHide(CGhid);		CGboxb.doOpacity(null);	}	if (CGboxm.autoClose) {		var p = eval(CGboxm.path + "document.body");		if (CGboxm.path != "") p.onmouseup = null;		document.body.onmouseup = null;	}	return;}function CGSVersion() {	return true;}////-->function CSOpenWindow(action) {	var wf = "";		wf = wf + "width=" + action[3];	wf = wf + ",height=" + action[4];	wf = wf + ",resizable=" + (action[5] ? "yes" : "no");	wf = wf + ",scrollbars=" + (action[6] ? "yes" : "no");	wf = wf + ",menubar=" + (action[7] ? "yes" : "no");	wf = wf + ",toolbar=" + (action[8] ? "yes" : "no");	wf = wf + ",directories=" + (action[9] ? "yes" : "no");	wf = wf + ",location=" + (action[10] ? "yes" : "no");	wf = wf + ",status=" + (action[11] ? "yes" : "no");			window.open(action[1],action[2],wf);}function 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 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);}// WBCyberGallery.action v3.1 - October, 2008// Copyright © 2003 by Walter Blady// All rights reservedvar CGisNav4 = navigator.appName.indexOf("Netscape") >= 0 && parseInt(navigator.appVersion.charAt(0)) == 4;var CGisIE4 = navigator.appVersion.indexOf("MSIE 4") >= 0;var CGisIE = window.navigator.userAgent.indexOf("MSIE") >= 0;var CGisNN = window.navigator.userAgent.indexOf("Netscape") >= 0 || window.navigator.userAgent.indexOf("Navigator") >= 0;var CGisOpera = window.navigator.userAgent.indexOf("Opera") >= 0;var CGisW3C = document.getElementById ? true : false;var CGisWin = navigator.platform.indexOf("Win") > -1;var CGisMac = navigator.platform.indexOf("Mac") > -1;var CGisMacIE = CGisMac && CGisIE;var CGisMacNN = CGisMac && CGisNN && parseInt(navigator.appVersion.charAt(0)) < 8;var CGisWinIE = CGisWin && navigator.appName.indexOf("Explorer") > -1;var CGisWinIE7 = CGisWin && navigator.appVersion.indexOf("MSIE 7") >= 0;var CGsetLoadDelay = 0, CGsetShowDelay = 0, CGleft, CGtop, CGaction, CGboxb, CGboxm,CGboxw, CGimgm;var CGslideTimer = 0, CGslideIndex = 0, CGtimer = 0, CGtotalSlides = 0,CGhid, CGvis, CGcaptions, CGNNfixH, CGNNfixW;var CGpause = false, CGadvance = true, CGslideCounted = false, CGloop, CGholdLoop, CGendOfLoop = false, CGdirection;function WBCyberGallery(action) {	if (CGVersion()) { 		CGaction = action;		CGloop = false;		if (action[1] < 6) {			var path = CGaction[17] == "" ? "" : CGaction[17] + ".";			var path2 = CGaction[17] == "" ? "" : CGaction[17];			CGboxb = eval(path + "CGboxb");			CGboxm = eval(path + "CGboxm");			CGboxm.slideMode = CGaction[1] > 0 && CGaction[1] < 6 ? true : false;			CGboxw = eval(path + "CGboxw");			CGboxc = eval(path + "CGboxc");			CGSdelay = eval(path + "CGSdelay");			CGimgm = CGboxm.lastChild;			CGboxm.path = path;			CGboxm.path2 = path2;			CGboxm.win = CGaction[19];			CGboxm.url = CGaction[18];			CGboxm.cap = CGcaptions != null;			CGvis = (CGisW3C || CGisIE4) ? "visible" : "show";			CGhid = (CGisW3C || CGisIE4) ? "hidden" : "hide";			if (CGisIE && !CGisMacIE) {				CGboxm.style.filter = "progid:DXImageTransform.Microsoft.Alpha(enebled=true)";				CGboxc.style.filter = "progid:DXImageTransform.Microsoft.Alpha(enebled=true)";			}			CGboxm.sou = action[5];			CGboxm.pos = action[6];			CGboxm.ali = action[7];			CGboxm.cid = action[8];			CGboxm.off = action[9];			CGboxm.wpos = action[10];			CGboxm.fixedLeft = action[11];			CGboxm.fixedTop = action[12];			CGboxm.pro = action[13];			CGboxm.mar = action[14];			if (action[15] > 0) CGboxb.opa = action[15];			CGboxw.opa2 = action[16] > 0 ? action[16] : CGboxw.opa;			if (action[1] > 0 && action[1] < 6 && !CGslideCounted) {				CGslideCounted = true;				for (var i = 1; eval("CGImages_" + i + "()") != ""; i++) { }				CGtotalSlides = i-1;			}			if (CGboxm.autoClose && !CGboxm.slideMode) {				var p = eval(CGboxm.path + "document.body");				if (CGboxm.path != "") p.onmouseup = CGHideAll;				document.body.onmouseup = CGHideAll;			}			else if (action[1] == 0) {				if (CGboxb) CGboxb = null;			}		}		if (action[1] == 0 && action[4].indexOf("Reference!") == -1 && action[4] != "#") {			var img = action[4];			CGboxm.showHide(CGhid);			if (CGboxc) CGboxc.showHide(CGhid);			if (CGboxm.pos > 0 && CGboxm.cid != "" && !CGisNav4) {				var caption = "";				if (CGboxm.sou == 1) {					caption = CGGetImageObj("", CGboxm.cid).alt;				}				else if (CGboxm.sou == 2 && CGboxm.cap) {					caption = eval("CGCaption_" + CGboxm.cid + "()");				}				else if (CGboxm.sou == 3 && CGboxm.cap) {					caption = eval("CGCaption_notice"+ "()");				}				if (CGboxc) {					CGboxc.innerHTML = "";					CGboxc.innerHTML = caption;				}			}			CGimgn = new Image();			CGimgn.src = img;			CGimgm.src = CGimgn.src;			if (CGboxb) {				CGboxb.doOpacity(CGboxb.opa);				CGboxb.showHide(CGvis);				if (CGboxb.isImage && !CGimgn.complete) CGboxb.style.backgroundImage = "url(" + CGboxb.bimage + ")";			}			CGsetLoadDelay = setInterval('if (CGimgn.complete) { CGFinishUp() }', CGSdelay);		}		else {			if (action[1] == 6 && CGboxm.pro != null) {				if (!CGpause) {					CGdirection = CGadvance;					clearInterval(CGslideTimer);				}				else {					CGadvance = CGdirection;					CGloop = CGholdLoop;					if (CGboxb) CGboxb.showHide(CGvis);					if (!CGendOfLoop) {						CGDoSlides();						CGslideTimer = setInterval("CGDoSlides()", CGtimer);					}				}				CGpause = CGpause ? 0 : 1;			}			else if (action[1] == 7 && CGboxm.pro != null) {				clearInterval(CGslideTimer);				clearInterval(CGsetLoadDelay);				CGpause = false;				CGHideAll();				return;			}			if (CGboxb) {				CGboxb.doOpacity(CGboxb.opa);				CGboxb.showHide(CGvis);			}			if (action[1] == 1 || action[1] == 2) {				clearInterval(CGslideTimer);				clearInterval(CGsetLoadDelay);				CGpause = false;				CGtimer = action[2]*1000;				if (action[1] == 1) {					CGslideIndex = 0;				}				CGadvance = true;				CGloop = action[3];				CGholdLoop = CGloop;				CGendOfLoop = false;				CGDoSlides();				if (!CGendOfLoop) CGslideTimer = setInterval("CGDoSlides()", CGtimer);			}			else if (action[1] == 3) {				clearInterval(CGslideTimer);				clearInterval(CGsetLoadDelay);				CGpause = false;				CGtimer = action[2]*1000;				CGadvance = false;				CGloop = action[3];				CGholdLoop = CGloop;				CGendOfLoop = false;				CGDoSlides();				if (!CGendOfLoop) CGslideTimer = setInterval("CGDoSlides()", CGtimer);			}			else if (action[1] == 4 || action[1] == 5) {				clearInterval(CGslideTimer);				clearInterval(CGsetLoadDelay);				CGadvance = action[1] == 4 ? true : false;				CGloop = true;				CGDoSlides();			}		}	}	return;}function CGDoSlides() {	CGslideIndex += CGadvance ? 1 : -1;	if (CGslideIndex > CGtotalSlides) {		CGslideIndex = CGloop ? 1 : CGslideIndex + -1;		if (!CGloop) {			clearInterval(CGslideTimer);			clearInterval(CGsetLoadDelay);			CGendOfLoop = true;			return;		}	}	if (CGslideIndex < 1) {		CGslideIndex = CGloop ? CGtotalSlides : CGslideIndex + 1;		if (!CGloop) {			clearInterval(CGslideTimer);			clearInterval(CGsetLoadDelay);			CGendOfLoop = true;			return;		}	}	var img = eval("CGImages_" + CGslideIndex + "()");	if (CGboxm.url.indexOf("Reference") > -1 || CGboxm.url == "#") CGboxm.url = CGurl;	CGboxm.showHide(CGhid);	if (CGboxw) CGboxw.showHide(CGhid);	if (CGboxc) CGboxc.showHide(CGhid);	if (CGboxm.pos > 0 && !CGisNav4) {		var caption = "";		if (CGboxm.sou == 1) {			caption = CGGetImageObj("", CGcap) ? CGGetImageObj("", CGcap).alt : "";		}		else if (CGboxm.sou == 2 && CGboxm.cap) {			caption = eval("CGCaption_" + CGcap + "()");		}		else if (CGboxm.sou == 3 && CGboxm.cap) {			caption = eval("CGCaption_notice"+ "()");		}		if (CGboxc) {			CGboxc.innerHTML = "";			CGboxc.innerHTML = caption;		}	}	CGimgn = new Image();	CGimgn.src = img;	CGimgm.src = CGimgn.src;	if (CGboxb && CGboxb.isImage && !CGimgn.complete) CGboxb.style.backgroundImage = "url(" + CGboxb.bimage + ")";	CGsetLoadDelay = setInterval('if (CGimgn.complete) { CGFinishUp() }', CGSdelay);	return;}function CGFinishUp() {	clearInterval(CGsetLoadDelay);	if (CGboxb) CGboxb.style.backgroundImage = !CGisOpera && !CGisIE ? null : "url('')";	CGboxm.setSize(CGimgm.width, CGimgm.height);	if (CGboxm.wpos > 0) {		var top, left;		if (CGboxm.wpos == 1) {			var p = CGboxm.path2 == "" ? eval("parent") : eval(CGboxm.path2);			var st = p.document.body.scrollTop > 0 ? p.document.body.scrollTop : p.document.documentElement.scrollTop; 			var sl = p.document.body.scrollLeft > 0 ? p.document.body.scrollLeft : p.document.documentElement.scrollLeft;			if (CGisMacIE) var st = p.document.body.scrollTop, sl = p.document.body.scrollLeft;			if (p.innerHeight) {				left = ((p.innerWidth - CGimgm.width) / 2) + sl;				top = ((p.innerHeight - CGimgm.height) / 2) + st;			}			else {				left = ((p.document.body.clientWidth - CGimgm.width) / 2) + sl;				var dech = p.document.documentElement.clientHeight, dbch = p.document.body.clientHeight;				top = dech > 0 ? ((dech - CGimgm.height) / 2) + st : ((dbch - CGimgm.height) / 2) + st;			}		}		else if (CGboxm.wpos == 2) {			left = CGboxm.fixedLeft;			top = CGboxm.fixedTop;		}		left = left-(CGboxm.borderSize/2);		top = top-(CGboxm.borderSize/2);		CGboxm.scrollTo(left, top);		CGboxw.scrollTo(left, top);	}	if (CGboxw && CGboxm.pro) {		CGboxw.setSize(CGimgm.width, CGimgm.height);		var opac = CGboxm.mar ? CGboxw.opa2 : 0;		if (CGboxw.doOpacity) CGboxw.doOpacity(opac);	}	if (!CGisNav4 && CGboxc && CGboxm.pos > 0) {		var offset = parseInt(CGboxm.off), fixpad = CGisWinIE ? 0 : CGboxc.pad * 2;		if (!CGisMacIE) {			CGboxc.style.width = CGboxc.fixedWidth == 0 ? parseInt(CGboxm.style.width) - fixpad + "px" : CGboxc.fixedWidth - fixpad + "px";		}		else {			CGboxc.style.width = CGboxc.fixedWidth == 0 ? parseInt(CGboxm.style.width) + CGboxc.wid*2 + "px" : CGboxc.fixedWidth + CGboxc.wid*2 + "px";		}		if (CGboxc) {			CGboxc.style.textAlign = CGboxm.ali;			for (var i in CGboxc) {				if (i == "offsetHeight") {					CGboxcHeight = CGboxc[i];				}			}		}		var boxmtop = parseInt(CGboxm.style.top), boxmleft = parseInt(CGboxm.style.left);		if (CGboxc.fixedWidth == 0) {			var x = (-CGboxc.wid + boxmleft) - (CGboxc.mar/2);		}		else {			var y = parseInt(CGboxm.style.width);			var x = CGboxc.fixedWidth <= y ? (boxmleft + y - CGboxc.fixedWidth)/2 - CGboxc.wid - (CGboxc.mar/2) : (boxmleft -(CGboxc.fixedWidth - y)/2) - CGboxc.wid - (CGboxc.mar/2);		}		if (CGboxm.pos == 1) {			var left = x;			var top = boxmtop - CGboxcHeight - offset;		}		if (CGboxm.pos == 2) {			var left = x;			var top = boxmtop + CGimgm.height + offset;		}		if (CGboxm.pos == 3) {			var left = x;			var top = boxmtop + offset;		}		if (CGboxm.pos == 4) {			var left = x;			var top = boxmtop + CGimgm.height - CGboxcHeight - offset;		}		if (CGboxm.pos == 5) {			var left = x;			var top = (boxmtop + CGimgm.height - CGboxcHeight) / 2;		}		CGboxc.scrollTo(left, top);	}	CGsetShowDelay = setInterval('CGShowAll()', CGSdelay);	return;}function CGShowAll() {	clearInterval(CGsetShowDelay);	if (CGboxm.transMode == 2 || CGboxm.transMode == 3) {		clearInterval(CGboxm.CGtransInt);		clearInterval(CGboxc.CGtransInt);		CGboxm.CGfadeIn = true;		CGboxm.CGtransSta = 0;		CGboxm.CGtransEnd = !CGisMacNN ? 100 : 99;		CGboxm.CGtransVal = CGboxm.CGtransSta;		CGDoOpacity(CGboxm.CGtransVal);	}	if (CGboxb) {		var p = CGboxm.path2 == "" ? eval("parent") : eval(CGboxm.path2);		var st = p.document.body.scrollTop + p.document.documentElement.scrollTop, sl = p.document.body.scrollLeft + p.document.documentElement.scrollLeft;		if (p.innerHeight) {			CGboxb.style.height = p.innerHeight + st + "px";			CGboxb.style.width = p.innerWidth + sl + "px";		}		else {			var decw = p.document.documentElement.clientWidth, dbcw = p.document.body.clientWidth;			var dech = p.document.documentElement.clientHeight, dbch = p.document.body.clientHeight;			CGboxb.style.width = decw > 0 ? decw + sl + "px" : dbcw + sl + "px";			CGboxb.style.height = dech > 0 ? dech + st + "px" : dbch + st + "px";		}		CGboxb.showHide(CGvis);	}			if (CGboxm) CGboxm.showHide(CGvis);	if (CGboxc && CGboxm.pos > 0) CGboxc.showHide(CGvis);	if (CGboxw && CGboxm.pro) CGboxw.showHide(CGvis);	if (CGboxm.transMode == 2 || CGboxm.transMode == 3) {		CGboxm.CGtransInt = setInterval("CGTransition()", CGboxm.transSpeed);		CGboxc.CGtransInt = setInterval("CGTransition()", CGboxm.transSpeed);	}	return;}function CGHideAll() {	if (CGboxm.transMode == 1 || CGboxm.transMode == 3) {		clearInterval(CGboxm.CGtransInt);		clearInterval(CGboxc.CGtransInt);		CGboxm.CGfadeIn = false;		CGboxm.CGtransSta = 100;		CGboxm.CGtransEnd = 0;		CGboxm.CGtransVal = CGboxm.CGtransSta;		CGboxm.CGtransInt = setInterval("CGTransition()", CGboxm.transSpeed);		CGboxc.CGtransInt = setInterval("CGTransition()", CGboxm.transSpeed);	}	else {		if (CGboxm) {			CGboxm.showHide(CGhid);			if (CGboxm.autoClose) {				this.onmouseup = null;			}		}		if (CGboxw) {			CGboxw.showHide(CGhid);			if (CGboxw.doOpacity) CGboxw.doOpacity(null);		}		if (CGboxc) CGboxc.showHide(CGhid);		if (CGboxb) {			CGboxb.showHide(CGhid);			CGboxb.doOpacity(null);			CGboxb.style.width = "auto";			CGboxb.style.height = "auto";		}	}	return;}function CGGetImageObj(frameName, imgObjName) {	var path = frameName.length > 0 ? frameName + "." : "";	if (CGisW3C || CGisIE) {		var baseImage = eval(path + "document.images." + imgObjName);	}	else {		baseImage = parseInt(navigator.appVersion.charAt(0)) > 3 ? CGFindImgElement(imgObjName, 0, path) : eval(path + "document.images[imgObjName]");	}	return baseImage;}function CGFindImgElement(baseImage, thisLayer, path) {	if (path.length != "") {		var thisDocument = thisLayer ? thisLayer.document : eval(path + "document");	}	else {		var thisDocument = thisLayer ? thisLayer.document : document;	}	var imageObj = thisDocument[baseImage];	if (imageObj) {		return imageObj;	}	else {		for (var i = 0; i < thisDocument.layers.length; i++) {			imageObj = CGFindImgElement(baseImage, thisDocument.layers[i], path);			if (imageObj) {				break;			}		}	}	return imageObj;}function CGTransition() {	if(CGboxm.CGfadeIn) {		CGboxm.CGtransVal += CGboxm.transTics;		CGboxc.CGtransVal += CGboxm.transTics;	}	else {		CGboxm.CGtransVal -= CGboxm.transTics;	}	var doFade = CGboxm.CGfadeIn ? CGboxm.CGtransVal <= CGboxm.CGtransEnd : CGboxm.CGtransVal >= CGboxm.CGtransEnd;	if (doFade) {		CGDoOpacity(CGboxm.CGtransVal);	}	else {		clearInterval(CGboxm.CGtransInt);		clearInterval(CGboxc.CGtransInt);		if (!CGboxm.CGfadeIn) {			if (CGboxm) {				CGboxm.showHide(CGhid);				if (CGboxm.autoClose) {					this.onmouseup = null;					document.body.onmouseup = null;				}			}			if (CGboxw) {				CGboxw.showHide(CGhid);				if (CGboxw.doOpacity) CGboxw.doOpacity(null);			}			if (CGboxc) CGboxc.showHide(CGhid);			if (CGboxb) {				CGboxb.showHide(CGhid);				CGboxb.doOpacity(null);				CGboxb.style.width = "auto";				CGboxb.style.height = "auto";			}			CGDoOpacity(100);		}	}	return;}function CGDoOpacity(transVal) {	if (CGboxm.style.MozOpacity != null) {		CGboxm.style.MozOpacity = transVal/100;		CGboxc.style.MozOpacity = transVal/100;	}	else if (CGisIE && !CGisMacIE) {		CGboxm.filters.item("DXImageTransform.Microsoft.Alpha").opacity = transVal;		CGboxc.filters.item("DXImageTransform.Microsoft.Alpha").opacity = transVal;	}	else {		CGboxm.style.opacity = transVal/100;		CGboxc.style.opacity = transVal/100;	}	return;}function CGVersion() {	return true;}////-->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 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();} }
