Hi,<BR>I have the following code in my body tag:<BR><body onLoad="getExpand('<%=Request("faqNum")% >');"><BR>I have links obviously passing through a faqNum. It works like I want it to, i.e. when you click on the links, brings you to the new page with the function called. Thats good. The only thing is if you try to navigate to the page without those particular links you get a javscript error (since it is trying to request a variable that doesnt exist) Is there a way to have a conditional that essentially says If there is no query, then just load the page, otherwise call the function with the variable. Thanks in advance.