function winPop(page,height,width,windowname,scrollbars,toolbar,menubar,location)
{
    /*
     * page = 'URL of file to popup' (ex. '/gsol/pex/en/warat/jsp/test.jsp?param=value')
     * height = 'height in pixels' (ex. '640')
     * width = 'width in pixels' (ex. '480')
     * windowname = 'name of target window' (ex. 'HelpWindow')
     * scrollbars = 'yes' or 'no'
     */

    if (height==null) height = 400;
    if (width==null) width = 600;
    if (windowname==null) windowname = "PopUpWindow";
    if (scrollbars==null) scrollbars = "yes";
   	if (toolbar==null) toolbar = "yes";	
    if (menubar==null) menubar = "yes";	
    if (location==null) location = "no";	
	
    params = "height=" + height + ",width=" + width + ",status=yes,toolbar=" + toolbar + ",directories=no,menubar=" + menubar + ",location=" + location + ",scrollbars=" + scrollbars + ",resizable=yes,top=50,left=50,screenX=50,screenY=50"
	popWindow = open(page,windowname,params);
}


//<a href="javascript:winPop('http://linkhere',450,600,'','yes','yes','yes','yes')">