/* -- Adobe GoLive JavaScript Library */

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 actArray = fct[array[i]];
		if (actArray == null) return false;
		var tempArray = new Array;
		for(var j=1;j<actArray.length;j++) {
			if((actArray[j] != null) && (typeof(actArray[j]) == "object") && (actArray[j].length == 2)) {
				if(actArray[j][0] == "VAR") {
					tempArray[j] = CSStateArray[actArray[j][1]];
				}
				else {
					if(actArray[j][0] == "ACT") {
						tempArray[j] = CSAction(new Array(new String(actArray[j][1])));
					}
				else
					tempArray[j] = actArray[j];
				}
			}
			else
				tempArray[j] = actArray[j];
		}			
		result = actArray[0](tempArray);
	}
	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
}

// by Mads Rasmussen Jul. 2000 - Oct 2000
// new version 2,01 Dec 2002
// Copyright © Mads Rasmussen
// All Rights Reserved  Rasmussens Design
var agt= navigator.userAgent.toLowerCase();
var erIE4 = (document.all&&!document.getElementById)?1:0;
var erIE5 = (document.all&&document.getElementById)?1:0;
var erMac = agt.indexOf("macintosh")?1:0;
var erNN60 = (agt.indexOf("netscape/6.0") >=-1)?1:0;
function RDCenterNewWindow(action) {
var CWvin,nytCWvindue,CWBredde,CWHojde,CWbred,CWhoj,CWdiv;
CWbred = action[3];CWhoj = action[4];CWBredde=action[5];CWHojde=action[6];	
if (action[9] || action[10] || action[11] || action[12]) CWdiv=2.4; else CWdiv=2;
if (erIE4 && erMac){CWHojde += 40;CWhoj +=43;}
else if (erIE5 && erMac){CWHojde = action[6];}
if(erNN60){CWhoj=CWhoj+15;if(action[8]==true)CWbred=CWbred+15;}
if(action[14]==1){CWBredde=screen.availWidth/2-CWbred/2; CWHojde =screen.availHeight/CWdiv-CWhoj/2;}
if(action[14]==2){CWBredde=CWBredde;CWHojde=CWHojde;}
CWvin =  ",width=" + CWbred;
CWvin += ",height=" + CWhoj;
CWvin += ",resizable=" + (action[7]?"1":"0");
CWvin += ",scrollbars=" + (action[8]?"1":"0");
CWvin += ",menubar=" + (action[9]?"1":"0");
CWvin += ",toolbar=" + (action[10]?"1":"0");
CWvin += ",directories=" + (action[11]?"1":"0");
CWvin += ",location=" + (action[12]?"1":"0");
CWvin += ",status=" + (action[13]?"1":"0");
CWvin += ",left=" + CWBredde;
CWvin += ",top=" + CWHojde;
CWvin += ",ScreenX=" + CWBredde;
CWvin += ",ScreenY=" + CWHojde;		
nytCWvin = window.open(action[1],action[2],CWvin);
if(window.focus){nytCWvin.focus()}
		}

