
function navigateToPage(pageTitle, pageCode)
{
  var theURL;
  
  switch(pageCode)
  {

    // Home
    case 0    : theURL = "pages/home.htm";
                break;


    // My Drives
    case 400  : theURL = "file:///H:/";
                break;
    case 401  : theURL = "file:///U:/";
                break;
    case 402  : theURL = "file:///G:/";
                break;


    // Customer Care Menu.
    case 1    : theURL = "http://www.google.com";
                break;
    case 2    : theURL = "http://www.google.com";
                break;
    case 3    : theURL = "http://www.google.com";
                break;
    case 4    : theURL = "http://www.google.com";
                break;
    case 5    : theURL = "http://www.google.com";
                break;
    case 6    : theURL = "http://www.google.com";
                break;
    case 7    : theURL = "http://www.google.com";
                break;
    case 8    : theURL = "http://www.google.com";
                break;




    // Newcomer's Menu.
    case 100  : theURL = "http://www.google.com";
                break;
    case 101  : theURL = "http://www.google.com";
                break;
    case 102  : theURL = "http://www.google.com";
                break;
    case 103  : theURL = "http://www.google.com";
                break;
    case 104  : theURL = "http://www.google.com";
                break;
                
    // Safety Menu.
    case 200  : theURL = "http://www.google.com";
                break;
                

    // Transportation Menu.
    case 300  : theURL = "http://www.google.com";
                break;

                
    // Mail Menu                
    case 8001 : theURL = "pages/mailDeletedItems.htm";
                break;
    case 8002 : theURL = "pages/mailDrafts.htm";
                break;
    case 8003 : theURL = "pages/mailInbox.htm";
                break;
    case 8004 : theURL = "pages/mailJunkEmail.htm";
                break;
    case 8005 : theURL = "pages/mailQuarantine.htm";
                break;
    case 8006 : theURL = "pages/mailSentItems.htm";
                break;
    case 8007 : theURL = "pages/mailSearchFoldersFollowUp.htm";
                break;
    case 8008 : theURL = "pages/mailSearchFoldersLargeMail.htm";
                break;
    case 8009 : theURL = "pages/mailOutbox.htm";
                break;
    case 8010 : theURL = "pages/mailCalendar.htm";
                break;
    case 8011 : theURL = "pages/mailContacts.htm";
                break;
    case 8012 : theURL = "pages/mailNotes.htm";
                break;
    case 8013 : theURL = "pages/mailJournal.htm";
                break;
    case 8014 : theURL = "pages/mailTasks.htm";
                break;
    case 8015 : theURL = "mailto://";
                break;

    // FAQs Menu                
    case 30000 : theURL = "http://www.google.com";
                 break;
    case 30001 : theURL = "http://www.google.com";
                 break;
    case 30002 : theURL = "http://www.google.com";
                 break;
    case 30003 : theURL = "http://www.google.com";
                 break;
    case 30004 : theURL = "http://www.google.com";
                 break;
    case 30005 : theURL = "";
                 break;
    case 30006 : theURL = "";
                 break;
    case 30007 : theURL = "";
                 break;
    case 30008 : theURL = "";
                 break;
                
    case 99999 : theURL = "http://jtfb-sp01/C4S%20Program/Document%20Library/mainPageWebmaster.aspx?PageView=Shared";
                break;
  

    // No pages codes match so show the default page.
    default: theURL = "http://jtfb-sp01/C4S%20Program/Document%20Library/mainPageWebmaster.aspx";
             break;
  }
  
  switch(pageCode)
  {
    case 1000 : window.navigate(theURL);
                break;
        
       default: ifrmInfo.navigate(theURL);
                break;
  }
}