jQuery(document).ready(function() {
          // Jquery Tools Tabs
          //$("ul.tabs").tabs("div.panes > div");
          //$("ul.css-tabs").tabs("div.css-panes > div");
          // Jquery Tools Scrollable
          //$(".scrollable").scrollable();
          // Jquery Tools Accordions
          //$(".accordion").tabs(".pane", {tabs: 'h2', effect: 'slide'});
          //$(".accordion-faq").tabs(".pane", {tabs: 'span', effect: 'slide'});
          // External links open in new windows
          $j("a[rel='external']").bind("click.external", function(){  window.open(this.href);  return false;  });
          // PrettyPhoto trigger rel
          //$j("a[rel^='prettyPhoto']").prettyPhoto();
});



(function($) {
$(document).ready(function(){
           $('#slideshow').cycle({
          	        fx:     'fade',
          	        speed:  500,
          	        timeout: 6000,
          	        pager:  '#slideshownav',
                    next:   '#slideshownext',
                    prev:   '#slideshowprev',
                    cleartype:1,
                    cleartypeNoBg:1,
          	        pagerAnchorBuilder: function(idx, slide) {
          	        // return sel string for existing anchor
          	        return '#slideshownav li:eq(' + (idx) + ') a';
          	        }
              });
            $('li a').click(function() {   $('#slideshow').cycle('pause');   $('#button_pause').fadeOut(10); $('#button_play').fadeIn(10);   });
            $('.slide').click(function() {   $('#slideshow').cycle('pause'); 	$('#button_pause').fadeOut(10); $('#button_play').fadeIn(10);    });
      	    $('#pauseButton').click(function() {  $('#slideshow').cycle('pause'); $('#button_pause').fadeOut(10); $('#button_play').fadeIn(10);  });
      	    $('#resumeButton').click(function() {  $('#slideshow').cycle('resume'); $('#button_pause').fadeIn(10); $('#button_play').fadeOut(10);  });
});  })(jQuery)


jQuery(function() {  jQuery('#mycarousel').jcarousel({ animation: 1000, start: 3, scroll:1, easing: "easeOutCirc" });    });

// simple hide no animation
function hide(id){  if (document.getElementById){  obj = document.getElementById(id);  obj.style.display = "none";  } }

// simple show no animation
function show(id){  if (document.getElementById){  obj = document.getElementById(id);  obj.style.display = "block"; } }

// jquery hide, show and toggle
function ajaxshow(id){	$j(id).fadeIn("fast");	}
function cartshow(id){	$j(id).slideDown("fast");	}
function ajaxhide(id){	$j(id).fadeOut("fast");	}
function toggle(id)  {	$j(id).slideToggle("fast");  }



// cufon replacements
Cufon.replace(' .ele-slideshow .slide h3, .ele-footer h3', { textShadow: '1px 1px #ffffff', hover: true, fontFamily: 'Futura' });
if (navigator.appName != 'Microsoft Internet Explorer'){
  Cufon.replace(' .ele-menu, .ele-top .phone, .ele-boxes .ele-box-title, .main h1, .main h2, .block-title, .opc .step h3, .cart-table th, .data-table thead', { hover: true, fontFamily: 'Futura' });
}
Cufon.replace(' .ele-slideshow .slide a.btn-header', { textShadow: '1px 1px #975c00', hover: true , fontFamily: 'Futura' });
Cufon.replace(' .ele-slideshow .slide h1, .ele-carousel h2', { textShadow: '1px 1px #ffffff', hover: true, fontFamily: 'Georgia' });
Cufon.replace(' button.btn-checkout, button.btn-detail-cart', { textShadow: '0px -1px #a16200', hover: true, fontFamily: 'Futura' });
Cufon.replace(' button.btn-cart, button.button', { textShadow: '0px -1px #6a6a6a', hover: true, fontFamily: 'Futura' });
Cufon.replace(' .applyfont', { textShadow: '0px -1px #ffffff', hover: true, fontFamily: 'Futura' });

// dd_roundies for damned IE, make rounded corners on some boxes
DD_roundies.addRule('.cart-on .block-content .white', '6px');




