/**
		Script settings
**/

var settings = {
	
	'force_size': 1,         		// 	if set to 1 all banners will be resized to the width and height in the next to settings
	'img_width': 120,			//	width to resize all banners to, only takes effect if above is 1
	'img_height': 160, 			// 	height to resize all banners to, only takes effect if above is 1
	
	'refresh_time': 0,			//	the seconds between refreshs of the banners - use 0 to disable
	'refresh_max': 100,			//	maximum number of refreshs on each page load
	
	'duplicate_banners': 0,			//	keep as 0 to make sure the same banner won't show on the same page. will only take effect
									//  if show_banners(); is used more than once. You must make sure you have enough banners to fill
									//  all the slots else the browser may freeze or give a stack overflow error
	
	'location_prefix': 'adLocation-',	//	The prefix of the IDs of the <div> which wraps the banners - this div is generated dynamically.
									//  a number will be added on the end of this string. adLocation- was used by default before version 1.4.x
											
	'location_class':		'swb',		// 	A class to add to all of the <div>s which wrap the banners, ideal to use for styling banners - use .swb img in your CSS	
	
	'window': 			'_blank',		//	Window to open links in, _self = current, _blank = new. Use _top if in a frame!		
	
	'default_ad_loc':		'default'		//	The default adLocation. This is assigned to any banners not given an adLocation in the below banner list
									//  There is no real reason to need to change this
}


/**
		Banners
**/
// banner list syntax: new banner(website_name, website_url, banner_url, show_until_date, adlocation),  DATE FORMAT: dd/mm/yyyy
// if you're not using adlocations just leave it empty like '' as in the last example here
// to make sure a banner is always rotating, just set the date far into the future, i.e. year 3000

