var width,height
var image,ext
var cond1,cond2
function transferview(image,title,width,height) {
if (width==0) cond1=" "
else cond1="width="+(width+20)+"";
if (height==0) {cond2=" "};
else {cond2="height="+(height+70)+""};

var s1 ="<TITLE>"+title+"</TITLE>"
var s2=""
var s3 ="<CENTER><IMG SRC='"+image+"' BORDER=0>"

ImageWindow=window.open("", "newwin"+width,"toolbar=no,scrollbars="+scroll+",menubar=no,"+cond1+","+cond2);
ImageWindow.document.write(s1+s2+s3)
ImageWindow.document.close()
}