var config = {    
     sensitivity: 5, // number = sensitivity threshold (must be 1 or higher)    
     interval: 100, // number = milliseconds for onMouseOver polling interval    
     over: function(){ $(this).animate({marginLeft: "8px",borderLeftWidth:"3px"}, 200 )}, // function = onMouseOver callback (REQUIRED)    
     timeout: 100, // number = milliseconds delay before onMouseOut    
     out: function(){$(this).animate({marginLeft: "0px",borderLeftWidth:"0px"}, 200 )} // function = onMouseOut callback (REQUIRED)    
};

$(document).ready(function(){
	$("#menu li").hoverIntent( config )
});

function show_bathroom(){
	var cnt = $("#show_bathroom").html();
	Shadowbox.open({
		content:   cnt,
		player:     "html",
		title:      "Bathroom",
		height:     570,
		width:      800
	});
}

function show_extension(){
	var cnt = $("#show_extension").html();
	Shadowbox.open({
		content:   cnt,
		player:     "html",
		title:      "Extension",
		height:     570,
		width:      800
	});
}

function show_landscaping(){
	var cnt = $("#show_landscaping").html();
	Shadowbox.open({
		content:   cnt,
		player:     "html",
		title:      "Patios and Landscaping",
		height:     570,
		width:      800
	});
}

function show_conversions(){
	var cnt = $("#show_conversions").html();
	Shadowbox.open({
		content:   cnt,
		player:     "html",
		title:      "Loft Conversions",
		height:     570,
		width:      800
	});
}

function show_kitchens(){
	var cnt = $("#show_kitchens").html();
	Shadowbox.open({
		content:   cnt,
		player:     "html",
		title:      "Kitchens",
		height:     570,
		width:      800
	});
}