var banners = [
new banner('teen pics gallery ','http://free.1passforallsites.com/gm0e9e/1/Phyllis?site_id=99&nats=MzUxMS4xNi4yMy4yMy4xLjAuMC4wLjA','russian_girls_15.jpg','31/12/3000','left'),
new banner('teen pics gallery ','http://galleries.teensexmania.com/772178864/?account=RC_232','russian_girls_13.jpg','31/12/3000','left'),
new banner('teen pics gallery ','http://free.1passforallsites.com/5t2zzx/3/Vicky?site_id=99&nats=MzUxMS4xNi4yMy4yMy4xLjAuMC4wLjA','russian_girls_01.jpg','31/12/3000','left'),
new banner('teen pics gallery ','http://free.18pussyclub.com/more/1219494650/index.htm?nats=NDAzMzo3OjM,0,0,0,','nude_teen_01.jpg','31/12/3000','left'),
new banner('teen pics gallery ','http://galleries.soloteengirls.net/401206757/?account=RC_232','russian_girls_02.jpg','31/12/3000','left'),
new banner('teen pics gallery ','http://free.1passforallsites.com/2ec44t/1/April?site_id=99&nats=NTc1MDoyOToyMw','russian_girls_17.jpg','31/12/3000','left'),
new banner('teen pics gallery ','http://free.18pussyclub.com/more/1219508830/index.htm?nats=NDAzMzo3OjM,0,0,0,','nude_teen_02.jpg','31/12/3000','left'),
new banner('teen pics gallery ','http://free.1passforallsites.com/6gtig4/3/Tammy?site_id=99&nats=MzUxMS4xNi4yMy4yMy4xLjAuMC4wLjA','russian_girls_05.jpg','31/12/3000','left'),
new banner('teen pics gallery ','http://free.1passforallsites.com/1q3kon/1/Janet?site_id=99&nats=NTc1MDoyOToyMw','russian_girls_16.jpg','31/12/3000','left'),
new banner('teen pics gallery ','http://galleries.beauty-angels.com/802138791/?account=232','russian_girls_14.jpg','31/12/3000','left'),
new banner('teen pics gallery ','http://free.1passforallsites.com/381rpk/1/Tatiana?site_id=99&nats=MzUxMS4yLjIzLjIzLjEuMC4wLjAuMA','russian_girls_06.jpg','31/12/3000','left'),
new banner('teen pics gallery ','http://galleries.beauty-angels.com/54378484/?account=RC_232','russian_girls_09.jpg','31/12/3000','left'),
new banner('teen pics gallery ','http://free.18virginsex.com/qzgdu9/1/Amber?nats=NTc1MDoyOToy','russian_girls_18.jpg','31/12/3000','left'),
new banner('teen pics gallery ','http://free.18pussyclub.com/more/1219490385/index.htm?nats=NDAzMzo3OjM,0,0,0,','nude_teen_03.jpg','31/12/3000','left'),
new banner('teen pics gallery ','http://free.1passforallsites.com/622wfw/2/Kseniy?site_id=99&nats=MzUxMS4xNi4yMy4yMy4xLjAuMC4wLjA','russian_girls_12.jpg','31/12/3000','left'),
new banner('teen pics gallery ','http://teeny.girlstested.com/blog/?tag=emily','russian_girls_07.jpg','31/12/3000','left'),
new banner('teen pics gallery ','http://galleries.lollyhardcore.com/30332226/?account=RC_232','russian_girls_19.jpg','31/12/3000','left'),
new banner('teen pics gallery ','http://galleries.beauty-angels.com/3647683/?account=RC_232','russian_girls_20.jpg','31/12/3000','left'),
new banner('teen pics gallery ','http://galleries.teensexmania.com/739105996/?account=RC_232','russian_girls_21.jpg','31/12/3000','left'),
new banner('teen pics gallery ','http://galleries.helenvolga.com/883241384/?account=RC_232','russian_girls_22.jpg','31/12/3000','left'),
new banner('teen pics gallery ','http://galleries.nubilegirlshd.com/63755104/?account=RC_232','russian_girls_23.jpg','31/12/3000','left'),
new banner('teen pics gallery ','http://galleries.teensexmovs.com/374201375/?account=RC_232','russian_girls_24.jpg','31/12/3000','left'),
new banner('teen pics gallery ','http://galleries2.adult-empire.com/7827/438483/1088/index.php','russian_girls_25.jpg','31/12/3000','left'),
new banner('teen pics gallery ','http://galleries2.adult-empire.com/7827/438484/1088/index.php','russian_girls_26.jpg','31/12/3000','left'),
new banner('teen pics gallery ','http://free.1passforallsites.com/j0n4tz/2/Sheryl?site_id=99&nats=MzUxMS4xNi4yMy4yMy4xLjAuMC4wLjA','russian_girls_27.jpg','31/12/3000','left'),
new banner('teen pics gallery ','http://free.1passforallsites.com/x3p4cb/1/Kathryn?site_id=99&nats=MzUxMS4xNi4yMy4yMy4xLjAuMC4wLjA','russian_girls_28.jpg','31/12/3000','left'),
new banner('teen pics gallery ','http://free.1passforallsites.com/st2mv1/3/Lillian?site_id=99&nats=MzUxMS4xNi4yMy4yMy4xLjAuMC4wLjA','russian_girls_29.jpg','31/12/3000','left'),
new banner('teen pics gallery ','http://free.1passforallsites.com/m3wc90/1/Lorraine?site_id=99&nats=MzUxMS4xNi4yMy4yMy4xLjAuMC4wLjA','russian_girls_30.jpg','31/12/3000','left'),
new banner('teen pics gallery ','http://free.1passforallsites.com/6ap7q6/1/Margo?site_id=99&nats=MzUxMS4xNi4yMy4yMy4xLjAuMC4wLjA','russian_girls_31.jpg','31/12/3000','left'),
new banner('teen pics gallery ','http://free.1passforallsites.com/m9reri/2/Anastasia?site_id=99&nats=MzUxMS4xNi4yMy4yMy4xLjAuMC4wLjA','russian_girls_32.jpg','31/12/3000','left'),
new banner('teen pics gallery ','http://free.1passforallsites.com/oeadwt/3/Irina?site_id=99&nats=MzUxMS4xNi4yMy4yMy4xLjAuMC4wLjA','russian_girls_33.jpg','31/12/3000','left'),
new banner('teen pics gallery ','http://free.1passforallsites.com/2twbvr/1/Nora?site_id=99&nats=MzUxMS4xNi4yMy4yMy4xLjAuMC4wLjA','russian_girls_34.jpg','31/12/3000','left'),
new banner('teen pics gallery ','http://free.1passforallsites.com/445wyy/2/Phyllis?site_id=99&nats=MzUxMS4xNi4yMy4yMy4xLjAuMC4wLjA','russian_girls_35.jpg','31/12/3000','left'),
new banner('teen pics gallery ','http://free.1passforallsites.com/1jbn1g/2/Talia?site_id=99&nats=MzUxMS4xNi4yMy4yMy4xLjAuMC4wLjA','russian_girls_36.jpg','31/12/3000','left'),
new banner('teen pics gallery ','http://galleries.creampie-angels.com/523011373/?account=RC_232','russian_girls_37.jpg','31/12/3000','left'),
new banner('teen pics gallery ','http://galleries.creampie-angels.com/357012420/?account=RC_232','russian_girls_38.jpg','31/12/3000','left'),
new banner('teen pics gallery ','http://galleries.creampie-angels.com/516013606/?account=RC_232','russian_girls_39.jpg','31/12/3000','left'),
new banner('teen pics gallery ','http://galleries.soloteengirls.net/224394661/?account=RC_232','russian_girls_40.jpg','31/12/3000','left'),
new banner('teen pics gallery ','http://galleries.teensexmania.com/379189546/?account=RC_232','russian_girls_41.jpg','31/12/3000','left'),
new banner('teen pics gallery ','http://galleries.beauty-angels.com/523100698/?account=RC_232','russian_girls_42.jpg','31/12/3000','left'),
new banner('teen pics gallery ','http://galleries.beauty-angels.com/869103410/?account=RC_232','russian_girls_43.jpg','31/12/3000','left')
]


