function DisplayPicture(FileName){
	var wnd = window.open("", "newWindow", "alwaysraised=yes,dependent=yes,hotkeys=no,location=no,menubar=no,resizable=yes,scrollbars=no,status=no,titlebar=yes,width=500,height=500");
	wnd.document.open("text/html", "replace");
	wnd.document.writeln('<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">');
	wnd.document.writeln("<HTML>");
	wnd.document.writeln("<HEAD>");
	wnd.document.writeln("<TITLE>ELX</TITLE>");
	wnd.document.writeln("<SCRIPT>");
	wnd.document.writeln("function setSize()");
	wnd.document.writeln("{");
	wnd.document.writeln("var img = window.document.images[0];");
	wnd.document.writeln("window.resizeTo(img.width+30, img.height+50);");
	wnd.document.writeln("}");
	wnd.document.writeln("<\/SCRIPT>");
	wnd.document.writeln('<META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW">');
	wnd.document.writeln('<meta name="resource-type" content="document">');
	wnd.document.writeln("</HEAD>");
	wnd.document.writeln('<BODY onBlur="window.close()" onLoad="setSize();">');
	wnd.document.writeln('<IMG SRC="'+FileName+'" BORDER=0>');
	wnd.document.writeln("</BODY>");
	wnd.document.writeln("</HTML>");
	wnd.document.close();
	wnd.onBlur = "window.close();";
	wnd.focus();
}

function chkFormular(){
 if(document.mail.email.value.indexOf('@') == -1) {
   alert("Bitte Empfänger wählen!");
   document.mail.absender.focus();
   return false;
  }
 if(document.mail.absender.value == "") {
   alert("Bitte Ihre E-Mail-Adresse eingeben!");
   document.mail.absender.focus();
   return false;
  }
 if(document.mail.absender.value.indexOf('@') == -1) {
   alert("Keine E-Mail-Adresse!");
   document.mail.absender.focus();
   return false;
  }
}
function popUp(URL) {
window.open(URL,'','scrollbars=yes,resizable=no,width=400,height=400')
}
