
// 'stacks' is the Stacks global object.
// All of the other Stacks related Javascript will 
// be attatched to it.
var stacks = {};


// this call to jQuery gives us access to the globaal
// jQuery object. 
// 'noConflict' removes the '$' variable.
// 'true' removes the 'jQuery' variable.
// removing these globals reduces conflicts with other 
// jQuery versions that might be running on this page.
stacks.jQuery = jQuery.noConflict(true);

// Javascript for stacks_in_1_page0
// ---------------------------------------------------------------------

// Each stack has its own object with its own namespace.  The name of
// that object is the same as the stack's id.
stacks.stacks_in_1_page0 = {};

// A closure is defined and assined to the stack's object.  The object
// is also passed in as 'stack' which gives you a shorthand for refering
// to this object from elsewhere.
stacks.stacks_in_1_page0 = (function(stack) {

	// When jQuery is used it will be available as $ and jQuery but only
	// inside the closure.
	var jQuery = stacks.jQuery;
	var $ = jQuery;
	

//-- TipTip Stack v1.4.0 by Joe Workman --//
/* TipTip Version 1.3 - Copyright 2010 Drew Wilson
 * http://code.drewwilson.com/entry/tiptip-jquery-plugin
 * Dual licensed under the MIT and GPL licenses: http://www.opensource.org/licenses/mit-license.php & http://www.gnu.org/licenses/gpl.html
 */
(function($){$.fn.tipTip=function(options){var defaults={activation:"hover",keepAlive:false,maxWidth:"200px",edgeOffset:3,defaultPosition:"bottom",delay:400,fadeIn:200,fadeOut:200,attribute:"title",content:false,enter:function(){},exit:function(){}};var opts=$.extend(defaults,options);if($("#tiptip_holder").length<=0){var tiptip_holder=$('<div id="tiptip_holder" style="max-width:'+opts.maxWidth+';"></div>');var tiptip_content=$('<div id="tiptip_content"></div>');var tiptip_arrow=$('<div id="tiptip_arrow"></div>');$("body").append(tiptip_holder.html(tiptip_content).prepend(tiptip_arrow.html('<div id="tiptip_arrow_inner"></div>')))}else{var tiptip_holder=$("#tiptip_holder");var tiptip_content=$("#tiptip_content");var tiptip_arrow=$("#tiptip_arrow")}return this.each(function(){var org_elem=$(this);if(opts.content){var org_title=opts.content}else{var org_title=org_elem.attr(opts.attribute)}if(org_title!=""){if(!opts.content){org_elem.removeAttr(opts.attribute)}var timeout=false;if(opts.activation=="hover"){org_elem.hover(function(){active_tiptip()},function(){if(!opts.keepAlive){deactive_tiptip()}});if(opts.keepAlive){tiptip_holder.hover(function(){},function(){deactive_tiptip()})}}else if(opts.activation=="focus"){org_elem.focus(function(){active_tiptip()}).blur(function(){deactive_tiptip()})}else if(opts.activation=="click"){org_elem.click(function(){active_tiptip();return false}).hover(function(){},function(){if(!opts.keepAlive){deactive_tiptip()}});if(opts.keepAlive){tiptip_holder.hover(function(){},function(){deactive_tiptip()})}}function active_tiptip(){opts.enter.call(this);tiptip_content.html(org_title);tiptip_holder.hide().removeAttr("class").css("margin","0");tiptip_arrow.removeAttr("style");var top=parseInt(org_elem.offset()['top']);var left=parseInt(org_elem.offset()['left']);var org_width=parseInt(org_elem.outerWidth());var org_height=parseInt(org_elem.outerHeight());var tip_w=tiptip_holder.outerWidth();var tip_h=tiptip_holder.outerHeight();var w_compare=Math.round((org_width-tip_w)/2);var h_compare=Math.round((org_height-tip_h)/2);var marg_left=Math.round(left+w_compare);var marg_top=Math.round(top+org_height+opts.edgeOffset);var t_class="";var arrow_top="";var arrow_left=Math.round(tip_w-12)/2;if(opts.defaultPosition=="bottom"){t_class="_bottom"}else if(opts.defaultPosition=="top"){t_class="_top"}else if(opts.defaultPosition=="left"){t_class="_left"}else if(opts.defaultPosition=="right"){t_class="_right"}var right_compare=(w_compare+left)<parseInt($(window).scrollLeft());var left_compare=(tip_w+left)>parseInt($(window).width());if((right_compare&&w_compare<0)||(t_class=="_right"&&!left_compare)||(t_class=="_left"&&left<(tip_w+opts.edgeOffset+5))){t_class="_right";arrow_top=Math.round(tip_h-13)/2;arrow_left=-12;marg_left=Math.round(left+org_width+opts.edgeOffset);marg_top=Math.round(top+h_compare)}else if((left_compare&&w_compare<0)||(t_class=="_left"&&!right_compare)){t_class="_left";arrow_top=Math.round(tip_h-13)/2;arrow_left=Math.round(tip_w);marg_left=Math.round(left-(tip_w+opts.edgeOffset+5));marg_top=Math.round(top+h_compare)}var top_compare=(top+org_height+opts.edgeOffset+tip_h+8)>parseInt($(window).height()+$(window).scrollTop());var bottom_compare=((top+org_height)-(opts.edgeOffset+tip_h+8))<0;if(top_compare||(t_class=="_bottom"&&top_compare)||(t_class=="_top"&&!bottom_compare)){if(t_class=="_top"||t_class=="_bottom"){t_class="_top"}else{t_class=t_class+"_top"}arrow_top=tip_h;marg_top=Math.round(top-(tip_h+5+opts.edgeOffset))}else if(bottom_compare|(t_class=="_top"&&bottom_compare)||(t_class=="_bottom"&&!top_compare)){if(t_class=="_top"||t_class=="_bottom"){t_class="_bottom"}else{t_class=t_class+"_bottom"}arrow_top=-12;marg_top=Math.round(top+org_height+opts.edgeOffset)}if(t_class=="_right_top"||t_class=="_left_top"){marg_top=marg_top+5}else if(t_class=="_right_bottom"||t_class=="_left_bottom"){marg_top=marg_top-5}if(t_class=="_left_top"||t_class=="_left_bottom"){marg_left=marg_left+5}tiptip_arrow.css({"margin-left":arrow_left+"px","margin-top":arrow_top+"px"});tiptip_holder.css({"margin-left":marg_left+"px","margin-top":marg_top+"px"}).attr("class","tip"+t_class);if(timeout){clearTimeout(timeout)}timeout=setTimeout(function(){tiptip_holder.stop(true,true).fadeIn(opts.fadeIn)},opts.delay)}function deactive_tiptip(){opts.exit.call(this);if(timeout){clearTimeout(timeout)}tiptip_holder.fadeOut(opts.fadeOut)}}})}})(jQuery);

$(document).ready(function() {
	$(".tiptip").tipTip({activation:'hover',keepAlive:false});
	if (true == true) {
	    $('#tiptip_holder').live('click', function() {
          $('#tiptip_holder').fadeOut(200);
        });
	}
});
//-- End TipTip Stack --//


	return stack;
})(stacks.stacks_in_1_page0);


