<!-- begin image/date refresh -->
		function reloadImageDojo(mapLayer){
			var tmpSrc = mapLayer[4] + "?" + Math.random();
			var svgSrc = null;
			//check to see if the image attribute source is href
			svgSrc = dojo.byId(mapLayer[2]);
			 if(svgSrc) {
				//ie handles the svg source differently than firefox
				//console.log(svgSrc.src);
				svgSrc.src = tmpSrc;
				return false;
			}
			
			//if (document.layers)
			// do something with that for NN4
			//else if (document.all && ! document.getElementById)
			// do something with old IE
			//else if (document.getElementById)
			// recent browsers like IE5+, NN6+, Mozilla, Opera...
		}

		function reloadTextDojo(textID,textURL,blnAsync,prefix,suffix){
			var	textNode = dojo.byId(textID);
			//console.log(blnAsync);
			if (blnAsync==undefined) {
				blnAsync = false;
			}
			dojo.xhrGet({
				url: textURL, // + "?" + Math.random(), //refresh of document
				preventCache: true,
				handleAs: "text",
				sync: blnAsync,
				load: function(response){
					//alert(response);
					if (prefix){
						response = prefix + response
					}
					if (suffix){
						response = response + suffix
					}
					textNode.innerHTML = response;
				},
				// if any error occurs, it goes here:
				error: function(error){
					//alert("error");
					textNode.innerHTML = "Problem retrieving data: " + error;
				}
			})
		}

<!-- end image/date refresh -->