// Javascript

jQuery(document).ready(function() {

	if(jQuery.browser.msie)
	{
		
	}
	else
	{   
		jQuery('.rlink').corner("5px");
		jQuery('.pagination').corner("5px");
		jQuery('.previous a').corner("tl bl 5px");
		//jQuery('.blogbutton').corner("tl bl 5px");
		//jQuery('.st_sharethis_custom').corner("tr br 5px");
		jQuery('.next a').corner("tr br 5px");
		jQuery('input').corner("5px");
		jQuery('textarea').corner("5px");
		jQuery('usercomment').corner("5px");
	}
});



jQuery(document).ready(function(){
	// Toggle and hide the footerwrap
	jQuery("#togglefooterwrap").click(function() {
		jQuery("#footer").slideToggle(500);
		jQuery(this).toggleClass("active");
		return false;
	});
	// Close the footerwrap - Used if action added within the hidden panel itself, otherwise omit	
 	jQuery("#hidefooterwrap").click(function() {
 		jQuery("#footer").slideUp(500);
		jQuery(".footerarrow a").removeClass("active");
 	return false;
	});
});

jQuery(document).ready(function(){
	// Toggle and hide the comments
	jQuery("#togglecomments").click(function() {
		jQuery("#comments").slideToggle(500);
		return false;
	});
});

jQuery(document).ready(function(){
	// Toggle and hide the comments form
	jQuery("#toggleleavecomment").click(function() {
		jQuery("#leavecomment").slideToggle(500);
		return false;
	});
});

jQuery(function() {
	jQuery("div#controller").jFlow({
		slides: "#slides",
		width: "320px",
		height: "395px"
	});
});

