document.forms['resultForm'].picSize.value=". $newWidth .""; //echo ""; ?> role == SERVICE_ROLE ) { include 'menuService.htm'; } else if( $user->role == ADMIN_ROLE ) { // admin role include 'menuAdmin.htm'; } else if( $user->role == USER_ROLE ) { // user role include 'menuUser.htm'; } $ChassisList = get_chassis($user); $l = print_r($ChassisList, TRUE); $l = str_replace("\n", "
\n", $l); $l = str_replace(' ', ' ', $l); //echo "$l"; // Put all the Chassis in a HASH table so We can sort the the way we want. // While doing this - get the total size of the Library $libSize = 0; foreach( $ChassisList as $Chass ) { $hChass[ $Chass->location ] = $Chass; list($tmp, $size) = explode('Module', $Chass->model); $libSize += (int)$size; } krsort( $hChass ); $l = print_r($hChass, TRUE); $l = str_replace("\n", "
\n", $l); $l = str_replace(' ', ' ', $l); //echo "$l"; if( $newWidth == 0 ) { //echo "LibSize = ". $libSize ."
"; // Make the default size of the Library fit in the IFRAME if( $libSize <= 14 ) $newWidth = 160; else if( $libSize <= 23 ) $newWidth = 130; else if( $libSize <= 32 ) $newWidth = 100; else $newWidth = 77; } ?>
$chassis ) { switch( $chassis->model ) { case 'ExpansionModule9U': $image = 'images/9U-EM.gif'; $id = ''; $newHeight = $newWidth * .89; // Calc the new Height break; case 'ExpansionModule5U': $image = 'images/5U-EM.gif'; $id = ''; $newHeight = $newWidth * .49; // Calc the new Height break; case 'ControlModule5U': $image = LIB_CM_IMAGE; $id = 'theCM'; $newHeight = $newWidth * .49; // Calc the new Height break; } echo ""; } ?>
Your Library

Select an area of the library below, a menu item, or a subsystem status button.

     Cleaning Drive     
     Storage I/E Station