$(function(){
	$("a[href^='http://']").attr('target','_Blank');
	$("a.new_window").attr('target','_Blank');
});


$(document).ready(function() {

// box_findus hover
$("#box_findus").hover(
	  function () {
		$(this).css('background-position','0px -255px');
		$(this).css('cursor','pointer');
	  },
	  function () {
		$(this).css('background-position','0px 0');
		$(this).css('cursor','default');
	  }
	);

$('#box_findus').mousedown(function(){
		window.location = 'contact-us-salisbury.php';
});


// box_ planner
$("#box_planner").hover(
	  function () {
		$(this).css('background-position','0px -107px');
		$(this).css('cursor','pointer');
	  },
	  function () {
		$(this).css('background-position','0px 0');
		$(this).css('cursor','default');
	  }
	);

$('#box_planner').mousedown(function(){

		_gaq.push(['_trackEvent', 'Interactions', 'Planner', 'Load Planner']);
		window.open('http://www.designatweb.eu/innova/kuechestudio/index.jsp?HID=5775&LID=ENG&CID=GB');
});


// form
$("#subbtn").hover(
	  function () {
		$(this).css('background-position','0px -26px');
		$(this).css('cursor','pointer');
	  },
	  function () {
		$(this).css('background-position','0px 0');
		$(this).css('cursor','default');
	  }
	);

$('#subbtn').mousedown(function(){

});


// bullets
$(".sixstepslnk").hover(
	  function () {
		$(this).css('background-position','5px -25px');
		$(this).css('cursor','pointer');
	  },
	  function () {
		$(this).css('background-position','5px 1px');
		$(this).css('cursor','default');
	  }
	);



});
