<!--
var thisMenuItem = null;
var thisItem = null;
var thisSubItem = null;
function HideItem(){
	switch ( event.srcElement.name ){
		case "":
			return false;
			break;
		case "Cell1":
			return false;
			break;
		default:
			ItemBar.style.display = "none";
			break;
	}
}
function ClearTable( type ){
	switch ( type ){
		case 0:
			Temp = ItemBar.rows.length;
			TempObj = ItemBar;
			break;
	}
	for( i = 0 ; i < Temp ; i++ ){
		TempObj.deleteRow(0);
	}
}
function ShowItem(Index){
	ClearTable(0);
	MItemBar.rows(0).cells(Index*2).className = "MenuMoveOver";
	thisMenuItem = Index;
	NewRow = ItemBar.insertRow(0);
	for (i=0;i<Item[Index].length;i++) {
		NewCell = NewRow.insertCell(i);
		NewCell.attachEvent("onmouseover",MoveOver);
		NewCell.attachEvent("onmouseout",MoveOut);
		NewCell.attachEvent("onmousedown",MoveDown );
		NewCell.height='36';
		NewCell.style.padding= '0 5';
		NewCell.style.borderWidth = '1';
		NewCell.style.borderStyle = 'solid';
		NewCell.style.borderColor = '#DCE6A1';
		NewCell.style.backgroundColor = '#F3FEF3';
		NewCell.innerHTML = Item[Index][i];
		NewCell.name = "Cell1";
		NewCell.className = "MenuMoveOut";
	}
	if (MItem.length-Index<Item[Index].length) {
//		var i=(Index-(Item[Index].length-(MItem.length-Index)))*2;
		//ItemBar.style.left = 811;//screen.width-30-200; //571 //683 //881;
//		ItemBar.style.left = (screen.width-800)/2 +571;
		ItemBar.style.left = MItemBar.rows(0).cells(Index*2).offsetLeft-148;
	}else{
//		ItemBar.style.left = MItemBar.rows(0).cells(Index*2).offsetLeft-5;
		ItemBar.style.left = MItemBar.rows(0).cells(Index*2).offsetLeft-72;
	}
	ItemBar.style.top = (MItemBar.offsetTop/1)+(MItemBar.rows(0).height/1)-1;
	ItemBar.style.display = "inline";
}
function MoveOver(){
	event.srcElement.className = "MenuMoveOver";
}
function MoveDown(){
//	thisItem = event.srcElement.parentElement.rowIndex;
	thisItem = event.srcElement.cellIndex;
	location.href = ILink[thisMenuItem][thisItem];
}
function MoveOut(){
	//TempObj.className = "MenuMoveOut";
	event.srcElement.className = "MenuMoveOut";
	if(event.toElement.name != "Cell1"){
		ItemBar.style.display = 'none';
	}
	//ItemBar.style.display = 'none';
}
-->
