function xmlhttpPost(c){var b=false;var a=this;if(window.XMLHttpRequest){a.xmlHttpReq=new XMLHttpRequest()}else{if(window.ActiveXObject){a.xmlHttpReq=new ActiveXObject("Microsoft.XMLHTTP")}}a.xmlHttpReq.open("POST",c,true);a.xmlHttpReq.setRequestHeader("Content-Type","application/x-www-form-urlencoded");a.xmlHttpReq.onreadystatechange=function(){if(a.xmlHttpReq.readyState==4){updatepage(a.xmlHttpReq.responseText)}};a.xmlHttpReq.send(getquerystring())}function getquerystring(){var a=document.forms.f1;var b=a.word.value;qstr="w="+escape(b);return qstr}function updatepage(a){document.getElementById("result").innerHTML=a}function getStream(e,a,c){var d=false;var b=this;if(window.XMLHttpRequest){b.xmlHttpReq=new XMLHttpRequest()}else{if(window.ActiveXObject){b.xmlHttpReq=new ActiveXObject("Microsoft.XMLHTTP")}}b.xmlHttpReq.open("POST","/tools/ext_stream.pl",true);b.xmlHttpReq.setRequestHeader("Content-Type","application/x-www-form-urlencoded");b.xmlHttpReq.onreadystatechange=function(){if(b.xmlHttpReq.readyState==4){updatepage2(b.xmlHttpReq.responseText)}};b.xmlHttpReq.send(getquerystring2(e,a,c))}function getquerystring2(c,a,b){qstr="imageid="+b+"&albumid="+a+"&profile="+c;return qstr}function updatepage2(a){document.getElementById("stream").innerHTML=a}function getCompleteStream(e,a,c){var d=false;var b=this;if(window.XMLHttpRequest){b.xmlHttpReq=new XMLHttpRequest()}else{if(window.ActiveXObject){b.xmlHttpReq=new ActiveXObject("Microsoft.XMLHTTP")}}b.xmlHttpReq.open("POST","/tools/ext_stream.pl",true);b.xmlHttpReq.setRequestHeader("Content-Type","application/x-www-form-urlencoded");b.xmlHttpReq.onreadystatechange=function(){if(b.xmlHttpReq.readyState==4){updatepage3(b.xmlHttpReq.responseText)}};b.xmlHttpReq.send(getquerystring3(e,a,c))}function getquerystring3(c,a,b){qstr="imageid="+b+"&albumid="+a+"&profile="+c+"&mode=complete";return qstr}function updatepage3(a){document.getElementById("completestream").innerHTML=a}function popUp2(URL){day=new Date();id=day.getTime();eval("page"+id+" = window.open(URL, '"+id+"', 'toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=1,width=540,height=570,left = 475,top = 345');")}function PopUp(a){popUp(a)}function popUp(a){day=new Date();id=day.getTime();ok=window.open(a,id,"toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=1,width=710,height=490,left = 300,top = 150")}function readCookie(b){var e=b+"=";var a=document.cookie.split(";");for(var d=0;d<a.length;d++){var f=a[d];while(f.charAt(0)==" "){f=f.substring(1,f.length)}if(f.indexOf(e)==0){return f.substring(e.length,f.length)}}return null}function createCookie(c,d,e){if(e){var b=new Date();b.setTime(b.getTime()+(e*24*60*60*1000));var a="; expires="+b.toGMTString()}else{var a=""}document.cookie=c+"="+d+a+"; path=/; domain=vondir.de"}function eraseCookie(a){createCookie(a,"",-1)}

function articleNavMenu(b,a){document.writeln('<div style="width:148px;"> ');document.writeln('<div style="float:right;width:30px;">');document.writeln(' <form action="/tools/basket" style="margin-bottom:0;" onclick="return add2Basket(this);"  method="post">');document.writeln(' <INPUT TYPE="IMAGE" SRC="/images/shoppingcart16dg.gif" alt="in den Warenkorb" title="in den Warenkorb"> <input type=hidden name="idowner" value="'+a+'"> <input type=hidden name="id" value="'+b+'"> <input type="hidden" name="amount" value="1"> <input type="hidden" name="buttonpos" value="p1"> <input type="hidden" name="buttonvar" value="p1">');document.writeln("</form> ");document.writeln("</div>");document.writeln('<div style="float:right;width:30px;"><a href="#" onclick="zoomPopUp(\'/tools/favoritesplus.pl?id='+b+'\',\'\',700,400);return false;" ><img border="0" src="/images/top_hplusgray.png" alt="Als Liebling merken" title="Als Liebling merken"></a></div>');document.writeln('<div style="clear:both;"></div>');document.writeln("</div> ")}

function welcomeUser(a){document.writeln('<div style="margin-bottom:3px;width:100%;background-color:#D9E6FF;border:1px dotted #A3E8FF;padding:4px;font-size:22px;font-weight:bold;"> Hallo Besucher von Google!<br>Hier findest du &uuml;ber 25.000 handgemachte Artikel  '+a);document.writeln("</div> ")}function doSpellCheck(){if(document.getSelection){var c=document.getSelection()}else{if(document.selection&&document.selection.createRange){var a=document.selection.createRange();var c=a.text}else{var c="Sorry, this is not possible with your browser."}}if(c!=""){if(confirm("Folgenden Text ausbessern und melden?\n-------------\n"+c+"\n-------------\nBitte um Verstaendnis, dass Fehler in Artikeltexten nicht ausgebessert werden.")==1){var b='<form name="spellform" id="spellform" method="post" action="/tools/crowd_spellreport.pl"><input type=hidden name="intext" value="'+c+'"> <input type=hidden name="mode" value="3"> <input type=hidden name="pageurl" value="'+document.location.href+'"> <input type=hidden name="subject" value="Rechtschreibfehler-Meldung"></form>';document.getElementById("spellcheckform").innerHTML=b;document.getElementById("spellform").submit()}}else{alert("Bitte Wort / Bereich vorher markieren den du melden willst")}return false}function getOffset(c){var b=document.getElementById(c);var e=b.offsetLeft;var d={left:b.offsetLeft,top:b.offsetTop};var a=b.offsetParent;while(a){d.left+=a.offsetLeft;d.top+=a.offsetTop;a=a.offsetParent}return d};

function socTrackOnly(id){
		try {
        var target=parent.document.getElementById("blindcontainer");
		var r = parseInt( Math.random() * ( 99999 ) );
        target.innerHTML = '<img src="/tools/pi?id=vondir_de_social_click_'+id+'"&r='+r+'>';
	  } catch(err){ ; }
		return true;
}


function socialTrack(id,url){
		socTrackOnly(id);
        window.open(url);
        return false;
}

