
dayName = new Array ("Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday");
monName = new Array ("January","February","March","April","May","June","July","August","September","October","November","December");
now = new Date;

// Variables used by the select field key trap methods
var selectMatchStr = '';
var lastSelectName;
var selectMatchTimeout;

// Used to trap the user's keystrokes and match the correct selection.
// Should be called by the onKeyPress() method of the select input field.
// Parameter e is the standard keypress event.
// Parameter selectName is the name of the rendered select input field.
// Calling pattern example:
//  <input type="select" name="selectField" ...
//         onKeyPress="return selectTrapKeys(event, 'selectField');"
// This method specially recognizes the Enter key press and calls the
//   callback function selectEnterPressed with the selectName value as a
//   parameter.  This can be used by apply additional functionality when
//   the Enter key is pressed.  Keys off the performEnterCallback param.
// Note:  This method will consume the keypress event with the exception of the
//   tab key.
function selectTrapKeys(e, selectName, performEnterCallback)
{
  // Only apply the Enter key press logic for Netscape, it
  // does it's own key trapping
  if (navigator.appName == "Netscape")
  {
    if (performEnterCallback)
    {
      var charCode = e.which;
      if (charCode == 13)
      {
        selectEnterPressed(selectName);
      }
    }
    return true;
  }

  // Stop last match string clearing timeout
  clearTimeout(selectMatchTimeout);

  // Clear the match string if we changed input fields
  if (lastSelectName != selectName)
  {
    clearSelectTrappedKeys();
  }
  lastSelectName = selectName;

  // Get the key pressed (in lower case)
  //var charCode = (navigator.appName == "Netscape") ? e.which : e.keyCode;
  var charCode = e.keyCode;
  var charStr = String.fromCharCode(charCode).toLowerCase();

  // Callback when the enter key is pressed
  var enterWasPressed = false;
  if (charCode == 9)
  {
    clearSelectTrappedKeys();
    return true;
  }
  else if (charCode == 13)
  {
    enterWasPressed = true;
    if (performEnterCallback)
    {
      selectEnterPressed(selectName);
    }
  }

  // Append to the current match string
  selectMatchStr += charStr;

  // Match to the input select field
  var selectMatchStrLen = selectMatchStr.length;
  var listBox = document.getElementsByName(selectName)[0];
  var listLen = listBox.length;
  for (var i=0;i<listLen;++i)
  {
    if (listBox.options[i].text.substr(0, selectMatchStrLen).toLowerCase() == selectMatchStr)
    {
      // Need to unselect all fo the multi-selection boxes
      listBox.selectedIndex = -1;

      listBox.options[i].selected = true;
      break;
    }
  }

  // Set a new timeout to clear the input, using 1.5 seconds for now
  selectMatchTimeout = setTimeout("clearSelectTrappedKeys()", 1500);

  // Return false so we capture the keystroke and
  // don't let the browser handle it, except for Enter key
  if (enterWasPressed)
  {
    return true;
  }
  else
  {
    return false;
  }
}

// Used to clear the trapped keystrokes collected via the selectTrapKeys()
// function.  It is only called by timeout from the selectTrapKeys() function.
function clearSelectTrappedKeys()
{
  selectMatchStr = '';
}

// global storage object for type-ahead info, including reset() method
var typeAheadInfo = {last:0,
                     accumString:"",
                     delay:1000,
                     timeout:null,
                     reset:function() {this.last=0; this.accumString=""}
                    };

// function invoked by select element's onkeydown event handler
// this function should be used in place of selectTrapKeys() within
// Commergent code.  The delay for the typeAhead is defined in
// typeAheadInfo.delay and can be changed if desired.  To call function,
// utilize the onKeyDown functionality to trap the keystroke event
// Ex.
// <select name="customerName" width=310 onKeyDown="typeAhead()">
function typeAhead() {
   if (window.event && !window.event.ctrlKey) {
      // timer for current event
      var now = new Date();

      // process for an empty accumString or an event within [delay] ms of last
      if (typeAheadInfo.accumString == "" || now - typeAheadInfo.last < typeAheadInfo.delay) {
         // make shortcut event object reference
         var evt = window.event;
         // get reference to the select element
         var selectElem = evt.srcElement;
         // get typed character ASCII value
         var charCode = evt.keyCode;
         // get the actual character, converted to uppercase
         var newChar =  String.fromCharCode(charCode).toUpperCase();
         // append new character to accumString storage
         typeAheadInfo.accumString += newChar;
         // grab all select element option objects as an array
         var selectOptions = selectElem.options;
         // prepare local variables for use inside loop
         var txt, nearest;
         // look through all options for a match starting with accumString
         for (var i = 0; i < selectOptions.length; i++) {
            // convert each item's text to uppercase to facilitate comparison
            // (use value property if you want match to be for hidden option value)
            txt = selectOptions[i].text.toUpperCase();
            // record nearest lowest index, if applicable
            nearest = (typeAheadInfo.accumString >
                       txt.substr(0, typeAheadInfo.accumString.length)) ? i : nearest;
            // process if accumString is at start of option text
            if (txt.indexOf(typeAheadInfo.accumString) == 0) {
               // stop any previous timeout timer
               clearTimeout(typeAheadInfo.timeout);
               // store current event's time in object
               typeAheadInfo.last = now;
               // reset typeAhead properties in [delay] ms unless cleared beforehand
               typeAheadInfo.timeout = setTimeout("typeAheadInfo.reset()", typeAheadInfo.delay);
               // visibly select the matching item
               selectElem.selectedIndex = i;
               // prevent default event actions and propagation
               evt.cancelBubble = true;
               evt.returnValue = false;
               // exit function
               return false;
            }
         }
         // if a next lowest match exists, select it
         if (nearest != null) {
            selectElem.selectedIndex = nearest;
         }
      } else {
         // not a desired event, so clear timeout
         clearTimeout(typeAheadInfo.timeout);
      }
      // reset global object
      typeAheadInfo.reset();
   }
   return true;
}

function ChkField(SOMConferenceForm)

		 {

		 //validate fields for SOM conference..

			if(!document.SOMConferenceForm.lastName.value)
            {
               alert("'Last Name' is required,\nPlease return to the form to correct it.");
               document.SOMConferenceForm.lastName.focus();
               return false;
			}
			if(!document.SOMConferenceForm.Department.value)
            {
               alert("''Department is required,\nPlease return to the form to correct it.");
               document.SOMConferenceForm.Department.focus();
               return false;
			}
			if(!document.SOMConferenceForm.Address.value)
            {
               alert("''Address is required,\nPlease return to the form to correct it.");
               document.SOMConferenceForm.Address.focus();
               return false;
			}
			if(!document.SOMConferenceForm.Title.value)
            {
               alert("''Title is required,\nPlease return to the form to correct it.");
               document.SOMConferenceForm.Title.focus();
               return false;
			}
			if(!document.SOMConferenceForm.Organization.value)
            {
               alert("''Organization is required,\nPlease return to the form to correct it.");
               document.SOMConferenceForm.Organization.focus();
               return false;
			}
			if(!document.SOMConferenceForm.city.value)
            {
               alert("''City is required,\nPlease return to the form to correct it.");
               document.SOMConferenceForm.city.focus();
               return false;
			}
			if(!document.SOMConferenceForm.ZIPCode.value)
            {
               alert("''ZIPCode is required,\nPlease return to the form to correct it.");
               document.SOMConferenceForm.ZIPCode.focus();
               return false;
			}
			if(!document.SOMConferenceForm.dayTimePhone.value)
            {
               alert("''Day Time Phone is required,\nPlease return to the form to correct it.");
               document.SOMConferenceForm.dayTimePhone.focus();
               return false;
			}
			if(!document.SOMConferenceForm.EmailAddress.value)
            {
               alert("''Email Address is required,\nPlease return to the form to correct it.");
               document.SOMConferenceForm.EmailAddress.focus();
               return false;
			}
}

