function moNF(){if(this.blur)this.blur();} // marc-a.prowe (marc-a@virtuelle-maschine.de) 2001
function moInitNF(){for(var i=0;i<document.links.length;i++){document.links[i].onfocus=moNF;}}

/* Snapfish - Adbutler */

function pixaco10x15(imgSrc)
{
	param="width=310,height=250,menubar=no,status=no,scrollbars=no,resizable=yes,left=50,top=50";
	window.open('http://james.adbutler.de/click.php?pid=5394&tid=130506&bid=33177&smm=cookie&cmd=addimage&servicename=PS-Fotoservice&url0=http://www.chriskubisch.de'+imgSrc+'&productid=2','PopupPIX',param);
}
function snapfish10x15(imgSrc)
{
	param="width=310,height=250,menubar=no,status=no,scrollbars=no,resizable=yes,left=50,top=50";
	window.open('http://james.adbutler.de/click.php?pid=5394&tid=130506&bid=33177&smm=cookie&cmd=addimage&servicename=PS-Fotoservice&url0=http://www.chriskubisch.de'+imgSrc+'&productid=2','PopupPIX',param);
}

/* Snapfish:
<a href="#" onclick="javascript:window.open
('http://james.adbutler.de/click.php?pid=xxx&tid=xxx&bid=xxx&smm=cookie&cmd=addimage&url0=
http://images.pixaco.com/httpbridge/pic1.jpg&productid=6',
'popup','width=310,height=250,menubar=no,status=no,scrollbars=no,resizable=yes,left=50,top=50');">
Foto-Poster 40x60 zum PIXACO Warenkorb hinzufügen</a> */



/* Bilderservice - AdButler: */

function BilderService10x15(imgSrc)
{
	param="width=310,height=300,menubar=no,status=no,scrollbars=no,resizable=yes,left=50,top=50";
	window.open('http://james.adbutler.de/click.php?pid=8594&tid=130506&bid=36732&smm=cookie&cmd=addimage&servicename=PS-Fotoservice&url0=http://www.chriskubisch.de'+imgSrc+'&productid=2','popupbs',param);
}

/* Bilderservice:
<a href="#" onclick="javascript:window.open
('http://james.adbutler.de/click.php?pid=xxx&tid=xxx&bid=xxx&smm=cookie&cmd=addimage&url0=
http://content.bilderservice.de/photobridge/pic1.jpg&productid=7'
,'popup','width=310,height=250,menubar=no,status=no,scrollbars=no,resizable=yes,left=50,top=50');">
Brillantbild 50x75 zum bilderservice.de Warenkorb hinzufügen</a> */

/* Adbutler:
<a href='http://james.adbutler.de/click.php?pid=8594&tid=130506&bid=36732' target='_blank'>
Bitte beachten Sie, daß dieser Link _NICHT_ auf bilderservice.de verweist! 
Eine Dokumentation und Beispiel finden Sie unter: http://content.bilderservice.de/photobridge/
<img src='http://james.adbutler.de/view.php?pid=8594&tid=130506&bid=36732&b=0&h=0&inv=zp' width='0' height='0' border='0'></a> */

function snapfish10x15(imgSrc)
{
	param="width=310,height=250,menubar=no,status=no,scrollbars=no,resizable=yes,left=50,top=50";
	window.open('http://ad.zanox.com/ppc/?3439156C660803664&ULP=[[&smm=cookie&cmd=addimage&url0=http://www.photo-synthese.de'+imgSrc+'&productid=2&servicename=Photo-Synthese-Fotoservice]]','popup',param);
}

function snapfish_Cookie_Adbutler (imgSrc)
{
	param="width=310,height=250,menubar=no,status=no,scrollbars=no,resizable=yes,left=50,top=50";
	window.open("http://james.adbutler.de/click.php?pid=5394&tid=130506&bid=33177&smm=cookie&cmd=addimage&servicename=Photo-Synthese-Fotoservice&url0=http://www.photo-synthese.de"+imgSrc+"&productid=2","popup",param);
}

function pixaco13x18(imgSrc)
{
	param="width=310,height=250,menubar=no,status=no,scrollbars=no,resizable=yes,left=50,top=50";
	window.open("http://james.adbutler.de/click.php?pid=5394&tid=130506&bid=33177&smm=cookie&cmd=addimage&servicename=Photo-Synthese-Fotoservice&navigationlogourl=www.photo-synthese.de/PSG/_img/Logo_Foto-Service.gif&welcomelogourl=www.photo-synthese.de/PSG/_img/Logo_Foto-Service_Welcome.gif&url0=http://www.photo-synthese.de"+imgSrc+"&productid=3","PopupPIX",param);
	window.focus();
}

