I'm having an issue with prototype...
I have the following code that I want to execute:

Event.observe(window, 'load', function(){
				$('mesTour1').hide();
				$('mesTour2').hide();
				$('mesTour3').hide();
				$('mesTour4').hide();
				$('mesTour1').appear().delay(0.5);
				$('cancelTour').observe('click', function(){
					$('mesTour1').fade();
				});
			});

the very first time it's loaded, it doesn't work, but if the page is refreshed, it works perfectly. is there something I'm missing?

also, ive tried a number of variations on order, placing the code directly in the page, placing it in a file and linking to the file... nothing works... but other javascript functions work correctly... just not the new ones i've added. this site was managaged by someone else previously and i recently am taking it over.
to get it to duplicate the issue ive been resetting the browser each time, clearing out everything...
test.chicagohomeestates.com
to log in, use tester@fakenstein.com, password 123456

there might be a code snippet that should be on the page, and not in the external file. double check it all.