var openedMenu = null;
var submenuTimer;
var crossFadeDuration = 3;

function menuOvr(id){
	if (openedMenu && openedMenu != id){
		CloseMenu(id);
	}
	OpenMenu(id);
}

function OpenMenu(id){ 
	if ( document.getElementById ){
		//document.images.SlideShow.style.filter="blendTrans(duration=2)";
		document.getElementById( id ).style.visibility = 'visible';
	}else if ( document.all ){
		document.all( id ).style.visibility = 'visible';
	}else if ( document.layers ){
		document.layers[ id ].visibility = 'show';
	}
	clearTimeout(submenuTimer);
	openedMenu = id;
}

function CloseMenu(){ 
	if ( document.getElementById ){
		document.getElementById( openedMenu ).style.visibility = 'hidden';
	}else if ( document.all ){
		document.all( openedMenu ).style.visibility = 'hidden';
	}else if ( document.layers ){
		document.layers[ openedMenu ].visibility = 'hide';
	}
	openedMenu = null;
}


<!--

var arrayID = new Array();

function ctrlMenu(idName){

	if(arrayID[idName]=="1"){
		noneLayer(idName);
		arrayID[idName]="0";
	}else{
		blockLayer(idName);
		arrayID[idName]="1";
	}

}

function blockLayer(idName){

	if ( document.getElementById )
		document.getElementById( idName ).style.display   = 'block' 
	else if ( document.all ) document.all( idName ).style.display = 'block' 

}

function noneLayer(idName){

	if ( document.getElementById )
		document.getElementById( idName ).style.display   = 'none' 
	else if ( document.all ) document.all( idName ).style.display = 'none' 

}

// -->

function audio(){

var au_Idiom =
"<object>"+
"<embed src=\"mms://wmedia.hkedcity.net/archive/07/Boundless/idiom01.wma\" width=100% height=\"45\" loop=\"false\" autostart=\"false\">"+
"</embed>"+
"</object>";

document.write(au_Idiom);
}

<!-- function embedIdiom(){

// var au_Idiom =
// "<div id=Layer1 style=\"position:absolute; z-index:1; left:1px; top:1px; height: 350; width: 150; visibility: visible\"> "+
// "<object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=4,0,2,0\" width=\"150\" height=\"350\">"+
// "<param name=movie value=orifront.swf>"+
// "<param name=quality value=high>"+
// "<param name=\"wmode\" value=\"transparent\">"+
// "<embed src=\"orifront.swf\" quality=high pluginspage=\"http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash\" type=\"application/x-shockwave-flash\" width=\"150\" height=\"350\">"+
// "</embed>"+
// "</object>";

// document.write(au_Idiom);
// }// -->
