jQuery(document).ready(function(){

/** Add 20px in "My Collections" page to div class="collection" **/
if (jQuery.browser.msie) {
	if(parseInt(jQuery.browser.version) == 6 || 7) {
	jQuery('div.collection:has(div.editctrl)').css ('height','210px');
	}
}

/**Alternate Row color in Collections page **/
jQuery('#collections table tr div:odd').addClass('gray');


/** Sliding functionality added to "Related Objects" box **/ /** MUST HAVE MORE THAN 1 RELATED OBJECT **/
//jQuery(".carousel").jCarouselLite({
//	vertical: true,
//	hoverPause:true,
//	hoverPause:true,
//	visible: 2, 
//	auto:5000
//	});

function startAutoPlay() {
	return setInterval(function() {
	jQuery('#presentation').roundabout_animateToNextChild();
		}, 9500);
	} 
	
var interval;
	jQuery('#presentation')
		.roundabout({
		shape: 'lazySusan',
		minOpacity: 0.0, // invisible!
         minScale: 1.0 // tiny!
	
	});
	interval = startAutoPlay();	
	
	
	
	
}); // end document.ready

