$(document).ready(function(){

	$('a[rel=external]').click(function(){
		window.open( $(this).attr('href') );
		return false;
	}); 

	$("#title,#mainbanner,#savethedate").hide();


	$("#content2rs h3").each(function(){
		$(this).css({ 'backgroundImage' : 'url("/inc/utils/h3-tags.php?width=500&height=57&text=' + escape($(this).text()) + '")' });
	});


	$("#sidebar2rs h3").each(function(){
		$(this).css({ 'backgroundImage' : 'url("/inc/utils/h3-tags.php?width=210&height=57&text=' + escape($(this).text()) + '")' });
	});


	$("#mainbanner").fadeIn("slow",function(){
		$("#title").fadeIn("slow",function(){
			$("#savethedate").fadeIn("slow");		
		});
	});

	$('#fblb').html('<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.facebook.com/pages/With-This-RingBridal-Gala/135320596483544&layout=button_count&show_faces=false&width=80&action=like&font=lucida+grande&colorscheme=light" allowtransparency="true" style="border: medium none; overflow: hidden; width: 80px; height: 21px;" frameborder="0" scrolling="no"></iframe>');

	
});


