

        <!-- Hide from JavaScript-Impaired Browsers
        function displayDate() {
                 var isnMonths=new Array("January","February","March","April",
                                         "May","June","July","August","September",
                                         "October","November","December");
                 var   isnDays=new Array("Sunday","Monday","Tuesday","Wednesday",
                                         "Thursday","Friday","Saturday","Sunday");
                 today=new Date();
                 year = today.getYear();
                 if (year < 10) year=year+2000;  // (y2k check)
                 if (year < 2000) year=year+1900;  // (y2k check)
                 document.write(isnDays[today.getDay()]+", "+isnMonths[today.getMonth()]+" "+today.getDate()+", "+year);
                 }
        // End Hiding -->


// ----------- Preloading Images  ----------------------
function preload() {
  var ar = new Array('images/tp2-on_2x1.gif', 'images/tp2-on_3x1.gif', 'images/tp2-on_4x1.gif', 'images/tp2-on_5x1.gif', 'images/tp2-on_6x1.gif', 'images/tp2-on_7x1.gif');
  var arguments = preload.arguments;
  for (var i = 0; i < arguments.length; i++) {
    ar[i] = new Image();
    ar[i].src = arguments[i];
  }
}

// ------------------ dropdown --------------------------------

var left_corner_x =180; // x-coordinate of top left corner of dropdown menu 
var left_corner_y = 445; // y-coordinate of top left corner of dropdown menu 
var back_color = '#FFFFFF'; // the background color of dropdown menu 
var border_color = 'black'; // the color of dropdown menu border
var border_size  = '1'; // the width of dropdown menu border
var menu_width   = '265'; // the width of dropdown menu 

//// Don't change these parameters
var delay  = 500; /////
var active_layer_id = -1;  /////
var on_layer_id  = -1;  /////
var buff_id  = -1;  /////
/// ----------------------------
//Script developed by Alexey
//for support visit http://www.geocities.com/menulite
//submitted to A1 JavaScripts - www.a1javascripts.com
// menu content; the dropdown menus themselves between '' and items of every dropdown menu are diveded by |; 
// 
                              
menu_content = new Array ('<a href="air.shtm" class="subMenu"><nobr>Understanding Aerial Infrared Thermography</nobr></a> <br> <a href="air.shtm#rms" class="subMenu"><nobr>Roof Moisture Survey</nobr></a> <br> <a href="air.shtm#usdoe" class="subMenu"><nobr>U.S. Department of Energy&#39;s Disturbing Facts</nobr></a> <br> <a href="air.shtm#ancen" class="subMenu"><nobr>Animal Census</nobr></a> <br> <a href="air.shtm#ens" class="subMenu"><nobr>Environmental Surveys</nobr></a> <br> <a href="air.shtm#pols" class="subMenu"><nobr>Pollution Survey</nobr></a> <br>',
                          '<a href="emir.shtm" class="subMenu"><nobr>Electrical P/PM</nobr></a> <br> <a href="emir.shtm#usat" class="subMenu"><nobr>Utility Substations &amp; Transformers</nobr></a> <br> <a href="emir.shtm#msil" class="subMenu"><nobr>Main Switchgear, Incoming Lines</nobr></a> <br> <a href="emir.shtm#lvep" class="subMenu"><nobr>Low Voltage Electrical P / PM</nobr></a> <br> <a href="emir.shtm#mppm" class="subMenu"><nobr>Mechanical P / PM</nobr></a> <br>',
                          '<a href="pcrd.shtm" class="subMenu"><nobr>Mold &amp; Moisture Detection</nobr></a> <br> <a href="pcrd.shtm#iap" class="subMenu"><nobr>Infrared Analysis of Product</nobr></a> <br> <a href="pcrd.shtm#cbia" class="subMenu"><nobr>Circuit Board Infrared Analysis</nobr></a> <br>',
                          '<a href="bqa.shtm" class="subMenu"><nobr>Building Heat Loss Analysis</nobr></a>');



// -------------------------------- the menu ----------------------

//Script developed by Alexey
//for support visit http://www.geocities.com/menulite
//submitted to A1 JavaScripts - www.a1javascripts.com
// check browser version

ns6 = (document.getElementById && !document.all)? true : false;

function layer_enter (id) {
                           on_layer_id = id;
                           }

function layer_exit (id) {
                          on_layer_id = - 1;
                          setTimeout ('hide('+ id +')', delay/5);
                          }

function menu_enter (id) {
                          if (buff_id >= 0)
                          hide (buff_id);
                          show (id);
                          active_layer_id = id;
                          }

function menu_exit (id) {
                         setTimeout ('hide('+ id +')', delay);
                         buff_id = active_layer_id;
                         active_layer_id = -1;
                         }

function show (id) {
                    if (!ns6) document.all['Menu' + id].style.visibility = "visible";
                       	else document.getElementById(id).style.visibility = "visible";
                    }

function hide (id) {
                    if (active_layer_id != id && on_layer_id != id)
                       {if (!ns6) document.all['Menu' + id].style.visibility = "hidden";
                           else document.getElementById(id).style.visibility = "hidden";
                        }
                    }

function generate_layers ()
                         {
                          for (i = 0; i < menu_content.length; i++)
                              { if (!ns6) layer_header = '<div id=Menu' + i + ' onMouseOver="layer_enter (' + i + ');" onMouseOut = "layer_exit (' + i + ');"' + ' style="visibility: hidden; position: absolute; left: ' + left_corner_x + '; top: ' + (left_corner_y + 60*i) + ';">';
                                   else layer_header = '<div id=' + i + ' onMouseOver="layer_enter (' + i + ');" onMouseOut = "layer_exit (' + i + ');"' + ' style="visibility: hidden; position: absolute; left: ' + left_corner_x + '; top: ' + (left_corner_y + 60*i) + ';">';
                                layer_header += '<table width=' + menu_width + ' cellpadding=0 cellspacing=0 border=0>' + '<td bgcolor=' + border_color + '><table width=' + menu_width + ' cellpadding=3 ' + 'cellspacing=' + border_size + ' border=0><td width=' + menu_width + ' bgcolor=' + back_color + '>';
                                elements = menu_content[i].split (/\s*\|\s*/);
                                layer_body = '';
                                for (j = 0; j < elements.length; j++)
                                    { layer_body += elements[j];	
                                      if ((ns6 && j < elements.length - 1) || (!ns6 && j < elements.length - 1)) layer_body += '<hr width=' + (menu_width - 8) + ' size=1 color='+ border_color + '>';
                                      }
                                layer_footer = '</td></table></td></table>';
                                if (!ns6) layer_footer += '</div>';
                                   else layer_footer += '</div>';
                                document.writeln (layer_header + layer_body + layer_footer);
                                }
                          }
                         generate_layers ();





