At http://www.michaellobry.com/ are buttons: contact, about us, etc. Once clicked on one, say: 'contact', i want the current include: var includingMain = include "HTMLversion_index.php"; change into an 'aboutUs' include as follows: include "aboutUs.php"; Furthermore i have: <area onclick="URLforwardProcessingAfterClick();" name="hireMe" shape="rect" coords="400,0,550,100" href="hireMe.php" alt="Hire me" /> And here the PHP function: function URLforwardProcessingAfterClick() { if (contact) { includingMain = include "mailFormInput.php"; else if(aboutUs) { includingMain = include "aboutUs.php"; else if(sitemap) { includingMain = include "sitemap.php"; else if(hireMe) { includingMain = include "hireMe.php"; else if(searching) { includingMain = include "searching.php"; }}}}} } Above script doesn't work. Help!