function HideContent(d) {
            if(d.length < 1) { return; }
            document.getElementById(d).style.display = "none";
        }
        function ShowContent(d) {
        if(d.length < 1) { return; }
        document.getElementById(d).style.display = "block";
    }
        function ReverseContentDisplay(d) {
        if(d.length < 1) { return; }
        if(document.getElementById(d).style.display == "none") { document.getElementById(d).style.display = "block"; }
        else { document.getElementById(d).style.display = "none"; }
    }
 
  
/* hover function for css menu to work in IE6 and below */
function sfHover() 
{ 
if(document.getElementById("nav")){
 var sfEls = document.getElementById("nav").getElementsByTagName("li"); 
 for (var i=0; i<sfEls.length; i++) 
 { 
 sfEls[i].onmouseover=function() 
 { 
 this.className+=" sfhover"; 
 } 
 sfEls[i].onmouseout=function() 
 { 
 this.className=this.className.replace(new RegExp("sfhover\\b"), ""); 
 } 
 } 
}
} 
/* shwoing iframes so that in explorer the css menus can sit above form elements */
function ShowMenuDestinations() {
 document.getElementById("Destinations").style.display = "inline"; 
 }
function ShowMenuBenefits() {
 document.getElementById("Benefits").style.display = "inline"; 
 }
function ShowMenuInformation() {
 document.getElementById("Information").style.display = "inline"; 
 }
function ShowMenuAboutflybe() {
 document.getElementById("Aboutflybe").style.display = "inline"; 
 }
/* hiding iframes once moused out */
function HideMenuDestinations() {
 document.getElementById("Destinations").style.display = "none"; 
 }
function HideMenuBenefits() {
 document.getElementById("Benefits").style.display = "none"; 
 }
function HideMenuInformation() {
document.getElementById("Information").style.display = "none"; 
 }
function HideMenuAboutflybe() {
 document.getElementById("Aboutflybe").style.display = "none"; 
 }
 
 
 
 