ie4 = document.all;
ns6 = document.getElementById && !document.all;

function OpenDat(dat) {
    Win = window.open(dat,"Fotos","toolbar=no,menubar=no,location=no,scrollbars=yes,resizable=yes,width=675, height=490");
		Win.moveTo(200,200);
	    Win.focus();
}

function OpenDat1(dat1) {
    Win = window.open(dat1,"Impressum","toolbar=no,menubar=no,location=no,scrollbars=no,resizable=yes,width=270, height=150");
		Win.moveTo(300,400);
	    Win.focus();
}

function OpenDat2(dat2) {
    Win = window.open(dat2,"Fasnacht2006","toolbar=no,menubar=no,location=no,scrollbars=yes,resizable=yes,width=500, height=600");
		Win.moveTo(200,50);
	    Win.focus();
}

function OpenDat3(dat3) {
    Win = window.open(dat3,"FotosFasnacht2006","toolbar=no,menubar=no,location=no,scrollbars=yes,resizable=yes,width=1024, height=768");
		Win.moveTo(0,0);
		Win.focus();
}

function zeigen(idname1,idname2,idname3) {
	if (ns6){ 
		if(document.getElementById(idname1)) {
			document.getElementById(idname1).style.visibility = "visible";
			document.getElementById(idname2).style.visibility = "hidden";
			document.getElementById(idname3).style.visibility = "hidden";
			document.getElementById("eyecatcher").style.visibility = "hidden";
}
	}
	if (ie4){
		if(document.all[idname1]) {
			document.all[idname1].style.visibility = "visible"; 
			document.all[idname2].style.visibility = "hidden"; 
			document.all[idname3].style.visibility = "hidden"; 
			document.all.eyecatcher.style.visibility = "hidden";
			
			}
		}
}
function verstecken(idname) {
	if (ie4) document.all[idname].style.visibility = "hidden"; 
	if (ns6) document.getElementById(idname).style.visibility = "hidden";
	alter = "";
}



function movelayer () {
	var ie=document.all&&navigator.userAgent.indexOf("Opera")==-1;
	var op=navigator.userAgent.indexOf("Opera") > 0;
	var dom=document.getElementById&&!ie&&!op;
	if (op) {
	document.getElementById("ct_left_dark").style.height= "375px";
	}
	if (dom) {
		document.getElementById("ct_left_dark").style.height= "375px";
		}
}
function init() {
	movelayer()
}
