function JobView(page,AddCmd,type,Wid,Hei) { var w = 480, h = 340; if (document.all || document.layers) { w = screen.availWidth; h = screen.availHeight; } var popW = Wid, popH = Hei; var leftPos = (w-popW)/2, topPos = (h-popH)/2; popupWindow=open(page +'?'+AddCmd+'ID=' + type + '','JobView','resizable=no,scrollbars=1,statusbar=no,width='+Wid+',height='+Hei+',top=' + topPos + ',left=' + leftPos); if (popupWindow.opener == null) popupWindow.opener = self; } function JobLink(page,LinkID,Wid,Hei) { var w = 480, h = 340; if (document.all || document.layers) { w = screen.availWidth; h = screen.availHeight; } var popW = Wid, popH = Hei; var leftPos = (w-popW)/2, topPos = (h-popH)/2; popupWindow=open(page,'JobView'+LinkID,'resizable=yes,scrollbars=1,statusbar=no,width='+Wid+',height='+Hei+',top=' + topPos + ',left=' + leftPos); if (popupWindow.opener == null) popupWindow.opener = self; } function myopen(page,AddCmd,type,Wid,Hei) { var w = 480, h = 340; if (document.all || document.layers) { w = screen.availWidth; h = screen.availHeight; } var popW = Wid, popH = Hei; var leftPos = (w-popW)/2, topPos = (h-popH)/2; popupWindow=open(page +'?'+AddCmd+'ID=' + type + '','windowName','resizable=no,statusbar=yes,width='+Wid+',height='+Hei+',top=' + topPos + ',left=' + leftPos); if (popupWindow.opener == null) popupWindow.opener = self; }