$(document).ready(function(){
	
$("#panels").scrollable({size: 1}).circular().navigator({
		navi: "#navi", naviItem: 'li', activeClass: 'selected'
	});


window.api = $(".holder").scrollable({size: 1, next: '#nextslide', prev: '#prevslide', speed: 0}).circular().autoscroll({autoplay: false, api: true, interval: 200});


$('.revscroll').jScrollPane({dragMinHeight:23, scrollbarWidth:20});



$(function() { 
    $("#tnavi").tabs("#tpanels > div", { 
    current: 'active'
	}); 
});

	$(".send").click(function(){						  	
			$(".send2").slideDown("slow");
	});
	$(".sbmt").click(function(){
			 $("#emailForm").hide();
			 $(".send2 .report").fadeIn("fast");
	});
	$(".send2").hover(function(){	
			$(".report, this").fadeOut("slow");
	});	

$(".c2").click(function(){	
		$(".holder").css('display', 'none');
		$(".holder2").css('display', 'block');

});
$(".holder2, .c1").click(function(){						  	
		$(".holder2").css('display', 'none');
		$(".holder").css('display', 'block');		
});



});
function clearText(thefield){
if (thefield.defaultValue==thefield.value)
thefield.value = ""
}