anchor.diff:  //rbt_image_init();
   </script>
   
  -<div style="height:300px; overflow:auto;">
  +<div style="height:300px;overflow:auto;">
   <graphing:HCPlotReport taskId="<%=key%>" />
   </div>
   <script type="text/javascript">
  
positive.code: -->
  
  <br clear="all"/>
  <graphing:HCPlot taskId="<%=key%>" />
  
  <script language="javascript">
  var rbt_image = document.getElementById("rbt_image");
  
negative.code: t = t.replace(/\\/g,"/");
  */
  //scaling
  //var ow = rbt_image.width;
  //var oh = rbt_image.height;
  var ow = rbt_image.getAttribute("width");
  var oh = rbt_image.getAttribute("height");
  
  var w = rbt_image.getAttribute("width");
  var h = rbt_image.getAttribute("height");
  
  var newWidth = 600;
  var newHeight = 100;
  
  if(ow > newWidth)	{
  	var ratio = (ow/oh);
  	//if the ratio is > 10, resize via fixed height
  	if(ratio < 10)	{
  		w = newWidth;
  		h = Math.round((newWidth / ratio));
  	}
  	else	{
  		h = newHeight;
  		w = Math.round((newHeight * ratio)); //other way in case	
  	}
  	rbt_image.height = h;
  	rbt_image.width = w;
  }
  