//
<!-- Hide from old browsers

//onerror = stopError;
//function stopError()
//{
//return true;
//}

function checki(nr)
	 {
	 	 	eval("document.forms[1].elements['p["+nr+"]'].checked=true");
   	 }


function blured()
{
for (a in document.links) document.links[a].onfocus = document.links[a].blur;
}

if (document.all)
{
document.onmousedown = blured;
}


//warning="Copyright ©1999-2008\nPULLMAX Ges.m.b.H."
//function nomenu() 
//{ 
//event.cancelBubble = true 
//event.returnValue = false; 
//return false; 
//} 

//function clickdown(e)
//{
// if (document.all)
// {
//   if (event.button==2)
//   {
//   alert(warning);
//   }
// }
// if (document.layers)
// {
//  if (e.which == 3)
//  {
//   alert(warning);
//   return false;
//  }
// }
//}

//document.oncontextmenu=nomenu; 
//document.onmousedown=clickdown;

//var bookmarkurl="http://www.pullmax.at"
//var bookmarktitle="PULLMAX Ges.m.b.H. Blechbearbeitungsmaschinen"

//function addbookmark(){
//if (document.all)
//window.external.AddFavorite(bookmarkurl,bookmarktitle)
//}


function Login(form) {
var username = form.username.value;
var password = form.password.value;
var server = form.server.value;
if (username && password && server) {
var htsite = "http://" + username + ":" + password + "@" + server;
window.location = htsite;
}
else {
alert("Please enter your username and password.");
   }
}

function bild(url,titel){ 
foto1= new Image(); 
foto1.src=(url); 
Controlla(url,titel); 
} 
function Controlla(url,titel){ 
if((foto1.width!=0)&&(foto1.height!=0)){ 
vFoto(url,titel); 
} 
else{ 
funzione="Controlla('"+url+"')"; 
intervallo=setTimeout(funzione,20); 
} 
} 
function vFoto(url,titel){ 
largh=foto1.width+40; 
altez=foto1.height+70; 
tablewidth=foto1.width 

xsize = largh; 
ysize = altez; 
ScreenWidth = screen.width; 
ScreenHeight = screen.height; 

xpos = (ScreenWidth/2)-(xsize/2); 
ypos = (ScreenHeight/2)-(ysize/2); 

fenster=window.open("","bild","height="+altez+"+100,width="+largh+",scrollbars=no,toolbar=no,location=no,directories=no,status=no,menubar=no,resizable=no,top="+ypos+",left="+xpos+""); 
fenster.document.write ("<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" bordercolor=\"#111111\" width=\"100%\" id=\"AutoNumber1\" height=\"100%\"><tr><td width=\"100%\"><p align=\"center\">"); 
fenster.document.write ("<html><head><title>Bildviewer: "+titel+"</title><style>A{color : #000000;text-decoration:none;}A:Hover{text-decoration:underline;}</style>");

fenster.document.write ("</head><body leftmargin=\"2\" topmargin=\"2\">\n"); 
fenster.document.write ("<SCRIPT TYPE=\"text/javascript\" LANGUAGE=\"javascript\">\n");
fenster.document.write ("<!--\n");

fenster.document.write ("varning=\"Copyright ©1999-2006 PULLMAX Ges.m.b.H.\"\n");
fenster.document.write ("function nomenu()\n"); 
fenster.document.write ("{\n"); 
fenster.document.write ("event.cancelBubble = true\n"); 
fenster.document.write ("event.returnValue = false;\n");
fenster.document.write ("return false;\n"); 
fenster.document.write ("}\n\n"); 

fenster.document.write ("function clickdown(e)\n");
fenster.document.write ("{\n");
fenster.document.write (" if (document.all)\n");
fenster.document.write (" {\n");
fenster.document.write ("   if (event.button==2)\n");
fenster.document.write ("   {\n");
fenster.document.write ("   alert(varning);\n");
fenster.document.write ("   }\n");
fenster.document.write (" }\n");
fenster.document.write (" if (document.layers)\n");
fenster.document.write (" {\n");
fenster.document.write ("  if (e.which == 3)\n");
fenster.document.write ("  {\n");
fenster.document.write ("   alert(varning);\n");
fenster.document.write ("   return false;\n");
fenster.document.write ("  }\n");
fenster.document.write (" }\n");
fenster.document.write ("}\n");
fenster.document.write ("document.oncontextmenu=nomenu;\n"); 
fenster.document.write ("document.onmousedown=clickdown;\n");

fenster.document.write ("// -->\n");
fenster.document.write ("</script>\n");


fenster.document.write ("<div align=\"center\"><table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" style=\"border-collapse: collapse\" bordercolor=\"#111111\" width=\""+tablewidth+"\" id=\"AutoNumber1\">"); 
fenster.document.write ("<tr><td width=\"100%\"><p align=\"center\">"); 
fenster.document.write ("<img border=\"0\" src=\""+url+"\" alt=\""+titel+"\" galleryimg=\"no\" style=\"border: 1px dashed #000000;\"></p>"); 
fenster.document.write ("</td></tr><tr>"); 
fenster.document.write ("<td height=\"20\" width=\"100%\" style=\"border-right: 1px dashed #000000;border-left: 1px dashed #000000;border-bottom: 1px dashed #000000\">"); 
fenster.document.write ("<p align=\"center\"><font face=\"Verdana\"><span style=\"font-size: 8pt\">Bild "); 
fenster.document.write ("Titel: <b>"+titel+"</b></span></font></td></tr><tr>"); 
fenster.document.write ("<td height=\"20\" width=\"100%\" style=\"border: 1px dashed #000000\">"); 
fenster.document.write ("<p align=\"center\"><font face=\"Verdana\"> <font face=\"Verdana\"><a title=\"Bild drucken\" href=\"javascript:window.print();\">"); 
fenster.document.write ("<font size=\"1\" color=\"#000000\">Bild drucken</font></a><font size=\"1\">  "); 
fenster.document.write ("</font><a title=\"Fenster schließen\" href=\"javascript:window.close();\">"); 
fenster.document.write ("<font size=\"1\" color=\"#000000\">Fenster schließen</font></a></font></td>"); 
fenster.document.write ("</tr></table></div></td></tr></table></body></html>"); 
fenster.document.close(); 
} 

