
// '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_3203_page5
// ---------------------------------------------------------------------

// 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_3203_page5 = {};

// 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_3203_page5 = (function(stack) {

	// When jQuery is used it will be available as $ and jQuery but only
	// inside the closure.
	var jQuery = stacks.jQuery;
	var $ = jQuery;
	
jQuery(document).ready(function($) {
	/* SdCoMa (0.0.5) */var SdCoMa = function (rgb, factor, alpha, shade) { var factor = factor * 10; if (rgb.search('rgb') == -1) { var rgb = /^#?([a-f0-9]{2})([a-f0-9]{2})([a-f0-9]{2})$/i.exec(rgb).slice(1); for (var i=0; i < rgb.length; i++) rgb[i] = parseInt(rgb[i], 16), rgbOrig = rgb[i]; } else { var rgb = rgb.match(/^rgba?\((\d+),\s*(\d+),\s*(\d+)(?:,\s*(\d+))?\)$/); rgb.splice(0,1); for (var i=0; i < rgb.length; i++) rgb[i] = parseInt(rgb[i]), rgbOrig = rgb[i]; } for (var i=0; i < rgb.length; i++) { if (shade == 1 || shade == 'light' || shade == true) rgb[i] = Math.floor(rgb[i] + factor); else if (shade == 0 || shade == 'dark' || shade == false) rgb[i] = Math.floor(rgb[i] - factor); }; if (rgb[0] <= 100 || rgb[1] <= 100 || rgb[2] <= 100) for (var i=0; i < rgb.length; i++) rgbOrig = rgb[i], rgb[i] = rgbOrig + (factor * 4); else if (rgb[0] >= 255 || rgb[1] >= 255 || rgb[2] >= 255) for (var i=0; i < rgb.length; i++) rgbOrig = rgb[i], rgb[i] = rgbOrig - (factor * 4); var isRGBA = (function() { if (! ('result' in arguments.callee)) { var scriptElement = document.getElementsByTagName('script')[0]; var prevColor = scriptElement.style.color; var testColor = 'rgba(0, 0, 0, 0.5)'; if (prevColor == testColor) { arguments.callee.result = true; } else { try { scriptElement.style.color = testColor; } catch(e) {} arguments.callee.result = scriptElement.style.color != prevColor; scriptElement.style.color = prevColor; } } return arguments.callee.result; })(); var RGBA = new Array(); if ( isRGBA != true) { RGBA[0] = 'rgb('; RGBA[1] = ''; } else { RGBA[0] = 'rgba('; RGBA[1] = ', '+alpha; } var rgbNew = RGBA[0]+rgb[0]+', '+rgb[1]+', '+rgb[2]+RGBA[1]+')'; return rgbNew; };
	
	/*
		# seyDoggy ZipBar #
	*/
	
	// VARIABLES
	var bgRGBOrig = $('#stacks_in_3203_page5 .sdZipbar').css('background-color');/* background original rgb */
	var bgHover = SdCoMa(bgRGBOrig, 1.5, 1, 'light');/* background hover */
	var linkOrig = SdCoMa(bgRGBOrig, 4.0, 1, 'light');/* link original */
	var linkHover = SdCoMa(bgRGBOrig, 8.5, 0.5, 'light');/* link hover */
	var brdAll = SdCoMa(bgRGBOrig, 1.1, 1, 'light');/* border all */
	var brdLeft = SdCoMa(bgRGBOrig, 1.6, 0.8, 'dark');/* border left */
	var brdRight = SdCoMa(bgRGBOrig, 1.6, 0.5, 'light');/* border right */
		
	// GENERAL SETTINGS
	$('#stacks_in_3203_page5 .sdZipbarWrapper').width($('#stacks_in_3203_page5 .sdZipbar').outerWidth(true) + 1);/* set width of navbar to allow centering */
	$('#stacks_in_3203_page5 .sdZipbar').css('border-color',brdAll)/* adjust border color to suit bg */
	$('#stacks_in_3203_page5 .sdZipbarItemTitle').css('color',linkOrig);/* adjust color to suit bg */
	$('#stacks_in_3203_page5 .sdZipbarItemTitle:first').css('border-left-style','none').addClass('sdRadiusLeft');/* add radius to first tab */
	$('#stacks_in_3203_page5 .sdZipbarItemTitle:last').css('border-right-style','none').addClass('sdRadiusRight');/* add radius to last tab */
	
	// ALL THE ACTION
	// append first tab on page load
	$('#stacks_in_3203_page5 div[rel="sdZipbarShow_0"]').show();
	$('#stacks_in_3203_page5 .sdZipbarItem:first .sdZipbarItemTitle').addClass('sdZipbarActive').css({
		'background-color':bgHover,
		'color':linkHover
	});
	$('#stacks_in_3203_page5 .sdZipbarItemTitle').each(function() {
		// that variable
		var that = '#stacks_in_3203_page5 .sdZipbarItemTitle';
		// there variable
		var there = '#stacks_in_3203_page5 .sdZipbarContent';
		// thereHeight variable
		var thereHeight = $(there).height();
		// thisThere variable
		var thisThere = $(this).attr('rel');
		thisThere = $('#stacks_in_3203_page5 div[rel="' + thisThere + '"]')
		// function for border math between buttons
		$(this).css({'border-left-color':brdLeft,'border-right-color':brdRight});
		// move functions
		$(this).siblings().insertAfter($('#stacks_in_3203_page5 .sdZipbarWrapper'));
		// click functions
		$(this).click(function() {
			if (!$(this).hasClass('sdZipbarActive')) {
				$(that).removeClass('sdZipbarActive').css({'background-color':bgRGBOrig,'color':linkOrig});
				$(there).slideUp(250);
				$(this).addClass('sdZipbarActive').css({'background-color':bgHover,'color':linkHover});
				$(thisThere).slideDown(500);
			}
		});
		// hover functions
		$(this).hover(function(){
			$(this).css({
				'background-color':bgHover,
				'color':linkHover
			});
		},function(){
			if (!$(this).hasClass('sdZipbarActive')) {
				$(this).css({
					'background-color':bgRGBOrig,
					'color':linkOrig
				});				
			}
		});
	});
	/* END seyDoggy ZipBar */
});
	return stack;
})(stacks.stacks_in_3203_page5);


// Javascript for stacks_in_3214_page5
// ---------------------------------------------------------------------

// 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_3214_page5 = {};

// 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_3214_page5 = (function(stack) {

	// When jQuery is used it will be available as $ and jQuery but only
	// inside the closure.
	var jQuery = stacks.jQuery;
	var $ = jQuery;
	
