home *** CD-ROM | disk | FTP | other *** search
/ Chip 2004 July / Chip_2004-07_cd1.bin / tema / kerio / scripts / style.js < prev   
Encoding:
Text File  |  2003-08-09  |  2.3 KB  |  86 lines

  1. //UDM v3.1.1
  2.  
  3.  
  4. //**DO NOT EDIT THIS ******************************************
  5. //*************************************************************
  6. if (!exclude) // document object variable
  7. {
  8.  var d=document;
  9. // adjust for font size discrepancy
  10.  if ((!mac&&ns4)||(mac&&op5))
  11.  {
  12.   fSIZE+=1;
  13.   sfSIZE+=1;
  14.  }
  15. // filter for bad definitions
  16.  if (bSIZE<0)
  17.   bSIZE=0;
  18.  if (fSIZE<5)
  19.   fSIZE=5;
  20.  if (tINDENT<0)
  21.   tINDENT=0;
  22.  if (vPADDING<0)
  23.   vPADDING=0;
  24.  if (sbSIZE<0)
  25.   sbSIZE=0;
  26.  if (sfSIZE<5)
  27.   sfSIZE=5;
  28.  if (stINDENT<0)
  29.   stINDENT=0;
  30.  if (svPADDING<0)
  31.   svPADDING=0;
  32.  if (fWEIGHT=="")
  33.   fWEIGHT="normal";
  34.  if (sfWEIGHT=="")
  35.   sfWEIGHT="normal";
  36. // link style definitions
  37.  var stySTR='';
  38.  stySTR+='<style>\n<!--\n';
  39.  stySTR+='.mTD A \{color:'+aLINK+'\;font-weight:'+fWEIGHT+'\;white-space: nowrap\;\}\n';
  40.  stySTR+='.mTD A:Link \{color:'+aLINK+'\}\n';
  41.  stySTR+='.mTD A:Visited \{color:'+aLINK+'\}\n';
  42.  stySTR+='.mTD A:Active,.mTD A:Link,.mTD A:Visited,.mTD A:Hover\{font-weight:'+fWEIGHT+'\;font-size:'+fSIZE+'px\;font-family:'+fFONT+'\;text-decoration:'+aDEC+'\;position:relative\;\}\n';
  43.  stySTR+='.SUBmTD A \{color:'+saLINK+'\;font-weight:'+sfWEIGHT+'\;white-space: nowrap\;\}\n';
  44.  stySTR+='.SUBmTD A:Link \{color:'+saLINK+'\}\n';
  45.  stySTR+='.SUBmTD A:Visited \{color:'+saLINK+'\}\n';
  46.  stySTR+='.SUBmTD A:Active,.SUBmTD A:Link,.SUBmTD A:Visited,.SUBmTD A:Hover\{font-weight:'+sfWEIGHT+'\;font-size:'+sfSIZE+'px\;font-family:'+sfFONT+'\;text-decoration:'+saDEC+'\;\}\n';
  47.  if (ie5)
  48.  {
  49.   stySTR+='.u\{text-decoration:underline\;\}\n';
  50.  }
  51. //*************************************************************
  52. //****##### USE THIS SPACE FOR NEW STYLE DEFINITIONS #####*****
  53.  
  54.  
  55.  var cl='#0000cc';
  56.  var fs=14;
  57.  if ((win&&ns4)||(mac&&op5))
  58.  {
  59.   fs=15;
  60.   if(ns4)
  61.   {
  62.    cl='#009600';
  63.   }
  64.  }
  65.  stySTR+='.roman \{font-size:'+fs+'px\; color:'+cl+'\; background-color:white\; font-family:times new roman\; \}\n';
  66.  
  67.  
  68. //** DO NOT EDIT THIS ****************************************
  69.  stySTR+='//-->\n</style>\n';
  70.  d.write(stySTR);
  71. }
  72.  
  73. function genericOnloadFunction()
  74. {
  75. //*************************************************************
  76. //****##### USE THIS SPACE TO DEFINE ONLOAD FUNCTIONS #####****
  77.  
  78. //** DO NOT EDIT THIS *****************************************
  79. //*************************************************************
  80.  if (ns4)
  81.  {
  82.   nsinit();
  83.  }
  84. }
  85. //*************************************************************
  86.