function fWin(vtitle,url, width, height)
    {
        var Win = window.open(vtitle ,url, "displayWindow", 'width=' + width + ', height=' + height + ', resizable=0, scrollbars=0, menubar=no');
    }


function fWin( vTitle, vImgUrl, vImgWidth,  vImgHeight)
    {
        var vWindowTitle=vTitle;
        var vWindowWidth = (vImgWidth * 1.0 + 20);
        var vWindowHeight = (vImgHeight * 1.0 + 20);
        var vWindowLeft = ((screen.width / 2) - (vWindowWidth / 2));
        var vWindowTop = ((screen.height / 2) - (vWindowHeight / 2));
        var vWindow = window.open("", "", "toolbar=no, menubar=no, location=no, personalbar=no, status=no, resizable=yes, scrollbars=yes, copyhistory=no, width="+vWindowWidth+", height="+vWindowHeight+", top="+vWindowTop+", left="+vWindowLeft);
        vWindow.document.write('<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//PL">\n'+
        '<html>\n'+
        '\t<head>\n'+
        '\t\t<title>'+vWindowTitle+'</title>\n'+
        '\t\t<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-2">\n'+
        '\t</head>\n'+
        '\t<body style="background-color:ffffff; text-align:center; margin:0px; padding-top:10px; overflow:auto">\n'+
        '\t\t<img src="'+vImgUrl+'" style="">\n'+
        '\t</body>\n'+
        '</html>\n');
    }
