/*
 * @author	Nicholas Almeida | www.fbiz.com.br
 * @version	0.3
*/
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);}var is = new checkBrowser();function openPop(u, n, w, h, c, s, o) {var l = 18;var t = 18;if (c) {l = (screen.availWidth - w)/2;t = (screen.availHeight -h)/2;}var p = window.open(u, n, 'left=' + l + ',top=' + t + ',width=' + w + ',height=' + h + ',scrollbars=' + ((s) ? 'yes' : 'no') + ((o) ? ',' + o : ''));return false;}var iimg_off;var iimg_over;function pImg(src){var obj = src.substring(src.lastIndexOf('/')+1,src.lastIndexOf('.'));eval('i'+obj+'= new Image()');eval('i'+obj+'.src="'+src+'"');}function cImg(id, obj) {var tId='document.images[\''+id+'\']';if(isDef(tId)&&isDef('i'+obj))eval(tId).src=eval('i'+obj).src;}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';}