function copy_jahr() {
    var start=1998;
    var Jetzt = new Date();
    var Jahr = Jetzt.getFullYear();
	if (start<Jahr) return start+"-"+Jahr;
	else return Jahr;
}

var is4;
if (navigator.appName=="Microsoft Internet Explorer") { 
  is4=true; 
  } else { 
  is4=false; 
 }

function Einblenden(Bild, Name, Nummer, w, h, pos) {
if (is4 && (navigator.appVersion.indexOf("MSIE 6")>=16 || navigator.appVersion.indexOf("MSIE 7")>=16)) {
  document.getElementById(Bild).filters.blendTrans.Apply();
  document.getElementById(Bild).style.visibility = "visible";
  document.getElementById(Bild).filters.blendTrans.Play();
  
if (Name=="kindermode") document.getElementById(Bild).style.top = (((document.body.offsetHeight-h)/2)+(pos*55+50));
else if (Name=="festmode") document.getElementById(Bild).style.top = (((document.body.offsetHeight-h)/2)+(pos*100+100));
else document.getElementById(Bild).style.top = (((document.body.offsetHeight-h)/2)+(pos*120+150));

  document.getElementById(Bild).style.left = ((((document.body.offsetWidth+170)-w)/2));
} else {
		var pp = window.open("/images/"+Name+"/"+Nummer+".jpg", "brautstueble", "toolbar=0,location=no,directories=0,status=0,menubar=0,scrollbars=yes,resizable=1,width="+w+",height="+h+"");
		pp.moveTo((screen.availWidth - w) / 2,(screen.availHeight - h) / 2);
		pp.focus();
} }

function Ausblenden(Bild) {
  document.getElementById(Bild).filters.blendTrans.Apply();
  document.getElementById(Bild).style.visibility = "hidden";
  document.getElementById(Bild).filters.blendTrans.Play();

}

function setclass (id, klasse) {
if (is4 && (navigator.appVersion.indexOf("MSIE 6")>=16 || navigator.appVersion.indexOf("MSIE 7")>=16)) {
document.getElementById(id).className = klasse;
} 
}
 
 
 
