Whenever I click on the tabs to activate this function, it disappears in IE instead of showing the image. Any ideas of what could be happening?
function tabsBrowse(strTab)
{// tabbed browsing for the top 3 drinks(search.php)
// get all the
/*
var divNew = document.getElementById("divRecent1");
var divRec = document.getElementById("divRecent2");
*/
// var divRec = document.getELementById("");
switch(strTab)
{
case "new":
//alert('new');
document.getElementById("divRecent1").style.display = "block";
document.getElementById("divRecent2").style.display = "none";
// IMAGE SWITCH
document.getElementById("imgsNewDrk").src = root +"/images/root/tab_off.gif";
document.getElementById("imgsNewDrk1").src = root + "/images/root/tab_on.gif";
break;
case "season":
document.getElementById("divRecent1").style.display = "none";
document.getElementById("divRecent2").style.display = "block";
// IMAGE SWITCH
document.getElementById("imgsNewDrk").src = root + "/images/root/tab_on.gif";
document.getElementById("imgsNewDrk1").src = root + "/images/root/tab_off.gif";
break;
}
}