function showTip(text)
{
	Tip(text, BGCOLOR, '#FF99FF', BORDERWIDTH, 1, DELAY, 100);
}

visitedaffiliates = [99];
function showPosting(url, g)
{	
	var randomnumber = Math.floor(Math.random()*8)	
	if(randomnumber == 1)
	{		
	
		// Affiliate Campain Addresses	
		affilliates =  
		[ 
		 //"http://www.zepey.com/index.php?cp_id=boc",
		 "http://www.naked.com/enter.php?id=gbrent&prg=1&campaign=inlinetgp&tour=best",
		 "http://live.naked.com/nk/237/?prg=1&tour=best&id=gbrent&campaign=girl1&smart=yes",
		 "http://live.naked.com/nk/233/?prg=1&tour=best&id=gbrent&campaign=girl1&smart=yes",
		 "http://live.naked.com/nk/229/?prg=1&tour=best&id=gbrent&campaign=girl1&smart=yes",
		 "http://live.naked.com/nk/226/?prg=1&tour=best&id=gbrent&campaign=girl1&smart=yes",
		 "http://live.naked.com/nk/116/?prg=1&tour=best&id=gbrent&campaign=girl1&smart=yes",
		 "http://www.naked.com/enter.php?id=gbrent&prg=1&campaign=BlindThumbnail&tour=best",
		 "http://www.naked.com/enter.php?id=gbrent&prg=1&campaign=BlindThumbnail&tour=best",
		 "http://adultfriendfinder.com/search/g1024924-pmo.subInlineThumbnail?show=f-m&age=18-30&ip=auto",
		 //"http://adultfriendfinder.com/search/g1024924-pmo.subInlineThumbnail?show=f-m&age=18-30&ip=auto",
		 //"http://adultfriendfinder.com/search/g1024924-pmo.subInlineThumbnail?show=f-m&age=18-30&ip=auto",
		 //"http://myusenet.net/files/1:::/alt.binaries.pictures.erotica.girlfriend/0/image24.htm",
		 //"http://myusenet.net/files/1:::/alt.binaries.pictures.girlfriends/0/image24.htm",
		 //"http://cams.com/go/page/gallery_landing_page?pid=g1024924-po.subBlindThumbnailGalleryJS&site=cams&override=0",
		 //"http://cams.com/go/page/cams_landing_page_10?pid=g1024924-po.subBlindThumbnailChat1",
		];
		
		arrayPos = Math.floor(Math.random()*affilliates.length);
		// Don't go to zepey that often	so attempt to get another arrayPos
		if(arrayPos == 0)
		{
			arrayPos = Math.floor(Math.random()*affilliates.length);
		}
		url = affilliates[arrayPos]; 
		
	}
	else
	{
		// Do something with the URL if you wish, maybe add it in a frame
		// url = "http://bitchesofcraigslist.com/blog/profile.php?profileURL=" + url;	
	}
	window.open (url);
}



var a_st = new Array();
a_st['all'] = 'Find Bitches';
a_st['w4m'] = 'Find Bitches';
a_st['m4m'] = 'Find Studs';
a_st['m4w'] = 'Find Studs';
a_st['w4w'] = 'Find Bitches';
a_st['t4m'] = 'Find';
a_st['m4tm'] = 'Find Studs';
a_st['mw4mw'] = 'Find Swingers';
a_st['mw4w'] = 'Find Couples';
a_st['mw4m'] = 'Find Couples';
a_st['w4mw'] = 'Find Bitches';
a_st['m4mw'] = 'Find Studs';
a_st['w4ww'] = 'Find Bitches';
a_st['m4mm'] = 'Find Studs';
a_st['mm4m'] = 'Find Studs';
a_st['ww4w'] = 'Find Bitches';
a_st['ww4m'] = 'Find Bitches';
a_st['mm4w'] = 'Find Studs';
a_st['m4ww'] = 'Find Studs';
a_st['w4mm'] = 'Find Bitches';
a_st['t4mw'] = 'Find';
a_st['mw4t'] = 'Find Couples';

