function setRoleAttribute(id, rolevalue) {
	if(document.getElementById(id)) {
		document.getElementById(id).setAttribute("role", rolevalue);
	}
}
function setAriaRoleElementsById() {
	setRoleAttribute("navigation", "navigation");
	setRoleAttribute("navigation2", "navigation");
	setRoleAttribute("main", "main");
	setRoleAttribute("complementary", "complementary");
	setRoleAttribute("contentinfo", "contentinfo");
	setRoleAttribute("application", "application");
	setRoleAttribute("banner", "banner");
	setRoleAttribute("search", "search");
}
window.onload=function(){ setAriaRoleElementsById(); }
