$(document).ready(function() {
 // hides the slickbox as soon as the DOM is ready
 // (a little sooner than page load)
  $('#slickbox').hide();
 // shows the slickbox on clicking the noted link
  $('a#slick-show').click(function() {
								   
 $('#slickbox').show('slow');
 $('#slick-show').hide('fast');
 return false;
  });
 // hides the slickbox on clicking the noted link
  $('a#slick-hide').click(function() {
	$('#slick-show').show('slow');
 $('#slickbox').hide('fast');
 
 return false;
  });
 // toggles the slickbox on clicking the noted link
  $('a#slick-toggle').click(function() {
 $('#slickbox').toggle(400);
 return false;
  });
});


$(document).ready(function() 
{



   $(' #slickbox a[rel]').each(function()
   {
      $(this).qtip({ content: { text: '<img class="throbber" src="' + $(this).attr('rel')+ '" alt="" />'},


		style: { 
		  background: '#f86400',
		  border: '0',
		  padding: 10,
		
		  color: '#ffffff',
			  tip: {
				 corner: 'bottomMiddle', 
				 color: '#f86400',
				 size: {
					x: 18, 
					y : 10 
				 }}
		},





		position: {
		   corner: {
			  target: 'topMiddle',
			  tooltip: 'bottomMiddle'
		   }
		}


		
 
      });
   });
});



$(document).ready(function(){
			$("a[rel^='lightbox']").prettyPhoto({theme:'moj_lightbox'});
		});





