function relocate(){
  clearTimeout(aTimer); aTimer = null; 
  var docurl = location.href;
  var chop = docurl.substring(docurl.lastIndexOf('/')+1,docurl.length); 
  var page = (chop.indexOf('+') != -1) ? chop.substring(0,chop.indexOf('+')): chop;

  if (location.replace) {
	    location.replace("index.html?content="+page);
  }else {
		location.href = "index.html?content="+page;
		}
}
  //REMOVED DOMAIN FROM URL FOR RUNNING SCRIPT LOCALLY WITHOUT ACCESSING INTERNET TO PREVIEW PAGES

var aTimer = null;
var isNav4 = (navigator.appName == "Netscape" && parseInt(navigator.appVersion) == 4);
if (parent == window)  {
    //Don't do anything if NN4 is printing frame
	if (!isNav4 ||(isNav4 && window.innerWidth != 0)) {
	    var text = document.createTextNode('Loading ...');
	    var notice = document.createElement('div');
		if (notice.style.setAttribute){
		  notice.style.setAttribute("position","absolute");
		  notice.style.setAttribute("zIndex","3");
		  notice.style.setAttribute("backgroundColor","#004E98");
		  notice.style.setAttribute("color","white");
		  notice.style.setAttribute("fontWeight","bold");
		  notice.style.setAttribute("fontSize","34pt");
		  notice.style.setAttribute("width","100%");
		  notice.style.setAttribute("height","100%");
		  notice.style.setAttribute("top","0px");
		  notice.style.setAttribute("left","0px");
		  notice.style.setAttribute("textAlign","center");
		  notice.innerHTML = "<br><br><span style=\"font-size:20pt;color:gold\">"+document.domain+"</span><br><br>";
		} else {
		  notice.id = "popup";
		  notice.style.position = "absolute";
		  notice.style.zIndex = "3";
		  notice.style.backgroundColor = "#004E98";
		  notice.style.color = "white";
		  notice.style.top = "0px";
		  notice.style.left = "0px";
		  notice.style.width = "100%";
		  notice.style.height = "100%";
		  notice.style.fontWeight = "bold";
		  notice.style.fontSize = "34pt";
		  notice.style.textAlign = "center";
		  notice.innerHTML = "<br><br><span style=\"font-size:20pt;color:gold\">"+document.domain+"</span><br><br>";
		}
		if (!aTimer) { 
			 aTimer = setTimeout("relocate()",1000);
		 }
		notice.appendChild(text);
		window.onload = function (){ var tp = document.getElementsByTagName('body')[0].firstChild;
					  			 	 document.getElementsByTagName('body')[0].replaceChild(notice,tp);}
		}
		}else if(document.title) parent.document.title = document.title;