// Flash videos

function fv(fvn,titel)
{ 
_largh=352; 
_altez=417; 
_tablewidth=150; 
fvn='../images/flash/'+fvn;
_xsize = _largh; 
_ysize = _altez; 

_ScreenWidth = screen.width; 
_ScreenHeight = screen.height; 

_xpos = (_ScreenWidth/2)-(_xsize/2); 
_ypos = (_ScreenHeight/2)-(_ysize/2); 

_window=window.open("","bild","height="+_altez+",width="+_largh+",scrollbars=no,toolbar=no,location=no,directories=no,status=no,menubar=no,resizable=no,top="+_ypos+",left="+_xpos+""); 
 _window.document.writeln("<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Transitional//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd'\>");
  _window.document.writeln("<html xmlns='http://www.w3.org/1999/xhtml'\>");
  _window.document.writeln("<head\>");
  _window.document.writeln("<meta http-equiv='Content-Type' content='text/html; charset=windows-1252' /\>");
  _window.document.writeln("<title\>");
  _window.document.writeln(titel);
  _window.document.writeln("</title\>");
  _window.document.writeln("<script type='text/javascript' src='../js/AC_RunActiveContent.js' \></script\>");
  _window.document.writeln("<style type='text/css'\>");
  _window.document.writeln(".style2 {");
  _window.document.writeln("border-width: 0;");
//  _window.document.writeln("background-color: #0D3692;");
  _window.document.writeln("text-align: center;");
  _window.document.writeln("background-image: url('../images/bilder/bitte_warten.jpg');");
  _window.document.writeln("}");
  _window.document.writeln(".style3 {");
  _window.document.writeln("border-width: 0;");
  _window.document.writeln("}");
  _window.document.writeln(".style4 {");
  _window.document.writeln("border-collapse: collapse;");
  _window.document.writeln("}");
  _window.document.writeln(".style5 {");
  _window.document.writeln("background-image: url('../images/bilder/bottom.jpg');");
  _window.document.writeln("}");
  _window.document.writeln(".style6 {");
  _window.document.writeln("text-align: center;");
  _window.document.writeln("color: #FFFFFF;");
  _window.document.writeln("font-family: Arial, Helvetica, sans-serif;");
  _window.document.writeln("font-size: x-small;");
  _window.document.writeln("}");
  _window.document.writeln(".style7 {");
  _window.document.writeln("color: #FFFFFF;");
  _window.document.writeln("}");
  _window.document.writeln("</style\>");
  _window.document.writeln("</head\>");
  _window.document.writeln("<body style='margin: 0'\>");
  _window.document.writeln("<table cellspacing='0' cellpadding='0' class='style4'\>");
  _window.document.writeln("<tr\>");
  _window.document.writeln("<td class='style3'\>");
  _window.document.writeln("<img alt='' src='../images/bilder/top.jpg' width='352'/\></td\>");
  _window.document.writeln("</tr\>");
  _window.document.writeln("<tr\>");
  _window.document.writeln("<td class='style2' style='width: 352px'\>");
  _window.document.writeln("<script type='text/javascript' \>");
  _window.document.writeln("AC_FL_RunContent('codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0',");
  _window.document.writeln("'width','322',");
  _window.document.writeln("'height','315',");
  _window.document.writeln("'src','"+fvn+"',");
  _window.document.writeln("'movie','"+fvn+"',");   
  _window.document.writeln("'name','"+fvn+"',");
  _window.document.writeln("'align','middle',");
  _window.document.writeln("'quality','high',");
  _window.document.writeln("'bgcolor','#ffffff',");
  _window.document.writeln("'loop','false',");
  _window.document.writeln("'menu','false',");
  _window.document.writeln("'wmode','transparent',");
  _window.document.writeln("'allowscriptaccess','sameDomain',");
  _window.document.writeln("'pluginspage','http://www.macromedia.com/go/getflashplayer'");
  _window.document.writeln(" );");
  _window.document.writeln("</script\>");
  _window.document.writeln("</td\>");
  _window.document.writeln("</tr\>");
  _window.document.writeln("<tr\>");
  _window.document.writeln("<td class='style5' style='width: 352px; height: 52px'\>");
  _window.document.writeln("<table style='width: 100%' cellspacing='0' cellpadding='0' class='style4'\>");
  _window.document.writeln("<tr\>");
  _window.document.writeln("<td style='width: 185px'\>&nbsp;</td\>");
  _window.document.writeln("<td class='style6'\><strong\><em\>");
  _window.document.writeln("<a href='javascript:window.close();'\><span class='style7'\>Fenster Schließen</span\></a\></em\></strong\></td\>");
  _window.document.writeln("</tr\>");
  _window.document.writeln("<tr\>");
  _window.document.writeln("<td style='width: 185px'\>&nbsp;</td\>");
  _window.document.writeln("<td\>&nbsp;</td\>");
  _window.document.writeln("</tr\>");
  _window.document.writeln("</table\>");
  _window.document.writeln("</td\>");
  _window.document.writeln("</tr\>");
  _window.document.writeln("</table\>");

  _window.document.writeln("</body\>");
  _window.document.writeln("</html\>");
  _window.document.close();
}
// -->

