if (self==top) $(document).ready(function() {
   // Add "clickable" class to all our panels, so they show a pointer
   $(".panel").addClass("clickable");
   // Add a hover event to our thirds divs
   $(".panel").hover(function (e) {
   	if($(e.target).is(".panel")){
   		//We're looking at our .thirds div
	   	var target = $(e.target);
   	}
   	else
   	{
   		// We're looking at something INSIDE our div. Get the div itself
   		target=$(e.target).parents(".panel");
   	}
   	// Do a hover CSS trick
   	target.addClass("highlighted");
   	// Get the HREF of the first link
   	link = ($(".highlighted h2 a"))[0].href;
   	// When we click, move the
   	target.click(function(e){window.location=link})
   },
   function (e){
   // On mouseout, remove our "highlighted class"
    $("*").removeClass("highlighted");
   });
 });