
	var url;
	var data="";
	var new_data="";

        var zeroComm = "Reactions";
        var humComm = "Just one reaction";
        var enesComm = "Several reactions";


	function abre(url,w,h,scr) 
	{
          window.open(url,'comments','width='+w+',height='+h+',directories=0,location=0,menubar=0,resizable=0,scrollbars='+scr+',status=0,toolbar=0,marginleft=0,margintop=0,left=25,top=25');
	}

	function commentText(qtd) 
	{
          txtFinal = "Reaction(s): "+qtd;
	  return txtFinal;
	}

         <!--
            menu_status = new Array();
         
            function showHide(theid)
            {
               if (document.getElementById) 
               {
                  var switch_id = document.getElementById(theid);
                  if (menu_status[theid] != 'show') 
                  {
                     switch_id.className = 'show';
                     menu_status[theid] = 'show';
                  } else {
                     switch_id.className = 'hide';
                     menu_status[theid] = 'hide';
                  }
               }
            }
         //-->

	function show(foto, desc) 
	{
         _console=window.open('http://www.icongames.com.br/showphoto.htm?&fname='+foto+'&desc='+desc,'console','toolbar=no,location=no,directories=no,status=no,menubar=no,width=660,height=540, resizeable=no, left=0,top=0');
	}

        function showvid(url)
        {
         _console=window.open('http://www.icongames.com.br/showvid.htm?&url='+url,'console','toolbar=no,location=no,directories=no,status=no,menubar=no, width=445, height=370, resizeable=no, left=0,top=0');
        }

	function featsite()
	{
         var sites=new Array(17);
         var URLs =new Array(17);
         var descs=new Array(17);

         URLs[1]="http://www.icongames.com.br/msxfiles/"; sites[1]="The MSX Files"; descs[1]="You are here!"; 
	 URLs[2]="http://www.msx.org"; sites[2]="MSX Resource Center"; descs[2]="Your MSX central of information";
	 URLs[3]="http://www.faq.msxnet.org"; sites[3]="The Ultimate MSX Faq"; descs[3]="Got any MSX question? Here's the answer!";
	 URLs[4]="http://uzix.sf.net"; sites[4]="UZIX"; descs[4]="Unix on your MSX!";
	 URLs[5]="http://www.msxposse.com"; sites[5]="MSX Posse"; descs[5]="a multi-language discussion board";
	 URLs[6]="http://aamsx.com/"; sites[6]="AAMSX"; descs[6]="Associacion de Amigos del MSX, an Spanish MSX site";
	 URLs[7]="http://www.msx.ch/"; sites[7]="SUNRISE"; descs[7]="Looking for some hardware or games?";
	 URLs[8]="https://www.ascii.co.jp/1chip/"; sites[8]="One Chip MSX"; descs[8]="The MSX returns!";
	 URLs[9]="http://www.klaxmsx.ideaplus.com.br/"; sites[9]="MSX RS"; descs[9]="Another brazilian news site";
	 URLs[10]="http://www.msxgamesbox.com/"; sites[10]="The MSX Games Box"; descs[10]="MSXArt contests, Homebrew games lists, a lot of stuff!";
	 URLs[11]="http://www.generation-msx.nl/"; sites[11]="Generation MSX"; descs[11]="Looking for info on some game? That's the place!";
         URLs[12]="http://www.alsoftware.com.br/adrianpage/"; sites[12]="AdrianPage"; descs[12]="ExecROM, translations, game patches, check it out!";
	 URLs[13]="http://www.msxpro.com/"; sites[13]="MSX Pro"; descs[13]="Looking for hardware? That's the place!";
	 URLs[14]="http://www.hansotten.com/"; sites[14]="Hans Otten website"; descs[14]="full of MSX programming and hardware info";
	 URLs[15]="http://map.tni.nl/"; sites[15]="MSX Assembly Page"; descs[15]="The page to check if you want to program something on your msx";
         URLs[16]="http://www.caetano.eng.br/"; sites[16]="Amusement Factory"; descs[16]="Improved games, Spectrum convertions for MSX and much more!";
         URLs[17]="http://msxlivros.blogspot.com/"; sites[17]="MSX Livros"; descs[17]="Dozens of scanned MSX books to download!";

         var r=1 + Math.round(Math.random()*16);

	 document.writeln("<TABLE WIDTH=100% BORDER=1 BGCOLOR=#FFFFFF><TD><FONT COLOR=#000000 SIZE=-1><CENTER>FEATURED SITE</CENTER></FONT></TD></TABLE>");
	 document.writeln("<TABLE WIDTH=100% BORDER=0><TD><FONT COLOR=#000000 SIZE=-1><CENTER>");
	 document.writeln("<A HREF=\"" + URLs[r] + "\" TARGET=\"_new\">" + sites[r] + "</A> - " + descs[r]);
         document.writeln("</CENTER></FONT></TD></TABLE>");
	 document.writeln("<BR>");
	}

