$(document).ready( function() {
  /* IE support */
  $("#left-menu > li:first-child").css("margin-top", "0").css("padding-top", "10px");
  $("#left-menu > li:last-child").css("margin-bottom", "0").css("padding-bottom", "10px");
  $("#faq-list > li:last-child").css("border-bottom", "none");
  /* - */
  var search_prompt = $("#search").attr("value");
	$("#search").focus( function() {
		if ($(this).attr("value") == search_prompt) {
			$(this).attr("value", "");
		}
	}).blur( function() {
		if ($(this).attr("value") == "") {
			$(this).attr("value", search_prompt);
		}
	});
  var subscribe_prompt = $("#subscribe").attr("value");
	$("#subscribe").focus( function() {
		if ($(this).attr("value") == subscribe_prompt) {
			$(this).attr("value", "");
		}
	}).blur( function() {
		if ($(this).attr("value") == "") {
			$(this).attr("value", subscribe_prompt);
		}
	});
	
	$("#accordion").accordion({
			header: "h4"
		});
		
	$('.lightbox a').lightBox({   
    imageLoading:			'/images/lightbox-ico-loading.gif',		// (string) Path and the name of the loading icon
		imageBtnPrev:			'/images/lightbox-btn-prev.gif',			// (string) Path and the name of the prev button image
		imageBtnNext:			'/images/lightbox-btn-next.gif',			// (string) Path and the name of the next button image
		imageBtnClose:		'/images/lightbox-btn-close.gif',		// (string) Path and the name of the close btn
		imageBlank:				'/images/lightbox-blank.gif'
    
  });
	  
});
