/*function GetChildElem(eSrc,sTagName)
  {
    var cKids = eSrc.children;
    for (var i=0;i<cKids.length;i++)
    {
      if (sTagName == cKids[i].tagName) return cKids[i];
    }
    return false;
  }
  
  function document.onclick()
  {
    var eSrc = window.event.srcElement;
    if ("clsHasKids" == eSrc.className && (eChild = GetChildElem(eSrc,"UL")))
    {
      eChild.style.display = ("block" == eChild.style.display ? "none" : "block");
    }
  }*/
  
  function settaAttrBrowser() {
			SOWIN = (navigator.userAgent.toLowerCase().indexOf("win") > -1) ? 1 : 0;
			SOMAC = (navigator.userAgent.toLowerCase().indexOf("mac") > -1) ? 1 : 0;
			SOLIN = (navigator.userAgent.toLowerCase().indexOf("linux") > -1) ? 1 : 0;
			SOALT = (!SOWIN && !SOMAC && !SOLIN) ? 1 : 0;

			OP = ((ind1 = navigator.userAgent.indexOf("Opera")) > -1) ? 1 : 0;
			punto = (OP) ? navigator.userAgent.indexOf(".",ind1):0;
			OP5 = (OP && parseInt(navigator.userAgent.substr(punto-1)) == 5) ? 1 : 0;
			OP6 = (OP && parseInt(navigator.userAgent.substr(punto-1)) == 6) ? 1 : 0;

			IE = ((ind2 = navigator.appVersion.indexOf("MSIE")) > -1 && !OP) ? 1 : 0;
			IE4 = (IE && parseInt(navigator.appVersion.substr(ind2+5)) == 4) ? 1 : 0;
			IE5 = (IE && parseInt(navigator.appVersion.substr(ind2+5)) == 5) ? 1 : 0;
			IE6 = (IE && parseInt(navigator.appVersion.substr(ind2+5)) == 6) ? 1 : 0;
			IE7 = (IE && parseInt(navigator.appVersion.substr(ind2+5)) == 7) ? 1 : 0;

			NN = (navigator.appName.indexOf("Netscape")>-1) ? 1 : 0;
			NN4 = (NN && parseInt(navigator.appVersion)==4) ? 1 : 0;
			NN6 = (NN && parseInt(navigator.appVersion)>4) ? 1 : 0;

//			MOBILE = (navigator.appName.indexOf("MOBILE") > -1) ? 1 : 0;
			MOBILE = (navigator.appName.indexOf("Mobile") > -1 || navigator.appName.indexOf("BlackBerry") > -1) ? 1 : 0;
//			MOBILE = (navigator.appName.indexOf("Netscape") > -1) ? 1 : 0;

			OT = (!IE && !NN && !OP) ? 1 : 0;
		}