// Javascript for stacks_in_2_page0
// ---------------------------------------------------------------------

// Each stack has its own object with its own namespace.  The name of
// that object is the same as the stack's id.
stacks.stacks_in_2_page0 = {};

// A closure is defined and assined to the stack's object.  The object
// is also passed in as 'stack' which gives you a shorthand for refering
// to this object from elsewhere.
stacks.stacks_in_2_page0 = (function(stack) {

	// When jQuery is used it will be available as $ and jQuery but only
	// inside the closure.
	var jQuery = stacks.jQuery;
	var $ = jQuery;
	
stacks.myMenuFHStackID = 'stacks_in_2_page0';
var $myMenuFH = jQuery.noConflict(); 
$myMenuFH(document).ready(function() {
	$myMenuFH('.nimblehost_myMenuOuterWrapper_stacks_in_2_page0 script').remove();
	$myMenuFH('.nimblehost_myMenuOuterWrapper_stacks_in_2_page0').appendTo('body');
	$myMenuFH('.nimblehost_myMenuOuterWrapper_stacks_in_2_page0').css({position:'absolute'});
	
	var myMenuFHOffset = $myMenuFH('.nimblehost_myMenuOuterWrapper_stacks_in_2_page0').offset();
	var myMenuFHPosition = (myMenuFHOffset.left / $myMenuFH(window).width()) * 100;
	if (myMenuFHPosition > 50) {
		var subMenuOffset = $myMenuFH('.nimblehost_myMenu_stacks_in_2_page0 ul').width() + 1;
		$myMenuFH('.nimblehost_myMenu_stacks_in_2_page0 ul ul').css({left: 'auto', right: subMenuOffset + 'px'});
		$myMenuFH('.nimblehost_myMenu_stacks_in_2_page0 ul li a').css({paddingLeft: '15px'});
		$myMenuFH(window).load(function(){
			$myMenuFH('.nimblehost_myMenu_stacks_in_2_page0 ul li.ddarrow .childIndicator').css({right: 'auto', left: '2px', backgroundImage: 'url(files/ddarrowLeft.png)'});
		});
	}
	
	var myMenuLinkHeight = $myMenuFH('.nimblehost_myMenuOuterWrapper_stacks_in_2_page0').height() + 6;
	$myMenuFH(window).load(function(){
		$myMenuFH('.nimblehost_myMenu_stacks_in_2_page0 ul li.ddarrow .childIndicator').css({height: myMenuLinkHeight + 'px', top: '0'});
	});
});




	return stack;
})(stacks.stacks_in_2_page0);


// Javascript for stacks_in_4_page0
// ---------------------------------------------------------------------

// Each stack has its own object with its own namespace.  The name of
// that object is the same as the stack's id.
stacks.stacks_in_4_page0 = {};

