// window popup function
function winpop(url, wid, hei,nm,sz,sc,mnu,tl,loc,to) {
        nm=(nm)?nm:"win"; //window name
  if(wid != null && hei != null) {
        sz=(sz)?sz:"0"; //resizable
        sc=(sc)?sc:"0"; //scrollable
        mnu=(mnu)?mnu:"0"; //menubar
        tl=(tl)?tl:"1"; //titlebar
        loc=(loc)?loc:"0"; //locationbar
        to=(to)?to:"0"; //toolbar
        window.open(url,nm,"height="+hei+",width="+wid+",resizable="+sz+",scrollbars="+sc+",menubar="+mnu+",titlebar="+tl+",location="+loc+",toolbar="+to);
//      win.focus();
  } else {
        window.open(url,nm);//win.focus();
  }
}


function subit(){
                win=window.open('','myWin','toolbars=0,height=460,width=400');
                document.postal_form.target='myWin';
                document.postal_form.action = '/pi/postal_code_lookup.jsp';
                document.postal_form.submit();
                return true;
}
