if(!window.jQuery){ var poll_13; var timeout_13 = 100; var headID = document.getElementsByTagName("head")[0]; var newScript = document.createElement('script'); newScript.type = 'text/javascript'; newScript.src = 'https://www.jackbgoods.com/system/bannerassets/jquery.min.js'; headID.appendChild(newScript); poll_13 = function () { setTimeout(function () { timeout_13--; if (typeof jQuery !== 'undefined') { start_load_13(); } else if (timeout_13 > 0) { poll_13(); } else { /* External library failed to load */ } }, 100); }; poll_13(); } else { jQuery(document).ready(function(){ addBannerScript_13(); }); } function start_load_13(){ jQuery(document).ready(function(){ addBannerScript_13(); }); } function addBannerScript_13(){ var jQuery_Class = 1; (function(){ var initializing = false, fnTest = /xyz/.test(function(){xyz;}) ? /\b_super\b/ : /.*/; jQuery.Class = function(){}; jQuery.Class.create = function(prop) { var _super = this.prototype; initializing = true; var prototype = new this(); initializing = false; for (var name in prop) { prototype[name] = typeof prop[name] == "function" && typeof _super[name] == "function" && fnTest.test(prop[name]) ? (function(name, fn){ return function() { var tmp = this._super; this._super = _super[name]; var ret = fn.apply(this, arguments); this._super = tmp; return ret; }; })(name, prop[name]) : prop[name]; } function Class() { if ( !initializing && Class.prototype.init ) return Class.prototype.init.apply(this, arguments); } Class.prototype = prototype; Class.prototype.constructor = Class; Class.extend = arguments.callee; return Class; }; jQuery.querySelectorAll = function(){ return jQuery.apply(jQuery, arguments); }; jQuery.querySelector = function(){ return jQuery.querySelectorAll.apply(jQuery, arguments)[0]; }; jQuery.fn.forEach = function(fn){ return this.each(function(i){ fn(this, i); }); }; jQuery.fn.attach = function(fn){ var attach = fn.attach || (new fn).attach || function(){}; return this.forEach(function(elem){ attach.call(fn, elem); }); }; jQuery.DOM = buildClass(["prepend", "append", ["before", "insertBefore"], ["after", "insertAfter"], "wrap", "wrapInner", "wrapAll", "clone", "empty", "remove", "replaceWith", ["removeAttr", "removeAttribute"], ["addClass", "addClassName"], ["hasClass", "hasClassName"], ["removeClass", "removeClassName"], ["offset", "getOffset"]], [["text", "Text"], ["html", "HTML"], ["attr", "Attribute"], ["val", "Value"], ["height", "Height"], ["width", "Width"], ["css", "CSS"]]); jQuery.Traverse = buildClass([ ["children", "getChildElements"], ["find", "getDescendantElements"], ["next", "getNextSiblingElements"], ["nextAll", "getAllNextSiblingElements"], ["parent", "getParentElements"], ["parents", "getAncestorElements"], ["prev", "getPreviousSiblingElements"], ["prevAll", "getAllPreviousSiblingElements"], ["siblings", "getSiblingElements"], ["filter", "filterSelector"] ]); jQuery.Events = buildClass([["bind", "addEventListener"], ["unbind", "removeEventListener"], ["trigger", "triggerEvent"], "hover", "toggle"]); jQuery.fn.buildAnimation = function(options){ var self = this; return { start: function(){ self.animate(options); }, stop: function(){ self.stop(); } }; }; jQuery.Effects = buildClass(["show", "hide", "toggle", "buildAnimation", "queue", "dequeue"]); jQuery.fn.ajax = jQuery.ajax; jQuery.Ajax = buildClass([["ajax", "request"], ["load", "loadAndInsert"], ["ajaxSetup", "setup"], ["serialize", "getSerializedString"], ["serializeArray", "getSerializedArray"]]); function buildClass(methods, getset){ var base = {}; jQuery.each(getset || [], function(i, name){ if ( !(name instanceof Array) ) name = [name, name]; methods.push([name[0], "get" + name[1]], [name[0], "set" + name[1]]); }); jQuery.each(methods, function(i, name){ var showName = name; if ( name instanceof Array ) { showName = name[1]; name = name[0]; } base[showName] = jQuery.Class.create({ init: function(){ var args = Array.prototype.slice.call(arguments); if ( this.constructor == base[showName] ) this.arguments = args; else return base[showName].prototype.attach.apply( base[showName], args ); }, arguments: [], attach: function(elem){ var args = arguments.length == 1 ? this.arguments : Array.prototype.slice.call(arguments, 1); if ( args.length ) { var fn = args[ args.length - 1 ]; if ( typeof fn == "function" ) { args[ args.length - 1 ] = function(){ var args = Array.prototype.slice.call(arguments); return fn.apply( this, [this].concat(args) ); }; } } return jQuery.fn[name].apply( jQuery(elem), args ); } }); }); return base; } })(); /* * TipTip * Copyright 2010 Drew Wilson * www.drewwilson.com * code.drewwilson.com/entry/tiptip-jquery-plugin * * Version 1.3 - Updated: Mar. 23, 2010 * * This Plug-In will create a custom tooltip to replace the default * browser tooltip. It is extremely lightweight and very smart in * that it detects the edges of the browser window and will make sure * the tooltip stays within the current window size. As a result the * tooltip will adjust itself to be displayed above, below, to the left * or to the right depending on what is necessary to stay within the * browser window. It is completely customizable as well via CSS. * * This TipTip jQuery plug-in is 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=$('
');var tiptip_content=$('');var tiptip_arrow=$('');$("body").append(tiptip_holder.html(tiptip_content).prepend(tiptip_arrow.html('')))}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)