//debuggin log function
/*
$(document).ready(function(){
	offset_start = $('#cursor').position().left;
	offset_start = offset_start - 1.5;
});

	
$("#range-container-inner li.page_item").hover(
	function(){
	  //$("this").css("left").replace("px", "");
	  $(this).stop().animate({"margin-top": "-=10px"}, 200);
	  var offset = $(this).position().left;
	   offset = offset + 60;
	   $('#cursor').stop().animate({"left": offset+"px"},800);
	},
	function(){
	  $(this).stop().animate({"margin-top": "20px"}, 200);
	  $('#cursor').stop().animate({"left": offset_start+"px"},800);
	}
);

$("#range-container-inner").mouseout(function(){
		$('#cursor').stop().animate({"left": offset_start+"px"},800);
}); */
// call the plugin on the desired form
$("#regform").slideLock({

         // set the options - all are given, not all are required
         labelText: "Slide to Unlock:",
         noteText: "This proves you're human",
         lockText: "Locked",
         unlockText: "Unlocked",
         iconURL: "/wp-content/themes/olives/js/images/chrome/arrow_right.png",
         inputID: "sliderInput",
         onCSS: "#333",
         offCSS: "#aaa",
         inputValue: 1,
         saltValue: 9,
         checkValue: 10,
         js_check: "js_check",
         submitID: "#xero_submit"

     });


$('#do-login').click(function() {
		$('#login-form').toggle()
});
$('.welcome-login').click(function() {
		$('#login-form').show()
});

$('#close-login').click(function() {
		$('#login-form').hide()
});

