/*  
Script made by Martial Boissonneault © 2002-2003 http://getElementById.com/
This script may be used and changed freely as long as this msg is intact
Visit http://getElementById.com/ for more free scripts and tutorials.
*/
var ie5 = (document.getElementById && document.all); 
var ns6 = (document.getElementById && !document.all);

// there are 25 differents effects you can use.
// to change the duration of the effect, change the duration number. "Duration=2" => 2 seconds
var fade = "blendTrans(Duration=1.2)";
var myEffect = fade;


function showFilter(obj, visibility) {
	//if(ie5){
	//	menu[obj].style.filter = myEffect; // set your effect from one of the top 25 differents effects
	//	menu[obj].filters[0].Apply();
	//	menu[obj].style.visibility = visibility;
	//	menu[obj].filters[0].Play();
	//}
	//else if(ns6){
		menu[obj].style.visibility = visibility;
	//}
}

function showHide(obj, visibility) {
	if(ie5 || ns6){
		menu[obj].style.visibility = visibility;
	}
}

function menuBarInit() {
	if(ie5 || ns6){
   		menu = document.getElementsByTagName("div");
	}
}
