/* 6,0,0,201
--------------------------------------------------------------------------

Copyright (c) 2001-9 Corporate Practical Solutions and Partners.

This software is the property of Corporate Practical Solutions and Partners.

No part of this software may be reproduced in any form,
without the prior consent of Corporate Practical Solutions.

--------------------------------------------------------------------------
*/
  function UpdateLicense() { var HTML, XML;  HTML = '<table width="100%" border="0" cellspacing="0" cellpadding="4"><td class="MediumHeadline" align="left">Database status<br><center><img src="Images/Assets/8004.jpg" height="1" width="90%"></center></td></tr><tr><td class="SmallestHeadline" align="center">Version ' + MSIServerVersion + '</td></tr>'; if (ExpiryInfo == "") ExpiryInfo = "systemhound is permanently licensed for " + MaximumMachines + " machines"; else ExpiryInfo = "systemhound evaluation will end on " + ExpiryInfo; HTML = HTML + '<tr><td class="SmallestHeadline" align="center"><br>The database was last updated on ' + AsciiDateTime(LastUpdate) + '<br><br>' + ExpiryInfo + '</td></tr></table>'; myGetElementById("LicenseText").innerHTML = HTML; myGetElementById("LicenseInfoSpan").innerHTML = ExternalLink3Info;  if (MaximumMachines > 0) { XML = LicenseXML();
 HTML = '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="' + FlashCodeBase + '" width="30" height="125" viewastext><param name="movie" value="Charts/2DColumnS.swf?dataXML=' + XML + '&amp;chartWidth=30&amp;chartHeight=125"><param name="FlashVars" value=""><param name="quality" value="high"><param name="bgcolor" value="#' + DP_BGColor + '"><embed src="Charts/2DColumnS.swf?dataXML=' + XML + '&amp;chartWidth=30&amp;chartHeight=125" flashvars="" quality="high" bgcolor="#' + DP_BGColor + '" width="30" height="125" align type="application/x-shockwave-flash" pluginspage="' + FlashCodeBase2 + '"></embed></object>'; myGetElementById("LicenseMeter").innerHTML = HTML; } }  function LicenseXML() { var	ChartOptions, Value;  if (GB_AnimateCharts) ChartOptions = "animation='1'"; else ChartOptions = "animation='0'";  Value = MaximumMachines - HW_MachineCount; if (Value < 0) Value = 0; 
 return('<graph canvasBorderThickness=\'0\' canvasBorderColor=\'FFFFFF\' showhovercap=\'0\'  chartLeftMargin=\'0\' chartRightMargin=\'0\' chartTopMargin=\'0\' chartBottomMargin=\'0\' canvasBaseDepth=\'2\' canvasBgColor=\'FFFFFF\' showNames=\'0\' showValues=\'0\' showLimits=\'0\' showLegend=\'0\' showDivLineValue=\'0\' showName=\'0\' showCanvasBase=\'0\' showCanvasBg=\'0\' numdivlines=\'0\' decimalPrecision=\'0\' ' + ChartOptions + '><categories><category name=\'Licenses\' showName=\'0\' /></categories><dataset seriesName=\'Used\' color=\'E1795C\' showValues=\'0\'><set value=\'' + HW_MachineCount + '\' alpha=\'100\' /></dataset><dataset seriesName=\'Available\' color=\'669D75\'><set value=\'' + Value + '\' alpha=\'100\' /></dataset></graph>'); }