// JavaScript Document
  $(document).ready(function() {
    $('#box-content').cycle({fx:'fade',speed: 3000, timeout: 40, requeueTimeout: 0,pager: '#box-nav', 
	    pagerAnchorBuilder: function(idx, slide) { return '#box-nav li:eq(' + (idx) + ') a';}
     });
    $('#pol_1').mouseover(function() {
       $('#box-content').cycle({startingSlide: 0, pager: '#box-nav',pagerAnchorBuilder: function(idx, slide) {return '#box-nav li:eq(' + (idx) + ') a';}}); 
       return false; 
    });
    $('#pol_2').mouseover(function() {
       $('#box-content').cycle({startingSlide: 1, pager: '#box-nav',pagerAnchorBuilder: function(idx, slide) {return '#box-nav li:eq(' + (idx) + ') a';}}); 
       return false; 
    });
    $('#pol_3').mouseover(function() {
       $('#box-content').cycle({startingSlide: 2, pager: '#box-nav',pagerAnchorBuilder: function(idx, slide) {return '#box-nav li:eq(' + (idx) + ') a';}}); 
       return false; 
    });
    $('#pol_4').mouseover(function() {
       $('#box-content').cycle({startingSlide: 3, pager: '#box-nav',pagerAnchorBuilder: function(idx, slide) {return '#box-nav li:eq(' + (idx) + ') a';}}); 
       return false; 
    });
    $('#pol_5').mouseover(function() {
       $('#box-content').cycle({startingSlide: 4, pager: '#box-nav',pagerAnchorBuilder: function(idx, slide) {return '#box-nav li:eq(' + (idx) + ') a';}}); 
       return false; 
    });
});

