var _iTabRotateID;var _iTabDefaultTimeOut = 7000;function MGT_ShowFeature(SelectedCell, DivID){var divChildren = document.getElementById("_divFeatureContent").childNodes; MGT_SwitchNav(SelectedCell, "_tblLeftNav", "_divFeatureContent", 0, 0, false); for(var i = 0; i < divChildren.length; i++){divChildren[i].style.display = "none";} document.getElementById(DivID).style.display = "block"; MGT_StopRotation();}function MGT_StartRotation(){_iTabRotateID = window.setTimeout('MGT_RotateFeatures()', _iTabDefaultTimeOut);}function MGT_StopRotation(){if (_iTabRotateID > 0){window.clearTimeout(_iTabRotateID);}}function MGT_RotateFeatures(){var iCurrentSelectedCell; var iNewSelection;if (_tdFeatures != null){for (var i = 0; i < _tdFeatures.length; i++){if (document.getElementById(_tdFeatures[i]).className == "featureON"){iCurrentSelectedCell = i; break;}} iNewSelection = (iCurrentSelectedCell < _tdFeatures.length - 1 ? iCurrentSelectedCell + 1 : 0); document.getElementById(_tdFeatures[iNewSelection]).onmouseover(); MGT_StartRotation();}}