// JavaScript Document
function CheckForHash(){
	if(document.location.hash){
		var HashLocationName = document.location.hash;
		HashLocationName = HashLocationName.replace("#","");
		if(AnteHash != HashLocationName){
			var temp = new Array();
			temp = HashLocationName.split(',');
			stext(temp[0],temp[1],temp[2],temp[3],temp[4]);
			AnteHash = HashLocationName;
			//document.getElementById(HashLocationName).style.display='block';
		}
		//document.getElementById(HashLocationName).style.display='block';
	}else{
		if(AnteVentana == ''){
			stext2('CompletoH',TextInd,'diez_102','',2);
		}
	}
}
function RenameAnchor(anchorid, anchorname){
	document.getElementById(anchorid).name = anchorname; //this renames the anchor
}
function RedirectLocation(anchorid, anchorname, HashName){
	RenameAnchor(anchorid, anchorname);
	document.location = HashName;
}
var HashCheckInterval = setInterval("CheckForHash()", 500);
window.onload = CheckForHash;