function ChkField1(CiscoRegistrationForm)
            {
                 //validate fields for Cisco classes registration...
            if(!document.CiscoRegistrationForm.firstName.value)
            {
               alert("'First Name' is required,\nPlease return to the form to correct it.");
               document.CiscoRegistrationForm.firstName.focus();
               return false;
            }
            if(!document.CiscoRegistrationForm.lastName.value)
            {
               alert("'Last Name' is required,\nPlease return to the form to correct it.");
               document.CiscoRegistrationForm.lastName.focus();
               return false;
            }
            if(!document.CiscoRegistrationForm.EmailAddress.value)
            {                                                                                                                                alert("''EmailAddress is required,\nPlease return to the form to correct it.");
               document.CiscoRegistrationForm.EmailAddress.focus();
               return false;
            }
            if(!document.CiscoRegistrationForm.Organization.value)
            {
               alert("''Company is required,\nPlease return to the form to correct it.");
               document.CiscoRegistrationForm.Organization.focus();
               return false;
            }
            if(!document.CiscoRegistrationForm.officePhone.value)
            {
               alert("'Office Phone' is required,\nPlease return to the form to correct it.");
               document.CiscoRegistrationForm.officePhone.focus();
               return false;
            }
}

function getLogDate()
{
    var logDate = now.getMonth()+"/"+now.getDate()+"/" + now.getFullYear();
   return logDate;
}


rollOverImages = new Array ("/images/wwt/menu_home_rollover.gif", "/images/wwt/menu_contact_us_rollover.gif", "/images/wwt/menu_careers_rollover.gif", "/images/wwt/menu_kiosk_rollover.gif", "/images/wwt/menu_site_map_rollover.gif");

function MM_swapImgRestore()
{ //v3.0
    var i, x, a=document.MM_sr;
    for(i=0; a&&i<a.length&&(x=a[i])&&x.oSrc; i++)
        x.src=x.oSrc;
}

function MM_preloadImages()
{ //v3.0
    var d=document;
    if(d.images)
    {
        if(!d.MM_p)
            d.MM_p=new Array();
        var i, j=d.MM_p.length;
        for(i=0; i<rollOverImages.length; i++)
            if(rollOverImages[i].indexOf("#")!=0)
            {
                d.MM_p[j]=new Image;
                d.MM_p[j++].src=rollOverImages[i];
            }
    }
}

function MM_findObj(n, d)
{ //v4.0
    var p, i, x;
    if(!d)
        d=document;
    if((p=n.indexOf("?"))>0&&parent.frames.length)
    {
        d=parent.frames[n.substring(p+1)].document;
        n=n.substring(0,p);
    }
    if(!(x=d[n])&&d.all)
        x=d.all[n];
    for(i=0;!x&&i<d.forms.length;i++)
        x=d.forms[i][n];
    for(i=0;!x&&d.layers&&i<d.layers.length;i++)
        x=MM_findObj(n,d.layers[i].document);
    if(!x && document.getElementById)
        x=document.getElementById(n);return x;
}

function MM_swapImage()
{ //v3.0
    var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array;
    for(i=0;i<(a.length-2);i+=3)
        if((x=MM_findObj(a[i]))!=null)
        {
            document.MM_sr[j++]=x;
            if(!x.oSrc)
                x.oSrc=x.src;
            x.src=a[i+2];
        }
}


function getKioskURL()
{     location.href='/kiosk/kiosk.jsp';

    /*if(location.host=='testreports.wwt.com'|| location.host=='testreports1.wwt.com' || location.host=='testreports2.wwt.com')
    {
        location.href = 'http://www-test.wwt.com/kiosk/kiosk.jsp';
    }
    else if(location.host=='prodreports.wwt.com' || location.host=='prodreports1.wwt.com' || location.host=='prodreports2.wwt.com' || location.host=='www.wwt.com'|| location.host=='prodweb1.wwt.com'|| location.host=='prodweb2.wwt.com')
    {
        location.href = 'http://www.wwt.com/kiosk/kiosk.jsp';
    }
    else if(location.host=='devreports.wwt.com')
    {
        location.href = 'http://www-dev.wwt.com/kiosk/kiosk.jsp';
    }
    else
    {
       location.href ='http://xp7.wwt.com/kiosk/kiosk.jsp';
    }*/
}




