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

var s1 ="<TITLE>Copyright Amy Pace 2010</TITLE>"
var s6="<P>&nbsp;</P>"
var s3 ="<IMG SRC='"+image+"' STYLE='MARGIN:20PX'></DIV>"
var s2 ="<BODY BGCOLOR=#cccccc><DIV ALIGN='CENTER'><FORM><INPUT TYPE='BUTTON' style='background-color: olive; color: white;' VALUE='Close Window'"+ " onClick='self.close()'>"
var s4 ="</FORM><P>&nbsp;</P></BODY>"
var s5 ="<P style=\"font-family:'Verdana'\"><strong></strong></P>"

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