// integra Script
function sa_navBar( tableCellRef, hoverFlag, navStyle ) {
	if ( hoverFlag ) {
	//onMouseOver
		switch ( navStyle ) {
			case 1:
				//tableCellRef.style.backgroundColor = '#FBF5DC';
				tableCellRef.getElementsByTagName( 'a' )[0].style.color = '#ff6600';
				break;
			default:
				if ( document.getElementsByTagName ) {
					tableCellRef.getElementsByTagName( 'a' )[0].style.color = '#ff6600';
				}
		}
	} else {
	//onMouseOut
		switch ( navStyle ) {
			case 1:
				//tableCellRef.style.backgroundColor = '#EFE7C6';
				tableCellRef.getElementsByTagName( 'a' )[0].style.color = '#333333';
				break;
			default:
				if ( document.getElementsByTagName ) {
					tableCellRef.getElementsByTagName( 'a' )[0].style.color = '#333333';
				}
		}
	}
}
function sa_navBarClick( tableCellRef, navStyle, url ) {
	sa_goTo( url );
}
function sa_goTo( url ) {
	window.location.href = url;
}

function myPopUp(strUrl, strName, strFeatures)
	{
		var win = window.open(strUrl, strName, strFeatures);
	}
	
function showRow (objTD){
	document.getElementById(objTD).className="showRow";
	
	}
function hideRow (objTD){
	document.getElementById(objTD).className="hideRow";
	}

function showFloor (objTD){
	document.getElementById(objTD).className="ele_floor_on";
	
	}
function hideFloor (objTD){
	document.getElementById(objTD).className="ele_floor_off";
	}
	
function showDiv(rowID) {
	if (document.getElementById(rowID).style.display=="none"){
		document.getElementById(rowID).style.display="inline";
	}
	else{
		document.getElementById(rowID).style.display="none";
	}
}
function hideDiv(passid) {
	document.getElementById(passid).style.display="none"
}
function goTo(address)
{
	document.location.href=address;
}

function fade(image){
	document.getElementById(image).className="fdimg";
	
	}
function unfade(image){
	document.getElementById(image).className="unfdimg";
	}
	
function hoverFloor(td){
	document.getElementById(td).className="floor_on";
}

function unHoverFloor(td){
		document.getElementById(td).className="floor_off";
}