function pixaco20x30(imgSrc)
{
	param="width=310,height=350,menubar=no,status=no,scrollbars=no,resizable=yes,left=-150,top=50";
	window.open("http://james.adbutler.de/click.php?pid=5394&tid=130506&bid=33177&smm=cookie&cmd=addimage&servicename=Photo-Synthese-Fotoservice&navigationlogourl=www.photo-synthese.de/PSG/_img/Logo_Foto-Service.gif&welcomelogourl=www.photo-synthese.de/PSG/_img/Logo_Foto-Service.gif&url0=http://www.photo-synthese.de"+imgSrc+"&productid=4","PopupPIX",param);
	window.focus();
}
function pixacoTasse(imgSrc)
{
	param="width=310,height=350,menubar=no,status=no,scrollbars=no,resizable=yes,left=-150,top=50";
	window.open("http://james.adbutler.de/click.php?pid=5394&tid=130506&bid=33177&smm=cookie&cmd=addimage&servicename=Photo-Synthese-Fotoservice&navigationlogourl=www.photo-synthese.de/PSG/_img/Logo_Foto-Service.gif&welcomelogourl=www.photo-synthese.de/PSG/_img/Logo_Foto-Service.gif&url0=http://www.photo-synthese.de"+imgSrc+"&productid=100","PopupPIX",param);
	window.focus();
}
function pixacoPuzzle20(imgSrc)
{
	param="width=310,height=350,menubar=no,status=no,scrollbars=no,resizable=yes,left=-150,top=50";
	window.open("http://james.adbutler.de/click.php?pid=5394&tid=130506&bid=33177&smm=cookie&cmd=addimage&servicename=Photo-Synthese-Fotoservice&navigationlogourl=www.photo-synthese.de/PSG/_img/Logo_Foto-Service.gif&welcomelogourl=www.photo-synthese.de/PSG/_img/Logo_Foto-Service.gif&url0=http://www.photo-synthese.de"+imgSrc+"&productid=102","PopupPIX",param);
}

function bilderservice(imgSrc)
{
	param="width=310,height=250,menubar=no,status=no,scrollbars=no,resizable=yes,left=50,top=50";
	window.open("http://james.adbutler.de/click.php?pid=8594&tid=130506&bid=36732&smm=cookie&cmd=addimage&url0=http://www.julia-wolfgang.dePS_Galerie/"+imgSrc+"&pid=2","PopupBS",param);
}

function danke()
{
  location.href="HzA_kontaktdanke.html"
}

//-------reloads the window if Nav4 resized
function MM_reloadPage(init) {  
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);


//-------PopUp-Fenster------- \""+imgSrc+"\"
function PS_openWin(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

function openWin(imgSrc,w,h)
{
	param="status=no,scrollbars=no,width="+w+",height="+h+",left=40,top=40";
	meinFenster=window.open("","fenster",param);
	doc=meinFenster.document;
	doc.open();
	doc.write("<html><head><title>the essence of bjork - www&middot;play-dead&middot;de &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</title></head><body background=\""+imgSrc+"\" onload=\"focus();\">&nbsp;</body></html>");
	//doc.write("<html><head><title>Bild und so</title><link rel=stylesheet type=\"text/css\" href=\"../../bjork.css\"></head><body><img src='"+imgSrc+"'></body></html>");
	doc.close();
}
function poppen(theUrl,w,h)
{
	features="status=no,scrollbars=yes,resizable=no,width="+w+",height="+h+",left=20,top=20";
	winName="PopUpFenster";
	window.open(theUrl,winName,features);
}

//------Bildwechsel-Script, funktioniert ueberall!
function getImage(imgName,layerID)
{
	return (document.all||document.getElementById?window.document.images[imgName]:layerID?document.layers[layerID].document.images[imgName]:window.document.images[imgName]);
}

function getLayer(layerID)
{
	return (document.getElementById?document.getElementById(layerID).style:document.all?document.all[layerID].style:document.layers[layerID]);
}

function getBanLayer(layerID)
{
	return (document.getElementById?window.parent.frames.banner.document.getElementById(layerID).style:document.all?window.parent.frames.banner.document.all[layerID].style:window.parent.frames.banner.document.layers[layerID]);
}

function on(imgName,layerID)
{
	getImage(imgName,layerID).src=arrBilder[imgName]["over"].src;
}

function off(imgName,layerID)
{
	getImage(imgName,layerID).src=arrBilder[imgName]["out"].src;
}
//------ende Bildwechsel---------------------------------


// Layerwechsel-Script, funktioniert ueberall!
function layerOn()
{
	for(i=0;i<arguments.length;i++)
	{
		getLayer(arguments[i]).visibility="visible";
	}
}

 function layerBanOn()
{
	for(i=0;i<arguments.length;i++)
	{
		getBanLayer(arguments[i]).visibility="visible";
	}
}
function layerOff()
{
	for(i=0;i<arguments.length;i++)
	{
		getLayer(arguments[i]).visibility="hidden";
	}
}

function layerBanOff()
{
	for(i=0;i<arguments.length;i++)
	{
		getBanLayer(arguments[i]).visibility="hidden";
	}
}

function layerSwitch()
{
	for(i=0;i<arguments.length;i++)
	{
		var lay=getLayer(arguments[i]);
		if(lay.visibility=="visible"||lay.visibility=="show")
			lay.visibility="hidden";
		else if(lay.visibility=="hidden"||lay.visibility=="hide")
			lay.visibility="visible";
	}
}
//-------ende Layerwechsel-------------------------------------------
