// -- 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 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 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 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}// -- Action Functions// 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()}// © Mads Rasmussen Nov 2002// Ver. 1.1.8 dec 2002// All Rights Reserved Rasmussens Designfunction flyanimageRD(action) { var venstre,hojre,FAIpost,FAIvin="";var erNN6=document.getElementById&&!document.all;if(erNN6) var nn=20; else nn=0;if(action[15]==10){venstre=0; hojre =0;}if(action[15]==20){venstre=Math.floor(screen.availWidth/2-action[3]/2-action[5]); hojre =Math.floor(screen.availHeight/2-action[4]/2)-action[5];}if(action[15]==30){venstre=action[8]; hojre=action[9];}var resize=action[14];var alttext=action[6];if(action[6]==""&&action[18]==true) alttext="Click image to close the window"; if(action[14]==true&&resize==false) var rdx=0; else rdx=0;FAIvin = ",width=" + (action[3]+action[10]+(action[5]*2));if(action[16] == 1){FAIvin += ",height=" + (action[4]+action[10]+(action[5]*2)) ;}else if(action[16]== 2||action[16]==3||action[16]==4){ FAIvin += ",height=" + (action[4]+action[10]+40+rdx+nn+(action[5]*2));}FAIvin += ",resizable=" + (resize ?"1":"0");FAIvin += ",scrollbars=" + (action[13] ?"1":"0");FAIvin += ",left=" + venstre;FAIvin += ",top=" + hojre;FAIvin += ",ScreenX=" + venstre;FAIvin += ",ScreenY=" + hojre;FAIpost = '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">';FAIpost += '<html><head><meta http-equiv="content-type" content="text/html;charset=iso-8859-1">';FAIpost += '<title>'+action[7]+'</title>';if(action[1]!="#"){FAIpost += '<link href="'+action[1]+'" rel="stylesheet" type="text/css" media="screen">';}FAIpost += '</head><body text=#000000 bgcolor="'+action[12]+'" leftmargin="'+action[10]+'" marginheight="'+action[10]+'" marginwidth="'+action[11]+'" topmargin="'+action[11]+'">';if(resize==true){FAIpost +='<table width="100%" border="0" cellspacing="0" cellpadding="0" height="100%"><tr><td align="center" valign="middle">'}if(action[18] == true){FAIpost +='<a href="Javascript:void(self.close())" onfocus="this.blur();" title="'+action[17]+'">'}FAIpost +='<img src="'+action[2]+'" border="'+action[5]+'" alt="'+alttext+'" title="'+alttext+'">';if(action[18] == true){FAIpost +='</a>'}if(action[16] == 1){action[17]="";}if(action[16] == 2){FAIpost +='<p align="left">&nbsp;&nbsp;'}if(action[16] == 3){FAIpost +='<p align="center">'}if(action[16] == 4){FAIpost +='<p align="right">'}if(action[16] == 2||action[16]==3||action[16]==4){FAIpost +='<a href="Javascript:void(self.close())" onfocus="this.blur();" title="'+action[17]+'">'+action[17]+'</a>'}if(action[16] == 4){FAIpost +='&nbsp;&nbsp;'}if(action[16] == 2||action[16]==3||action[16]==4){FAIpost +='</p>'}if(resize==true){FAIpost +='</td></tr></table>'}FAIpost += '</body></html>';	nytFAIvin = window.open('','',FAIvin);nytFAIvin.document.write(FAIpost);if(window.focus){nytFAIvin.focus()}nytFAIvin.document.close()}////  Script by Carl Erling, www.tba-berlin.de   v.1.3.1//  (c)1999-2003 All rights reserved. //function CSShowOneHideMany(action) {	if (action[2]) { CSSetStyleVis(action[3],0); }	if (action[4]) { CSSetStyleVis(action[5],0); }	if (action[6]) { CSSetStyleVis(action[7],0); }	if (action[8]) { CSSetStyleVis(action[9],0); }	if (action[10]) { CSSetStyleVis(action[11],0); }	if (action[12]) { CSSetStyleVis(action[13],0); }	if (action[14]) { CSSetStyleVis(action[15],0); }	if (action[16]) { CSSetStyleVis(action[17],0); }	if (action[18]) { CSSetStyleVis(action[19],0); }	if (action[20]) { CSSetStyleVis(action[21],0); }	if (action[22]) { CSSetStyleVis(action[23],0); }	if (action[24]) { CSSetStyleVis(action[25],0); }	if (action[26]) { CSSetStyleVis(action[27],0); }	if (action[28]) { CSSetStyleVis(action[29],0); }	if (action[30]) { CSSetStyleVis(action[31],0); }	// make last one visible, if checked	if (action[32]) { CSSetStyleVis(action[1],1); }}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);	}}// 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);}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];}// EOF