function addToFavorites() {
	var title = 'BoeketLatenBezorgen.nl - online bloemen en cadeau\'s bestellen';
	var url = 'http://www.boeketlatenbezorgen.nl';
	if (window.sidebar) { // Mozilla Firefox Bookmark
		window.sidebar.addPanel(title, url, "");
	} else if( window.external ) { // IE Favorite
		 window.external.AddFavorite( url, title);
	} else if(window.opera && window.print) { // Opera Hotlist
		return true;
	}
}
function urlDecode(str) {
	return decodeURIComponent((str + '').replace(/\+/g, '%20'));
}

$(function() {
	$('.lightBox').lightBox();
});
$(document).ready(function() {
	$('.extraInfo').click(function(event){
		$('.infoBubble').fadeOut();
		$(this).find('.infoBubble').fadeIn();
		event.stopPropagation();
	});

	$('.infoBubble').click(function(event){
		$(this).fadeOut();
		event.stopPropagation();
	});

	$('body').click(function() {
		$('.infoBubble').fadeOut();
	});

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

