function DolResize() { var w_newWidth, w_locate,Banner_w; Banner_w=390; var w_maxWidth=780; if (navigator.appName.indexOf("Microsoft") != -1) { w_newWidth=document.body.clientWidth; } else { var netscapeScrollWidth=15; w_newWidth=window.innerWidth-netscapeScrollWidth; } if (w_newWidth>=w_maxWidth) { w_locate = ((w_newWidth / 2)+390)-Banner_w; } else { w_locate = w_maxWidth - Banner_w; } DOLScroll.style.left=w_locate; Yenibanner.style.left=w_locate + 400; Browser = navigator.appName; if (navigator.appName.substring(0,9)== "Microsoft") { DOLScroll.style.visibility = 'visible'; Yenibanner.style.visibility = 'visible'; } }