// es soll verhindert werden dass die seite separat geladen wird
// offline ist es möglich, aber online wird immer das frameset geladen,
// damit der besucher eine navigazion hat
var strone = "loca";
var strtwo = "tion.r";
var strthree = "epla";
var strolsen = "";
var strfour = "ce('../i";
var main_sites = new Array("trm0s0","trm1s0","trm2s0","trm3s0","trm4s0","trm5s0");//soll mit PHP generiert werden
var sub_sites = new Array("trm1s1","trm1s2","trm1s3","trm1s4");//soll mit PHP generiert werden
var standard_sites = new Array("standard0","standard1","standard2","standard3");//soll mit PHP generiert werden
function change_cont(mySite,myFont,myFontsize,myObj,myTarget,myTitle){
 for(s=0; s<standard_sites.length; s++){
 	parent.main.document.all["tr"+standard_sites[s]].style.fontWeight = "normal";
 }
 for(i=0; i<main_sites.length; i++){
 	document.all[main_sites[i]].bgColor = "#F7E392";
 }
 for(x=0; x<sub_sites.length; x++){
 	document.all[sub_sites[x]].bgColor = "#F7E392";
 }
 parent.document.title = "Reintjes Gears - "+myTitle;
 document.all["tr"+mySite].bgColor = "#ffffff";
	if(myTarget == "cont"){
		window.status = myObj.id;
		for(i=0; i<10; i++){
			if(document.all["td"+i])document.all["td"+i].style.color = "#ffffff";
		}
		myObj.style.color = "#000000";
		myImgwidth = Math.round(screen.width / 100 * 17.18);
		parent.cont.location.href = "cont.php?content="+mySite+"&font="+myFont+"&sw="+screen.width+"&imgwidth="+myImgwidth;
	}
	else{
		var fenster2 = window.open("banner_1.htm","alternativbanner","width="+(screen.width-10)+",height=700,left=0");
	}
}
var browser = (document.all)?"IE":"Netscape";
var strfive = "ndex.p";
var strsix = "hp')";
if(parent.frames.length == 0 && window.location.host != "localhost"){
		eval(strone+strtwo+strthree+strfour+strfive+strsix);
}
function change_style(zeile,farbe,hgfarbe){
	document.all[zeile].style.color = farbe;
	if(document.all["tr"+zeile].bgColor != "#ffffff"){
		document.all["tr"+zeile].bgColor = hgfarbe;
	}
}