// JavaScript Library for Window Popups
// 
// References:
// http://tech.irt.org/articles/js205/index.htm

// Include this library in your html file with the following line within <head>:
// 

//
// open_popup 
//
function open_popup(page) {
    window_handle = window.open(page,'popupWindowName');
    window_handle.focus();
    return false;
}

function openPopup(url, win, width, height) {
  var top = (screen.width - width) / 2;    // Center the popup
  var left = (screen.height - height) / 2;
  var features = "'" +
   "width=" + width +
   ", height=" + height + 
   ", top=" + top + 
   ", left=" + left + 
   ", alwaysRaised=yes, toolbar=yes, location=yes, resizable=yes, statusbar=yes, menubar=yes, resizable=yes, scrollbars=yes'";
  winhan=window.open(url, 'win', features);
  winhan.focus();
  return false;
}

function popUp(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=1,scrollbars=1,location=1,statusbar=1,menubar=1,resizable=1,width=600,height=400,left = 400,top = 325');");
}

function openpopup(){
var popurl="thankyou.htm"
winpops=window.open(popurl,"","width=400,height=338,toolbar,location,directories,status,scrollbars,menubar,resizable,")
}


