/** PRELOAD SCRIPT ------------------- BEGIN */

preload1 = new Image;
preload1.src = './images/homeHM-on.gif';
preload2 = new Image;
preload2.src = './images/strategyHM-on.gif';	/** PATHWAYS **/
preload3 = new Image;
preload3.src = './images/servicesHM-on.gif';
preload4 = new Image;
preload4.src = './images/portfolioHM-on.gif';
preload5 = new Image;
preload5.src = './images/resourcesHM-on.gif';
preload6 = new Image;
preload6.src = './images/aboutHM-on.gif';
preload7 = new Image;
preload7.src = './images/contactHM-on.gif';
preload8 = new Image;
preload8.src = 'http://www.insiteunlimited.com/images/henry-on.gif';
preload9 = new Image;
preload9.src = 'http://www.insiteunlimited.com/images/bni-on.gif';
preload10 = new Image;
preload10.src = 'http://www.insiteunlimited.com/images/forsberg-on.gif';
preload11 = new Image;
preload11.src = 'http://www.insiteunlimited.com/images/rm710-on.gif';
preload12 = new Image;
preload12.src = 'http://www.insiteunlimited.com/images/adm-on.gif';
preload13 = new Image;
preload13.src = 'http://www.insiteunlimited.com/images/edii-on.gif';
preload14 = new Image;
preload14.src = 'http://www.insiteunlimited.com/images/lewist-on.gif';

/** PRELOAD SCRIPT --------------------- END */


/** IMPORTING CSS FILE FOR MOZILLA/OPERA USERS ---------------------- BEGIN */

/**
 * if (navigator.appName.indexOf('Netscape') != -1)
 *     document.write('<link rel="styleSheet" type="text/css" href="http://www.insiteunlimited.com/insight-unlimited-style-MOZ.css" />'); 
 * if (navigator.appVersion.indexOf('Opera') != -1)
 *     document.write('<link rel="styleSheet" type="text/css" href="http://www.insiteunlimited.com/insight-unlimited-style-MOZ.css" />'); 
 *
 */

/** IMPORTING CSS FILE FOR MOZILLA/OPERA USERS ---------------------- END */



/** ROLLOVER SCRIPT -------------------- BEGIN */
function on(name) {
	if (document[name])
	document[name].src = './images/' + name + '-on.gif';  /** PATHWAYS **/
}

function off(name){
	if (document[name])
	document[name].src = './images/' + name + '-off.gif';  /** PATHWAYS **/
}

/**
 * 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="" height="" border="0" name="name" alt="" /></a>
 *
 */

/** ROLLOVER SCRIPT -------------------------- END*/


/** DAUGHTER WINDOW SCRIPT ------------------------- BEGIN */
function newWindow(URL) {
	window.open(URL, "daughterwin", "width=580,height=480,top=20,left=20,resizable=yes,scrollbars=yes,toolbar=yes,location=no,always raised")
}

/**
 * NOTE: FOR ACCESSIBILITY, do I need a <noscript> statement?
 *		 Where on the Web page is the <noscript> statment placed?
 *
 *
 * NOTE: CSS book has a different 'open window' script for use w/DHTML
 *		 Is there anything wrong with just using this one?  It takes up
 *		 less space. --- Is the new code more accessible?
 */
 
/** DAUGHTER WINDOW 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=InsiteUnlimited.com Visitor Question" + "\">" + text + "</a>");
}

/** EMAIL HIDER SCRIPT ----------------------------- END */