jQuery(document).ready(function($) {
	/*
		seyDoggy ZipList
	*/
	// remove empty List titles
	$('#stacks_in_3214_page5 .sdZiplistTitle').each(function() {
		if ($(this).html() == '') $(this).remove();
	});
	// remove padding for non numbered/bulleted lists
	$('#stacks_in_3214_page5 ul.sdZiplist').each(function() {
		if ($(this).css('list-style-type') == 'none') {
			$(this).css({'margin-left':'0','padding-left':'0'});
		}
	});
	// ALL THE ACTION
	//$('#stacks_in_3214_page5 .sdZiplistItemTitle_stacks_in_3214_page5:first').siblings().slideDown().end().children('a').removeClass('sdZiplistClick').html('[–]');
	$('#stacks_in_3214_page5 .sdZiplistItemTitle_stacks_in_3214_page5').each(function() {
		// that variable
		var that = '#stacks_in_3214_page5 .sdZiplistItemTitle_stacks_in_3214_page5';
		// if [+/-] not used, wrap title in anchor
		if ($(this).children('a').css('display') == 'none') $(this).wrapInner('<a href="#" class="sdZiplistClick"></a>');
		// prevent default click event
		$(this).children('a').css('text-decoration','none').click(function(event) {event.preventDefault()});
		// click function
	    $(this).click(function() {
			if ($(this).children('a').hasClass('sdZiplistShowHide')) {
				if ($(this).children('a').hasClass('sdZiplistClick')) {
					$(that).siblings().slideUp().end().children('a').addClass('sdZiplistClick').html('[+]');
					$(this).siblings().slideDown().end().children('a').removeClass('sdZiplistClick').html('[–]');
				} else {
					$(this).siblings().slideUp().end().children('a').addClass('sdZiplistClick').html('[+]');
				}
			} else {
				if ($(this).children().hasClass('sdZiplistClick')) {
					$(that).siblings().slideUp().end().children('a').addClass('sdZiplistClick');
					$(this).siblings().slideDown().end().children('a').removeClass('sdZiplistClick');
				} else {
					$(this).siblings().slideUp().end().children('a').addClass('sdZiplistClick');
				}
			}
	    });
	});
});
	return stack;
})(stacks.stacks_in_3214_page5);


// Javascript for stacks_in_3252_page5
// ---------------------------------------------------------------------

// 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_3252_page5 = {};

// 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_3252_page5 = (function(stack) {

	// When jQuery is used it will be available as $ and jQuery but only
	// inside the closure.
	var jQuery = stacks.jQuery;
	var $ = jQuery;
	
jQuery(document).ready(function($) {
	/*
		seyDoggy ZipList
	*/
	// remove empty List titles
	$('#stacks_in_3252_page5 .sdZiplistTitle').each(function() {
		if ($(this).html() == '') $(this).remove();
	});
	// remove padding for non numbered/bulleted lists
	$('#stacks_in_3252_page5 ul.sdZiplist').each(function() {
		if ($(this).css('list-style-type') == 'none') {
			$(this).css({'margin-left':'0','padding-left':'0'});
		}
	});
	// ALL THE ACTION
	//$('#stacks_in_3252_page5 .sdZiplistItemTitle_stacks_in_3252_page5:first').siblings().slideDown().end().children('a').removeClass('sdZiplistClick').html('[–]');
	$('#stacks_in_3252_page5 .sdZiplistItemTitle_stacks_in_3252_page5').each(function() {
		// that variable
		var that = '#stacks_in_3252_page5 .sdZiplistItemTitle_stacks_in_3252_page5';
		// if [+/-] not used, wrap title in anchor
		if ($(this).children('a').css('display') == 'none') $(this).wrapInner('<a href="#" class="sdZiplistClick"></a>');
		// prevent default click event
		$(this).children('a').css('text-decoration','none').click(function(event) {event.preventDefault()});
		// click function
	    $(this).click(function() {
			if ($(this).children('a').hasClass('sdZiplistShowHide')) {
				if ($(this).children('a').hasClass('sdZiplistClick')) {
					$(that).siblings().slideUp().end().children('a').addClass('sdZiplistClick').html('[+]');
					$(this).siblings().slideDown().end().children('a').removeClass('sdZiplistClick').html('[–]');
				} else {
					$(this).siblings().slideUp().end().children('a').addClass('sdZiplistClick').html('[+]');
				}
			} else {
				if ($(this).children().hasClass('sdZiplistClick')) {
					$(that).siblings().slideUp().end().children('a').addClass('sdZiplistClick');
					$(this).siblings().slideDown().end().children('a').removeClass('sdZiplistClick');
				} else {
					$(this).siblings().slideUp().end().children('a').addClass('sdZiplistClick');
				}
			}
	    });
	});
});
	return stack;
})(stacks.stacks_in_3252_page5);


// Javascript for stacks_in_3270_page5
// ---------------------------------------------------------------------

// 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_3270_page5 = {};

// 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_3270_page5 = (function(stack) {

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

// xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
// My Product stack
// xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx



