title: Javascript event handler load AFTER link redirection
body: <p>I am trying to make a link that will load a page and then change the background image of the loaded page. The issue is that the page itself is dynamic, so it doesnt actually exist until i click the link to load it. </p>
  
  <p>to be more specific i am using a e-commerce script and i want to link to each category directly and have the background of the page be different for each category.</p>
  
  <p>since the pages are dynamic i cannot just ad an onload function to the page or even statically set the background.</p>
  
  <p>i need the link to load the page and then change the background....   is it possible?</p>