$(document).ready(function(){
		/*Fade in page*/
		d = document.getElementById('fade_page');
		d.style.display="none";
		d.removeAttribute('filter');
		$('#fade_page').fadeIn('slow');

		d2 = document.getElementById('requestinfo');
		d2.style.display="none";
		d2.removeAttribute('filter');
		$('#requestinfo').fadeIn('slow');


		$(function() {
			var $header = $('#header');
			var $hospitals = $('#hospitals_img');
			var $staff = $('#staff_img');

			$header.crossSlide({
				sleep: 4,
				fade: 3
			}, [
				{src:  'images/header.jpg' }, 
				{src:  'images/header2.jpg'}, 
				{src:  'images/header3.jpg'},
				{src:  'images/header4.jpg'},
				{src:  'images/header5.jpg'}
			]);

			$hospitals.crossSlide({
				sleep: 3,
				fade: 2
			}, [
				{src:  'images/hospital_asante.jpg'   },
				{src:  'images/hospital_skylakes.jpg' }, 
				{src:  'images/hospital_lodi.jpg'     },
				{src:  'images/hospital_ohsu.jpg'     }, 
				{src:  'images/hospital_bayarea.jpg'  },
				{src:  'images/hospital_trch.jpg'     },
				{src:  'images/hospital_mcmc.jpg'     },
				{src:  'images/hospital_ashland.jpg'  }
			]);

			$staff.crossSlide({
				sleep: 6,
				fade: .5
			}, [
				{src:  'images/hf_staff.jpg'   },
				{src:  'images/hf_staff-rmt.jpg'   }				
			]);


		});
});
//$(document).ready(function(){
//						   $("#servicebox1").fadeTo("normal", 1.0); // This sets the opacity of the thumbs to fade down to 30% when the page loads
//						   $("#servicebox1").hover(function(){
//						   $(this).fadeTo("normal", 1.0); // This should set the opacity to 100% on hover
//						   },function(){
//						   $(this).fadeTo("normal", 1.0); // This should set the opacity back to 30% on mouseout
//							   	});
//						   });

//$(document).ready(function(){
//						   $("#servicebox2").fadeTo("normal", 1.0); // This sets the opacity of the thumbs to fade down to 30% when the page loads
//						   $("#servicebox2").hover(function(){
//						   $(this).fadeTo("normal", 1.0); // This should set the opacity to 100% on hover
//						   },function(){
//						   $(this).fadeTo("normal", 1.0); // This should set the opacity back to 30% on mouseout
//							   	});
//						   });

//$(document).ready(function(){
//						   $("#servicebox3").fadeTo("normal", 1.0); // This sets the opacity of the thumbs to fade down to 30% when the page loads
//						   $("#servicebox3").hover(function(){
//						   $(this).fadeTo("normal", 1.0); // This should set the opacity to 100% on hover
//						   },function(){
//						   $(this).fadeTo("normal", 1.0); // This should set the opacity back to 30% on mouseout
//							   	});
//						   });
//$(document).ready(function(){
//						   $("#servicebox4").fadeTo("normal", 1.0); // This sets the opacity of the thumbs to fade down to 30% when the page loads
//						   $("#servicebox4").hover(function(){
//						   $(this).fadeTo("normal", 1.0); // This should set the opacity to 100% on hover
//						   },function(){
//						   $(this).fadeTo("normal", 1.0); // This should set the opacity back to 30% on mouseout
//							   	});
//						   });
//$(document).ready(function(){
//						   $("#servicebox5").fadeTo("normal", 1.0); // This sets the opacity of the thumbs to fade down to 30% when the page loads
//						   $("#servicebox5").hover(function(){
//						   $(this).fadeTo("normal", 1.0); // This should set the opacity to 100% on hover
//						   },function(){
//						   $(this).fadeTo("normal", 1.0); // This should set the opacity back to 30% on mouseout
//							   	});
//						   });

