//Javascript - kirk.js

var win2 = null;
function newWindow(winURL) {
 // winURL = "photopages/" + winURL;
 // if (win && win.open && !win.closed) win.close();
   win2 = window.open(winURL, "kirk2", "height=630,width=660,scrollbars,left=0,top=0,screenX=0,screenY=0'");
   win2.focus();
  }
  
// function newWindow2(winURL, winName) {
//   win = window.open(winURL, winName, "height=360,width=460,scrollbars,left=0,top=0,screenX=0,screenY=0'");
//  win.location.href = winURL;
//  if (win.opener == null) win.opener = self;
//     win.focus();
//  }
 
var win = '';
function popitup(winURL,ht,wid)
{
  //alert("'height='+ht+',width='+wid,scrollbars,left=0,top=0,screenX=0,screenY=0'");
  //win = window.open(winURL, "kirk", "height=630,width=660,scrollbars,left=0,top=0,screenX=0,screenY=0");
  win = window.open(winURL, "kirk", "height="+ht+",width="+wid+",scrollbars,left=0,top=0,screenX=0,screenY=0");
 //  win.location.href = winURL;
   if (win.opener == null) win.opener = self;
   win.focus();
}

function closeDep() {
  if (win && win.open) win.close();
  if (win2 && win2.open) win2.close();
}

// - End of JavaScript - -->
