	if ( _js_ >= 1.1 ){
		var imageArray = new Array();
		var imageCount = 0;
	}
	function preloadImage( name, off, on ){
		//-- FUNCTION : handles the loading of images for 
		//--		    the menu bar.
		//-- INPUT    :
		//-- OUTPUT   :
		
		if ( _js_ >= 1.1 ) {         
			imageArray[imageCount] = new Array(3);

			imageArray[imageCount][0] = new Image();    
			imageArray[imageCount][0].src = off;

			imageArray[imageCount][1] = new Image();    
			imageArray[imageCount][1].src = on;

			imageArray[imageCount][2] = name;    

			imageCount++;  
		}
	}
	function imageOn( name ){
		//-- FUNCTION :
		//-- INPUT    :
		//-- OUTPUT   :			
		status = name;
		
		if ( _js_ >= 1.1 ){
			for ( i = 0; i < imageCount; i++ ){
				if ( document.images[imageArray[i][2]] != null ){
					if ( name != imageArray[i][2] ){
						document.images[imageArray[i][2]].src = imageArray[i][0].src;
					}
					else{
						document.images[imageArray[i][2]].src = imageArray[i][1].src;
					}
				}
			}
		}
		return true;
	}
	function imageOff(){
		//-- FUNCTION :
		//-- INPUT    :
		//-- OUTPUT   :				
		status = '';

		if ( _js_ >= 1.1 ) {
			for ( i = 0; i < imageCount; i++ ){
				if ( document.images[imageArray[i][2]] != null ){
					document.images[imageArray[i][2]].src = imageArray[i][0].src;
				}
			}
		}
		return true;
	}

function handleClickEvent( p_sOperation ){
  //-- FUNCTION : receives the URL to view the detail information for
  //			    the order item.  The last parameter of the sPOP_URL is the
  //			    item count of how many elements are in the current order.
  //			    If for some reason the value is null then it is set to 0.
  //-- INPUT     : p_sOperation - parameter containing the variable clicked from
  //--             home.asp
  //-- OUTPUT    : Nothing.
  //-- NOTES	 :
  //-- PAGE USED : home.ASP
  //-- HTML OBJECTS REQUIRED: None
  if (p_sOperation != ''){
	var sMSG = ' operation not available.';
	sMSG = '[ ' + p_sOperation  + ' ]' + sMSG;
	if (p_sOperation == 'Exit'){
		alert('Exit is operational..\nGood-bye now..');
		window.document.location.href = 'http://intranet.otis.com';
		return;
		}
	alert(sMSG);
  }
  return;
}
	
function StatMsg( p_sMSG, p_mode ){
  if ( p_mode == "on" ){
	status = p_sMSG;
  }
  if ( p_mode == "off" ){
	status = '';
  }
  return true;
}


//-- BEGIN IMAGE LOAD
preloadImage( "Home", "home.jpg", "home1.jpg" );
preloadImage( "About Us", "about.jpg", "about1.jpg" );
preloadImage( "History", "history.jpg", "history1.jpg" );
preloadImage( "Press Releases", "pr.jpg", "pr1.jpg" );
preloadImage( "Schedule", "dates.jpg", "dates1.jpg" );
preloadImage( "Downloads", "down.jpg", "downon.jpg" );
preloadImage( "Merchandise", "merc.jpg", "merc1.jpg" );
preloadImage( "Contact Us", "contact.jpg", "contact1.jpg" );
preloadImage( "Links", "links.jpg", "links1.jpg" );
