<!--



var LastPopup = '';

var last = 0;

var ID;

function hideLast() {

	MM_showHideLayers('sub' + last,'','hide');

	window.mainout('GrandMenuItem' + last);

	return false;

}



function MM_showHideLayers() { //v3.0

	var i,p,v,obj,args=MM_showHideLayers.arguments;

	for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2];

		if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v='hide')?'hidden':v; }

	obj.visibility=v; }

}



function di20(id, newSrc) {

	var theImage = FWFindImage(document, id, 0);

	if (theImage) {

		theImage.src = newSrc;

	}

}



function imgsrc(id) {

	var theImage = FWFindImage(document,id,0);

	if (theImage) {

		return theImage.src;

	}

}



function FWFindImage(doc, name, j) {

	var theImage = false;

	if (doc.images) {

		theImage = doc.images[name];

	}

	if (theImage) {

		return theImage;

	}

	if (doc.layers) {

	for (j = 0; j < doc.layers.length; j++) {

		theImage = FWFindImage(doc.layers[j].document, name, 0);

			if (theImage) {

				return (theImage);

			}

        }

	}

	return (false);

}



function changeContent(what,text) {

    if (document.all)

        what.innerHTML = text;

    else if (document.layers) {

        what.document.open();

        what.document.write(text);

        what.document.close();

    }

}



function over(id) {

    if (document.layers) {

        window.document.layers[id].bgColor = '#bcbcbc';

    }

    else if (document.all) {

        window.document.all[id].style.background = '#bcbcbc';

    }

}



function out(id) {

    if (document.layers)

        window.document.layers[id].bgColor = '#bcbcbc';

    else if (document.all)

        window.document.all[id].style.background = '#bcbcbc';
		
		else
    window.document.getElementById(id).style.background = '#bcbcbc';

}

function subover(id) {

    //if (document.layers) {

    //    window.document.layers[id].bgColor = '#A6D4DD';

    //}

    //else if (document.all) {

    //    window.document.all[id].style.background = '#A6D4DD';

    //}

}



function subout(id) {

    //if (document.layers)

    //    window.document.layers[id].bgColor = '#5DB0C1';

    //else if (document.all)

    //    window.document.all[id].style.background = '#5DB0C1';

}



function mainover(id) {

    if (document.layers) {

       // window.document.layers[id].bgColor = '#319CB5';

        //window.document.layers[id + '_1'].bgColor = '#7BBDCE';

    } else if (document.all) {

       // window.document.all[id].style.background = '#319CB5';

        //window.document.all[id + '_1'].style.background = '#7BBDCE';

    }

}



function mainout(id) {

	if (id != 'GrandMenuItem0') {

		if (document.layers) {

		 //  window.document.layers[id].bgColor = '#FFFFFF';

		   //window.document.layers[id + '_1'].bgColor = '#FFFFFF';

		} else if (document.all) {

		//    window.document.all[id].style.background = '#FFFFFF';

		    //window.document.all[id + '_1'].style.background = '#FFFFFF';

		}

	}

}



//-->