function getHeader(headerFor)
{
    var header = "";

    switch(headerFor)
    {
    case "short":
        header = header + "<BODY LEFTMARGIN=\"0\" TOPMARGIN=\"0\" MARGINHEIGHT=\"0\" MARGINWIDTH=\"0\" BGCOLOR=\"#FFFFFF\" LINK=\"#000066\" VLINK=\"#999999\" ONLOAD=\"MM_preloadImages()\">";
        header = header + "<A NAME=\"pageTop\"></A>";
        header = header + "<div style=\"background-color: #176BA2;height: 65px; \">";
        header = header + "<table height=\"65px\">";
        header = header + "<tr>";
        header = header + "<td width=\"15px\">";
        header = header + "</td>";
        header = header + "<td>";
        header = header + "<a href=\"/index.html\"><img src=\"/images/wwt/wwt_logo.gif\" width=\"182\" height=\"33\" border=\"0\" id=\"logo\" /></a>";
        header = header + "</td>";
        header = header + "<td>";
        header = header + "</td>";
        header = header + "</tr>";
        header = header + "</table>";
        header = header + "</div>";
        header = header + "<br>";
 	header = header + "<br>";
        header = header + "</BODY>";
        break;


    case "federal":
        header = header + "<TABLE WIDTH=\"102%\" BORDER=\"0\" CELLSPACING=\"0\" CELLPADDING=\"0\" >";
        header = header + "<TR>";
        header = header + "<TD ROWSPAN=\"2\" WIDTH=\"247\" VALIGN=\"TOP\" ALIGN=\"LEFT\">";
        header = header + "<TABLE  BORDER=\"0\" CELLSPACING=\"0\" CELLPADDING=\"0\" HEIGHT=\"63\">";
        header = header + "<TR BGCOLOR=\"FFFFFF\">";
        header = header + "<TD HEIGHT=\"39\" VALIGN=\"TOP\" COLSPAN=\"2\"><IMG SRC=\"/images/wwt/wwt_name_long.gif\" WIDTH=\"247\" HEIGHT=\"39\"></TD>";
        header = header + "</TR>";
        header = header + "<TR>";
        header = header + "<TD HEIGHT=\"24\" WIDTH=\"63\"  VALIGN=\"TOP\" BGCOLOR=\"000066\"><IMG SRC=\"/images/wwt/logo.gif\" WIDTH=\"63\" HEIGHT=\"24\"></TD>";
        header = header + "<TD HEIGHT=\"24\" WIDTH=\"184\" BGCOLOR=\"999999\" ALIGN=\"CENTER\" CLASS=\"headerdate\">";
        header = header + dayName[now.getDay()] + ", " +monName[now.getMonth()] + " " + now.getDate() + ", " + now.getFullYear();
        header = header + "</TD>";
        header = header + "</TR>";
        header = header + "</TABLE>";
        header = header + "</TD>";
        header = header + "<TD ROWSPAN=\"2\" WIDTH=\"404\" VALIGN=\"TOP\" ALIGN=\"LEFT\">";
        header = header + "<TABLE  BORDER=\"0\" CELLSPACING=\"0\" CELLPADDING=\"0\" HEIGHT=\"63\">";
        header = header + "<TR BGCOLOR=\"000066\">";
        header = header + "<TD HEIGHT=\"39\" WIDTH=\"334\" COLSPAN=\"5\"><IMG SRC=\"/images/wwt/epltext.gif\" WIDTH=\"334\" HEIGHT=\"39\"></TD>";
        header = header + "<TD HEIGHT=\"39\" WIDTH=\"70\" VALIGN=\"TOP\"><A HREF=\"/epl.html\" ONMOUSEOUT=\"MM_swapImgRestore()\" ONMOUSEOVER=\"MM_swapImage('eplbutton','','/images/wwt/menu_epl.gif',1)\"><IMG NAME=\"eplbutton\" BORDER=\"0\" SRC=\"/images/wwt/menu_epl_rollover.gif\" WIDTH=\"70\" HEIGHT=\"39\"></A></TD>";
        header = header + "</TR>";
        header = header + "<TR>";
        header = header + "<TD VALIGN=\"BOTTOM\" HEIGHT=\"24\" BGCOLOR=\"000066\" WIDTH=\"109\"><IMG SRC=\"/images/wwt/spacer.gif\" WIDTH=\"100\" HEIGHT=\"17\"></TD>";
        header = header + "<TD VALIGN=\"BOTTOM\" HEIGHT=\"24\" BGCOLOR=\"000066\" WIDTH=\"49\"><A HREF=\"/federal/index.html\" ONMOUSEOUT=\"MM_swapImgRestore()\" ONMOUSEOVER=\"MM_swapImage('home','','/images/wwt/menu_home_rollover.gif',1)\"><IMG SRC=\"/images/wwt/menu_home.gif\" NAME=\"home\" BORDER=\"0\"></A></TD>";
        header = header + "<TD VALIGN=\"BOTTOM\" HEIGHT=\"24\" BGCOLOR=\"000066\" WIDTH=\"74\"><A HREF=\"/contactus.html\" ONMOUSEOUT=\"MM_swapImgRestore()\" ONMOUSEOVER=\"MM_swapImage('contactus','','/images/wwt/menu_contact_us_rollover.gif',1)\"><IMG SRC=\"/images/wwt/menu_contact_us.gif\" NAME=\"contactus\" BORDER=\"0\"></A></TD>";
        header = header + "<TD VALIGN=\"BOTTOM\" HEIGHT=\"24\" BGCOLOR=\"000066\" WIDTH=\"57\"><A HREF=\"/careers.html\" ONMOUSEOUT=\"MM_swapImgRestore()\" ONMOUSEOVER=\"MM_swapImage('careers','','/images/wwt/menu_careers_rollover.gif',1)\"><IMG SRC=\"/images/wwt/menu_careers.gif\" NAME=\"careers\" BORDER=\"0\"></A></TD>";
        header = header + "<TD VALIGN=\"BOTTOM\" HEIGHT=\"24\" BGCOLOR=\"000066\" WIDTH=\"45\"><A HREF=\"javascript:getKioskURL()\" ONMOUSEOUT=\"MM_swapImgRestore()\" ONMOUSEOVER=\"MM_swapImage('kiosk','','/images/wwt/menu_kiosk_rollover.gif',1)\"><IMG SRC=\"/images/wwt/menu_kiosk.gif\" NAME=\"kiosk\" BORDER=\"0\"></A></TD>";
        header = header + "<TD VALIGN=\"BOTTOM\" HEIGHT=\"24\" BGCOLOR=\"000066\" WIDTH=\"70\"><A HREF=\"/sitemap.html\" ONMOUSEOUT=\"MM_swapImgRestore()\" ONMOUSEOVER=\"MM_swapImage('sitemap','','/images/wwt/menu_site_map_rollover.gif',1)\"><IMG SRC=\"/images/wwt/menu_site_map.gif\" NAME=\"sitemap\" BORDER=\"0\"></A></TD>";
        header = header + "</TR>";
        header = header + "</TABLE>";
        header = header + "</TD>";
        header = header + "<TD VALIGN=\"TOP\" HEIGHT=\"39\" WIDTH=\"102%\" BGCOLOR=\"000066\">&nbsp;</TD>";
        header = header + "</TR>";
        header = header + "<TR>";
        header = header + "<TD VALIGN=\"TOP\" HEIGHT=\"24\" WIDTH=\"102%\" BGCOLOR=\"99CC33\">&nbsp;</TD>";
        header = header + "</TR>";
        header = header + "</TABLE>";
        break;

    case "lockheed":
        header = header + "<TABLE WIDTH=\"102%\" BORDER=\"0\" CELLSPACING=\"0\" CELLPADDING=\"0\" >";
        header = header + "<TR>";
        header = header + "<TD VALIGN=\"TOP\" ALIGN=\"LEFT\"><IMG SRC=\"/images/wwt/bannerLockheed.jpg\" HEIGHT=\"63\"></TD>";
        header = header + "<TD VALIGN=\"TOP\" HEIGHT=\"63\" WIDTH=\"102%\" BGCOLOR=\"CCCCCC\">&nbsp;</TD>";
        header = header + "</TR>";
        header = header + "</TABLE>";
        break;

    case "ATK":
        header = header + "<TABLE WIDTH=\"102%\" BORDER=\"0\" CELLSPACING=\"0\" CELLPADDING=\"0\" >";
        header = header + "</TABLE>";
        break;
    /* this is the new look in make generic header*/
    case "wwt_new":
        header = header + "<TABLE WIDTH=\"100%\" BORDER=\"0\" CELLSPACING=\"0\" CELLPADDING=\"0\" >";
        header = header + "<TR>";
        header = header + "<TD VALIGN=\"TOP\" WIDTH=\"100%\" ALIGN=\"LEFT\">";
        header = header + "<TABLE WIDTH=\"100%\" BORDER=\"0\" CELLSPACING=\"0\" CELLPADDING=\"0\" >";
        header = header + "<TR>";
        header = header + "<TD VALIGN=\"TOP\" WIDTH=\"292\" ALIGN=\"LEFT\"><IMG SRC=\"/images/wwt/header_r1_c1.gif\" BORDER=\"0\" HEIGHT=\"41\" WIDTH=\"292\"></TD>";
        header = header + "<TD BACKGROUND=\"/images/wwt/header_r1_c2.gif\">&nbsp;</TD>";
        header = header + "</TR>";
        header = header + "</TABLE>";
        header = header + "</TD>";
        header = header + "</TR>";
        header = header + "<TR><TD COLSPAN=\"4\">";
        header = header + "<HR SIZE=\"1\">";
        header = header + "</TD>";
        header = header + "</TR>";
        header = header + "</TABLE>";
        break;

     case "CSC":
        header = header + "<TABLE WIDTH=\"100%\" BORDER=\"0\" CELLSPACING=\"0\" CELLPADDING=\"0\" >";
        header = header + "<TR>";
        header = header + "<TD VALIGN=\"TOP\" WIDTH=\"100%\" ALIGN=\"LEFT\">";

        header = header + "<TABLE WIDTH=\"100%\" BORDER=\"0\" CELLSPACING=\"0\" CELLPADDING=\"0\" >";
        header = header + "<TR>";
        header = header + "<TD VALIGN=\"TOP\" WIDTH=\"292\" ALIGN=\"LEFT\"><IMG SRC=\"/images/wwt/header_r1_c1.gif\" BORDER=\"0\" ALT=\" \" HEIGHT=\"41\" WIDTH=\"292\"></TD>";
        header = header + "<TD BACKGROUND=\"/images/wwt/header_r1_c2.gif\">&nbsp;</TD>";
        header = header + "</TR>";
        header = header + "</TABLE>";

        header = header + "</TD>";
        header = header + "<TD ALIGN=\"RIGHT\">&nbsp;</TD>";
        header = header + "<TD ALIGN=\"RIGHT\"><IMG SRC=\"/images/wwt/logo_CSC.jpg\" BORDER=\"0\"></TD>";
        header = header + "<TD ALIGN=\"RIGHT\">&nbsp;</TD>";
        header = header + "</TR>";
        header = header + "<TR><TD COLSPAN=\"4\">";
        header = header + "<HR SIZE=\"1\">";
        header = header + "</TD></TR>";
        header = header + "</TABLE>";
        break;

        case "TI":
        header = header + "<TABLE WIDTH=\"100%\" BORDER=\"0\" CELLSPACING=\"0\" CELLPADDING=\"0\" >";
        header = header + "<TR>";
        header = header + "<TD VALIGN=\"TOP\" WIDTH=\"100%\" ALIGN=\"LEFT\">";

        header = header + "<TABLE WIDTH=\"100%\" BORDER=\"0\" CELLSPACING=\"0\" CELLPADDING=\"0\" >";
        header = header + "<TR>";
        header = header + "<TD VALIGN=\"TOP\" WIDTH=\"292\" ALIGN=\"LEFT\"><IMG SRC=\"/images/wwt/header_r1_c1.gif\" BORDER=\"0\" ALT=\" \" HEIGHT=\"41\" WIDTH=\"292\"></TD>";
        header = header + "<TD BACKGROUND=\"/images/wwt/header_r1_c2.gif\">&nbsp;</TD>";
        header = header + "</TR>";
        header = header + "</TABLE>";

        header = header + "</TD>";
        header = header + "<TD ALIGN=\"RIGHT\">&nbsp;</TD>";
        header = header + "<TD ALIGN=\"RIGHT\"><IMG SRC=\"/images/wwt/ti_logo.gif\" HEIGHT=\"48\" BORDER=\"0\"></TD>";
        header = header + "<TD ALIGN=\"RIGHT\">&nbsp;</TD>";
        header = header + "</TR>";
        header = header + "<TR><TD COLSPAN=\"4\">";
        header = header + "<HR SIZE=\"1\">";
        header = header + "</TD></TR>";
        header = header + "</TABLE>";
        break;

    case "wwtCorporate":
        header = header + "<div id=\"main_menu\">";
        header = header + "<ul id=\"nav\" style=\"margin-bottom: 0\; margin-left: 0\"><li><a href=\"../index.html\">Home</a></li>";
        header = header + "<li><a href=\"/company/about_world_wide_technology.html\">Company</a><ul>";
        header = header + "<li><a href=\"/company/about_world_wide_technology.html\">About Us</a></li>";
        header = header + "<li><a href=\"/company/history.html\">History</a></li>";
        header = header + "<li><a href=\"/company/executive_team.html\">Executive team</a></li>";
        header = header + "<li><a href=\"/company/community_relations.html\">Community relations</a></li>";
        header = header + "<li><a href=\"/company/success_stories.html\">Success stories</a></li>";
        header = header + "<li><a href=\"/company/quality.html\">Quality</a></li>";
        header = header + "<li><a href=\"/company/supplier_diversity.html\">Supplier diversity</a></li>";
        header = header + "<li><a href=\"/company/contact_us.html\">Contact Us</a></li>";
        header = header + "<li><a href=\"/company/locations.html\">Locations</a></li>";
        header = header + "<li><a href=\"http://www.wwt.com/kiosk\">Employee kiosk</a></li>";
        header = header + "</ul></li><li><a href=\"/markets/markets.html\">Markets</a>";
        header = header + "<ul><li><a href=\"/markets/commercial.html\">Commercial</a></li>";
        header = header + "<li><a href=\"/markets/federal.html\">Federal</a></li>";
        header = header + "<li><a href=\"/markets/state_local.html\">State and Local</a></li>";
        header = header + "<li><a href=\"/markets/education.html\">Education</a></li>";
		header = header + "<li><a href=\"/markets/energy.html\">Energy & Utilities</a></li>";
        header = header + "<li><a href=\"/markets/telecommunication.html\">Telecommunications</a></li>";
        header = header + "<li><a href=\"/markets/healthcare.html\">Healthcare</a></li>";
        header = header + "</ul></li><li><a href=\"../products_services/products_services.html\">Products &amp; services</a>";
		header = header + "<ul><li><a href=\"../products_services/information_technology.html\">Information Technology</a></li>";
        header = header + "<li><a href=\"../products_services/supply_chain.html\">Supply Chain Management</a></li>";
        header = header + "<li><a href=\"../products_services/professional_services.html\">Professional Services</a></li>";
		header = header + "<li><a href=\"../products_services/data_center.html\">Data Center</a></li>";
		header = header + "<li><a href=\"../products_services/security.html\">Security</a></li>";
		header = header + "<li><a href=\"../products_services/unified_communications.html\">Unified Communications</a></li>";
        header = header + "<li><a href=\"../products_services/wireless.html\">Wireless</a></li>";
        header = header + "<li><a href=\"../products_services/it_road_map.html\">IT Road Map</a></li>";
        header = header + "</ul></li><li><a href=\"../partners/partners.html\">Partners</a>";
        header = header + "<ul><li><a href=\"../partners/partners.html\">Strategic Partners</a></li>";
        header = header + "<li><a href=\"../partners/becoming_a_partner.html\">Becoming a Partner</a></ul></li>";
        header = header + "<li><a href=\"../career/careers.html\">Careers</a>";
        header = header + "<ul><li><a href=\"../career/working_at_wwt.html\">Working @ WWT</a></li>";
        header = header + "<li><a href=\"../career/benefits_overview.html\">Benefits Overview</a></li>";
        header = header + "<li><a href=\"../career/career_search.html\">Career Search</a></li></ul>";        
        header = header + "<li><a href=\"../news_events/headlines.html\">News &amp; Events</a>";
        header = header + "<ul><li><a href=\"../news_events/headlines.html\">Headlines</a></li>";
        header = header + "<li><a href=\"../news_events/press_releases.html\">Press Releases</a></li>";
        header = header + "<li><a href=\"../news_events/press_kits.html\">Press Kit</a></li>";
        header = header + "<li><a href=\"../news_events/awards.html\">Awards</a></li>";
        header = header + "<li><a href=\"../news_events/news_letter.html\">Newsletters</a></li>";
        header = header + "<li><a href=\"../news_events/upcoming_events.html\">Upcoming Events</a></li></ul></ul>";
        header = header + "</div>";
        break;

    default:
        header = header + "<BODY LEFTMARGIN=\"0\" TOPMARGIN=\"0\" MARGINHEIGHT=\"0\" MARGINWIDTH=\"0\" BGCOLOR=\"#FFFFFF\" LINK=\"#000066\" VLINK=\"#999999\" ONLOAD=\"MM_preloadImages()\">";
        header = header + "<A NAME=\"pageTop\"></A>";
        header = header + "<div style=\"background-color: #176BA2;height: 86px; \">";
        header = header + "<table height=\"86px\">";
        header = header + "<tr>";
        header = header + "<td width=\"15px\">";
        header = header + "</td>";
        header = header + "<td>";
        header = header + "<a href=\"/index.html\"><img src=\"/images/wwt/wwt_logo.gif\" width=\"182\" height=\"33\" border=\"0\" id=\"logo\" /></a>";
        header = header + "</td>";
        header = header + "<td>";
        header = header + "</td>";
        header = header + "</tr>";
        header = header + "</table>";
        header = header + "</div>";
        header = header + "</BODY>";
        break;
    }
    return(header);
}