// A closure is defined and assined to the stack's object.  The object
// is also passed in as 'stack' which gives you a shorthand for refering
// to this object from elsewhere.
stacks.stacks_in_4_page0 = (function(stack) {

	// When jQuery is used it will be available as $ and jQuery but only
	// inside the closure.
	var jQuery = stacks.jQuery;
	var $ = jQuery;
	

//-- InfoBar Stack v1.0.4 by Joe Workman --//
/*
 * Activebar2 is free software
 * The latest version of ActiveBar can be obtained from: http://www.westhoffswelt.de/
 * @license http://www.gnu.org/licenses/gpl-3.0.txt GPL
 */
eval(function(p,a,c,k,e,r){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('(d($){$.7.4=d(a){p a=$.7.1b({},$.7.4.G,a);i($.7.4.8==q){$.7.4.8=H(a)}I($.7.4.8,a);$.7.4.y();$(\'.r\',$.7.4.8).1c();$(m).1d(d(){$(\'.r\',$.7.4.8).s(m)});$.7.4.8.J(\'z\');i(a.n!=q){$.7.4.8.z(d(){j.1e.1f=a.n})}$.7.4.8.9(\'e\',\'-\'+$.7.4.8.k()+\'o\');$.7.4.K()};$.7.4.G={\'l\':\'1g\',\'L\':\'#1h\',\'M\':\'1i\',\'N\':\'1j 1k 1l,1m,1n-1o\',\'O\':\'1p\',\'A\':\'1q\',\'t\':\'P/4-1r.Q\',\'R\':\'P/4-1s.Q\',\'n\':q};$.7.4.g=0;$.7.4.8=q;$.7.4.K=d(){i($.7.4.g>1){B}$.7.4.g=2;$.7.4.8.9(\'C\',\'1t\');p a=$.7.4.8.k();$.7.4.8.S({\'e\':\'+=\'+a+\'o\'},a*T,\'U\',d(){$.7.4.g=3})};$.7.4.y=d(){i($.7.4.g<2){B}$.7.4.g=1;p a=$.7.4.8.k();$.7.4.8.S({\'e\':\'-=\'+a+\'o\'},a*T,\'U\',d(){$.7.4.8.9(\'C\',\'V\');$.7.4.1u=1v})};d H(b){p c=$(\'<f></f>\').u(\'1w\',\'4-8\');c.9({\'C\':\'V\',\'W\':\'1x\',\'1y\':\'1z\',\'e\':\'X\',\'v\':\'X\',\'1A\':\'1B\'});$(j).1C(\'Y\',d(){c.w($(m).w())});$(j).1D(\'Y\');i($.D.1E&&($.D.Z.10(0,1)==\'5\'||$.D.Z.10(0,1)==\'6\')){c.9(\'W\',\'1F\');$(j).1G(d(){c.1H(11,11);i($.7.4.g==3){c.9(\'e\',$(j).12()+\'o\')}1I{c.9(\'e\',($(j).12()-c.k())+\'o\')}})}c.s($(\'<f></f>\').u(\'E\',\'t\').9({\'13\':\'v\',\'w\':\'x\',\'k\':\'x\',\'F\':\'14 h h h\'}));c.s($(\'<f></f>\').u(\'E\',\'15\').9({\'13\':\'1J\',\'F\':\'14 h h h\',\'w\':\'x\',\'k\':\'x\'}).z(d(a){$.7.4.y();a.1K()}));c.s($(\'<f></f>\').u(\'E\',\'r\').9({\'F\':\'1L 16 h 16\'}));$(\'1M\').1N(c);B c};d I(a,b){a.9({\'l\':b.l,\'1O\':\'1P 1Q \'+b.L});a.J(\'1R 1S\');a.1T(d(){$(m).9(\'17\',b.M)},d(){$(m).9(\'17\',b.l)});$(\'.t\',a).9(\'l\',\'18 n( \\\'\'+b.t+\'\\\' ) e v 19-1a\');$(\'.15\',a).9(\'l\',\'18 n( \\\'\'+b.R+\'\\\' ) e v 19-1a\');$(\'.r\',a).9({\'1U\':b.O,\'1V\':b.N,\'A\':b.A})}})(1W);',62,121,'||||activebar|||fn|container|css||||function|top|div|state|4px|if|window|height|background|this|url|px|var|null|content|append|icon|attr|left|width|16px|hide|click|fontSize|return|display|browser|class|margin|defaults|initializeActivebar|setOptionsOnContainer|unbind|show|border|highlight|font|fontColor|images|png|button|animate|20|linear|none|position|0px|resize|version|substring|true|scrollTop|float|6px|close|28px|backgroundColor|transparent|no|repeat|extend|empty|each|location|href|InfoBackground|c8c8c8|Highlight|Bitstream|Vera|Sans|verdana|sans|serif|InfoText|12px|information|closebtn|block|visible|false|id|fixed|zIndex|9999|cursor|pointer|bind|trigger|msie|absolute|scroll|stop|else|right|stopPropagation|8px|body|prepend|borderBottom|1px|solid|mouseenter|mouseleave|hover|color|fontFamily|jQuery'.split('|'),0,{}))

$(document).ready(function() {
    $('#infobar-stacks_in_4_page0').activebar({  button:'files/infobar-close.png',
                                    icon:'files/infobar-close.png',
                                    url:null,
                                    background:'#CC0000',
                                    highlight:'#E50000',
                                    font:'sans-serif, verdana',
                                    fontColor:'#FFFFFF',
                                    fontSize:'10pt'
    });
    if ('http://american.redcross.org/site/PageServer?pagename=ntld_main&s_src=RSG000000000&s_subsrc=RCO_FrontPagePanel' != '#') {
        $('#activebar-container').live('click',function(e) {
            (true == true) ? window.open('http://american.redcross.org/site/PageServer?pagename=ntld_main&s_src=RSG000000000&s_subsrc=RCO_FrontPagePanel') : window.location.href = 'http://american.redcross.org/site/PageServer?pagename=ntld_main&s_src=RSG000000000&s_subsrc=RCO_FrontPagePanel';
        });
        $('#activebar-container').live('mouseover',function(e) {
            $('#activebar-container').addClass('activebar-link');
        });
    }
});
//-- End InfoBar Stack --//

	return stack;
})(stacks.stacks_in_4_page0);


// Javascript for stacks_in_6_page0
// ---------------------------------------------------------------------

// Each stack has its own object with its own namespace.  The name of
// that object is the same as the stack's id.
stacks.stacks_in_6_page0 = {};

// A closure is defined and assined to the stack's object.  The object
// is also passed in as 'stack' which gives you a shorthand for refering
// to this object from elsewhere.
stacks.stacks_in_6_page0 = (function(stack) {

	// When jQuery is used it will be available as $ and jQuery but only
	// inside the closure.
	var jQuery = stacks.jQuery;
	var $ = jQuery;
	
/* Copyright 2010-2011 NimbleHost. All rights reserved. */

var $hijax = jQuery.noConflict(); 

function activateHijax(fileExtension, fileLink) {
	/* Global default ajax settings for Hijax. */
	var hijaxErrorCode = "There was a problem loading the content. Please try again, or contact the webmaster.<br/><p><strong>Error details:</strong> <span class='hijaxErrorDetails'>";
	$hijax.ajaxSetup({
		url: fileLink,
		beforeSend: function() {
			$hijax('#nimblehost_hijaxContentDetails_stacks_in_6_page0').empty();
			},
		timeout: 30000,
		error: function(xhr, error) {
			var generalError;
			if ( xhr.statusText == '' ) { generalError = "Specific details are not available. This usually means: <ul><li>The file is missing, <strong>or</strong></li><li>The file is located on a different domain/sub-domain from the website you are viewing - for security reasons, such files cannot be displayed via ajax.</li></ul>"; } else { generalError = ''; }
			if ( error == "timeout" ) { generalError = "The request to load the content has timed out. This could mean the server is not responding, or that the file size is too large to be loaded in the allotted time." }
			$hijax("#nimblehost_hijaxContentDetails_stacks_in_6_page0").html(hijaxErrorCode + xhr.statusText + " " + generalError + "</span></p>");
			}
	});
	switch(fileExtension) {
		case 'jpg':
		case 'jpeg':
		case 'jif':
		case 'jfif':
		case 'png':
		case 'gif':
		case 'psd':
		case 'tif':
		case 'tiff':
		case 'bmp':
		case 'svg':
			var imageEmbed = '<div class="hijaxMedia"><img class="hijaxImage" src="' + fileLink + '"/></div>';
			$hijax.ajax({
				url: '/',
				success: function() {
						$hijax('#nimblehost_hijaxContentDetails_stacks_in_6_page0').html(imageEmbed);
					}
			});
		break;
		case 'txt':
		case 'php':
		case 'rb':
		case 'py':
		case 'pl':
		case 'htm':
		case 'html':
		case 'shtml':
		case 'phtml':
		case 'xht':
		case 'xhtml':
		case 'stm':
		case 'xml':
		case 'jsp':
		case 'asp':
		case 'aspx':
		case 'cfm':
		case 'cgi':
			$hijax.ajax({
				success: function(data) {
						$hijax('#nimblehost_hijaxContentDetails_stacks_in_6_page0').html(data);
					}
				
			});
		break;
		case 'mp3':
		case 'aac':
		case 'aif':
		case 'aiff':
		case 'mid':
		case 'midi':
		case 'wav':
		case 'wma':
		case 'mpga':
		case 'au':
		case 'oga':
			var html5AudioEmbed = '<div class="hijaxMedia"><div id="hijaxMediaFlashFallback_stacks_in_6_page0"><audio src="' + fileLink + '" controls></audio></div></div>';
			$hijax.ajax({
				success: function() {
						var a = document.createElement("audio");
						if ( !a.play ) {
							$hijax('#nimblehost_hijaxContentDetails_stacks_in_6_page0').text("Your browser does not support HTML5 audio/video. Please go back and download the media file directly.");
						} else {
							$hijax('#nimblehost_hijaxContentDetails_stacks_in_6_page0').html(html5AudioEmbed);
						}
					}
			});
		break;
		case 'qt':
		case 'mpg':
		case 'mpeg':
		case 'mov':
		case 'mp4':
		case 'm4v':
		case 'avi':
		case 'wmv':
		case 'ogg':
		case 'webm':
		case 'ogv':
			var html5VideoEmbed = '<div class="hijaxMedia"><div id="hijaxMediaFlashFallback_stacks_in_6_page0"><video src="' + fileLink + '" controls></video></div></div>';
			$hijax.ajax({
				success: function() {
						var v = document.createElement("video");
						if ( !v.play ) {
							$hijax('#nimblehost_hijaxContentDetails_stacks_in_6_page0').text("Your browser does not support HTML5 audio/video. Please go back and download the media file directly.");
						} else {
							$hijax('#nimblehost_hijaxContentDetails_stacks_in_6_page0').html(html5VideoEmbed);
						}
					}
			});
		break;
		default:
			$hijax('#nimblehost_hijaxContentDetails_stacks_in_6_page0').load($hijax(this).attr('href'));
	}
}

$hijax(document).ready(function() {
	/* Create/remove loading animation and some written feedback for visitors to see during the ajax request, as they're waiting for content to load. */
	$hijax('#nimblehost_hijaxContentDetails_stacks_in_6_page0').ajaxStart(function() {
		$hijax("<div id='hijaxInProgress'><div id='hijaxLoadingFeedback'><p class='loadingMessage1'>Please wait as the content is loaded.</p><p class='loadingMessage2'>Thanks for your patience.</p></div></div>").insertBefore('#stacks_in_6_page0');
		$hijax('#hijaxInProgress').animate({height: '120px'}, 400, function() {
			$hijax('#hijaxInProgress .loadingMessage1').delay(3500).fadeTo(1000, 1, function(){
				$hijax('#hijaxInProgress .loadingMessage2').delay(4500).slideDown().fadeIn(1000);	
			});
		});
	}).ajaxStop(function() {
		$hijax('#hijaxInProgress').fadeTo(300, 0, function(){
			$hijax(this).slideUp(300, function(){
				$hijax(this).remove();
				$hijax('.nimblehost_viewHijaxContent_stacks_in_6_page0').slideDown(500, function(){
					$hijax(this).fadeTo(300, 1);
					/* Resize images that are too large for the area they are being displayed in. */
					if ( $hijax('#nimblehost_hijaxContentDetails_stacks_in_6_page0').width() < $hijax('.hijaxMedia img.hijaxImage').width() ) {
						$hijax('.hijaxMedia img.hijaxImage').delay(400).animate({width: '100%', filter: 'progid:DXImageTransform.Microsoft.gradient(startColorstr=#00FFFFFF,endColorstr=#00FFFFFF)'}, 500);
					} else {
						/* Check for png files in IE, to fix the jagged black edges that appear when such images with transparency are loaded via ajax. */
						if ($hijax('.hijaxMedia img.hijaxImage').is(':visible')) {
							var fileExtension = $hijax('.hijaxMedia img.hijaxImage').attr('src').split('.').pop().toLowerCase();
							if ( !($hijax.support.opacity) && (fileExtension == 'png') ) {
								$hijax('.hijaxMedia img.hijaxImage').css({filter: 'progid:DXImageTransform.Microsoft.gradient(startColorstr=#00FFFFFF,endColorstr=#00FFFFFF)'});
							}
						}
					}
				});
			});
		});
	});

	$hijax('a.hijax').live('click', function(e) {
		var fileLink = $hijax(this).attr('href');
		var fileExtension = $hijax(this).attr('href').split('.').pop().toLowerCase();

		if ( fileExtension == 'pdf' || fileExtension == 'rtf' ) { 
			return;
		} else {
			/* Check if other Hijax content is already being displayed. */
			if ( $hijax('.nimblehost_viewHijaxContent_stacks_in_6_page0').is(':visible') ) {
				$hijax('.nimblehost_viewHijaxContent_stacks_in_6_page0').fadeTo(300, 0).slideUp(500, function(){
					activateHijax(fileExtension, fileLink);
				});
			} else {
				$hijax('.nimblehost_hijaxContent_stacks_in_6_page0').fadeTo(300, 0).slideUp(500);
				activateHijax(fileExtension, fileLink);
				$hijax("<p><a class='hideHijaxedContent' href='#'>Return Home</a></p>").insertBefore('.nimblehost_viewHijaxContent_stacks_in_6_page0');
				$hijax('a.hideHijaxedContent').fadeIn(800);
			}
			e.preventDefault();
		}
	});
	
	$hijax('a.hideHijaxedContent').live('click', function(e){
		if ( $hijax('#hijaxInProgress').is(':visible') ){
			$hijax('#hijaxInProgress').fadeTo(300, 0, function(){
				$hijax(this).slideUp(300, function(){
					$hijax(this).remove();
				});
			});
		}
		$hijax('.nimblehost_viewHijaxContent_stacks_in_6_page0').fadeTo(300, 0, function(){ $hijax('a.hideHijaxedContent').parent().fadeOut().remove(); }).slideUp(500);
		$hijax('.nimblehost_hijaxContent_stacks_in_6_page0').slideDown(800).fadeTo('normal', 1);
		e.preventDefault();
	});
});
	return stack;
})(stacks.stacks_in_6_page0);


// Javascript for stacks_in_26_page0
// ---------------------------------------------------------------------

// Each stack has its own object with its own namespace.  The name of
// that object is the same as the stack's id.
stacks.stacks_in_26_page0 = {};

// A closure is defined and assined to the stack's object.  The object
// is also passed in as 'stack' which gives you a shorthand for refering
// to this object from elsewhere.
stacks.stacks_in_26_page0 = (function(stack) {

	// When jQuery is used it will be available as $ and jQuery but only
	// inside the closure.
	var jQuery = stacks.jQuery;
	var $ = jQuery;
	

//-- Browser Reject Stack v1.4.0 by Joe Workman --//
/*  * jReject (jQuery Browser Rejection Plugin)
    * Version 0.6.1-Beta
    * URL: http://jreject.turnwheel.com/
    * Description: jReject gives you a customizable and easy solution to reject/allowing specific browsers access to your pages
    * Author: Steven Bower (TurnWheel Designs) http://turnwheel.com/
    * Copyright: Copyright (c) 2009 Steven Bower under dual MIT/GPL license.
    * Depends On: jQuery Browser Plugin (http://jquery.thewikies.com/browser) 
*/ 
(function($){$.reject=function(opts){var opts=$.extend(true,{reject:{all:false,msie5:true,msie6:true},display:[],browserInfo:{firefox:{text:'Firefox 3.5+',url:'http://www.mozilla.com/firefox/'},safari:{text:'Safari 3+',url:'http://www.apple.com/safari/download/'},opera:{text:'Opera 9+',url:'http://www.opera.com/download/'},chrome:{text:'Chrome 2+',url:'http://www.google.com/chrome/'},msie:{text:'Internet Explorer 7+',url:'http://www.microsoft.com/windows/Internet-explorer/default.aspx'},gcf:{text:'Google Chrome Frame',url:'http://code.google.com/chrome/chromeframe/',allow:{all:false,msie:true}}},header:'Did you know that your Internet Browser is out of date?',paragraph1:'Your browser is out of date, and may not be compatible with our website. A list of the most popular web browsers can be found below.',paragraph2:'Just click on the icons to get to the download page',close:true,closeMessage:'By closing this window you acknowledge that your experience on this website may be degraded',closeLink:'Close This Window',closeURL:'#',closeESC:true,closeCookie:false,imagePath:'/images/',overlayBgColor:'#000',overlayOpacity:0.8,fadeOutTime:'fast'},opts);if(opts.display.length<1)opts.display=['firefox','chrome','msie','safari','opera','gcf'];if($.isFunction(opts.beforeReject))opts.beforeReject(opts);var browserCheck=function(settings){return(settings['all']?true:false)||(settings[$.os.name]?true:false)||(settings[$.layout.name]?true:false)||(settings[$.browser.name]?true:false)||(settings[$.browser.className]?true:false);};if(browserCheck(opts.reject)){if(opts.close&&opts.closeCookie){var COOKIE_NAME='jreject-close';var _cookie=function(name,value){if(typeof value!='undefined')document.cookie=name+'='+encodeURIComponent(value===null?'':value);else{var cookie,val=null;if(document.cookie&&document.cookie!=''){var cookies=document.cookie.split(';');for(var i=0;i<cookies.length;++i){cookie=$.trim(cookies[i]);if(cookie.substring(0,name.length+1)==(name+'=')){val=decodeURIComponent(cookie.substring(name.length+1));break;}}}
return val;}};if(_cookie(COOKIE_NAME)!=null)return false;}
var html='<div id="jr_overlay"></div><div id="jr_wrap"><div id="jr_inner"><h1 id="jr_header">'+opts.header+'</h1>'+
(opts.paragraph1===''?'':'<p>'+opts.paragraph1+'</p>')+(opts.paragraph2===''?'':'<p>'+opts.paragraph2+'</p>')+'<ul>';var displayNum=0;for(var x in opts.display){var browser=opts.display[x];var info=opts.browserInfo[browser]||false;if(!info||(info['allow']!=undefined&&!browserCheck(info['allow'])))continue;var url=info.url||'#';html+='<li id="jr_'+browser+'"><div class="jr_icon"></div><div><a href="'+url+'">'+(info.text||'Unknown')+'</a></div></li>';++displayNum;}
html+='</ul><div id="jr_close">'+(opts.close?'<a href="'+opts.closeURL+'">'+opts.closeLink+'</a><p>'+opts.closeMessage+'</p>':'')+'</div>'+'</div></div>';var _closeReject=function(){if(!opts.close)return false;if($.isFunction(opts.beforeClose))opts.beforeClose(opts);$('#jr_overlay,#jr_wrap').fadeOut(opts.fadeOutTime,function(){$(this).remove();if($.isFunction(opts.afterClose))opts.afterClose(opts);});$('embed, object, select, applet').show();if(opts.closeCookie)_cookie(COOKIE_NAME,'true');if(opts.closeURL==='#')return false;};var element=$('<div>'+html+'</div>');var size=_pageSize();var scroll=_scrollSize();element.find('#jr_overlay').css({width:size[0],height:size[1],position:'absolute',top:0,left:0,background:opts.overlayBgColor,zIndex:200,opacity:opts.overlayOpacity,padding:0,margin:0}).next('#jr_wrap').css({position:'absolute',width:'100%',top:scroll[1]+(size[3]/4),left:scroll[0],zIndex:300,textAlign:'center',padding:0,margin:0}).children('#jr_inner').css({background:'#FFF',border:'1px solid #CCC',fontFamily:'"Lucida Grande","Lucida Sans Unicode",Arial,Verdana,sans-serif',color:'#4F4F4F',margin:'0 auto',position:'relative',height:'auto',minWidth:displayNum*100,maxWidth:displayNum*140,width:$.layout.name=='trident'?displayNum*155:'auto',padding:20,fontSize:12}).children('#jr_header').css({display:'block',fontSize:'1.3em',marginBottom:'0.5em',color:'#333',fontFamily:'Helvetica,Arial,sans-serif',fontWeight:'bold',textAlign:'left',padding:5,margin:0}).nextAll('p').css({textAlign:'left',padding:5,margin:0}).siblings('ul').css({listStyleImage:'none',listStylePosition:'outside',listStyleType:'none',margin:0,padding:0}).children('li').css({background:'transparent url("'+opts.imagePath+'background_browser.gif") no-repeat scroll left top',cusor:'pointer',float:'left',width:120,height:122,margin:'0 10px 10px 10px',padding:0,textAlign:'center'}).children('.jr_icon').css({width:100,height:100,margin:'1px auto',padding:0,background:'transparent no-repeat scroll left top',cursor:'pointer'}).each(function(){var self=$(this);self.css('background','transparent url('+opts.imagePath+'browser_'+(self.parent('li').attr('id').replace(/jr_/,''))+'.gif) no-repeat scroll left top');self.click(function(){window.open($(this).next('div').children('a').attr('href'),'jr_'+Math.round(Math.random()*11));return false;});}).siblings('div').css({color:'#808080',fontSize:'0.8em',height:18,lineHeight:'17px',margin:'1px auto',padding:0,width:118,textAlign:'center'}).children('a').css({color:'#333',textDecoration:'none',padding:0,margin:0}).hover(function(){$(this).css('textDecoration','underline');},function(){$(this).css('textDecoration','none');}).click(function(){window.open($(this).attr('href'),'jr_'+Math.round(Math.random()*11));return false;}).parents('#jr_inner').children('#jr_close').css({margin:'0 0 0 50px',clear:'both',textAlign:'left',padding:0,margin:0}).children('a').css({color:'#000',display:'block',width:'auto',margin:0,padding:0,textDecoration:'underline'}).click(_closeReject).nextAll('p').css({padding:'10px 0 0 0',margin:0});$('embed, object, select, applet').hide();$('body').append(element);$(window).bind('resize scroll',function(){var size=_pageSize();$('#jr_overlay').css({width:size[0],height:size[1]});var scroll=_scrollSize();$('#jr_wrap').css({top:scroll[1]+(size[3]/4),left:scroll[0]});});if(opts.close&&opts.closeESC)$(document).keydown(function(event){if(event.keyCode==27)_closeReject();});if($.isFunction(opts.afterReject))opts.afterReject(opts);return true;}
else{if($.isFunction(opts.onFail))opts.onFail(opts);return false;}};var _pageSize=function(){var xScroll=window.innerWidth&&window.scrollMaxX?window.innerWidth+window.scrollMaxX:(document.body.scrollWidth>document.body.offsetWidth?document.body.scrollWidth:document.body.offsetWidth);var yScroll=window.innerHeight&&window.scrollMaxY?window.innerHeight+window.scrollMaxY:(document.body.scrollHeight>document.body.offsetHeight?document.body.scrollHeight:document.body.offsetHeight);var windowWidth=window.innerWidth?window.innerWidth:(document.documentElement&&document.documentElement.clientWidth?document.documentElement.clientWidth:document.body.clientWidth);var windowHeight=window.innerHeight?window.innerHeight:(document.documentElement&&document.documentElement.clientHeight?document.documentElement.clientHeight:document.body.clientHeight);return[xScroll<windowWidth?xScroll:windowWidth,yScroll<windowHeight?windowHeight:yScroll,windowWidth,windowHeight];};var _scrollSize=function(){return[window.pageXOffset?window.pageXOffset:(document.documentElement&&document.documentElement.scrollTop?document.documentElement.scrollLeft:document.body.scrollLeft),window.pageYOffset?window.pageYOffset:(document.documentElement&&document.documentElement.scrollTop?document.documentElement.scrollTop:document.body.scrollTop)];};})(jQuery);
/*  * jQuery Browser Plugin
    * Version 2.3
    * 2008-09-17 19:27:05
    * URL: http://jquery.thewikies.com/browser
    * Description: jQuery Browser Plugin extends browser detection capabilities and can assign browser selectors to CSS classes.
    * Author: Nate Cavanaugh, Minhchau Dang, & Jonathan Neal
    * Copyright: Copyright (c) 2008 Jonathan Neal under dual MIT/GPL license. 
*/
(function($){$.browserTest=function(a,z){var u='unknown',x='X',m=function(r,h){for(var i=0;i<h.length;i=i+1){r=r.replace(h[i][0],h[i][1]);}return r;},c=function(i,a,b,c){var r={name:m((a.exec(i)||[u,u])[1],b)};r[r.name]=true;r.version=(c.exec(i)||[x,x,x,x])[3];if(r.name.match(/safari/)&&r.version>400){r.version='2.0';}if(r.name==='presto'){r.version=($.browser.version>9.27)?'futhark':'linear_b';}r.versionNumber=parseFloat(r.version,10)||0;r.versionX=(r.version!==x)?(r.version+'').substr(0,1):x;r.className=r.name+r.versionX;return r;};a=(a.match(/Opera|Navigator|Minefield|KHTML|Chrome/)?m(a,[[/(Firefox|MSIE|KHTML,\slike\sGecko|Konqueror)/,''],['Chrome Safari','Chrome'],['KHTML','Konqueror'],['Minefield','Firefox'],['Navigator','Netscape']]):a).toLowerCase();$.browser=$.extend((!z)?$.browser:{},c(a,/(camino|chrome|firefox|netscape|konqueror|lynx|msie|opera|safari)/,[],/(camino|chrome|firefox|netscape|netscape6|opera|version|konqueror|lynx|msie|safari)(\/|\s)([a-z0-9\.\+]*?)(\;|dev|rel|\s|$)/));$.layout=c(a,/(gecko|konqueror|msie|opera|webkit)/,[['konqueror','khtml'],['msie','trident'],['opera','presto']],/(applewebkit|rv|konqueror|msie)(\:|\/|\s)([a-z0-9\.]*?)(\;|\)|\s)/);$.os={name:(/(win|mac|linux|sunos|solaris|iphone)/.exec(navigator.platform.toLowerCase())||[u])[0].replace('sunos','solaris')};if(!z){$('html').addClass([$.os.name,$.browser.name,$.browser.className,$.layout.name,$.layout.className].join(' '));}};$.browserTest(navigator.userAgent);})(jQuery);

$(document).ready(function() {
	$.reject({ 
	        reject: { // Rejection flags for specific browsers
	            all: false, // Covers Everything (Nothing blocked)
	            msie5: true, // Covers MSIE 5-6 (Blocked by default)
	            /*
	                Possibilities are endless...

	                msie: false,msie5: true,msie6: true,msie7: false,msie8: false, // MSIE Flags (Global, 5-8)
	                firefox: false,firefox1: false,firefox2: false,firefox3: false, // Firefox Flags (Global, 1-3)
	                konqueror: false,konqueror1: false,konqueror2: false,konqueror3: false, // Konqueror Flags (Global, 1-3)
	                chrome: false,chrome1: false,chrome2: false,chrome3: false,chrome4: false, // Chrome Flags (Global, 1-4)
	                safari: false,safari2: false,safari3: false,safari4: false, // Safari Flags (Global, 1-4)
	                opera: false,opera7: false,opera8: false,opera9: false,opera10: false, // Opera Flags (Global, 7-10)
	                gecko: false,webkit: false,trident: false,khtml: false,presto: false, // Rendering Engines (Gecko, Webkit, Trident, KHTML, Presto)
	                win: false,mac: false,linux : false,solaris : false,iphone: false, // Operating Systems (Win, Mac, Linux, Solaris, iPhone)
	                unknown: false, // Unknown covers everything else
	            */
				msie6: true, unknown:false
	        },
	        display: ['safari','firefox','chrome','opera','msie','gcf'], // What browsers to display and their order
	        header: 'Did you know that your Internet Browser is out of date?', // Header of pop-up window
	        paragraph1: 'Your browser is out of date, and may not be compatible with our website. A list of the most popular web browsers can be found below.', // Paragraph 1
	        paragraph2: 'Just click on the icons to get to the download page', // Paragraph 2
	        close: true, // Allow closing of window
	        closeMessage: 'By closing this window you acknowledge that your experience on this website may be degraded', // Message displayed below closing link
	        closeLink: 'Close This Window', // Text for closing link
	        closeURL: '#', // Close URL (Defaults '#')
	        closeESC: true, // Allow closing of window with esc key
	        closeCookie: false, // If cookies should be used to remmember if the window was closed (applies to current session only)
	        imagePath: 'files/browser-reject-images/', // Path where images are located
	        overlayBgColor: '#000000', // Background color for overlay
	        overlayOpacity: 0.8, // Background transparency (0-1)
	        fadeOutTime: 'fast' // Fade out time on close ('slow','medium','fast' or integer in ms)
	    });
});
//-- End Browser Reject Stack --//

	return stack;
})(stacks.stacks_in_26_page0);


