//for colour switch
function sc(ID) { 
    // show colour
    document.getElementById(ID).style.display = 'block';
}

function hc(ID) { 
    // hide colour
    document.getElementById(ID).style.display = 'none';
}



function sd(ID) { 
    // add div
    document.getElementById(ID).style.display = 'block';
}

function hd(ID) { 
    // remove div
    document.getElementById(ID).style.display = 'none';
}

function mv(ID) { 
    // show div
    document.getElementById(ID).style.visibility = 'visible';
}

function mi(ID) { 
    // hide div
    document.getElementById(ID).style.visibility = 'hidden';
}


  // platform nav dropdowns
sfHover = function() {
	var sfEls = document.getElementById("platnav").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"), "");
		}
	}
}
if (window.attachEvent) window.attachEvent("onload", sfHover);