function getHeaderSpacer(headerFor)
{
    var header = "";

    switch(headerFor)
    {
    case "short":
        header = header + "<BODY LEFTMARGIN=\"0\" TOPMARGIN=\"0\" MARGINHEIGHT=\"0\" MARGINWIDTH=\"0\" BGCOLOR=\"#FFFFFF\" LINK=\"#000066\" VLINK=\"#999999\" ONLOAD=\"MM_preloadImages()\">";
        header = header + "<A NAME=\"pageTop\"></A>";
        header = header + "<div style=\"background-color: #176BA2;height: 65px; \">";
        header = header + "<table height=\"65px\">";
        header = header + "<tr>";
        header = header + "<td width=\"15px\">";
        header = header + "</td>";
        header = header + "<td>";
        header = header + "<a href=\"/index.html\"><img src=\"/images/wwt/wwt_logo.gif\" width=\"182\" height=\"33\" border=\"0\" id=\"logo\" /></a>";
        header = header + "</td>";
        header = header + "<td>";
        header = header + "</td>";
        header = header + "</tr>";
        header = header + "</table>";
        header = header + "</div>";
        header = header + "</BODY>";
        break;

    default:
        header = header + "<TABLE WIDTH=\"102%\"  HEIGHT=\"100\" BORDER=\"0\" CELLPADDING=\"0\" CELLSPACING=\"0\">";
        header = header + "<TR>";
        header = header + "<TD ROWSPAN=\"2\" WIDTH=\"247\" BGCOLOR=\"99CC33\" VALIGN=\"TOP\">";
        header = header + "<TABLE  BORDER=\"0\" CELLSPACING=\"0\" CELLPADDING=\"0\" HEIGHT=\"104\">";
        header = header + "<TR BGCOLOR=\"FFFFFF\">";
        header = header + "<TD HEIGHT=\"78\" WIDTH=\"247\" VALIGN=\"TOP\" COLSPAN=\"2\"><IMG SRC=\"/images/wwt/wwt_name.gif\" WIDTH=\"247\" HEIGHT=\"78\"></TD>";
        header = header + "</TR>";
        header = header + "<TR>";
        header = header + "<TD HEIGHT=\"26\" WIDTH=\"63\"  VALIGN=\"TOP\" BGCOLOR=\"000066\"><IMG SRC=\"/images/wwt/logo.gif\" WIDTH=\"63\" HEIGHT=\"26\"></TD>";
        header = header + "<TD HEIGHT=\"26\" WIDTH=\"184\" BGCOLOR=\"999999\" ALIGN=\"CENTER\" CLASS=\"headerdate\">";
        header = header + dayName[now.getDay()] + ", " +monName[now.getMonth()] + " " + now.getDate() + ", " + now.getFullYear();
        header = header + "</TD>";
        header = header + "</TR>";
        header = header + "</TABLE>";
        header = header + "</TD>";
        header = header + "<TD VALIGN=\"TOP\" BGCOLOR=\"000066\" WIDTH=\"407\" ROWSPAN=\"2\">";
        header = header + "<TABLE  BORDER=\"0\" CELLSPACING=\"0\" CELLPADDING=\"0\" HEIGHT=\"104\">";
        header = header + "<TR BGCOLOR=\"000066\">";
        header = header + "<TD HEIGHT=\"82\" WIDTH=\"247\" VALIGN=\"TOP\" COLSPAN=\"8\">";
        header = header + getFlashObject(headerFor);
        header = header + "</TD>";
        header = header + "</TR>";
        header = header + "<TR>";
        header = header + "<TD VALIGN=\"BOTTOM\" HEIGHT=\"24\" BGCOLOR=\"000066\" WIDTH=\"109\"><IMG SRC=\"/images/wwt/spacer.gif\" WIDTH=\"100\" HEIGHT=\"17\"></TD>";
        header = header + "<TD VALIGN=\"BOTTOM\" HEIGHT=\"24\" BGCOLOR=\"000066\" WIDTH=\"49\"><IMG SRC=\"/images/wwt/spacer.gif\" WIDTH=\"49\" HEIGHT=\"17\"></TD>";
        header = header + "<TD VALIGN=\"BOTTOM\" HEIGHT=\"24\" BGCOLOR=\"000066\" WIDTH=\"74\"><IMG SRC=\"/images/wwt/spacer.gif\" WIDTH=\"74\" HEIGHT=\"17\"></TD>";
        header = header + "<TD VALIGN=\"BOTTOM\" HEIGHT=\"24\" BGCOLOR=\"000066\" WIDTH=\"57\"><IMG SRC=\"/images/wwt/spacer.gif\" WIDTH=\"57\" HEIGHT=\"17\"></TD>";
        header = header + "<TD VALIGN=\"BOTTOM\" HEIGHT=\"24\" BGCOLOR=\"000066\" WIDTH=\"45\"><IMG SRC=\"/images/wwt/spacer.gif\" WIDTH=\"45\" HEIGHT=\"17\"></TD>";
        header = header + "<TD VALIGN=\"BOTTOM\" HEIGHT=\"24\" BGCOLOR=\"000066\" WIDTH=\"70\"><IMG SRC=\"/images/wwt/spacer.gif\" WIDTH=\"70\" HEIGHT=\"17\"></TD>";
        header = header + "</TR>";
        header = header + "</TABLE>";
        header = header + "</TD>";
        header = header + "<TD VALIGN=\"TOP\" BGCOLOR=\"#000066\" HEIGHT=\"78\" WIDTH=\"146\"><IMG SRC=\"/images/wwt/wwt_vertical.gif\" WIDTH=\"146\" HEIGHT=\"78\"></TD>";
        header = header + "<TD VALIGN=\"TOP\" HEIGHT=\"78\" WIDTH=\"102%\" BGCOLOR=\"000066\">&nbsp;</TD>";
        header = header + "</TR>";
        header = header + "<TR>";
        header = header + "<TD VALIGN=\"TOP\" HEIGHT=\"26\" BGCOLOR=\"99CC33\" WIDTH=\"146\">&nbsp;</TD>";
        header = header + "<TD VALIGN=\"TOP\" HEIGHT=\"26\" BGCOLOR=\"99CC33\" WIDTH=\"102%\">&nbsp;</TD>";
        header = header + "</TR>";
        header = header + "</TABLE>";
        break;
    }
    return(header);
}


