function OpenKalender( ziel, datum, operator )
{
	Test = window.open( ziel + '&datum=' + datum.value + '&operator=' + operator,'Kalenderblatt', 'width=175,height=180,top=150,left=150,scrollbars=no' );
	if (document.all)
   {
		var ClickX = window.event.x;
		var ClickY = window.event.y;
		if (navigator.appVersion.indexOf("MSIE")>5 )
		{
		Test.moveTo(ClickX+window.screenLeft+5, ClickY+window.screenTop-50);
		}
	}
}

function openPicture(imageType,imageName,imageWidth,imageHeight,alt,posLeft,posTop) {  // v4.01
	newWindow = window.open("","newWindow","width="+imageWidth+",height="+imageHeight+",scrollbars=no,left="+posLeft+",top="+posTop);
	newWindow.document.open();
	newWindow.document.write('<html><title>'+alt+'</title><body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginheight="0" marginwidth="0" onBlur="self.close()">'); 
	newWindow.document.write('<img src=\"'+imageName+'\" width='+imageWidth+' height='+imageHeight+'>'); 	
	newWindow.document.write('</body></html>');
	newWindow.document.close();
	newWindow.focus();
}

// Open Bildergalerie
function OpenGalerie(theURL,winName,features, myWidth, myHeight, isCenter) {
  if(window.screen)if(isCenter)if(isCenter=="true"){
    var myLeft = (screen.width-myWidth)/2;
    var myTop = (screen.height-myHeight)/2;
    features+=(features!='')?',':'';
    features+=',left='+myLeft+',top='+myTop;
  }
  window.open(theURL,winName,features+((features!='')?',':'')+'width='+myWidth+',height='+myHeight);
}

// map24
function map24_removeDefaultValues(){
			if (document.link2map24.sstreet.value == 'Straße') 	document.link2map24.sstreet.value 	= '';
			if (document.link2map24.szip.value 	  == 'PLZ') 		document.link2map24.szip.value 		= '';
			if (document.link2map24.scity.value   == 'Ort') 		document.link2map24.scity.value 	= '';
		
			}