/* master.js created 20080303 by mediaman */
// JavaScript Document
function druck()
{
	window.print();
}

function schliessen()
{
	window.close();
}

function openPrint(wohin,w,h) 
{
	remote2 = eval("window.open(wohin,\'popDruck\',\'toolbar=yes,location=no,directories=no,status=no,menubar=yes,scrollbars=yes,resizable=no,copyhistory=no,width="+w+",height="+h+",left=40,top=40\')")
}

function openWin(wohin,w,h) 
{
	remote2 = eval("window.open(wohin,\'popschwack\',\'toolbar=yes,location=no,directories=no,status=no,menubar=yes,scrollbars=yes,resizable=no,copyhistory=no,width="+w+",height="+h+",left=40,top=40\')")
}

function openDirekt(wohin) 
{		  remote2=eval("window.open(wohin,\'popdirek\',\'toolbar=yes,location=no,directories=no,status=no,menubar=yes,scrollbars=yes,resizable=yes,copyhistory=no,width=705,height=420,left=40,top=40\')")
}

function lade_seite(url)
{
	location.href = url;
}

function openFahrzeugEmpfehlen(wohin,w,h) 
{
	remote2 = window.open(wohin,'TheRemote','toolbar=no,location=no,directories=no,status=no,menubar=yes,scrollbars=yes, scrollbars=yes,resizable=no,copyhistory=no,width='+w+',height='+h+',left=40,top=40');
}


function openPasswortVergessen(wohin) 
{
	remote2=eval("window.open(wohin,\'poppasswort\',\'toolbar=no,location=no,directories=no,status=no,menubar=yes,scrollbars=yes,resizable=yes,copyhistory=no,width=593,height=180,left=40,top=40\')")
}

function MM_findObj(n, d)
{
	var p,i,x;
	if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) 
	{
		d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);
	}
	if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
	for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
	if(!x && document.getElementById) x=document.getElementById(n);return x;
}

function newBrowserWin(url,breite,hoehe)
			{
				var x = (screen.availWidth-breite)/2;
				var y = (screen.availHeight-hoehe)/2;
				var bwin = window.open(url,"bwin","width="+breite+",height="+hoehe+"width="+breite+",height="+hoehe+",left="+x+",screenX="+x+",top="+y+",screenY="+y+",status=yes,scrollbars=yes,location=yes,resizable=yes,toolbar=yes,menubar=yes,directories=yes");
				bwin.focus();
}
function openPopupLayer(wohin,w,h) 
{
	remote2 = eval("window.open(wohin,\'popLayer\',\'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,copyhistory=no,width="+w+",height="+h+",left=40,top=40\')")
}

// WebTrends SmartSource Data Collector
// C 1996-2004 NetIQ Corporation.  All rights reserved. 
// $DateTime: 2004/05/03 13:43:43 $

function dcsMultiTrack(){
	for (var i=0;i<arguments.length;i++){
		if (arguments[i].indexOf('WT.')==0){
				WT[arguments[i].substring(3)]=arguments[i+1];
				i++;
		}
		if (arguments[i].indexOf('DCS.')==0){
				DCS[arguments[i].substring(4)]=arguments[i+1];
				i++;
		}
		if (arguments[i].indexOf('DCSext.')==0){
				DCSext[arguments[i].substring(7)]=arguments[i+1];
				i++;
		}
	}
	var dCurrent=new Date();
	DCS.dcsdat=dCurrent.getTime();
	dcsTag();
}  
