Hi everyone!

I have this simple Javascript to open and close div areas.

<script language="javascript" type="text/javascript">
function showDiv(theDiv) {
var elem = document.getElementById(theDiv);
elem.style.display = (elem.style.display == "none")? "" : "none";

Now I want to be able to open a div area, when sending a GET, eg /file.php?showDiv=5642

I have several divs on the same page, and when entering this page from special link, I want to be able to open that div area. Based on id.

Is that possible? Hope tou understand what I mean...