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

var s1 ="<html><head><title>© AUSRAMP</title>"
var s2="</head><body topmargin=0 leftmargin=0 marginwidth=0 marginheight=0>"
var s3 ="<img src='"+image+"' border=0>"
var s4 ="</body></html>"

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