// JavaScript Document
var redirect = new Array("_about_meijer","_our_company","_careers","_newsroom","_community","_real_estate","_b2b");
function doAClick(which) {
	if (which!=5) {
		var theRD = "http://www.meijer.com/content/content.jsp?pageName=meijer_75th_anniversary" + redirect[which];
		location.href = theRD;
	} else {
		window.open("http://realty.meijer.com/HomePage.aspx","","");
	}
} 
function exchange(theItem,theImage) { 
	theItem.src = theImage; 
} 
function getElementsByAttribute(oElm, strTagName, strAttributeName, strAttributeValue){ 
	var arrElements = (strTagName == "*" && oElm.all)? oElm.all : oElm.getElementsByTagName(strTagName); var arrReturnElements = new Array(); var oAttributeValue = (typeof strAttributeValue != "undefined")? new RegExp("(^|\\s)" + strAttributeValue + "(\\s|$)") : null; var oCurrent; var oAttribute; for(var i=0; i<arrElements.length; i++){ oCurrent = arrElements[i]; oAttribute = oCurrent.getAttribute && oCurrent.getAttribute(strAttributeName); if(typeof oAttribute == "string" && oAttribute.length > 0){ if(typeof strAttributeValue == "undefined" || (oAttributeValue && oAttributeValue.test(oAttribute))){ arrReturnElements.push(oCurrent); } } } return arrReturnElements; 
} 
/*
function foo() { 
	theImages1 = getElementsByAttribute(document.body, "img", "src", "http://img.meijer.com/assets/site/images/global/bg_left_nav_top.gif"); 
	theImages1[0].style.visibility = "hidden"; 
	theImages2 = getElementsByAttribute(document.body, "img", "src", "http://img.meijer.com/assets/site/images/global/bg_left_nav_btm.gif"); 
	theImages2[0].style.visibility = "hidden";  
} 
setTimeout(foo, 1000); 
*/