// -- Adobe GoLive JavaScript Library// -- Global Functions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);}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// Build by - on// Matt Ridley, Dec. '98 "NewWindow1.1"// Modified by Mads Rasmussen aug. '00function RDOpenNewWindow(action) {	var vindue = "";		vindue = vindue + ",width=" + action[3];	vindue = vindue + ",height=" + action[4];	vindue = vindue + ",resizable=" + (action[5] ? "1" : "0");	vindue = vindue + ",scrollbars=" + (action[6] ? "1" : "0");	vindue = vindue + ",menubar=" + (action[7] ? "1" : "0");	vindue = vindue + ",toolbar=" + (action[8] ? "1" : "0");	vindue = vindue + ",directories=" + (action[9] ? "1" : "0");	vindue = vindue + ",location=" + (action[10] ? "1" : "0");	vindue = vindue + ",status=" + (action[11] ? "1" : "0");			vindue = vindue + ",left=" + action[12];	vindue = vindue + ",top=" + action[13];		nyt_vindue = window.open(action[1],action[2],vindue);		nyt_vindue.moveTo(action[12], action[13]);		nyt_vindue.focus();}// ReloadPage.action v1.0 - February, 2004// © Copyright 2004 by Walter Blady// All rights reservedfunction WBReloadPage(action) {	if (navigator.cookieEnabled) {		var cookieCrumbs = RPGetCookie("WBReloadPage");		cookieValue = cookieCrumbs.substr(cookieCrumbs.indexOf("=")+1, cookieCrumbs.length);		if (cookieCrumbs == "" || cookieValue.indexOf(action[1]) == -1) {			cookieValue += (cookieCrumbs == "") ? action[1] : "&" + action[1];			RPCookieObject = new RPCookie();			RPCookieObject.storeCookie(cookieValue);			location.reload(true);		}	}	return;}function RPGetCookie(cookieTarget) {	var cookieCrumbs = unescape(document.cookie);	var cookieArray = cookieCrumbs.split("; ");	cookieCrumbs = "";	for (var i = 0; i < cookieArray.length; i++) {		if (cookieArray[i].indexOf(cookieTarget) != -1) {			cookieCrumbs = cookieArray[i];			break;		}	}	return cookieCrumbs;}//new RPCookie();RPCookie.prototype.storeCookie = RPStoreCookie;function RPCookie() {	this.$document = document;	this.$name = "WBReloadPage";	this.$expires = null;	this.$path = "/"	this.$domain = null;	this.$secure = false;	return;}function RPStoreCookie(value) {	if (value == null) value = "";	for (var prop in this) {		if (prop.charAt(0) == "$" || (typeof this[prop]) == "function") {			continue;		}		if (value != "") value += "&";		value += prop + ":" + 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;	this.$document.cookie = cookie;	return;}function RPVersion() {	return (navigator.appName.indexOf("Explorer") >= 0 && parseInt(navigator.appVersion.charAt(0)) >= 3);}// Version 1.1. A Michael Ahgren action.function CSRemoveIEbox(){if (document.images&&navigator.userAgent.indexOf("MSIE")!=-1){	for(i=0;i<document.links.length;i++){		target=eval("document.links[i]")		target.onfocus=blurHandler		}	}}function blurHandler(){obj=window.event.srcElementif(obj.tagName == "A"||obj.tagName=="AREA") obj.blur()}// EOF
