// if(((self.location.hostname != document.referrer.substr(7,document.referrer.length-7).split("/")[0] && document.referrer.length > 0) || top.frames.length == 0 && document.referrer.length == 0 && self.location.search != "?!") && self.location.protocol == "http:") top.location.href = "http://" + self.location.host + self.location.pathname + "?!";

document.oncontextmenu=Nada;
document.ondragstart=Nada;
//document.onselectstart=Nada;
document.onmousedown=killRightMouse;
function Nada() { window.event.returnValue=false; return false; }
function killRightMouse() { window.event.returnValue=false; window.event.cancelBubble=true; return false; }
function popupLink(URL) { window.open('http://www.heilpflanzen-welt.de/files/links_external.html?'+URL, '', 'toolbar=no,location=no,directories=no,status=no,menubar=no, scrollbars=no,resizable=no,width=540,height=360'); }

 var ie=document.all
var ns6=document.getElementById&&!document.all

function ieobjekt(){
return (document.compatMode && document.compatMode!="BackCompat" && !window.opera)? document.documentElement : document.body
}

 function vergroessern(welche, e, position, imgwidth, imgheight){

if (ie||ns6){
aufbau=document.getElementById? document.getElementById("zeigedasbild") : document.all.zeigedasbild

if (position=="center"){
seite_y_stellung=ns6? parseInt(pageYOffset) : parseInt(ieobjekt().scrollTop)
horizoposi=ns6? pageXOffset+window.innerWidth/2-imgwidth/2 : ieobjekt().scrollLeft+ieobjekt().clientWidth/2-imgwidth/2
vertiposi=ns6? seite_y_stellung+window.innerHeight/2-imgheight/2 : seite_y_stellung+ieobjekt().clientHeight/2-imgheight/2

if (window.opera && window.innerHeight)
vertiposi=seite_y_stellung+window.innerHeight/2-imgheight/2
vertiposi=Math.max(seite_y_stellung, vertiposi)
}

else{
var horizoposi=ns6? pageXOffset+e.clientX : ieobjekt().scrollLeft+event.clientX
var vertiposi=ns6? pageYOffset+e.clientY : ieobjekt().scrollTop+event.clientY
}

 aufbau.style.left=horizoposi+"px"
aufbau.style.top=vertiposi+"px"
aufbau.innerHTML='<div align="right" id="leiste"><span id="schliessen_text" onClick="vorschau_zu()">Schließen</span> </div><img src="'+welche+'">'
aufbau.style.visibility="visible"
return false
}
else
return true
}

 function vorschau_zu(){
aufbau.style.visibility="hidden"
}