function openWindow(myLink,windowName)
   {
   if(! window.focus)return;
   var myWin=window.open("",windowName,"height=screen.height,width=screen.width,left=0,top=0,dependent=no,scrollbars=yes,location=yes,menubar=yes,toolbar=yes,status=yes,resizable=yes");
   if (parseInt(navigator.appVersion) >= 4) { myWin.focus(); }
   myLink.target=windowName;
//   myWin.target=windowName;
   }

function popUpWindow(wLink)
   {
   var props = window.open(wLink,'poppage','toolbar=0,location=0,directories=0,status=1,menubar=0,scrollbars=1,resizable=1,width=*,height=*');
   if (parseInt(navigator.appVersion) >= 4) { props.focus(); }
   }

<!--
var SGPopupWindow=null;
function SGPopup( mypage, myname, w, h, pos, infocus )
   {
   var LeftPosition;
   var TopPosition;
   if(pos=='random')
      {
      LeftPosition=(screen.width)?Math.floor(Math.random()*(screen.width-w)):100;
      TopPosition=(screen.height)?Math.floor(Math.random()*((screen.height-h)-75)):100;
      }
   if( pos=='center' )
      {
      LeftPosition=(screen.width)?(screen.width-w)/2:100;
      TopPosition=(screen.height)?(screen.height-h)/2:100;
      }
   else
      if( (pos!='center' && pos!='random') || pos==null)
         {
         LeftPosition=100;TopPosition=100;
         }

   var settings='width='+ w + ', height='+ h + ', top=' + TopPosition + ', left=' + LeftPosition + ', location=no,directories=no,menubar=no,toolbar=no,status=no,scrollbars=yes,resizable=no,dependent=no';
   var SGPopupWindow=window.open( '', myname, settings );
   if( infocus=='front' )
      {
      SGPopupWindow.focus();
      SGPopupWindow.location=mypage;
      }
   }
//-->

<!-- Begin
function NewWindow(mypage, myname, w, h, scroll)
   {
   var winl = (screen.width - w) / 2;
   var wint = (screen.height - h) / 2;
   var winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+',scrollbars='+scroll+''
   var win = window.open(mypage, myname, winprops)
   if (parseInt(navigator.appVersion) >= 4) { win.window.focus(); }
   }
//  End -->

<!-- Begin
function contact()
   {
   // The Body part is not added by Firefox ver 1.0.7 or earlier, and possibly later
	window.open(unescape("mailto%3Ainfo%40CraigCovenant.com?subject=CraigCovenant.com visitor&amp;Body=Hello,%20I%20visited%20the%20CraigCovenant.com%20website.%20...%20(edit%20the%20rest%20of%20your%20e-mail%20before%20sending)%20..."),"_top");
   }
function contactwt()
   {
   // The Body part is not added by Firefox ver 1.0.7 or earlier, and possibly later
	window.open(unescape("mailto%3Awebteam%40CraigCovenant.com?subject=CraigCovenant.com visitor&amp;Body=Hello,%20I%20visited%20the%20CraigCovenant.com%20website.%20...%20(edit%20the%20rest%20of%20your%20e-mail%20before%20sending)%20..."),"_top");
   }
//  End -->