function getFlashObject(objectFor)
{
    var object = "<object CLASSID=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" CODEBASE=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#3,0,0,0\" WIDTH=\"407\" HEIGHT=\"82\" VSPACE=\"0\" HSPACE=\"0\">";

    switch(objectFor)
    {
    case "aboutus":
        object = object + "<param NAME=\"SRC\" VALUE=\"/images/wwt/aboutus.swf\">";
        object = object + "<embed SRC=\"/images/wwt/aboutus.swf\" PLUGINSPAGE=\"http://www.macromedia.com/shockwave/download/\" TYPE=\"application/x-shockwave-flash\" WIDTH=\"407\" HEIGHT=\"82\" VSPACE=\"0\" HSPACE=\"0\">";
        break;

    case "home":
        object = object + "<param NAME=\"SRC\" VALUE=\"/images/wwt/home.swf\">";
        object = object + "<embed SRC=\"/images/wwt/home.swf\" PLUGINSPAGE=\"http://www.macromedia.com/shockwave/download/\" TYPE=\"application/x-shockwave-flash\" WIDTH=\"407\" HEIGHT=\"82\" VSPACE=\"0\" HSPACE=\"0\">";
        break;

    case "news":
        object = object + "<param NAME=\"SRC\" VALUE=\"/images/wwt/news.swf\">";
        object = object + "<embed SRC=\"/images/wwt/news.swf\" PLUGINSPAGE=\"http://www.macromedia.com/shockwave/download/\" TYPE=\"application/x-shockwave-flash\" WIDTH=\"407\" HEIGHT=\"82\" VSPACE=\"0\" HSPACE=\"0\">";
        break;

    case "careers":
        object = object + "<param NAME=\"SRC\" VALUE=\"/images/wwt/careers.swf\">";
        object = object + "<embed SRC=\"/images/wwt/careers.swf\" PLUGINSPAGE=\"http://www.macromedia.com/shockwave/download/\" TYPE=\"application/x-shockwave-flash\" WIDTH=\"407\" HEIGHT=\"82\" VSPACE=\"0\" HSPACE=\"0\">";
        break;

    case "contact":
        object = object + "<param NAME=\"SRC\" VALUE=\"/images/wwt/contact.swf\">";
        object = object + "<embed SRC=\"/images/wwt/contact.swf\" PLUGINSPAGE=\"http://www.macromedia.com/shockwave/download/\" TYPE=\"application/x-shockwave-flash\" WIDTH=\"407\" HEIGHT=\"82\" VSPACE=\"0\" HSPACE=\"0\">";
        break;

    case "sitemap":
        object = object + "<param NAME=\"SRC\" VALUE=\"/images/wwt/sitmap.swf\">";
        object = object + "<embed SRC=\"/images/wwt/sitmap.swf\" PLUGINSPAGE=\"http://www.macromedia.com/shockwave/download/\" TYPE=\"application/x-shockwave-flash\" WIDTH=\"407\" HEIGHT=\"82\" VSPACE=\"0\" HSPACE=\"0\">";
        break;

    case "products":
        object = object + "<param NAME=\"SRC\" VALUE=\"/images/wwt/products.swf\">";
        object = object + "<embed SRC=\"/images/wwt/products.swf\" PLUGINSPAGE=\"http://www.macromedia.com/shockwave/download/\" TYPE=\"application/x-shockwave-flash\" WIDTH=\"407\" HEIGHT=\"82\" VSPACE=\"0\" HSPACE=\"0\">";
        break;

    case "onlineservices":
        object = object + "<param NAME=\"SRC\" VALUE=\"/images/wwt/online.swf\">";
        object = object + "<embed SRC=\"/images/wwt/online.swf\" PLUGINSPAGE=\"http://www.macromedia.com/shockwave/download/\" TYPE=\"application/x-shockwave-flash\" WIDTH=\"407\" HEIGHT=\"82\" VSPACE=\"0\" HSPACE=\"0\">";
        break;

    case "emarket":
        object = object + "<param NAME=\"SRC\" VALUE=\"/images/wwt/emarket.swf\">";
        object = object + "<embed SRC=\"/images/wwt/emarket.swf\" PLUGINSPAGE=\"http://www.macromedia.com/shockwave/download/\" TYPE=\"application/x-shockwave-flash\" WIDTH=\"407\" HEIGHT=\"82\" VSPACE=\"0\" HSPACE=\"0\">";
        break;
    default:
        object = object + "<param NAME=\"SRC\" VALUE=\"/images/wwt/home.swf\">";
        object = object + "<embed SRC=\"/images/wwt/home.swf\" PLUGINSPAGE=\"http://www.macromedia.com/shockwave/download/\" TYPE=\"application/x-shockwave-flash\" WIDTH=\"407\" HEIGHT=\"82\" VSPACE=\"0\" HSPACE=\"0\">";
        break;
    }
    object = object + "</embed>";
    object = object + "</object>";
    return(object);
}


