// this function will popupa new window in the center of the screen
function NewWindow(mypage, myname, w, h, scroll) {
var winl = (screen.width - w) / 2;
var wint = (screen.height - h) / 2;
winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+',scrollbars='+scroll+',resizable'
win = window.open(mypage, myname, winprops)
if (parseInt(navigator.appVersion) >= 4) { win.window.focus(); }
}


function winpop(name){
//  winpop1=window.open (name,"","height= " + hig + ",width= " + wid + ",resizable=0,location=0,status=0,menubar=0,scrollbars=yes,toolbar=0,screenX=0,screenY=0,left=0,top=0")
  winpop1=window.open (name,'trial')
  }

