<!--
// Functions to Open, Load and Close pop-up windows
// to use: href="javascript:noteWindow('filename.html')"
//----------------------------------------------------------



// Function to Open a second focussed window
 function noteWindow(fileName)
{
window2=window.open(fileName,"pop2","width=600,height=500,scrollbars=yes,resizable=yes" );
window2.moveTo(500,50);
window2.focus();
}


// Function to Open a third focussed window
 function noteWindow2(fileName)
{
window3=window.open(fileName,"pop3","width=600,height=500,scrollbars=yes,resizable=yes" );
window3.moveTo(550,70);
window3.focus();
}



// Function to Open a non-focussed window
 function nofocusWindow(fileName)
{
nofocus=window.open(fileName,"pop4","width=400,height=300,scrollbars=yes,resizable=yes");
window4.moveTo(600,90);
}


// function to close the window and load a page back in the parent window
function loadParent(URL) { 
  opener.location.href = URL;
  window.close();
}


// function to close 2 windows (nested popups) and load a page back in the parent window
function loadGParent(URL) { 
  opener.opener.location.href = URL;
  window.close();
  opener.window.close();
}

//Function to load the parent, display an alert and then close the window 
function changeWindow(URL) { //v2.0
alert("hey bozo!");
  opener.document.location=URL;
  window.close();
}

//Function for ALERT BOX
function popupMsg(msg) { 
  alert(msg);
}

// file update April 2010
//-->
