<!--
function getCalendarDate()
{
   var months = new Array(13);
   months[0]  = "January";
   months[1]  = "February";
   months[2]  = "March";
   months[3]  = "April";
   months[4]  = "May";
   months[5]  = "June";
   months[6]  = "July";
   months[7]  = "August";
   months[8]  = "September";
   months[9]  = "October";
   months[10] = "November";
   months[11] = "December";
   var now         = new Date();
   var monthnumber = now.getMonth();
   var monthname   = months[monthnumber];
   var monthday    = now.getDate();
   var year        = now.getYear();
   
   var suffix      = "th";
   var strday = monthday.toString();
   var number1index = strday.charAt(1);
   var number2index = strday.charAt(1);
   var number3index = strday.charAt(1);
   
     if (number1index == 1 || (strday.length == 1 && monthday == 1)) { suffix = "st"; }
   	 if (number2index == 2 || (strday.length == 1 && monthday == 2)) { suffix = "nd"; }
   	 if (number3index == 3 || (strday.length == 1 && monthday == 3)) { suffix = "rd"; }

   if(year < 2000) { year = year + 1900; }
   var dateString = monthday + suffix +
   					' ' + 
   					monthname +
					' ' +
                    //', ' + 
                    year;
   return dateString;
} // function getCalendarDate()

function getClockTime()
{
   var now    = new Date();
   var hour   = now.getHours();
   var minute = now.getMinutes();
   var second = now.getSeconds();
   var ap = "AM";
   if (hour   > 11) { ap = "PM";             }
   if (hour   > 12) { hour = hour - 12;      }
   if (hour   == 0) { hour = 12;             }
   if (hour   < 10) { hour   = "0" + hour;   }
   if (minute < 10) { minute = "0" + minute; }
   if (second < 10) { second = "0" + second; }
   var timeString = hour + 
                    ':' + 
                    minute + 
                    //':' + 
                    //second + 
                    " " + 
                    ap;
   return timeString;
} // function getClockTime()


//-->
document.write('<div id="globalTools">');
document.write('<form action="shopsearch.asp?search=Yes" method="post" id="formSch" name="formSch">');
document.write('Search&nbsp;<input type="text" name="keyword" size="20" value="search this site" onClick="clearfield()">');
document.write('&nbsp;<input type="image" value="Search" align="bottom" src="images/header/lh_search_red.jpg" alt="Submit Button">');
document.write('<!--<a href="#">Login to your account</a> |');
document.write('<a href="#" class="shoppingCart">View your cart</a>--> |');
document.write('<span class="date">'+getCalendarDate()+', '+getClockTime()+'</span>');
document.write('</form></div>');
//document.write('<br /><a href="shopsearch.asp">Advanced Search</a>');
