// JavaScript Document

// popupwindow
// Args: url
//	 name of window ( must be unique )
//       height of window
//       width of window
// return: none
// Note: hopefully this is the only popup function we need
//============================================================
function popupwindow(url,name, height, width) {
   var vars = "'resizable=no,menubar=no,location=no,toolbar=no, status=no,scrollbars=yes,width="+width+",height="+height+",directories=no'";
   x = window.open(url,name,vars);
   //return true;
}
//============================================================
//============================================================
function debug_popupwindow( url, name, height, width ) {
   var vars = "'resizable=yes,menubar=no,location=no,toolbar=no, status=no,scrollbars=yes,width="+width+",height="+height+",directories=no'";
   alert("url["+url+"]name["+name+"]");
   x = window.open(url,name,vars);
   //return x;
}
//============================================================
//============================================================
// closeTimer
// This popup only function will redirect the main window to the
// specified url and close itself in the specified time.
// url - Location that you want to point the main win
// exp - 
function closeTimer(url,exp){

   opener.location=url;
   setTimeout("self.close()",exp);

}
//============================================================
