/* "@(#)Script: navproto.js, version 1.102, date 06/08/01 NL" */
// convenience class for creating the breadcrumb navigation
// utilizes navlib.js

// add the products
PRODUCTS = new Object();
PRODUCTS.paam = "PAAM";

// add the services
SERVICES = new Object();
SERVICES.authorization = "Authorization";
SERVICES.networkElementList = "Network Element List";
SERVICES.displayItem = "Display Item";
SERVICES.display = "Display";

// add the actions
ACTIONS = new Object();
ACTIONS.add = "Create";
ACTIONS.remove = "Remove";
ACTIONS.edit = "Edit";
ACTIONS.show = "Show";
ACTIONS.login = "Login";
ACTIONS.logout = "Logout";
ACTIONS.changePassword = "Change Password";

function breadcrumbs( product, service, action ) {

	addNavigation( "breadcrumbs", null );
	
	if ( action ) {
  	  addTextButton( "breadcrumbs", product, "../index.html" );
          addTextButton( "breadcrumbs", service, "index.html" );
          addTextButton( "breadcrumbs", action, null );
	} else if ( service ) {
  	  addTextButton( "breadcrumbs", product, "../index.html" );
          addTextButton( "breadcrumbs", service, null );
	} else {
  	  addTextButton( "breadcrumbs", product, null );
	}

	displayNavigation( "breadcrumbs" );

}

function footprints( relativeDir ) {
	imageDir = relativeDir + "images/layout/navigation/";

	addNavigation( "footprints", "&nbsp;" );

	addImageButton( "footprints", imageDir + "dgbut.gif", 
	                135, 130, relativeDir + "index.html" );
        addImageButton( "footprints", imageDir + "wcbut.gif", 
                        140, 130, relativeDir + "customer/index.html" );
        addImageButton( "footprints", imageDir + "sdbut.gif", 
                        135, 130, relativeDir + "service/index.html" );
        addImageButton( "footprints", imageDir + "mgbut.gif", 
                        135, 130, relativeDir + "restoration/index.html" );

	displayNavigation( "footprints" );
}
