function newWindow(mypage,myname,w,h,features) {
  if(screen.width){
  var winl = (screen.width-w)/2;
  var wint = (screen.height-h)/2;
  }else{winl = 0;wint =0;}
  if (winl < 0) winl = 0;
  if (wint < 0) wint = 0;
  var settings = 'height=' + h + ',';
  settings += 'width=' + w + ',';
  settings += 'top=' + wint + ',';
  settings += 'left=' + winl + ',';
  settings += features;
  win = window.open(mypage,myname,settings);
  win.window.focus();
}

function open_feedback(){
	var which="../feedback_form.asp"
	whichit=window.open(which,"","top=10,left=10,width=400,height=300")
}

function open_news(){
	var which="../news/display_news.asp"
	whichit=window.open(which,"","top=10,left=10,width=600,height=240,scrollbars=yes,resizable=yes")
}



function wOpen(url, name, w, h)
{
// Fudge factors for window decoration space.
w += 32;
h += 96;
 var win = window.open(url,
  name,
  'width=' + w + ', height=' + h + ', ' +
  'top=10, left=10, ' +
  'location=no, menubar=no, ' +
  'status=no, toolbar=no, scrollbars=yes, resizable=yes');
 win.resizeTo(w, h);
 win.focus();
}
