/* -- Adobe GoLive JavaScript Library */

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 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
}

// Version 1.2. A Michael Ahgren action.
function CSRemoveIEbox(){
if (document.images&&navigator.userAgent.indexOf("MSIE")!=-1){
	for(i=0;i<document.links.length;i++){
		var target=eval("document.links[i]")
		target.onfocus=blurHandler
		}
	}
}

function blurHandler(){
obj=window.event.srcElement
if(obj.tagName == "A"||obj.tagName=="AREA") obj.blur()
}

function CSCloseWindow() { 
if (self.parent.frames.length != 0) {
	self.parent.close()	
	} else {
	window.close()
	}
}

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 CSFixFct() {
	var d = document; var w = window;
	if (d.cs.csFix.w != w.innerWidth || d.cs.csFix.h != w.innerHeight) {
		d.location = d.location; }
}
function CSNSFix(action) { 
	var d = document; var w = window;
	if ((navigator.appName == 'Netscape') && (parseInt(navigator.appVersion) == 4)) {
		if (typeof d.cs == 'undefined') { 
			d.cs = new Object;
			d.cs.csFix = new Object; 
		} else if (CSIsFrame (w) == true) CSFixFct();
		d.cs.csFix.w = w.innerWidth;
		d.cs.csFix.h = w.innerHeight; 
		window.onresize = CSFixFct;
	  }
}
function CSIsFrame (window) {
	var rootWindow = window.parent;
	if (rootWindow == 'undefined') return false;
	for (i = 0; i < rootWindow.frames.length; i++)
		if (window == rootWindow.frames[i]) return true;
	return false;
}

//Copyrights Statement.action ver.1.0.1
//Copyrights Mads Rasmussen http://www.rasmussens.dk/action
//All rights reserved
function kopi101ret(action){
var RDnu=new Date();
var RDaar=RDnu.getFullYear();
var RDudelad=parseInt(RDaar);
var RDstreg=" - ";
if(action[2]==RDaar) {RDstreg=""; RDudelad="";}
var RDcrs = ''+action[1]+' '+action[2]+''+RDstreg+''+RDudelad+' '+action[3]+'  ';
if(action[4]==true) RDcrs+=' '+action[5]+' ';
if(action[6]==true) RDcrs+=''+RDstreg+' <a href="mailto:'+action[8]+'@'+action[9]+'.'+action[10]+'" title="'+action[15]+'" onfocus="this.blur();">'+action[7]+'<\/a> ';
if(action[11]==true)RDcrs+=' '+RDstreg+' <a href="'+action[13]+'" target="'+action[14]+'" onfocus="this.blur();" title="'+action[15]+'">'+action[12]+'<\/a> ';
document.write(RDcrs);}

// by Mads Rasmussen Jul. 2000 - Oct 2000, Copyright ¬© Mads Rasmussen, All Rights Reserved  Rasmussens Design, new version 2,04 Jul 2004
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()}
		}
//