function getFlashNavigator()
{
    var flashNavigator = "<td VALIGN=\"top\" width=\"269\">";
    flashNavigator = flashNavigator + "<object CLASSID=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" CODEBASE=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#3,0,0,0\" WIDTH=\"269\" HEIGHT=\"437\" VSPACE=\"0\" HSPACE=\"0\">";
    flashNavigator = flashNavigator + "<param NAME=\"SRC\" VALUE=\"/images/wwt/navigation.swf\">";
    flashNavigator = flashNavigator + "<embed SRC=\"/images/wwt/navigation.swf\" PLUGINSPAGE=\"http://www.macromedia.com/shockwave/download/\" TYPE=\"application/x-shockwave-flash\" WIDTH=\"269\" HEIGHT=\"437\" VSPACE=\"0\" HSPACE=\"0\">";
    flashNavigator = flashNavigator + "</embed>";
    flashNavigator = flashNavigator + "</object>";
    flashNavigator = flashNavigator + "</td>";
    return(flashNavigator);
}

function getFooter()
{
  return getFooter('wwt');
}

function getFooter(footerFor)
{
    var footer = "";
    switch(footerFor)
    {

      case "wwtCorporate":
        footer = footer + "<div id=\"footer\">";

        footer = footer + "<ul style=\"margin-bottom: 0\">";
      	footer = footer + "<li style=\"border-left: solid 0px #000000;\"><a href=\"/company/contact_us.html\">Contact Us</a></li>";
        footer = footer + "<li><a href=\"/e-services.html\">E-Services</a></li>";
      	footer = footer + "<li><a href=\"/portalWeb/appmanager/mac\">Employee Kiosk</a></li>";
        footer = footer + "<li><a href=\"/site_map.html\">Site Map</a></li>";
        footer = footer + "<li><a href=\"/terms_and_conditions.html\">Terms &amp; Conditions</a></li>";
    	  footer = footer + "</ul>";
    	  
        footer = footer + "</div>";
        break;

      case "wwt":
        footer = footer + "<BODY>";

        footer = footer + "<LINK REL=\"StyleSheet\" TYPE=\"text/css\" HREF=\"/stylesheets/wwtSite.css\">";
        footer = footer + "<br>";
        footer = footer + "<br>";
        footer = footer + "<div id=\"footer\" style=\" width:900px \">";

  	    footer = footer + "<ul>";
  		  footer = footer + "<li style=\"border-left: solid 0px #000000;\"><a style=\"font-size: 9px;  font-weight:bold;\" href=\"/company/contact_us.html\">Contact Us</a></li>";
  		  footer = footer + "<li><a style=\"font-size: 9px;  font-weight:bold;\" href=\"/e-services.html\">E-Services</a></li>";
  		  footer = footer + "<li><a style=\"font-size: 9px;  font-weight:bold;\" href=\"/kiosk/kiosk.jsp\">Employee Kiosk</a></li>";
  		  footer = footer + "<li><a style=\"font-size: 9px;  font-weight:bold;\" href=\"/site_map.html\">Site Map</a></li>";
  		  footer = footer + "<li><a style=\"font-size: 9px;  font-weight:bold;\" href=\"/terms_and_conditions.html\">Terms &amp; Conditions</a></li>";
  
  	    footer = footer + "</ul>";
  	    footer = footer + "</div>";
        footer = footer + "</BODY>";
        break;

      default:
        footer = footer + "<BODY>";

        footer = footer + "<LINK REL=\"StyleSheet\" TYPE=\"text/css\" HREF=\"/stylesheets/wwtSite.css\">";
        footer = footer + "<br>";
        footer = footer + "<br>";
        footer = footer + "<div id=\"footer\" style=\" width:900px \">";

  	    footer = footer + "<ul>";
  		  footer = footer + "<li style=\"border-left: solid 0px #000000;\"><a style=\"font-size: 9px;  font-weight:bold;\" href=\"/company/contact_us.html\">Contact Us</a></li>";
  		  footer = footer + "<li><a style=\"font-size: 9px;  font-weight:bold;\" href=\"/e-services.html\">E-Services</a></li>";
  		  footer = footer + "<li><a style=\"font-size: 9px;  font-weight:bold;\" href=\"/kiosk/kiosk.jsp\">Employee Kiosk</a></li>";
  		  footer = footer + "<li><a style=\"font-size: 9px;  font-weight:bold;\" href=\"/site_map.html\">Site Map</a></li>";
  		  footer = footer + "<li><a style=\"font-size: 9px;  font-weight:bold;\" href=\"/terms_and_conditions.html\">Terms &amp; Conditions</a></li>";
  
  	    footer = footer + "</ul>";
  	    footer = footer + "</div>";
        footer = footer + "</BODY>";
        break;

    }
    return(footer);


}


