neu="revolution";var newhot="http://www.i-love-u.ch/"+neu+"/cover/cover.htm";bName=navigator.appName;bVer=parseInt(navigator.appVersion);                var turnon=((bName=="Netscape" && bVer>=4) ||(bName=="Microsoft Internet Explorer" && bVer>=4))var local="";if(turnon==true){if(self.name=="hauptfenster"){	schluss=document.location.pathname.indexOf("/",1);	local=document.location.pathname.substring(1,schluss);}else{	if(self.name=="head")	{		h=parent.hauptfenster.document.location		schluss=h.pathname.indexOf("/",1);		local=h.pathname.substring(1,schluss);	}	else	{		schluss=opener.location.pathname.indexOf("/",1);		local=opener.location.pathname.substring(1,schluss);	}}}var istneu=(local==neu);     //wenn (local==neu) wahr ist, hat istneu den wert "true"var remote="";//////////////remote create////////////////////function zugriff(){//bestimmt das zugehoerige local-js-file und schreib dies ins remote-documentdocument.write("<script SRC='"+local+".js'><!-- //--></SCRIPT>");}function openwin(){//berechnet groesse, oeffnet fensterif(turnon==true){	xheight=(anzahl_b+6)*24+2;	if (!istneu) xheight=xheight+24;	remote=window.open("",local,"width=126,height="+xheight+",resizable=no,scrollbars=0,status=0,menubar=no");	remote.location="../../remote/remote.htm";parent.head.ref=remote}}function arch(){if(turnon==true){openwin(); remote.close()}}////////////picture flipping//////////////////var suffix = ".gif";var prefix = "http://www.i-love-u.ch/remote/pix/";var touched = "-t";var untouched = "-r";var hit = "-h";var actual="cover";function pic_on(strImgObj){		teste();  	if (strImgObj!=actual)		{			document.images[strImgObj].src =prefix+strImgObj+touched+suffix;		} }function pic_off(strImgObj){	if (strImgObj!=actual)	{  	document.images[strImgObj].src =prefix+strImgObj+untouched+suffix;	}}function pic_hit(strImgObj){   	document.images[strImgObj].src =prefix+strImgObj+hit+suffix;}	//////////////remote actions///////////////	function teste()/*oeffnet, falls noetig neues hauptfenster, liest beitragsnamen undordner und ruft highlight mit index (richtiges einfÉrben der remote buttons)*/{for (i=1;i<2;i++){if (opener.closed) continue;else	{	schlussindex=opener.location.pathname.indexOf("/",1);	unserordner=opener.location.pathname.substring(1,schlussindex);	if (unserordner==local) highlight(unserordner.length+2);	else 	//wir sind im falschen Ordner (fuck)	{		if (unserordner=="alt") highlight(0);		else 	//neue Ausgabe (nix alt)		{			if(unserordner!=local)			{				opener.openwin();				setTimeout('opener.openwin()',400);				self.close();			}		}	}	}}}function highlight(anfangsindex,beitrag)/* fŠrbt aktuellen beitragsbutton weiss. Uebergabe ist nach index oder index=0&&beitrag moeglich*/{	if((!beitrag)&&(anfangsindex>0))	{		schluss=opener.location.pathname.indexOf("/",anfangsindex);		beitrag=opener.location.pathname.substring(anfangsindex,schluss);		actual=beitrag;	//actual wird von pic_on/off gebraucht				/*nun wird der array durchlaufen und alle eintrŠge mit beitragsnamen!=beitrag auf pic_off, der eintrag mit dem beitrag auf pic_hit */	}	if (beitrag)	{		actual=beitrag;	//actual wird von pic_on/off gebraucht		for (i=0; i<daten.length; i++)		{			if (daten[i][1]==beitrag) pic_hit(daten[i][1]);			else pic_off(daten[i][1]);		}		}	else 	// alle eintrŠge im array werden auf off gestellt	{		actual="";	//actual wird von pic_on/off gebraucht		for (i=0; i<daten.length; i++)		{			pic_off(daten[i][1]);		}	}}function beitraggen()/*schreibt das html fŸr die jewieiligen beitragsbuttons*/{var t=new Image();t.src="http://www.i-love-u.ch/remote/pix/comment-t.gif";	for (i=0; i < daten.length; i++)	{		var t=new Image();		t.src="http://www.i-love-u.ch/remote/pix/"+daten[i][1]+"-t.gif";		var h=new Image();		h.src="http://www.i-love-u.ch/remote/pix/"+daten[i][1]+"-h.gif";				if (i>4)		{			document.writeln("<tr><td><A HREF='"+daten[i][2]+"' TARGET='hauptfenster' onClick='highlight(0,"+'"'+daten[i][1]+'"'+")' onmouseover='pic_on("+'"'+daten[i][1]+'"'+")' onmouseout='pic_off("+'"'+daten[i][1]+'"'+")'><img src="+daten[i][0]+" width=126 height=24 name="+daten[i][1]+" BORDER=0></A></td></tr>");		}	}}function openJukeBox(zusatz){window.open("../"+zusatz+"juke/film.htm","juke","width=400,height=400,toolbar=no,menubar=no,status=yes,scrollbars=yes,resizable=yes");}function gotolatest(){opener.setTimeout("self.location.href=newhot",400);self.close()}