/*
 * nicholasalmeida.com
 * Date: 2004/12/02
 * Revision: 0.1
*/

function isDef(S) {return (eval('typeof(' + S + ')') != 'undefined' && eval('typeof(' + S + ')') != 'unknown');}function gElm(id) {return (is.ie4) ? document.all[id] : document.getElementById(id);}function checkBrowser() {var T = this;var b = navigator.appName;var v = navigator.appVersion;var u = navigator.userAgent;if (u == null)return;if (b == 'Netscape')T.b = 'ns';else if (b == 'Microsoft Internet Explorer')T.b = 'ie';else T.b = b;T.v = parseInt(v);T.ns = (T.b == 'ns' && T.v >= 4);T.ns4 = (T.b == 'ns' && T.v == 4);T.ns5 = (T.b == 'ns' && T.v == 5);T.ns6 = (T.b == 'ns' && T.v == 5);T.ie = (T.b == 'ie' && T.v >= 4);T.ie4 = (u.indexOf('MSIE 4') > 0);T.ie5 = (u.indexOf('MSIE 5.0') > 0);T.ie55 = (u.indexOf('MSIE 5.5') > 0);T.ie6 = (u.indexOf('MSIE 6.0') > 0);if (T.ie5)T.v = 5;if (T.ie55)T.v = 5.5;if (T.ie6)T.v = 6;T.min = (T.ns || T.ie);T.dom = (T.v >= 5);T.win = (u.indexOf('Win') > 0);T.mac = (u.indexOf('Mac') > 0);}is = new checkBrowser();function sDiv(id){gElm(id).style.display = 'block';}function hDiv(id){gElm(id).style.display = 'none';}function shDiv(id){if(gElm(id).style.display=='block'||!gElm(id).style.display)gElm(id).style.display = 'none';else gElm(id).style.display = 'block';}