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
}

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 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");		
		
/*zuweisung der bildschirmbreite und -hoehe zu den variablen sw und sh*/
	var sw=screen.width;
	var sh=screen.height;

/*festlegung der groesse von neufenster*/
	var neubreite=action[3]; 
	var neuhoehe=action[4];

	/*berechnung der position von neufenster*/
	var positionleft=(sw-neubreite)/2;
	var positiontop=(sh-neuhoehe)/2;

	/*oeffnen von neufenster mit uebergabe der parameter*/
	Neufenster=window.open(action[1],action[2],wf); 

	/*nachtraegliches positionieren von neufenster*/
   Neufenster.moveTo(positionleft,positiontop);

   Neufenster.focus();
}
function goWin() {
	var mh = 680;
	var mw = 474;
	TheWin = window.open('','image','height=' + mh + ',width=' + mw + ',toolbar=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no');
	TheWin.resizeTo(mw+2,mh+30);
	TheWin.document.write('<!DOCTYPE html PUBLIC "-\/\/W3C\/\/DTD XHTML 1.0Transitional\/\/EN" "http:\/\/www.w3.org\/TR\/xhtml1\/DTD\/xhtml1-transitional.dtd"><html xmlns="http:\/\/www.w3.org\/1999\/xhtml">');
	TheWin.document.write('<head><title>Popup<\/title><\/head><body style="overflow:hidden" bgcolor="#D5DFE5">');
	TheWin.document.write('<div align="center"><img src="\/imagenes\/edificio\/museo_ciudad.jpg" width="440" height="635" alt="Distinción al Club del Progreso" title="Distinción al Club del Progreso" \/><\/div><\/body><\/html>');
	TheWin.moveTo(100,100);
	TheWin.focus();
}