
//Close Window
function close_window(){

        parent.window.close();

}


//Open large pop-up 
function open_bang(path,targ)
{
	var popW = 640, popH = 600;
	var sw = 640, sh = 480;
	sw = screen.availWidth; 
	sh = screen.availHeight;
	var topPos = ((sh-popH)/2)-80, leftPos = ((sw-popW)/2-15);

   litwin = window.open(path,targ,"width=640,height=600,toolbar=no,location=no,status=yes,menubar=yes,scrollbars=yes,resizable=yes,top="+topPos+",left="+leftPos);
   if ((window.navigator.appName.indexOf("Microsoft")==0) & (window.navigator.appVersion.substring(0,1)=="4")) {
      damnBrowser = 1;
   }
   else if ((window.navigator.appName.indexOf("Netscape")==0) & (window.navigator.appVersion.substring(0,1)=="4")) {
      damnBrowser = 1;
   }
   else if (parseFloat(navigator.appVersion.substring(0,navigator.appVersion.indexOf(" ")))>=3.0)
  {
    litwin.focus();
  }
}


 //closepopup and open new link in parent window
  function openerLink(url){
   window.opener.location = url;
   window.opener.focus(); 
   self.close();
   // replace the line above with 
   // window.focus();
   // if you don't want the little window to
   // close after following the link
  }
  
  function openerLinkblank(url){
   window.opener.location = url;
   self.close();
   // replace the line above with 
   // window.focus();
   // if you don't want the little window to
   // close after following the link
  }
  


 //-->



