function randInt(min,max)
{
     var div = (max - min) + 1
     var randNum = Math.random()
     for (var i = 0; i <= div - 1; i++)
     {
          if (randNum >= i / div && randNum < (i+1) / div)
          {return i + min}
     }
}

var txt='';
txt='<TABLE width = 100% cellpadding=6 cellspacing=2  align="left">';
txt+='<TR >';
txt+='<TD align="center" >';

var abc = randInt(1,14);
switch(abc){
	case 1 :		
		txt+='<a href="http://adultfriendfinder.com/go/g243071.subIndexPg"><img src="media/images/banners/other/8473.gif" border=0 width="120" height="240"></a>';
		break;
	case 2 :
		txt+='<a href="http://adultfriendfinder.com/go/g243071.subIndexPg"><img src="media/images/banners/other/8475.gif" border=0 width="120" height="240"></a>';
		break;
	case 3 :
		txt+='<a href="http://adultfriendfinder.com/go/g243071.subIndexPg"><img src="media/images/banners/other/AFF_120x240_aa_01a.gif" border=0 width="120" height="240"></a>';
		break;
	case 4 :
		txt+='<a href="http://adultfriendfinder.com/go/g243071.subIndexPg"><img src="media/images/banners/other/AFF_120x240_aa_01c.gif" border=0 width="120" height="240"></a>';
		break;
	case 5 :
		txt+='<a href="http://adultfriendfinder.com/go/g243071.subIndexPg"><img src="media/images/banners/other/AFF_120x240_aa_01g.gif" border=0 width="120" height="240"></a>';
		break;	
	case 6 :
		txt+='<a href="http://adultfriendfinder.com/go/g243071.subIndexPg"><img src="media/images/banners/other/AFF_120x240_aa_01h.gif" border=0 width="120" height="240"></a>';
		break;	
	case 7 :
		txt+='<a href="http://adultfriendfinder.com/go/g243071.subIndexPg"><img src="media/images/banners/other/aff_120x240_anyweb1.gif" border=0 width="120" height="240"></a>';
		break;
	case 8 :
		txt+='<a href="http://adultfriendfinder.com/go/g243071.subIndexPg"><img src="media/images/banners/other/aff_120x240_anyweb2.gif" border=0 width="120" height="240"></a>';
		break;
	case 9 :
		txt+='<a href="http://adultfriendfinder.com/go/g243071.subIndexPg"><img src="media/images/banners/other/cjunction5.gif" border=0 width="120" height="240"></a>';
		break;		
	case 10 :
		txt+='<a href="http://adultfriendfinder.com/go/g243071.subIndexPg"><img src="media/images/banners/other/aff_cj_120x240_04b.gif" border=0 width="120" height="240"></a>';
		break;		
	default :
		txt+='<a href="http://adultfriendfinder.com/go/g243071.subIndexPg"><img src="media/images/banners/other/aff_120x240_anyweb2.gif" border=0 width="120" height="240"></a>';
		break;
		
}

txt+='</TD>';
txt+='</TR>';
txt+='<TR>';
txt+='<TD align="center">';

