vmf.ns.use("rh");
		rh._duration = 5;
		rh.intId = -1;
		rh.currIdx = 1;
		
		rh.rotate = function()
		{
			var prev = rh.currIdx.toString(); // Update current index
			rh.currIdx = (rh.currIdx < 4) ? rh.currIdx + 1 : 1; // Change from 2 to 3 if there are 3 banners
			var curr = rh.currIdx.toString();
			
			vmf.dom.get("#" + prev).hide(); // show/hide section
			vmf.dom.get("#" + curr).show();
			
			vmf.dom.get("#hmap" + prev).hide();
			vmf.dom.get("#hmap" + curr).show();
			/* This was the original code below, but the fadeIn/Out was causing the page to jump to the top.  The Hide/Show above fixed this issue.
			vmf.dom.get("#hmap" + prev).fadeIn("fast", function()
			{
				vmf.dom.get("#hmap" + curr).fadeOut("fast");
			});
			*/
		};
		
		rh.change = function(dir)
		{
			clearInterval(rh.intId); // kill the interval counter
			vmf.dom.get("#" + rh.currIdx.toString()).hide(); //Hide all current section 
			vmf.dom.get("#hmap" + rh.currIdx.toString()).hide(); // Hide all current section
				if(dir == "next") // Update the current index based on directive
					rh.currIdx = (rh.currIdx < 4) ? rh.currIdx + 1 : 1; // Change from 2 to 3 if there are 3 banners
				else if (dir == "prev")
					rh.currIdx = (rh.currIdx == 1) ? 4 : rh.currIdx - 1; // Change from 2 to 3 if there are 3 banners
				else
					rh.currIdx = parseInt(dir);
			vmf.dom.get("#" + rh.currIdx.toString()).show(); // Show the updated section
			vmf.dom.get("#hmap" + rh.currIdx.toString()).show(); // Show the updated section
			//rh.intId = setInterval(rh.rotate, rh._duration * 1000); // Resume the interval counter even if it's been selected
			return false;
		}
		vmf.dom.onload(function()
		{
			rh.intId = setInterval(rh.rotate, rh._duration * 1000); // set the rotate function to run periodically
		});  
