			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 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;
			CSAg = window.navigator.userAgent; CSBVers = parseInt(CSAg.charAt(CSAg.indexOf("/")+1),10);
			function IsIE() { return CSAg.indexOf("MSIE") > 0;}
			function CSIEStyl(s) { return document.all.tags("div")[s].style; }
			function CSNSStyl(s) { return CSFindElement(s,0); }
			function CSFindElement(n,ly) { if (CSBVers < 4) return document[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 CSSetStyleBold(s,v) { 
				if (isDomIE){
					 CSIEStyl(s).fontWeight = (v == 0) ? "normal" : "bold";
					 //CSIEStyl(s).color = (v == 0) ? "626262" : "969696";
				}	 
				if (isDomNN){
					 CSNSStyl(s).fontWeight = (v == 0) ? 'normal' : 'bold';
					 //CSNSStyl(s).color = (v == 0) ? '#969696' : '#626262';
				}
				if (isDom){
					 document.getElementById(s).style.fontWeight = (v == 0) ? "normal" : "bold";
					// CSNSStyl(s).color = (v == 0) ? '#969696' : '#626262';
				}
			}


		
			// This part is for mozilla
			// ----------------------------------------------------------------------
			        var isDom = document.getElementById;
			        var isDomIE = document.all;
			        var isDomNN = document.layers;
			// ----------------------------------------------------------------------
			var isMinNS4 = (navigator.appName.indexOf("Netscape") >= 0 &&
			                parseFloat(navigator.appVersion) >= 4) ? 1 : 0;
			var isMinIE4 = (document.all) ? 1 : 0;
			var isMinIE5 = (isMinIE4 && navigator.appVersion.indexOf("5.")) >= 0 ? 1 : 0;

function mailcheck(){
	if(frm.abs_name.value=='' || frm.abs_nachricht.value==''){
		alert('Bitte füllen Sie alle markierten (*) Felder aus.\nPlease fill out all marked (*) fields.')
	}else{
		frm.submit();
	}
	
}


function setactive(s){
	CSSetStyleBold(s,"bold");
}

// sonstige
function newwin(x,y,w,h,url,winname){
	var cs=window.open(url,winname,'toolbar=no,menubar=no,resize=no,width='+w+',height='+h);
	cs.moveTo(0,0);
	cs.resizeTo(w,h);
}

function startQTVR(qtvrurl,w,h,x,y){
	var qtvrwin=window.open(qtvrurl,'qtvr','toolbar=no,menubar=no,resize=no,width='+w+',height='+h);
	if(x==undefined && y==undefined){
		 qtvrwin.moveTo(0,0);
	}else{
		 qtvrwin.moveTo(x,y);
	
	}
	qtvrwin.resizeTo(w,h);
	
}

function startFlash(flashurl,w,h,x,y){
	var flashwin=window.open(flashurl,'flash','toolbar=no,menubar=no,resize=no,width='+w+',height='+h);
	if(x==undefined && y==undefined){
		 flashwin.moveTo(0,0);
	}else{
		 flashwin.moveTo(x,y);
	
	}
	flashwin.resizeTo(w,h);
	
}

//javascript:var qtvr=window.open(\'" + _global.rubrik + "/" + _global.filename + ".mov" + "\',\'QTVR\',\'width=" + _global.ex_bgross + ",height=" + _global.ex_hgross + ",left=0,top=0\');"