<!--
   var StyleSheet=new Array(); var Style;

   StyleSheet[1] = "style640"; StyleSheet[2] = "style800"; StyleSheet[3] = "style1024";

   SizeSet=1; Style=1;

   function display(text) {window.status=text; window.defaultStatus=text; return true;}

   window.onerror=errorhandler
   function errorhandler(msg, url, lno) {
      if (msg=="screen is not defined") {return true;} else {return false;}
   }

   function resize() {
      if (screen.width < 800)
         SizeSet=1;
      else if (screen.width < 1024)
         SizeSet=2;
      else SizeSet=3;
      return true;
   }

   function setActiveStyleSheet(title) {
      var i, a, main;
      for(i=0; (a = document.getElementsByTagName("link")[i]); i++) {
        if(a.getAttribute("rel").indexOf("style") != -1
           && a.getAttribute("title")) {
          a.disabled = true;
          if(a.getAttribute("title") == title) a.disabled = false;
        }
      }
   }

   function SetPicRelative(pic_name) {
      var pic_ID=document.getElementById(pic_name);

      if (SizeSet==1) {
         pic_ID.height=pic_ID.height*0.64;
         pic_ID.width=pic_ID.width*0.64;
      }

      if (SizeSet==2) {
         pic_ID.height=pic_ID.height*0.8;
         pic_ID.width=pic_ID.width*0.8;
      }

      return true;
   }

   function ScalePic(pic_name, pic_scale) {
      var pic_ID=document.getElementById(pic_name);

      if (SizeSet==1) {
         pic_ID.height=pic_ID.height*0.64*pic_scale;
         pic_ID.width=pic_ID.width*0.64*pic_scale;
      }

      if (SizeSet==2) {
         pic_ID.height=pic_ID.height*0.8*pic_scale;
         pic_ID.width=pic_ID.width*0.8*pic_scale;
      }

      if (SizeSet==3) {
         pic_ID.height=pic_ID.height*pic_scale;
         pic_ID.width=pic_ID.width*pic_scale;
      }

      return true;
   }

   function SetPic(pic_count) {
      var j;

      for (j=1; j<=pic_count; j++) {SetPicRelative("pic"+j);}

      return true;
   }

   resize();

   if (Style==1) setActiveStyleSheet(StyleSheet[SizeSet]);

//-->
