var ultimoHash = "";
setTimeout("reHash()", 200);
function reHash(){
	setTimeout("reHash()", 200);
	if( ultimoHash != document.location.hash ){
		ultimoHash = document.location.hash;
		if( document.getElementById('flashObject').cambiaHash != null ){
			document.getElementById('flashObject').cambiaHash(ultimoHash);
		}
	}
}
function flushUltimoHash(){
	ultimoHash = "";
}
var iniTitle = document.title;
function ponTitulo(que){
	if( que == "" ){ que = iniTitle; }else{ que = que+" ("+iniTitle+")";}
	document.title = que;
}
function setHash(que){
	document.location.hash = "#"+que; // se actualiza la copia y el hash real con el nuevo
	if(	ultimoHash != document.location.hash ){
		ultimoHash = document.location.hash;
//		if( esNavegadorIE() ){
//			document.getElementById("iframme").src = "iframme.php?time=" +new Date().valueOf()+":"+que;
//		}
	}
}

