
	if (top != self && top.location.href.substr(0, 29) != "http://www.russellbeattie.com" ) top.location.href = self.location.href;

	function init(){
			
		homelink = document.createElement("a");
		homelink.setAttribute("href","/");
		homebox = document.createElement("div");
		homebox.setAttribute("id","homebox");
		homebox.setAttribute("style","width: 220px; height: 32px; cursor: pointer;");
		homelink.appendChild(homebox);
		
		document.getElementById("header").appendChild(homelink);
		
	}

	function addEvent(elm, evType, fn, useCapture)
	{
	  if (elm.addEventListener){
	    elm.addEventListener(evType, fn, useCapture);
	    return true;
	  } else if (elm.attachEvent){
	    var r = elm.attachEvent("on"+evType, fn);
	    return r;
	  }
	}
  
  addEvent(window, "load", init);