function getFooterFederal()
{
    var footer = "<DIV CLASS=\"footer\" ALIGN=\"CENTER\">";

    footer = footer + "<BR><BR>";
    footer = footer + "<a CLASS=\"footer\" HREF=\"#pageTop\">Back to Top</a>";
    footer = footer + "<BR><BR>";
    footer = footer + "<a CLASS=\"footer\" HREF=\"/federal/index.html\">Home</a> &#149; <a CLASS=\"footer\" HREF=\"/aboutus.html\">About</a> &#149; ";
    footer = footer + "<a CLASS=\"footer\" HREF=\"/online.html\">e-Services</a> &#149; <a CLASS=\"footer\" HREF=\"/newmarket.html\">Markets</a> &#149; ";
    footer = footer + "<a CLASS=\"footer\" HREF=\"/proandserv.html\">Products</a> &#149; <a CLASS=\"footer\" HREF=\"/newsevents.html\">News</a> ";
    footer = footer + "<BR><BR>";
    footer = footer + "<a CLASS=\"footer\" HREF=\"/contactus.html\">Contact Us</a> &#149; <a CLASS=\"footer\" HREF=\"/careers.html\">Careers</a> &#149; <a CLASS=\"footer\" HREF=\"javascript:getKioskURL()\">Kiosk</a> &#149; <a CLASS=\"footer\" HREF=\"/sitemap.html\">Site Map</a>";
    footer = footer + "</DIV>";
    footer = footer + "<BR>";
    return(footer);
}



function getFooterLegal()
{
    var footer = "<BODY>";

    footer = footer + "<LINK REL=\"StyleSheet\" TYPE=\"text/css\" HREF=\"/stylesheets/wwtSite.css\">";
    footer = footer + "<div id=\"footer\" style=\"width: 770px;\" >";

	  footer = footer + "<ul>";
		footer = footer + "<li style=\"border-left: solid 0px #000000;\"><a style=\"font-size: 9px;  font-weight:bold;\" href=\"/company/contact_us.html\">Contact Us</a></li>";
		footer = footer + "<li><a style=\"font-size: 9px;  font-weight:bold;\" href=\"/e-services.html\">E-Services</a></li>";
		footer = footer + "<li><a style=\"font-size: 9px;  font-weight:bold;\" href=\"/kiosk/kiosk.jsp\">Employee Kiosk</a></li>";
		footer = footer + "<li><a style=\"font-size: 9px;  font-weight:bold;\" href=\"/site_map.html\">Site Map</a></li>";
		footer = footer + "<li><a style=\"font-size: 9px;  font-weight:bold;\" href=\"/terms_and_conditions.html\">Terms &amp; Conditions</a></li>";

	  footer = footer + "</ul>";
	  footer = footer + "</div>";
    footer = footer + "</BODY>";
    return(footer);
}

function getPressReleaseMoreInfo()
{
    var moreInfo = "<TABLE BORDER=\"0\" CELLSPACING=\"0\" CELLPADDING=\"0\" CLASS=\"paragraph\">";
    moreInfo = moreInfo + "\t<TR>";
    moreInfo = moreInfo + "\t\t<TD COLSPAN=2>Diana Derrington</TD>";
    moreInfo = moreInfo + "\t</TR>";
    moreInfo = moreInfo + "\t<TR>";
    moreInfo = moreInfo + "\t\t<TD>Phone:</TD>";
    moreInfo = moreInfo + "\t\t<TD>(314) 569-7734</TD>";
    moreInfo = moreInfo + "\t</TR>";
    moreInfo = moreInfo + "\t<TR>";
    moreInfo = moreInfo + "\t\t<TD>FAX:</TD>";
    moreInfo = moreInfo + "\t\t<TD>(314) 569-8300</TD>";
    moreInfo = moreInfo + "\t</TR>";
    moreInfo = moreInfo + "\t<TR>";
    moreInfo = moreInfo + "\t\t<TD COLSPAN=2><A HREF=\"mailto:diana.derrington@wwt.com\">diana.derrington@wwt.com</A></TD>";
    moreInfo = moreInfo + "\t</TR>";
    moreInfo = moreInfo + "</TABLE>";
    return(moreInfo);
}

function getPressReleaseMoreInfoDanWalters()
{
    var moreInfo = "<TABLE BORDER=\"0\" CELLSPACING=\"0\" CELLPADDING=\"0\" CLASS=\"paragraph\">";
    moreInfo = moreInfo + "\t<TR>";
    moreInfo = moreInfo + "\t\t<TD COLSPAN=2>Dan Walters</TD>";
    moreInfo = moreInfo + "\t</TR>";
    moreInfo = moreInfo + "\t<TR>";
    moreInfo = moreInfo + "\t\t<TD>Phone:</TD>";
    moreInfo = moreInfo + "\t\t<TD>(314) 919-1621</TD>";
    moreInfo = moreInfo + "\t</TR>";
    moreInfo = moreInfo + "\t<TR>";
    moreInfo = moreInfo + "\t\t<TD></TD>";
    moreInfo = moreInfo + "\t\t<TD></TD>";
    moreInfo = moreInfo + "\t</TR>";
    moreInfo = moreInfo + "\t<TR>";
    moreInfo = moreInfo + "\t\t<TD COLSPAN=2><A HREF=\"mailto:dan.walters@wwt.com\">dan.walters@wwt.com</A></TD>";
    moreInfo = moreInfo + "\t</TR>";
    moreInfo = moreInfo + "</TABLE>";
    return(moreInfo);
}

function getHeadlineLinksToYears()
{
    var headlines= "Click on year to view Headlines for :<BR><BR>";
    //headlines = headlines + "</TD>";
    //headlines = headlines + "</TR>";
   // headlines = headlines + "<TR>";
   // headlines = headlines + "<TD WIDTH=\"500\" ALIGN=\"LEFT\" VALIGN=\"MIDDLE\" COLSPAN=\"2\">";
    //headlines = headlines + "<UL>";
    headlines = headlines + "<A HREF=\"headlines2005.html\">2005</A>&nbsp;";
    headlines = headlines + "<A HREF=\"headlines2004.html\">2004</A>&nbsp;";
    headlines = headlines + "<A HREF=\"headlines2003.html\">2003</A>&nbsp;";
    headlines = headlines + "<A HREF=\"headlines2002.html\">2002</A>&nbsp;";
    headlines = headlines + "<A HREF=\"headlines2001.html\">2001</A>&nbsp;";
    headlines = headlines + "<A HREF=\"headlines2000.html\">2000</A>&nbsp;";
    headlines = headlines + "<A HREF=\"headlines1999.html\">1999</A>&nbsp;";
    headlines = headlines + "<A HREF=\"headlines1998.html\">1998</A>&nbsp;<BR>";
    headlines = headlines + "<A HREF=\"headlines1997.html\">1997</A>&nbsp;";
    headlines = headlines + "<A HREF=\"headlines1996.html\">1996</A>";
    //headlines = headlines + "</UL>";
    //headlines = headlines + "</TD>";
    return(headlines);
}
function getAwardsLinkToYears()
{
    var awards= "Click on year to view Awards for :<BR><BR>";
    //awards = awards + "</TD>";
    //awards = awards + "</TR>";
   // awards = awards + "<TR>";
   // awards = awards + "<TD WIDTH=\"500\" ALIGN=\"LEFT\" VALIGN=\"MIDDLE\" COLSPAN=\"2\">";
    //awards = awards + "<UL>";
    awards = awards + "<A HREF=\"awards2005.html\">2005</A>&nbsp;";
    awards = awards + "<A HREF=\"awards2004.html\">2004</A>&nbsp;";
    awards = awards + "<A HREF=\"awards2003.html\">2003</A>&nbsp;";
    awards = awards + "<A HREF=\"awards2002.html\">2002</A>&nbsp;";
    awards = awards + "<A HREF=\"awards2001.html\">2001</A>&nbsp;";
    awards = awards + "<A HREF=\"awards2000.html\">2000</A>&nbsp;";
    awards = awards + "<A HREF=\"awards1999.html\">1999</A>&nbsp;";
    awards = awards + "<A HREF=\"awards1998.html\">1998</A>&nbsp;<BR>";
    awards = awards + "<A HREF=\"awards1997.html\">1997</A>&nbsp;";
    awards = awards + "<A HREF=\"awards1996.html\">1996</A>&nbsp;";
    awards = awards + "<A HREF=\"awards1993-1995.html\">1993-1995</A>";
    //awards = awards + "</UL>";
    //awards = awards + "</TD>";
    return(awards);
}

