Displaying passed variable in HTML

I’ve forgotten how to do this, so I have to ask the newbie question:
How do I get JS to print a variable passed between pages?

First page link:


<p style="font-weight:bold;"><a href="event_registration.html?EventName=Vallejo">Register for this Event</a></p>

Receiving page:


<h1><script language="JavaScript1.2" type="text/javascript">document.write('$EventName' + " ");</script>Event Registration</h1>