

	// Load the number images
	one_off = CreateImage( "/quickstart/pix/1_off.png" );
	one_on = CreateImage( "/quickstart/pix/1_on.png" );

	two_off = CreateImage( "/quickstart/pix/2_off.png" );
	two_on = CreateImage( "/quickstart/pix/2_on.png" );	
	
	three_off = CreateImage( "/quickstart/pix/3_off.png" );
	three_on = CreateImage( "/quickstart/pix/3_on.png" );		
	
	four_off = CreateImage( "/quickstart/pix/4_off.png" );
	four_on = CreateImage( "/quickstart/pix/4_on.png" );	

    var strSelectedFeature = String( "one" );
    // Use when you don't have an initial default layer and you don't want the selected layer to disappear upon same 2nd click
    function FeatureLayer(strFeature)
    {
		    if ( strSelectedFeature != strFeature )
		    {
                ChangeImage( strSelectedFeature, strSelectedFeature + '_off' );
                ChangeImage( strFeature, strFeature + '_on' );
			    DocumentObject( 'feature-contents-' + strSelectedFeature, true ).display = "none";
			    DocumentObject( 'feature-contents-' + strFeature, true ).display = "inline";
    				
			    strSelectedFeature = strFeature
		    }
    }

    function FeatureOver( strFeature )
    {
	    if ( strFeature != strSelectedFeature )
	    {
		    ChangeImage( strFeature, strFeature + '_on' );
	    }
	    return;
    }

    function FeatureOut( strFeature )
    {
	    if ( strFeature != strSelectedFeature )
	    {
		    ChangeImage( strFeature, strFeature + '_off' );
	    }
	    return;
    }	
	
	
	