Advertisement
Guest User

Untitled

a guest
Nov 23rd, 2014
132
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <script type="text/javascript">
  2.             function openWin(url, title, w, h) {
  3.                 var left = (screen.width/2)-(w/2);
  4.                 var top = (screen.height/2)-(h/2);
  5.                 //myWindow = window.open('+url+', 'myWindow', width='+w+', height=+h+, left=+ left + ,top= + top + ,screenX= + left + ,screenY=+ top +);
  6.                 return window.open(url, title, 'width='+w+', height='+h+', top='+top+', left='+left);
  7.             }
  8.         </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement