function showLayer(name){
	document.getElementById(name).style.visibility = "visible";
}

function hideLayer(name){
	document.getElementById(name).style.visibility = "hidden";
}

function buttonOver01(){
    document.getElementById('nav_01').childNodes[0].style.backgroundPosition = "0px -74px";
}

function buttonOut01(){
    document.getElementById('nav_01').childNodes[0].style.backgroundPosition = "0px 0px";
}

function buttonOver02(){
    document.getElementById('nav_02').childNodes[0].style.backgroundPosition = "-105px -74px";
}

function buttonOut02(){
    document.getElementById('nav_02').childNodes[0].style.backgroundPosition = "-105px 0px";
}

function buttonOver03(){
    document.getElementById('nav_03').childNodes[0].style.backgroundPosition = "-199px -74px";
}

function buttonOut03(){
    document.getElementById('nav_03').childNodes[0].style.backgroundPosition = "-199px 0px";
}

function buttonOver04(){
    document.getElementById('nav_04').childNodes[0].style.backgroundPosition = "-334px -74px";
}

function buttonOut04(){
    document.getElementById('nav_04').childNodes[0].style.backgroundPosition = "-334px 0px";
}

function buttonOver05(){
    document.getElementById('nav_05').childNodes[0].style.backgroundPosition = "-416px -74px";
}

function buttonOut05(){
    document.getElementById('nav_05').childNodes[0].style.backgroundPosition = "-416px 0px";
}

function buttonOver06(){
    document.getElementById('nav_06').childNodes[0].style.backgroundPosition = "-567px -74px";
}

function buttonOut06(){
    document.getElementById('nav_06').childNodes[0].style.backgroundPosition = "-567px 0px";
}

function buttonOver07(){
    document.getElementById('nav_07').childNodes[0].style.backgroundPosition = "-684px -74px";
}

function buttonOut07(){
    document.getElementById('nav_07').childNodes[0].style.backgroundPosition = "-684px 0px";
}

function buttonOver08(){
    document.getElementById('nav_08').childNodes[0].style.backgroundPosition = "-791px -74px";
}

function buttonOut08(){
    document.getElementById('nav_08').childNodes[0].style.backgroundPosition = "-791px 0px";
}

function submenuOver(name,cid){
    document.getElementById(name).childNodes[0].childNodes[cid].childNodes[0].style.backgroundColor = "#FFFFFF";
}

function submenuOut(name,cid){
    document.getElementById(name).childNodes[0].childNodes[cid].childNodes[0].style.backgroundColor = "#BFE9FF";
}

function var_dump(value)
{
	var serializer = new XMLSerializer();
	var obj = serializer.serializeToString( value );
	return obj;
}

function test(){
    alert(var_dump(document.getElementById(name).childNodes[0].childNodes[cid].childNodes[0]));
}