function cargando(){}
function onbeforeload(){
	xmpinit();
}


function navieforzarover(id, Qseguro, funcionover, funcionout){
	var seguro = Qseguro || false
	if (seguro || BrowserDetect.browser=="Explorer"&&BrowserDetect.version==6) {
		if(typeof id == 'string'){
			var navRoot = document.getElementById(id);
		}else{
			var navRoot = id
		}
		if(navRoot){
			for (i=0; i<navRoot.childNodes.length; i++) {
				node = navRoot.childNodes[i];
				if (node.nodeName=="LI") {
					node.onmouseover=function() {
						this.className+=" over";
						this.funcionover()
					}
					node.funcionover = function(){};
					if (typeof funcionover == 'function'){
						node.funcionover = funcionover
					}
					
					node.onmouseout=function() {
						this.className=this.className.replace(" over", "");
						this.funcionout()
					}
					node.funcionout = function(){};
					if (typeof funcionout == 'function'){
						node.funcionout = funcionout
					}
				}
			}
			return navRoot
		}
	}
	return false
}
function navieforzaroverany(id, Qseguro, funcionover, funcionout){
	var seguro = Qseguro || false
	if (seguro || BrowserDetect.browser=="Explorer"&&BrowserDetect.version==6) {
		if(typeof id == 'string'){
			var navRoot = document.getElementById(id);
		}else{
			var navRoot = id
		}
		if(navRoot){
			node = navRoot
			node.onmouseover=function() {
				this.className+=" over";
				this.funcionover()
			}
			node.funcionover = function(){};
			if (typeof funcionover == 'function'){
				node.funcionover = funcionover
			}
			
			node.onmouseout=function() {
				this.className=this.className.replace(" over", "");
				this.funcionout()
			}
			node.funcionout = function(){};
			if (typeof funcionout == 'function'){
				node.funcionout = funcionout
			}
		}
	}
}

function xmpinit(){
	var oo= document.getElementsByTagName('xmp');
	for (var i=0; i<oo.length; i++) {
		node = oo[i];
		node.ondblclick=xmpclick
	}
}
function xmpclick(e, obj){
	if(!obj) obj = this;
	
	obj.className = obj.className || ''
	
	if(obj.className.indexOf('hover')>=0){
		obj.className = obj.className.replace(/(?:^| )hover/i, '')
	}else{
		obj.className+= ' hover'
	}
	
	if(obj.className.indexOf('docked')>=0){
		obj.className = obj.className.replace(/(?:^| )docked/i, '')
	}else{
		obj.className+= ' docked'
	}
}
function MM_swapImage(){}
function MM_swapImgRestore(){}

function CreateBookmarkLink(){
var url = location.protocol + '//'+location.hostname;
var title = "RedTelework.com - Proveedor Integral de Soluciones para Recursos Humanos";

 if (window.sidebar) { // Mozilla Firefox Bookmark
 window.sidebar.addPanel(title,url,"");
 } else if( window.external ) { // IE Favorite
 window.external.AddFavorite(url,title);
 }else if(window.opera && window.print) { // Opera Hotlist
 return true;
 }

}

function PopupContent(Id){
window.open('/PopupContent.aspx?Id=78','','width=400,height=500,resizable=yes,scrollbars=yes,') 
} 

function cerrar(){ 
window.close() 
}
