jQuery(document).ready(function() {	//before the Cycle we add the top margin		jQuery('#slideshow h2').each(function(){			element_height = 73 - jQuery(this).height()/2;			//jQuery(this).css('marginTop', element_height);	});		jQuery('#slideshow p').each(function(){		element_height = 73 - jQuery(this).height()/2;		//jQuery(this).css('marginTop', element_height);	});		// Adding the jQuery Cycle for featured posts		// Second we add the next and previous buttons	jQuery('#slideshow').append('<a href="#" id="slide-prev"><img src="' + childtheme_url + '/images/slide_prev.png" alt="Previous" border="0" /></a><a href="#" id="slide-next"><img src="' + childtheme_url + '/images/slide_next.png" alt="Next" border="0" /></a>');	// Finally we initiate the slider	jQuery('#slideshow .wrapper')	.cycle({ 		fx:     'scrollHorz', 		speed:  'slow', 		timeout: 8000, 		next:   '#slide-next', 		prev:   '#slide-prev',		height:	206,		timeoutFn:function (currElement, nextElement, opts, isForward) { 									var index = opts.currSlide; 			return index == 0 ? 8000 : 8000; 		}	});			//Remove the title atribute for the menu. It just get's in the way.	jQuery("li.menu-item a").each(function(){		jQuery(this).removeAttr('title');	})                	jQuery("li.page_item a").each(function(){		jQuery(this).removeAttr('title');	})	// Add an even class to some of the categories	jQuery('.shopp_categories li:nth-child(even)').addClass('even');		//Add last class to product page	jQuery('.row>ul>li:nth-child(3)').each(function(){		jQuery(this).addClass('last');	})		//Add shopping cart image	var shopcart_img = '<img src="'+ childtheme_url +'/images/shopcart_img.png" alt="shopping cart" class="shoping-cart"/>';	jQuery('.widget_shoppcartwidget h3').append(shopcart_img);		//style dropdown		jQuery('#access-search select[name="catalog"]').styledSelect();});
