//******************************************
// FUNCIÓN TARGET BLANK, para xhtml
function openExternal(){
if(!document.getElementsByTagName) return;
var anchors = document.getElementsByTagName('a');
for(var i = 0; i < anchors.length; i++){        
var thisAnchor = anchors[i];        
if(thisAnchor.getAttribute('href') && thisAnchor.getAttribute('rel') == 'external'){
thisAnchor.target = '_blank';        
}    
}
}
window.onload = openExternal;
// Se usa
// <a href="http://www.google.cl" rel="external">Google</a>

function saltoPaisOferente(x){
	if(x=="cl"){
		parent.location="http://www.redcapacitacion.cl/mundo-oferente_inscripcion.php";
	}
}
function saltoPaisProveedor(x){
	if(x=="cl"){
		parent.location="http://www.redcapacitacion.cl/mundo-proveedor_inscripcion.php";
	}
}
function saltoPaisRelator(x){
	if(x=="cl"){
		parent.location="http://www.redcapacitacion.cl/mundo-relator_inscripcion.php";
	}
}