// Javascript for stacks_in_29_page0
// ---------------------------------------------------------------------

// Each stack has its own object with its own namespace.  The name of
// that object is the same as the stack's id.
stacks.stacks_in_29_page0 = {};

// A closure is defined and assined to the stack's object.  The object
// is also passed in as 'stack' which gives you a shorthand for refering
// to this object from elsewhere.
stacks.stacks_in_29_page0 = (function(stack) {

	// When jQuery is used it will be available as $ and jQuery but only
	// inside the closure.
	var jQuery = stacks.jQuery;
	var $ = jQuery;
	
//-- Like It Stack v1.0.5 by Joe Workman --//

/*  Tallest jQuery Plugin
 *	@author	nickf
 *	@date	2009-08-19
 *	@version 1.0 $Id: jquery.tallest.js 100 2009-08-19 00:40:09Z spadgos $
 */
jQuery(function($) {
	$.fn.tallest = function()       { return this._extremities({ 'aspect' : 'height', 'max' : true  })[0] };
	$.fn.tallestSize = function()   { return this._extremities({ 'aspect' : 'height', 'max' : true  })[1] };
	$.fn.shortest = function()      { return this._extremities({ 'aspect' : 'height', 'max' : false })[0] };
	$.fn.shortestSize = function()  { return this._extremities({ 'aspect' : 'height', 'max' : false })[1] };
	$.fn.widest = function()        { return this._extremities({ 'aspect' : 'width',  'max' : true  })[0] };
	$.fn.widestSize = function()    { return this._extremities({ 'aspect' : 'width',  'max' : true  })[1] };
	$.fn.thinnest = function()      { return this._extremities({ 'aspect' : 'width',  'max' : false })[0] };
	$.fn.thinnestSize = function()  { return this._extremities({ 'aspect' : 'width',  'max' : false })[1] };
	$.fn._extremities = function(options) {
		var defaults = {
			aspect : 'height', // or 'width'
			max : true	// or false to find the min
		};
		options = $.extend(defaults, options);
		if (this.length < 2) {
			return [this, this[options.aspect]()];
		}
		var bestIndex = 0,
			bestSize = this.eq(0)[options.aspect](),
			thisSize
		;
		for (var i = 1; i < this.length; ++i) {
			thisSize = this.eq(i)[options.aspect]();
			if ((options.max && thisSize > bestSize) || (!options.max && thisSize < bestSize)) {
				bestSize = thisSize;
				bestIndex = i;
			}
		}
		return [ this.eq(bestIndex), bestSize ];
	};
});
(function($){ 
    $.getScript = function(url, callback, cache){
    	$.ajax({
    			type: "GET",
    			url: url,
    			success: callback,
    			dataType: "script",
    			cache: true
    	});
    };
})(jQuery)

$(document).ready(function() {	
    
// Twitter Buttons
switch ( 2 ) {
case 1:
	$('#like_twitter1 a').attr('data-count', 'vertical');
    $.getScript('http://platform.twitter.com/widgets.js');
    break;
case 2:
    $('#like_twitter2 a').attr('data-count', 'horizontal');
    $.getScript('http://platform.twitter.com/widgets.js');
    break;
case 3:
    $('#like_twitter3 a').attr('data-count', 'none');
    $.getScript('http://platform.twitter.com/widgets.js');
    break;
default:
    // Do Nothing
}
// Facebook Buttons
switch ( 2 ) {
case 1:
    $('#like_facebook1 .like_facebook').html('<fb:like show_faces="false" width="280"></fb:like>');
    break;
case 2:
    $('#like_facebook2 .like_facebook').html('<fb:like layout="button_count" show_faces="false" width="50"></fb:like>');
    break;
case 3:
    $('#like_facebook3 .like_facebook').html('<fb:like layout="box_count" show_faces="false" width="50"></fb:like>');
    break;
case 4:
    $('#like_facebook4 .like_facebook').html('<fb:like show_faces="false" width="450" action="recommend"></fb:like>');
    break;
case 5:
    $('#like_facebook5 .like_facebook').html('<fb:like layout="button_count" show_faces="false" width="50" action="recommend"></fb:like>');
    break;
case 6:
    $('#like_facebook6 .like_facebook').html('<fb:like layout="box_count" show_faces="false" width="50" action="recommend"></fb:like>');
    break;
default:
    // Do Nothing
}
// Digg Buttons
switch ( 3 ) {
case 1:
    $('#like_digg1 a').addClass('DiggWide');
    $.getScript('http://widgets.digg.com/buttons.js');
    break;
case 2:
    $('#like_digg2 a').addClass('DiggMedium');
    $.getScript('http://widgets.digg.com/buttons.js');
    break;
case 3:
    $('#like_digg3 a').addClass('DiggCompact');
    $.getScript('http://widgets.digg.com/buttons.js');
    break;
case 4:
    $('#like_digg4 a').addClass('DiggIcon');
    $.getScript('http://widgets.digg.com/buttons.js');
    break;
default:
    // Do Nothing
}
// LinkedIn Buttons
switch ( 2 ) {
case 1:
    $('#like_linkedin1').html('<script type="in/share" data-counter="top"></script>');
    $.getScript('http://platform.linkedin.com/in.js');
    break;
case 2:
	$('#like_linkedin2').html('<script type="in/share" data-counter="right"></script>');
	$.getScript('http://platform.linkedin.com/in.js');
	break;
case 3:
	$('#like_linkedin3').html('<script type="in/share"></script>');
	$.getScript('http://platform.linkedin.com/in.js');
	break;
default:
    // Do Nothing
}
// Evernote Button
if (2 != 0) {
    $.getScript('http://static.evernote.com/noteit.js');
}
//Email Button
$('.like_email a').attr('href','mailto:?subject=Check out this webpage&body='+location.href);
// Make all buttons have the same height and display it
// $('.like_button_wrapper').height( $('.like_button').tallest().height() );
});

//-- End Like It Stack --//
	return stack;
})(stacks.stacks_in_29_page0);



