<!-- Begin
function getRandomNum(lbound, ubound) {
return (Math.floor(Math.random() * (ubound - lbound)) + lbound);
}
//  End -->
function c(e){
	e.style.color = '#CC7100';
}

function bookmarksite(title, url){
if (document.all)
window.external.AddFavorite(url, title);
else if (window.sidebar)
window.sidebar.addPanel(title, url, "")
}

function genRandom(num) {
var tempString = ""
tempString += (Math.random() * num) + 1
rstring = parseInt(tempString)
return rstring
}
numb=6
days=2
var master=new Array("1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","19","20","21","22","23","24","25","26","27","28","29","30","31","32","33","34","35","36","37","38","39","40","41","42","43","44","45","46","47","48","49","50");
var cat= new Array("ALGERIE","ANGOLA","BENIN","BOTSWANA","BURKINA F.","BURUNDI","CAMEROON","CAPE VERDE","CHAD","COMOROS","CONGO-Brazza","CONGO-Zaire","IVORY COST","DJIBOUTI","EGYPT","E. GUINEA","ERITREA","ETHIOPIA","GABON","GAMBIA","GHANA","GUINEA Bissau","KENYA","LESOTHO","LIBERTIA","LIBYA","MADAGASCAR","MALAWI","MALI","MAURITANIA","MAURITIUS","MAROCCO","MOZAMBIQUE","NAMIBIA","NIGER","NIGERIA","REUNION","RWANDA","SENEGAL","SEYCHELLES","SIERRA Leone","SOMALIA","South AFRICA","SUDAN","TANZANIA","TOGO","TUNISIA","UGANDA","ZAMBIA","ZIMBABWE");
var img= new Array("1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","19","20","21","22","23","24","25","26","27","28","29","30","31","32","33","34","35","36","37","38","39","40","41","42","43","44","45","46","47","48","49","50");
var tgp= new Array("Algeria","Angola","Benin","Botswana","Burkina Faso","Burundi","Cameroon","Cape Verde","Chad","Comoros","Congo","Congo","Ivory Cost","Djibouti","Egypt","Equatorial Guinea","Eritrea","Ethiopia","Gabon","Gambia","Ghana","Guinea Bissau","Kenya","Lesotho","Liberia","Libya","Madagascar","Malawi","Mali","Mauritania","Mauritius","Morocco","Mozambique","Namibia","Niger","Nigeria","Reunion","Rwanda","Senegal","Seychelles","Sierra Leone","Somalia","South Africa","Sudan","Tanzania","Togo","Tunisia","Uganda","Zambia","Zimbabwe");
var gp=new Array();
var tp=new Array("2","2","2","2","2","2","2","2","2","2","2","2","2","2","2","2","2","2","2","2","2","2","2","2","2","2","2","2","2","2","2","2","2","2","2","2","2","2","2","2","2","2","2","2","2","2","2","2","2","2");
var front = new Array();
var back = new Array();
var offsets = new Array();
var today = new Date();
month = today.getMonth() + 1;
day = today.getDate();
year = today.getYear();
hour = today.getHours();
for(var offset = 0; offset< 22; offset++){
 tempmonth = month
 tempday = day
 tempday = tempday - offset
 if (tempday< 1) {
  tempmonth = tempmonth - 1
  tempday = tempday + 31
 }
 if (tempmonth < 10) {tempmonth="0"+tempmonth};
 if (tempday < 10) {tempday="0"+tempday};
 offsets[offset] = tempday + "/" + tempmonth
}
function gengals (perday,days,numb,nr,type) {
 for(var x = 0; x< numb; x++){
out='<span class="headingtext"><font size=4>'+cat[x+(nr-1)]+'</font> </span><br>updated: '+month+'/'+day+'/07<br>'
for(var i=1; i<days; i++){
   for(var p=0; p<(genRandom(perday)); p++){
if (tp[x+(nr-1)] == 0) {
out=out+ ''
}
if (tp[x+(nr-1)] == 1) {
out=out+ ''
}
if (tp[x+(nr-1)] == 2) {
out=out+ '[<a onclick="c(this)" href="cgi-bin/at/out.cgi?u=http://www.africanhotsex.com/goto/?id=pics_galleries"> PICTURES</a> | <a onclick="c(this)" href="cgi-bin/at/out.cgi?u=http://www.africanhotsex.com/goto/?id=clips_galleries">MOVIES</a> ]<br>'
}
if (tp[x+(nr-1)] == 3) {
out=out+ ''
}
if (tp[x+(nr-1)] == 4) {
out=out+ ''
}
if (tp[x+(nr-1)] == 5) {
out=out+ ''
}
}
}
document.write(out+'<span class="gallerytext"><b><a href="adultfriendfinder.php?country='+tgp[x+(nr-1)]+'">- Meet Someone -</a></b><br><b><a href="cgi-bin/at/out.cgi?c=0&u=http://www.africanhotsex.com/goto/?id=archives">>> Archive <<</a></b><br><br>')
}
}

function MM_openBrWindow(theURL,winName,features) { //v2.0
window.open(theURL,winName,features);
}