

//Alternative message for browsers that don't support window.print
function printPage(){
  if (window.print){
    window.print();
  }else{
    alert("Sorry, your browser does not support this feature. To print the page choose Print from your browser's menu (usually File > Print). Windows users can also use 'CTRL + P' and Mac users can also use 'Command + P'.");
  }
}


//
// Note: Function moved into base content class.
//


sfHover = function() {
  var sfEls = document.getElementById("nav").getElementsByTagName("LI");
  for (var i=0; i<sfEls.length; i++) {
    sfEls[i].onmouseover=function() {
      if (this.className != 'home') {
        if (window.attachEvent) {
          this.className+=" sfhover";
          // Hide form elements
          for (y=1; y<document.forms.length; y++) {
            if (document.forms[y].name != 'hdrSearch') {
              for (x=0; x<document.forms[y].elements.length; x++) {
                //alert('Type: ' + document.forms[y].elements[x].type + ', Name: ' + document.forms[y].elements[x].name);
                document.forms[y].elements[x].style.visibility = 'hidden';
              }
            }
          }
        }
        // Hide video
        var elmVideo = document.getElementById('vidcontainer')
        if (elmVideo != null) { elmVideo.style.visibility = 'hidden' }
      }
    }  
    sfEls[i].onmouseout=function() {
      if (this.className != 'home') {
        if (window.attachEvent) {
          this.className=this.className.replace(new RegExp(" sfhover\\b"), "");
          // Show form elements
          for (y=1; y<document.forms.length; y++) {
            if (document.forms[y].name != 'hdrSearch') {
              for (x=0; x<document.forms[y].elements.length; x++) {
                //alert('Type: ' + document.forms[y].elements[x].type + ', Name: ' + document.forms[y].elements[x].name);
                document.forms[y].elements[x].style.visibility = 'visible';
              }
            }
          }
        }
        // Show video
        var elmVideo = document.getElementById('vidcontainer')
        if (elmVideo != null) { elmVideo.style.visibility = 'visible' }
      }
    }
  }  
  printlink();
}
//added 17/07/2007 - language drop down scripts 


function show(id) 
{
    
// If they have JS then re-write the href so it does not go off to the page
document.getElementById('LangMenuJS').href='#';


    if (document.getElementById('smenu2').style.display == "" || document.getElementById('smenu2').style.display == null )
    {
            document.getElementById('smenu2').style.display='none';
            
            }
if (document.getElementById('smenu2').style.display=='none') 
            {
            document.getElementById('smenu2').style.display='block';
            }
    else 
            {
            document.getElementById('smenu2').style.display='none';
            }
}


window.onload = sfHover;
 
// Last published: 2010-02-19 03:32:31