<!-- BLOCK OLD BROWSERS                 == Coded by The Doc ==

/*
 *              This code is copyright (c) 1997-2005 Sharp Designs.
 *              This code is reusable BY PERMISSION ONLY!
 *              If you are interested in using the code, contact
 *              info@sharpdesigns.com
 */

//*****************************************************************

var bNetscape4     = false;
var bNetscape6     = false;
var bExplorer4plus = false;
var bOpera5        = false;

if ( (navigator.userAgent.indexOf("Opera 5") > -1) || (navigator.userAgent.indexOf("Opera/5") > -1) ) {	bOpera5 = true; }
else if ( navigator.appName == "Microsoft Internet Explorer" && navigator.appVersion.substring(0,1) >= "4" ) {	bExplorer4plus = true; }
else if ( navigator.appName == "Netscape" && navigator.appVersion.substring(0,1) == "4" ) {	bNetscape4 = true; }
else if ( navigator.appName == "Netscape" && navigator.appVersion.substring(0,1) >= "5" ) {	bNetscape6 = true; }

var ImagesDir = "images/";

if (document.images) {
		/*   HOME  */
		home_over = new Image();
		home_over.src = ImagesDir + "house-icon-red.gif";
		home_out = new Image();
		home_out.src = ImagesDir + "house-icon-brown.gif";
		/*   CONTACT   */	
		contact_over = new Image();
		contact_over.src = ImagesDir + "mail-icon-red.gif";
		contact_out = new Image();
		contact_out.src = ImagesDir + "mail-icon-brown.gif";
}
	
      function SwapImage(imageName, bHilite) {
        if (document.images) {
          imageOver = eval(imageName + ((bHilite == 1) ? "_over.src" : "_out.src"));
		  if ( bExplorer4plus || bNetscape6 || bOpera5 ) {
             document [imageName].src = imageOver;
		  }
		  else if ( bNetscape4 ) {
		     document.layers["divMenu"].document.images[imageName].src = imageOver;
		  }
		  else return false;
        }
      }

//*****************************************************************

//  BLOCK OLD BROWSERS  -->
