var tab1;
var div3;
var cur_i=0;
var st = 0;
var TimeOutID = null;
var t_run = false;
var s = new String();
var s2 = new String();
function u2 () {
  tab1 = document.getElementById("upt");
  div3 = document.getElementById("rtaa");
  s = tab1.innerHTML;
  s2 = div3.innerHTML;
  StartM();
}
function to_big( val ) {
   var el= document.getElementById("m1");
   if ( val > 0 ) {
       el.setAttribute("href","/tgp/m/1") ;
       el = document.getElementById("p1");
       el.setAttribute("href","/tgp/1") ;
   } else {
       el.setAttribute("href","/tgp/m") ;
       el = document.getElementById("p1");
       el.setAttribute("href","/tgp/") ;
   }

}
function wsn() { window.status=' '; }
function d3 () {
  var ss=div3.innerHTML;
  var n;
  if ( ss.indexOf("<a ") > -1 ) {
         n = ss.substr(0,ss.indexOf("<a ")) +ss.substr(ss.indexOf("</a>")+4);
   } else {
    n= s2;
  }
  div3.innerHTML=n;
}
function over( id ) {
  var e = document.getElementById(id);
  e.innerHTML="Hello From ShemalePrivate";
}
function outl( ) {
  // tab1.innerHTML = s;
  if ( st++ % 2 == 1 ) { StopM() } else { StartM() }
}

sp = new Array();
divh = '<table class="my" height="100%" width="100%"><tr style="border-bottom: none"><td class=u style="text-align:left;width:190px"><a onmouseover='+
	"'"+'StopM(); return true;'+"'"+'><font size="+3">PrettyTranny</font></a>';
dive = '</tr></table>';
function printtd() {
 i = this.id+1;
 return '<td id="d'+i+'" class="u"><p class=up>'+
       '<a href="'+this.surl+'">'+this.name+'</a>'+
 '</p><p class="sm">'+this.sh+'</p>' ;
}
function new_sp(id,name,cost,surl,url,sh,aff) {
  this.id=id; this.name=name; this.cost=cost;this.surl=surl; this.url=url; this.sh=sh; this.aff = aff; i = id+1;
  this.td= '<td id="d'+i+'" class="u"><p class=up>'+ '<a onmouseout='+"'"+'StartM();return true;'+"'"+ ' onmouseover='+"'"+ 'StopM();return true' +";'"+' href="'+this.surl+'">'+this.name+'</a>'+'</p><p class="sm">'+this.sh+'</p>';
  sp.push(this);
}
function ShowAff(id){
  var s = new String(divh);
  for(var i=0;i<sp.length;i++) {
	if( sp[i].aff == id) {
	  s=s+sp[i].td;
        }
  }
  tab1.innerHTML=s+dive;
}
function StopM() { if ( t_run )  clearInterval(TimeOutID); t_run=false;}
function StartM()
{
  var agent = navigator.userAgent.toLowerCase();
  var isMac = (agent.indexOf("mac")!=-1);
  var isBadIE = (agent.indexOf("5.10")!=-1) ||
                                (agent.indexOf("5.11")!=-1) ||
                                (agent.indexOf("5.12")!=-1) ||
                                (agent.indexOf("5.13")!=-1) ||
                                (agent.indexOf("5.14")!=-1) ||
                                (agent.indexOf("5.15")!=-1)

  if (!(isMac && isBadIE)) {
        StopM();
        TimeOutID = window.setInterval('NextS();',2000);
        t_run=true;
  }
}

