// open new window
function popUp(URL,name) {
 popupWin = window.open(URL, name, 'width=700,height=600,resizable=yes,top=x,left=x');
 if(window.focus) {  // only where supported
  popupWin.focus();
  }
 }
 
