function fsubmit(f) { 
	if (arguments.length > 1) 
		if (arguments[1] != null && arguments[1] != '') document.forms[f].titel.value = arguments[1];
	document.forms[f].submit();
} 
function openWindow(URL,winName,features) { window.open(URL,winName,features); }
function grpchange(x) { location.href='/messgeraete/'+document.forms[x].grp.value+'.html'; }
function newwin(url) { info = open(url,"info","width=550,height=550,status=no,toolbar=no,menubar=no,resizable=yes,top=15px,left=85px"); }
function popuporder(NAME,AMOUNT) { alert("Sie haben A"+ NAME +" jezt "+ AMOUNT +" mal im Warenkorb gelegt!"); }
function popup(TEXT) { alert(TEXT); }
function MM_preloadImages() { //v3.0
	var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
	var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
	if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
function callback_open(kdnr, sc, freetext) {
	if (navigator.appName == "Netscape") {
			intHeight = 230
		}
	else {
			intHeight = 215
		}
	if (!window.callback) {
			callback = window.open('http://www.e-supporter.de/callback/callback_form.php?resize=1&kdnr=' + kdnr +'&sc=' + sc +'&freetext=' + freetext,'CallbackWin','width=500, height=240, toolbar=no, menubar=no, location=no, scrollbars=no, resizeable=no'); 
		}
	else {
			if (!callback.closed) {
					callback.focus();
				}
				else {
					callback = window.open('http://www.e-supporter.de/callback/callback_form.php?resize=1&kdnr=' + kdnr +'&sc=' + sc +'&freetext=' + freetext,'CallbackWin','width=500, height=240, toolbar=no, menubar=no, location=no, scrollbars=no, resizeable=no'); 
				}
		}
}
function UnCryptMail(s, shift) {
	var n=0;
	var r="";
	for(var i=0;i<s.length;i++) { 
		n=s.charCodeAt(i); 
		if (n>=8364) {n = 128;}
		r += String.fromCharCode(n-(shift)); 
	}
	return r;
}
function linkTo_UnCryptMail(s, shift)	{
	location.href=UnCryptMail(s, shift);
}