function buttonValue(type)
{
	document.getElementById("btnSubmit").childNodes[0].nodeValue= a_st[type];
	document.getElementById("btnSubmit").value = a_st[type];
	if(a_st[type] == "Find Studs")
	{
		document.getElementById("affAdverts").src = "http://www.bitchesofcraigslist.com/includes/advertTopTgp.php?type=studs";
		document.getElementById("affAdvertssidebar1").src = "http://www.bitchesofcraigslist.com/includes/advertSidebar.php?type=studs";
		document.getElementById("affAdvertssidebar2").src = "http://www.bitchesofcraigslist.com/includes/advertSidebar.php?type=studs2";
	}
	else
	{
		document.getElementById("affAdverts").src = "http://promos.naked.com/indexPromo.php?norows=1&nocols=5&colorCode=FFFFFF&namecolor=A51A1D&imgsFlvsBoth=img&clickURL=aHR0cDovL25ha2VkLmNvbS9pbmRleC5waHA/cz12aXNpdG9yLmNoYXQuYmVmb3JlRnJlZUNoYXQmaWQ9Z2JyZW50JnByZz0xJnJlZl91cmw9bGZoJm1hc2hJZD1sZmgmY2FtcGFpZ249dG9wdGdwJnNlcnZlcj1uYWtlZA==&iframeHeight=130&iframeWidth=625&winoption=new&category=Girl&vidImgH=100&imgBorder=no&mNAlign=center&flashParams=I2lkPWdicmVudCNwcmc9MSNyZWZfdXJsPWxmaCNtYXNoSWQ9bGZoI2NhbXBhaWduPXRvcHRncCNzZXJ2ZXI9bmFrZWQ=&vidImgW=110&subcat=&imgbColor=0839BE&backTransparent=yes"
		document.getElementById("affAdvertssidebar1").src = "http://promos.naked.com/indexPromo.php?norows=8&nocols=2&colorCode=FFFFFF&namecolor=A51A1D&imgsFlvsBoth=img&clickURL=aHR0cDovL25ha2VkLmNvbS9pbmRleC5waHA/cz12aXNpdG9yLmNoYXQuYmVmb3JlRnJlZUNoYXQmaWQ9Z2JyZW50JnByZz0xJnJlZl91cmw9bGZoJm1hc2hJZD1sZmgmY2FtcGFpZ249c2lkZWJhciZzZXJ2ZXI9bmFrZWQ=&iframeHeight=1082&iframeWidth=225&winoption=new&category=Girl&vidImgH=100&imgBorder=no&mNAlign=center&flashParams=I2lkPWdicmVudCNwcmc9MSNyZWZfdXJsPWxmaCNtYXNoSWQ9bGZoI2NhbXBhaWduPXNpZGViYXIjc2VydmVyPW5ha2Vk&vidImgW=100&subcat=&imgbColor=0839BE&backTransparent=yes";
		document.getElementById("affAdvertssidebar2").src = "http://promos.naked.com/indexPromo.php?norows=8&nocols=2&colorCode=FFFFFF&namecolor=A51A1D&imgsFlvsBoth=img&clickURL=aHR0cDovL25ha2VkLmNvbS9pbmRleC5waHA/cz12aXNpdG9yLmNoYXQuYmVmb3JlRnJlZUNoYXQmaWQ9Z2JyZW50JnByZz0xJnJlZl91cmw9bGZoJm1hc2hJZD1sZmgmY2FtcGFpZ249c2lkZWJhciZzZXJ2ZXI9bmFrZWQ=&iframeHeight=1082&iframeWidth=225&winoption=new&category=Girl&vidImgH=100&imgBorder=no&mNAlign=center&flashParams=I2lkPWdicmVudCNwcmc9MSNyZWZfdXJsPWxmaCNtYXNoSWQ9bGZoI2NhbXBhaWduPXNpZGViYXIjc2VydmVyPW5ha2Vk&vidImgW=100&subcat=&imgbColor=0839BE&backTransparent=yes";
	}
	
}


function showpostingGay()
{
	//http://free.keithmanheim.com/g2/rnd.php?nats=gbrent:partnership:keithmanheim
}
