var width,height
var image,ext
var cond1,cond2,scroll
function transferview(image,width,height) {
        if (width==0) cond1=" "
                else cond1="width="+width+"";
        if (height==0) {cond2=" "
                        scroll="no"}
                else {cond2="height="+height+""
                      scroll="no"};

        var sTitle ="<TITLE>Designity.net :::::::::: spagna ::::::::::</TITLE>"
        var sBody ="<body topmargin=0 leftmargin=0 marginwidth=0 marginheight=0>"
        var sImage ="<CENTER><IMG SRC='"+image+"' BORDER=0>"
        ImageWindow=window.open("", "newwin"+width,
"toolbar=no,scrollbars="+scroll+",menubar=no,"+cond1+","+cond2);
        ImageWindow.document.write(sTitle+sBody+sImage)
        ImageWindow.document.close()
}