

//This is the popup window for the main cas login/logout links
//jQuery(document).ready(function($){
//			$("#signinregister-background a").colorbox({width:"790", height:"580",scrolling:false, iframe:true, open:false, overlayClose:false, escKey:false});
//});


jQuery(document).ready(function($){
			$(".fisplayer").colorbox({width:"1010", height:"430",scrolling:false, iframe:true, open:false, overlayClose:false, escKey:false});
});

//This animates the search input field at the top of all pages
var inputWdith = '200px';
var inputWdithReturn = '100px';		
jQuery(document).ready(function($) {
	$(".form-item-search-block-form input").focus(function(){
		//clear the text in the box.
		$(this).val(function() {
			$(this).val(''); 
		});
		//animate the box
		$(this).animate({
			width: inputWdith
		}, 500 )
	});	
	
	$(".form-item-search-block-form input").blur(function(){
		$(this).val('');
		$(this).animate({
			width: inputWdithReturn
		}, 800 )
	});
});

//This adds a PDF icon to all links PDF links
jQuery(document).ready(function($){
	// Add pdf icons to pdf links
	$("a[href$='.pdf']").addClass("pdf");
});;

