// DOM ready dependencies 
$(document).ready(function() {
 $('a[rel*=facebox]').facebox({
        loading_image : 'facebook/loading.gif',
        close_image   : 'facebook/closelabel.gif'
      }) 

// select the overlay element - and "make it an overlay"
$("#takeme").overlay({

	// custom top position
	top: 260,

	// some mask tweaks suitable for facebox-looking dialogs
	mask: {

		// you might also consider a "transparent" color for the mask
		color: '#5e5e5e',

		// load mask a little faster
		loadSpeed: 200,

		// very transparent
		opacity: 0.5
	},

	// disable this for modal dialog-type of overlays
	closeOnClick: false,

	// load it immediately after the construction
	load: true

});
});
var block = $(".clickit");
				block.click(function(){
					window.location = $(this).find("a:first").attr("href")
				});
				block.addClass("clickable");
				block.hover(function(){
					window.status = $(this).find("a:first").attr("href")
				}, function(){
					window.status = ""
				})
$('li.headlink').hover(
			function() { $('ul', this).css('display', 'block'); },
			function() { $('ul', this).css('display', 'none'); });

