function artPopper(url, name){ var popWin = window.open(url , name,'width=100,height=100,toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1'); //var xLeft = (screen.width)/2 //var yTop = (screen.height)/2 //popWin.moveTo(xLeft,yTop); // absolute positioning popWin.focus(); } function artReSizer(){ var screenHmax=(screen.height-50) ns4 = (document.layers)? true:false ie4 = (document.all)? true:false ns6 = (navigator.userAgent.indexOf("Netscape6")!= -1) ? true:false winH = (ns4)? document.height : document.body.scrollHeight+32 winW = (ns4)? document.width : document.body.scrollWidth+10 if (ns6==true) { winH = document.height+30 } if (winH > screenHmax){ winH=screenHmax } //alert(winH); window.resizeTo(winW+30,winH) window.moveTo(200,100) } function editPopper(url, name,inWidth,inHeight, scroll, resize){ var popWin = window.open(url , name,'width='+inWidth+',height='+inHeight+',toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars='+scroll+',resizable='+resize+''); var xLeft = (screen.width-inWidth)/2 var yTop = (screen.height-inHeight)/2 popWin.moveTo(xLeft,yTop); // absolute positioning popWin.focus(); } function popWin(inURL,inName,inHeight,inWidth,inScrollbars,inResizeable) { var newWindow var xLeft var yTop newWindow=window.open (inURL, inName, 'resizable='+inResizeable+',status=no,scrollbars='+inScrollbars+',width='+inWidth+',height='+inHeight) //xLeft=(screen.width-inWidth)/2 //yTop=(screen.height-inHeight-50)/2 //yTop=(screen.height-50) //alert(yTop) //newWindow.moveTo(xLeft,yTop); // absolute positioning newWindow.focus(); } function sureDel(theText){ if (confirm(theText)){ return true; }else{ return false; } }