jQuery(document).ready(function($){
	
	$(".blog_read_more a").hover(function () {								 
    		$(this).addClass("read_more_hover");
  	}, function () {
    		$(this).removeClass("read_more_hover");
			$(this).addClass("read_more");
  	});
	 
	$(".form-submit input#submit").hover(function () {								 
    		$(this).addClass("hover");
  	}, function () {
    		$(this).removeClass("hover");
  	});
	
	$("#send").hover(function () {								 
    		$(this).addClass("hover");
  	}, function () {
    		$(this).removeClass("hover");
  	});
	 
	$("#sign_in").click(function(e) {
		$("#sign_in_active").toggle();
	});

	$("#sign_in_form").mouseup(function() {
		return false
	});
	
	$(document).mouseup(function(e) {					 
		if($(e.target).parent("#sign_in").length==0) {
			$("#sign_in_active").hide();
		}
	});            
	
	$('#slideshows')
		.cycle({
			fx: 'fade', // choose your transition type, ex: fade, scrollUp, shuffle, etc...
			timeout:  6000, // specifies how many milliseconds will elapse between the start of each transition
			speed:    2000, // defines the number of milliseconds it will take to transition from one slide to the next.
			 pause: 1,
    		cleartype: 1,
    		cleartypeNoBg: 1
	});

});
