	$(document).ready(function(){

	$("#featured").cycle({
		fx:     'fade', 
		speed:  3000,
    speedIn: 2000,
    speedOut: 2000,
		pager:   '#slide-nav'
	});
	//<![CDATA[
	$('#featured').before('<ul id="slide-nav">').cycle({ 
		fx:     'fade', 
		speed:  3000,
    speedIn: 2000,
    speedOut: 2000,
		pager:   '#slide-nav',
     
    // callback fn that creates a thumbnail to use as pager anchor 
    pagerAnchorBuilder: function(idx, slide) { 
        idx = idx + 1;
        return '<li><a href="#"><img id="qtip'+idx+'" src="images/frontend/spacer.gif" width="62" height="43" alt="" title="" /><\/a><\/li>';
    }
    //]]>
});
  
$('#qtip1').qtip({
   content: $('#content1').html(),
   position: {
      corner: {
         target: 'topmiddle',
         tooltip: 'bottomLeft'
      }
   },
   style: {
      name: 'green', // Inherit from preset style
      tip: true
   },
   
   show: 'mouseover',
   hide: 'mouseout'
});
$('#qtip2').qtip({
   content: $('#content2').html(),
   position: {
      corner: {
         target: 'topmiddle',
         tooltip: 'bottomLeft'
      }
   },
   style: {
      name: 'green', // Inherit from preset style
      tip: true
   },
   show: 'mouseover',
   hide: 'mouseout'
});
$('#qtip3').qtip({
   content: $('#content3').html(),
   position: {
      corner: {
         target: 'topmiddle',
         tooltip: 'bottomLeft'
      }
   },
   style: {
      name: 'green', // Inherit from preset style
      tip: true
   },
   show: 'mouseover',
   hide: 'mouseout'
});
$('#qtip4').qtip({
   content: $('#content4').html(),
   position: {
      corner: {
         target: 'topmiddle',
         tooltip: 'bottomLeft'
      }
   },
   style: {
      name: 'green', // Inherit from preset style
      tip: true
   },
   show: 'mouseover',
   hide: 'mouseout'
});
$('#qtip5').qtip({
   content: $('#content5').html(),
   position: {
      corner: {
         target: 'topmiddle',
         tooltip: 'bottomLeft'
      }
   },
   style: {
      name: 'green', // Inherit from preset style
      tip: true
   },
   show: 'mouseover',
   hide: 'mouseout'
});
$('#qtip6').qtip({
   content: $('#content6').html(),
   position: {
      corner: {
         target: 'topmiddle',
         tooltip: 'bottomLeft'
      }
   },
   style: {
      name: 'green', // Inherit from preset style
      tip: true
   },
   show: 'mouseover',
   hide: 'mouseout'
});
$('#qtip7').qtip({
   content: $('#content7').html(),
   position: {
      corner: {
         target: 'topmiddle',
         tooltip: 'bottomLeft'
      }
   },
   style: {
      name: 'green', // Inherit from preset style
      tip: true
   },
   show: 'mouseover',
   hide: 'mouseout'
});
$('#qtip8').qtip({
   content: $('#content8').html(),
   position: {
      corner: {
         target: 'topmiddle',
         tooltip: 'bottomLeft'
      }
   },
   style: {
      name: 'green', // Inherit from preset style
      tip: true
   },
   show: 'mouseover',
   hide: 'mouseout'
});
$('#qtip9').qtip({
   content: $('#content9').html(),
   position: {
      corner: {
         target: 'topmiddle',
         tooltip: 'bottomLeft'
      }
   },
   style: {
      name: 'green', // Inherit from preset style
      tip: true
   },
   show: 'mouseover',
   hide: 'mouseout'
});
$('#qtip10').qtip({
   content: $('#content10').html(),
   position: {
      corner: {
         target: 'topmiddle',
         tooltip: 'bottomLeft'
      }
   },
   style: {
      name: 'green', // Inherit from preset style
      tip: true
   },
   show: 'mouseover',
   hide: 'mouseout'
});

});
