// JavaScript Document
$(document).ready(function(){
						   

						   
//--------------------TWITTER -------------------------
	   $(".tweet").tweet({
            username: "fsmetroorlando",
            join_text: "auto",
            avatar_size: 0,
            count: 1,
            auto_join_text_default: "", 
            auto_join_text_ed: "",
            auto_join_text_ing: "",
            auto_join_text_reply: "",
            auto_join_text_url: "",
            loading_text: "loading tweets..."
        });
	 

	   
//--------------------End Twitter---------------
//-----------------IE issuewith home menu Fix ------------
		$("#menu li.level1:first ul").hide();
//---------------/End IE Issue--------------------------
//-------------Testimonials--------------------------
		$("p.Testimonials").hide();
		//alert($("p.Testimonials").size());
		
		//Create Random Number between mina nd max and display that testimonial
		$.docready = {} //Declare namespace
		$.docready.RandomNumberAmount = $("p.Testimonials").size(); //Counts total P's with class of Testimonials
		//alert($.docready.RandomNumberAmount);
		$.docready.RandomNumberID = Math.ceil(Math.random()*$.docready.RandomNumberAmount); //Random number and uses counter to get a random num at max of total P's
		//alert($.docready.RandomNumberID);
		$.docready.ParaPlusID = 'p#Test'+ $.docready.RandomNumberID; //Create the name of teh ID to turn on
			//alert($.docready.ParaPlusID);
		//End Create Random Number
		
		$($.docready.ParaPlusID).show('slow');
//------------/Testimonials--------------------------

//-------------Partners--------------------------
		$("a.PartnersIcon").hide();
		//alert($("p.Testimonials").size());
		
		//Create Random Number between mina nd max and display that testimonial
		$.partners = {} //Declare namespace
		$.partners.PartnerRandomNumberAmount = $("a.PartnersIcon").size(); //Counts total P's with class of Testimonials
		//alert($.partners.PartnerRandomNumberAmount);
		$.partners.PartnerRandomNumberID = Math.ceil(Math.random()*$.partners.PartnerRandomNumberAmount); //Random number and uses counter to get a random num at max of total P's
		//alert($.partners.PartnerRandomNumberID);
		$.partners.PartnerParaPlusID = 'a#Partner'+ $.partners.PartnerRandomNumberID; //Create the name of teh ID to turn on
			//alert($.docready.ParaPlusID);
		//End Create Random Number
		
		$($.partners.PartnerParaPlusID).show();
//------------/Testimonials--------------------------


						   //------------CrossSlide--------------------------

jQuery(function($) {
	$('#homebanners').crossSlide({ sleep: 5, fade: 2, shuffle: true}, [
	  { src: '/Portals/0/newHomeGraphics/carrie.jpg',
	  	href: '/Learn/OurStories/tabid/64/Default.aspx#Carrie' }, 
	  	
	  { src: '/Portals/0/newHomeGraphics/darien.jpg',   
	  	href: '/Learn/OurStories/tabid/64/Default.aspx#Darien' },
	  	
	  { src: '/Portals/0/newHomeGraphics/john.jpg',  	  	
	  	href: '/Learn/OurStories/tabid/64/Default.aspx#John' }, 
	  
	  { src: '/Portals/0/newHomeGraphics/bart.jpg',	  	  	
	  	href: '/Learn/OurStories/tabid/64/Default.aspx#Bart' }

	]);
});

//------------CrossSlide--------------------------



//``````````````````````End of Doc Ready``````````````````````		
    });
    
    

