function OnMenuAfiliado() {
		var sPath = getRoot();
		window.parent.frames[0].location=sPath + "sideAfiliados.aspx";
//		window.parent.frames[1].location=sPath + "headerOficina.aspx";	
}
function OnMenuEmpleador() {
		var sPath = getRoot();
		window.parent.frames[0].location=sPath + "sideEmpleadores.aspx";
//		window.parent.frames[1].location=spath + "headerOficina.aspx";	
}
function OnMenuHome() {
		var sPath = getRoot();
		window.parent.frames[0].location=sPath + "side.aspx";
//		window.parent.frames[1].location=sPath + "header.aspx";			
}
function getRoot(){
	var cadena = location.pathname;
	var sRoot  = cadena.split('/');
	return ('/' + sRoot[1] + '/');
}

