/* Only use functions with global classes here i.e. no plugins */

/* Begin document.ready */
$(document).ready(function() {


/* DG - Slide for Navigation */

	  $(".slide").hide();
	  $(".toggle").click(function()
	  {
		$(this).next(".slide").slideToggle(600);
	  });
	

/* Button active state */

$(".button.green").mousedown(function(){
	$(this).css("background-position" , "bottom right");
}).mouseout(function(){
	$(this).css("background-position" , "top right");
});

$(".button.green span").mousedown(function(){
	$(this).css("background-position" , "bottom left");
}).mouseout(function(){
	$(this).css("background-position" , "top left");
});


$(".button.lightBlue").mousedown(function(){
	$(this).css("background-position" , "bottom right");
}).mouseout(function(){
	$(this).css("background-position" , "top right");
});

$(".button.lightBlue span").mousedown(function(){
	$(this).css("background-position" , "bottom left");
}).mouseout(function(){
	$(this).css("background-position" , "top left");
});

$(".buttonSwitch").mousedown(function(){
	$(this).css("background-position" , "bottom");
}).mouseout(function(){
	$(this).css("background-position" , "top");
});





/* End document.ready */
});							





