var width,height
var image,ext
var cond1,cond2
function transferview(image,width,height) {
cond1="width="+(width)+"";
cond2="height="+(height)+"";

var s1 ="<TITLE>Photo</TITLE>"
var s2="<link rel='stylesheet' href='cromair.css' type='text/css'>"
var s3 ="<body bgcolor='#ffffff'>"
var s4 ="<CENTER><IMG SRC='"+image+"' BORDER=1><br>"
var s5 ="| <a class='address' href='javascript: window.close();'>Close Window</a> |"
var s6 ="</CENTER>"

ImageWindow=window.open("", "newwin"+width,"toolbar=no,scrollbars=no,menubar=no,"+cond1+","+cond2);
ImageWindow.document.write(s1+s2+s3+s4+s5+s6)
ImageWindow.document.close()
}