

	// Load the number images
	two_off = CreateImage( "/protect/pix/th-printer-off.png" );
	two_on = CreateImage( "/protect/pix/th-printer-on.png" );

	three_off = CreateImage( "/protect/pix/th-harddrive-off.png" );
	three_on = CreateImage( "/protect/pix/th-harddrive-on.png" );		
	
	four_off = CreateImage( "/protect/pix/th-opticalmedia-off.png" );
	four_on = CreateImage( "/protect/pix/th-opticalmedia-on.png" );	

	five_off = CreateImage( "/protect/pix/th-online-off.png" );
	five_on = CreateImage( "/protect/pix/th-online-on.png" );
	
	six_off = CreateImage( "/protect/pix/th-cameracard-off.png" );
	six_on = CreateImage( "/protect/pix/th-cameracard-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 )
		    {
                if ( strSelectedFeature != "one"  &&  strSelectedFeature != "" ) {
					ChangeImage( strSelectedFeature, strSelectedFeature + '_off' );
				}
                ChangeImage( strFeature, strFeature + '_on' );
			    DocumentObject( 'feature-contents-' + strSelectedFeature, true ).display = "none";
			    DocumentObject( 'feature-contents-' + strFeature, true ).display = "inline";
    				
			    strSelectedFeature = strFeature
		    } else {
                if ( strSelectedFeature != "one"  &&  strSelectedFeature != "" ) {
					ChangeImage( strSelectedFeature, strSelectedFeature + '_off' );
				}
			    DocumentObject( 'feature-contents-' + strSelectedFeature, true ).display = "none";
			    DocumentObject( 'feature-contents-' + 'one', true ).display = "inline";
			    strSelectedFeature = 'one';
		    }
    }

    function FeatureOver( strFeature ) {
	    if ( strFeature != strSelectedFeature ) {
			if ( strFeature != "one" ) {
				ChangeImage( strFeature, strFeature + '_on' );
			}
	    }
	    return;
    }

    function FeatureOut( strFeature ) {
	    if ( strFeature != strSelectedFeature ) {
			if ( strFeature != "one" ) {
				ChangeImage( strFeature, strFeature + '_off' );
			}
	    }
	    return;
    }	