$(document).ready(function() {
jQuery.url = function()
{
	var segments = {};
	
	var parsed = {};
	
	/**
    * Options object. Only the URI and strictMode values can be changed via the setters below.
    */
  	var options = {
	
		url : window.location, // default URI is the page in which the script is running
		
		strictMode: false, // 'loose' parsing by default
	
		key: ["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"], // keys available to query 
		
		q: {
			name: "queryKey",
			parser: /(?:^|&)([^&=]*)=?([^&]*)/g
		},
		
		parser: {
			strict: /^(?:([^:\/?#]+):)?(?:\/\/((?:(([^:@]*):?([^:@]*))?@)?([^:\/?#]*)(?::(\d*))?))?((((?:[^?#\/]*\/)*)([^?#]*))(?:\?([^#]*))?(?:#(.*))?)/,  //less intuitive, more accurate to the specs
			loose:  /^(?:(?![^:@]+:[^:@\/]*@)([^:\/?#.]+):)?(?:\/\/)?((?:(([^:@]*):?([^:@]*))?@)?([^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/ // more intuitive, fails on relative paths and deviates from specs
		}
		
	};
	
    /**
     * Deals with the parsing of the URI according to the regex above.
 	 * Written by Steven Levithan - see credits at top.
     */		
	var parseUri = function()
	{
		str = decodeURI( options.url );
		
		var m = options.parser[ options.strictMode ? "strict" : "loose" ].exec( str );
		var uri = {};
		var i = 14;

		while ( i-- ) {
			uri[ options.key[i] ] = m[i] || "";
		}

		uri[ options.q.name ] = {};
		uri[ options.key[12] ].replace( options.q.parser, function ( $0, $1, $2 ) {
			if ($1) {
				uri[options.q.name][$1] = $2;
			}
		});

		return uri;
	};

    /**
     * Returns the value of the passed in key from the parsed URI.
  	 * 
	 * @param string key The key whose value is required
     */		
	var key = function( key )
	{
		if ( ! parsed.length )
		{
			setUp(); // if the URI has not been parsed yet then do this first...	
		} 
		if ( key == "base" )
		{
			if ( parsed.port !== null && parsed.port !== "" )
			{
				return parsed.protocol+"://"+parsed.host+":"+parsed.port+"/";	
			}
			else
			{
				return parsed.protocol+"://"+parsed.host+"/";
			}
		}
	
		return ( parsed[key] === "" ) ? null : parsed[key];
	};
	
	/**
     * Returns the value of the required query string parameter.
  	 * 
	 * @param string item The parameter whose value is required
     */		
	var param = function( item )
	{
		if ( ! parsed.length )
		{
			setUp(); // if the URI has not been parsed yet then do this first...	
		}
		return ( parsed.queryKey[item] === null ) ? null : parsed.queryKey[item];
	};

    /**
     * 'Constructor' (not really!) function.
     *  Called whenever the URI changes to kick off re-parsing of the URI and splitting it up into segments. 
     */	
	var setUp = function()
	{
		parsed = parseUri();
		
		getSegments();	
	};
	
    /**
     * Splits up the body of the URI into segments (i.e. sections delimited by '/')
     */
	var getSegments = function()
	{
		var p = parsed.path;
		segments = []; // clear out segments array
		segments = parsed.path.length == 1 ? {} : ( p.charAt( p.length - 1 ) == "/" ? p.substring( 1, p.length - 1 ) : path = p.substring( 1 ) ).split("/");
	};
	
	return {
		
	    /**
	     * Sets the parsing mode - either strict or loose. Set to loose by default.
	     *
	     * @param string mode The mode to set the parser to. Anything apart from a value of 'strict' will set it to loose!
	     */
		setMode : function( mode )
		{
			strictMode = mode == "strict" ? true : false;
			return this;
		},
		
		/**
	     * Sets URI to parse if you don't want to to parse the current page's URI.
		 * Calling the function with no value for newUri resets it to the current page's URI.
	     *
	     * @param string newUri The URI to parse.
	     */		
		setUrl : function( newUri )
		{
			options.url = newUri === undefined ? window.location : newUri;
			setUp();
			return this;
		},		
		
		/**
	     * Returns the value of the specified URI segment. Segments are numbered from 1 to the number of segments.
		 * For example the URI http://test.com/about/company/ segment(1) would return 'about'.
		 *
		 * If no integer is passed into the function it returns the number of segments in the URI.
	     *
	     * @param int pos The position of the segment to return. Can be empty.
	     */	
		segment : function( pos )
		{
			if ( ! parsed.length )
			{
				setUp(); // if the URI has not been parsed yet then do this first...	
			} 
			if ( pos === undefined )
			{
				return segments.length;
			}
			return ( segments[pos] === "" || segments[pos] === undefined ) ? null : segments[pos];
		},
		
		attr : key, // provides public access to private 'key' function - see above
		
		param : param // provides public access to private 'param' function - see above
		
	};
	
}();


var yourfolder = jQuery.url.attr("directory");
if(yourfolder == "/"){yourfolder = ""};







var dooabuttonlink;
var dooabuttontarget;

$("#stacks_in_3270_page5 .stacks_in_3270_page5buttoncontainer").each(function() {
dooabuttonlink = $("a", this).attr("href");
dooabuttonrel = $("a", this).attr("rel");
dooabuttonclass = $("a", this).attr("class");
		$(this).wrap('<a href="'+ dooabuttonlink +'" class="stacks_in_3270_page5link '+ dooabuttonclass +'" rel="'+ dooabuttonrel +'"  />');
	});
	

$("#stacks_in_3270_page5 .stacks_in_3270_page5link").hover(
  function () {
    $("a", this).css("color","#669816");
  }, 
  function () {
    $("a", this).css("color","#BC1B10");
  }
);


var itsIE = navigator.userAgent.match(/MSIE 8/i) || navigator.userAgent.match(/MSIE 7/i) != null;

if(itsIE){
$("#stacks_in_3270_page5 .outershadow").css({
	"box-shadow": "none", 
    "behavior":"url(" + yourfolder + "index_files/IPIE.htc)" 
    });
$("#stacks_in_3270_page5 .stacks_in_3270_page5link:first-child .stacks_in_3270_page5buttoncontainer").css({
	"border-radius": "2px 0px 0px 2px",
    "behavior":"url(" + yourfolder + "index_files/IPIE.htc)" 
    });
$("#stacks_in_3270_page5 .stacks_in_3270_page5link:last-child .stacks_in_3270_page5buttoncontainer").css({
	"border-radius": "0px 2px 2px 0px",
    "behavior":"url(" + yourfolder + "index_files/IPIE.htc)" 
    });
}    


});



// xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
// End my producet stack
// xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
	return stack;
})(stacks.stacks_in_3270_page5);


// Javascript for stacks_in_3281_page5
// ---------------------------------------------------------------------

// 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_3281_page5 = {};

// 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_3281_page5 = (function(stack) {

	// When jQuery is used it will be available as $ and jQuery but only
	// inside the closure.
	var jQuery = stacks.jQuery;
	var $ = jQuery;
	
jQuery(document).ready(function($) {
	/*
		seyDoggy ZipList
	*/
	// remove empty List titles
	$('#stacks_in_3281_page5 .sdZiplistTitle').each(function() {
		if ($(this).html() == '') $(this).remove();
	});
	// remove padding for non numbered/bulleted lists
	$('#stacks_in_3281_page5 ul.sdZiplist').each(function() {
		if ($(this).css('list-style-type') == 'none') {
			$(this).css({'margin-left':'0','padding-left':'0'});
		}
	});
	// ALL THE ACTION
	//$('#stacks_in_3281_page5 .sdZiplistItemTitle_stacks_in_3281_page5:first').siblings().slideDown().end().children('a').removeClass('sdZiplistClick').html('[–]');
	$('#stacks_in_3281_page5 .sdZiplistItemTitle_stacks_in_3281_page5').each(function() {
		// that variable
		var that = '#stacks_in_3281_page5 .sdZiplistItemTitle_stacks_in_3281_page5';
		// if [+/-] not used, wrap title in anchor
		if ($(this).children('a').css('display') == 'none') $(this).wrapInner('<a href="#" class="sdZiplistClick"></a>');
		// prevent default click event
		$(this).children('a').css('text-decoration','none').click(function(event) {event.preventDefault()});
		// click function
	    $(this).click(function() {
			if ($(this).children('a').hasClass('sdZiplistShowHide')) {
				if ($(this).children('a').hasClass('sdZiplistClick')) {
					$(that).siblings().slideUp().end().children('a').addClass('sdZiplistClick').html('[+]');
					$(this).siblings().slideDown().end().children('a').removeClass('sdZiplistClick').html('[–]');
				} else {
					$(this).siblings().slideUp().end().children('a').addClass('sdZiplistClick').html('[+]');
				}
			} else {
				if ($(this).children().hasClass('sdZiplistClick')) {
					$(that).siblings().slideUp().end().children('a').addClass('sdZiplistClick');
					$(this).siblings().slideDown().end().children('a').removeClass('sdZiplistClick');
				} else {
					$(this).siblings().slideUp().end().children('a').addClass('sdZiplistClick');
				}
			}
	    });
	});
});
	return stack;
})(stacks.stacks_in_3281_page5);


// Javascript for stacks_in_3319_page5
// ---------------------------------------------------------------------

// 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_3319_page5 = {};

// 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_3319_page5 = (function(stack) {

	// When jQuery is used it will be available as $ and jQuery but only
	// inside the closure.
	var jQuery = stacks.jQuery;
	var $ = jQuery;
	
jQuery(document).ready(function($) {
	/*
		seyDoggy ZipList
	*/
	// remove empty List titles
	$('#stacks_in_3319_page5 .sdZiplistTitle').each(function() {
		if ($(this).html() == '') $(this).remove();
	});
	// remove padding for non numbered/bulleted lists
	$('#stacks_in_3319_page5 ul.sdZiplist').each(function() {
		if ($(this).css('list-style-type') == 'none') {
			$(this).css({'margin-left':'0','padding-left':'0'});
		}
	});
	// ALL THE ACTION
	//$('#stacks_in_3319_page5 .sdZiplistItemTitle_stacks_in_3319_page5:first').siblings().slideDown().end().children('a').removeClass('sdZiplistClick').html('[–]');
	$('#stacks_in_3319_page5 .sdZiplistItemTitle_stacks_in_3319_page5').each(function() {
		// that variable
		var that = '#stacks_in_3319_page5 .sdZiplistItemTitle_stacks_in_3319_page5';
		// if [+/-] not used, wrap title in anchor
		if ($(this).children('a').css('display') == 'none') $(this).wrapInner('<a href="#" class="sdZiplistClick"></a>');
		// prevent default click event
		$(this).children('a').css('text-decoration','none').click(function(event) {event.preventDefault()});
		// click function
	    $(this).click(function() {
			if ($(this).children('a').hasClass('sdZiplistShowHide')) {
				if ($(this).children('a').hasClass('sdZiplistClick')) {
					$(that).siblings().slideUp().end().children('a').addClass('sdZiplistClick').html('[+]');
					$(this).siblings().slideDown().end().children('a').removeClass('sdZiplistClick').html('[–]');
				} else {
					$(this).siblings().slideUp().end().children('a').addClass('sdZiplistClick').html('[+]');
				}
			} else {
				if ($(this).children().hasClass('sdZiplistClick')) {
					$(that).siblings().slideUp().end().children('a').addClass('sdZiplistClick');
					$(this).siblings().slideDown().end().children('a').removeClass('sdZiplistClick');
				} else {
					$(this).siblings().slideUp().end().children('a').addClass('sdZiplistClick');
				}
			}
	    });
	});
});
	return stack;
})(stacks.stacks_in_3319_page5);


