function newWindow(theURL,name,h,w)
{
	theChild=window.open(theURL,name,"scrollbars=no,resize=no,menubar=no,toolbar=no,height="+h+",width="+w);
}

function openWindow(theURL,winName,features) 
{
	window.open(theURL,winName,features);
}
function openWindow_center(theURL,winName,features, w, h) 
{
	var winl = (screen.width - w) / 2;
	var wint = (screen.height - h) / 2;
	features = features + 'height='+h+',width='+w+',top='+wint+',left='+winl 
	var newWindow = window.open(theURL, winName, features)
}

function NewWindow(mypage,myname,w,h,scroll){
  var winl = (screen.width-w)/2;
  var wint = (screen.height-h)/2;
  var settings  ='height='+h+',';
      settings +='width='+w+',';
      settings +='top='+wint+',';
      settings +='left='+winl+',';
      settings +='scrollbars='+scroll+',';
      settings +='resizable=no';
  winpopup=window.open(mypage,myname,settings);
  if(parseInt(navigator.appVersion) >= 4){winpopup.window.focus();}
}

