var isInternetExplorer = navigator.appName.indexOf("Microsoft") != -1;
var TimerId;
function showIt(zone) {
	var oFrame, oMainDiv;
    oFrame = isInternetExplorer ? document.all.ff : document.getElementById('ff');
    if(zone=="hide") {
        UpdateMain("visible");
        UpdateCloser("hidden");
        UpdateShowcase("hidden");
        oFrame.setAttribute('height',10);
        oFrame.contentWindow.location.replace("ballyhoo/blank.asp");
        clearTimeout(TimerId);
        return;
    } 
    UpdateMain("hidden");
    UpdateShowcase("visible");
    oFrame.setAttribute('height',600);
    TimerId = setTimeout("timerDone()", 30000);
    
    if(zone.indexOf('housead') >= 0) {
        oFrame.contentWindow.location.replace("ballyhoo/housead.asp?zone="+zone);
    } else if(zone=="shizmoo") {
        oFrame.contentWindow.location.replace("ballyhoo/shizmoo.asp");
    } else {
        oFrame.contentWindow.location.replace("ballyhoo/wild.asp?zone="+zone);
    }
}
function UpdateMain(sd) {
   var oDiv = isInternetExplorer ? document.all.main : document.getElementById('main');
   oDiv.style.visibility = sd;
}
function UpdateShowcase(sd) {
   var oDiv = isInternetExplorer ? document.all.showcase : document.getElementById('showcase');
   oDiv.style.visibility = sd;
}
function UpdateCloser(sd) {
    var oDiv = isInternetExplorer ? document.all.closer : document.getElementById('closer');
    oDiv.style.visibility = sd;
}
function timerDone() {
    UpdateCloser("visible");
}
