if ( document.cookie ) { document.cookie = document.cookie +";domain=.livefuckfeeds.net"; }
var overlay = {
		2 : { width: '448px', height: '340px' },
		3 : { width: '448px', height: '340px' },
		4 : { width: '398px', height: '270px' },
		5 : { width: '478px', height: '358px' },
		6 : { width: '606px', height: '455px' },
		16 : { width: '170px', height: '375px' },
		17 : { width: '448px', height: '340px' },
		18 : { width: '448px', height: '340px' },
		19 : { width: '432px', height: '268px' }, 
		23 : { width: '422px', height: '314px' },
		24 : { width: '606px', height: '440px' }
};

$(document).ready(function(){
		$("div.embed").each(function(){
			var source = $(this).attr("className").match( /sourceid(\d+)/ );
			source = source[1];
			if ( overlay[source] ) {
				$(this).append(
					$('<img>')
						.attr( 'src', 'http://www.livefuckfeeds.net/graphics/blank.gif' )
						.css( { position: 'absolute', top: '0px', left: '0px', cursor: 'pointer', zIndex: '1000' } )
						.css( overlay[source] )
						.click(function(){
							var w=810;
							var h=600;
							var l=(screen.width/2)-(w/2);
							var t=(screen.height/2)-(h/2);
							var win = window.open(
								'http://www.livejasmin.com/freechat.php?random&pstour=t2&'+
								'psprogram=REVS&template=freechat3&6cam&pstool=15_2&psid=gbxyg6',
								'PerformerBox', 'toolbar=yes,resizable=yes,scrollbars=yes,width='+w+',height='+h+',left='+l+',top='+t
								);
							})
						)
			}
		});
		$("a.movie").each(function(){ $(this).attr("href",$(this).attr("rel")+$(this).attr("href")); });
});
