////////////////////////////////////////////////////////////////
// opens pop-up window, taking href from the link - 
// objLink - reference to link object (passed as 'this')
function openWindow(objLink)
{
  var winSize = ",width=478,height=578";

  var href = objLink.href
	this.window.name = "home";
	popupWin = window.open( href , "popup", 'resizable=yes,scrollbars=yes,menubar=no,location=no,toolbar=no,status=no'+winSize)
	popupWin.focus()
  return false;
}

function createBackButton()
 { 		
	if (window.history)
	{
		if (window.history.length>1)
		{
			document.write("<div class=\"BackButton\"><a href=\"javascript:history.back();\" title=\"Back\" onmouseover=\"imageRollover(this,'on')\" onmouseout=\"imageRollover(this,'off')\" onfocus=\"imageRollover(this, 'on')\" onblur=\"imageRollover(this,'off')\"><img src=\"../images_holding/btn-back-off.gif\" width=\"91\" height=\"28\" alt=\"Back\" border=\"0\"></a></div>")
		}
	}
 }
  
 function createPrintButton()
 {
	if (window.print)
	{
		document.write("<div class=\"PrintButton\"><a href=\"javascript:window.print();\" title=\"Print\" onmouseover=\"imageRollover(this,'on')\" onmouseout=\"imageRollover(this,'off')\" onfocus=\"imageRollover(this, 'on')\" onblur=\"imageRollover(this,'off')\"><img src=\"../images_holding/btn-print-off.gif\" width=\"91\" height=\"28\" alt=\"Print\" border=\"0\"></a></div>");
	}
 }
 
 
 /////////////////////////////////////////
  // Image Rollovers
  function imageRollover(objLink , state)
  {
    if (document.getElementById)
    {
	  var strImgSrc = objLink.getElementsByTagName("img")[0].src
      strImgSrc = strImgSrc.substring (0 , strImgSrc.lastIndexOf("-"))
      
      if (state == "on")
      {
        objLink.getElementsByTagName("img")[0].src = (strImgSrc + "-on.gif")
      }
      else
      {
        objLink.getElementsByTagName("img")[0].src = (strImgSrc + "-off.gif")
      }
    }
  }