function initPage()
{
	if(!document.getElementById("blackrose") && typeof sIFR == "function"){
		var fonts = named({ sFlashSrc:"/swf/eagle-light.swf", sWmode:"transparent", sFlashVars:"textalign=left&offsetTop=0"});
		sIFR.replaceElement("h1", fonts, "#ff6600");
	}

	var inputs = document.getElementsByTagName("input");
	for (var i=0; i<inputs.length; i++)  {
		if (inputs[i].className.indexOf("button") != -1)  {
			inputs[i].onmouseover = function()
			{
			   this.src = this.src.replace(".gif", "-hover.gif");
			}
			inputs[i].onmouseout = function()
			{
				this.src = this.src.replace("-hover.gif", ".gif");
			}
		}
	}
	var images = document.getElementsByTagName("img");
	for (var i=0; i<images.length; i++)  {
		if (images[i].className.indexOf("button") != -1)  {
			images[i].onmouseover = function()
			{
			   this.src = this.src.replace(".gif", "-hover.gif");
			}
			images[i].onmouseout = function()
			{
				this.src = this.src.replace("-hover.gif", ".gif");
			}
		}
	
	}
	
}

if (window.addEventListener)
	window.addEventListener("load", initPage, false);
else if (window.attachEvent)
	window.attachEvent("onload", initPage);