﻿var thisbrowser = null;
if(document.layers){ thisbrowser='NN4'; }
if(document.all){ thisbrowser='IE'; }
if(!document.all && document.getElementById){ thisbrowser='NN6'; }
            
function showImgs(showen, cursor, hid, hid2){
    if(thisbrowser=='NN4'){
        if(showen != '') document.layers[showen].style.visibility = 'visible';
        if(cursor != '') document.layers[cursor].style.cursor = 'default';
        if(hid != '') document.layers[hid].style.visibility = 'hidden';
        if(hid2 != '') document.layers[hid2].style.visibility = 'hidden';
    }
    if(thisbrowser=='IE'){
        if(showen != '') document.all[showen].style.visibility = 'visible';
        if(cursor != '') document.all[cursor].style.cursor = 'default';
        if(hid != '') document.all[hid].style.visibility = 'hidden';
        if(hid2 != '') document.all[hid2].style.visibility = 'hidden';
    }
    if(thisbrowser=='NN6'){
        if(showen != '') document.getElementById(showen).style.visibility = 'visible';
        if(cursor != '') document.getElementById(cursor).style.cursor = 'default';
        if(hid != '') document.getElementById(hid).style.visibility = 'hidden';
        if(hid2 != '') document.getElementById(hid2).style.visibility = 'hidden';
    }
}
