// JavaScript Document
var ver = navigator.appVersion;
var agent = navigator.userAgent.toLowerCase();
var platform = navigator.platform;

function showdiv(id) {
if (ver.indexOf("MSIE") != -1 && platform.indexOf("Mac") == -1 && !window.opera) {
window.document.getElementById(id).style.setAttribute('display','block','false');
} else {
document.getElementById(+id).style.display = "block";
}
}
function hidediv(id) {
if (ver.indexOf("MSIE") != -1 && platform.indexOf("Mac") == -1 && !window.opera) {
window.document.getElementById(id).style.setAttribute('display','none','true');
} else {
document.getElementById(id).style.display = "none";
}
}

function switchstyle(id, styleclass) {
if (ver.indexOf("MSIE") != -1 && platform.indexOf("Mac") == -1 && !window.opera) {
window.document.getElementById(id).className=styleclass;
} else {
document.getElementById(id).className=styleclass;
}
}