txt+='<TABLE width=100% cellSpacing=0 cellPadding=1 align=center border=0>';
txt+='	<TR >';
txt+='		<TD width=150 bgColor=black align="center">';
txt+='			<TABLE width=150 cellSpacing=0 cellPadding=4 bgColor=white border=0>';
txt+='				<TR>';
txt+='					<TD align="center" class="ap">';
txt+='						Adult personals not your thing? Try these other great FriendFinder Sites:';
txt+='					</TD>';
txt+='				</TR>';
txt+='				<TR>';
txt+='					<TD align="center" class="ap">';
txt+='						<a HREF=http://friendfinder.com/go/g243071 target=_top>FriendFinder</a>';
txt+='					</TD>';
txt+='				</TR>';
txt+='				<TR>';
txt+='					<TD align="center" class="ap">';
txt+='						<a HREF=http://gradfinder.com/go/g243071 target=_top>GradFinder</a>';
txt+='					</TD>';
txt+='				</TR>';
txt+='				<TR>';
txt+='					<TD align="center" class="ap">';
txt+='						<a HREF=http://passion.com/go/g243071 target=_top>Passion.com</a></TD>';
txt+='					</TD>';
txt+='				</TR>';
txt+='				<TR>';
txt+='					<TD align="center" class="ap">';
txt+='						<a HREF=http://alt.com/go/g243071 target=_top>Alt.com</a>';
txt+='					</TD>';
txt+='				</TR>';
txt+='				<TR>';
txt+='					<TD align="center" class="ap">';
txt+='						<a HREF=http://outpersonals.com/go/g243071 target=_top>Outpersonals</a>';
txt+='					</TD>';
txt+='				</TR>';
txt+='				<TR>';
txt+='					<TD align="center" class="ap">';
txt+='						<a HREF=http://indianfriendfinder.com/go/g243071 target=_top>IndianFriendFinder</a>';
txt+='					</TD>';
txt+='				</TR>';
txt+='				<TR>';
txt+='					<TD align="center" class="ap">';
txt+='						<a HREF=http://asiafriendfinder.com/go/g243071 target=_top>AsiaFriendFinder</a>';
txt+='					</TD>';
txt+='				</TR>';
txt+='				<TR>';
txt+='					<TD align="center" class="ap">';
txt+='						<a HREF=http://jewishfriendfinder.com/go/g243071 target=_top>JewishFriendFinder</a>';
txt+='					</TD>';
txt+='				</TR>';
txt+='				<TR>';
txt+='					<TD align="center" class="ap">';
txt+='						<a HREF=http://italianfriendfinder.com/go/g243071 target=_top>ItalianFriendFinder</a>';
txt+='					</TD>';
txt+='				</TR>';
txt+='				<TR>';
txt+='					<TD align="center" class="ap">';
txt+='						<a HREF=http://koreanfriendfinder.com/go/g243071 target=_top>KoreanFriendFinder</a>';
txt+='					</TD>';
txt+='				</TR>';
txt+='				<TR>';
txt+='					<TD align="center" class="ap">';
txt+='						<a HREF=http://frenchfriendfinder.com/go/g243071 target=_top>FrenchFriendFinder</a>';
txt+='					</TD>';
txt+='				</TR>';
txt+='				<TR>';
txt+='					<TD align="center" class="ap">';
txt+='						<a HREF=http://germanfriendfinder.com/go/g243071 target=_top>GermanFriendFinder</a>';
txt+='					</TD>';
txt+='				</TR>';
txt+='				<TR>';
txt+='					<TD align="center" class="ap">';
txt+='						<a HREF=http://amigos.com/go/g243071 target=_top>Amigos.com</a>';
txt+='					</TD>';
txt+='				</TR>';
txt+='				<TR>';
txt+='					<TD align="center" class="ap">';
txt+='						<a HREF=http://filipinofriendfinder.com/go/g243071 target=_top>FilipinoFriendFinder</a>';
txt+='					</TD>';
txt+='				</TR>';
txt+='				<TR>';
txt+='					<TD align="center" class="ap">';
txt+='						<a HREF=http://seniorfriendfinder.com/go/g243071 target=_top target=_top>SeniorFriendFinder</a>';
txt+='					</TD>';
txt+='				</TR>';
txt+='				<TR>';
txt+='					<TD align="center" class="ap">';
txt+='						<a HREF=http://bigchurch.com/go/g243071 target=_top>BigChurch</a>';
txt+='					</TD>';
txt+='				</TR>';
txt+='			</TABLE>';
txt+='		</TD>';
txt+='	</TR>';
txt+='</TABLE>';
txt+='</TD>';
txt+='</TR>';
txt+='</TABLE>';

document.write(txt);