function h1() {
	var
		temp = getElement("rootContent").getElementsByTagName("h1"),
		title = getElement("rootTitle"),
		image = '<img src="/i/arrow/1.png" width="10" height="12" alt="" />';
	
	if (temp.length && temp.length > 0 && getElement("rootTitle")) {
		var
			titlePrevious = getElement("rootContent").getElementsByTagName("h1")[0];
		
		title.innerHTML = '<h1>' + (typeof(pageMerchandise) != "undefined" ? 'Resources' : (typeof(tagTitle) != "undefined" ? tagTitle : titlePrevious.innerHTML)) + image + '</h1>';
		titlePrevious.setAttribute("id", "titlePrevious");
		
		if (typeof(pageMerchandise) != "undefined" || typeof(tagTitle) != "undefined") {
			getElement("titlePrevious").className = "";
		} else {
			deleteElement("titlePrevious");
		}

		//title.className = "";
	}
}

h1();
//setOnload(h1);
