

jQuery(function()
{
	// capture the uri and activate the slide
	if (location.hash =='')
    {
        jQuery('#explore_mac-slider').cycle(
		{ 
		    fx:     'scrollLeft', 
		    speed:  'slow', 
		    timeout: 0,
		    pause: true,
		    pager:  '.explore_tabs', 
		    pagerAnchorBuilder: function(idx, slide) 
			{ 
		        // return selector string for existing anchor 
		        return '.explore_tabs li:eq(' + idx + ') a'; 
		    }
		});  
		
		}else if (location.hash =='#premium-value'){   

	        var thehash = location.hash;

	    	jQuery('#explore_mac-slider').cycle(
			{ 
			    fx:     'scrollLeft', 
			    speed:  'slow', 
			    timeout: 0,
			    pause: true,
			    pager:  '.explore_tabs', 
			    startingSlide: 2,
				pagerAnchorBuilder: function(idx, slide) 
				{ 
			        // return selector string for existing anchor 
			        return '.explore_tabs li:eq(' + idx + ') a'; 
			    }
			});
			
		}else if (location.hash =='#luxury-collection'){   

	        var thehash = location.hash;

	    	jQuery('#explore_mac-slider').cycle(
			{ 
			    fx:     'scrollLeft', 
			    speed:  'slow', 
			    timeout: 0,
			    pause: true,
			    pager:  '.explore_tabs', 
			    startingSlide: 2,
				pagerAnchorBuilder: function(idx, slide) 
				{ 
			        // return selector string for existing anchor 
			        return '.explore_tabs li:eq(' + idx + ') a'; 
			    }
			});
			
				}else if (location.hash =='#platinum'){   

	        var thehash = location.hash;

	    	jQuery('#explore_mac-slider').cycle(
			{ 
			    fx:     'scrollLeft', 
			    speed:  'slow', 
			    timeout: 0,
			    pause: true,
			    pager:  '.explore_tabs', 
			    startingSlide: 2,
				pagerAnchorBuilder: function(idx, slide) 
				{ 
			        // return selector string for existing anchor 
			        return '.explore_tabs li:eq(' + idx + ') a'; 
			    }
			});
	
	
	}
//closing
});


//start
jQuery(document).ready(function() {

	jQuery('#mac-slider').cycle(
	{ 
	    fx:     'scrollLeft', 
	    speed:  'slow', 
	    timeout: 12000,
	    pause: true,
	    pager:  '.mac_nav', 
	    pagerAnchorBuilder: function(idx, slide) 
		{ 
	        // return selector string for existing anchor 
	        return '.mac_nav li:eq(' + idx + ') a'; 
	    } 
	     
 	});

});


    
