jQuery version of this PHP Include code?

jQuery version of this PHP Include code?

Hi jQuery, I need a bit of help

I have this PHP code - 

  1. <?php 
  2. if (isset($_GET['page'])) { $Page = $_GET['page']; } 
  3. else { $Page = 'Home'; }
  4. include("site/$Page.php");
  5. ?>
This gets the page name from the index.php?page= section, the issue I'm having is, on one page I PHP include the index file of an online shop, my issue is, if I click on any section of the shop, it changes my ?page= section to its own ?item= and just redirects itself right into its own page without anything of mine in it. So I need a jQuery way of doing this