self.defaultStatus = "Welcome to the Artaura website";

function endEvent(){
	if(document.attachEvent){
		event.cancelBubble = true;
		event.returnValue = false;
	}
}

function getElemId(objectID){return document.getElementById(objectID);}
function getElemAll(objectID){return document.all[objectID];}
var getElem = (document.getElementById) ? getElemId : getElemAll;

getElem("rl1").onmouseover = function(){message(1);}
getElem("rl2").onmouseover = function(){message(2);}
getElem("rl3").onmouseover = function(){message(3);}

var txt = new Array();
txt[1] = "H2o-<span class='org'>storm</span>gallery<br /><span class='sml'>Original paintings, prints and<br />photographs by Matt Biggs</span>";
txt[2] = "<span class='org'>ARTAURA</span>DESIGN</span><br /><span class='sml'>Graphic design, illustration<br />and creative web design</span>";
txt[3] = "<span class='org'>ARTAURA</span>PRODUCTIONS<br /><span class='sml'>A small production company based in North Devon</span>";

function message(num){
	getElem("wrd").style.visibility = "visible";
	getElem("wrd").innerHTML = txt[num];
}