// -- Adobe GoLive JavaScript Library// -- Global Functions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;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}// -- Action Functions// ReloadWindow.action v1.0 - September/1999// Special version for IE browsers// © Copyright 1999 by Walter Blady// All rights reserved.//Set global variable for AdCarouselLinks.//Use this Action as an action headItem sset to on UNload.function WBReloadWindow(action) {	if (RWVersion()) { window.location.reload(); }	return;}// Browser check.function RWVersion() {	// Browser must be Explorer and version 3 or greater...	return (navigator.appName.indexOf("Explorer") >= 0 && parseInt(navigator.appVersion.charAt(0)) >= 3);}function CSCloseWindow() { if (self.parent.frames.length != 0) {	self.parent.close()		} else {	window.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);}// OpenPopUp 1.4 action by Nate Baldwin, www.mindpalette.com, copyright 2002function MPOpenPopup(action) {var posX = 0;var posY = 0;if (action[4] == true) {	posX = ((screen.availWidth/2)-(action[2]/2));	posY = ((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];}// EOF
