function setElementProperty(p_elm, p_property, p_value){
	var elm = null;
	if(typeof(p_elm) == "object"){
		elm = p_elm;
	} else {
		elm = document.getElementById(p_elm);
	}
	if((elm != null) && (elm.style != null)){
		elm = elm.style;
		elm[ p_property ] = p_value;
	}
}
function changeSubNavArrow(img,option,template){
	document[img].src="images/subnav_" + template + "_arrow_" + option + ".gif"
}
function hideShowSub(levelId) {
	var thisLevel = document.getElementById( levelId );
	if ( thisLevel.style.display == "none" || thisLevel.style.display == "") {
		thisLevel.style.display = "block";
	}else {
		thisLevel.style.display = "none";
	}
	return false;
}