Line Code
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133
<?xml version="1.0"  standalone="no" ?>
<html xmlns       = "http://www.w3.org/1999/xhtml"
      xmlns:svg   = "http://www.w3.org/2000/svg" 
      xmlns:xlink = "http://www.w3.org/1999/xlink">
 <head>
  <link   rel  = "stylesheet" 
 	  type = "text/css" 
 	  href = "css_files/magnifier.css"/>
  <link   rel  = "stylesheet" 
 	  type = "text/css" 
 	  href = "css_files/svgmap.css"/>
 	  
  <script type = "text/javascript"
 	  src  = "js_files/scriptaculous/lib/prototype.js">
  </script>
  <script type = "text/javascript"
 	  src  = "js_files/magnifier.js">
  </script>
  <script type = "text/javascript"
 	  src  = "js_files/svgmap.js">
  </script>
  <script type = "text/javascript"
 	  src  = "js_files/DMLibrary.js">
  </script>
  <script type = "text/javascript"
 	  src  = "WebLib.js">
  </script>
  <script type = "text/javascript"
 	  src  = "js_files/RequestHistos.js">
  </script>

 </head>

 <body bgcolor  = "#414141" 
       onload	= "SvgMap.init();">

  <fieldset style = "margin-top:    0px;
                     margin-bottom: 0px;
                     padding-top:   0px;
		     padding-bottom:0px;
		     border-style:  groove;">
   <legend class = "legend" 
           align = "center">
    Detector elements and controls
   </legend>
   
   <center> 
    <table border = "0">
     <tr>
      <td align = "center">
       <button class = "controlButton" onclick = "SvgMap.zoomIt('FPIX1-z');"  >FPIX-z D1</button> 
       <button class = "controlButton" onclick = "SvgMap.zoomIt('FPIX2-z');"  >FPIX-z D2</button> 
       <button class = "controlButton" onclick = "SvgMap.zoomIt('BPIX1');"    >BPIX L1  </button>  
       <button class = "controlButton" onclick = "SvgMap.zoomIt('BPIX2-3');"  >BPIX L2-3</button>  
       <button class = "controlButton" onclick = "SvgMap.zoomIt('FPIX1+z');"  >FPIX+z D1</button> 
       <button class = "controlButton" onclick = "SvgMap.zoomIt('FPIX2+z');"  >FPIX+z D2</button> 
      </td>
     </tr>
     <tr>
      <td align = "center">
       <button class = "controlButton" onclick = "SvgMap.zoomIt('Home');"     >Home	</button> 
       <button class = "controlButton" onclick = "SvgMap.zoomIt('In');"       >Zoom in  </button>
       <button class = "controlButton" onclick = "SvgMap.zoomIt('Out');"      >Zoom out </button>
       <button class = "controlButton" onclick = "SvgMap.zoomIt('Up');"       >Up	</button> 
       <button class = "controlButton" onclick = "SvgMap.zoomIt('Down');"     >Down	</button> 
       <button class = "controlButton" onclick = "SvgMap.zoomIt('Left');"     >Left	</button>
       <button class = "controlButton" onclick = "SvgMap.zoomIt('Right');"    >Right	</button>
       <button class = "controlButton" onclick = "SvgMap.updateTrackerMap();" >Refresh  </button>
      </td>
     </tr>
    </table>
   </center> 
  </fieldset>

  <table border="1" cellpadding="0" cellspacing="0">
   <tr>
    <td>
     <form action = "javascript:void(0)"
           style  = "color: #ffb400; font-family: Verdana; Arial">
      <h3>
       Color criteria: 
       <input id    = "currentColorCodeME"
     	      class = "inputBox"
              type  = "text" 
              value = "" 
              name  = "currentColorCodeME"
              size  = "40">
       </input>
       View: 
       <input id    = "currentViewText"
     	      class = "inputBox"
              type  = "text" 
              value = "Home" 
              name  = "currentViewText"
              size  = "8">
       </input>
       <br/>
       Det: 
       <input id    = "currentElementText"
 	      class = "inputBox"
 	      type  = "text" 
 	      value = ""
 	      name  = "currentElementText" 
 	      size  = "67">
       </input>
      </h3> 
     </form>
    </td>
   </tr> 
   <tr>
    <td>
    
    <svg:svg id 		 = "clipArea"
 	     width		 = "750" 
 	     height		 = "400"
 	     x  		 = "0"
 	     y  		 = "0"
 	     overflow		 = "hidden"
 	     preserveAspectRatio = "xMidYMid slice" 
 	     viewBox		 = "0 0 3000 1600">
     
     <svg:g id  	 = "tracker"
 	   transform	 = "translate(0,0) rotate(0) scale(1.5,2)" 
 	   style	 = "fill:#d5e6fc;stroke:black;stroke-width:1px;">

      <svg:rect x	 = "-500" 
 		y	 = "-500" 
 		width	 = "6000" 
 		overflow = "hidden" 
 		height   = "8000" 
 		style	 = "fill:#d5e6fc;stroke:red;stroke-width:1px;" />