
/** A simple method that updates our user
    interface using the new location. */
function updateUI(newLocation,
                  historyData) 
{
  //alert("newLocation : "+ newLocation); 
  switch(newLocation)
  {
    case "explore":
        ClickTab(1,1);
        break;
    case "support":
        ClickTab(2,2);
        break;
    case "learn":
        ClickTab(3,3);
        break;
    case "events":
        ClickTab(4,41);
        break;
    case "":
        ClickTab(1,-1);
        break;
   }
}



