/** PRELOAD SCRIPT ------------------- BEGIN */

preload1 = new Image;
preload1.src = './images/advantage-on.gif';	
preload2 = new Image;
preload2.src = './images/services-on.gif';
preload3 = new Image;
preload3.src = './images/clients-on.gif';
preload4 = new Image;
preload4.src = './images/about-on.gif';
preload5 = new Image;
preload5.src = './images/awards-on.gif';
preload6 = new Image;
preload6.src = './images/estimate-on.gif';
preload7 = new Image;
preload7.src = './images/contact-on.gif';

/** PRELOAD SCRIPT --------------------- END */



if (navigator.appName.indexOf('Netscape') != -1)
	document.write('<link rel="styleSheet" type="text/css" href="./lewis-taylor-style-MOZ.css" />'); 
if (navigator.appVersion.indexOf('Opera') != -1)
	document.write('<link rel="styleSheet" type="text/css" href="./lewis-taylor-style-MOZ.css" />'); 




/** ROLLOVER SCRIPT -------------------- BEGIN */
function on(name) {
	if (document[name])
	document[name].src = './images/' + name + '-on.gif';
}

function off(name){
	if (document[name])
	document[name].src = './images/' + name + '-off.gif';
}

/**
 * Code for calling rollover script
 * Include on webpage, is of no use here, just a reminder of what to include
 * <a href="#" onmouseover="on('name');" onmouseout="off('name');"><img src="./images/name-off.gif" width="58" height="29" border="0" name="name" alt="" /></a>
 *
 */

/** ROLLOVER SCRIPT -------------------------- END*/



/** EMAIL HIDER SCRIPT ----------------------------- BEGIN */
/**
 * Copyright (C) 2004, CodeHouse.com. All rights reserved.
 * CodeHouse(TM) is a registered trademark.
 *
 * THIS SOURCE CODE MAY BE USED FREELY PROVIDED THAT
 * IT IS NOT MODIFIED OR DISTRIBUTED, AND IT IS USED
 * ON A PUBLICLY ACCESSIBLE INTERNET WEB SITE.
 *
 * Script Name: E-mail Hider
 *
 * You can obtain this script at http://www.codehouse.com
 */
 
function email(name, domain, suffix, text)
{
   var address = name + "\u0040" + domain + "." + suffix;
   var url = "mailto:" + address;

   if( ! text )
   {
      text = address;
   }

   document.write("<a href=\"" + url + "?subject=LewisTaylor.com Visitor Question" + "\">" + text + "</a>");
}

/** EMAIL HIDER SCRIPT ----------------------------- END */

