function DropDownMenu(entered)
{
	with (entered)
	{
		ref=options[selectedIndex].value;
		splitcharacter=ref.lastIndexOf("&_");
		
		if (splitcharacter!=-1)
		{
			loc=ref.substring(0,splitcharacter); 
			target=ref.substring(splitcharacter+1,1000).toLowerCase();
		} else {
			loc=ref;
			target="_self";
		}
		
		lowloc=loc.toLowerCase();
		
		if (lowloc=="false") { return; }
		
		if (target=="_self") { document.location=loc;
		} else {
			if (target=="_top") { top.location=loc;
			} else {
				if (target=="_blank") { window.open(loc);
				} else {
					if (target=="_parent") { parent.location=loc;
					} else {
						parent.frames[target].location=loc;
					}
				}
			}
		}
	}
}

var interval = 5;
var fadeSpeed = 30;

var list;
var tickerObj;
var hex = 255;

function fadeText(divId)
{
	if(tickerObj)
	{
		if(hex>0)
		{
			hex-=5;
			tickerObj.style.color="rgb("+hex+","+hex+","+hex+")";
			setTimeout("fadeText('" + divId + "')", fadeSpeed); 
		}
		else
			hex=255;
	}
}

function initialiseList(divId)
{
	tickerObj = document.getElementById(divId);
	if(!tickerObj)
		reportError("Could not find a div element with id \"" + divId + "\"");
	
	list = tickerObj.childNodes;
	if(list.length <= 0)
		reportError("The div element \"" + divId + "\" does not have any children");
		
	for (var i=0; i<list.length; i++)
	{
		var node = list[i];
		if (node.nodeType == 3 && !/\S/.test(node.nodeValue)) 
	        		tickerObj.removeChild(node);

	}
	run(divId, 0);
}

function run(divId, count)
{
	fadeText(divId);
	list[count].style.display = "block";
	if(count > 0)
		list[count-1].style.display = "none";
	else
		list[list.length-1].style.display = "none";
	
	count++;
	if(count == list.length)
		count = 0;
		
	window.setTimeout("run('" + divId + "', " + count+ ")", interval*1000);
}

function reportError(error)
{
	alert("The script could not run because you have errors:\n\n" + error);
	return false;
}





window.onload=montre;
function montre(id) {
var d = document.getElementById(id);
	for (var i = 1; i<=10; i++) {
		if (document.getElementById('smenu'+i)) {document.getElementById('smenu'+i).style.display='none';}
	}
if (d) {d.style.display='block';}
}