Visit Our New Store
Opening May 25th! Come visit the newest addition to the Appalachian Mountain Spirits family. Learn more about our products, pick up some War Horn goodies and goodies for our other products, and browse our books and other merchandise.
Store hours are Monday - Saturday, 10:30 a.m. to 7:00 p.m.
The store is located at 112 East Main St, Marion, Virginia.
Click on the map, below for directions.
View Larger Map
");
});
};
};
function et_search_bar(){
var $searchform = jQuery('#header div#search-form'),
$searchinput = $searchform.find("input#searchinput"),
searchvalue = $searchinput.val();
$searchinput.focus(function(){
if (jQuery(this).val() === searchvalue) jQuery(this).val("");
}).blur(function(){
if (jQuery(this).val() === "") jQuery(this).val(searchvalue);
});
};
function et_cycle_integration(){
$featured_content.css('backgroundImage','none');
$featured_content.cycle({
timeout: 0,
speed: 300,
cleartypeNoBg: true
});
if ( $featured_content.find('.slide').length == 1 ){
$featured_content.find('.slide').css({'position':'absolute','top':'0','left':'0'}).show();
}
var ordernum;
var pause_scroll = false;
function gonext(this_element){
$slider_control.children(controlTabString+".active").removeClass('active');
var activeLeft = this_element.position().left+8;
$slider_control.animate({backgroundPosition: activeLeft+'px 7px'},500,function(){
this_element.addClass('active');
});
ordernum = this_element.prevAll(controlTabString).length+1;
$featured_content.cycle(ordernum - 1);
}
$slider_control_tab.click(function() {
clearInterval(interval);
gonext(jQuery(this));
return false;
});
$slider_arrows.click(function() {
clearInterval(interval);
if (jQuery(this).attr("id") === 'nextlink') {
auto_number = $slider_control.children(controlTabString+".active").prevAll(controlTabString).length+1;
if (auto_number === $slider_control_tab.length) auto_number = 0;
} else {
auto_number = $slider_control.children(controlTabString+".active").prevAll(controlTabString).length-1;
if (auto_number === -1) auto_number = $slider_control_tab.length-1;
};
gonext($slider_control_tab.eq(auto_number));
return false;
});
var auto_number;
var interval;
$slider_control_tab.bind('autonext', function autonext(){
if (!pause_scroll) gonext(jQuery(this));
return false;
});
};
function et_custom_featured(){
var $slide = $featured_area.find('div.slide');
var isAnimation = false;
var ordernum;
var pause_scroll = false;
$featured_content.css('backgroundImage','none');
$slide.css('display','none').filter(':first').css({'display':'block'});
$slider_control_tab.click(function() {
clearTimeout(interval);
if (!isAnimation) gonext(jQuery(this));
return false;
});
function gonext(next_element){
isAnimation = true;
var $current_tab = $slider_control.children(controlTabString+".active"),
ordernumCurrent = $current_tab.prevAll(controlTabString).length+1,
ordernumNext = next_element.prevAll(controlTabString).length+1,
$currentElement = $slide.eq(ordernumCurrent-1),
$nextElement = $slide.eq(ordernumNext-1),
sliderSpeed = 300;
var readmoreButton = "a.readmore",
featuredImage = "img.featured_image",
descriptionDiv = "div.description",
doAnimation;
doAnimation = true;
if (ordernumCurrent === ordernumNext) { doAnimation = false; isAnimation = false; };
if (doAnimation) {
move_arrow();
$currentElement.find(readmoreButton).animate({'opacity':'hide'},sliderSpeed,function(){
$currentElement.find(featuredImage).animate({'opacity':'hide'},sliderSpeed, function(){
$currentElement.find(descriptionDiv).animate({'opacity':'hide'},sliderSpeed,function(){
$currentElement.css('display','none');
$nextElement.children().css('visibility','hidden').end().css('display','block').children(descriptionDiv).children().css({'display':'block','visibility':'hidden'}).end().css('display','block');
$nextElement.find(readmoreButton).css({'top': '-190px','display': 'block','visibility':'visible','opacity':'0'}).animate({top:0,opacity:1},1200,'easeOutBounce',function(){
$nextElement.find(featuredImage).parent('a').css({'visibility': 'visible','opacity':'0'}).animate({opacity:1},sliderSpeed, function(){
$nextElement.find(descriptionDiv).css({'visibility': 'visible','opacity':'1'}).children().filter(':not('+readmoreButton+')').css({'visibility': 'visible','opacity':'0'}).animate({opacity:1},sliderSpeed);
$currentElement.find(featuredImage).css({'opacity':'1','display':'block'});
isAnimation = false;
});
});
});
});
});
};
function move_arrow(){
$current_tab.removeClass('active');
var activeLeft = next_element.position().left+8;
$slider_control.animate({backgroundPosition: activeLeft+'px 7px'},500,function(){
next_element.addClass('active');
});
};
};
$slider_arrows.click(function() {
clearTimeout(interval);
if (jQuery(this).attr("id") === 'nextlink') {
auto_number = $slider_control.children(controlTabString+".active").prevAll(controlTabString).length+1;
if (auto_number === $slider_control_tab.length) auto_number = 0;
} else {
auto_number = $slider_control.children(controlTabString+".active").prevAll(controlTabString).length-1;
if (auto_number === -1) auto_number = $slider_control_tab.length-1;
};
if (!isAnimation) gonext($slider_control_tab.eq(auto_number));
return false;
});
var auto_number;
var interval;
$slider_control_tab.bind('autonext', function autonext(){
if (!pause_scroll) gonext(jQuery(this));
return false;
});
function et_custom_slider_autonext(){
auto_number = $slider_control.children(controlTabString+".active").prevAll(controlTabString).length+1;
if (auto_number === $slider_control_tab.length) auto_number = 0;
$slider_control_tab.eq(auto_number).trigger('autonext');
}
};
//]]>