function NextS() {
 var s = new String(divh);
 cur_i++;
 for(var i=0;i< 7; i++) {
   s=s+sp[(cur_i+i) % ( sp.length )].td; 
 }
 tab1.innerHTML=s+dive;
 d3();
}
function Show(id) {
  var n = sp[id];
  tab1.innerHTML=divh+ n.td+ dive; 
}
p = new new_sp(0,"Shemale Yum",'$24.95-30 days','http://www.shemaleprivate.com/links/15400098599116600.htm','http://www.shemaleyum.com/',"The site everyone needs<br/>to be a member of",632);
p = new new_sp(1,"LadyboyLadyboy",'$24.95 - 30days','http://www.shemaleprivate.com/links/15400098599116600.htm','http://www.ladyboy-ladyboy.com/',"Asian tgirls from Thailand,Indonesia,<br/>Philippines,USA,India,Singapore,Brunei",632);
p = new new_sp(2,"Brazilian Transsexuals",'$24.95 - 30days','http://refer.ccbill.com/cgi-bin/clicks.cgi?CA=909985&PA=754788&HTML=http://www.brazilian-transsexuals.com/','http://www.brazilian-transsexuals.com/',"he first and the best<br/>Brazilian transsexual site",632);
p = new new_sp(3,"Black Tgirls",'$24.95 - 30 days','http://www.shemaleprivate.com/links/19700098598919909.htm','http://www.black-tgirls.com/',"The Best<br/>Black Shemales",632);
p = new new_sp(4,"Shemales from HELL",'$21.95 - 30days','http://www.shemaleprivate.com/links/13500098598922613.htm','http://www.shemales-from-hell.com',"Hardcore Brazilian<br>Shemales",632);
p = new new_sp(5,"Frank's TGirl World",'$24.95-30 Days','http://www.shemaleprivate.com/links/17700098598934012.htm','http://www.franks-tgirlworld.com/',"The hottest models from the<br/>four corners of the world",632);
p = new new_sp(6,"GroobyArchive",'$24.95-30 Days','http://www.shemaleprivate.com/links/17100098600134312.htm','http://www.grooby-archive.com',"The Largest Transsexual<br>Site in the World!",632);
p = new new_sp(7,"Shemale Strokers",'$24.95-30days <br/>$99.95 -150 days <br/> $199.95 - 365 days','http://refer.ccbill.com/cgi-bin/clicks.cgi?CA=907930-0000&PA=890115&HTML=http://www.shemalestrokers.com/guests/main.html','http://www.shemalestrokers.com/guests/main.html',"4sites for the price of one<br/>1000's pics & movies",297);
p = new new_sp(8,"Foxy Angel",'$24.95 - 30 days','http://refer.ccbill.com/cgi-bin/clicks.cgi?CA=913226-0003&PA=858362&59&HTML=http://www.foxyangel.com/tour/','http://www.foxyangel.com/tour/',"Transsexual Goddess from Hollywood,<br/>Florida.Pics & movies",636);
p = new new_sp(9,"Asian-TS",'$24.95-30days<br/>$99.99 - 365 days','http://refer.ccbill.com/cgi-bin/clicks.cgi?CA=914665-0000&PA=893409','http://www.asian-ts.com/index2.html',"Exclusive asian photo&movies <br/>Tourism section",651);
p = new new_sp(10,"Bob's TGirls",'$19.95 - 30days','http://refer.ccbill.com/cgi-bin/clicks.cgi?CA=918160&PA=876305','',"Playboy of the Shemale Sites<br/>The photography is all original",641);
p = new new_sp(11,"ShemaleDome",'$19.95 for 30 days then $19.95 recurring every 30 days <br/> $29.95 for 30 days (non-recurring)','http://refer.ccbill.com/cgi-bin/clicks.cgi?CA=928384-0000&PA=891931&HTML=http://www.shemaledome.com','http://www.shemaledome.com',"$19.95 and<br>you lost your mind",649);
p = new new_sp(12,"BrazilianShemalesClub",'$24.95 for 30 days then $24.95 recurring every 30 days <br/> $29.95 for 30 days (non-recurring) <br/> $59.95 for 90 days (non-recurring)','http://refer.ccbill.com/cgi-bin/clicks.cgi?CA=924815-0000&PA=908589&BAN=1','http://www.brazilianshemalesclub.com/index_1.html',"The most desired<br/>shemales on the web",655);
p = new new_sp(13,"ShemaleDommes",'$18.95 for 30 days then $18.95 recurring every 30 days<br/> $46.95 for 90 days (non-recurring)<br/> $89.95 for 180 days (non-recurring)','http://refer.ccbill.com/cgi-bin/clicks.cgi?CA=924011-0002&PA=908619','http://www.shemaledommes.com/index.html',"We have hard to find<br>BDSM action shoots!",656);
p = new new_sp(14,"AsianShemalesXXX",'$19.95 - 30 days','http://refer.ccbill.com/cgi-bin/clicks.cgi?CA=910585&PA=872609&HTML=http://www.asianshemalesxxx.com/','http://www.asianshemalesxxx.com/',"Beautiful Asian Models <br>are added ALMOST DAILY!!!",642);
p = new new_sp(15,"ShemaleClub",'$25 -30 days(recurring)<br/>$59.95 -90 days (non-recurring) <br/>99 - 180 days (non-recurring)','http://www.shemaleprivate.com/links/12200098599745607.htm','http://www.shemale-club.com/',"59.000 pix&movies<br/>inside, forum, escorts",644);
p = new new_sp(16,"ExoticTGirls",'$24.95 for 30 days then $24.95 recurring every 30 days <br/>$99.95 for 365 days (non-recurring)','http://refer.ccbill.com/cgi-bin/clicks.cgi?CA=914735-0000&PA=891941&HTML=http://www.exotic-tgirls.com/index3.html&BAN=1','http://www.exotic-tgirls.com/index3.html&BAN=1',"Exotic Tgirls from  Hollywood,<br> California",650);
p = new new_sp(17,"ExclusiveTGirls",'$34.95 for 30 days then $29.95 recurring every 30 days','http://www.exclusivetgirls.com/?id=893597','http://www.exclusivetgirls.com/',"These hot, gorgeous trannies<br>are waiting for you",652);
p = new new_sp(18,"SHEMALETUSHY",'$29.95 for 30 days <br/> $69.95 for 90 days(non-recurring)<br/> $99.95 for 180 days(non-recurring)','http://refer.ccbill.com/cgi-bin/clicks.cgi?CA=919140-9000&PA=929699&BAN=0','http://www.shemaletushy.com/main.html',"Exclusive Shemale Fetish Movies<br>Not Seen Anywhere Else!",663);
p = new new_sp(19,"ShemalePornStar",'$24.95 for 30 days then $24.95 recurring every 30 days <br/> $49.95 for 90 days (non-recurring)','http://refer.ccbill.com/cgi-bin/clicks.cgi?CA=924826-0002&PA=895827&BAN=0','http://www.shemalepornstar.com/tour.html',"Transsexual Superstars",653);

