Chemistry
 
  
				var author = $(element).find('.ocb-author').html();
			
				if (author != null) {
					html += '
' + author  + '
';
				}
			
			
			html += '  
' + $(element).find('.description').html() + '
';
			
			var rating = $(element).find('.rating').html();
			
			if (rating != null) {
				html += '
' + rating + '
';
			}
				
			html += '
  ');
		
		$.cookie('display', 'list'); 
	} else {
		$('.product-list').attr('class', 'product-grid');
		
		$('.product-grid > div').each(function(index, element) {
			html = '';
			
			var image = $(element).find('.image').html();
			
			if (image != null) {
				html += '
';
			
				var author = $(element).find('.ocb-author').html();
			
				if (author != null) {
					html += '
';
			
			var price = $(element).find('.price').html();
			
			if (price != null) {
				html += '
';
			}
						
			var rating = $(element).find('.rating').html();
			
			if (rating != null) {
				html += '