﻿// JScript-Datei
function openPicture(bildname, titel) {
  
//image1 = new bitmap("C:\\feder.bmp", true);


//pix = new int[img.getWidth(this) * img.getHeight(this)]; 
  
    var win=window.open("","","width=820 ,height=670"); 
    
    //var win=window.open("","","width=" + image1.get_Width() +" ,height=" + image1.get_Height()); 
if (titel == "") { titel = "Albulamodell - Bildansicht" }
win.document.open("text/html"); 
win.document.write("<HTML><HEAD><TITLE>" + titel + "</TITLE></HEAD><BODY BGCOLOR=white>"); 
win.document.write("<CENTER>") 
win.document.write("<FONT size='+1' color=red>"); 
win.document.write("<P>"); 
win.document.write("<IMG SRC='" + bildname + "' WIDTH=800 HEIGHT=600>"); 

win.document.write("</FONT/>"); 
win.document.write("</P>"); 
win.document.write("<P></P>"); 
win.document.write("<FORM>"); 
win.document.write("<INPUT TYPE=button NAME='t' VALUE='Schliessen' onclick='self.close()'>") 
win.document.write("</FORM>"); 
win.document.write("</CENTER>"); 
win.document.write("</BODY></HTML>"); 
win.document.close(); 
}