// Javascript for stacks_in_3329_page5
// ---------------------------------------------------------------------

// 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_3329_page5 = {};

// 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_3329_page5 = (function(stack) {

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

// xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
// My Product stack
// xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx



$(document).ready(function() {
jQuery.url = function()
{
	var segments = {};
	
	var parsed = {};
	
	/**
    * Options object. Only the URI and strictMode values can be changed via the setters below.
    */
  	var options = {
	
		url : window.location, // default URI is the page in which the script is running
		
		strictMode: false, // 'loose' parsing by default
	
		key: ["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"], // keys available to query 
		
		q: {
			name: "queryKey",
			parser: /(?:^|&)([^&=]*)=?([^&]*)/g
		},
		
		parser: {
			strict: /^(?:([^:\/?#]+):)?(?:\/\/((?:(([^:@]*):?([^:@]*))?@)?([^:\/?#]*)(?::(\d*))?))?((((?:[^?#\/]*\/)*)([^?#]*))(?:\?([^#]*))?(?:#(.*))?)/,  //less intuitive, more accurate to the specs
			loose:  /^(?:(?![^:@]+:[^:@\/]*@)([^:\/?#.]+):)?(?:\/\/)?((?:(([^:@]*):?([^:@]*))?@)?([^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/ // more intuitive, fails on relative paths and deviates from specs
		}
		
	};
	
    /**
     * Deals with the parsing of the URI according to the regex above.
 	 * Written by Steven Levithan - see credits at top.
     */		
	var parseUri = function()
	{
		str = decodeURI( options.url );
		
		var m = options.parser[ options.strictMode ? "strict" : "loose" ].exec( str );
		var uri = {};
		var i = 14;

		while ( i-- ) {
			uri[ options.key[i] ] = m[i] || "";
		}

		uri[ options.q.name ] = {};
		uri[ options.key[12] ].replace( options.q.parser, function ( $0, $1, $2 ) {
			if ($1) {
				uri[options.q.name][$1] = $2;
			}
		});

		return uri;
	};

    /**
     * Returns the value of the passed in key from the parsed URI.
  	 * 
	 * @param string key The key whose value is required
     */		
	var key = function( key )
	{
		if ( ! parsed.length )
		{
			setUp(); // if the URI has not been parsed yet then do this first...	
		} 
		if ( key == "base" )
		{
			if ( parsed.port !== null && parsed.port !== "" )
			{
				return parsed.protocol+"://"+parsed.host+":"+parsed.port+"/";	
			}
			else
			{
				return parsed.protocol+"://"+parsed.host+"/";
			}
		}
	
		return ( parsed[key] === "" ) ? null : parsed[key];
	};
	
	/**
     * Returns the value of the required query string parameter.
  	 * 
	 * @param string item The parameter whose value is required
     */		
	var param = function( item )
	{
		if ( ! parsed.length )
		{
			setUp(); // if the URI has not been parsed yet then do this first...	
		}
		return ( parsed.queryKey[item] === null ) ? null : parsed.queryKey[item];
	};

    /**
     * 'Constructor' (not really!) function.
     *  Called whenever the URI changes to kick off re-parsing of the URI and splitting it up into segments. 
     */	
	var setUp = function()
	{
		parsed = parseUri();
		
		getSegments();	
	};
	
    /**
     * Splits up the body of the URI into segments (i.e. sections delimited by '/')
     */
	var getSegments = function()
	{
		var p = parsed.path;
		segments = []; // clear out segments array
		segments = parsed.path.length == 1 ? {} : ( p.charAt( p.length - 1 ) == "/" ? p.substring( 1, p.length - 1 ) : path = p.substring( 1 ) ).split("/");
	};
	
	return {
		
	    /**
	     * Sets the parsing mode - either strict or loose. Set to loose by default.
	     *
	     * @param string mode The mode to set the parser to. Anything apart from a value of 'strict' will set it to loose!
	     */
		setMode : function( mode )
		{
			strictMode = mode == "strict" ? true : false;
			return this;
		},
		
		/**
	     * Sets URI to parse if you don't want to to parse the current page's URI.
		 * Calling the function with no value for newUri resets it to the current page's URI.
	     *
	     * @param string newUri The URI to parse.
	     */		
		setUrl : function( newUri )
		{
			options.url = newUri === undefined ? window.location : newUri;
			setUp();
			return this;
		},		
		
		/**
	     * Returns the value of the specified URI segment. Segments are numbered from 1 to the number of segments.
		 * For example the URI http://test.com/about/company/ segment(1) would return 'about'.
		 *
		 * If no integer is passed into the function it returns the number of segments in the URI.
	     *
	     * @param int pos The position of the segment to return. Can be empty.
	     */	
		segment : function( pos )
		{
			if ( ! parsed.length )
			{
				setUp(); // if the URI has not been parsed yet then do this first...	
			} 
			if ( pos === undefined )
			{
				return segments.length;
			}
			return ( segments[pos] === "" || segments[pos] === undefined ) ? null : segments[pos];
		},
		
		attr : key, // provides public access to private 'key' function - see above
		
		param : param // provides public access to private 'param' function - see above
		
	};
	
}();


var yourfolder = jQuery.url.attr("directory");
if(yourfolder == "/"){yourfolder = ""};







var dooabuttonlink;
var dooabuttontarget;

$("#stacks_in_3329_page5 .stacks_in_3329_page5buttoncontainer").each(function() {
dooabuttonlink = $("a", this).attr("href");
dooabuttonrel = $("a", this).attr("rel");
dooabuttonclass = $("a", this).attr("class");
		$(this).wrap('<a href="'+ dooabuttonlink +'" class="stacks_in_3329_page5link '+ dooabuttonclass +'" rel="'+ dooabuttonrel +'"  />');
	});
	

$("#stacks_in_3329_page5 .stacks_in_3329_page5link").hover(
  function () {
    $("a", this).css("color","#669816");
  }, 
  function () {
    $("a", this).css("color","#BC1B10");
  }
);


var itsIE = navigator.userAgent.match(/MSIE 8/i) || navigator.userAgent.match(/MSIE 7/i) != null;

if(itsIE){
$("#stacks_in_3329_page5 .outershadow").css({
	"box-shadow": "none", 
    "behavior":"url(" + yourfolder + "index_files/IPIE.htc)" 
    });
$("#stacks_in_3329_page5 .stacks_in_3329_page5link:first-child .stacks_in_3329_page5buttoncontainer").css({
	"border-radius": "2px 0px 0px 2px",
    "behavior":"url(" + yourfolder + "index_files/IPIE.htc)" 
    });
$("#stacks_in_3329_page5 .stacks_in_3329_page5link:last-child .stacks_in_3329_page5buttoncontainer").css({
	"border-radius": "0px 2px 2px 0px",
    "behavior":"url(" + yourfolder + "index_files/IPIE.htc)" 
    });
}    


});



// xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
// End my producet stack
// xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
	return stack;
})(stacks.stacks_in_3329_page5);


// Javascript for stacks_in_3340_page5
// ---------------------------------------------------------------------

// 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_3340_page5 = {};

// 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_3340_page5 = (function(stack) {

	// When jQuery is used it will be available as $ and jQuery but only
	// inside the closure.
	var jQuery = stacks.jQuery;
	var $ = jQuery;
	
jQuery(document).ready(function($) {
	/*
		seyDoggy ZipList
	*/
	// remove empty List titles
	$('#stacks_in_3340_page5 .sdZiplistTitle').each(function() {
		if ($(this).html() == '') $(this).remove();
	});
	// remove padding for non numbered/bulleted lists
	$('#stacks_in_3340_page5 ul.sdZiplist').each(function() {
		if ($(this).css('list-style-type') == 'none') {
			$(this).css({'margin-left':'0','padding-left':'0'});
		}
	});
	// ALL THE ACTION
	//$('#stacks_in_3340_page5 .sdZiplistItemTitle_stacks_in_3340_page5:first').siblings().slideDown().end().children('a').removeClass('sdZiplistClick').html('[–]');
	$('#stacks_in_3340_page5 .sdZiplistItemTitle_stacks_in_3340_page5').each(function() {
		// that variable
		var that = '#stacks_in_3340_page5 .sdZiplistItemTitle_stacks_in_3340_page5';
		// if [+/-] not used, wrap title in anchor
		if ($(this).children('a').css('display') == 'none') $(this).wrapInner('<a href="#" class="sdZiplistClick"></a>');
		// prevent default click event
		$(this).children('a').css('text-decoration','none').click(function(event) {event.preventDefault()});
		// click function
	    $(this).click(function() {
			if ($(this).children('a').hasClass('sdZiplistShowHide')) {
				if ($(this).children('a').hasClass('sdZiplistClick')) {
					$(that).siblings().slideUp().end().children('a').addClass('sdZiplistClick').html('[+]');
					$(this).siblings().slideDown().end().children('a').removeClass('sdZiplistClick').html('[–]');
				} else {
					$(this).siblings().slideUp().end().children('a').addClass('sdZiplistClick').html('[+]');
				}
			} else {
				if ($(this).children().hasClass('sdZiplistClick')) {
					$(that).siblings().slideUp().end().children('a').addClass('sdZiplistClick');
					$(this).siblings().slideDown().end().children('a').removeClass('sdZiplistClick');
				} else {
					$(this).siblings().slideUp().end().children('a').addClass('sdZiplistClick');
				}
			}
	    });
	});
});
	return stack;
})(stacks.stacks_in_3340_page5);


// Javascript for stacks_in_3374_page5
// ---------------------------------------------------------------------

// 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_3374_page5 = {};

// 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_3374_page5 = (function(stack) {

	// When jQuery is used it will be available as $ and jQuery but only
	// inside the closure.
	var jQuery = stacks.jQuery;
	var $ = jQuery;
	
jQuery(document).ready(function($) {
	/*
		seyDoggy ZipList
	*/
	// remove empty List titles
	$('#stacks_in_3374_page5 .sdZiplistTitle').each(function() {
		if ($(this).html() == '') $(this).remove();
	});
	// remove padding for non numbered/bulleted lists
	$('#stacks_in_3374_page5 ul.sdZiplist').each(function() {
		if ($(this).css('list-style-type') == 'none') {
			$(this).css({'margin-left':'0','padding-left':'0'});
		}
	});
	// ALL THE ACTION
	//$('#stacks_in_3374_page5 .sdZiplistItemTitle_stacks_in_3374_page5:first').siblings().slideDown().end().children('a').removeClass('sdZiplistClick').html('[–]');
	$('#stacks_in_3374_page5 .sdZiplistItemTitle_stacks_in_3374_page5').each(function() {
		// that variable
		var that = '#stacks_in_3374_page5 .sdZiplistItemTitle_stacks_in_3374_page5';
		// if [+/-] not used, wrap title in anchor
		if ($(this).children('a').css('display') == 'none') $(this).wrapInner('<a href="#" class="sdZiplistClick"></a>');
		// prevent default click event
		$(this).children('a').css('text-decoration','none').click(function(event) {event.preventDefault()});
		// click function
	    $(this).click(function() {
			if ($(this).children('a').hasClass('sdZiplistShowHide')) {
				if ($(this).children('a').hasClass('sdZiplistClick')) {
					$(that).siblings().slideUp().end().children('a').addClass('sdZiplistClick').html('[+]');
					$(this).siblings().slideDown().end().children('a').removeClass('sdZiplistClick').html('[–]');
				} else {
					$(this).siblings().slideUp().end().children('a').addClass('sdZiplistClick').html('[+]');
				}
			} else {
				if ($(this).children().hasClass('sdZiplistClick')) {
					$(that).siblings().slideUp().end().children('a').addClass('sdZiplistClick');
					$(this).siblings().slideDown().end().children('a').removeClass('sdZiplistClick');
				} else {
					$(this).siblings().slideUp().end().children('a').addClass('sdZiplistClick');
				}
			}
	    });
	});
});
	return stack;
})(stacks.stacks_in_3374_page5);


