function zoom(queryStr,graphType)
{
    var winWidth = (80/100)*window.screen.width
    var winHeight =(80/100)*window.screen.height
    
    var imgWidth = winWidth - 10
    var imgHeight = winHeight - 37

    x = (window.screen.width - winWidth)/2;
    y = (window.screen.height - winHeight)/2;

    child = open
    (
        "controller.php?action=largeimage&Width="+imgWidth+"&Height="+imgHeight+"&"+queryStr+"&graphType="+graphType,
        "Large",
        "width="+winWidth+",height="+winHeight+",left= "+x+",top="+y+",status=no,resizable=no,scrollbars=no"
    );
    //if the window is open bring it into focus
    if(child)
	    child.focus();
}
