// JavaScript Document

jQuery(function(){ 
jQuery('#quotes').cycle({ 
        fx:'fade', 
        easing: 'swing', 
        inDelay:    250, 
		speed: 'slow',
        drop:       40, 
        timeout:    5000
    });
});


/*
featuredcontentglider.init({
	gliderid: "sliderb", //ID of main glider container
	contentclass: "slidercontentb", //Shared CSS class name of each glider content
	togglerid: "c-select", //ID of toggler container
	remotecontent: "", //Get gliding contents from external file on server? "filename" or "" to disable
	selected: 0, //Default selected content index (0=1st)
	persiststate: false, //Remember last content shown within browser session (true/false)?
	speed: 500, //Glide animation duration (in milliseconds)
	direction: "leftright", //set direction of glide: "updown", "downup", "leftright", or "rightleft"
	autorotate: true, //Auto rotate contents (true/false)?
	autorotateconfig: [3000, 2] //if auto rotate enabled, set [milliseconds_btw_rotations, cycles_before_stopping]
})

featuredcontentglider.init({
	gliderid: "plans_rotate", //ID of main glider container
	contentclass: "itm", //Shared CSS class name of each glider content
	togglerid: "d-select", //ID of toggler container
	remotecontent: "", //Get gliding contents from external file on server? "filename" or "" to disable
	selected: 0, //Default selected content index (0=1st)
	persiststate: false, //Remember last content shown within browser session (true/false)?
	speed: 500, //Glide animation duration (in milliseconds)
	direction: "updown", //set direction of glide: "updown", "downup", "leftright", or "rightleft"
	autorotate: true, //Auto rotate contents (true/false)?
	autorotateconfig: [5000, 2] //if auto rotate enabled, set [milliseconds_btw_rotations, cycles_before_stopping]
})
*/
jQuery(document).ready(function () {
	jQuery("a.compare").click(function() {  
			newid='plans_list';
			jQuery('#plans_rotate').attr("id", newid);
			jQuery('#d-select').attr("style", "display:none");
			jQuery('a.rotate').attr("style", "display:block");
			jQuery(this).attr("style", "display:none");
			jQuery('.orange_bar').attr("style", "display:block");
			jQuery('.itm').attr("style", "height:auto");
			});

   jQuery("a.rotate").click(function() {  			
			newid='plans_rotate';
			jQuery('#plans_list').attr("id", newid);
			jQuery('#d-select').attr("style", "display:block");
			jQuery('a.compare').attr("style", "display:block");
			jQuery(this).attr("style", "display:none");
			jQuery('.orange_bar').attr("style", "display:none");
						jQuery('.itm').attr("style", "top: 0px; height: 118px; visibility: visible;");

			});
});


