function paCreateRollOvers(){if(document.getElementById)var i=document.getElementsByTagName("IMG"),f=document.getElementsByTagName("INPUT");else if(document.all&&navigator.userAgent.indexOf("Mac")==-1){i=document.all.mouseovers.all.tags("IMG");f=document.all.mouseovers.all.tags("INPUT")}else return;paPreloads={};for(var h=0;h<i.length;h++){var e=i[h].src+"";if(e.indexOf("_off.")!=-1){var j=e.replace(/_off\./g,"_on.");paPreloads["paImageOff_"+h]=new Image;paPreloads["paImageOff_"+h].src=e;paPreloads["paImageOn_"+
h]=new Image;paPreloads["paImageOn_"+h].src=j;i[h].onmouseover=function(){this.src=this.src.replace(/_off\./g,"_on.")};i[h].onmouseout=function(){this.src=this.src.replace(/_on\./g,"_off.")}}}for(h=0;h<f.length;h++)if(f[h].src){e=f[h].src+"";if(e.indexOf("_off.")!=-1){j=e.replace(/_off\./g,"_on.");paPreloads["paImageOff_"+h]=new Image;paPreloads["paImageOff_"+h].src=e;paPreloads["paImageOn_"+h]=new Image;paPreloads["paImageOn_"+h].src=j;f[h].onmouseover=function(){this.src=this.src.replace(/_off\./g,
"_on.")};f[h].onmouseout=function(){this.src=this.src.replace(/_on\./g,"_off.")}}}}window.onload=paCreateRollOvers;function MM_openBrWindow(i,f,h){window.open(i,f,h)}myUrl=location.href;mySub1=".php";mySub2="-all.php";function leftFromSubStringToBeginningOfFullString(i,f){return i.lastIndexOf(f)==-1?"":i.substring(0,i.lastIndexOf(f))}
function viewall(){myText=leftFromSubStringToBeginningOfFullString(myUrl,mySub1);document.write('<a href="');document.write(myText);document.write('-all.php">');document.write("View All");document.write("</a>")}function normalview(){myText=leftFromSubStringToBeginningOfFullString(myUrl,mySub2);document.write('<a href="');document.write(myText);document.write('.php">');document.write("View Larger Photos");document.write("</a>")}
function MM_jumpMenu(i,f,h){eval(i+".location='"+f.options[f.selectedIndex].value+"'");if(h)f.selectedIndex=0}function textCounter(i,f,h){if(i.value.length>h)i.value=i.value.substring(0,h);else f.value=h-i.value.length}function HideAdded(){setTimeout("ajaxhide('#added-to-cart')",6E3)}
(function(){function i(a,b){b.src?c.ajax({url:b.src,async:false,dataType:"script"}):c.globalEval(b.text||b.textContent||b.innerHTML||"");b.parentNode&&b.parentNode.removeChild(b)}function f(){return+new Date}function h(a,b){return a[0]&&parseInt(c.curCSS(a[0],b,true),10)||0}function e(){if(!N){N=true;document.addEventListener&&!c.browser.opera&&document.addEventListener("DOMContentLoaded",c.ready,false);c.browser.msie&&window==top&&function(){if(!c.isReady){try{document.documentElement.doScroll("left")}catch(b){setTimeout(arguments.callee,
0);return}c.ready()}}();c.browser.opera&&document.addEventListener("DOMContentLoaded",function(){if(!c.isReady){for(var b=0;b<document.styleSheets.length;b++)if(document.styleSheets[b].disabled){setTimeout(arguments.callee,0);return}c.ready()}},false);if(c.browser.safari){var a;(function(){if(!c.isReady)if(document.readyState!="loaded"&&document.readyState!="complete")setTimeout(arguments.callee,0);else{if(a===r)a=c("style, link[rel=stylesheet]").length;document.styleSheets.length!=a?setTimeout(arguments.callee,
0):c.ready()}})()}c.event.add(window,"load",c.ready)}}var j=window.jQuery,o=window.$,c=window.jQuery=window.$=function(a,b){return new c.fn.init(a,b)},t=/^[^<]*(<(.|\s)+>)[^>]*$|^#(\w+)$/,u=/^.[^:#\[\.]*$/,r;c.fn=c.prototype={init:function(a,b){a=a||document;if(a.nodeType){this[0]=a;this.length=1;return this}if(typeof a=="string"){var d=t.exec(a);if(d&&(d[1]||!b))if(d[1])a=c.clean([d[1]],b);else{if(b=document.getElementById(d[3])){if(b.id!=d[3])return c().find(a);return c(b)}a=[]}else return c(b).find(a)}else if(c.isFunction(a))return c(document)[c.fn.ready?
"ready":"load"](a);return this.setArray(c.makeArray(a))},jquery:"1.2.6",size:function(){return this.length},length:0,get:function(a){return a==r?c.makeArray(this):this[a]},pushStack:function(a){a=c(a);a.prevObject=this;return a},setArray:function(a){this.length=0;Array.prototype.push.apply(this,a);return this},each:function(a,b){return c.each(this,a,b)},index:function(a){return c.inArray(a&&a.jquery?a[0]:a,this)},attr:function(a,b,d){var g=a;if(a.constructor==String)if(b===r)return this[0]&&c[d||
"attr"](this[0],a);else{g={};g[a]=b}return this.each(function(l){for(a in g)c.attr(d?this.style:this,a,c.prop(this,g[a],d,l,a))})},css:function(a,b){if((a=="width"||a=="height")&&parseFloat(b)<0)b=r;return this.attr(a,b,"curCSS")},text:function(a){if(typeof a!="object"&&a!=null)return this.empty().append((this[0]&&this[0].ownerDocument||document).createTextNode(a));var b="";c.each(a||this,function(){c.each(this.childNodes,function(){if(this.nodeType!=8)b+=this.nodeType!=1?this.nodeValue:c.fn.text([this])})});
return b},wrapAll:function(a){this[0]&&c(a,this[0].ownerDocument).clone().insertBefore(this[0]).map(function(){for(var b=this;b.firstChild;)b=b.firstChild;return b}).append(this);return this},wrapInner:function(a){return this.each(function(){c(this).contents().wrapAll(a)})},wrap:function(a){return this.each(function(){c(this).wrapAll(a)})},append:function(){return this.domManip(arguments,true,false,function(a){this.nodeType==1&&this.appendChild(a)})},prepend:function(){return this.domManip(arguments,
true,true,function(a){this.nodeType==1&&this.insertBefore(a,this.firstChild)})},before:function(){return this.domManip(arguments,false,false,function(a){this.parentNode.insertBefore(a,this)})},after:function(){return this.domManip(arguments,false,true,function(a){this.parentNode.insertBefore(a,this.nextSibling)})},end:function(){return this.prevObject||c([])},find:function(a){var b=c.map(this,function(d){return c.find(a,d)});return this.pushStack(/[^+>] [^+>]/.test(a)||a.indexOf("..")>-1?c.unique(b):
b)},clone:function(a){var b=this.map(function(){if(c.browser.msie&&!c.isXMLDoc(this)){var g=this.cloneNode(true),l=document.createElement("div");l.appendChild(g);return c.clean([l.innerHTML])[0]}else return this.cloneNode(true)}),d=b.find("*").andSelf().each(function(){if(this[x]!=r)this[x]=null});a===true&&this.find("*").andSelf().each(function(g){if(this.nodeType!=3){var l=c.data(this,"events");for(var k in l)for(var m in l[k])c.event.add(d[g],k,l[k][m],l[k][m].data)}});return b},filter:function(a){return this.pushStack(c.isFunction(a)&&
c.grep(this,function(b,d){return a.call(b,d)})||c.multiFilter(a,this))},not:function(a){if(a.constructor==String)if(u.test(a))return this.pushStack(c.multiFilter(a,this,true));else a=c.multiFilter(a,this);var b=a.length&&a[a.length-1]!==r&&!a.nodeType;return this.filter(function(){return b?c.inArray(this,a)<0:this!=a})},add:function(a){return this.pushStack(c.unique(c.merge(this.get(),typeof a=="string"?c(a):c.makeArray(a))))},is:function(a){return!!a&&c.multiFilter(a,this).length>0},hasClass:function(a){return this.is("."+
a)},val:function(a){if(a==r){if(this.length){var b=this[0];if(c.nodeName(b,"select")){var d=b.selectedIndex,g=[],l=b.options;b=b.type=="select-one";if(d<0)return null;var k=b?d:0;for(d=b?d+1:l.length;k<d;k++){var m=l[k];if(m.selected){a=c.browser.msie&&!m.attributes.value.specified?m.text:m.value;if(b)return a;g.push(a)}}return g}else return(this[0].value||"").replace(/\r/g,"")}return r}if(a.constructor==Number)a+="";return this.each(function(){if(this.nodeType==1)if(a.constructor==Array&&/radio|checkbox/.test(this.type))this.checked=
c.inArray(this.value,a)>=0||c.inArray(this.name,a)>=0;else if(c.nodeName(this,"select")){var p=c.makeArray(a);c("option",this).each(function(){this.selected=c.inArray(this.value,p)>=0||c.inArray(this.text,p)>=0});if(!p.length)this.selectedIndex=-1}else this.value=a})},html:function(a){return a==r?this[0]?this[0].innerHTML:null:this.empty().append(a)},replaceWith:function(a){return this.after(a).remove()},eq:function(a){return this.slice(a,a+1)},slice:function(){return this.pushStack(Array.prototype.slice.apply(this,
arguments))},map:function(a){return this.pushStack(c.map(this,function(b,d){return a.call(b,d,b)}))},andSelf:function(){return this.add(this.prevObject)},data:function(a,b){var d=a.split(".");d[1]=d[1]?"."+d[1]:"";if(b===r){var g=this.triggerHandler("getData"+d[1]+"!",[d[0]]);if(g===r&&this.length)g=c.data(this[0],a);return g===r&&d[1]?this.data(d[0]):g}else return this.trigger("setData"+d[1]+"!",[d[0],b]).each(function(){c.data(this,a,b)})},removeData:function(a){return this.each(function(){c.removeData(this,
a)})},domManip:function(a,b,d,g){var l=this.length>1,k;return this.each(function(){if(!k){k=c.clean(a,this.ownerDocument);d&&k.reverse()}var m=this;if(b&&c.nodeName(this,"table")&&c.nodeName(k[0],"tr"))m=this.getElementsByTagName("tbody")[0]||this.appendChild(this.ownerDocument.createElement("tbody"));var p=c([]);c.each(k,function(){var q=l?c(this).clone(true)[0]:this;if(c.nodeName(q,"script"))p=p.add(q);else{if(q.nodeType==1)p=p.add(c("script",q).remove());g.call(m,q)}});p.each(i)})}};c.fn.init.prototype=
c.fn;c.extend=c.fn.extend=function(){var a=arguments[0]||{},b=1,d=arguments.length,g=false,l;if(a.constructor==Boolean){g=a;a=arguments[1]||{};b=2}if(typeof a!="object"&&typeof a!="function")a={};if(d==b){a=this;--b}for(;b<d;b++)if((l=arguments[b])!=null)for(var k in l){var m=a[k],p=l[k];if(a!==p)if(g&&p&&typeof p=="object"&&!p.nodeType)a[k]=c.extend(g,m||(p.length!=null?[]:{}),p);else if(p!==r)a[k]=p}return a};var x="jQuery"+f(),B=0,z={},F=/z-?index|font-?weight|opacity|zoom|line-?height/i,D=document.defaultView||
{};c.extend({noConflict:function(a){window.$=o;if(a)window.jQuery=j;return c},isFunction:function(a){return!!a&&typeof a!="string"&&!a.nodeName&&a.constructor!=Array&&/^[\s[]?function/.test(a+"")},isXMLDoc:function(a){return a.documentElement&&!a.body||a.tagName&&a.ownerDocument&&!a.ownerDocument.body},globalEval:function(a){if(a=c.trim(a)){var b=document.getElementsByTagName("head")[0]||document.documentElement,d=document.createElement("script");d.type="text/javascript";if(c.browser.msie)d.text=
a;else d.appendChild(document.createTextNode(a));b.insertBefore(d,b.firstChild);b.removeChild(d)}},nodeName:function(a,b){return a.nodeName&&a.nodeName.toUpperCase()==b.toUpperCase()},cache:{},data:function(a,b,d){a=a==window?z:a;var g=a[x];g||(g=a[x]=++B);if(b&&!c.cache[g])c.cache[g]={};if(d!==r)c.cache[g][b]=d;return b?c.cache[g][b]:g},removeData:function(a,b){a=a==window?z:a;var d=a[x];if(b){if(c.cache[d]){delete c.cache[d][b];b="";for(b in c.cache[d])break;b||c.removeData(a)}}else{try{delete a[x]}catch(g){a.removeAttribute&&
a.removeAttribute(x)}delete c.cache[d]}},each:function(a,b,d){var g,l=0,k=a.length;if(d)if(k==r)for(g in a){if(b.apply(a[g],d)===false)break}else for(;l<k;){if(b.apply(a[l++],d)===false)break}else if(k==r)for(g in a){if(b.call(a[g],g,a[g])===false)break}else for(d=a[0];l<k&&b.call(d,l,d)!==false;d=a[++l]);return a},prop:function(a,b,d,g,l){if(c.isFunction(b))b=b.call(a,g);return b&&b.constructor==Number&&d=="curCSS"&&!F.test(l)?b+"px":b},className:{add:function(a,b){c.each((b||"").split(/\s+/),function(d,
g){if(a.nodeType==1&&!c.className.has(a.className,g))a.className+=(a.className?" ":"")+g})},remove:function(a,b){if(a.nodeType==1)a.className=b!=r?c.grep(a.className.split(/\s+/),function(d){return!c.className.has(b,d)}).join(" "):""},has:function(a,b){return c.inArray(b,(a.className||a).toString().split(/\s+/))>-1}},swap:function(a,b,d){var g={};for(var l in b){g[l]=a.style[l];a.style[l]=b[l]}d.call(a);for(l in b)a.style[l]=g[l]},css:function(a,b,d){if(b=="width"||b=="height"){var g;d={position:"absolute",
visibility:"hidden",display:"block"};var l=b=="width"?["Left","Right"]:["Top","Bottom"];function k(){g=b=="width"?a.offsetWidth:a.offsetHeight;var m=0,p=0;c.each(l,function(){m+=parseFloat(c.curCSS(a,"padding"+this,true))||0;p+=parseFloat(c.curCSS(a,"border"+this+"Width",true))||0});g-=Math.round(m+p)}c(a).is(":visible")?k():c.swap(a,d,k);return Math.max(0,g)}return c.curCSS(a,b,d)},curCSS:function(a,b,d){function g(p){if(!c.browser.safari)return false;p=D.getComputedStyle(p,null);return!p||p.getPropertyValue("color")==
""}var l,k=a.style;if(b=="opacity"&&c.browser.msie){l=c.attr(k,"opacity");return l==""?"1":l}if(c.browser.opera&&b=="display"){var m=k.outline;k.outline="0 solid black";k.outline=m}if(b.match(/float/i))b=K;if(!d&&k&&k[b])l=k[b];else if(D.getComputedStyle){if(b.match(/float/i))b="float";b=b.replace(/([A-Z])/g,"-$1").toLowerCase();if((l=D.getComputedStyle(a,null))&&!g(a))l=l.getPropertyValue(b);else{k=[];d=[];m=a;for(a=0;m&&g(m);m=m.parentNode)d.unshift(m);for(;a<d.length;a++)if(g(d[a])){k[a]=d[a].style.display;
d[a].style.display="block"}l=b=="display"&&k[d.length-1]!=null?"none":l&&l.getPropertyValue(b)||"";for(a=0;a<k.length;a++)if(k[a]!=null)d[a].style.display=k[a]}if(b=="opacity"&&l=="")l="1"}else if(a.currentStyle){l=b.replace(/\-(\w)/g,function(p,q){return q.toUpperCase()});l=a.currentStyle[b]||a.currentStyle[l];if(!/^\d+(px)?$/i.test(l)&&/^\d/.test(l)){b=k.left;d=a.runtimeStyle.left;a.runtimeStyle.left=a.currentStyle.left;k.left=l||0;l=k.pixelLeft+"px";k.left=b;a.runtimeStyle.left=d}}return l},clean:function(a,
b){var d=[];b=b||document;if(typeof b.createElement=="undefined")b=b.ownerDocument||b[0]&&b[0].ownerDocument||document;c.each(a,function(g,l){if(l){if(l.constructor==Number)l+="";if(typeof l=="string"){l=l.replace(/(<(\w+)[^>]*?)\/>/g,function(p,q,v){return v.match(/^(abbr|br|col|img|input|link|meta|param|hr|area|embed)$/i)?p:q+"></"+v+">"});var k=c.trim(l).toLowerCase();g=b.createElement("div");var m=!k.indexOf("<opt")&&[1,"<select multiple='multiple'>","</select>"]||!k.indexOf("<leg")&&[1,"<fieldset>",
"</fieldset>"]||k.match(/^<(thead|tbody|tfoot|colg|cap)/)&&[1,"<table>","</table>"]||!k.indexOf("<tr")&&[2,"<table><tbody>","</tbody></table>"]||(!k.indexOf("<td")||!k.indexOf("<th"))&&[3,"<table><tbody><tr>","</tr></tbody></table>"]||!k.indexOf("<col")&&[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"]||c.browser.msie&&[1,"div<div>","</div>"]||[0,"",""];for(g.innerHTML=m[1]+l+m[2];m[0]--;)g=g.lastChild;if(c.browser.msie){k=!k.indexOf("<table")&&k.indexOf("<tbody")<0?g.firstChild&&g.firstChild.childNodes:
m[1]=="<table>"&&k.indexOf("<tbody")<0?g.childNodes:[];for(m=k.length-1;m>=0;--m)c.nodeName(k[m],"tbody")&&!k[m].childNodes.length&&k[m].parentNode.removeChild(k[m]);/^\s/.test(l)&&g.insertBefore(b.createTextNode(l.match(/^\s*/)[0]),g.firstChild)}l=c.makeArray(g.childNodes)}if(!(l.length===0&&!c.nodeName(l,"form")&&!c.nodeName(l,"select")))if(l[0]==r||c.nodeName(l,"form")||l.options)d.push(l);else d=c.merge(d,l)}});return d},attr:function(a,b,d){if(!a||a.nodeType==3||a.nodeType==8)return r;var g=
!c.isXMLDoc(a),l=d!==r,k=c.browser.msie;b=g&&c.props[b]||b;if(a.tagName){var m=/href|src|style/.test(b);if(b in a&&g&&!m){if(l){if(b=="type"&&c.nodeName(a,"input")&&a.parentNode)throw"type property can't be changed";a[b]=d}if(c.nodeName(a,"form")&&a.getAttributeNode(b))return a.getAttributeNode(b).nodeValue;return a[b]}if(k&&g&&b=="style")return c.attr(a.style,"cssText",d);l&&a.setAttribute(b,""+d);a=k&&g&&m?a.getAttribute(b,2):a.getAttribute(b);return a===null?r:a}if(k&&b=="opacity"){if(l){a.zoom=
1;a.filter=(a.filter||"").replace(/alpha\([^)]*\)/,"")+(parseInt(d)+""=="NaN"?"":"alpha(opacity="+d*100+")")}return a.filter&&a.filter.indexOf("opacity=")>=0?parseFloat(a.filter.match(/opacity=([^)]*)/)[1])/100+"":""}b=b.replace(/-([a-z])/ig,function(p,q){return q.toUpperCase()});if(l)a[b]=d;return a[b]},trim:function(a){return(a||"").replace(/^\s+|\s+$/g,"")},makeArray:function(a){var b=[];if(a!=null){var d=a.length;if(d==null||a.split||a.setInterval||a.call)b[0]=a;else for(;d;)b[--d]=a[d]}return b},
inArray:function(a,b){for(var d=0,g=b.length;d<g;d++)if(b[d]===a)return d;return-1},merge:function(a,b){var d=0,g,l=a.length;if(c.browser.msie)for(;g=b[d++];){if(g.nodeType!=8)a[l++]=g}else for(;g=b[d++];)a[l++]=g;return a},unique:function(a){var b=[],d={};try{for(var g=0,l=a.length;g<l;g++){var k=c.data(a[g]);if(!d[k]){d[k]=true;b.push(a[g])}}}catch(m){b=a}return b},grep:function(a,b,d){for(var g=[],l=0,k=a.length;l<k;l++)!d!=!b(a[l],l)&&g.push(a[l]);return g},map:function(a,b){for(var d=[],g=0,
l=a.length;g<l;g++){var k=b(a[g],g);if(k!=null)d[d.length]=k}return d.concat.apply([],d)}});var C=navigator.userAgent.toLowerCase();c.browser={version:(C.match(/.+(?:rv|it|ra|ie)[\/: ]([\d.]+)/)||[])[1],safari:/webkit/.test(C),opera:/opera/.test(C),msie:/msie/.test(C)&&!/opera/.test(C),mozilla:/mozilla/.test(C)&&!/(compatible|webkit)/.test(C)};var K=c.browser.msie?"styleFloat":"cssFloat";c.extend({boxModel:!c.browser.msie||document.compatMode=="CSS1Compat",props:{"for":"htmlFor","class":"className",
"float":K,cssFloat:K,styleFloat:K,readonly:"readOnly",maxlength:"maxLength",cellspacing:"cellSpacing"}});c.each({parent:function(a){return a.parentNode},parents:function(a){return c.dir(a,"parentNode")},next:function(a){return c.nth(a,2,"nextSibling")},prev:function(a){return c.nth(a,2,"previousSibling")},nextAll:function(a){return c.dir(a,"nextSibling")},prevAll:function(a){return c.dir(a,"previousSibling")},siblings:function(a){return c.sibling(a.parentNode.firstChild,a)},children:function(a){return c.sibling(a.firstChild)},
contents:function(a){return c.nodeName(a,"iframe")?a.contentDocument||a.contentWindow.document:c.makeArray(a.childNodes)}},function(a,b){c.fn[a]=function(d){var g=c.map(this,b);if(d&&typeof d=="string")g=c.multiFilter(d,g);return this.pushStack(c.unique(g))}});c.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,b){c.fn[a]=function(){var d=arguments;return this.each(function(){for(var g=0,l=d.length;g<l;g++)c(d[g])[b](this)})}});
c.each({removeAttr:function(a){c.attr(this,a,"");this.nodeType==1&&this.removeAttribute(a)},addClass:function(a){c.className.add(this,a)},removeClass:function(a){c.className.remove(this,a)},toggleClass:function(a){c.className[c.className.has(this,a)?"remove":"add"](this,a)},remove:function(a){if(!a||c.filter(a,[this]).r.length){c("*",this).add(this).each(function(){c.event.remove(this);c.removeData(this)});this.parentNode&&this.parentNode.removeChild(this)}},empty:function(){for(c(">*",this).remove();this.firstChild;)this.removeChild(this.firstChild)}},
function(a,b){c.fn[a]=function(){return this.each(b,arguments)}});c.each(["Height","Width"],function(a,b){var d=b.toLowerCase();c.fn[d]=function(g){return this[0]==window?c.browser.opera&&document.body["client"+b]||c.browser.safari&&window["inner"+b]||document.compatMode=="CSS1Compat"&&document.documentElement["client"+b]||document.body["client"+b]:this[0]==document?Math.max(Math.max(document.body["scroll"+b],document.documentElement["scroll"+b]),Math.max(document.body["offset"+b],document.documentElement["offset"+
b])):g==r?this.length?c.css(this[0],d):null:this.css(d,g.constructor==String?g:g+"px")}});var G=c.browser.safari&&parseInt(c.browser.version)<417?"(?:[\\w*_-]|\\\\.)":"(?:[\\w\u0128-\uffff*_-]|\\\\.)",P=new RegExp("^>\\s*("+G+"+)"),Q=new RegExp("^("+G+"+)(#)("+G+"+)"),R=new RegExp("^([#.]?)("+G+"*)");c.extend({expr:{"":function(a,b,d){return d[2]=="*"||c.nodeName(a,d[2])},"#":function(a,b,d){return a.getAttribute("id")==d[2]},":":{lt:function(a,b,d){return b<d[3]-0},gt:function(a,b,d){return b>d[3]-
0},nth:function(a,b,d){return d[3]-0==b},eq:function(a,b,d){return d[3]-0==b},first:function(a,b){return b==0},last:function(a,b,d,g){return b==g.length-1},even:function(a,b){return b%2==0},odd:function(a,b){return b%2},"first-child":function(a){return a.parentNode.getElementsByTagName("*")[0]==a},"last-child":function(a){return c.nth(a.parentNode.lastChild,1,"previousSibling")==a},"only-child":function(a){return!c.nth(a.parentNode.lastChild,2,"previousSibling")},parent:function(a){return a.firstChild},
empty:function(a){return!a.firstChild},contains:function(a,b,d){return(a.textContent||a.innerText||c(a).text()||"").indexOf(d[3])>=0},visible:function(a){return"hidden"!=a.type&&c.css(a,"display")!="none"&&c.css(a,"visibility")!="hidden"},hidden:function(a){return"hidden"==a.type||c.css(a,"display")=="none"||c.css(a,"visibility")=="hidden"},enabled:function(a){return!a.disabled},disabled:function(a){return a.disabled},checked:function(a){return a.checked},selected:function(a){return a.selected||c.attr(a,
"selected")},text:function(a){return"text"==a.type},radio:function(a){return"radio"==a.type},checkbox:function(a){return"checkbox"==a.type},file:function(a){return"file"==a.type},password:function(a){return"password"==a.type},submit:function(a){return"submit"==a.type},image:function(a){return"image"==a.type},reset:function(a){return"reset"==a.type},button:function(a){return"button"==a.type||c.nodeName(a,"button")},input:function(a){return/input|select|textarea|button/i.test(a.nodeName)},has:function(a,
b,d){return c.find(d[3],a).length},header:function(a){return/h\d/i.test(a.nodeName)},animated:function(a){return c.grep(c.timers,function(b){return a==b.elem}).length}}},parse:[/^(\[) *@?([\w-]+) *([!*$^~=]*) *('?"?)(.*?)\4 *\]/,/^(:)([\w-]+)\("?'?(.*?(\(.*?\))?[^(]*?)"?'?\)/,new RegExp("^([:.#]*)("+G+"+)")],multiFilter:function(a,b,d){for(var g,l=[];a&&a!=g;){g=a;var k=c.filter(a,b,d);a=k.t.replace(/^\s*,\s*/,"");l=d?(b=k.r):c.merge(l,k.r)}return l},find:function(a,b){if(typeof a!="string")return[a];
if(b&&b.nodeType!=1&&b.nodeType!=9)return[];b=b||document;for(var d=[b],g=[],l,k;a&&l!=a;){var m=[];l=a;a=c.trim(a);k=false;var p=P,q=p.exec(a);if(q){k=q[1].toUpperCase();for(var v=0;d[v];v++)for(q=d[v].firstChild;q;q=q.nextSibling)if(q.nodeType==1&&(k=="*"||q.nodeName.toUpperCase()==k))m.push(q);d=m;a=a.replace(p,"");if(a.indexOf(" ")==0)continue;k=true}else{p=/^([>+~])\s*(\w*)/i;if((q=p.exec(a))!=null){m=[];v={};k=q[2].toUpperCase();q=q[1];for(var s=0,A=d.length;s<A;s++)for(var y=q=="~"||q=="+"?
d[s].nextSibling:d[s].firstChild;y;y=y.nextSibling)if(y.nodeType==1){var w=c.data(y);if(q=="~"&&v[w])break;if(!k||y.nodeName.toUpperCase()==k){if(q=="~")v[w]=true;m.push(y)}if(q=="+")break}d=m;a=c.trim(a.replace(p,""));k=true}}if(a&&!k)if(a.indexOf(",")){p=Q;if(q=p.exec(a))q=[0,q[2],q[3],q[1]];else{p=R;q=p.exec(a)}q[2]=q[2].replace(/\\/g,"");k=d[d.length-1];if(q[1]=="#"&&k&&k.getElementById&&!c.isXMLDoc(k)){d=k.getElementById(q[2]);if((c.browser.msie||c.browser.opera)&&d&&typeof d.id=="string"&&d.id!=
q[2])d=c('[@id="'+q[2]+'"]',k)[0];d=m=d&&(!q[3]||c.nodeName(d,q[3]))?[d]:[]}else{for(v=0;d[v];v++){k=q[1]=="#"&&q[3]?q[3]:q[1]!=""||q[0]==""?"*":q[2];if(k=="*"&&d[v].nodeName.toLowerCase()=="object")k="param";m=c.merge(m,d[v].getElementsByTagName(k))}if(q[1]==".")m=c.classFilter(m,q[2]);if(q[1]=="#"){d=[];for(v=0;m[v];v++)if(m[v].getAttribute("id")==q[2]){d=[m[v]];break}m=d}d=m}a=a.replace(p,"")}else{b==d[0]&&d.shift();g=c.merge(g,d);m=d=[b];a=" "+a.substr(1,a.length)}if(a){a=c.filter(a,m);d=a.r;
a=c.trim(a.t)}}if(a)d=[];d&&b==d[0]&&d.shift();return g=c.merge(g,d)},classFilter:function(a,b,d){b=" "+b+" ";for(var g=[],l=0;a[l];l++){var k=(" "+a[l].className+" ").indexOf(b)>=0;if(!d&&k||d&&!k)g.push(a[l])}return g},filter:function(a,b,d){for(var g;a&&a!=g;){g=a;for(var l=c.parse,k,m=0;l[m];m++)if(k=l[m].exec(a)){a=a.substring(k[0].length);k[2]=k[2].replace(/\\/g,"");break}if(!k)break;if(k[1]==":"&&k[2]=="not")b=u.test(k[3])?c.filter(k[3],b,true).r:c(b).not(k[3]);else if(k[1]==".")b=c.classFilter(b,
k[2],d);else if(k[1]=="["){l=[];var p=k[3];m=0;for(var q=b.length;m<q;m++){var v=b[m],s=v[c.props[k[2]]||k[2]];if(s==null||/href|src|selected/.test(k[2]))s=c.attr(v,k[2])||"";if((p==""&&!!s||p=="="&&s==k[5]||p=="!="&&s!=k[5]||p=="^="&&s&&!s.indexOf(k[5])||p=="$="&&s.substr(s.length-k[5].length)==k[5]||(p=="*="||p=="~=")&&s.indexOf(k[5])>=0)^d)l.push(v)}b=l}else if(k[1]==":"&&k[2]=="nth-child"){p={};l=[];g=/(-?)(\d*)n((?:\+|-)?\d*)/.exec(k[3]=="even"&&"2n"||k[3]=="odd"&&"2n+1"||!/\D/.test(k[3])&&"0n+"+
k[3]||k[3]);v=g[1]+(g[2]||1)-0;g=g[3]-0;m=0;for(q=b.length;m<q;m++){s=b[m];var A=s.parentNode,y=c.data(A);if(!p[y]){var w=1;for(A=A.firstChild;A;A=A.nextSibling)if(A.nodeType==1)A.nodeIndex=w++;p[y]=true}y=false;if(v==0){if(s.nodeIndex==g)y=true}else if((s.nodeIndex-g)%v==0&&(s.nodeIndex-g)/v>=0)y=true;y^d&&l.push(s)}b=l}else{var E=c.expr[k[1]];if(typeof E=="object")E=E[k[2]];if(typeof E=="string")E=eval("false||function(a,i){return "+E+";}");b=c.grep(b,function(H,I){return E(H,I,k,b)},d)}}return{r:b,
t:a}},dir:function(a,b){var d=[];for(a=a[b];a&&a!=document;){a.nodeType==1&&d.push(a);a=a[b]}return d},nth:function(a,b,d){b=b||1;for(var g=0;a;a=a[d])if(a.nodeType==1&&++g==b)break;return a},sibling:function(a,b){for(var d=[];a;a=a.nextSibling)a.nodeType==1&&a!=b&&d.push(a);return d}});c.event={add:function(a,b,d,g){if(!(a.nodeType==3||a.nodeType==8)){if(c.browser.msie&&a.setInterval)a=window;if(!d.guid)d.guid=this.guid++;if(g!=r){var l=d;d=this.proxy(l,function(){return l.apply(this,arguments)});
d.data=g}var k=c.data(a,"events")||c.data(a,"events",{}),m=c.data(a,"handle")||c.data(a,"handle",function(){if(typeof c!="undefined"&&!c.event.triggered)return c.event.handle.apply(arguments.callee.elem,arguments)});m.elem=a;c.each(b.split(/\s+/),function(p,q){p=q.split(".");q=p[0];d.type=p[1];p=k[q];if(!p){p=k[q]={};if(!c.event.special[q]||c.event.special[q].setup.call(a)===false)if(a.addEventListener)a.addEventListener(q,m,false);else a.attachEvent&&a.attachEvent("on"+q,m)}p[d.guid]=d;c.event.global[q]=
true});a=null}},guid:1,global:{},remove:function(a,b,d){if(!(a.nodeType==3||a.nodeType==8)){var g=c.data(a,"events"),l;if(g){if(b==r||typeof b=="string"&&b.charAt(0)==".")for(var k in g)this.remove(a,k+(b||""));else{if(b.type){d=b.handler;b=b.type}c.each(b.split(/\s+/),function(m,p){m=p.split(".");p=m[0];if(g[p]){if(d)delete g[p][d.guid];else for(d in g[p])if(!m[1]||g[p][d].type==m[1])delete g[p][d];for(l in g[p])break;if(!l){if(!c.event.special[p]||c.event.special[p].teardown.call(a)===false)if(a.removeEventListener)a.removeEventListener(p,
c.data(a,"handle"),false);else a.detachEvent&&a.detachEvent("on"+p,c.data(a,"handle"));l=null;delete g[p]}}})}for(l in g)break;if(!l){if(b=c.data(a,"handle"))b.elem=null;c.removeData(a,"events");c.removeData(a,"handle")}}}},trigger:function(a,b,d,g,l){b=c.makeArray(b);if(a.indexOf("!")>=0){a=a.slice(0,-1);var k=true}if(d){if(d.nodeType==3||d.nodeType==8)return r;var m,p=c.isFunction(d[a]||null),q=!b[0]||!b[0].preventDefault;if(q){b.unshift({type:a,target:d,preventDefault:function(){},stopPropagation:function(){},
timeStamp:f()});b[0][x]=true}b[0].type=a;if(k)b[0].exclusive=true;if(k=c.data(d,"handle"))m=k.apply(d,b);if((!p||c.nodeName(d,"a")&&a=="click")&&d["on"+a]&&d["on"+a].apply(d,b)===false)m=false;q&&b.shift();if(l&&c.isFunction(l)){b=l.apply(d,m==null?b:b.concat(m));if(b!==r)m=b}if(p&&g!==false&&m!==false&&!(c.nodeName(d,"a")&&a=="click")){this.triggered=true;try{d[a]()}catch(v){}}this.triggered=false}else this.global[a]&&c("*").add([window,document]).trigger(a,b);return m},handle:function(a){var b,
d,g,l,k;a=arguments[0]=c.event.fix(a||window.event);g=a.type.split(".");a.type=g[0];g=g[1];l=!g&&!a.exclusive;k=(c.data(this,"events")||{})[a.type];for(var m in k){d=k[m];if(l||d.type==g){a.handler=d;a.data=d.data;d=d.apply(this,arguments);if(b!==false)b=d;if(d===false){a.preventDefault();a.stopPropagation()}}}return b},fix:function(a){if(a[x]==true)return a;var b=a;a={originalEvent:b};for(var d="altKey attrChange attrName bubbles button cancelable charCode clientX clientY ctrlKey currentTarget data detail eventPhase fromElement handler keyCode metaKey newValue originalTarget pageX pageY prevValue relatedNode relatedTarget screenX screenY shiftKey srcElement target timeStamp toElement type view wheelDelta which".split(" "),
g=d.length;g;g--)a[d[g]]=b[d[g]];a[x]=true;a.preventDefault=function(){b.preventDefault&&b.preventDefault();b.returnValue=false};a.stopPropagation=function(){b.stopPropagation&&b.stopPropagation();b.cancelBubble=true};a.timeStamp=a.timeStamp||f();if(!a.target)a.target=a.srcElement||document;if(a.target.nodeType==3)a.target=a.target.parentNode;if(!a.relatedTarget&&a.fromElement)a.relatedTarget=a.fromElement==a.target?a.toElement:a.fromElement;if(a.pageX==null&&a.clientX!=null){d=document.documentElement;
g=document.body;a.pageX=a.clientX+(d&&d.scrollLeft||g&&g.scrollLeft||0)-(d.clientLeft||0);a.pageY=a.clientY+(d&&d.scrollTop||g&&g.scrollTop||0)-(d.clientTop||0)}if(!a.which&&(a.charCode||a.charCode===0?a.charCode:a.keyCode))a.which=a.charCode||a.keyCode;if(!a.metaKey&&a.ctrlKey)a.metaKey=a.ctrlKey;if(!a.which&&a.button)a.which=a.button&1?1:a.button&2?3:a.button&4?2:0;return a},proxy:function(a,b){b.guid=a.guid=a.guid||b.guid||this.guid++;return b},special:{ready:{setup:function(){e()},teardown:function(){}},
mouseenter:{setup:function(){if(c.browser.msie)return false;c(this).bind("mouseover",c.event.special.mouseenter.handler);return true},teardown:function(){if(c.browser.msie)return false;c(this).unbind("mouseover",c.event.special.mouseenter.handler);return true},handler:function(a){if(O(a,this))return true;a.type="mouseenter";return c.event.handle.apply(this,arguments)}},mouseleave:{setup:function(){if(c.browser.msie)return false;c(this).bind("mouseout",c.event.special.mouseleave.handler);return true},
teardown:function(){if(c.browser.msie)return false;c(this).unbind("mouseout",c.event.special.mouseleave.handler);return true},handler:function(a){if(O(a,this))return true;a.type="mouseleave";return c.event.handle.apply(this,arguments)}}}};c.fn.extend({bind:function(a,b,d){return a=="unload"?this.one(a,b,d):this.each(function(){c.event.add(this,a,d||b,d&&b)})},one:function(a,b,d){var g=c.event.proxy(d||b,function(l){c(this).unbind(l,g);return(d||b).apply(this,arguments)});return this.each(function(){c.event.add(this,
a,g,d&&b)})},unbind:function(a,b){return this.each(function(){c.event.remove(this,a,b)})},trigger:function(a,b,d){return this.each(function(){c.event.trigger(a,b,this,true,d)})},triggerHandler:function(a,b,d){return this[0]&&c.event.trigger(a,b,this[0],false,d)},toggle:function(a){for(var b=arguments,d=1;d<b.length;)c.event.proxy(a,b[d++]);return this.click(c.event.proxy(a,function(g){this.lastToggle=(this.lastToggle||0)%d;g.preventDefault();return b[this.lastToggle++].apply(this,arguments)||false}))},
hover:function(a,b){return this.bind("mouseenter",a).bind("mouseleave",b)},ready:function(a){e();c.isReady?a.call(document,c):c.readyList.push(function(){return a.call(this,c)});return this}});c.extend({isReady:false,readyList:[],ready:function(){if(!c.isReady){c.isReady=true;if(c.readyList){c.each(c.readyList,function(){this.call(document)});c.readyList=null}c(document).triggerHandler("ready")}}});var N=false;c.each("blur,focus,load,resize,scroll,unload,click,dblclick,mousedown,mouseup,mousemove,mouseover,mouseout,change,select,submit,keydown,keypress,keyup,error".split(","),
function(a,b){c.fn[b]=function(d){return d?this.bind(b,d):this.trigger(b)}});var O=function(a,b){for(a=a.relatedTarget;a&&a!=b;)try{a=a.parentNode}catch(d){a=b}return a==b};c(window).bind("unload",function(){c("*").add(document).unbind()});c.fn.extend({_load:c.fn.load,load:function(a,b,d){if(typeof a!="string")return this._load(a);var g=a.indexOf(" ");if(g>=0){var l=a.slice(g,a.length);a=a.slice(0,g)}d=d||function(){};g="GET";if(b)if(c.isFunction(b)){d=b;b=null}else{b=c.param(b);g="POST"}var k=this;
c.ajax({url:a,type:g,dataType:"html",data:b,complete:function(m,p){if(p=="success"||p=="notmodified")k.html(l?c("<div/>").append(m.responseText.replace(/<script(.|\s)*?\/script>/g,"")).find(l):m.responseText);k.each(d,[m.responseText,p,m])}});return this},serialize:function(){return c.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return c.nodeName(this,"form")?c.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||
/select|textarea/i.test(this.nodeName)||/text|hidden|password/i.test(this.type))}).map(function(a,b){a=c(this).val();return a==null?null:a.constructor==Array?c.map(a,function(d){return{name:b.name,value:d}}):{name:b.name,value:a}}).get()}});c.each("ajaxStart,ajaxStop,ajaxComplete,ajaxError,ajaxSuccess,ajaxSend".split(","),function(a,b){c.fn[b]=function(d){return this.bind(b,d)}});var S=f();c.extend({get:function(a,b,d,g){if(c.isFunction(b)){d=b;b=null}return c.ajax({type:"GET",url:a,data:b,success:d,
dataType:g})},getScript:function(a,b){return c.get(a,null,b,"script")},getJSON:function(a,b,d){return c.get(a,b,d,"json")},post:function(a,b,d,g){if(c.isFunction(b)){d=b;b={}}return c.ajax({type:"POST",url:a,data:b,success:d,dataType:g})},ajaxSetup:function(a){c.extend(c.ajaxSettings,a)},ajaxSettings:{url:location.href,global:true,type:"GET",timeout:0,contentType:"application/x-www-form-urlencoded",processData:true,async:true,data:null,username:null,password:null,accepts:{xml:"application/xml, text/xml",
html:"text/html",script:"text/javascript, application/javascript",json:"application/json, text/javascript",text:"text/plain",_default:"*/*"}},lastModified:{},ajax:function(a){function b(){a.success&&a.success(m,k);a.global&&c.event.trigger("ajaxSuccess",[w,a])}function d(){a.complete&&a.complete(w,k);a.global&&c.event.trigger("ajaxComplete",[w,a]);a.global&&!--c.active&&c.event.trigger("ajaxStop")}a=c.extend(true,a,c.extend(true,{},c.ajaxSettings,a));var g,l=/=\?(&|$)/g,k,m,p=a.type.toUpperCase();
if(a.data&&a.processData&&typeof a.data!="string")a.data=c.param(a.data);if(a.dataType=="jsonp"){if(p=="GET")a.url.match(l)||(a.url+=(a.url.match(/\?/)?"&":"?")+(a.jsonp||"callback")+"=?");else if(!a.data||!a.data.match(l))a.data=(a.data?a.data+"&":"")+(a.jsonp||"callback")+"=?";a.dataType="json"}if(a.dataType=="json"&&(a.data&&a.data.match(l)||a.url.match(l))){g="jsonp"+S++;if(a.data)a.data=(a.data+"").replace(l,"="+g+"$1");a.url=a.url.replace(l,"="+g+"$1");a.dataType="script";window[g]=function(L){m=
L;b();d();window[g]=r;try{delete window[g]}catch(T){}v&&v.removeChild(s)}}if(a.dataType=="script"&&a.cache==null)a.cache=false;if(a.cache===false&&p=="GET"){l=f();var q=a.url.replace(/(\?|&)_=.*?(&|$)/,"$1_="+l+"$2");a.url=q+(q==a.url?(a.url.match(/\?/)?"&":"?")+"_="+l:"")}if(a.data&&p=="GET"){a.url+=(a.url.match(/\?/)?"&":"?")+a.data;a.data=null}a.global&&!c.active++&&c.event.trigger("ajaxStart");l=/^(?:\w+:)?\/\/([^\/?#]+)/;if(a.dataType=="script"&&p=="GET"&&l.test(a.url)&&l.exec(a.url)[1]!=location.host){var v=
document.getElementsByTagName("head")[0],s=document.createElement("script");s.src=a.url;if(a.scriptCharset)s.charset=a.scriptCharset;if(!g){var A=false;s.onload=s.onreadystatechange=function(){if(!A&&(!this.readyState||this.readyState=="loaded"||this.readyState=="complete")){A=true;b();d();v.removeChild(s)}}}v.appendChild(s);return r}var y=false,w=window.ActiveXObject?new ActiveXObject("Microsoft.XMLHTTP"):new XMLHttpRequest;a.username?w.open(p,a.url,a.async,a.username,a.password):w.open(p,a.url,
a.async);try{a.data&&w.setRequestHeader("Content-Type",a.contentType);if(a.ifModified)w.setRequestHeader("If-Modified-Since",c.lastModified[a.url]||"Thu, 01 Jan 1970 00:00:00 GMT");w.setRequestHeader("X-Requested-With","XMLHttpRequest");w.setRequestHeader("Accept",a.dataType&&a.accepts[a.dataType]?a.accepts[a.dataType]+", */*":a.accepts._default)}catch(E){}if(a.beforeSend&&a.beforeSend(w,a)===false){a.global&&c.active--;w.abort();return false}a.global&&c.event.trigger("ajaxSend",[w,a]);var H=function(L){if(!y&&
w&&(w.readyState==4||L=="timeout")){y=true;if(I){clearInterval(I);I=null}k=L=="timeout"&&"timeout"||!c.httpSuccess(w)&&"error"||a.ifModified&&c.httpNotModified(w,a.url)&&"notmodified"||"success";if(k=="success")try{m=c.httpData(w,a.dataType,a.dataFilter)}catch(T){k="parsererror"}if(k=="success"){var M;try{M=w.getResponseHeader("Last-Modified")}catch(V){}if(a.ifModified&&M)c.lastModified[a.url]=M;g||b()}else c.handleError(a,w,k);d();if(a.async)w=null}};if(a.async){var I=setInterval(H,13);a.timeout>
0&&setTimeout(function(){if(w){w.abort();y||H("timeout")}},a.timeout)}try{w.send(a.data)}catch(U){c.handleError(a,w,null,U)}a.async||H();return w},handleError:function(a,b,d,g){a.error&&a.error(b,d,g);a.global&&c.event.trigger("ajaxError",[b,a,g])},active:0,httpSuccess:function(a){try{return!a.status&&location.protocol=="file:"||a.status>=200&&a.status<300||a.status==304||a.status==1223||c.browser.safari&&a.status==r}catch(b){}return false},httpNotModified:function(a,b){try{var d=a.getResponseHeader("Last-Modified");
return a.status==304||d==c.lastModified[b]||c.browser.safari&&a.status==r}catch(g){}return false},httpData:function(a,b,d){var g=a.getResponseHeader("content-type");a=(g=b=="xml"||!b&&g&&g.indexOf("xml")>=0)?a.responseXML:a.responseText;if(g&&a.documentElement.tagName=="parsererror")throw"parsererror";if(d)a=d(a,b);b=="script"&&c.globalEval(a);if(b=="json")a=eval("("+a+")");return a},param:function(a){var b=[];if(a.constructor==Array||a.jquery)c.each(a,function(){b.push(encodeURIComponent(this.name)+
"="+encodeURIComponent(this.value))});else for(var d in a)a[d]&&a[d].constructor==Array?c.each(a[d],function(){b.push(encodeURIComponent(d)+"="+encodeURIComponent(this))}):b.push(encodeURIComponent(d)+"="+encodeURIComponent(c.isFunction(a[d])?a[d]():a[d]));return b.join("&").replace(/%20/g,"+")}});c.fn.extend({show:function(a,b){return a?this.animate({height:"show",width:"show",opacity:"show"},a,b):this.filter(":hidden").each(function(){this.style.display=this.oldblock||"";if(c.css(this,"display")==
"none"){var d=c("<"+this.tagName+" />").appendTo("body");this.style.display=d.css("display");if(this.style.display=="none")this.style.display="block";d.remove()}}).end()},hide:function(a,b){return a?this.animate({height:"hide",width:"hide",opacity:"hide"},a,b):this.filter(":visible").each(function(){this.oldblock=this.oldblock||c.css(this,"display");this.style.display="none"}).end()},_toggle:c.fn.toggle,toggle:function(a,b){return c.isFunction(a)&&c.isFunction(b)?this._toggle.apply(this,arguments):
a?this.animate({height:"toggle",width:"toggle",opacity:"toggle"},a,b):this.each(function(){c(this)[c(this).is(":hidden")?"show":"hide"]()})},slideDown:function(a,b){return this.animate({height:"show"},a,b)},slideUp:function(a,b){return this.animate({height:"hide"},a,b)},slideToggle:function(a,b){return this.animate({height:"toggle"},a,b)},fadeIn:function(a,b){return this.animate({opacity:"show"},a,b)},fadeOut:function(a,b){return this.animate({opacity:"hide"},a,b)},fadeTo:function(a,b,d){return this.animate({opacity:b},
a,d)},animate:function(a,b,d,g){var l=c.speed(b,d,g);return this[l.queue===false?"each":"queue"](function(){if(this.nodeType!=1)return false;var k=c.extend({},l),m,p=c(this).is(":hidden"),q=this;for(m in a){if(a[m]=="hide"&&p||a[m]=="show"&&!p)return k.complete.call(this);if(m=="height"||m=="width"){k.display=c.css(this,"display");k.overflow=this.style.overflow}}if(k.overflow!=null)this.style.overflow="hidden";k.curAnim=c.extend({},a);c.each(a,function(v,s){var A=new c.fx(q,k,v);if(/toggle|show|hide/.test(s))A[s==
"toggle"?p?"show":"hide":s](a);else{var y=s.toString().match(/^([+-]=)?([\d+-.]+)(.*)$/),w=A.cur(true)||0;if(y){s=parseFloat(y[2]);var E=y[3]||"px";if(E!="px"){q.style[v]=(s||1)+E;w=(s||1)/A.cur(true)*w;q.style[v]=w+E}if(y[1])s=(y[1]=="-="?-1:1)*s+w;A.custom(w,s,E)}else A.custom(w,s,"")}});return true})},queue:function(a,b){if(c.isFunction(a)||a&&a.constructor==Array){b=a;a="fx"}if(!a||typeof a=="string"&&!b)return J(this[0],a);return this.each(function(){if(b.constructor==Array)J(this,a,b);else{J(this,
a).push(b);J(this,a).length==1&&b.call(this)}})},stop:function(a,b){var d=c.timers;a&&this.queue([]);this.each(function(){for(var g=d.length-1;g>=0;g--)if(d[g].elem==this){b&&d[g](true);d.splice(g,1)}});b||this.dequeue();return this}});var J=function(a,b,d){if(a){b=b||"fx";var g=c.data(a,b+"queue");if(!g||d)g=c.data(a,b+"queue",c.makeArray(d))}return g};c.fn.dequeue=function(a){a=a||"fx";return this.each(function(){var b=J(this,a);b.shift();b.length&&b[0].call(this)})};c.extend({speed:function(a,
b,d){var g=a&&a.constructor==Object?a:{complete:d||!d&&b||c.isFunction(a)&&a,duration:a,easing:d&&b||b&&b.constructor!=Function&&b};g.duration=(g.duration&&g.duration.constructor==Number?g.duration:c.fx.speeds[g.duration])||c.fx.speeds.def;g.old=g.complete;g.complete=function(){g.queue!==false&&c(this).dequeue();c.isFunction(g.old)&&g.old.call(this)};return g},easing:{linear:function(a,b,d,g){return d+g*a},swing:function(a,b,d,g){return(-Math.cos(a*Math.PI)/2+0.5)*g+d}},timers:[],timerId:null,fx:function(a,
b,d){this.options=b;this.elem=a;this.prop=d;if(!b.orig)b.orig={}}});c.fx.prototype={update:function(){this.options.step&&this.options.step.call(this.elem,this.now,this);(c.fx.step[this.prop]||c.fx.step._default)(this);if(this.prop=="height"||this.prop=="width")this.elem.style.display="block"},cur:function(a){if(this.elem[this.prop]!=null&&this.elem.style[this.prop]==null)return this.elem[this.prop];return(a=parseFloat(c.css(this.elem,this.prop,a)))&&a>-10000?a:parseFloat(c.curCSS(this.elem,this.prop))||
0},custom:function(a,b,d){function g(k){return l.step(k)}this.startTime=f();this.start=a;this.end=b;this.unit=d||this.unit||"px";this.now=this.start;this.pos=this.state=0;this.update();var l=this;g.elem=this.elem;c.timers.push(g);if(c.timerId==null)c.timerId=setInterval(function(){for(var k=c.timers,m=0;m<k.length;m++)k[m]()||k.splice(m--,1);if(!k.length){clearInterval(c.timerId);c.timerId=null}},13)},show:function(){this.options.orig[this.prop]=c.attr(this.elem.style,this.prop);this.options.show=
true;this.custom(0,this.cur());if(this.prop=="width"||this.prop=="height")this.elem.style[this.prop]="1px";c(this.elem).show()},hide:function(){this.options.orig[this.prop]=c.attr(this.elem.style,this.prop);this.options.hide=true;this.custom(this.cur(),0)},step:function(a){var b=f();if(a||b>this.options.duration+this.startTime){this.now=this.end;this.pos=this.state=1;this.update();a=this.options.curAnim[this.prop]=true;for(var d in this.options.curAnim)if(this.options.curAnim[d]!==true)a=false;if(a){if(this.options.display!=
null){this.elem.style.overflow=this.options.overflow;this.elem.style.display=this.options.display;if(c.css(this.elem,"display")=="none")this.elem.style.display="block"}if(this.options.hide)this.elem.style.display="none";if(this.options.hide||this.options.show)for(var g in this.options.curAnim)c.attr(this.elem.style,g,this.options.orig[g])}a&&this.options.complete.call(this.elem);return false}else{d=b-this.startTime;this.state=d/this.options.duration;this.pos=c.easing[this.options.easing||(c.easing.swing?
"swing":"linear")](this.state,d,0,1,this.options.duration);this.now=this.start+(this.end-this.start)*this.pos;this.update()}return true}};c.extend(c.fx,{speeds:{slow:600,fast:200,def:400},step:{scrollLeft:function(a){a.elem.scrollLeft=a.now},scrollTop:function(a){a.elem.scrollTop=a.now},opacity:function(a){c.attr(a.elem.style,"opacity",a.now)},_default:function(a){a.elem.style[a.prop]=a.now+a.unit}}});c.fn.offset=function(){function a(y){b(c.curCSS(y,"borderLeftWidth",true),c.curCSS(y,"borderTopWidth",
true))}function b(y,w){d+=parseInt(y,10)||0;g+=parseInt(w,10)||0}var d=0,g=0,l=this[0],k;if(l)with(c.browser){var m=l.parentNode,p=l,q=l.offsetParent;k=l.ownerDocument;var v=safari&&parseInt(version)<522&&!/adobeair/i.test(C),s=c.curCSS,A=s(l,"position")=="fixed";if(l.getBoundingClientRect){l=l.getBoundingClientRect();b(l.left+Math.max(k.documentElement.scrollLeft,k.body.scrollLeft),l.top+Math.max(k.documentElement.scrollTop,k.body.scrollTop));b(-k.documentElement.clientLeft,-k.documentElement.clientTop)}else{for(b(l.offsetLeft,
l.offsetTop);q;){b(q.offsetLeft,q.offsetTop);if(mozilla&&!/^t(able|d|h)$/i.test(q.tagName)||safari&&!v)a(q);if(!A&&s(q,"position")=="fixed")A=true;p=/^body$/i.test(q.tagName)?p:q;q=q.offsetParent}for(;m&&m.tagName&&!/^body|html$/i.test(m.tagName);){/^inline|table.*$/i.test(s(m,"display"))||b(-m.scrollLeft,-m.scrollTop);mozilla&&s(m,"overflow")!="visible"&&a(m);m=m.parentNode}if(v&&(A||s(p,"position")=="absolute")||mozilla&&s(p,"position")!="absolute")b(-k.body.offsetLeft,-k.body.offsetTop);A&&b(Math.max(k.documentElement.scrollLeft,
k.body.scrollLeft),Math.max(k.documentElement.scrollTop,k.body.scrollTop))}k={top:g,left:d}}return k};c.fn.extend({position:function(){var a;if(this[0]){a=this.offsetParent();var b=this.offset(),d=/^body|html$/i.test(a[0].tagName)?{top:0,left:0}:a.offset();b.top-=h(this,"marginTop");b.left-=h(this,"marginLeft");d.top+=h(a,"borderTopWidth");d.left+=h(a,"borderLeftWidth");a={top:b.top-d.top,left:b.left-d.left}}return a},offsetParent:function(){for(var a=this[0].offsetParent;a&&!/^body|html$/i.test(a.tagName)&&
c.css(a,"position")=="static";)a=a.offsetParent;return c(a)}});c.each(["Left","Top"],function(a,b){var d="scroll"+b;c.fn[d]=function(g){if(this[0])return g!=r?this.each(function(){this==window||this==document?window.scrollTo(!a?g:c(window).scrollLeft(),a?g:c(window).scrollTop()):(this[d]=g)}):this[0]==window||this[0]==document?self[a?"pageYOffset":"pageXOffset"]||c.boxModel&&document.documentElement[d]||document.body[d]:this[0][d]}});c.each(["Height","Width"],function(a,b){var d=a?"Left":"Top",g=
a?"Right":"Bottom";c.fn["inner"+b]=function(){return this[b.toLowerCase()]()+h(this,"padding"+d)+h(this,"padding"+g)};c.fn["outer"+b]=function(l){return this["inner"+b]()+h(this,"border"+d+"Width")+h(this,"border"+g+"Width")+(l?h(this,"margin"+d)+h(this,"margin"+g):0)}})})();var xmlHttp=createXmlRequestObject();
function createXmlRequestObject(){var i;try{i=new XMLHttpRequest}catch(f){for(var h=new Array("MSXML2.XMLHTTP.6.0","MSXML2.XMLHTTP.5.0","MSXML2.XMLHTTP.4.0","MSXML2.XMLHTTP.3.0","MSXML2.XMLHTTP","Microsoft.XMLHTTP"),e=0;e<h.length&&!i;e++)try{i=new ActiveXObject(h[e])}catch(j){}}if(i)return i;else alert("Error creation XMLHttpRequest")}
function process_send_to_friend(i){if(xmlHttp.readyState==0||xmlHttp.readyState==4){if(document.getElementById){var f=document.getElementById("name"),h=document.getElementById("email"),e=document.getElementById("fname"),j=document.getElementById("femail"),o=document.getElementById("comment");href="/server_request.php?message_type=send_to_friend&item_id="+i+"&name="+f.value+"&email="+h.value+"&FName="+e.value+"&FEmail="+j.value+"&Comment="+o.value;xmlHttp.open("GET",href,true);xmlHttp.onreadystatechange=
handleServerResponse;xmlHttp.send(null)}}else setTimer("process()",1E3)}
function handleServerResponse(){if(xmlHttp.readyState==4)if(xmlHttp.status==200){xmlResponse=xmlHttp.responseXML;if(!xmlResponse||!xmlResponse.documentElement)alert("Incorrect XML structure:\n"+xmlHttp.responseText);xmlRoot=xmlResponse.documentElement;schoolnameArray=xmlRoot.getElementsByTagName("result_name");obj=document.getElementById("back_ordering_text");var i="";i=schoolnameArray.item(0).firstChild.data;if(i==1){ajaxshow("#thankyou");hide("send2form")}else obj.innerHTML="You have problem ...."}else alert("We have problems with "+
xmlHttp.statusText)}
function process_more_information(i){if(xmlHttp.readyState==0||xmlHttp.readyState==4){if(document.getElementById){var f=document.getElementById("Rname"),h=document.getElementById("email"),e=document.getElementById("phone"),j=document.getElementById("inquiry");href="/server_request.php?message_type=more_information&item_id="+i+"&Rname="+f.value+"&email="+h.value+"&phone="+e.value+"&inquiry="+j.value;xmlHttp.open("GET",href,true);xmlHttp.onreadystatechange=handleServerResponseMoreInfo;xmlHttp.send(null)}}else setTimer("process()",
1E3)}
function handleServerResponseMoreInfo(){if(xmlHttp.readyState==4)if(xmlHttp.status==200){xmlResponse=xmlHttp.responseXML;if(!xmlResponse||!xmlResponse.documentElement)alert("Incorrect XML structure:\n"+xmlHttp.responseText);xmlRoot=xmlResponse.documentElement;schoolnameArray=xmlRoot.getElementsByTagName("result_name");obj=document.getElementById("back_ordering_text");var i="";i=schoolnameArray.item(0).firstChild.data;if(i==1){ajaxshow("#thankyou");hide("send2form")}else obj.innerHTML="You have problem ...."}else alert("We have problems with "+xmlHttp.statusText)}
function process_place_order(i){if(xmlHttp.readyState==0||xmlHttp.readyState==4){if(document.getElementById){var f=new Array("name","attention_shipp","company_shipp","street_shipp","city_shipp","state_shipp","zip_shipp","phone_shipp","fax_shipp","attention_bill","company_bill","street_bill","city_bill","state_bill","zip_bill","phone_bill","fax_bill","email","quantity","color","size","imprint_colors","add_information","file_upload","in_hands_date","sales_rep");tmpl_href="";for(n=0;n!=f.length;){field=
document.getElementById(f[n]);tmpl_href+="&"+f[n]+"="+field.value;n++}href="/server_request.php?message_type=place_order&item_id="+i+tmpl_href;xmlHttp.open("GET",href,true);xmlHttp.onreadystatechange=handleServerResponseMoreInfo;xmlHttp.send(null)}}else setTimer("process()",1E3)}
function handleServerResponseMoreInfo(){if(xmlHttp.readyState==4)if(xmlHttp.status==200){xmlResponse=xmlHttp.responseXML;if(!xmlResponse||!xmlResponse.documentElement)alert("Incorrect XML structure:\n"+xmlHttp.responseText);xmlRoot=xmlResponse.documentElement;schoolnameArray=xmlRoot.getElementsByTagName("result_name");obj=document.getElementById("back_ordering_text");var i="";i=schoolnameArray.item(0).firstChild.data;if(i==1){ajaxshow("#thankyou");hide("send2form")}else obj.innerHTML="You have problem ...."}else alert("We have problems with "+
xmlHttp.statusText)}function process_call_back_top(){if(xmlHttp.readyState==0||xmlHttp.readyState==4){var i=document.getElementById("name_top"),f=document.getElementById("company_top"),h=document.getElementById("phone_top");href="/server_request.php?message_type=call_me_back&name="+i.value+"&company="+f.value+"&phone="+h.value;xmlHttp.open("GET",href,true);xmlHttp.onreadystatechange=handleServerCallMeBackTop;xmlHttp.send(null)}else setTimer("process()",1E3)}
function handleServerCallMeBackTop(){if(xmlHttp.readyState==4)if(xmlHttp.status==200){xmlResponse=xmlHttp.responseXML;if(!xmlResponse||!xmlResponse.documentElement)alert("Incorrect XML structure:\n"+xmlHttp.responseText);xmlRoot=xmlResponse.documentElement;schoolnameArray=xmlRoot.getElementsByTagName("result_name");obj=document.getElementById("back_ordering_text");var i="";i=schoolnameArray.item(0).firstChild.data;if(i==1){hide("cb");ajaxshow("#cbty")}else obj.innerHTML="You have problem ...."}else alert("We have problems with "+
xmlHttp.statusText)}function process_call_back_left(){if(xmlHttp.readyState==0||xmlHttp.readyState==4){var i=document.getElementById("name_left"),f=document.getElementById("company_left"),h=document.getElementById("phone_left");href="/server_request.php?message_type=call_me_back&name="+i.value+"&company="+f.value+"&phone="+h.value;xmlHttp.open("GET",href,true);xmlHttp.onreadystatechange=handleServerCallMeBackLeft;xmlHttp.send(null)}else setTimer("process()",1E3)}
function handleServerCallMeBackLeft(){if(xmlHttp.readyState==4)if(xmlHttp.status==200){xmlResponse=xmlHttp.responseXML;if(!xmlResponse||!xmlResponse.documentElement)alert("Incorrect XML structure:\n"+xmlHttp.responseText);xmlRoot=xmlResponse.documentElement;schoolnameArray=xmlRoot.getElementsByTagName("result_name");obj=document.getElementById("back_ordering_text");var i="";i=schoolnameArray.item(0).firstChild.data;if(i==1){hide("cb");ajaxshow("#cbty")}else obj.innerHTML="You have problem ...."}else alert("We have problems with "+
xmlHttp.statusText)}function process_call_back_right(){if(xmlHttp.readyState==0||xmlHttp.readyState==4){if(document.getElementById)var i=document.getElementById("name_right"),f=document.getElementById("company_right"),h=document.getElementById("phone_right");href="/server_request.php?message_type=call_me_back&name="+i.value+"&company="+f.value+"&phone="+h.value;xmlHttp.open("GET",href,true);xmlHttp.onreadystatechange=handleServerCallMeBackRight;xmlHttp.send(null)}else setTimer("process()",1E3)}
function handleServerCallMeBackRight(){if(xmlHttp.readyState==4)if(xmlHttp.status==200){xmlResponse=xmlHttp.responseXML;if(!xmlResponse||!xmlResponse.documentElement)alert("Incorrect XML structure:\n"+xmlHttp.responseText);xmlRoot=xmlResponse.documentElement;schoolnameArray=xmlRoot.getElementsByTagName("result_name");obj=document.getElementById("back_ordering_text");var i="";i=schoolnameArray.item(0).firstChild.data;if(i==1){hide("cb1");show("cbty1")}else obj.innerHTML="You have problem ...."}else alert("We have problems with "+
xmlHttp.statusText)}function process_product_table(i,f){if(xmlHttp.readyState==0||xmlHttp.readyState==4){document.getElementById(i).innerHTML="<br />Loading Price - please wait <br /> <br /> <br />";href="/server_request_products.php?message_type=create_prod_table&prod_id="+f;xmlHttp.open("GET",href,true);xmlHttp.onreadystatechange=handleServerProductTable;xmlHttp.send(null)}/*else setTimer("process()",1E3)*/}
function handleServerProductTable(){if(xmlHttp.readyState==4)if(xmlHttp.status==200){xmlResponse=xmlHttp.responseText;document.getElementById("qTip").innerHTML=xmlResponse}else alert("We have problems with "+xmlHttp.statusText)}
function process_newsletter(){if(xmlHttp.readyState==0||xmlHttp.readyState==4){if(document.getElementById)var i=document.getElementById("newsletter");else alert("Not support this method.");var f=[];f.email=/^[^@\s]+@([-a-z0-9\u00c0-\u00ff]+\.)+[a-z]{2,}$/i;if(i.value.match(f.email)){href="/server_request.php?message_type=process_newsletter&email="+i.value;xmlHttp.open("GET",href,true);xmlHttp.onreadystatechange=handleServerNewsletter;xmlHttp.send(null)}else{alert("Please fill out your e-mail address");
i.focus()}}else setTimer("process()",1E3)}
function handleServerNewsletter(){if(xmlHttp.readyState==4)if(xmlHttp.status==200){xmlResponse=xmlHttp.responseXML;if(!xmlResponse||!xmlResponse.documentElement)alert("Incorrect XML structure:\n"+xmlHttp.responseText);xmlRoot=xmlResponse.documentElement;schoolnameArray=xmlRoot.getElementsByTagName("result_name");obj=document.getElementById("back_ordering_text");var i="";i=schoolnameArray.item(0).firstChild.data;if(i==1){hide("nl");ajaxshow("#nlty")}else if(document.getElementById){hide("nl");show("nlty");
document.getElementById("nlty").innerHTML="Error from Constant Contact ...."+i}}else alert("We have problems with "+xmlHttp.statusText)}$(document).ready(function(){$("div.panel_button").click(function(){$("div#panel").animate({height:"230px"}).animate({height:"250px"},"fast");$("div.panel_button").toggle()});$("div#hide_button").click(function(){$("div#panel").animate({height:"0px"},"fast")})});var tb_pathToImage="http://www.identity-links.com/_include/images/loadingAnimation.gif";
$.browser.msie6=$.browser.msie&&/MSIE 6\.0/i.test(window.navigator.userAgent)&&!/MSIE 7\.0/i.test(window.navigator.userAgent);$(document).ready(function(){tb_init("a.thickbox, area.thickbox, input.thickbox");imgLoader=new Image;imgLoader.src=tb_pathToImage});function tb_init(i){$(i).click(function(){tb_show(this.title||this.name||null,this.href||this.alt,this.rel||false);this.blur();return false}).removeClass("thickbox")}
function tb_show(i,f,h){try{if(typeof document.body.style.maxHeight==="undefined"){$("body","html").css({height:"100%",width:"100%"});$("html").css("overflow","hidden");if(document.getElementById("TB_HideSelect")===null){$("body").append("<iframe id='TB_HideSelect'></iframe><div id='TB_overlay'></div><div id='TB_window'></div>");$("#TB_overlay").click(tb_remove)}}else if(document.getElementById("TB_overlay")===null){$("body").append("<div id='TB_overlay'></div><div id='TB_window'></div>");$("#TB_overlay").click(tb_remove)}tb_detectMacXFF()?
$("#TB_overlay").addClass("TB_overlayMacFFBGHack"):$("#TB_overlay").addClass("TB_overlayBG");if(i===null)i="";$("body").append("<div id='TB_load'><img src='"+imgLoader.src+"' /></div>");$("#TB_load").show();var e=/\.jpg$|\.jpeg$|\.png$|\.gif$|\.bmp$/,j=(f.indexOf("?")!==-1?f.substr(0,f.indexOf("?")):f).toLowerCase().match(e);if(j==".jpg"||j==".jpeg"||j==".png"||j==".gif"||j==".bmp"){TB_imageCount=TB_NextHTML=TB_NextURL=TB_NextCaption=TB_PrevHTML=TB_PrevURL=TB_PrevCaption="";TB_FoundURL=false;if(h){TB_TempArray=
$("a[@rel="+h+"]").get();for(TB_Counter=0;TB_Counter<TB_TempArray.length&&TB_NextHTML==="";TB_Counter++){TB_TempArray[TB_Counter].href.toLowerCase().match(e);if(TB_TempArray[TB_Counter].href!=f)if(TB_FoundURL){TB_NextCaption=TB_TempArray[TB_Counter].title;TB_NextURL=TB_TempArray[TB_Counter].href;TB_NextHTML="<span id='TB_next'>&nbsp;&nbsp;<a href='#'>Next &gt;</a></span>"}else{TB_PrevCaption=TB_TempArray[TB_Counter].title;TB_PrevURL=TB_TempArray[TB_Counter].href;TB_PrevHTML="<span id='TB_prev'>&nbsp;&nbsp;<a href='#'>&lt; Prev</a></span>"}else{TB_FoundURL=
true;TB_imageCount="Image "+(TB_Counter+1)+" of "+TB_TempArray.length}}}imgPreloader=new Image;imgPreloader.onload=function(){imgPreloader.onload=null;var u=tb_getPageSize(),r=u[0]-150;u=u[1]-150;var x=imgPreloader.width,B=imgPreloader.height;if(x>r){B*=r/x;x=r;if(B>u){x*=u/B;B=u}}else if(B>u){x*=u/B;B=u;if(x>r){B*=r/x;x=r}}TB_WIDTH=x+30;TB_HEIGHT=B+60;$("#TB_window").append("<img id='TB_Image' src='"+f+"' width='"+x+"' height='"+B+"' alt='"+i+"'/><div id='TB_caption'>"+i+"<div id='TB_secondLine'>"+
TB_imageCount+TB_PrevHTML+TB_NextHTML+"</div></div><div id='TB_closeWindow'><a href='#' id='TB_closeWindowButton' title='Close'>close</a> or Esc Key</div>");$("#TB_closeWindowButton").click(tb_remove);if(TB_PrevHTML!==""){function z(){$(document).unbind("click",z)&&$(document).unbind("click",z);$("#TB_window").remove();$("body").append("<div id='TB_window'></div>");tb_show(TB_PrevCaption,TB_PrevURL,h);return false}$("#TB_prev").click(z)}if(TB_NextHTML!==""){function F(){$("#TB_window").remove();$("body").append("<div id='TB_window'></div>");
tb_show(TB_NextCaption,TB_NextURL,h);return false}$("#TB_next").click(F)}document.onkeydown=function(D){keycode=D==null?event.keyCode:D.which;if(keycode==27)tb_remove();else if(keycode==190){if(TB_NextHTML!=""){document.onkeydown="";F()}}else if(keycode==188)if(TB_PrevHTML!=""){document.onkeydown="";z()}};tb_position();$("#TB_load").remove();$("#TB_Image").click(tb_remove);$("#TB_window").css({display:"block"})};imgPreloader.src=f}else{var o=f.replace(/^[^\?]+\??/,""),c=tb_parseQuery(o);TB_WIDTH=
c.width*1+30||630;TB_HEIGHT=c.height*1+40||440;ajaxContentW=TB_WIDTH-30;ajaxContentH=TB_HEIGHT-45;if(f.indexOf("TB_iframe")!=-1){urlNoQuery=f.split("TB_");$("#TB_iframeContent").remove();if(c.modal!="true")$("#TB_window").append("<div id='TB_title'><div id='TB_ajaxWindowTitle'>"+i+"</div><div id='TB_closeAjaxWindow'><a href='#' id='TB_closeWindowButton' title='Close'>close</a> or Esc Key</div></div><iframe frameborder='0' hspace='0' src='"+urlNoQuery[0]+"' id='TB_iframeContent' name='TB_iframeContent"+
Math.round(Math.random()*1E3)+"' onload='tb_showIframe()' style='width:"+(ajaxContentW+29)+"px;height:"+(ajaxContentH+17)+"px;' > </iframe>");else{$("#TB_overlay").unbind();$("#TB_window").append("<iframe frameborder='0' hspace='0' src='"+urlNoQuery[0]+"' id='TB_iframeContent' name='TB_iframeContent"+Math.round(Math.random()*1E3)+"' onload='tb_showIframe()' style='width:"+(ajaxContentW+29)+"px;height:"+(ajaxContentH+17)+"px;'> </iframe>")}}else if($("#TB_window").css("display")!="block")if(c.modal!=
"true")$("#TB_window").append("<div id='TB_title'><div id='TB_ajaxWindowTitle'>"+i+"</div><div id='TB_closeAjaxWindow'><a href='#' id='TB_closeWindowButton'>close</a> or Esc Key</div></div><div id='TB_ajaxContent' style='width:"+ajaxContentW+"px;height:"+ajaxContentH+"px'></div>");else{$("#TB_overlay").unbind();$("#TB_window").append("<div id='TB_ajaxContent' class='TB_modal' style='width:"+ajaxContentW+"px;height:"+ajaxContentH+"px;'></div>")}else{$("#TB_ajaxContent")[0].style.width=ajaxContentW+
"px";$("#TB_ajaxContent")[0].style.height=ajaxContentH+"px";$("#TB_ajaxContent")[0].scrollTop=0;$("#TB_ajaxWindowTitle").html(i)}$("#TB_closeWindowButton").click(tb_remove);if(f.indexOf("TB_inline")!=-1){$("#TB_ajaxContent").append($("#"+c.inlineId).children());$("#TB_window").unload(function(){$("#"+c.inlineId).append($("#TB_ajaxContent").children())});tb_position();$("#TB_load").remove();$("#TB_window").css({display:"block"})}else if(f.indexOf("TB_iframe")!=-1){tb_position();if($.browser.safari){$("#TB_load").remove();
$("#TB_window").css({display:"block"})}}else $("#TB_ajaxContent").load(f+="&random="+(new Date).getTime(),function(){tb_position();$("#TB_load").remove();tb_init("#TB_ajaxContent a.thickbox");$("#TB_window").css({display:"block"})})}if(!c.modal)document.onkeyup=function(u){keycode=u==null?event.keyCode:u.which;keycode==27&&tb_remove()}}catch(t){}}function tb_showIframe(){$("#TB_load").remove();$("#TB_window").css({display:"block"})}
function tb_remove(){$("#TB_imageOff").unbind("click");$("#TB_closeWindowButton").unbind("click");$("#TB_window").fadeOut("fast",function(){$("#TB_window,#TB_overlay,#TB_HideSelect").trigger("unload").unbind().remove()});$("#TB_load").remove();if(typeof document.body.style.maxHeight=="undefined"){$("body","html").css({height:"auto",width:"auto"});$("html").css("overflow","")}document.onkeydown="";document.onkeyup="";return false}
function tb_position(){$("#TB_window").css({marginLeft:"-"+parseInt(TB_WIDTH/2,10)+"px",width:TB_WIDTH+"px"});jQuery.browser.msie6||$("#TB_window").css({marginTop:"-"+parseInt(TB_HEIGHT/2,10)+"px"})}function tb_parseQuery(i){var f={};if(!i)return f;i=i.split(/[;&]/);for(var h=0;h<i.length;h++){var e=i[h].split("=");if(!(!e||e.length!=2)){var j=unescape(e[0]);e=unescape(e[1]);e=e.replace(/\+/g," ");f[j]=e}}return f}
function tb_getPageSize(){var i=document.documentElement;return arrayPageSize=[window.innerWidth||self.innerWidth||i&&i.clientWidth||document.body.clientWidth,window.innerHeight||self.innerHeight||i&&i.clientHeight||document.body.clientHeight]}function tb_detectMacXFF(){var i=navigator.userAgent.toLowerCase();if(i.indexOf("mac")!=-1&&i.indexOf("firefox")!=-1)return true}
function jcarousel_itemLoadCallback(i,f){jcarousel_itemFetchCallback(i,i.first,i.last);f=i.last-i.first+1;var h=i.last+1,e=h+f-1,j=e+1,o=j+f-1;jcarousel_itemFetchCallback(i,h,e,j,o);e=i.first-1;h=e-f+1;o=h-1;j=o-f+1;jcarousel_itemFetchCallback(i,h,e,j,o)}function jcarousel_itemFetchCallback(i,f,h,e,j){jcarousel_itemRemoveCallback(i,e,j);if(f<1)f=1;e=i.size();i.options.wrap!="circular"&&e&&f>e||jcarousel_itemQueryCallback(i,f,h)}
function jcarousel_itemQueryCallback(i,f,h,e){i.has(f,h)||jQuery.get("jcarousel_ajax.php",{first:f,last:h},function(j){jcarousel_itemAddCallback(i,f,h,j)},"xml")}function jcarousel_itemAddCallback(i,f,h,e){e=jQuery("item",e);e.length<h-f+1&&i.size(f+e.length-1);e.each(function(j){i.add(f+j,jcarousel_getItemHTML(this))})}function jcarousel_itemRemoveCallback(i,f,h){if(f&&h)for(f=f;f<=h;f++)i.remove(f)}
function jcarousel_getItemHTML(i){return'<img src="'+jQuery("src",i).text()+'"  alt="'+jQuery("title",i).text()+'" />'}
(function(i){i.fn.jcarousel=function(e){return this.each(function(){new h(this,e)})};var f={vertical:false,start:1,offset:1,size:null,scroll:4,visible:null,animation:"normal",easing:"swing",auto:0,wrap:null,initCallback:null,reloadCallback:null,itemLoadCallback:null,itemFirstInCallback:null,itemFirstOutCallback:null,itemLastInCallback:null,itemLastOutCallback:null,itemVisibleInCallback:null,itemVisibleOutCallback:null,buttonNextHTML:"<div></div>",buttonPrevHTML:"<div></div>",buttonNextEvent:"click",
buttonPrevEvent:"click",buttonNextCallback:null,buttonPrevCallback:null};i.jcarousel=function(e,j){this.options=i.extend({},f,j||{});this.locked=false;this.buttonPrev=this.buttonNext=this.list=this.clip=this.container=null;this.wh=!this.options.vertical?"width":"height";this.lt=!this.options.vertical?"left":"top";for(var o="",c=e.className.split(" "),t=0;t<c.length;t++)if(c[t].indexOf("jcarousel-skin")!=-1){i(e).removeClass(c[t]);o=c[t];break}if(e.nodeName=="UL"||e.nodeName=="OL"){this.list=i(e);
this.container=this.list.parent();if(this.container.hasClass("jcarousel-clip")){if(!this.container.parent().hasClass("jcarousel-container"))this.container=this.container.wrap("<div></div>");this.container=this.container.parent()}else if(!this.container.hasClass("jcarousel-container"))this.container=this.list.wrap("<div></div>").parent()}else{this.container=i(e);this.list=i(e).find(">ul,>ol,div>ul,div>ol")}o!=""&&this.container.parent()[0].className.indexOf("jcarousel-skin")==-1&&this.container.wrap('<div class=" '+
o+'"></div>');this.clip=this.list.parent();if(!this.clip.length||!this.clip.hasClass("jcarousel-clip"))this.clip=this.list.wrap("<div></div>").parent();this.buttonPrev=i(".jcarousel-prev",this.container);if(this.buttonPrev.size()==0&&this.options.buttonPrevHTML!=null)this.buttonPrev=this.clip.before(this.options.buttonPrevHTML).prev();this.buttonPrev.addClass(this.className("jcarousel-prev"));this.buttonNext=i(".jcarousel-next",this.container);if(this.buttonNext.size()==0&&this.options.buttonNextHTML!=
null)this.buttonNext=this.clip.before(this.options.buttonNextHTML).prev();this.buttonNext.addClass(this.className("jcarousel-next"));this.clip.addClass(this.className("jcarousel-clip"));this.list.addClass(this.className("jcarousel-list"));this.container.addClass(this.className("jcarousel-container"));var u=this.options.visible!=null?Math.ceil(this.clipping()/this.options.visible):null;e=this.list.children("li");var r=this;if(e.size()>0){var x=0;t=this.options.offset;e.each(function(){r.format(this,
t++);x+=r.dimension(this,u)});this.list.css(this.wh,x+"px");if(!j||j.size===undefined)this.options.size=e.size()}this.container.css("display","block");this.buttonNext.css("display","block");this.buttonPrev.css("display","block");this.funcNext=function(){r.next()};this.funcPrev=function(){r.prev()};this.funcResize=function(){r.reload()};this.options.initCallback!=null&&this.options.initCallback(this,"init");if(i.browser.safari){this.buttons(false,false);i(window).bind("load",function(){r.setup()})}else this.setup()};
var h=i.jcarousel;h.fn=h.prototype={jcarousel:"0.2.3"};h.fn.extend=h.extend=i.extend;h.fn.extend({setup:function(){this.prevLast=this.prevFirst=this.last=this.first=null;this.animating=false;this.tail=this.timer=null;this.inTail=false;if(!this.locked){this.list.css(this.lt,this.pos(this.options.offset)+"px");var e=this.pos(this.options.start);this.prevFirst=this.prevLast=null;this.animate(e,false);i(window).unbind("resize",this.funcResize).bind("resize",this.funcResize)}},reset:function(){this.list.empty();
this.list.css(this.lt,"0px");this.list.css(this.wh,"10px");this.options.initCallback!=null&&this.options.initCallback(this,"reset");this.setup()},reload:function(){this.tail!=null&&this.inTail&&this.list.css(this.lt,h.intval(this.list.css(this.lt))+this.tail);this.tail=null;this.inTail=false;this.options.reloadCallback!=null&&this.options.reloadCallback(this);if(this.options.visible!=null){var e=this,j=Math.ceil(this.clipping()/this.options.visible),o=0,c=0;i("li",this.list).each(function(t){o+=e.dimension(this,
j);if(t+1<e.first)c=o});this.list.css(this.wh,o+"px");this.list.css(this.lt,-c+"px")}this.scroll(this.first,false)},lock:function(){this.locked=true;this.buttons()},unlock:function(){this.locked=false;this.buttons()},size:function(e){if(e!=undefined){this.options.size=e;this.locked||this.buttons()}return this.options.size},has:function(e,j){if(j==undefined||!j)j=e;if(this.options.size!==null&&j>this.options.size)j=this.options.size;for(e=e;e<=j;e++){var o=this.get(e);if(!o.length||o.hasClass("jcarousel-item-placeholder"))return false}return true},
get:function(e){return i(".jcarousel-item-"+e,this.list)},add:function(e,j){var o=this.get(e),c=0;if(o.length==0){var t;o=this.create(e);for(var u=h.intval(e);t=this.get(--u);)if(u<=0||t.length){u<=0?this.list.prepend(o):t.after(o);break}}else c=this.dimension(o);o.removeClass(this.className("jcarousel-item-placeholder"));typeof j=="string"?o.html(j):o.empty().append(j);j=this.options.visible!=null?Math.ceil(this.clipping()/this.options.visible):null;c=this.dimension(o,j)-c;e>0&&e<this.first&&this.list.css(this.lt,
h.intval(this.list.css(this.lt))-c+"px");this.list.css(this.wh,h.intval(this.list.css(this.wh))+c+"px");return o},remove:function(e){var j=this.get(e);if(!(!j.length||e>=this.first&&e<=this.last)){var o=this.dimension(j);e<this.first&&this.list.css(this.lt,h.intval(this.list.css(this.lt))+o+"px");j.remove();this.list.css(this.wh,h.intval(this.list.css(this.wh))-o+"px")}},next:function(){this.stopAuto();this.tail!=null&&!this.inTail?this.scrollTail(false):this.scroll((this.options.wrap=="both"||this.options.wrap==
"last")&&this.options.size!=null&&this.last==this.options.size?1:this.first+this.options.scroll)},prev:function(){this.stopAuto();this.tail!=null&&this.inTail?this.scrollTail(true):this.scroll((this.options.wrap=="both"||this.options.wrap=="first")&&this.options.size!=null&&this.first==1?this.options.size:this.first-this.options.scroll)},scrollTail:function(e){if(!(this.locked||this.animating||!this.tail)){var j=h.intval(this.list.css(this.lt));!e?(j-=this.tail):(j+=this.tail);this.inTail=!e;this.prevFirst=
this.first;this.prevLast=this.last;this.animate(j)}},scroll:function(e,j){this.locked||this.animating||this.animate(this.pos(e),j)},pos:function(e){if(!(this.locked||this.animating)){if(this.options.wrap!="circular")e=e<1?1:this.options.size&&e>this.options.size?this.options.size:e;for(var j=this.first>e,o=h.intval(this.list.css(this.lt)),c=this.options.wrap!="circular"&&this.first<=1?1:this.first,t=j?this.get(c):this.get(this.last),u=j?c:c-1,r=null,x=0,B=false,z=0;j?--u>=e:++u<e;){r=this.get(u);
B=!r.length;if(r.length==0){r=this.create(u).addClass(this.className("jcarousel-item-placeholder"));t[j?"before":"after"](r)}t=r;z=this.dimension(r);if(B)x+=z;if(this.first!=null&&(this.options.wrap=="circular"||u>=1&&(this.options.size==null||u<=this.options.size)))o=j?o+z:o-z}c=this.clipping();var F=[],D=0;u=e;var C=0;for(t=this.get(e-1);++D;){r=this.get(u);B=!r.length;if(r.length==0){r=this.create(u).addClass(this.className("jcarousel-item-placeholder"));t.length==0?this.list.prepend(r):t[j?"before":
"after"](r)}t=r;z=this.dimension(r);if(z==0){alert("jCarousel: No width/height set for items. This will cause an infinite loop. Aborting...");return 0}if(this.options.wrap!="circular"&&this.options.size!==null&&u>this.options.size)F.push(r);else if(B)x+=z;C+=z;if(C>=c)break;u++}for(t=0;t<F.length;t++)F[t].remove();if(x>0){this.list.css(this.wh,this.dimension(this.list)+x+"px");if(j){o-=x;this.list.css(this.lt,h.intval(this.list.css(this.lt))-x+"px")}}t=e+D-1;if(this.options.wrap!="circular"&&this.options.size&&
t>this.options.size)t=this.options.size;if(u>t){D=0;u=t;for(C=0;++D;){r=this.get(u--);if(!r.length)break;C+=this.dimension(r);if(C>=c)break}}u=t-D+1;if(this.options.wrap!="circular"&&u<1)u=1;if(this.inTail&&j){o+=this.tail;this.inTail=false}this.tail=null;if(this.options.wrap!="circular"&&t==this.options.size&&t-D+1>=1){j=h.margin(this.get(t),!this.options.vertical?"marginRight":"marginBottom");if(C-j>c)this.tail=C-c-j}for(;e-- >u;)o+=this.dimension(this.get(e));this.prevFirst=this.first;this.prevLast=
this.last;this.first=u;this.last=t;return o}},animate:function(e,j){if(!(this.locked||this.animating)){this.animating=true;var o=this,c=function(){o.animating=false;e==0&&o.list.css(o.lt,0);if(o.options.wrap=="both"||o.options.wrap=="last"||o.options.size==null||o.last<o.options.size)o.startAuto();o.buttons();o.notify("onAfterAnimation")};this.notify("onBeforeAnimation");if(!this.options.animation||j==false){this.list.css(this.lt,e+"px");c()}else this.list.animate(!this.options.vertical?{left:e}:
{top:e},this.options.animation,this.options.easing,c)}},startAuto:function(e){if(e!=undefined)this.options.auto=e;if(this.options.auto==0)return this.stopAuto();if(this.timer==null){var j=this;this.timer=setTimeout(function(){j.next()},this.options.auto*1E3)}},stopAuto:function(){if(this.timer!=null){clearTimeout(this.timer);this.timer=null}},buttons:function(e,j){if(e==undefined||e==null){e=!this.locked&&this.options.size!==0&&(this.options.wrap&&this.options.wrap!="first"||this.options.size==null||
this.last<this.options.size);if(!this.locked&&(!this.options.wrap||this.options.wrap=="first")&&this.options.size!=null&&this.last>=this.options.size)e=this.tail!=null&&!this.inTail}if(j==undefined||j==null){j=!this.locked&&this.options.size!==0&&(this.options.wrap&&this.options.wrap!="last"||this.first>1);if(!this.locked&&(!this.options.wrap||this.options.wrap=="last")&&this.options.size!=null&&this.first==1)j=this.tail!=null&&this.inTail}var o=this;this.buttonNext[e?"bind":"unbind"](this.options.buttonNextEvent,
this.funcNext)[e?"removeClass":"addClass"](this.className("jcarousel-next-disabled")).attr("disabled",e?false:true);this.buttonPrev[j?"bind":"unbind"](this.options.buttonPrevEvent,this.funcPrev)[j?"removeClass":"addClass"](this.className("jcarousel-prev-disabled")).attr("disabled",j?false:true);if(this.buttonNext.length>0&&(this.buttonNext[0].jcarouselstate==undefined||this.buttonNext[0].jcarouselstate!=e)&&this.options.buttonNextCallback!=null){this.buttonNext.each(function(){o.options.buttonNextCallback(o,
this,e)});this.buttonNext[0].jcarouselstate=e}if(this.buttonPrev.length>0&&(this.buttonPrev[0].jcarouselstate==undefined||this.buttonPrev[0].jcarouselstate!=j)&&this.options.buttonPrevCallback!=null){this.buttonPrev.each(function(){o.options.buttonPrevCallback(o,this,j)});this.buttonPrev[0].jcarouselstate=j}},notify:function(e){var j=this.prevFirst==null?"init":this.prevFirst<this.first?"next":"prev";this.callback("itemLoadCallback",e,j);if(this.prevFirst!==this.first){this.callback("itemFirstInCallback",
e,j,this.first);this.callback("itemFirstOutCallback",e,j,this.prevFirst)}if(this.prevLast!==this.last){this.callback("itemLastInCallback",e,j,this.last);this.callback("itemLastOutCallback",e,j,this.prevLast)}this.callback("itemVisibleInCallback",e,j,this.first,this.last,this.prevFirst,this.prevLast);this.callback("itemVisibleOutCallback",e,j,this.prevFirst,this.prevLast,this.first,this.last)},callback:function(e,j,o,c,t,u,r){if(!(this.options[e]==undefined||typeof this.options[e]!="object"&&j!="onAfterAnimation")){var x=
typeof this.options[e]=="object"?this.options[e][j]:this.options[e];if(i.isFunction(x)){var B=this;if(c===undefined)x(B,o,j);else if(t===undefined)this.get(c).each(function(){x(B,this,c,o,j)});else for(var z=c;z<=t;z++)z!==null&&!(z>=u&&z<=r)&&this.get(z).each(function(){x(B,this,z,o,j)})}}},create:function(e){return this.format("<li></li>",e)},format:function(e,j){e=i(e).addClass(this.className("jcarousel-item")).addClass(this.className("jcarousel-item-"+j));e.attr("jcarouselindex",j);return e},
className:function(e){return e+" "+e+(!this.options.vertical?"-horizontal":"-vertical")},dimension:function(e,j){e=e.jquery!=undefined?e[0]:e;var o=!this.options.vertical?e.offsetWidth+h.margin(e,"marginLeft")+h.margin(e,"marginRight"):e.offsetHeight+h.margin(e,"marginTop")+h.margin(e,"marginBottom");if(j==undefined||o==j)return o;j=!this.options.vertical?j-h.margin(e,"marginLeft")-h.margin(e,"marginRight"):j-h.margin(e,"marginTop")-h.margin(e,"marginBottom");i(e).css(this.wh,j+"px");return this.dimension(e)},
clipping:function(){return!this.options.vertical?this.clip[0].offsetWidth-h.intval(this.clip.css("borderLeftWidth"))-h.intval(this.clip.css("borderRightWidth")):this.clip[0].offsetHeight-h.intval(this.clip.css("borderTopWidth"))-h.intval(this.clip.css("borderBottomWidth"))},index:function(e,j){if(j==undefined)j=this.options.size;return Math.round(((e-1)/j-Math.floor((e-1)/j))*j)+1}});h.extend({defaults:function(e){return i.extend(f,e||{})},margin:function(e,j){if(!e)return 0;var o=e.jquery!=undefined?
e[0]:e;if(j=="marginRight"&&i.browser.safari){e={display:"block","float":"none",width:"auto"};var c,t;i.swap(o,e,function(){c=o.offsetWidth});e.marginRight=0;i.swap(o,e,function(){t=o.offsetWidth});return t-c}return h.intval(i.css(o,j))},intval:function(e){e=parseInt(e);return isNaN(e)?0:e}})})(jQuery);jQuery.easing.jswing=jQuery.easing.swing;
jQuery.extend(jQuery.easing,{def:"easeOutQuad",swing:function(i,f,h,e,j){return jQuery.easing[jQuery.easing.def](i,f,h,e,j)},easeInQuad:function(i,f,h,e,j){return e*(f/=j)*f+h},easeOutQuad:function(i,f,h,e,j){return-e*(f/=j)*(f-2)+h},easeInOutQuad:function(i,f,h,e,j){if((f/=j/2)<1)return e/2*f*f+h;return-e/2*(--f*(f-2)-1)+h},easeInCubic:function(i,f,h,e,j){return e*(f/=j)*f*f+h},easeOutCubic:function(i,f,h,e,j){return e*((f=f/j-1)*f*f+1)+h},easeInOutCubic:function(i,f,h,e,j){if((f/=j/2)<1)return e/
2*f*f*f+h;return e/2*((f-=2)*f*f+2)+h},easeInQuart:function(i,f,h,e,j){return e*(f/=j)*f*f*f+h},easeOutQuart:function(i,f,h,e,j){return-e*((f=f/j-1)*f*f*f-1)+h},easeInOutQuart:function(i,f,h,e,j){if((f/=j/2)<1)return e/2*f*f*f*f+h;return-e/2*((f-=2)*f*f*f-2)+h},easeInQuint:function(i,f,h,e,j){return e*(f/=j)*f*f*f*f+h},easeOutQuint:function(i,f,h,e,j){return e*((f=f/j-1)*f*f*f*f+1)+h},easeInOutQuint:function(i,f,h,e,j){if((f/=j/2)<1)return e/2*f*f*f*f*f+h;return e/2*((f-=2)*f*f*f*f+2)+h},easeInSine:function(i,
f,h,e,j){return-e*Math.cos(f/j*(Math.PI/2))+e+h},easeOutSine:function(i,f,h,e,j){return e*Math.sin(f/j*(Math.PI/2))+h},easeInOutSine:function(i,f,h,e,j){return-e/2*(Math.cos(Math.PI*f/j)-1)+h},easeInExpo:function(i,f,h,e,j){return f==0?h:e*Math.pow(2,10*(f/j-1))+h},easeOutExpo:function(i,f,h,e,j){return f==j?h+e:e*(-Math.pow(2,-10*f/j)+1)+h},easeInOutExpo:function(i,f,h,e,j){if(f==0)return h;if(f==j)return h+e;if((f/=j/2)<1)return e/2*Math.pow(2,10*(f-1))+h;return e/2*(-Math.pow(2,-10*--f)+2)+h},
easeInCirc:function(i,f,h,e,j){return-e*(Math.sqrt(1-(f/=j)*f)-1)+h},easeOutCirc:function(i,f,h,e,j){return e*Math.sqrt(1-(f=f/j-1)*f)+h},easeInOutCirc:function(i,f,h,e,j){if((f/=j/2)<1)return-e/2*(Math.sqrt(1-f*f)-1)+h;return e/2*(Math.sqrt(1-(f-=2)*f)+1)+h},easeInElastic:function(i,f,h,e,j){i=1.70158;var o=0,c=e;if(f==0)return h;if((f/=j)==1)return h+e;o||(o=j*0.3);if(c<Math.abs(e)){c=e;i=o/4}else i=o/(2*Math.PI)*Math.asin(e/c);return-(c*Math.pow(2,10*(f-=1))*Math.sin((f*j-i)*2*Math.PI/o))+h},easeOutElastic:function(i,
f,h,e,j){i=1.70158;var o=0,c=e;if(f==0)return h;if((f/=j)==1)return h+e;o||(o=j*0.3);if(c<Math.abs(e)){c=e;i=o/4}else i=o/(2*Math.PI)*Math.asin(e/c);return c*Math.pow(2,-10*f)*Math.sin((f*j-i)*2*Math.PI/o)+e+h},easeInOutElastic:function(i,f,h,e,j){i=1.70158;var o=0,c=e;if(f==0)return h;if((f/=j/2)==2)return h+e;o||(o=j*0.3*1.5);if(c<Math.abs(e)){c=e;i=o/4}else i=o/(2*Math.PI)*Math.asin(e/c);if(f<1)return-0.5*c*Math.pow(2,10*(f-=1))*Math.sin((f*j-i)*2*Math.PI/o)+h;return c*Math.pow(2,-10*(f-=1))*Math.sin((f*
j-i)*2*Math.PI/o)*0.5+e+h},easeInBack:function(i,f,h,e,j,o){if(o==undefined)o=1.70158;return e*(f/=j)*f*((o+1)*f-o)+h},easeOutBack:function(i,f,h,e,j,o){if(o==undefined)o=1.70158;return e*((f=f/j-1)*f*((o+1)*f+o)+1)+h},easeInOutBack:function(i,f,h,e,j,o){if(o==undefined)o=1.70158;if((f/=j/2)<1)return e/2*f*f*(((o*=1.525)+1)*f-o)+h;return e/2*((f-=2)*f*(((o*=1.525)+1)*f+o)+2)+h},easeInBounce:function(i,f,h,e,j){return e-jQuery.easing.easeOutBounce(i,j-f,0,e,j)+h},easeOutBounce:function(i,f,h,e,j){return(f/=
j)<1/2.75?e*7.5625*f*f+h:f<2/2.75?e*(7.5625*(f-=1.5/2.75)*f+0.75)+h:f<2.5/2.75?e*(7.5625*(f-=2.25/2.75)*f+0.9375)+h:e*(7.5625*(f-=2.625/2.75)*f+0.984375)+h},easeInOutBounce:function(i,f,h,e,j){if(f<j/2)return jQuery.easing.easeInBounce(i,f*2,0,e,j)*0.5+h;return jQuery.easing.easeOutBounce(i,f*2-j,0,e,j)*0.5+e*0.5+h}});var qTipTag="a,label,div,img",qTipX=20,qTipY=15;tooltip={name:"qTip",offsetX:qTipX,offsetY:qTipY,tip:null};
tooltip.init=function(){if(!i)var i="qTip";var f=document.getElementById(i);if(!f){f=document.createElementNS?document.createElementNS("http://www.w3.org/1999/xhtml","div"):document.createElement("div");f.setAttribute("id",i);document.getElementsByTagName("body").item(0).appendChild(f);document.body.appendChild(f)}if(document.getElementById){if(this.tip=document.getElementById(this.name))document.onmousemove=function(h){tooltip.move(h)};qTipTag.split(",")}};
tooltip.move=function(i){var f=0,h=0;if(document.all){f=document.documentElement&&document.documentElement.scrollLeft?document.documentElement.scrollLeft:document.body.scrollLeft;h=document.documentElement&&document.documentElement.scrollTop?document.documentElement.scrollTop:document.body.scrollTop;f+=window.event.clientX;h+=window.event.clientY}else{f=i.pageX;h=i.pageY}this.tip.style.left=right_column?f-450+"px":f+this.offsetX+"px";this.tip.style.top=h+this.offsetY+"px"};
var carrega=false,right_column=false;tooltip.show=function(i,f){right_column=f?false:true;if(document.body&&carrega==false){tooltip.init();carrega=true}if(this.tip){process_product_table("qTip",i);this.tip.style.display="block"}};tooltip.hide=function(){if(this.tip){this.tip.innerHTML="";this.tip.style.display="none"}};