// Advanced Random Images Start
// Copyright 2001-2002 All rights reserved, by Paul Davis - www.kaosweaver.com
  var j,d="",l="",m="",p="",q="",z="",KW_ARI= new Array()
  KW_ARI[KW_ARI.length]='banners/jccban4.gif?&width=175&height=150&alt=Twinks%20toplist&title=Twinks%20toplist&border=0&link=http%3A//www.jcctopsites.com/autorank/twinks.html&target=_blank';
  KW_ARI[KW_ARI.length]='banners/jccban5.gif?&width=175&height=150&alt=Ethnic%20gay%20men%20toplist%20of%20latin%2C%20ebony%20black%20men%2C%20asian%20gay%20men%2C%20european%20gay%20men...&title=Ethnic%20gay%20men%20toplist%20of%20latin%2C%20ebony%20black%20men%2C%20asian%20gay%20men%2C%20european%20gay%20men...&border=0&link=http%3A//www.jcctopsites.com/autorank/ethnicmen.html&target=_blank';
  KW_ARI[KW_ARI.length]='banners/jccban6.gif?&width=175&height=150&alt=Videos%2C%20movies%2C%20and%20webcams%20of%20hot%20gay%20men%20in%20action%20toplist.&title=Videos%2C%20movies%2C%20and%20webcams%20of%20hot%20gay%20men%20in%20action%20toplist.&border=0&link=http%3A//www.jcctopsites.com/autorank/videowebcams.html&target=_blank';
  KW_ARI[KW_ARI.length]='banners/jccban7.gif?&width=175&height=150&alt=Gay%20Men%20toplist%20of%20male%20erotica%2C%20hunks%2C%20muscled%20men%2C%20bears%2C%20and%20just%20pure%20horny%20men.&title=Gay%20Men%20toplist%20of%20male%20erotica%2C%20hunks%2C%20muscled%20men%2C%20bears%2C%20and%20just%20pure%20horny%20men.&border=0&link=http%3A//www.jcctopsites.com/autorank/gaymen.html&target=_blank';
  j=parseInt(Math.random()*KW_ARI.length);
  j=(isNaN(j))?0:j;
  if (KW_ARI[j].indexOf('?')==-1) {
    document.write("<img src='"+KW_ARI[j]+"'>");
  }
  else {
    nvp=KW_ARI[j].substring(KW_ARI[j].indexOf('?')+2).split('&');
    for(var i=0;i<nvp.length;i++) {
      sub=nvp[i].split('=');
   	  switch(sub[0]) {
 	    case 'link':
          l="<a href='"+unescape(sub[1])+"'>";
          p="</a>";
		  break;
	    case 'target':
          q=" target='"+unescape(sub[1])+"'";
  		  break;
  	    default:
          m+=" "+sub[0]+"='"+unescape(sub[1])+"'";
  		  break;
      }
    }
    z=(l!="")?((q!="")?l.substring(0,l.length-1)+q+">":l):"";
    z+="<img src='"+KW_ARI[j].substring(0,KW_ARI[j].indexOf('?'))+"'"+m+">"+p;
  document.write(z);
  }

// Advanced Random Images End
