//
// Author    : Carlos A. Leguizamón
// Company   : Classic Software, Inc. (Widegroup Interactive Outsourcing)
// Versión   : 1.0
// Copyright : (C)2006
//
/*
startList = function() {
	if (document.all&&document.getElementById) {
		navRoot = document.getElementById("primary-nav");
		for (i=0; i<navRoot.childNodes.length; i++) {
			node = navRoot.childNodes[i];
			if (node.nodeName.toUpperCase()=="LI") {
				node.onmouseover=function() {
					this.className+=" over";
				}
				node.onmouseout=function() {
					this.className=this.className.replace(" over", "");
				}
			}
		}
	}
}
//
function Abrir_Ventana(theURL,w,h) { 
	var iTop = (parseInt(screen.availHeight) - parseInt(h)) / 2
	var iLeft = (parseInt(screen.availWidth) - parseInt(w)) / 2
	var windowprops = "top=" + iTop + ",left=" + iLeft + ",toolbar=no,location=no,status=no, menubar=no,scrollbars=no, resizable=no,width=" + w + ",height=" + h;
	window.open(theURL,'',windowprops); 
}*/

startList = function() {
	if (document.all&&document.getElementById) {
		navRoot = document.getElementById("primary-nav");
		for (i=0; i<navRoot.childNodes.length; i++) {
			node = navRoot.childNodes[i];
			if (node.nodeName=="LI") {
				node.onmouseover=function() {
					this.className+=" over";
				}
				node.onmouseout=function() {
					this.className=this.className.replace(" over", "");
				}
			}
		}
	}
}
window.onload=startList;

function Abrir_Ventana(theURL,w,h) { 
	var iTop = (parseInt(screen.availHeight) - parseInt(h)) / 2
	var iLeft = (parseInt(screen.availWidth) - parseInt(w)) / 2
	var windowprops = "top=" + iTop + ",left=" + iLeft + ",toolbar=no,location=no,status=no, menubar=no,scrollbars=no, resizable=no,width=" + w + ",height=" + h;
	window.open(theURL,'',windowprops); 
}

function toggleReadOn(l)
{
	var hc;
	hc = document.getElementById("read_on");
	//alert(hc.style.display);
	if(hc.style.display == "")
	{
		hc.style.display = "block";
		l.innerHTML = "Hide extra content.";
	}
	else
	{
		hc.style.display = "";
		l.innerHTML = "Want to know more? Click here to read on!";
	}
		
	
		
	
}