	function img_change (im) {
		getElement(im).src='http://carisnet.org/img/bullet_hover.gif';
		if (document.all&&document.getElementById) {
			a = document.getElementById('_'+im);
			b = document.getElementById('__'+im);
			a.style.background='#000000';
			b.style.color='#FFCC99';
		}
	}
	
	function img_rollb (im) {
		getElement(im).src='http://carisnet.org/img/bullet_normal.gif';
		if (document.all&&document.getElementById) {
			a = document.getElementById('_'+im);
			b = document.getElementById('__'+im);
			a.style.background='#FFCC99';
			b.style.color='#000000';
		}
	}

	startList1 = function() {
		if (document.all&&document.getElementById) {
			navRoot1 = document.getElementById("nav1");
			for (i=0; i<navRoot1.childNodes.length; i++) {
				node = navRoot1.childNodes[i];
				if (node.nodeName=="LI") {
					node.onmouseover=function() {
						this.className+=" over";
					}
					node.onmouseout=function() {
						this.className=this.className.replace(" over", "");
					}
				}
			}
		}
	}
	
	startList2 = function() {
		if (document.all&&document.getElementById) {
			navRoot2 = document.getElementById("nav2");
			for (i=0; i<navRoot2.childNodes.length; i++) {
				node = navRoot2.childNodes[i];
				if (node.nodeName=="LI") {
					node.onmouseover=function() {
						this.className+=" over";
					}
					node.onmouseout=function() {
						this.className=this.className.replace(" over", "");
					}
				}
			}
		}
	}
	
	function getElement(id, d) {
		if (!d) {d=document;}
		if (d.all) {
	    	return d.all[id];
		} else if (d.getElementById) {
			return d.getElementById(id);
		} else {
			for (iLayer = 1; iLayer < d.layers.length; iLayer++) {
				if (d.layers[iLayer].id == id) {
					return d.layers[iLayer];
				}
			}
		}
	    return Null;
	}
	
	
	//cambiar hojas de estilo
	function setActiveStyleSheet(title) {
	   var i, a, main;
	   for(i=0; (a = document.getElementsByTagName("link")[i]); i++) {
	     if(a.getAttribute("rel").indexOf("style") != -1
	        && a.getAttribute("title")) {
	       a.disabled = true;
	       if(a.getAttribute("title") == title) a.disabled = false;
	     }
	   }
	}
	
	/*By George Chiang (WA's JavaScript tutorial) http://www.geocities.com/SiliconValley/Vista/9892
	Credit MUST stay intact for use*/
	function show2(){
		if (!document.all)
		return
		var Digital=new Date()
		var hours=Digital.getHours()
		var minutes=Digital.getMinutes()
		var seconds=Digital.getSeconds()
		var dn="AM" 
		if (hours>12){
			dn="PM"
			hours=hours-12
		}
		if (hours==0)
		hours=12
		if (minutes<=9)
		minutes="0"+minutes
		if (seconds<=9)
		seconds="0"+seconds
		var ctime=hours+":"+minutes+":"+seconds+" "+dn
		tick2.innerHTML="<b style='font-size:22;color:blue;'>"+ctime+"</b>"
		setTimeout("show2()",1000)
	}
	
	function MM_preloadImages() {
	  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
	  var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
	  if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
	}
	
//	window.onload=MM_preloadImages('bullet_hover.gif','bullet_normal.gif');
	//window.onload=startList2;