//         				There is no need to edit below here
///////////////////////////////////////////////////////////////////////////////////
var used=0;var location_counter=0;var refresh_counter=1;var map=new Array();function banner(a,b,c,d,e){this.name=a;this.url=b;this.image=c;this.date=d;this.active=1;this.oid=0;if(e!=''){this.loc=e}else{this.loc=settings.default_ad_loc}}function show_banners(a){location_counter=location_counter+1;if(a!=''&&a!=undefined){map[location_counter]=a}else{map[location_counter]=settings.default_ad_loc}var b='<div id="'+settings.location_prefix+location_counter+'" class="'+settings.location_class+'"></div>';document.write(b);display_banners(location_counter)}function display_banners(a){var b=new Array();if(a==''||!a||a<0){return}var c=banners.length;if((c==used)&&settings.duplicate_banners==0){return}for(i=0;i<(banners.length);i++){banners[i].oid=i;if((banners[i].loc==map[a])&&(banners[i].active==1)){b.push(banners[i])}}var d=Math.floor(Math.random()*b.length);var e=b[d];var f=(settings.force_size==1)?' width="'+settings.img_width+'" height="'+settings.img_height+'"':'';var g='<a href="'+e.url+'" title="'+e.name+'" target="'+settings.window+'"><img border="1" src="'+e.image+'"'+f+' alt="'+e.name+'" /></a>';var h=new Date();var j=e.date;j=j.split('/',3);var k=new Date();k.setFullYear(parseInt(j[2]),parseInt(j[1])-1,parseInt(j[0]));if((h<k)&&e.active==1){var l=document.getElementById(settings.location_prefix+a);if(l==null){alert('spyka Webmaster banner rotator\nError: adLocation doesn\'t exist!')}else{l.innerHTML=g;if(settings.duplicate_banners==0){banners[e.oid].active=0;used++}return}}else{display_banners(a)}return}function refresh_banners(){if((refresh_counter==settings.refresh_max)||settings.refresh_time<1){clearInterval(banner_refresh)}used=0;for(j=0;j<(banners.length);j++){banners[j].active=1}for(j=1;j<(location_counter+1);j++){display_banners(j)}refresh_counter++}var banner_refresh=window.setInterval(refresh_banners,settings.refresh_time);
