function clickclear(thisfield, defaulttext) {
	if (thisfield.value == defaulttext) {
		thisfield.value = "";
	}
}
function clickrecall(thisfield, defaulttext) {
	if (thisfield.value == "") {
		thisfield.value = defaulttext;
	}
}
	   $(document).ready(
				function(){
					$('#award_list').innerfade({
						animationtype: 'fade',
						speed: 750,
						timeout: 8000,
						type: 'sequence',
						containerheight: '330px'
					});
					$('#testimonials').innerfade({
						animationtype: 'fade',
						speed: 750,
						timeout: 6000,
						type: 'sequence',
						containerheight: '180px'
					});
					$('#player').innerfade({
						animationtype: 'fade',
						speed: 750,
						timeout: 5000,
						type: 'sequence',
						containerheight: '185px'
					});
					
					
					
					// choose text for the show/hide link
var showText="Read more";
var hideText="Less";

// create the toggle link
$("#hide_this").after("<p><a href='#' id='toggle_link'>"+showText+"</a>");

// hide the content
$('#hide_this').hide();

// capture clicks on the newly created link
$('a#toggle_link').click(function() {

// change the link text
if ($('a#toggle_link').text()==showText) {
$('a#toggle_link').text(hideText);
}
else {
$('a#toggle_link').text(showText);
}

// toggle the display
$('#hide_this').toggle('slow');

// return false so any link destination is not followed
return false;
				});



$("a[rel^='prettyOverlay'],a[rel^='prettyPhoto']").prettyPhoto({
				animationSpeed: 'normal', /* fast/slow/normal */
				padding: 40, /* padding for each side of the picture */
				opacity: 0.35, /* Value betwee 0 and 1 */
				showTitle: true, /* true/false */
				allowresize: true /* true/false */
			});



			});
	   
