/* // function to set size heigh to an elemt by Parent
function return_SetHeightOfElems(Parent, Elems){
	var doHeight = 0;
	$(Parent).each(function (i) {
		if ($(this).height() > doHeight) {
			doHeight = $(this).height();
		}
	});

	if ($.isArray(Elems)){
		$.each(Elems, function(Key, ValueArray)
		{ 
		  $(ValueArray).height(doHeight); 
		});
	}
	else
		 $(Elems).height(doHeight); 
} */

// function to set lightbox of images or videos 
function return_SetLightBox(){
	$("a[rel^='product'],a[rel^='lytebox'],a[rel^='images']").prettyPhoto({
			animationSpeed: 'normal', /* fast/slow/normal */
			opacity: 0.80, /* Value between 0 and 1 */
			showTitle: true, /* true/false */
			social_tools: false, 
			allow_resize: false,
			overlay_gallery: false
	});
}


// document ready
$(document).ready(function(){
   return_SetLightBox();
});

