// JavaScript Document

<!--  BEGIN Cycle plugin -->

<!--  initialize the slideshow when the DOM is ready -->

jQuery.noConflict();

jQuery(document).ready(function() {
    jQuery('.slideshow').cycle({
		fx: 'fade', // choose your transition type, ex: fade, scrollUp, shuffle, etc...
		timeout:   10000,
      before:     function() {
			var alt = jQuery('img', this).attr('alt');
    		jQuery('#caption').html(alt);
      }
	});
});
jQuery(document).ready(function(){
	jQuery(".comment-list.commentHead").click(function() {
		jQuery(this).next().toggle();
		return false;
	}).next().hide();
});

<!--  BEGIN Folding functionality -->

jQuery(document).ready(function() {
  jQuery(".commentContent").hide();
  //toggle the componenet with class msg_body
  jQuery(".commentHead").click(function()
  {
	 jQuery(this).next(".commentContent").slideToggle(250);
  });
});

<!--  BEGIN Replace Default Poplet Behavior -->

jQuery(document).ready(function() {
	jQuery('.productPopletsItem a').attr('onclick','').attr('rel','');
	jQuery('.productPopletsItem a').click(function(e){
		 e.preventDefault();
		 jQuery('.leftColumn .mainImage p img').attr('src', jQuery(this).attr('href'));
	});
}); 


