function imgEck(imgLayer,hits,starnew,starHoF,starTS){
	var so = new SWFObject("swf/ecke_pic.swf?hits=" +hits +"&starnew=" +starnew +"&starHoF=" +starHoF +"&starTS=" +starTS, "mymovie", "38", "38", "8", "#ff0000");
   so.addParam("quality", "high");
   so.addParam("scale", "noscale");
   so.addParam("wmode", "transparent");
   so.addParam("menu", "false");
   so.addParam("allowFullScreen", "false");
   so.addParam("salign", "");
   so.write(imgLayer);
	}

function galEck(galLayer,hits,starnew,lock){
	var so = new SWFObject("swf/ecke_gal.swf?hits=" +hits +"&starnew=" +starnew +"&lock=" +lock, "mymovie", "38", "38", "8", "#ff0000");
   so.addParam("quality", "high");
   so.addParam("scale", "noscale");
   so.addParam("wmode", "transparent");
   so.addParam("menu", "false");
   so.addParam("allowFullScreen", "false");
   so.addParam("salign", "");
   so.write(galLayer);
	}
	
function tarifwahl(twahl){
	document.getElementById('tarifBox').value = twahl;
	}

function windowopener(ad,winname,breite,hoehe,scrollen,scale,leiste){
	var werte = "width=" +breite +",height=" +hoehe +",scrollbars=" +scrollen +",resizable=" +scale +",toolbar=" +leiste;
	window.open(ad, winname, werte);
	}

function bgcolor(x,zustand) {
		for (i = 0; i < 5; i++){
			divs = x +i;
			if (zustand == 1) document.getElementById(divs).style.backgroundColor = "#ebebeb";
			if (zustand == 0) document.getElementById(divs).style.backgroundColor = "";
		}
	}

function goPage(pagename){
	window.open('/'+pagename,'_self');}
// textarea hoehe aendern

function bigger(name,fieldHeight){
	//alert("test");
	x=fieldHeight +"px"
	document.getElementById(name).style.height=x;
	}