// Javascript for stacks_in_3384_page5
// ---------------------------------------------------------------------

// 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_3384_page5 = {};

// 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_3384_page5 = (function(stack) {

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

// xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
// My Product stack
// xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx



$(document).ready(function() {
jQuery.url = function()
{
	var segments = {};
	
	var parsed = {};
	
	/**
    * Options object. Only the URI and strictMode values can be changed via the setters below.
    */
  	var options = {
	
		url : window.location, // default URI is the page in which the script is running
		
		strictMode: false, // 'loose' parsing by default
	
		key: ["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"], // keys available to query 
		
		q: {
			name: "queryKey",
			parser: /(?:^|&)([^&=]*)=?([^&]*)/g
		},
		
		parser: {
			strict: /^(?:([^:\/?#]+):)?(?:\/\/((?:(([^:@]*):?([^:@]*))?@)?([^:\/?#]*)(?::(\d*))?))?((((?:[^?#\/]*\/)*)([^?#]*))(?:\?([^#]*))?(?:#(.*))?)/,  //less intuitive, more accurate to the specs
			loose:  /^(?:(?![^:@]+:[^:@\/]*@)([^:\/?#.]+):)?(?:\/\/)?((?:(([^:@]*):?([^:@]*))?@)?([^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/ // more intuitive, fails on relative paths and deviates from specs
		}
		
	};
	
    /**
     * Deals with the parsing of the URI according to the regex above.
 	 * Written by Steven Levithan - see credits at top.
     */		
	var parseUri = function()
	{
		str = decodeURI( options.url );
		
		var m = options.parser[ options.strictMode ? "strict" : "loose" ].exec( str );
		var uri = {};
		var i = 14;

		while ( i-- ) {
			uri[ options.key[i] ] = m[i] || "";
		}

		uri[ options.q.name ] = {};
		uri[ options.key[12] ].replace( options.q.parser, function ( $0, $1, $2 ) {
			if ($1) {
				uri[options.q.name][$1] = $2;
			}
		});

		return uri;
	};

    /**
     * Returns the value of the passed in key from the parsed URI.
  	 * 
	 * @param string key The key whose value is required
     */		
	var key = function( key )
	{
		if ( ! parsed.length )
		{
			setUp(); // if the URI has not been parsed yet then do this first...	
		} 
		if ( key == "base" )
		{
			if ( parsed.port !== null && parsed.port !== "" )
			{
				return parsed.protocol+"://"+parsed.host+":"+parsed.port+"/";	
			}
			else
			{
				return parsed.protocol+"://"+parsed.host+"/";
			}
		}
	
		return ( parsed[key] === "" ) ? null : parsed[key];
	};
	
	/**
     * Returns the value of the required query string parameter.
  	 * 
	 * @param string item The parameter whose value is required
     */		
	var param = function( item )
	{
		if ( ! parsed.length )
		{
			setUp(); // if the URI has not been parsed yet then do this first...	
		}
		return ( parsed.queryKey[item] === null ) ? null : parsed.queryKey[item];
	};

    /**
     * 'Constructor' (not really!) function.
     *  Called whenever the URI changes to kick off re-parsing of the URI and splitting it up into segments. 
     */	
	var setUp = function()
	{
		parsed = parseUri();
		
		getSegments();	
	};
	
    /**
     * Splits up the body of the URI into segments (i.e. sections delimited by '/')
     */
	var getSegments = function()
	{
		var p = parsed.path;
		segments = []; // clear out segments array
		segments = parsed.path.length == 1 ? {} : ( p.charAt( p.length - 1 ) == "/" ? p.substring( 1, p.length - 1 ) : path = p.substring( 1 ) ).split("/");
	};
	
	return {
		
	    /**
	     * Sets the parsing mode - either strict or loose. Set to loose by default.
	     *
	     * @param string mode The mode to set the parser to. Anything apart from a value of 'strict' will set it to loose!
	     */
		setMode : function( mode )
		{
			strictMode = mode == "strict" ? true : false;
			return this;
		},
		
		/**
	     * Sets URI to parse if you don't want to to parse the current page's URI.
		 * Calling the function with no value for newUri resets it to the current page's URI.
	     *
	     * @param string newUri The URI to parse.
	     */		
		setUrl : function( newUri )
		{
			options.url = newUri === undefined ? window.location : newUri;
			setUp();
			return this;
		},		
		
		/**
	     * Returns the value of the specified URI segment. Segments are numbered from 1 to the number of segments.
		 * For example the URI http://test.com/about/company/ segment(1) would return 'about'.
		 *
		 * If no integer is passed into the function it returns the number of segments in the URI.
	     *
	     * @param int pos The position of the segment to return. Can be empty.
	     */	
		segment : function( pos )
		{
			if ( ! parsed.length )
			{
				setUp(); // if the URI has not been parsed yet then do this first...	
			} 
			if ( pos === undefined )
			{
				return segments.length;
			}
			return ( segments[pos] === "" || segments[pos] === undefined ) ? null : segments[pos];
		},
		
		attr : key, // provides public access to private 'key' function - see above
		
		param : param // provides public access to private 'param' function - see above
		
	};
	
}();


var yourfolder = jQuery.url.attr("directory");
if(yourfolder == "/"){yourfolder = ""};







var dooabuttonlink;
var dooabuttontarget;

$("#stacks_in_3384_page5 .stacks_in_3384_page5buttoncontainer").each(function() {
dooabuttonlink = $("a", this).attr("href");
dooabuttonrel = $("a", this).attr("rel");
dooabuttonclass = $("a", this).attr("class");
		$(this).wrap('<a href="'+ dooabuttonlink +'" class="stacks_in_3384_page5link '+ dooabuttonclass +'" rel="'+ dooabuttonrel +'"  />');
	});
	

$("#stacks_in_3384_page5 .stacks_in_3384_page5link").hover(
  function () {
    $("a", this).css("color","#669816");
  }, 
  function () {
    $("a", this).css("color","#BC1B10");
  }
);


var itsIE = navigator.userAgent.match(/MSIE 8/i) || navigator.userAgent.match(/MSIE 7/i) != null;

if(itsIE){
$("#stacks_in_3384_page5 .outershadow").css({
	"box-shadow": "none", 
    "behavior":"url(" + yourfolder + "index_files/IPIE.htc)" 
    });
$("#stacks_in_3384_page5 .stacks_in_3384_page5link:first-child .stacks_in_3384_page5buttoncontainer").css({
	"border-radius": "2px 0px 0px 2px",
    "behavior":"url(" + yourfolder + "index_files/IPIE.htc)" 
    });
$("#stacks_in_3384_page5 .stacks_in_3384_page5link:last-child .stacks_in_3384_page5buttoncontainer").css({
	"border-radius": "0px 2px 2px 0px",
    "behavior":"url(" + yourfolder + "index_files/IPIE.htc)" 
    });
}    


});



// xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
// End my producet stack
// xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
	return stack;
})(stacks.stacks_in_3384_page5);


// Javascript for stacks_in_3396_page5
// ---------------------------------------------------------------------

// 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_3396_page5 = {};

// 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_3396_page5 = (function(stack) {

	// When jQuery is used it will be available as $ and jQuery but only
	// inside the closure.
	var jQuery = stacks.jQuery;
	var $ = jQuery;
	
jQuery(document).ready(function($) {
	/*
		seyDoggy ZipList
	*/
	// remove empty List titles
	$('#stacks_in_3396_page5 .sdZiplistTitle').each(function() {
		if ($(this).html() == '') $(this).remove();
	});
	// remove padding for non numbered/bulleted lists
	$('#stacks_in_3396_page5 ul.sdZiplist').each(function() {
		if ($(this).css('list-style-type') == 'none') {
			$(this).css({'margin-left':'0','padding-left':'0'});
		}
	});
	// ALL THE ACTION
	//$('#stacks_in_3396_page5 .sdZiplistItemTitle_stacks_in_3396_page5:first').siblings().slideDown().end().children('a').removeClass('sdZiplistClick').html('[–]');
	$('#stacks_in_3396_page5 .sdZiplistItemTitle_stacks_in_3396_page5').each(function() {
		// that variable
		var that = '#stacks_in_3396_page5 .sdZiplistItemTitle_stacks_in_3396_page5';
		// if [+/-] not used, wrap title in anchor
		if ($(this).children('a').css('display') == 'none') $(this).wrapInner('<a href="#" class="sdZiplistClick"></a>');
		// prevent default click event
		$(this).children('a').css('text-decoration','none').click(function(event) {event.preventDefault()});
		// click function
	    $(this).click(function() {
			if ($(this).children('a').hasClass('sdZiplistShowHide')) {
				if ($(this).children('a').hasClass('sdZiplistClick')) {
					$(that).siblings().slideUp().end().children('a').addClass('sdZiplistClick').html('[+]');
					$(this).siblings().slideDown().end().children('a').removeClass('sdZiplistClick').html('[–]');
				} else {
					$(this).siblings().slideUp().end().children('a').addClass('sdZiplistClick').html('[+]');
				}
			} else {
				if ($(this).children().hasClass('sdZiplistClick')) {
					$(that).siblings().slideUp().end().children('a').addClass('sdZiplistClick');
					$(this).siblings().slideDown().end().children('a').removeClass('sdZiplistClick');
				} else {
					$(this).siblings().slideUp().end().children('a').addClass('sdZiplistClick');
				}
			}
	    });
	});
});
	return stack;
})(stacks.stacks_in_3396_page5);


// Javascript for stacks_in_3426_page5
// ---------------------------------------------------------------------

// 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_3426_page5 = {};

// 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_3426_page5 = (function(stack) {

	// When jQuery is used it will be available as $ and jQuery but only
	// inside the closure.
	var jQuery = stacks.jQuery;
	var $ = jQuery;
	
jQuery(document).ready(function($) {
	/*
		seyDoggy ZipList
	*/
	// remove empty List titles
	$('#stacks_in_3426_page5 .sdZiplistTitle').each(function() {
		if ($(this).html() == '') $(this).remove();
	});
	// remove padding for non numbered/bulleted lists
	$('#stacks_in_3426_page5 ul.sdZiplist').each(function() {
		if ($(this).css('list-style-type') == 'none') {
			$(this).css({'margin-left':'0','padding-left':'0'});
		}
	});
	// ALL THE ACTION
	//$('#stacks_in_3426_page5 .sdZiplistItemTitle_stacks_in_3426_page5:first').siblings().slideDown().end().children('a').removeClass('sdZiplistClick').html('[–]');
	$('#stacks_in_3426_page5 .sdZiplistItemTitle_stacks_in_3426_page5').each(function() {
		// that variable
		var that = '#stacks_in_3426_page5 .sdZiplistItemTitle_stacks_in_3426_page5';
		// if [+/-] not used, wrap title in anchor
		if ($(this).children('a').css('display') == 'none') $(this).wrapInner('<a href="#" class="sdZiplistClick"></a>');
		// prevent default click event
		$(this).children('a').css('text-decoration','none').click(function(event) {event.preventDefault()});
		// click function
	    $(this).click(function() {
			if ($(this).children('a').hasClass('sdZiplistShowHide')) {
				if ($(this).children('a').hasClass('sdZiplistClick')) {
					$(that).siblings().slideUp().end().children('a').addClass('sdZiplistClick').html('[+]');
					$(this).siblings().slideDown().end().children('a').removeClass('sdZiplistClick').html('[–]');
				} else {
					$(this).siblings().slideUp().end().children('a').addClass('sdZiplistClick').html('[+]');
				}
			} else {
				if ($(this).children().hasClass('sdZiplistClick')) {
					$(that).siblings().slideUp().end().children('a').addClass('sdZiplistClick');
					$(this).siblings().slideDown().end().children('a').removeClass('sdZiplistClick');
				} else {
					$(this).siblings().slideUp().end().children('a').addClass('sdZiplistClick');
				}
			}
	    });
	});
});
	return stack;
})(stacks.stacks_in_3426_page5);