//function getPressreleaseLinksToYears()
//{
//    var press = "<TD WIDTH=\"500\" COLSPAN=\"2\"><BR><BR>";
//    press = press + "Click on year to view Press Releases for : <BR>";
//    press = press + "</TD>";
//    press = press + "</TR>";
//    press = press + "<TR>";
//    press = press + "<TD WIDTH=\"500\" ALIGN=\"LEFT\" VALIGN=\"MIDDLE\" COLSPAN=\"2\">";
//    press = press + "<UL>";
//    press = press + "<A HREF=\"pressreleases2005.html\">2005</A>&nbsp;";
//	  press = press + "<A HREF=\"pressreleases2004.html\">2004</A>&nbsp;";
//    press = press + "<A HREF=\"pressreleases2003.html\">2003</A>&nbsp;";
//    press = press + "<A HREF=\"pressrelease2002.html\">2002</A>&nbsp;";
//    press = press + "<A HREF=\"pressrelease2001-2000.html\">2001-2000</A>";
//    press = press + "</UL>";
//    press = press + "</TD>";
//    return(press);
//}

function getPressreleaseLinksToYears()
{
    var press = "Click on year to view Press Releases for : <BR><BR>";
    press = press + "<A HREF=\"pressreleases2005.html\">2005</A>&nbsp;";
	  press = press + "<A HREF=\"pressreleases2004.html\">2004</A>&nbsp;";
    press = press + "<A HREF=\"pressreleases2003.html\">2003</A>&nbsp;";
    press = press + "<A HREF=\"pressrelease2002.html\">2002</A>&nbsp;";
    press = press + "<A HREF=\"pressrelease2001-2000.html\">2001-2000</A>";
    return(press);
}


function getUsefulLinks()
{
   var links = "<td WIDTH=\"177\" ALIGN=\"left\" VALIGN=\"top\">";
   links = links + "<TABLE border=\"0\" width=\"125\">";
   links = links + "<TR>";
   links = links + "<TD ALIGN=\"CENTER\" VALIGN=\"top\" bgcolor=\"#003366\" width=\"150\">";
   links = links + "<span class = \"whitetxtbold\">Useful Links&nbsp;</span></TD></TR><TR><TD VALIGN=\"MIDDLE\" ALIGN=\"left\" BGCOLOR=\"#EEEEEE\" WIDTH=\"150\">";
   links = links + "<img src=\"/images/bullet.gif\" height=\"8\" width=\"8\">&nbsp;<A href=\"/orderstat\">Order Tracking</A><BR>";
   links = links + "<img src=\"/images/bullet.gif\" height=\"8\" width=\"8\">&nbsp;<A href=\"/federal/index.html#contract\">Contracts</A><BR>";
   links = links + "<img src=\"/images/bullet.gif\" height=\"8\" width=\"8\">&nbsp;<A href=\"/federal/ordering.html\">Ordering</A><BR>";
   links = links + "<img src=\"/images/bullet.gif\" height=\"8\" width=\"8\">&nbsp;<A href=\"/federal/contact.html\">Contact Us</A><BR>";
   links = links + "<img src=\"/images/bullet.gif\" height=\"8\" width=\"8\">&nbsp;<A href=\"/ffaq.html\">FAQs</A><BR>";
   links = links + "</TD>";
   links = links + "</TR>";
   links = links + "</TABLE>";
   links = links + "</td>";
   return(links);
}


function getUsefulfed()
{
   var links = "<td WIDTH=\"250\" ALIGN=\"left\" VALIGN=\"top\">";
   links = links + "<TABLE border=\"0\" width=\"125\">";
   links = links + "<TR>";
   links = links + "<TD ALIGN=\"CENTER\" VALIGN=\"top\" bgcolor=\"#003366\" width=\"150\">";
   links = links + "<span class = \"whitetxtbold\">Useful Links&nbsp;</span></TD></TR><TR><TD VALIGN=\"MIDDLE\" ALIGN=\"left\" BGCOLOR=\"#EEEEEE\" WIDTH=\"150\">";
   links = links + "<img src=\"/images/bullet.gif\" height=\"8\" width=\"8\">&nbsp;<A href=\"/orderstat\">Order Tracking</A><BR>";
   links = links + "<img src=\"/images/bullet.gif\" height=\"8\" width=\"8\">&nbsp;<A href=\"/federal/index.html#contract\">Contracts</A><BR>";
   links = links + "<img src=\"/images/bullet.gif\" height=\"8\" width=\"8\">&nbsp;<A href=\"/federal/ordering.html\">Ordering</A><BR>";
   links = links + "<img src=\"/images/bullet.gif\" height=\"8\" width=\"8\">&nbsp;<A href=\"/federal/contact.html\">Contact Us</A><BR>";
   links = links + "<img src=\"/images/bullet.gif\" height=\"8\" width=\"8\">&nbsp;<A href=\"/ffaq.html\">FAQs</A><BR>";
   links = links + "</TD>";
   links = links + "</TR>";
   links = links + "</TABLE>";
   links = links + "</td>";
   return(links);
}

// IE browser detection
HM_DOM = (document.getElementById) ? true : false;
HM_IE = (document.all) ? true : false;
HM_IE4 = HM_IE && !HM_DOM;
function showSelect()
{
  if(HM_IE || HM_IE4)
  {
    var obj;
    if (document.all)
    {
      for(var i  =  0; i < document.all.tags("select").length; i++)
      {
        obj = document.all.tags("select")[i];
        if(!obj || !obj.offsetParent)
        {
          continue;
        }
        obj.style.visibility = 'visible';
      }
    }
    else
    {
      for(var i  =  0; i < document.forms.length; i++)
      {
        for(var j = 0; j < document.forms[i].elements.length; j++)
        {
          document.forms[i].elements[j].visibility = 'show';
        }
      }
    }
  }
}

function hideSelect()
{
  if(HM_IE || HM_IE4)
  {
    var obj;
    if (document.all)
    {
      for(var i  =  0; i < document.all.tags("select").length; i++)
      {
        obj = document.all.tags("select")[i];
        if(!obj || !obj.offsetParent)
        {
          continue;
        }
        if (obj.title.indexOf("nohide") == -1)
        {
          obj.style.visibility = 'hidden';
        }
      }
    }
    else
    {
      for(var i  =  0; i < document.forms.length; i++)
      {
        for(var j = 0; j < document.forms[i].elements.length; j++)
        {
          if (document.forms[i].elements[j].title.indexOf("nohide") == -1)
          {
            document.forms[i].elements[j].visibility = 'hide';
          }
        }
      }
    }
  }
}

// This function was written to dynamically display the passed registration page link
// This page needs to be passed via registration_page.html?registration_page, add this to the form link
function getURLParam()
{
	var strReturn = "";
	var strHref = window.location.href;
	if ( strHref.indexOf("?") > -1 )
	{
		var strQueryString = strHref.substr((strHref.indexOf("?")+1));
		var strQueryStringHTML = strQueryString + ".html";
		var strReturn = 'Click <a href="'+strQueryStringHTML+'">here</a> to go back to the form.';
	}
	else
	{
		var strReturn = 'Click <a href="javascript:history.go(-1)">here</a> to go back to the form.';
	}
	return strReturn;
} 