// Javascript for stacks_in_3436_page5
// ---------------------------------------------------------------------

// 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_3436_page5 = {};

// 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_3436_page5 = (function(stack) {

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

// xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
// My Product stack
// xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx



$(document).ready(function() {
jQuery.url = function()
{
	var segments = {};
	
	var parsed = {};
	
	/**
    * Options object. Only the URI and strictMode values can be changed via the setters below.
    */
  	var options = {
	
		url : window.location, // default URI is the page in which the script is running
		
		strictMode: false, // 'loose' parsing by default
	
		key: ["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"], // keys available to query 
		
		q: {
			name: "queryKey",
			parser: /(?:^|&)([^&=]*)=?([^&]*)/g
		},
		
		parser: {
			strict: /^(?:([^:\/?#]+):)?(?:\/\/((?:(([^:@]*):?([^:@]*))?@)?([^:\/?#]*)(?::(\d*))?))?((((?:[^?#\/]*\/)*)([^?#]*))(?:\?([^#]*))?(?:#(.*))?)/,  //less intuitive, more accurate to the specs
			loose:  /^(?:(?![^:@]+:[^:@\/]*@)([^:\/?#.]+):)?(?:\/\/)?((?:(([^:@]*):?([^:@]*))?@)?([^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/ // more intuitive, fails on relative paths and deviates from specs
		}
		
	};
	
    /**
     * Deals with the parsing of the URI according to the regex above.
 	 * Written by Steven Levithan - see credits at top.
     */		
	var parseUri = function()
	{
		str = decodeURI( options.url );
		
		var m = options.parser[ options.strictMode ? "strict" : "loose" ].exec( str );
		var uri = {};
		var i = 14;

		while ( i-- ) {
			uri[ options.key[i] ] = m[i] || "";
		}

		uri[ options.q.name ] = {};
		uri[ options.key[12] ].replace( options.q.parser, function ( $0, $1, $2 ) {
			if ($1) {
				uri[options.q.name][$1] = $2;
			}
		});

		return uri;
	};

    /**
     * Returns the value of the passed in key from the parsed URI.
  	 * 
	 * @param string key The key whose value is required
     */		
	var key = function( key )
	{
		if ( ! parsed.length )
		{
			setUp(); // if the URI has not been parsed yet then do this first...	
		} 
		if ( key == "base" )
		{
			if ( parsed.port !== null && parsed.port !== "" )
			{
				return parsed.protocol+"://"+parsed.host+":"+parsed.port+"/";	
			}
			else
			{
				return parsed.protocol+"://"+parsed.host+"/";
			}
		}
	
		return ( parsed[key] === "" ) ? null : parsed[key];
	};
	
	/**
     * Returns the value of the required query string parameter.
  	 * 
	 * @param string item The parameter whose value is required
     */		
	var param = function( item )
	{
		if ( ! parsed.length )
		{
			setUp(); // if the URI has not been parsed yet then do this first...	
		}
		return ( parsed.queryKey[item] === null ) ? null : parsed.queryKey[item];
	};

    /**
     * 'Constructor' (not really!) function.
     *  Called whenever the URI changes to kick off re-parsing of the URI and splitting it up into segments. 
     */	
	var setUp = function()
	{
		parsed = parseUri();
		
		getSegments();	
	};
	
    /**
     * Splits up the body of the URI into segments (i.e. sections delimited by '/')
     */
	var getSegments = function()
	{
		var p = parsed.path;
		segments = []; // clear out segments array
		segments = parsed.path.length == 1 ? {} : ( p.charAt( p.length - 1 ) == "/" ? p.substring( 1, p.length - 1 ) : path = p.substring( 1 ) ).split("/");
	};
	
	return {
		
	    /**
	     * Sets the parsing mode - either strict or loose. Set to loose by default.
	     *
	     * @param string mode The mode to set the parser to. Anything apart from a value of 'strict' will set it to loose!
	     */
		setMode : function( mode )
		{
			strictMode = mode == "strict" ? true : false;
			return this;
		},
		
		/**
	     * Sets URI to parse if you don't want to to parse the current page's URI.
		 * Calling the function with no value for newUri resets it to the current page's URI.
	     *
	     * @param string newUri The URI to parse.
	     */		
		setUrl : function( newUri )
		{
			options.url = newUri === undefined ? window.location : newUri;
			setUp();
			return this;
		},		
		
		/**
	     * Returns the value of the specified URI segment. Segments are numbered from 1 to the number of segments.
		 * For example the URI http://test.com/about/company/ segment(1) would return 'about'.
		 *
		 * If no integer is passed into the function it returns the number of segments in the URI.
	     *
	     * @param int pos The position of the segment to return. Can be empty.
	     */	
		segment : function( pos )
		{
			if ( ! parsed.length )
			{
				setUp(); // if the URI has not been parsed yet then do this first...	
			} 
			if ( pos === undefined )
			{
				return segments.length;
			}
			return ( segments[pos] === "" || segments[pos] === undefined ) ? null : segments[pos];
		},
		
		attr : key, // provides public access to private 'key' function - see above
		
		param : param // provides public access to private 'param' function - see above
		
	};
	
}();


var yourfolder = jQuery.url.attr("directory");
if(yourfolder == "/"){yourfolder = ""};







var dooabuttonlink;
var dooabuttontarget;

$("#stacks_in_3436_page5 .stacks_in_3436_page5buttoncontainer").each(function() {
dooabuttonlink = $("a", this).attr("href");
dooabuttonrel = $("a", this).attr("rel");
dooabuttonclass = $("a", this).attr("class");
		$(this).wrap('<a href="'+ dooabuttonlink +'" class="stacks_in_3436_page5link '+ dooabuttonclass +'" rel="'+ dooabuttonrel +'"  />');
	});
	

$("#stacks_in_3436_page5 .stacks_in_3436_page5link").hover(
  function () {
    $("a", this).css("color","#669816");
  }, 
  function () {
    $("a", this).css("color","#BC1B10");
  }
);


var itsIE = navigator.userAgent.match(/MSIE 8/i) || navigator.userAgent.match(/MSIE 7/i) != null;

if(itsIE){
$("#stacks_in_3436_page5 .outershadow").css({
	"box-shadow": "none", 
    "behavior":"url(" + yourfolder + "index_files/IPIE.htc)" 
    });
$("#stacks_in_3436_page5 .stacks_in_3436_page5link:first-child .stacks_in_3436_page5buttoncontainer").css({
	"border-radius": "2px 0px 0px 2px",
    "behavior":"url(" + yourfolder + "index_files/IPIE.htc)" 
    });
$("#stacks_in_3436_page5 .stacks_in_3436_page5link:last-child .stacks_in_3436_page5buttoncontainer").css({
	"border-radius": "0px 2px 2px 0px",
    "behavior":"url(" + yourfolder + "index_files/IPIE.htc)" 
    });
}    


});



// xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
// End my producet stack
// xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
	return stack;
})(stacks.stacks_in_3436_page5);



