


<!DOCTYPE html>




<html>
<head><link rel="dns-prefetch" href="https://st.tistatic.com/ver9485/js/utils/jquery.js">
<link rel="dns-prefetch" href="https://st.tistatic.com/ver9485/js/inquiry-form.js">
<link rel="dns-prefetch" href="https://st.tistatic.com/ver9485/js/utils/tooltip/wz_tooltip.js">
<link rel="dns-prefetch" href="https://st.tistatic.com/ver9485/js/utils/tooltip/tip_balloon.js">
<link rel="dns-prefetch" href="https://st.tistatic.com/ver9485/js/payments/jquery.validate.js">
<link rel="dns-prefetch" href="https://st.tistatic.com/ver9485/js/utils/jquery-plugins/jquery.cookie.js">
<link rel="dns-prefetch" href="https://thestagingurl.tradeindia.com/custom_headers/gallery/dist/simple-lightbox.js">
<link rel="dns-prefetch" href="https://st.tistatic.com/ver9485/js/tradeindia/design2017/intlTelInput.js">
<link rel="dns-prefetch" href="https://st.tistatic.com/ver9485/css/contact_us_form.css">
<link rel="dns-prefetch" href="https://fonts.googleapis.com">

<meta name="viewport" content="width=device-width,initial-scale=1.0" />
<link href="https://st.tistatic.com/ver9485/css/tradeindia/design2017/intlTelInput.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="https://st.tistatic.com/ver9485/js/mobile_site/search.js"></script>
 <script type="text/javascript" src="https://st.tistatic.com/ver9485/js/utils/jquery-ui/js/jquery_ui_main.js" defer></script>
<link href="https://st.tistatic.com/ver9485/bower_components/jquery-ui/themes/smoothness/jquery-ui.min.css" type="text/css" rel="stylesheet" media="all" />
<script src="https://st.tistatic.com/ver9485/js/catalog/slick.min.js" defer></script>
<link href="https://st.tistatic.com/ver9485/css/catalog/slick.css" rel="stylesheet" type="text/css">

<!-- Google Tag Manager -->
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-MNG3HP82');</script>
<!-- End Google Tag Manager -->

<!-- Google tag END HERE (gtag.js) -->

<script>
/*! jQuery v1.7 jquery.com | jquery.org/license */
(function(a,b){function cA(a){return f.isWindow(a)?a:a.nodeType===9?a.defaultView||a.parentWindow:!1}function cx(a){if(!cm[a]){var b=c.body,d=f("<"+a+">").appendTo(b),e=d.css("display");d.remove();if(e==="none"||e===""){cn||(cn=c.createElement("iframe"),cn.frameBorder=cn.width=cn.height=0),b.appendChild(cn);if(!co||!cn.createElement)co=(cn.contentWindow||cn.contentDocument).document,co.write((c.compatMode==="CSS1Compat"?"<!doctype html>":"")+"<html><body>"),co.close();d=co.createElement(a),co.body.appendChild(d),e=f.css(d,"display"),b.removeChild(cn)}cm[a]=e}return cm[a]}function cw(a,b){var c={};f.each(cs.concat.apply([],cs.slice(0,b)),function(){c[this]=a});return c}function cv(){ct=b}function cu(){setTimeout(cv,0);return ct=f.now()}function cl(){try{return new a.ActiveXObject("Microsoft.XMLHTTP")}catch(b){}}function ck(){try{return new a.XMLHttpRequest}catch(b){}}function ce(a,c){a.dataFilter&&(c=a.dataFilter(c,a.dataType));var d=a.dataTypes,e={},g,h,i=d.length,j,k=d[0],l,m,n,o,p;for(g=1;g<i;g++){if(g===1)for(h in a.converters)typeof h=="string"&&(e[h.toLowerCase()]=a.converters[h]);l=k,k=d[g];if(k==="*")k=l;else if(l!=="*"&&l!==k){m=l+" "+k,n=e[m]||e["* "+k];if(!n){p=b;for(o in e){j=o.split(" ");if(j[0]===l||j[0]==="*"){p=e[j[1]+" "+k];if(p){o=e[o],o===!0?n=p:p===!0&&(n=o);break}}}}!n&&!p&&f.error("No conversion from "+m.replace(" "," to ")),n!==!0&&(c=n?n(c):p(o(c)))}}return c}function cd(a,c,d){var e=a.contents,f=a.dataTypes,g=a.responseFields,h,i,j,k;for(i in g)i in d&&(c[g[i]]=d[i]);while(f[0]==="*")f.shift(),h===b&&(h=a.mimeType||c.getResponseHeader("content-type"));if(h)for(i in e)if(e[i]&&e[i].test(h)){f.unshift(i);break}if(f[0]in d)j=f[0];else{for(i in d){if(!f[0]||a.converters[i+" "+f[0]]){j=i;break}k||(k=i)}j=j||k}if(j){j!==f[0]&&f.unshift(j);return d[j]}}function cc(a,b,c,d){if(f.isArray(b))f.each(b,function(b,e){c||bG.test(a)?d(a,e):cc(a+"["+(typeof e=="object"||f.isArray(e)?b:"")+"]",e,c,d)});else if(!c&&b!=null&&typeof b=="object")for(var e in b)cc(a+"["+e+"]",b[e],c,d);else d(a,b)}function cb(a,c){var d,e,g=f.ajaxSettings.flatOptions||{};for(d in c)c[d]!==b&&((g[d]?a:e||(e={}))[d]=c[d]);e&&f.extend(!0,a,e)}function ca(a,c,d,e,f,g){f=f||c.dataTypes[0],g=g||{},g[f]=!0;var h=a[f],i=0,j=h?h.length:0,k=a===bV,l;for(;i<j&&(k||!l);i++)l=h[i](c,d,e),typeof l=="string"&&(!k||g[l]?l=b:(c.dataTypes.unshift(l),l=ca(a,c,d,e,l,g)));(k||!l)&&!g["*"]&&(l=ca(a,c,d,e,"*",g));return l}function b_(a){return function(b,c){typeof b!="string"&&(c=b,b="*");if(f.isFunction(c)){var d=b.toLowerCase().split(bR),e=0,g=d.length,h,i,j;for(;e<g;e++)h=d[e],j=/^\+/.test(h),j&&(h=h.substr(1)||"*"),i=a[h]=a[h]||[],i[j?"unshift":"push"](c)}}}function bE(a,b,c){var d=b==="width"?a.offsetWidth:a.offsetHeight,e=b==="width"?bz:bA;if(d>0){c!=="border"&&f.each(e,function(){c||(d-=parseFloat(f.css(a,"padding"+this))||0),c==="margin"?d+=parseFloat(f.css(a,c+this))||0:d-=parseFloat(f.css(a,"border"+this+"Width"))||0});return d+"px"}d=bB(a,b,b);if(d<0||d==null)d=a.style[b]||0;d=parseFloat(d)||0,c&&f.each(e,function(){d+=parseFloat(f.css(a,"padding"+this))||0,c!=="padding"&&(d+=parseFloat(f.css(a,"border"+this+"Width"))||0),c==="margin"&&(d+=parseFloat(f.css(a,c+this))||0)});return d+"px"}function br(a,b){b.src?f.ajax({url:b.src,async:!1,dataType:"script"}):f.globalEval((b.text||b.textContent||b.innerHTML||"").replace(bi,"/*$0*/")),b.parentNode&&b.parentNode.removeChild(b)}function bq(a){var b=(a.nodeName||"").toLowerCase();b==="input"?bp(a):b!=="script"&&typeof a.getElementsByTagName!="undefined"&&f.grep(a.getElementsByTagName("input"),bp)}function bp(a){if(a.type==="checkbox"||a.type==="radio")a.defaultChecked=a.checked}function bo(a){return typeof a.getElementsByTagName!="undefined"?a.getElementsByTagName("*"):typeof a.querySelectorAll!="undefined"?a.querySelectorAll("*"):[]}function bn(a,b){var c;if(b.nodeType===1){b.clearAttributes&&b.clearAttributes(),b.mergeAttributes&&b.mergeAttributes(a),c=b.nodeName.toLowerCase();if(c==="object")b.outerHTML=a.outerHTML;else if(c!=="input"||a.type!=="checkbox"&&a.type!=="radio"){if(c==="option")b.selected=a.defaultSelected;else if(c==="input"||c==="textarea")b.defaultValue=a.defaultValue}else a.checked&&(b.defaultChecked=b.checked=a.checked),b.value!==a.value&&(b.value=a.value);b.removeAttribute(f.expando)}}function bm(a,b){if(b.nodeType===1&&!!f.hasData(a)){var c,d,e,g=f._data(a),h=f._data(b,g),i=g.events;if(i){delete h.handle,h.events={};for(c in i)for(d=0,e=i[c].length;d<e;d++)f.event.add(b,c+(i[c][d].namespace?".":"")+i[c][d].namespace,i[c][d],i[c][d].data)}h.data&&(h.data=f.extend({},h.data))}}function bl(a,b){return f.nodeName(a,"table")?a.getElementsByTagName("tbody")[0]||a.appendChild(a.ownerDocument.createElement("tbody")):a}function X(a){var b=Y.split(" "),c=a.createDocumentFragment();if(c.createElement)while(b.length)c.createElement(b.pop());return c}function W(a,b,c){b=b||0;if(f.isFunction(b))return f.grep(a,function(a,d){var e=!!b.call(a,d,a);return e===c});if(b.nodeType)return f.grep(a,function(a,d){return a===b===c});if(typeof b=="string"){var d=f.grep(a,function(a){return a.nodeType===1});if(R.test(b))return f.filter(b,d,!c);b=f.filter(b,d)}return f.grep(a,function(a,d){return f.inArray(a,b)>=0===c})}function V(a){return!a||!a.parentNode||a.parentNode.nodeType===11}function N(){return!0}function M(){return!1}function n(a,b,c){var d=b+"defer",e=b+"queue",g=b+"mark",h=f._data(a,d);h&&(c==="queue"||!f._data(a,e))&&(c==="mark"||!f._data(a,g))&&setTimeout(function(){!f._data(a,e)&&!f._data(a,g)&&(f.removeData(a,d,!0),h.fire())},0)}function m(a){for(var b in a){if(b==="data"&&f.isEmptyObject(a[b]))continue;if(b!=="toJSON")return!1}return!0}function l(a,c,d){if(d===b&&a.nodeType===1){var e="data-"+c.replace(k,"-$1").toLowerCase();d=a.getAttribute(e);if(typeof d=="string"){try{d=d==="true"?!0:d==="false"?!1:d==="null"?null:f.isNumeric(d)?parseFloat(d):j.test(d)?f.parseJSON(d):d}catch(g){}f.data(a,c,d)}else d=b}return d}function h(a){var b=g[a]={},c,d;a=a.split(/\s+/);for(c=0,d=a.length;c<d;c++)b[a[c]]=!0;return b}var c=a.document,d=a.navigator,e=a.location,f=function(){function K(){if(!e.isReady){try{c.documentElement.doScroll("left")}catch(a){setTimeout(K,1);return}e.ready()}}var e=function(a,b){return new e.fn.init(a,b,h)},f=a.jQuery,g=a.$,h,i=/^(?:[^#<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/,j=/\S/,k=/^\s+/,l=/\s+$/,m=/\d/,n=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,o=/^[\],:{}\s]*$/,p=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,q=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,r=/(?:^|:|,)(?:\s*\[)+/g,s=/(webkit)[ \/]([\w.]+)/,t=/(opera)(?:.*version)?[ \/]([\w.]+)/,u=/(msie) ([\w.]+)/,v=/(mozilla)(?:.*? rv:([\w.]+))?/,w=/-([a-z]|[0-9])/ig,x=/^-ms-/,y=function(a,b){return(b+"").toUpperCase()},z=d.userAgent,A,B,C,D=Object.prototype.toString,E=Object.prototype.hasOwnProperty,F=Array.prototype.push,G=Array.prototype.slice,H=String.prototype.trim,I=Array.prototype.indexOf,J={};e.fn=e.prototype={constructor:e,init:function(a,d,f){var g,h,j,k;if(!a)return this;if(a.nodeType){this.context=this[0]=a,this.length=1;return this}if(a==="body"&&!d&&c.body){this.context=c,this[0]=c.body,this.selector=a,this.length=1;return this}if(typeof a=="string"){a.charAt(0)!=="<"||a.charAt(a.length-1)!==">"||a.length<3?g=i.exec(a):g=[null,a,null];if(g&&(g[1]||!d)){if(g[1]){d=d instanceof e?d[0]:d,k=d?d.ownerDocument||d:c,j=n.exec(a),j?e.isPlainObject(d)?(a=[c.createElement(j[1])],e.fn.attr.call(a,d,!0)):a=[k.createElement(j[1])]:(j=e.buildFragment([g[1]],[k]),a=(j.cacheable?e.clone(j.fragment):j.fragment).childNodes);return e.merge(this,a)}h=c.getElementById(g[2]);if(h&&h.parentNode){if(h.id!==g[2])return f.find(a);this.length=1,this[0]=h}this.context=c,this.selector=a;return this}return!d||d.jquery?(d||f).find(a):this.constructor(d).find(a)}if(e.isFunction(a))return f.ready(a);a.selector!==b&&(this.selector=a.selector,this.context=a.context);return e.makeArray(a,this)},selector:"",jquery:"1.7",length:0,size:function(){return this.length},toArray:function(){return G.call(this,0)},get:function(a){return a==null?this.toArray():a<0?this[this.length+a]:this[a]},pushStack:function(a,b,c){var d=this.constructor();e.isArray(a)?F.apply(d,a):e.merge(d,a),d.prevObject=this,d.context=this.context,b==="find"?d.selector=this.selector+(this.selector?" ":"")+c:b&&(d.selector=this.selector+"."+b+"("+c+")");return d},each:function(a,b){return e.each(this,a,b)},ready:function(a){e.bindReady(),B.add(a);return this},eq:function(a){return a===-1?this.slice(a):this.slice(a,+a+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(G.apply(this,arguments),"slice",G.call(arguments).join(","))},map:function(a){return this.pushStack(e.map(this,function(b,c){return a.call(b,c,b)}))},end:function(){return this.prevObject||this.constructor(null)},push:F,sort:[].sort,splice:[].splice},e.fn.init.prototype=e.fn,e.extend=e.fn.extend=function(){var a,c,d,f,g,h,i=arguments[0]||{},j=1,k=arguments.length,l=!1;typeof i=="boolean"&&(l=i,i=arguments[1]||{},j=2),typeof i!="object"&&!e.isFunction(i)&&(i={}),k===j&&(i=this,--j);for(;j<k;j++)if((a=arguments[j])!=null)for(c in a){d=i[c],f=a[c];if(i===f)continue;l&&f&&(e.isPlainObject(f)||(g=e.isArray(f)))?(g?(g=!1,h=d&&e.isArray(d)?d:[]):h=d&&e.isPlainObject(d)?d:{},i[c]=e.extend(l,h,f)):f!==b&&(i[c]=f)}return i},e.extend({noConflict:function(b){a.$===e&&(a.$=g),b&&a.jQuery===e&&(a.jQuery=f);return e},isReady:!1,readyWait:1,holdReady:function(a){a?e.readyWait++:e.ready(!0)},ready:function(a){if(a===!0&&!--e.readyWait||a!==!0&&!e.isReady){if(!c.body)return setTimeout(e.ready,1);e.isReady=!0;if(a!==!0&&--e.readyWait>0)return;B.fireWith(c,[e]),e.fn.trigger&&e(c).trigger("ready").unbind("ready")}},bindReady:function(){if(!B){B=e.Callbacks("once memory");if(c.readyState==="complete")return setTimeout(e.ready,1);if(c.addEventListener)c.addEventListener("DOMContentLoaded",C,!1),a.addEventListener("load",e.ready,!1);else if(c.attachEvent){c.attachEvent("onreadystatechange",C),a.attachEvent("onload",e.ready);var b=!1;try{b=a.frameElement==null}catch(d){}c.documentElement.doScroll&&b&&K()}}},isFunction:function(a){return e.type(a)==="function"},isArray:Array.isArray||function(a){return e.type(a)==="array"},isWindow:function(a){return a&&typeof a=="object"&&"setInterval"in a},isNumeric:function(a){return a!=null&&m.test(a)&&!isNaN(a)},type:function(a){return a==null?String(a):J[D.call(a)]||"object"},isPlainObject:function(a){if(!a||e.type(a)!=="object"||a.nodeType||e.isWindow(a))return!1;try{if(a.constructor&&!E.call(a,"constructor")&&!E.call(a.constructor.prototype,"isPrototypeOf"))return!1}catch(c){return!1}var d;for(d in a);return d===b||E.call(a,d)},isEmptyObject:function(a){for(var b in a)return!1;return!0},error:function(a){throw a},parseJSON:function(b){if(typeof b!="string"||!b)return null;b=e.trim(b);if(a.JSON&&a.JSON.parse)return a.JSON.parse(b);if(o.test(b.replace(p,"@").replace(q,"]").replace(r,"")))return(new Function("return "+b))();e.error("Invalid JSON: "+b)},parseXML:function(c){var d,f;try{a.DOMParser?(f=new DOMParser,d=f.parseFromString(c,"text/xml")):(d=new ActiveXObject("Microsoft.XMLDOM"),d.async="false",d.loadXML(c))}catch(g){d=b}(!d||!d.documentElement||d.getElementsByTagName("parsererror").length)&&e.error("Invalid XML: "+c);return d},noop:function(){},globalEval:function(b){b&&j.test(b)&&(a.execScript||function(b){a.eval.call(a,b)})(b)},camelCase:function(a){return a.replace(x,"ms-").replace(w,y)},nodeName:function(a,b){return a.nodeName&&a.nodeName.toUpperCase()===b.toUpperCase()},each:function(a,c,d){var f,g=0,h=a.length,i=h===b||e.isFunction(a);if(d){if(i){for(f in a)if(c.apply(a[f],d)===!1)break}else for(;g<h;)if(c.apply(a[g++],d)===!1)break}else if(i){for(f in a)if(c.call(a[f],f,a[f])===!1)break}else for(;g<h;)if(c.call(a[g],g,a[g++])===!1)break;return a},trim:H?function(a){return a==null?"":H.call(a)}:function(a){return a==null?"":(a+"").replace(k,"").replace(l,"")},makeArray:function(a,b){var c=b||[];if(a!=null){var d=e.type(a);a.length==null||d==="string"||d==="function"||d==="regexp"||e.isWindow(a)?F.call(c,a):e.merge(c,a)}return c},inArray:function(a,b,c){var d;if(b){if(I)return I.call(b,a,c);d=b.length,c=c?c<0?Math.max(0,d+c):c:0;for(;c<d;c++)if(c in b&&b[c]===a)return c}return-1},merge:function(a,c){var d=a.length,e=0;if(typeof c.length=="number")for(var f=c.length;e<f;e++)a[d++]=c[e];else while(c[e]!==b)a[d++]=c[e++];a.length=d;return a},grep:function(a,b,c){var d=[],e;c=!!c;for(var f=0,g=a.length;f<g;f++)e=!!b(a[f],f),c!==e&&d.push(a[f]);return d},map:function(a,c,d){var f,g,h=[],i=0,j=a.length,k=a instanceof e||j!==b&&typeof j=="number"&&(j>0&&a[0]&&a[j-1]||j===0||e.isArray(a));if(k)for(;i<j;i++)f=c(a[i],i,d),f!=null&&(h[h.length]=f);else for(g in a)f=c(a[g],g,d),f!=null&&(h[h.length]=f);return h.concat.apply([],h)},guid:1,proxy:function(a,c){if(typeof c=="string"){var d=a[c];c=a,a=d}if(!e.isFunction(a))return b;var f=G.call(arguments,2),g=function(){return a.apply(c,f.concat(G.call(arguments)))};g.guid=a.guid=a.guid||g.guid||e.guid++;return g},access:function(a,c,d,f,g,h){var i=a.length;if(typeof c=="object"){for(var j in c)e.access(a,j,c[j],f,g,d);return a}if(d!==b){f=!h&&f&&e.isFunction(d);for(var k=0;k<i;k++)g(a[k],c,f?d.call(a[k],k,g(a[k],c)):d,h);return a}return i?g(a[0],c):b},now:function(){return(new Date).getTime()},uaMatch:function(a){a=a.toLowerCase();var b=s.exec(a)||t.exec(a)||u.exec(a)||a.indexOf("compatible")<0&&v.exec(a)||[];return{browser:b[1]||"",version:b[2]||"0"}},sub:function(){function a(b,c){return new a.fn.init(b,c)}e.extend(!0,a,this),a.superclass=this,a.fn=a.prototype=this(),a.fn.constructor=a,a.sub=this.sub,a.fn.init=function(d,f){f&&f instanceof e&&!(f instanceof a)&&(f=a(f));return e.fn.init.call(this,d,f,b)},a.fn.init.prototype=a.fn;var b=a(c);return a},browser:{}}),e.each("Boolean Number String Function Array Date RegExp Object".split(" "),function(a,b){J["[object "+b+"]"]=b.toLowerCase()}),A=e.uaMatch(z),A.browser&&(e.browser[A.browser]=!0,e.browser.version=A.version),e.browser.webkit&&(e.browser.safari=!0),j.test(" ")&&(k=/^[\s\xA0]+/,l=/[\s\xA0]+$/),h=e(c),c.addEventListener?C=function(){c.removeEventListener("DOMContentLoaded",C,!1),e.ready()}:c.attachEvent&&(C=function(){c.readyState==="complete"&&(c.detachEvent("onreadystatechange",C),e.ready())}),typeof define=="function"&&define.amd&&define.amd.jQuery&&define("jquery",[],function(){return e});return e}(),g={};f.Callbacks=function(a){a=a?g[a]||h(a):{};var c=[],d=[],e,i,j,k,l,m=function(b){var d,e,g,h,i;for(d=0,e=b.length;d<e;d++)g=b[d],h=f.type(g),h==="array"?m(g):h==="function"&&(!a.unique||!o.has(g))&&c.push(g)},n=function(b,f){f=f||[],e=!a.memory||[b,f],i=!0,l=j||0,j=0,k=c.length;for(;c&&l<k;l++)if(c[l].apply(b,f)===!1&&a.stopOnFalse){e=!0;break}i=!1,c&&(a.once?e===!0?o.disable():c=[]:d&&d.length&&(e=d.shift(),o.fireWith(e[0],e[1])))},o={add:function(){if(c){var a=c.length;m(arguments),i?k=c.length:e&&e!==!0&&(j=a,n(e[0],e[1]))}return this},remove:function(){if(c){var b=arguments,d=0,e=b.length;for(;d<e;d++)for(var f=0;f<c.length;f++)if(b[d]===c[f]){i&&f<=k&&(k--,f<=l&&l--),c.splice(f--,1);if(a.unique)break}}return this},has:function(a){if(c){var b=0,d=c.length;for(;b<d;b++)if(a===c[b])return!0}return!1},empty:function(){c=[];return this},disable:function(){c=d=e=b;return this},disabled:function(){return!c},lock:function(){d=b,(!e||e===!0)&&o.disable();return this},locked:function(){return!d},fireWith:function(b,c){d&&(i?a.once||d.push([b,c]):(!a.once||!e)&&n(b,c));return this},fire:function(){o.fireWith(this,arguments);return this},fired:function(){return!!e}};return o};var i=[].slice;f.extend({Deferred:function(a){var b=f.Callbacks("once memory"),c=f.Callbacks("once memory"),d=f.Callbacks("memory"),e="pending",g={resolve:b,reject:c,notify:d},h={done:b.add,fail:c.add,progress:d.add,state:function(){return e},isResolved:b.fired,isRejected:c.fired,then:function(a,b,c){i.done(a).fail(b).progress(c);return this},always:function(){return i.done.apply(i,arguments).fail.apply(i,arguments)},pipe:function(a,b,c){return f.Deferred(function(d){f.each({done:[a,"resolve"],fail:[b,"reject"],progress:[c,"notify"]},function(a,b){var c=b[0],e=b[1],g;f.isFunction(c)?i[a](function(){g=c.apply(this,arguments),g&&f.isFunction(g.promise)?g.promise().then(d.resolve,d.reject,d.notify):d[e+"With"](this===i?d:this,[g])}):i[a](d[e])})}).promise()},promise:function(a){if(a==null)a=h;else for(var b in h)a[b]=h[b];return a}},i=h.promise({}),j;for(j in g)i[j]=g[j].fire,i[j+"With"]=g[j].fireWith;i.done(function(){e="resolved"},c.disable,d.lock).fail(function(){e="rejected"},b.disable,d.lock),a&&a.call(i,i);return i},when:function(a){function m(a){return function(b){e[a]=arguments.length>1?i.call(arguments,0):b,j.notifyWith(k,e)}}function l(a){return function(c){b[a]=arguments.length>1?i.call(arguments,0):c,--g||j.resolveWith(j,b)}}var b=i.call(arguments,0),c=0,d=b.length,e=Array(d),g=d,h=d,j=d<=1&&a&&f.isFunction(a.promise)?a:f.Deferred(),k=j.promise();if(d>1){for(;c<d;c++)b[c]&&b[c].promise&&f.isFunction(b[c].promise)?b[c].promise().then(l(c),j.reject,m(c)):--g;g||j.resolveWith(j,b)}else j!==a&&j.resolveWith(j,d?[a]:[]);return k}}),f.support=function(){var a=c.createElement("div"),b=c.documentElement,d,e,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u;a.setAttribute("className","t"),a.innerHTML="   <link/><table></table><a href='/a' style='top:1px;float:left;opacity:.55;'>a</a><input type='checkbox'/><nav></nav>",d=a.getElementsByTagName("*"),e=a.getElementsByTagName("a")[0];if(!d||!d.length||!e)return{};g=c.createElement("select"),h=g.appendChild(c.createElement("option")),i=a.getElementsByTagName("input")[0],k={leadingWhitespace:a.firstChild.nodeType===3,tbody:!a.getElementsByTagName("tbody").length,htmlSerialize:!!a.getElementsByTagName("link").length,style:/top/.test(e.getAttribute("style")),hrefNormalized:e.getAttribute("href")==="/a",opacity:/^0.55/.test(e.style.opacity),cssFloat:!!e.style.cssFloat,unknownElems:!!a.getElementsByTagName("nav").length,checkOn:i.value==="on",optSelected:h.selected,getSetAttribute:a.className!=="t",enctype:!!c.createElement("form").enctype,submitBubbles:!0,changeBubbles:!0,focusinBubbles:!1,deleteExpando:!0,noCloneEvent:!0,inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,reliableMarginRight:!0},i.checked=!0,k.noCloneChecked=i.cloneNode(!0).checked,g.disabled=!0,k.optDisabled=!h.disabled;try{delete a.test}catch(v){k.deleteExpando=!1}!a.addEventListener&&a.attachEvent&&a.fireEvent&&(a.attachEvent("onclick",function(){k.noCloneEvent=!1}),a.cloneNode(!0).fireEvent("onclick")),i=c.createElement("input"),i.value="t",i.setAttribute("type","radio"),k.radioValue=i.value==="t",i.setAttribute("checked","checked"),a.appendChild(i),l=c.createDocumentFragment(),l.appendChild(a.lastChild),k.checkClone=l.cloneNode(!0).cloneNode(!0).lastChild.checked,a.innerHTML="",a.style.width=a.style.paddingLeft="1px",m=c.getElementsByTagName("body")[0],o=c.createElement(m?"div":"body"),p={visibility:"hidden",width:0,height:0,border:0,margin:0,background:"none"},m&&f.extend(p,{position:"absolute",left:"-999px",top:"-999px"});for(t in p)o.style[t]=p[t];o.appendChild(a),n=m||b,n.insertBefore(o,n.firstChild),k.appendChecked=i.checked,k.boxModel=a.offsetWidth===2,"zoom"in a.style&&(a.style.display="inline",a.style.zoom=1,k.inlineBlockNeedsLayout=a.offsetWidth===2,a.style.display="",a.innerHTML="<div style='width:4px;'></div>",k.shrinkWrapBlocks=a.offsetWidth!==2),a.innerHTML="<table><tr><td style='padding:0;border:0;display:none'></td><td>t</td></tr></table>",q=a.getElementsByTagName("td"),u=q[0].offsetHeight===0,q[0].style.display="",q[1].style.display="none",k.reliableHiddenOffsets=u&&q[0].offsetHeight===0,a.innerHTML="",c.defaultView&&c.defaultView.getComputedStyle&&(j=c.createElement("div"),j.style.width="0",j.style.marginRight="0",a.appendChild(j),k.reliableMarginRight=(parseInt((c.defaultView.getComputedStyle(j,null)||{marginRight:0}).marginRight,10)||0)===0);if(a.attachEvent)for(t in{submit:1,change:1,focusin:1})s="on"+t,u=s in a,u||(a.setAttribute(s,"return;"),u=typeof a[s]=="function"),k[t+"Bubbles"]=u;f(function(){var a,b,d,e,g,h,i=1,j="position:absolute;top:0;left:0;width:1px;height:1px;margin:0;",l="visibility:hidden;border:0;",n="style='"+j+"border:5px solid #000;padding:0;'",p="<div "+n+"><div></div></div>"+"<table "+n+" cellpadding='0' cellspacing='0'>"+"<tr><td></td></tr></table>";m=c.getElementsByTagName("body")[0];!m||(a=c.createElement("div"),a.style.cssText=l+"width:0;height:0;position:static;top:0;margin-top:"+i+"px",m.insertBefore(a,m.firstChild),o=c.createElement("div"),o.style.cssText=j+l,o.innerHTML=p,a.appendChild(o),b=o.firstChild,d=b.firstChild,g=b.nextSibling.firstChild.firstChild,h={doesNotAddBorder:d.offsetTop!==5,doesAddBorderForTableAndCells:g.offsetTop===5},d.style.position="fixed",d.style.top="20px",h.fixedPosition=d.offsetTop===20||d.offsetTop===15,d.style.position=d.style.top="",b.style.overflow="hidden",b.style.position="relative",h.subtractsBorderForOverflowNotVisible=d.offsetTop===-5,h.doesNotIncludeMarginInBodyOffset=m.offsetTop!==i,m.removeChild(a),o=a=null,f.extend(k,h))}),o.innerHTML="",n.removeChild(o),o=l=g=h=m=j=a=i=null;return k}(),f.boxModel=f.support.boxModel;var j=/^(?:\{.*\}|\[.*\])$/,k=/([A-Z])/g;f.extend({cache:{},uuid:0,expando:"jQuery"+(f.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:!0},hasData:function(a){a=a.nodeType?f.cache[a[f.expando]]:a[f.expando];return!!a&&!m(a)},data:function(a,c,d,e){if(!!f.acceptData(a)){var g,h,i,j=f.expando,k=typeof c=="string",l=a.nodeType,m=l?f.cache:a,n=l?a[f.expando]:a[f.expando]&&f.expando,o=c==="events";if((!n||!m[n]||!o&&!e&&!m[n].data)&&k&&d===b)return;n||(l?a[f.expando]=n=++f.uuid:n=f.expando),m[n]||(m[n]={},l||(m[n].toJSON=f.noop));if(typeof c=="object"||typeof c=="function")e?m[n]=f.extend(m[n],c):m[n].data=f.extend(m[n].data,c);g=h=m[n],e||(h.data||(h.data={}),h=h.data),d!==b&&(h[f.camelCase(c)]=d);if(o&&!h[c])return g.events;k?(i=h[c],i==null&&(i=h[f.camelCase(c)])):i=h;return i}},removeData:function(a,b,c){if(!!f.acceptData(a)){var d,e,g,h=f.expando,i=a.nodeType,j=i?f.cache:a,k=i?a[f.expando]:f.expando;if(!j[k])return;if(b){d=c?j[k]:j[k].data;if(d){f.isArray(b)?b=b:b in d?b=[b]:(b=f.camelCase(b),b in d?b=[b]:b=b.split(" "));for(e=0,g=b.length;e<g;e++)delete d[b[e]];if(!(c?m:f.isEmptyObject)(d))return}}if(!c){delete j[k].data;if(!m(j[k]))return}f.support.deleteExpando||!j.setInterval?delete j[k]:j[k]=null,i&&(f.support.deleteExpando?delete a[f.expando]:a.removeAttribute?a.removeAttribute(f.expando):a[f.expando]=null)}},_data:function(a,b,c){return f.data(a,b,c,!0)},acceptData:function(a){if(a.nodeName){var b=f.noData[a.nodeName.toLowerCase()];if(b)return b!==!0&&a.getAttribute("classid")===b}return!0}}),f.fn.extend({data:function(a,c){var d,e,g,h=null;if(typeof a=="undefined"){if(this.length){h=f.data(this[0]);if(this[0].nodeType===1&&!f._data(this[0],"parsedAttrs")){e=this[0].attributes;for(var i=0,j=e.length;i<j;i++)g=e[i].name,g.indexOf("data-")===0&&(g=f.camelCase(g.substring(5)),l(this[0],g,h[g]));f._data(this[0],"parsedAttrs",!0)}}return h}if(typeof a=="object")return this.each(function(){f.data(this,a)});d=a.split("."),d[1]=d[1]?"."+d[1]:"";if(c===b){h=this.triggerHandler("getData"+d[1]+"!",[d[0]]),h===b&&this.length&&(h=f.data(this[0],a),h=l(this[0],a,h));return h===b&&d[1]?this.data(d[0]):h}return this.each(function(){var b=f(this),e=[d[0],c];b.triggerHandler("setData"+d[1]+"!",e),f.data(this,a,c),b.triggerHandler("changeData"+d[1]+"!",e)})},removeData:function(a){return this.each(function(){f.removeData(this,a)})}}),f.extend({_mark:function(a,b){a&&(b=(b||"fx")+"mark",f._data(a,b,(f._data(a,b)||0)+1))},_unmark:function(a,b,c){a!==!0&&(c=b,b=a,a=!1);if(b){c=c||"fx";var d=c+"mark",e=a?0:(f._data(b,d)||1)-1;e?f._data(b,d,e):(f.removeData(b,d,!0),n(b,c,"mark"))}},queue:function(a,b,c){var d;if(a){b=(b||"fx")+"queue",d=f._data(a,b),c&&(!d||f.isArray(c)?d=f._data(a,b,f.makeArray(c)):d.push(c));return d||[]}},dequeue:function(a,b){b=b||"fx";var c=f.queue(a,b),d=c.shift(),e={};d==="inprogress"&&(d=c.shift()),d&&(b==="fx"&&c.unshift("inprogress"),f._data(a,b+".run",e),d.call(a,function(){f.dequeue(a,b)},e)),c.length||(f.removeData(a,b+"queue "+b+".run",!0),n(a,b,"queue"))}}),f.fn.extend({queue:function(a,c){typeof a!="string"&&(c=a,a="fx");if(c===b)return f.queue(this[0],a);return this.each(function(){var b=f.queue(this,a,c);a==="fx"&&b[0]!=="inprogress"&&f.dequeue(this,a)})},dequeue:function(a){return this.each(function(){f.dequeue(this,a)})},delay:function(a,b){a=f.fx?f.fx.speeds[a]||a:a,b=b||"fx";return this.queue(b,function(b,c){var d=setTimeout(b,a);c.stop=function(){clearTimeout(d)}})},clearQueue:function(a){return this.queue(a||"fx",[])},promise:function(a,c){function m(){--h||d.resolveWith(e,[e])}typeof a!="string"&&(c=a,a=b),a=a||"fx";var d=f.Deferred(),e=this,g=e.length,h=1,i=a+"defer",j=a+"queue",k=a+"mark",l;while(g--)if(l=f.data(e[g],i,b,!0)||(f.data(e[g],j,b,!0)||f.data(e[g],k,b,!0))&&f.data(e[g],i,f.Callbacks("once memory"),!0))h++,l.add(m);m();return d.promise()}});var o=/[\n\t\r]/g,p=/\s+/,q=/\r/g,r=/^(?:button|input)$/i,s=/^(?:button|input|object|select|textarea)$/i,t=/^a(?:rea)?$/i,u=/^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i,v=f.support.getSetAttribute,w,x,y;f.fn.extend({attr:function(a,b){return f.access(this,a,b,!0,f.attr)},removeAttr:function(a){return this.each(function(){f.removeAttr(this,a)})},prop:function(a,b){return f.access(this,a,b,!0,f.prop)},removeProp:function(a){a=f.propFix[a]||a;return this.each(function(){try{this[a]=b,delete this[a]}catch(c){}})},addClass:function(a){var b,c,d,e,g,h,i;if(f.isFunction(a))return this.each(function(b){f(this).addClass(a.call(this,b,this.className))});if(a&&typeof a=="string"){b=a.split(p);for(c=0,d=this.length;c<d;c++){e=this[c];if(e.nodeType===1)if(!e.className&&b.length===1)e.className=a;else{g=" "+e.className+" ";for(h=0,i=b.length;h<i;h++)~g.indexOf(" "+b[h]+" ")||(g+=b[h]+" ");e.className=f.trim(g)}}}return this},removeClass:function(a){var c,d,e,g,h,i,j;if(f.isFunction(a))return this.each(function(b){f(this).removeClass(a.call(this,b,this.className))});if(a&&typeof a=="string"||a===b){c=(a||"").split(p);for(d=0,e=this.length;d<e;d++){g=this[d];if(g.nodeType===1&&g.className)if(a){h=(" "+g.className+" ").replace(o," ");for(i=0,j=c.length;i<j;i++)h=h.replace(" "+c[i]+" "," ");g.className=f.trim(h)}else g.className=""}}return this},toggleClass:function(a,b){var c=typeof a,d=typeof b=="boolean";if(f.isFunction(a))return this.each(function(c){f(this).toggleClass(a.call(this,c,this.className,b),b)});return this.each(function(){if(c==="string"){var e,g=0,h=f(this),i=b,j=a.split(p);while(e=j[g++])i=d?i:!h.hasClass(e),h[i?"addClass":"removeClass"](e)}else if(c==="undefined"||c==="boolean")this.className&&f._data(this,"__className__",this.className),this.className=this.className||a===!1?"":f._data(this,"__className__")||""})},hasClass:function(a){var b=" "+a+" ",c=0,d=this.length;for(;c<d;c++)if(this[c].nodeType===1&&(" "+this[c].className+" ").replace(o," ").indexOf(b)>-1)return!0;return!1},val:function(a){var c,d,e,g=this[0];if(!arguments.length){if(g){c=f.valHooks[g.nodeName.toLowerCase()]||f.valHooks[g.type];if(c&&"get"in c&&(d=c.get(g,"value"))!==b)return d;d=g.value;return typeof d=="string"?d.replace(q,""):d==null?"":d}return b}e=f.isFunction(a);return this.each(function(d){var g=f(this),h;if(this.nodeType===1){e?h=a.call(this,d,g.val()):h=a,h==null?h="":typeof h=="number"?h+="":f.isArray(h)&&(h=f.map(h,function(a){return a==null?"":a+""})),c=f.valHooks[this.nodeName.toLowerCase()]||f.valHooks[this.type];if(!c||!("set"in c)||c.set(this,h,"value")===b)this.value=h}})}}),f.extend({valHooks:{option:{get:function(a){var b=a.attributes.value;return!b||b.specified?a.value:a.text}},select:{get:function(a){var b,c,d,e,g=a.selectedIndex,h=[],i=a.options,j=a.type==="select-one";if(g<0)return null;c=j?g:0,d=j?g+1:i.length;for(;c<d;c++){e=i[c];if(e.selected&&(f.support.optDisabled?!e.disabled:e.getAttribute("disabled")===null)&&(!e.parentNode.disabled||!f.nodeName(e.parentNode,"optgroup"))){b=f(e).val();if(j)return b;h.push(b)}}if(j&&!h.length&&i.length)return f(i[g]).val();return h},set:function(a,b){var c=f.makeArray(b);f(a).find("option").each(function(){this.selected=f.inArray(f(this).val(),c)>=0}),c.length||(a.selectedIndex=-1);return c}}},attrFn:{val:!0,css:!0,html:!0,text:!0,data:!0,width:!0,height:!0,offset:!0},attr:function(a,c,d,e){var g,h,i,j=a.nodeType;if(!a||j===3||j===8||j===2)return b;if(e&&c in f.attrFn)return f(a)[c](d);if(!("getAttribute"in a))return f.prop(a,c,d);i=j!==1||!f.isXMLDoc(a),i&&(c=c.toLowerCase(),h=f.attrHooks[c]||(u.test(c)?x:w));if(d!==b){if(d===null){f.removeAttr(a,c);return b}if(h&&"set"in h&&i&&(g=h.set(a,d,c))!==b)return g;a.setAttribute(c,""+d);return d}if(h&&"get"in h&&i&&(g=h.get(a,c))!==null)return g;g=a.getAttribute(c);return g===null?b:g},removeAttr:function(a,b){var c,d,e,g,h=0;if(a.nodeType===1){d=(b||"").split(p),g=d.length;for(;h<g;h++)e=d[h].toLowerCase(),c=f.propFix[e]||e,f.attr(a,e,""),a.removeAttribute(v?e:c),u.test(e)&&c in a&&(a[c]=!1)}},attrHooks:{type:{set:function(a,b){if(r.test(a.nodeName)&&a.parentNode)f.error("type property can't be changed");else if(!f.support.radioValue&&b==="radio"&&f.nodeName(a,"input")){var c=a.value;a.setAttribute("type",b),c&&(a.value=c);return b}}},value:{get:function(a,b){if(w&&f.nodeName(a,"button"))return w.get(a,b);return b in a?a.value:null},set:function(a,b,c){if(w&&f.nodeName(a,"button"))return w.set(a,b,c);a.value=b}}},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(a,c,d){var e,g,h,i=a.nodeType;if(!a||i===3||i===8||i===2)return b;h=i!==1||!f.isXMLDoc(a),h&&(c=f.propFix[c]||c,g=f.propHooks[c]);return d!==b?g&&"set"in g&&(e=g.set(a,d,c))!==b?e:a[c]=d:g&&"get"in g&&(e=g.get(a,c))!==null?e:a[c]},propHooks:{tabIndex:{get:function(a){var c=a.getAttributeNode("tabindex");return c&&c.specified?parseInt(c.value,10):s.test(a.nodeName)||t.test(a.nodeName)&&a.href?0:b}}}}),f.attrHooks.tabindex=f.propHooks.tabIndex,x={get:function(a,c){var d,e=f.prop(a,c);return e===!0||typeof e!="boolean"&&(d=a.getAttributeNode(c))&&d.nodeValue!==!1?c.toLowerCase():b},set:function(a,b,c){var d;b===!1?f.removeAttr(a,c):(d=f.propFix[c]||c,d in a&&(a[d]=!0),a.setAttribute(c,c.toLowerCase()));return c}},v||(y={name:!0,id:!0},w=f.valHooks.button={get:function(a,c){var d;d=a.getAttributeNode(c);return d&&(y[c]?d.nodeValue!=="":d.specified)?d.nodeValue:b},set:function(a,b,d){var e=a.getAttributeNode(d);e||(e=c.createAttribute(d),a.setAttributeNode(e));return e.nodeValue=b+""}},f.attrHooks.tabindex.set=w.set,f.each(["width","height"],function(a,b){f.attrHooks[b]=f.extend(f.attrHooks[b],{set:function(a,c){if(c===""){a.setAttribute(b,"auto");return c}}})}),f.attrHooks.contenteditable={get:w.get,set:function(a,b,c){b===""&&(b="false"),w.set(a,b,c)}}),f.support.hrefNormalized||f.each(["href","src","width","height"],function(a,c){f.attrHooks[c]=f.extend(f.attrHooks[c],{get:function(a){var d=a.getAttribute(c,2);return d===null?b:d}})}),f.support.style||(f.attrHooks.style={get:function(a){return a.style.cssText.toLowerCase()||b},set:function(a,b){return a.style.cssText=""+b}}),f.support.optSelected||(f.propHooks.selected=f.extend(f.propHooks.selected,{get:function(a){var b=a.parentNode;b&&(b.selectedIndex,b.parentNode&&b.parentNode.selectedIndex);return null}})),f.support.enctype||(f.propFix.enctype="encoding"),f.support.checkOn||f.each(["radio","checkbox"],function(){f.valHooks[this]={get:function(a){return a.getAttribute("value")===null?"on":a.value}}}),f.each(["radio","checkbox"],function(){f.valHooks[this]=f.extend(f.valHooks[this],{set:function(a,b){if(f.isArray(b))return a.checked=f.inArray(f(a).val(),b)>=0}})});var z=/\.(.*)$/,A=/^(?:textarea|input|select)$/i,B=/\./g,C=/ /g,D=/[^\w\s.|`]/g,E=/^([^\.]*)?(?:\.(.+))?$/,F=/\bhover(\.\S+)?/,G=/^key/,H=/^(?:mouse|contextmenu)|click/,I=/^(\w*)(?:#([\w\-]+))?(?:\.([\w\-]+))?$/,J=function(a){var b=I.exec(a);b&&
(b[1]=(b[1]||"").toLowerCase(),b[3]=b[3]&&new RegExp("(?:^|\\s)"+b[3]+"(?:\\s|$)"));return b},K=function(a,b){return(!b[1]||a.nodeName.toLowerCase()===b[1])&&(!b[2]||a.id===b[2])&&(!b[3]||b[3].test(a.className))},L=function(a){return f.event.special.hover?a:a.replace(F,"mouseenter$1 mouseleave$1")};f.event={add:function(a,c,d,e,g){var h,i,j,k,l,m,n,o,p,q,r,s;if(!(a.nodeType===3||a.nodeType===8||!c||!d||!(h=f._data(a)))){d.handler&&(p=d,d=p.handler),d.guid||(d.guid=f.guid++),j=h.events,j||(h.events=j={}),i=h.handle,i||(h.handle=i=function(a){return typeof f!="undefined"&&(!a||f.event.triggered!==a.type)?f.event.dispatch.apply(i.elem,arguments):b},i.elem=a),c=L(c).split(" ");for(k=0;k<c.length;k++){l=E.exec(c[k])||[],m=l[1],n=(l[2]||"").split(".").sort(),s=f.event.special[m]||{},m=(g?s.delegateType:s.bindType)||m,s=f.event.special[m]||{},o=f.extend({type:m,origType:l[1],data:e,handler:d,guid:d.guid,selector:g,namespace:n.join(".")},p),g&&(o.quick=J(g),!o.quick&&f.expr.match.POS.test(g)&&(o.isPositional=!0)),r=j[m];if(!r){r=j[m]=[],r.delegateCount=0;if(!s.setup||s.setup.call(a,e,n,i)===!1)a.addEventListener?a.addEventListener(m,i,!1):a.attachEvent&&a.attachEvent("on"+m,i)}s.add&&(s.add.call(a,o),o.handler.guid||(o.handler.guid=d.guid)),g?r.splice(r.delegateCount++,0,o):r.push(o),f.event.global[m]=!0}a=null}},global:{},remove:function(a,b,c,d){var e=f.hasData(a)&&f._data(a),g,h,i,j,k,l,m,n,o,p,q;if(!!e&&!!(m=e.events)){b=L(b||"").split(" ");for(g=0;g<b.length;g++){h=E.exec(b[g])||[],i=h[1],j=h[2];if(!i){j=j?"."+j:"";for(l in m)f.event.remove(a,l+j,c,d);return}n=f.event.special[i]||{},i=(d?n.delegateType:n.bindType)||i,p=m[i]||[],k=p.length,j=j?new RegExp("(^|\\.)"+j.split(".").sort().join("\\.(?:.*\\.)?")+"(\\.|$)"):null;if(c||j||d||n.remove)for(l=0;l<p.length;l++){q=p[l];if(!c||c.guid===q.guid)if(!j||j.test(q.namespace))if(!d||d===q.selector||d==="**"&&q.selector)p.splice(l--,1),q.selector&&p.delegateCount--,n.remove&&n.remove.call(a,q)}else p.length=0;p.length===0&&k!==p.length&&((!n.teardown||n.teardown.call(a,j)===!1)&&f.removeEvent(a,i,e.handle),delete m[i])}f.isEmptyObject(m)&&(o=e.handle,o&&(o.elem=null),f.removeData(a,["events","handle"],!0))}},customEvent:{getData:!0,setData:!0,changeData:!0},trigger:function(c,d,e,g){if(!e||e.nodeType!==3&&e.nodeType!==8){var h=c.type||c,i=[],j,k,l,m,n,o,p,q,r,s;h.indexOf("!")>=0&&(h=h.slice(0,-1),k=!0),h.indexOf(".")>=0&&(i=h.split("."),h=i.shift(),i.sort());if((!e||f.event.customEvent[h])&&!f.event.global[h])return;c=typeof c=="object"?c[f.expando]?c:new f.Event(h,c):new f.Event(h),c.type=h,c.isTrigger=!0,c.exclusive=k,c.namespace=i.join("."),c.namespace_re=c.namespace?new RegExp("(^|\\.)"+i.join("\\.(?:.*\\.)?")+"(\\.|$)"):null,o=h.indexOf(":")<0?"on"+h:"",(g||!e)&&c.preventDefault();if(!e){j=f.cache;for(l in j)j[l].events&&j[l].events[h]&&f.event.trigger(c,d,j[l].handle.elem,!0);return}c.result=b,c.target||(c.target=e),d=d!=null?f.makeArray(d):[],d.unshift(c),p=f.event.special[h]||{};if(p.trigger&&p.trigger.apply(e,d)===!1)return;r=[[e,p.bindType||h]];if(!g&&!p.noBubble&&!f.isWindow(e)){s=p.delegateType||h,n=null;for(m=e.parentNode;m;m=m.parentNode)r.push([m,s]),n=m;n&&n===e.ownerDocument&&r.push([n.defaultView||n.parentWindow||a,s])}for(l=0;l<r.length;l++){m=r[l][0],c.type=r[l][1],q=(f._data(m,"events")||{})[c.type]&&f._data(m,"handle"),q&&q.apply(m,d),q=o&&m[o],q&&f.acceptData(m)&&q.apply(m,d);if(c.isPropagationStopped())break}c.type=h,c.isDefaultPrevented()||(!p._default||p._default.apply(e.ownerDocument,d)===!1)&&(h!=="click"||!f.nodeName(e,"a"))&&f.acceptData(e)&&o&&e[h]&&(h!=="focus"&&h!=="blur"||c.target.offsetWidth!==0)&&!f.isWindow(e)&&(n=e[o],n&&(e[o]=null),f.event.triggered=h,e[h](),f.event.triggered=b,n&&(e[o]=n));return c.result}},dispatch:function(c){c=f.event.fix(c||a.event);var d=(f._data(this,"events")||{})[c.type]||[],e=d.delegateCount,g=[].slice.call(arguments,0),h=!c.exclusive&&!c.namespace,i=(f.event.special[c.type]||{}).handle,j=[],k,l,m,n,o,p,q,r,s,t,u;g[0]=c,c.delegateTarget=this;if(e&&!c.target.disabled&&(!c.button||c.type!=="click"))for(m=c.target;m!=this;m=m.parentNode||this){o={},q=[];for(k=0;k<e;k++)r=d[k],s=r.selector,t=o[s],r.isPositional?t=(t||(o[s]=f(s))).index(m)>=0:t===b&&(t=o[s]=r.quick?K(m,r.quick):f(m).is(s)),t&&q.push(r);q.length&&j.push({elem:m,matches:q})}d.length>e&&j.push({elem:this,matches:d.slice(e)});for(k=0;k<j.length&&!c.isPropagationStopped();k++){p=j[k],c.currentTarget=p.elem;for(l=0;l<p.matches.length&&!c.isImmediatePropagationStopped();l++){r=p.matches[l];if(h||!c.namespace&&!r.namespace||c.namespace_re&&c.namespace_re.test(r.namespace))c.data=r.data,c.handleObj=r,n=(i||r.handler).apply(p.elem,g),n!==b&&(c.result=n,n===!1&&(c.preventDefault(),c.stopPropagation()))}}return c.result},props:"attrChange attrName relatedNode srcElement altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(a,b){a.which==null&&(a.which=b.charCode!=null?b.charCode:b.keyCode);return a}},mouseHooks:{props:"button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement wheelDelta".split(" "),filter:function(a,d){var e,f,g,h=d.button,i=d.fromElement;a.pageX==null&&d.clientX!=null&&(e=a.target.ownerDocument||c,f=e.documentElement,g=e.body,a.pageX=d.clientX+(f&&f.scrollLeft||g&&g.scrollLeft||0)-(f&&f.clientLeft||g&&g.clientLeft||0),a.pageY=d.clientY+(f&&f.scrollTop||g&&g.scrollTop||0)-(f&&f.clientTop||g&&g.clientTop||0)),!a.relatedTarget&&i&&(a.relatedTarget=i===a.target?d.toElement:i),!a.which&&h!==b&&(a.which=h&1?1:h&2?3:h&4?2:0);return a}},fix:function(a){if(a[f.expando])return a;var d,e,g=a,h=f.event.fixHooks[a.type]||{},i=h.props?this.props.concat(h.props):this.props;a=f.Event(g);for(d=i.length;d;)e=i[--d],a[e]=g[e];a.target||(a.target=g.srcElement||c),a.target.nodeType===3&&(a.target=a.target.parentNode),a.metaKey===b&&(a.metaKey=a.ctrlKey);return h.filter?h.filter(a,g):a},special:{ready:{setup:f.bindReady},focus:{delegateType:"focusin",noBubble:!0},blur:{delegateType:"focusout",noBubble:!0},beforeunload:{setup:function(a,b,c){f.isWindow(this)&&(this.onbeforeunload=c)},teardown:function(a,b){this.onbeforeunload===b&&(this.onbeforeunload=null)}}},simulate:function(a,b,c,d){var e=f.extend(new f.Event,c,{type:a,isSimulated:!0,originalEvent:{}});d?f.event.trigger(e,null,b):f.event.dispatch.call(b,e),e.isDefaultPrevented()&&c.preventDefault()}},f.event.handle=f.event.dispatch,f.removeEvent=c.removeEventListener?function(a,b,c){a.removeEventListener&&a.removeEventListener(b,c,!1)}:function(a,b,c){a.detachEvent&&a.detachEvent("on"+b,c)},f.Event=function(a,b){if(!(this instanceof f.Event))return new f.Event(a,b);a&&a.type?(this.originalEvent=a,this.type=a.type,this.isDefaultPrevented=a.defaultPrevented||a.returnValue===!1||a.getPreventDefault&&a.getPreventDefault()?N:M):this.type=a,b&&f.extend(this,b),this.timeStamp=a&&a.timeStamp||f.now(),this[f.expando]=!0},f.Event.prototype={preventDefault:function(){this.isDefaultPrevented=N;var a=this.originalEvent;!a||(a.preventDefault?a.preventDefault():a.returnValue=!1)},stopPropagation:function(){this.isPropagationStopped=N;var a=this.originalEvent;!a||(a.stopPropagation&&a.stopPropagation(),a.cancelBubble=!0)},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=N,this.stopPropagation()},isDefaultPrevented:M,isPropagationStopped:M,isImmediatePropagationStopped:M},f.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(a,b){f.event.special[a]=f.event.special[b]={delegateType:b,bindType:b,handle:function(a){var b=this,c=a.relatedTarget,d=a.handleObj,e=d.selector,g,h;if(!c||d.origType===a.type||c!==b&&!f.contains(b,c))g=a.type,a.type=d.origType,h=d.handler.apply(this,arguments),a.type=g;return h}}}),f.support.submitBubbles||(f.event.special.submit={setup:function(){if(f.nodeName(this,"form"))return!1;f.event.add(this,"click._submit keypress._submit",function(a){var c=a.target,d=f.nodeName(c,"input")||f.nodeName(c,"button")?c.form:b;d&&!d._submit_attached&&(f.event.add(d,"submit._submit",function(a){this.parentNode&&f.event.simulate("submit",this.parentNode,a,!0)}),d._submit_attached=!0)})},teardown:function(){if(f.nodeName(this,"form"))return!1;f.event.remove(this,"._submit")}}),f.support.changeBubbles||(f.event.special.change={setup:function(){if(A.test(this.nodeName)){if(this.type==="checkbox"||this.type==="radio")f.event.add(this,"propertychange._change",function(a){a.originalEvent.propertyName==="checked"&&(this._just_changed=!0)}),f.event.add(this,"click._change",function(a){this._just_changed&&(this._just_changed=!1,f.event.simulate("change",this,a,!0))});return!1}f.event.add(this,"beforeactivate._change",function(a){var b=a.target;A.test(b.nodeName)&&!b._change_attached&&(f.event.add(b,"change._change",function(a){this.parentNode&&!a.isSimulated&&f.event.simulate("change",this.parentNode,a,!0)}),b._change_attached=!0)})},handle:function(a){var b=a.target;if(this!==b||a.isSimulated||a.isTrigger||b.type!=="radio"&&b.type!=="checkbox")return a.handleObj.handler.apply(this,arguments)},teardown:function(){f.event.remove(this,"._change");return A.test(this.nodeName)}}),f.support.focusinBubbles||f.each({focus:"focusin",blur:"focusout"},function(a,b){var d=0,e=function(a){f.event.simulate(b,a.target,f.event.fix(a),!0)};f.event.special[b]={setup:function(){d++===0&&c.addEventListener(a,e,!0)},teardown:function(){--d===0&&c.removeEventListener(a,e,!0)}}}),f.fn.extend({on:function(a,c,d,e,g){var h,i;if(typeof a=="object"){typeof c!="string"&&(d=c,c=b);for(i in a)this.on(i,c,d,a[i],g);return this}d==null&&e==null?(e=c,d=c=b):e==null&&(typeof c=="string"?(e=d,d=b):(e=d,d=c,c=b));if(e===!1)e=M;else if(!e)return this;g===1&&(h=e,e=function(a){f().off(a);return h.apply(this,arguments)},e.guid=h.guid||(h.guid=f.guid++));return this.each(function(){f.event.add(this,a,e,d,c)})},one:function(a,b,c,d){return this.on.call(this,a,b,c,d,1)},off:function(a,c,d){if(a&&a.preventDefault&&a.handleObj){var e=a.handleObj;f(a.delegateTarget).off(e.namespace?e.type+"."+e.namespace:e.type,e.selector,e.handler);return this}if(typeof a=="object"){for(var g in a)this.off(g,c,a[g]);return this}if(c===!1||typeof c=="function")d=c,c=b;d===!1&&(d=M);return this.each(function(){f.event.remove(this,a,d,c)})},bind:function(a,b,c){return this.on(a,null,b,c)},unbind:function(a,b){return this.off(a,null,b)},live:function(a,b,c){f(this.context).on(a,this.selector,b,c);return this},die:function(a,b){f(this.context).off(a,this.selector||"**",b);return this},delegate:function(a,b,c,d){return this.on(b,a,c,d)},undelegate:function(a,b,c){return arguments.length==1?this.off(a,"**"):this.off(b,a,c)},trigger:function(a,b){return this.each(function(){f.event.trigger(a,b,this)})},triggerHandler:function(a,b){if(this[0])return f.event.trigger(a,b,this[0],!0)},toggle:function(a){var b=arguments,c=a.guid||f.guid++,d=0,e=function(c){var e=(f._data(this,"lastToggle"+a.guid)||0)%d;f._data(this,"lastToggle"+a.guid,e+1),c.preventDefault();return b[e].apply(this,arguments)||!1};e.guid=c;while(d<b.length)b[d++].guid=c;return this.click(e)},hover:function(a,b){return this.mouseenter(a).mouseleave(b||a)}}),f.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),function(a,b){f.fn[b]=function(a,c){c==null&&(c=a,a=null);return arguments.length>0?this.bind(b,a,c):this.trigger(b)},f.attrFn&&(f.attrFn[b]=!0),G.test(b)&&(f.event.fixHooks[b]=f.event.keyHooks),H.test(b)&&(f.event.fixHooks[b]=f.event.mouseHooks)}),function(){function x(a,b,c,e,f,g){for(var h=0,i=e.length;h<i;h++){var j=e[h];if(j){var k=!1;j=j[a];while(j){if(j[d]===c){k=e[j.sizset];break}if(j.nodeType===1){g||(j[d]=c,j.sizset=h);if(typeof b!="string"){if(j===b){k=!0;break}}else if(m.filter(b,[j]).length>0){k=j;break}}j=j[a]}e[h]=k}}}function w(a,b,c,e,f,g){for(var h=0,i=e.length;h<i;h++){var j=e[h];if(j){var k=!1;j=j[a];while(j){if(j[d]===c){k=e[j.sizset];break}j.nodeType===1&&!g&&(j[d]=c,j.sizset=h);if(j.nodeName.toLowerCase()===b){k=j;break}j=j[a]}e[h]=k}}}var a=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,d="sizcache"+(Math.random()+"").replace(".",""),e=0,g=Object.prototype.toString,h=!1,i=!0,j=/\\/g,k=/\r\n/g,l=/\W/;[0,0].sort(function(){i=!1;return 0});var m=function(b,d,e,f){e=e||[],d=d||c;var h=d;if(d.nodeType!==1&&d.nodeType!==9)return[];if(!b||typeof b!="string")return e;var i,j,k,l,n,q,r,t,u=!0,v=m.isXML(d),w=[],x=b;do{a.exec(""),i=a.exec(x);if(i){x=i[3],w.push(i[1]);if(i[2]){l=i[3];break}}}while(i);if(w.length>1&&p.exec(b))if(w.length===2&&o.relative[w[0]])j=y(w[0]+w[1],d,f);else{j=o.relative[w[0]]?[d]:m(w.shift(),d);while(w.length)b=w.shift(),o.relative[b]&&(b+=w.shift()),j=y(b,j,f)}else{!f&&w.length>1&&d.nodeType===9&&!v&&o.match.ID.test(w[0])&&!o.match.ID.test(w[w.length-1])&&(n=m.find(w.shift(),d,v),d=n.expr?m.filter(n.expr,n.set)[0]:n.set[0]);if(d){n=f?{expr:w.pop(),set:s(f)}:m.find(w.pop(),w.length===1&&(w[0]==="~"||w[0]==="+")&&d.parentNode?d.parentNode:d,v),j=n.expr?m.filter(n.expr,n.set):n.set,w.length>0?k=s(j):u=!1;while(w.length)q=w.pop(),r=q,o.relative[q]?r=w.pop():q="",r==null&&(r=d),o.relative[q](k,r,v)}else k=w=[]}k||(k=j),k||m.error(q||b);if(g.call(k)==="[object Array]")if(!u)e.push.apply(e,k);else if(d&&d.nodeType===1)for(t=0;k[t]!=null;t++)k[t]&&(k[t]===!0||k[t].nodeType===1&&m.contains(d,k[t]))&&e.push(j[t]);else for(t=0;k[t]!=null;t++)k[t]&&k[t].nodeType===1&&e.push(j[t]);else s(k,e);l&&(m(l,h,e,f),m.uniqueSort(e));return e};m.uniqueSort=function(a){if(u){h=i,a.sort(u);if(h)for(var b=1;b<a.length;b++)a[b]===a[b-1]&&a.splice(b--,1)}return a},m.matches=function(a,b){return m(a,null,null,b)},m.matchesSelector=function(a,b){return m(b,null,null,[a]).length>0},m.find=function(a,b,c){var d,e,f,g,h,i;if(!a)return[];for(e=0,f=o.order.length;e<f;e++){h=o.order[e];if(g=o.leftMatch[h].exec(a)){i=g[1],g.splice(1,1);if(i.substr(i.length-1)!=="\\"){g[1]=(g[1]||"").replace(j,""),d=o.find[h](g,b,c);if(d!=null){a=a.replace(o.match[h],"");break}}}}d||(d=typeof b.getElementsByTagName!="undefined"?b.getElementsByTagName("*"):[]);return{set:d,expr:a}},m.filter=function(a,c,d,e){var f,g,h,i,j,k,l,n,p,q=a,r=[],s=c,t=c&&c[0]&&m.isXML(c[0]);while(a&&c.length){for(h in o.filter)if((f=o.leftMatch[h].exec(a))!=null&&f[2]){k=o.filter[h],l=f[1],g=!1,f.splice(1,1);if(l.substr(l.length-1)==="\\")continue;s===r&&(r=[]);if(o.preFilter[h]){f=o.preFilter[h](f,s,d,r,e,t);if(!f)g=i=!0;else if(f===!0)continue}if(f)for(n=0;(j=s[n])!=null;n++)j&&(i=k(j,f,n,s),p=e^i,d&&i!=null?p?g=!0:s[n]=!1:p&&(r.push(j),g=!0));if(i!==b){d||(s=r),a=a.replace(o.match[h],"");if(!g)return[];break}}if(a===q)if(g==null)m.error(a);else break;q=a}return s},m.error=function(a){throw"Syntax error, unrecognized expression: "+a};var n=m.getText=function(a){var b,c,d=a.nodeType,e="";if(d){if(d===1){if(typeof a.textContent=="string")return a.textContent;if(typeof a.innerText=="string")return a.innerText.replace(k,"");for(a=a.firstChild;a;a=a.nextSibling)e+=n(a)}else if(d===3||d===4)return a.nodeValue}else for(b=0;c=a[b];b++)c.nodeType!==8&&(e+=n(c));return e},o=m.selectors={order:["ID","NAME","TAG"],match:{ID:/#((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,CLASS:/\.((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,NAME:/\[name=['"]*((?:[\w\u00c0-\uFFFF\-]|\\.)+)['"]*\]/,ATTR:/\[\s*((?:[\w\u00c0-\uFFFF\-]|\\.)+)\s*(?:(\S?=)\s*(?:(['"])(.*?)\3|(#?(?:[\w\u00c0-\uFFFF\-]|\\.)*)|)|)\s*\]/,TAG:/^((?:[\w\u00c0-\uFFFF\*\-]|\\.)+)/,CHILD:/:(only|nth|last|first)-child(?:\(\s*(even|odd|(?:[+\-]?\d+|(?:[+\-]?\d*)?n\s*(?:[+\-]\s*\d+)?))\s*\))?/,POS:/:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^\-]|$)/,PSEUDO:/:((?:[\w\u00c0-\uFFFF\-]|\\.)+)(?:\((['"]?)((?:\([^\)]+\)|[^\(\)]*)+)\2\))?/},leftMatch:{},attrMap:{"class":"className","for":"htmlFor"},attrHandle:{href:function(a){return a.getAttribute("href")},type:function(a){return a.getAttribute("type")}},relative:{"+":function(a,b){var c=typeof b=="string",d=c&&!l.test(b),e=c&&!d;d&&(b=b.toLowerCase());for(var f=0,g=a.length,h;f<g;f++)if(h=a[f]){while((h=h.previousSibling)&&h.nodeType!==1);a[f]=e||h&&h.nodeName.toLowerCase()===b?h||!1:h===b}e&&m.filter(b,a,!0)},">":function(a,b){var c,d=typeof b=="string",e=0,f=a.length;if(d&&!l.test(b)){b=b.toLowerCase();for(;e<f;e++){c=a[e];if(c){var g=c.parentNode;a[e]=g.nodeName.toLowerCase()===b?g:!1}}}else{for(;e<f;e++)c=a[e],c&&(a[e]=d?c.parentNode:c.parentNode===b);d&&m.filter(b,a,!0)}},"":function(a,b,c){var d,f=e++,g=x;typeof b=="string"&&!l.test(b)&&(b=b.toLowerCase(),d=b,g=w),g("parentNode",b,f,a,d,c)},"~":function(a,b,c){var d,f=e++,g=x;typeof b=="string"&&!l.test(b)&&(b=b.toLowerCase(),d=b,g=w),g("previousSibling",b,f,a,d,c)}},find:{ID:function(a,b,c){if(typeof b.getElementById!="undefined"&&!c){var d=b.getElementById(a[1]);return d&&d.parentNode?[d]:[]}},NAME:function(a,b){if(typeof b.getElementsByName!="undefined"){var c=[],d=b.getElementsByName(a[1]);for(var e=0,f=d.length;e<f;e++)d[e].getAttribute("name")===a[1]&&c.push(d[e]);return c.length===0?null:c}},TAG:function(a,b){if(typeof b.getElementsByTagName!="undefined")return b.getElementsByTagName(a[1])}},preFilter:{CLASS:function(a,b,c,d,e,f){a=" "+a[1].replace(j,"")+" ";if(f)return a;for(var g=0,h;(h=b[g])!=null;g++)h&&(e^(h.className&&(" "+h.className+" ").replace(/[\t\n\r]/g," ").indexOf(a)>=0)?c||d.push(h):c&&(b[g]=!1));return!1},ID:function(a){return a[1].replace(j,"")},TAG:function(a,b){return a[1].replace(j,"").toLowerCase()},CHILD:function(a){if(a[1]==="nth"){a[2]||m.error(a[0]),a[2]=a[2].replace(/^\+|\s*/g,"");var b=/(-?)(\d*)(?:n([+\-]?\d*))?/.exec(a[2]==="even"&&"2n"||a[2]==="odd"&&"2n+1"||!/\D/.test(a[2])&&"0n+"+a[2]||a[2]);a[2]=b[1]+(b[2]||1)-0,a[3]=b[3]-0}else a[2]&&m.error(a[0]);a[0]=e++;return a},ATTR:function(a,b,c,d,e,f){var g=a[1]=a[1].replace(j,"");!f&&o.attrMap[g]&&(a[1]=o.attrMap[g]),a[4]=(a[4]||a[5]||"").replace(j,""),a[2]==="~="&&(a[4]=" "+a[4]+" ");return a},PSEUDO:function(b,c,d,e,f){if(b[1]==="not")if((a.exec(b[3])||"").length>1||/^\w/.test(b[3]))b[3]=m(b[3],null,null,c);else{var g=m.filter(b[3],c,d,!0^f);d||e.push.apply(e,g);return!1}else if(o.match.POS.test(b[0])||o.match.CHILD.test(b[0]))return!0;return b},POS:function(a){a.unshift(!0);return a}},filters:{enabled:function(a){return a.disabled===!1&&a.type!=="hidden"},disabled:function(a){return a.disabled===!0},checked:function(a){return a.checked===!0},selected:function(a){a.parentNode&&a.parentNode.selectedIndex;return a.selected===!0},parent:function(a){return!!a.firstChild},empty:function(a){return!a.firstChild},has:function(a,b,c){return!!m(c[3],a).length},header:function(a){return/h\d/i.test(a.nodeName)},text:function(a){var b=a.getAttribute("type"),c=a.type;return a.nodeName.toLowerCase()==="input"&&"text"===c&&(b===c||b===null)},radio:function(a){return a.nodeName.toLowerCase()==="input"&&"radio"===a.type},checkbox:function(a){return a.nodeName.toLowerCase()==="input"&&"checkbox"===a.type},file:function(a){return a.nodeName.toLowerCase()==="input"&&"file"===a.type},password:function(a){return a.nodeName.toLowerCase()==="input"&&"password"===a.type},submit:function(a){var b=a.nodeName.toLowerCase();return(b==="input"||b==="button")&&"submit"===a.type},image:function(a){return a.nodeName.toLowerCase()==="input"&&"image"===a.type},reset:function(a){var b=a.nodeName.toLowerCase();return(b==="input"||b==="button")&&"reset"===a.type},button:function(a){var b=a.nodeName.toLowerCase();return b==="input"&&"button"===a.type||b==="button"},input:function(a){return/input|select|textarea|button/i.test(a.nodeName)},focus:function(a){return a===a.ownerDocument.activeElement}},setFilters:{first:function(a,b){return b===0},last:function(a,b,c,d){return b===d.length-1},even:function(a,b){return b%2===0},odd:function(a,b){return b%2===1},lt:function(a,b,c){return b<c[3]-0},gt:function(a,b,c){return b>c[3]-0},nth:function(a,b,c){return c[3]-0===b},eq:function(a,b,c){return c[3]-0===b}},filter:{PSEUDO:function(a,b,c,d){var e=b[1],f=o.filters[e];if(f)return f(a,c,b,d);if(e==="contains")return(a.textContent||a.innerText||n([a])||"").indexOf(b[3])>=0;if(e==="not"){var g=b[3];for(var h=0,i=g.length;h<i;h++)if(g[h]===a)return!1;return!0}m.error(e)},CHILD:function(a,b){var c,e,f,g,h,i,j,k=b[1],l=a;switch(k){case"only":case"first":while(l=l.previousSibling)if(l.nodeType===1)return!1;if(k==="first")return!0;l=a;case"last":while(l=l.nextSibling)if(l.nodeType===1)return!1;return!0;case"nth":c=b[2],e=b[3];if(c===1&&e===0)return!0;f=b[0],g=a.parentNode;if(g&&(g[d]!==f||!a.nodeIndex)){i=0;for(l=g.firstChild;l;l=l.nextSibling)l.nodeType===1&&(l.nodeIndex=++i);g[d]=f}j=a.nodeIndex-e;return c===0?j===0:j%c===0&&j/c>=0}},ID:function(a,b){return a.nodeType===1&&a.getAttribute("id")===b},TAG:function(a,b){return b==="*"&&a.nodeType===1||!!a.nodeName&&a.nodeName.toLowerCase()===b},CLASS:function(a,b){return(" "+(a.className||a.getAttribute("class"))+" ").indexOf(b)>-1},ATTR:function(a,b){var c=b[1],d=m.attr?m.attr(a,c):o.attrHandle[c]?o.attrHandle[c](a):a[c]!=null?a[c]:a.getAttribute(c),e=d+"",f=b[2],g=b[4];return d==null?f==="!=":!f&&m.attr?d!=null:f==="="?e===g:f==="*="?e.indexOf(g)>=0:f==="~="?(" "+e+" ").indexOf(g)>=0:g?f==="!="?e!==g:f==="^="?e.indexOf(g)===0:f==="$="?e.substr(e.length-g.length)===g:f==="|="?e===g||e.substr(0,g.length+1)===g+"-":!1:e&&d!==!1},POS:function(a,b,c,d){var e=b[2],f=o.setFilters[e];if(f)return f(a,c,b,d)}}},p=o.match.POS,q=function(a,b){return"\\"+(b-0+1)};for(var r in o.match)o.match[r]=new RegExp(o.match[r].source+/(?![^\[]*\])(?![^\(]*\))/.source),o.leftMatch[r]=new RegExp(/(^(?:.|\r|\n)*?)/.source+o.match[r].source.replace(/\\(\d+)/g,q));var s=function(a,b){a=Array.prototype.slice.call(a,0);if(b){b.push.apply(b,a);return b}return a};try{Array.prototype.slice.call(c.documentElement.childNodes,0)[0].nodeType}catch(t){s=function(a,b){var c=0,d=b||[];if(g.call(a)==="[object Array]")Array.prototype.push.apply(d,a);else if(typeof a.length=="number")for(var e=a.length;c<e;c++)d.push(a[c]);else for(;a[c];c++)d.push(a[c]);return d}}var u,v;c.documentElement.compareDocumentPosition?u=function(a,b){if(a===b){h=!0;return 0}if(!a.compareDocumentPosition||!b.compareDocumentPosition)return a.compareDocumentPosition?-1:1;return a.compareDocumentPosition(b)&4?-1:1}:(u=function(a,b){if(a===b){h=!0;return 0}if(a.sourceIndex&&b.sourceIndex)return a.sourceIndex-b.sourceIndex;var c,d,e=[],f=[],g=a.parentNode,i=b.parentNode,j=g;if(g===i)return v(a,b);if(!g)return-1;if(!i)return 1;while(j)e.unshift(j),j=j.parentNode;j=i;while(j)f.unshift(j),j=j.parentNode;c=e.length,d=f.length;for(var k=0;k<c&&k<d;k++)if(e[k]!==f[k])return v(e[k],f[k]);return k===c?v(a,f[k],-1):v(e[k],b,1)},v=function(a,b,c){if(a===b)return c;var d=a.nextSibling;while(d){if(d===b)return-1;d=d.nextSibling}return 1}),function(){var a=c.createElement("div"),d="script"+(new Date).getTime(),e=c.documentElement;a.innerHTML="<a name='"+d+"'/>",e.insertBefore(a,e.firstChild),c.getElementById(d)&&(o.find.ID=function(a,c,d){if(typeof c.getElementById!="undefined"&&!d){var e=c.getElementById(a[1]);return e?e.id===a[1]||typeof e.getAttributeNode!="undefined"&&e.getAttributeNode("id").nodeValue===a[1]?[e]:b:[]}},o.filter.ID=function(a,b){var c=typeof a.getAttributeNode!="undefined"&&a.getAttributeNode("id");return a.nodeType===1&&c&&c.nodeValue===b}),e.removeChild(a),e=a=null}(),function(){var a=c.createElement("div");a.appendChild(c.createComment("")),a.getElementsByTagName("*").length>0&&(o.find.TAG=function(a,b){var c=b.getElementsByTagName(a[1]);if(a[1]==="*"){var d=[];for(var e=0;c[e];e++)c[e].nodeType===1&&d.push(c[e]);c=d}return c}),a.innerHTML="<a href='#'></a>",a.firstChild&&typeof a.firstChild.getAttribute!="undefined"&&a.firstChild.getAttribute("href")!=="#"&&(o.attrHandle.href=function(a){return a.getAttribute("href",2)}),a=null}(),c.querySelectorAll&&function(){var a=m,b=c.createElement("div"),d="__sizzle__";b.innerHTML="<p class='TEST'></p>";if(!b.querySelectorAll||b.querySelectorAll(".TEST").length!==0){m=function(b,e,f,g){e=e||c;if(!g&&!m.isXML(e)){var h=/^(\w+$)|^\.([\w\-]+$)|^#([\w\-]+$)/.exec(b);if(h&&(e.nodeType===1||e.nodeType===9)){if(h[1])return s(e.getElementsByTagName(b),f);if(h[2]&&o.find.CLASS&&e.getElementsByClassName)return s(e.getElementsByClassName(h[2]),f)}if(e.nodeType===9){if(b==="body"&&e.body)return s([e.body],f);if(h&&h[3]){var i=e.getElementById(h[3]);if(!i||!i.parentNode)return s([],f);if(i.id===h[3])return s([i],f)}try{return s(e.querySelectorAll(b),f)}catch(j){}}else if(e.nodeType===1&&e.nodeName.toLowerCase()!=="object"){var k=e,l=e.getAttribute("id"),n=l||d,p=e.parentNode,q=/^\s*[+~]/.test(b);l?n=n.replace(/'/g,"\\$&"):e.setAttribute("id",n),q&&p&&(e=e.parentNode);try{if(!q||p)return s(e.querySelectorAll("[id='"+n+"'] "+b),f)}catch(r){}finally{l||k.removeAttribute("id")}}}return a(b,e,f,g)};for(var e in a)m[e]=a[e];b=null}}(),function(){var a=c.documentElement,b=a.matchesSelector||a.mozMatchesSelector||a.webkitMatchesSelector||a.msMatchesSelector;if(b){var d=!b.call(c.createElement("div"),"div"),e=!1;try{b.call(c.documentElement,"[test!='']:sizzle")}catch(f){e=!0}m.matchesSelector=function(a,c){c=c.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");if(!m.isXML(a))try{if(e||!o.match.PSEUDO.test(c)&&!/!=/.test(c)){var f=b.call(a,c);if(f||!d||a.document&&a.document.nodeType!==11)return f}}catch(g){}return m(c,null,null,[a]).length>0}}}(),function(){var a=c.createElement("div");a.innerHTML="<div class='test e'></div><div class='test'></div>";if(!!a.getElementsByClassName&&a.getElementsByClassName("e").length!==0){a.lastChild.className="e";if(a.getElementsByClassName("e").length===1)return;o.order.splice(1,0,"CLASS"),o.find.CLASS=function(a,b,c){if(typeof b.getElementsByClassName!="undefined"&&!c)return b.getElementsByClassName(a[1])},a=null}}(),c.documentElement.contains?m.contains=function(a,b){return a!==b&&(a.contains?a.contains(b):!0)}:c.documentElement.compareDocumentPosition?m.contains=function(a,b){return!!(a.compareDocumentPosition(b)&16)}:m.contains=function(){return!1},m.isXML=function(a){var b=(a?a.ownerDocument||a:0).documentElement;return b?b.nodeName!=="HTML":!1};var y=function(a,b,c){var d,e=[],f="",g=b.nodeType?[b]:b;while(d=o.match.PSEUDO.exec(a))f+=d[0],a=a.replace(o.match.PSEUDO,"");a=o.relative[a]?a+"*":a;for(var h=0,i=g.length;h<i;h++)m(a,g[h],e,c);return m.filter(f,e)};m.attr=f.attr,m.selectors.attrMap={},f.find=m,f.expr=m.selectors,f.expr[":"]=f.expr.filters,f.unique=m.uniqueSort,f.text=m.getText,f.isXMLDoc=m.isXML,f.contains=m.contains}();var O=/Until$/,P=/^(?:parents|prevUntil|prevAll)/,Q=/,/,R=/^.[^:#\[\.,]*$/,S=Array.prototype.slice,T=f.expr.match.POS,U={children:!0,contents:!0,next:!0,prev:!0};f.fn.extend({find:function(a){var b=this,c,d;if(typeof a!="string")return f(a).filter(function(){for(c=0,d=b.length;c<d;c++)if(f.contains(b[c],this))return!0});var e=this.pushStack("","find",a),g,h,i;for(c=0,d=this.length;c<d;c++){g=e.length,f.find(a,this[c],e);if(c>0)for(h=g;h<e.length;h++)for(i=0;i<g;i++)if(e[i]===e[h]){e.splice(h--,1);break}}return e},has:function(a){var b=f(a);return this.filter(function(){for(var a=0,c=b.length;a<c;a++)if(f.contains(this,b[a]))return!0})},not:function(a){return this.pushStack(W(this,a,!1),"not",a)},filter:function(a){return this.pushStack(W(this,a,!0),"filter",a)},is:function(a){return!!a&&(typeof a=="string"?T.test(a)?f(a,this.context).index(this[0])>=0:f.filter(a,this).length>0:this.filter(a).length>0)},closest:function(a,b){var c=[],d,e,g=this[0];if(f.isArray(a)){var h=1;while(g&&g.ownerDocument&&g!==b){for(d=0;d<a.length;d++)f(g).is(a[d])&&c.push({selector:a[d],elem:g,level:h});g=g.parentNode,h++}return c}var i=T.test(a)||typeof a!="string"?f(a,b||this.context):0;for(d=0,e=this.length;d<e;d++){g=this[d];while(g){if(i?i.index(g)>-1:f.find.matchesSelector(g,a)){c.push(g);break}g=g.parentNode;if(!g||!g.ownerDocument||g===b||g.nodeType===11)break}}c=c.length>1?f.unique(c):c;return this.pushStack(c,"closest",a)},index:function(a){if(!a)return this[0]&&this[0].parentNode?this.prevAll().length:-1;if(typeof a=="string")return f.inArray(this[0],f(a));return f.inArray(a.jquery?a[0]:a,this)},add:function(a,b){var c=typeof a=="string"?f(a,b):f.makeArray(a&&a.nodeType?[a]:a),d=f.merge(this.get(),c);return this.pushStack(V(c[0])||V(d[0])?d:f.unique(d))},andSelf:function(){return this.add(this.prevObject)}}),f.each({parent:function(a){var b=a.parentNode;return b&&b.nodeType!==11?b:null},parents:function(a){return f.dir(a,"parentNode")},parentsUntil:function(a,b,c){return f.dir(a,"parentNode",c)},next:function(a){return f.nth(a,2,"nextSibling")},prev:function(a){return f.nth(a,2,"previousSibling")},nextAll:function(a){return f.dir(a,"nextSibling")},prevAll:function(a){return f.dir(a,"previousSibling")},nextUntil:function(a,b,c){return f.dir(a,"nextSibling",c)},prevUntil:function(a,b,c){return f.dir(a,"previousSibling",c)},siblings:function(a){return f.sibling(a.parentNode.firstChild,a)},children:function(a){return f.sibling(a.firstChild)},contents:function(a){return f.nodeName(a,"iframe")?a.contentDocument||a.contentWindow.document:f.makeArray(a.childNodes)}},function(a,b){f.fn[a]=function(c,d){var e=f.map(this,b,c),g=S.call(arguments);O.test(a)||(d=c),d&&typeof d=="string"&&(e=f.filter(d,e)),e=this.length>1&&!U[a]?f.unique(e):e,(this.length>1||Q.test(d))&&P.test(a)&&(e=e.reverse());return this.pushStack(e,a,g.join(","))}}),f.extend({filter:function(a,b,c){c&&(a=":not("+a+")");return b.length===1?f.find.matchesSelector(b[0],a)?[b[0]]:[]:f.find.matches(a,b)},dir:function(a,c,d){var e=[],g=a[c];while(g&&g.nodeType!==9&&(d===b||g.nodeType!==1||!f(g).is(d)))g.nodeType===1&&e.push(g),g=g[c];return e},nth:function(a,b,c,d){b=b||1;var e=0;for(;a;a=a[c])if(a.nodeType===1&&++e===b)break;return a},sibling:function(a,b){var c=[];for(;a;a=a.nextSibling)a.nodeType===1&&a!==b&&c.push(a);return c}});var Y="abbr article aside audio canvas datalist details figcaption figure footer header hgroup mark meter nav output progress section summary time video",Z=/ jQuery\d+="(?:\d+|null)"/g,$=/^\s+/,_=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,ba=/<([\w:]+)/,bb=/<tbody/i,bc=/<|&#?\w+;/,bd=/<(?:script|style)/i,be=/<(?:script|object|embed|option|style)/i,bf=new RegExp("<(?:"+Y.replace(" ","|")+")","i"),bg=/checked\s*(?:[^=]|=\s*.checked.)/i,bh=/\/(java|ecma)script/i,bi=/^\s*<!(?:\[CDATA\[|\-\-)/,bj={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],area:[1,"<map>","</map>"],_default:[0,"",""]},bk=X(c);bj.optgroup=bj.option,bj.tbody=bj.tfoot=bj.colgroup=bj.caption=bj.thead,bj.th=bj.td,f.support.htmlSerialize||(bj._default=[1,"div<div>","</div>"]),f.fn.extend({text:function(a){if(f.isFunction(a))return this.each(function(b){var c=f(this);c.text(a.call(this,b,c.text()))});if(typeof a!="object"&&a!==b)return this.empty().append((this[0]&&this[0].ownerDocument||c).createTextNode(a));return f.text(this)},wrapAll:function(a){if(f.isFunction(a))return this.each(function(b){f(this).wrapAll(a.call(this,b))});if(this[0]){var b=f(a,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&b.insertBefore(this[0]),b.map(function(){var a=this;while(a.firstChild&&a.firstChild.nodeType===1)a=a.firstChild;return a}).append(this)}return this},wrapInner:function(a){if(f.isFunction(a))return this.each(function(b){f(this).wrapInner(a.call(this,b))});return this.each(function(){var b=f(this),c=b.contents();c.length?c.wrapAll(a):b.append(a)})},wrap:function(a){return this.each(function(){f(this).wrapAll(a)})},unwrap:function(){return this.parent().each(function(){f.nodeName(this,"body")||f(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,!0,function(a){this.nodeType===1&&this.appendChild(a)})},prepend:function(){return this.domManip(arguments,!0,function(a){this.nodeType===1&&this.insertBefore(a,this.firstChild)})},before:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,!1,function(a){this.parentNode.insertBefore(a,this)});if(arguments.length){var a=f(arguments[0]);a.push.apply(a,this.toArray());return this.pushStack(a,"before",arguments)}},after:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,!1,function(a){this.parentNode.insertBefore(a,this.nextSibling)});if(arguments.length){var a=this.pushStack(this,"after"
,arguments);a.push.apply(a,f(arguments[0]).toArray());return a}},remove:function(a,b){for(var c=0,d;(d=this[c])!=null;c++)if(!a||f.filter(a,[d]).length)!b&&d.nodeType===1&&(f.cleanData(d.getElementsByTagName("*")),f.cleanData([d])),d.parentNode&&d.parentNode.removeChild(d);return this},empty:function(){for(var a=0,b;(b=this[a])!=null;a++){b.nodeType===1&&f.cleanData(b.getElementsByTagName("*"));while(b.firstChild)b.removeChild(b.firstChild)}return this},clone:function(a,b){a=a==null?!1:a,b=b==null?a:b;return this.map(function(){return f.clone(this,a,b)})},html:function(a){if(a===b)return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(Z,""):null;if(typeof a=="string"&&!bd.test(a)&&(f.support.leadingWhitespace||!$.test(a))&&!bj[(ba.exec(a)||["",""])[1].toLowerCase()]){a=a.replace(_,"<$1></$2>");try{for(var c=0,d=this.length;c<d;c++)this[c].nodeType===1&&(f.cleanData(this[c].getElementsByTagName("*")),this[c].innerHTML=a)}catch(e){this.empty().append(a)}}else f.isFunction(a)?this.each(function(b){var c=f(this);c.html(a.call(this,b,c.html()))}):this.empty().append(a);return this},replaceWith:function(a){if(this[0]&&this[0].parentNode){if(f.isFunction(a))return this.each(function(b){var c=f(this),d=c.html();c.replaceWith(a.call(this,b,d))});typeof a!="string"&&(a=f(a).detach());return this.each(function(){var b=this.nextSibling,c=this.parentNode;f(this).remove(),b?f(b).before(a):f(c).append(a)})}return this.length?this.pushStack(f(f.isFunction(a)?a():a),"replaceWith",a):this},detach:function(a){return this.remove(a,!0)},domManip:function(a,c,d){var e,g,h,i,j=a[0],k=[];if(!f.support.checkClone&&arguments.length===3&&typeof j=="string"&&bg.test(j))return this.each(function(){f(this).domManip(a,c,d,!0)});if(f.isFunction(j))return this.each(function(e){var g=f(this);a[0]=j.call(this,e,c?g.html():b),g.domManip(a,c,d)});if(this[0]){i=j&&j.parentNode,f.support.parentNode&&i&&i.nodeType===11&&i.childNodes.length===this.length?e={fragment:i}:e=f.buildFragment(a,this,k),h=e.fragment,h.childNodes.length===1?g=h=h.firstChild:g=h.firstChild;if(g){c=c&&f.nodeName(g,"tr");for(var l=0,m=this.length,n=m-1;l<m;l++)d.call(c?bl(this[l],g):this[l],e.cacheable||m>1&&l<n?f.clone(h,!0,!0):h)}k.length&&f.each(k,br)}return this}}),f.buildFragment=function(a,b,d){var e,g,h,i,j=a[0];b&&b[0]&&(i=b[0].ownerDocument||b[0]),i.createDocumentFragment||(i=c),a.length===1&&typeof j=="string"&&j.length<512&&i===c&&j.charAt(0)==="<"&&!be.test(j)&&(f.support.checkClone||!bg.test(j))&&!f.support.unknownElems&&bf.test(j)&&(g=!0,h=f.fragments[j],h&&h!==1&&(e=h)),e||(e=i.createDocumentFragment(),f.clean(a,i,e,d)),g&&(f.fragments[j]=h?e:1);return{fragment:e,cacheable:g}},f.fragments={},f.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,b){f.fn[a]=function(c){var d=[],e=f(c),g=this.length===1&&this[0].parentNode;if(g&&g.nodeType===11&&g.childNodes.length===1&&e.length===1){e[b](this[0]);return this}for(var h=0,i=e.length;h<i;h++){var j=(h>0?this.clone(!0):this).get();f(e[h])[b](j),d=d.concat(j)}return this.pushStack(d,a,e.selector)}}),f.extend({clone:function(a,b,c){var d=a.cloneNode(!0),e,g,h;if((!f.support.noCloneEvent||!f.support.noCloneChecked)&&(a.nodeType===1||a.nodeType===11)&&!f.isXMLDoc(a)){bn(a,d),e=bo(a),g=bo(d);for(h=0;e[h];++h)g[h]&&bn(e[h],g[h])}if(b){bm(a,d);if(c){e=bo(a),g=bo(d);for(h=0;e[h];++h)bm(e[h],g[h])}}e=g=null;return d},clean:function(a,b,d,e){var g;b=b||c,typeof b.createElement=="undefined"&&(b=b.ownerDocument||b[0]&&b[0].ownerDocument||c);var h=[],i;for(var j=0,k;(k=a[j])!=null;j++){typeof k=="number"&&(k+="");if(!k)continue;if(typeof k=="string")if(!bc.test(k))k=b.createTextNode(k);else{k=k.replace(_,"<$1></$2>");var l=(ba.exec(k)||["",""])[1].toLowerCase(),m=bj[l]||bj._default,n=m[0],o=b.createElement("div");b===c?bk.appendChild(o):X(b).appendChild(o),o.innerHTML=m[1]+k+m[2];while(n--)o=o.lastChild;if(!f.support.tbody){var p=bb.test(k),q=l==="table"&&!p?o.firstChild&&o.firstChild.childNodes:m[1]==="<table>"&&!p?o.childNodes:[];for(i=q.length-1;i>=0;--i)f.nodeName(q[i],"tbody")&&!q[i].childNodes.length&&q[i].parentNode.removeChild(q[i])}!f.support.leadingWhitespace&&$.test(k)&&o.insertBefore(b.createTextNode($.exec(k)[0]),o.firstChild),k=o.childNodes}var r;if(!f.support.appendChecked)if(k[0]&&typeof (r=k.length)=="number")for(i=0;i<r;i++)bq(k[i]);else bq(k);k.nodeType?h.push(k):h=f.merge(h,k)}if(d){g=function(a){return!a.type||bh.test(a.type)};for(j=0;h[j];j++)if(e&&f.nodeName(h[j],"script")&&(!h[j].type||h[j].type.toLowerCase()==="text/javascript"))e.push(h[j].parentNode?h[j].parentNode.removeChild(h[j]):h[j]);else{if(h[j].nodeType===1){var s=f.grep(h[j].getElementsByTagName("script"),g);h.splice.apply(h,[j+1,0].concat(s))}d.appendChild(h[j])}}return h},cleanData:function(a){var b,c,d=f.cache,e=f.event.special,g=f.support.deleteExpando;for(var h=0,i;(i=a[h])!=null;h++){if(i.nodeName&&f.noData[i.nodeName.toLowerCase()])continue;c=i[f.expando];if(c){b=d[c];if(b&&b.events){for(var j in b.events)e[j]?f.event.remove(i,j):f.removeEvent(i,j,b.handle);b.handle&&(b.handle.elem=null)}g?delete i[f.expando]:i.removeAttribute&&i.removeAttribute(f.expando),delete d[c]}}}});var bs=/alpha\([^)]*\)/i,bt=/opacity=([^)]*)/,bu=/([A-Z]|^ms)/g,bv=/^-?\d+(?:px)?$/i,bw=/^-?\d/,bx=/^([\-+])=([\-+.\de]+)/,by={position:"absolute",visibility:"hidden",display:"block"},bz=["Left","Right"],bA=["Top","Bottom"],bB,bC,bD;f.fn.css=function(a,c){if(arguments.length===2&&c===b)return this;return f.access(this,a,c,!0,function(a,c,d){return d!==b?f.style(a,c,d):f.css(a,c)})},f.extend({cssHooks:{opacity:{get:function(a,b){if(b){var c=bB(a,"opacity","opacity");return c===""?"1":c}return a.style.opacity}}},cssNumber:{fillOpacity:!0,fontWeight:!0,lineHeight:!0,opacity:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":f.support.cssFloat?"cssFloat":"styleFloat"},style:function(a,c,d,e){if(!!a&&a.nodeType!==3&&a.nodeType!==8&&!!a.style){var g,h,i=f.camelCase(c),j=a.style,k=f.cssHooks[i];c=f.cssProps[i]||i;if(d===b){if(k&&"get"in k&&(g=k.get(a,!1,e))!==b)return g;return j[c]}h=typeof d,h==="string"&&(g=bx.exec(d))&&(d=+(g[1]+1)*+g[2]+parseFloat(f.css(a,c)),h="number");if(d==null||h==="number"&&isNaN(d))return;h==="number"&&!f.cssNumber[i]&&(d+="px");if(!k||!("set"in k)||(d=k.set(a,d))!==b)try{j[c]=d}catch(l){}}},css:function(a,c,d){var e,g;c=f.camelCase(c),g=f.cssHooks[c],c=f.cssProps[c]||c,c==="cssFloat"&&(c="float");if(g&&"get"in g&&(e=g.get(a,!0,d))!==b)return e;if(bB)return bB(a,c)},swap:function(a,b,c){var d={};for(var e in b)d[e]=a.style[e],a.style[e]=b[e];c.call(a);for(e in b)a.style[e]=d[e]}}),f.curCSS=f.css,f.each(["height","width"],function(a,b){f.cssHooks[b]={get:function(a,c,d){var e;if(c){if(a.offsetWidth!==0)return bE(a,b,d);f.swap(a,by,function(){e=bE(a,b,d)});return e}},set:function(a,b){if(!bv.test(b))return b;b=parseFloat(b);if(b>=0)return b+"px"}}}),f.support.opacity||(f.cssHooks.opacity={get:function(a,b){return bt.test((b&&a.currentStyle?a.currentStyle.filter:a.style.filter)||"")?parseFloat(RegExp.$1)/100+"":b?"1":""},set:function(a,b){var c=a.style,d=a.currentStyle,e=f.isNumeric(b)?"alpha(opacity="+b*100+")":"",g=d&&d.filter||c.filter||"";c.zoom=1;if(b>=1&&f.trim(g.replace(bs,""))===""){c.removeAttribute("filter");if(d&&!d.filter)return}c.filter=bs.test(g)?g.replace(bs,e):g+" "+e}}),f(function(){f.support.reliableMarginRight||(f.cssHooks.marginRight={get:function(a,b){var c;f.swap(a,{display:"inline-block"},function(){b?c=bB(a,"margin-right","marginRight"):c=a.style.marginRight});return c}})}),c.defaultView&&c.defaultView.getComputedStyle&&(bC=function(a,c){var d,e,g;c=c.replace(bu,"-$1").toLowerCase();if(!(e=a.ownerDocument.defaultView))return b;if(g=e.getComputedStyle(a,null))d=g.getPropertyValue(c),d===""&&!f.contains(a.ownerDocument.documentElement,a)&&(d=f.style(a,c));return d}),c.documentElement.currentStyle&&(bD=function(a,b){var c,d,e,f=a.currentStyle&&a.currentStyle[b],g=a.style;f===null&&g&&(e=g[b])&&(f=e),!bv.test(f)&&bw.test(f)&&(c=g.left,d=a.runtimeStyle&&a.runtimeStyle.left,d&&(a.runtimeStyle.left=a.currentStyle.left),g.left=b==="fontSize"?"1em":f||0,f=g.pixelLeft+"px",g.left=c,d&&(a.runtimeStyle.left=d));return f===""?"auto":f}),bB=bC||bD,f.expr&&f.expr.filters&&(f.expr.filters.hidden=function(a){var b=a.offsetWidth,c=a.offsetHeight;return b===0&&c===0||!f.support.reliableHiddenOffsets&&(a.style&&a.style.display||f.css(a,"display"))==="none"},f.expr.filters.visible=function(a){return!f.expr.filters.hidden(a)});var bF=/%20/g,bG=/\[\]$/,bH=/\r?\n/g,bI=/#.*$/,bJ=/^(.*?):[ \t]*([^\r\n]*)\r?$/mg,bK=/^(?:color|date|datetime|datetime-local|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,bL=/^(?:about|app|app\-storage|.+\-extension|file|res|widget):$/,bM=/^(?:GET|HEAD)$/,bN=/^\/\//,bO=/\?/,bP=/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,bQ=/^(?:select|textarea)/i,bR=/\s+/,bS=/([?&])_=[^&]*/,bT=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+))?)?/,bU=f.fn.load,bV={},bW={},bX,bY,bZ=["*/"]+["*"];try{bX=e.href}catch(b$){bX=c.createElement("a"),bX.href="",bX=bX.href}bY=bT.exec(bX.toLowerCase())||[],f.fn.extend({load:function(a,c,d){if(typeof a!="string"&&bU)return bU.apply(this,arguments);if(!this.length)return this;var e=a.indexOf(" ");if(e>=0){var g=a.slice(e,a.length);a=a.slice(0,e)}var h="GET";c&&(f.isFunction(c)?(d=c,c=b):typeof c=="object"&&(c=f.param(c,f.ajaxSettings.traditional),h="POST"));var i=this;f.ajax({url:a,type:h,dataType:"html",data:c,complete:function(a,b,c){c=a.responseText,a.isResolved()&&(a.done(function(a){c=a}),i.html(g?f("<div>").append(c.replace(bP,"")).find(g):c)),d&&i.each(d,[c,b,a])}});return this},serialize:function(){return f.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?f.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||bQ.test(this.nodeName)||bK.test(this.type))}).map(function(a,b){var c=f(this).val();return c==null?null:f.isArray(c)?f.map(c,function(a,c){return{name:b.name,value:a.replace(bH,"\r\n")}}):{name:b.name,value:c.replace(bH,"\r\n")}}).get()}}),f.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(a,b){f.fn[b]=function(a){return this.bind(b,a)}}),f.each(["get","post"],function(a,c){f[c]=function(a,d,e,g){f.isFunction(d)&&(g=g||e,e=d,d=b);return f.ajax({type:c,url:a,data:d,success:e,dataType:g})}}),f.extend({getScript:function(a,c){return f.get(a,b,c,"script")},getJSON:function(a,b,c){return f.get(a,b,c,"json")},ajaxSetup:function(a,b){b?cb(a,f.ajaxSettings):(b=a,a=f.ajaxSettings),cb(a,b);return a},ajaxSettings:{url:bX,isLocal:bL.test(bY[1]),global:!0,type:"GET",contentType:"application/x-www-form-urlencoded",processData:!0,async:!0,accepts:{xml:"application/xml, text/xml",html:"text/html",text:"text/plain",json:"application/json, text/javascript","*":bZ},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":a.String,"text html":!0,"text json":f.parseJSON,"text xml":f.parseXML},flatOptions:{context:!0,url:!0}},ajaxPrefilter:b_(bV),ajaxTransport:b_(bW),ajax:function(a,c){function w(a,c,l,m){if(s!==2){s=2,q&&clearTimeout(q),p=b,n=m||"",v.readyState=a>0?4:0;var o,r,u,w=c,x=l?cd(d,v,l):b,y,z;if(a>=200&&a<300||a===304){if(d.ifModified){if(y=v.getResponseHeader("Last-Modified"))f.lastModified[k]=y;if(z=v.getResponseHeader("Etag"))f.etag[k]=z}if(a===304)w="notmodified",o=!0;else try{r=ce(d,x),w="success",o=!0}catch(A){w="parsererror",u=A}}else{u=w;if(!w||a)w="error",a<0&&(a=0)}v.status=a,v.statusText=""+(c||w),o?h.resolveWith(e,[r,w,v]):h.rejectWith(e,[v,w,u]),v.statusCode(j),j=b,t&&g.trigger("ajax"+(o?"Success":"Error"),[v,d,o?r:u]),i.fireWith(e,[v,w]),t&&(g.trigger("ajaxComplete",[v,d]),--f.active||f.event.trigger("ajaxStop"))}}typeof a=="object"&&(c=a,a=b),c=c||{};var d=f.ajaxSetup({},c),e=d.context||d,g=e!==d&&(e.nodeType||e instanceof f)?f(e):f.event,h=f.Deferred(),i=f.Callbacks("once memory"),j=d.statusCode||{},k,l={},m={},n,o,p,q,r,s=0,t,u,v={readyState:0,setRequestHeader:function(a,b){if(!s){var c=a.toLowerCase();a=m[c]=m[c]||a,l[a]=b}return this},getAllResponseHeaders:function(){return s===2?n:null},getResponseHeader:function(a){var c;if(s===2){if(!o){o={};while(c=bJ.exec(n))o[c[1].toLowerCase()]=c[2]}c=o[a.toLowerCase()]}return c===b?null:c},overrideMimeType:function(a){s||(d.mimeType=a);return this},abort:function(a){a=a||"abort",p&&p.abort(a),w(0,a);return this}};h.promise(v),v.success=v.done,v.error=v.fail,v.complete=i.add,v.statusCode=function(a){if(a){var b;if(s<2)for(b in a)j[b]=[j[b],a[b]];else b=a[v.status],v.then(b,b)}return this},d.url=((a||d.url)+"").replace(bI,"").replace(bN,bY[1]+"//"),d.dataTypes=f.trim(d.dataType||"*").toLowerCase().split(bR),d.crossDomain==null&&(r=bT.exec(d.url.toLowerCase()),d.crossDomain=!(!r||r[1]==bY[1]&&r[2]==bY[2]&&(r[3]||(r[1]==="http:"?80:443))==(bY[3]||(bY[1]==="http:"?80:443)))),d.data&&d.processData&&typeof d.data!="string"&&(d.data=f.param(d.data,d.traditional)),ca(bV,d,c,v);if(s===2)return!1;t=d.global,d.type=d.type.toUpperCase(),d.hasContent=!bM.test(d.type),t&&f.active++===0&&f.event.trigger("ajaxStart");if(!d.hasContent){d.data&&(d.url+=(bO.test(d.url)?"&":"?")+d.data,delete d.data),k=d.url;if(d.cache===!1){var x=f.now(),y=d.url.replace(bS,"$1_="+x);d.url=y+(y===d.url?(bO.test(d.url)?"&":"?")+"_="+x:"")}}(d.data&&d.hasContent&&d.contentType!==!1||c.contentType)&&v.setRequestHeader("Content-Type",d.contentType),d.ifModified&&(k=k||d.url,f.lastModified[k]&&v.setRequestHeader("If-Modified-Since",f.lastModified[k]),f.etag[k]&&v.setRequestHeader("If-None-Match",f.etag[k])),v.setRequestHeader("Accept",d.dataTypes[0]&&d.accepts[d.dataTypes[0]]?d.accepts[d.dataTypes[0]]+(d.dataTypes[0]!=="*"?", "+bZ+"; q=0.01":""):d.accepts["*"]);for(u in d.headers)v.setRequestHeader(u,d.headers[u]);if(d.beforeSend&&(d.beforeSend.call(e,v,d)===!1||s===2)){v.abort();return!1}for(u in{success:1,error:1,complete:1})v[u](d[u]);p=ca(bW,d,c,v);if(!p)w(-1,"No Transport");else{v.readyState=1,t&&g.trigger("ajaxSend",[v,d]),d.async&&d.timeout>0&&(q=setTimeout(function(){v.abort("timeout")},d.timeout));try{s=1,p.send(l,w)}catch(z){s<2?w(-1,z):f.error(z)}}return v},param:function(a,c){var d=[],e=function(a,b){b=f.isFunction(b)?b():b,d[d.length]=encodeURIComponent(a)+"="+encodeURIComponent(b)};c===b&&(c=f.ajaxSettings.traditional);if(f.isArray(a)||a.jquery&&!f.isPlainObject(a))f.each(a,function(){e(this.name,this.value)});else for(var g in a)cc(g,a[g],c,e);return d.join("&").replace(bF,"+")}}),f.extend({active:0,lastModified:{},etag:{}});var cf=f.now(),cg=/(\=)\?(&|$)|\?\?/i;f.ajaxSetup({jsonp:"callback",jsonpCallback:function(){return f.expando+"_"+cf++}}),f.ajaxPrefilter("json jsonp",function(b,c,d){var e=b.contentType==="application/x-www-form-urlencoded"&&typeof b.data=="string";if(b.dataTypes[0]==="jsonp"||b.jsonp!==!1&&(cg.test(b.url)||e&&cg.test(b.data))){var g,h=b.jsonpCallback=f.isFunction(b.jsonpCallback)?b.jsonpCallback():b.jsonpCallback,i=a[h],j=b.url,k=b.data,l="$1"+h+"$2";b.jsonp!==!1&&(j=j.replace(cg,l),b.url===j&&(e&&(k=k.replace(cg,l)),b.data===k&&(j+=(/\?/.test(j)?"&":"?")+b.jsonp+"="+h))),b.url=j,b.data=k,a[h]=function(a){g=[a]},d.always(function(){a[h]=i,g&&f.isFunction(i)&&a[h](g[0])}),b.converters["script json"]=function(){g||f.error(h+" was not called");return g[0]},b.dataTypes[0]="json";return"script"}}),f.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/javascript|ecmascript/},converters:{"text script":function(a){f.globalEval(a);return a}}}),f.ajaxPrefilter("script",function(a){a.cache===b&&(a.cache=!1),a.crossDomain&&(a.type="GET",a.global=!1)}),f.ajaxTransport("script",function(a){if(a.crossDomain){var d,e=c.head||c.getElementsByTagName("head")[0]||c.documentElement;return{send:function(f,g){d=c.createElement("script"),d.async="async",a.scriptCharset&&(d.charset=a.scriptCharset),d.src=a.url,d.onload=d.onreadystatechange=function(a,c){if(c||!d.readyState||/loaded|complete/.test(d.readyState))d.onload=d.onreadystatechange=null,e&&d.parentNode&&e.removeChild(d),d=b,c||g(200,"success")},e.insertBefore(d,e.firstChild)},abort:function(){d&&d.onload(0,1)}}}});var ch=a.ActiveXObject?function(){for(var a in cj)cj[a](0,1)}:!1,ci=0,cj;f.ajaxSettings.xhr=a.ActiveXObject?function(){return!this.isLocal&&ck()||cl()}:ck,function(a){f.extend(f.support,{ajax:!!a,cors:!!a&&"withCredentials"in a})}(f.ajaxSettings.xhr()),f.support.ajax&&f.ajaxTransport(function(c){if(!c.crossDomain||f.support.cors){var d;return{send:function(e,g){var h=c.xhr(),i,j;c.username?h.open(c.type,c.url,c.async,c.username,c.password):h.open(c.type,c.url,c.async);if(c.xhrFields)for(j in c.xhrFields)h[j]=c.xhrFields[j];c.mimeType&&h.overrideMimeType&&h.overrideMimeType(c.mimeType),!c.crossDomain&&!e["X-Requested-With"]&&(e["X-Requested-With"]="XMLHttpRequest");try{for(j in e)h.setRequestHeader(j,e[j])}catch(k){}h.send(c.hasContent&&c.data||null),d=function(a,e){var j,k,l,m,n;try{if(d&&(e||h.readyState===4)){d=b,i&&(h.onreadystatechange=f.noop,ch&&delete cj[i]);if(e)h.readyState!==4&&h.abort();else{j=h.status,l=h.getAllResponseHeaders(),m={},n=h.responseXML,n&&n.documentElement&&(m.xml=n),m.text=h.responseText;try{k=h.statusText}catch(o){k=""}!j&&c.isLocal&&!c.crossDomain?j=m.text?200:404:j===1223&&(j=204)}}}catch(p){e||g(-1,p)}m&&g(j,k,m,l)},!c.async||h.readyState===4?d():(i=++ci,ch&&(cj||(cj={},f(a).unload(ch)),cj[i]=d),h.onreadystatechange=d)},abort:function(){d&&d(0,1)}}}});var cm={},cn,co,cp=/^(?:toggle|show|hide)$/,cq=/^([+\-]=)?([\d+.\-]+)([a-z%]*)$/i,cr,cs=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]],ct;f.fn.extend({show:function(a,b,c){var d,e;if(a||a===0)return this.animate(cw("show",3),a,b,c);for(var g=0,h=this.length;g<h;g++)d=this[g],d.style&&(e=d.style.display,!f._data(d,"olddisplay")&&e==="none"&&(e=d.style.display=""),e===""&&f.css(d,"display")==="none"&&f._data(d,"olddisplay",cx(d.nodeName)));for(g=0;g<h;g++){d=this[g];if(d.style){e=d.style.display;if(e===""||e==="none")d.style.display=f._data(d,"olddisplay")||""}}return this},hide:function(a,b,c){if(a||a===0)return this.animate(cw("hide",3),a,b,c);var d,e,g=0,h=this.length;for(;g<h;g++)d=this[g],d.style&&(e=f.css(d,"display"),e!=="none"&&!f._data(d,"olddisplay")&&f._data(d,"olddisplay",e));for(g=0;g<h;g++)this[g].style&&(this[g].style.display="none");return this},_toggle:f.fn.toggle,toggle:function(a,b,c){var d=typeof a=="boolean";f.isFunction(a)&&f.isFunction(b)?this._toggle.apply(this,arguments):a==null||d?this.each(function(){var b=d?a:f(this).is(":hidden");f(this)[b?"show":"hide"]()}):this.animate(cw("toggle",3),a,b,c);return this},fadeTo:function(a,b,c,d){return this.filter(":hidden").css("opacity",0).show().end().animate({opacity:b},a,c,d)},animate:function(a,b,c,d){function g(){e.queue===!1&&f._mark(this);var b=f.extend({},e),c=this.nodeType===1,d=c&&f(this).is(":hidden"),g,h,i,j,k,l,m,n,o;b.animatedProperties={};for(i in a){g=f.camelCase(i),i!==g&&(a[g]=a[i],delete a[i]),h=a[g],f.isArray(h)?(b.animatedProperties[g]=h[1],h=a[g]=h[0]):b.animatedProperties[g]=b.specialEasing&&b.specialEasing[g]||b.easing||"swing";if(h==="hide"&&d||h==="show"&&!d)return b.complete.call(this);c&&(g==="height"||g==="width")&&(b.overflow=[this.style.overflow,this.style.overflowX,this.style.overflowY],f.css(this,"display")==="inline"&&f.css(this,"float")==="none"&&(!f.support.inlineBlockNeedsLayout||cx(this.nodeName)==="inline"?this.style.display="inline-block":this.style.zoom=1))}b.overflow!=null&&(this.style.overflow="hidden");for(i in a)j=new f.fx(this,b,i),h=a[i],cp.test(h)?(o=f._data(this,"toggle"+i)||(h==="toggle"?d?"show":"hide":0),o?(f._data(this,"toggle"+i,o==="show"?"hide":"show"),j[o]()):j[h]()):(k=cq.exec(h),l=j.cur(),k?(m=parseFloat(k[2]),n=k[3]||(f.cssNumber[i]?"":"px"),n!=="px"&&(f.style(this,i,(m||1)+n),l=(m||1)/j.cur()*l,f.style(this,i,l+n)),k[1]&&(m=(k[1]==="-="?-1:1)*m+l),j.custom(l,m,n)):j.custom(l,h,""));return!0}var e=f.speed(b,c,d);if(f.isEmptyObject(a))return this.each(e.complete,[!1]);a=f.extend({},a);return e.queue===!1?this.each(g):this.queue(e.queue,g)},stop:function(a,c,d){typeof a!="string"&&(d=c,c=a,a=b),c&&a!==!1&&this.queue(a||"fx",[]);return this.each(function(){function h(a,b,c){var e=b[c];f.removeData(a,c,!0),e.stop(d)}var b,c=!1,e=f.timers,g=f._data(this);d||f._unmark(!0,this);if(a==null)for(b in g)g[b].stop&&b.indexOf(".run")===b.length-4&&h(this,g,b);else g[b=a+".run"]&&g[b].stop&&h(this,g,b);for(b=e.length;b--;)e[b].elem===this&&(a==null||e[b].queue===a)&&(d?e[b](!0):e[b].saveState(),c=!0,e.splice(b,1));(!d||!c)&&f.dequeue(this,a)})}}),f.each({slideDown:cw("show",1),slideUp:cw("hide",1),slideToggle:cw("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(a,b){f.fn[a]=function(a,c,d){return this.animate(b,a,c,d)}}),f.extend({speed:function(a,b,c){var d=a&&typeof a=="object"?f.extend({},a):{complete:c||!c&&b||f.isFunction(a)&&a,duration:a,easing:c&&b||b&&!f.isFunction(b)&&b};d.duration=f.fx.off?0:typeof d.duration=="number"?d.duration:d.duration in f.fx.speeds?f.fx.speeds[d.duration]:f.fx.speeds._default;if(d.queue==null||d.queue===!0)d.queue="fx";d.old=d.complete,d.complete=function(a){f.isFunction(d.old)&&d.old.call(this),d.queue?f.dequeue(this,d.queue):a!==!1&&f._unmark(this)};return d},easing:{linear:function(a,b,c,d){return c+d*a},swing:function(a,b,c,d){return(-Math.cos(a*Math.PI)/2+.5)*d+c}},timers:[],fx:function(a,b,c){this.options=b,this.elem=a,this.prop=c,b.orig=b.orig||{}}}),f.fx.prototype={update:function(){this.options.step&&this.options.step.call(this.elem,this.now,this),(f.fx.step[this.prop]||f.fx.step._default)(this)},cur:function(){if(this.elem[this.prop]!=null&&(!this.elem.style||this.elem.style[this.prop]==null))return this.elem[this.prop];var a,b=f.css(this.elem,this.prop);return isNaN(a=parseFloat(b))?!b||b==="auto"?0:b:a},custom:function(a,c,d){function h(a){return e.step(a)}var e=this,g=f.fx;this.startTime=ct||cu(),this.end=c,this.now=this.start=a,this.pos=this.state=0,this.unit=d||this.unit||(f.cssNumber[this.prop]?"":"px"),h.queue=this.options.queue,h.elem=this.elem,h.saveState=function(){e.options.hide&&f._data(e.elem,"fxshow"+e.prop)===b&&f._data(e.elem,"fxshow"+e.prop,e.start)},h()&&f.timers.push(h)&&!cr&&(cr=setInterval(g.tick,g.interval))},show:function(){var a=f._data(this.elem,"fxshow"+this.prop);this.options.orig[this.prop]=a||f.style(this.elem,this.prop),this.options.show=!0,a!==b?this.custom(this.cur(),a):this.custom(this.prop==="width"||this.prop==="height"?1:0,this.cur()),f(this.elem).show()},hide:function(){this.options.orig[this.prop]=f._data(this.elem,"fxshow"+this.prop)||f.style(this.elem,this.prop),this.options.hide=!0,this.custom(this.cur(),0)},step:function(a){var b,c,d,e=ct||cu(),g=!0,h=this.elem,i=this.options;if(a||e>=i.duration+this.startTime){this.now=this.end,this.pos=this.state=1,this.update(),i.animatedProperties[this.prop]=!0;for(b in i.animatedProperties)i.animatedProperties[b]!==!0&&(g=!1);if(g){i.overflow!=null&&!f.support.shrinkWrapBlocks&&f.each(["","X","Y"],function(a,b){h.style["overflow"+b]=i.overflow[a]}),i.hide&&f(h).hide();if(i.hide||i.show)for(b in i.animatedProperties)f.style(h,b,i.orig[b]),f.removeData(h,"fxshow"+b,!0),f.removeData(h,"toggle"+b,!0);d=i.complete,d&&(i.complete=!1,d.call(h))}return!1}i.duration==Infinity?this.now=e:(c=e-this.startTime,this.state=c/i.duration,this.pos=f.easing[i.animatedProperties[this.prop]](this.state,c,0,1,i.duration),this.now=this.start+(this.end-this.start)*this.pos),this.update();return!0}},f.extend(f.fx,{tick:function(){var a,b=f.timers,c=0;for(;c<b.length;c++)a=b[c],!a()&&b[c]===a&&b.splice(c--,1);b.length||f.fx.stop()},interval:13,stop:function(){clearInterval(cr),cr=null},speeds:{slow:600,fast:200,_default:400},step:{opacity:function(a){f.style(a.elem,"opacity",a.now)},_default:function(a){a.elem.style&&a.elem.style[a.prop]!=null?a.elem.style[a.prop]=a.now+a.unit:a.elem[a.prop]=a.now}}}),f.each(["width","height"],function(a,b){f.fx.step[b]=function(a){f.style(a.elem,b,Math.max(0,a.now))}}),f.expr&&f.expr.filters&&(f.expr.filters.animated=function(a){return f.grep(f.timers,function(b){return a===b.elem}).length});var cy=/^t(?:able|d|h)$/i,cz=/^(?:body|html)$/i;"getBoundingClientRect"in c.documentElement?f.fn.offset=function(a){var b=this[0],c;if(a)return this.each(function(b){f.offset.setOffset(this,a,b)});if(!b||!b.ownerDocument)return null;if(b===b.ownerDocument.body)return f.offset.bodyOffset(b);try{c=b.getBoundingClientRect()}catch(d){}var e=b.ownerDocument,g=e.documentElement;if(!c||!f.contains(g,b))return c?{top:c.top,left:c.left}:{top:0,left:0};var h=e.body,i=cA(e),j=g.clientTop||h.clientTop||0,k=g.clientLeft||h.clientLeft||0,l=i.pageYOffset||f.support.boxModel&&g.scrollTop||h.scrollTop,m=i.pageXOffset||f.support.boxModel&&g.scrollLeft||h.scrollLeft,n=c.top+l-j,o=c.left+m-k;return{top:n,left:o}}:f.fn.offset=function(a){var b=this[0];if(a)return this.each(function(b){f.offset.setOffset(this,a,b)});if(!b||!b.ownerDocument)return null;if(b===b.ownerDocument.body)return f.offset.bodyOffset(b);var c,d=b.offsetParent,e=b,g=b.ownerDocument,h=g.documentElement,i=g.body,j=g.defaultView,k=j?j.getComputedStyle(b,null):b.currentStyle,l=b.offsetTop,m=b.offsetLeft;while((b=b.parentNode)&&b!==i&&b!==h){if(f.support.fixedPosition&&k.position==="fixed")break;c=j?j.getComputedStyle(b,null):b.currentStyle,l-=b.scrollTop,m-=b.scrollLeft,b===d&&(l+=b.offsetTop,m+=b.offsetLeft,f.support.doesNotAddBorder&&(!f.support.doesAddBorderForTableAndCells||!cy.test(b.nodeName))&&(l+=parseFloat(c.borderTopWidth)||0,m+=parseFloat(c.borderLeftWidth)||0),e=d,d=b.offsetParent),f.support.subtractsBorderForOverflowNotVisible&&c.overflow!=="visible"&&(l+=parseFloat(c.borderTopWidth)||0,m+=parseFloat(c.borderLeftWidth)||0),k=c}if(k.position==="relative"||k.position==="static")l+=i.offsetTop,m+=i.offsetLeft;f.support.fixedPosition&&k.position==="fixed"&&(l+=Math.max(h.scrollTop,i.scrollTop),m+=Math.max(h.scrollLeft,i.scrollLeft));return{top:l,left:m}},f.offset={bodyOffset:function(a){var b=a.offsetTop,c=a.offsetLeft;f.support.doesNotIncludeMarginInBodyOffset&&(b+=parseFloat(f.css(a,"marginTop"))||0,c+=parseFloat(f.css(a,"marginLeft"))||0);return{top:b,left:c}},setOffset:function(a,b,c){var d=f.css(a,"position");d==="static"&&(a.style.position="relative");var e=f(a),g=e.offset(),h=f.css(a,"top"),i=f.css(a,"left"),j=(d==="absolute"||d==="fixed")&&f.inArray("auto",[h,i])>-1,k={},l={},m,n;j?(l=e.position(),m=l.top,n=l.left):(m=parseFloat(h)||0,n=parseFloat(i)||0),f.isFunction(b)&&(b=b.call(a,c,g)),b.top!=null&&(k.top=b.top-g.top+m),b.left!=null&&(k.left=b.left-g.left+n),"using"in b?b.using.call(a,k):e.css(k)}},f.fn.extend({position:function(){if(!this[0])return null;var a=this[0],b=this.offsetParent(),c=this.offset(),d=cz.test(b[0].nodeName)?{top:0,left:0}:b.offset();c.top-=parseFloat(f.css(a,"marginTop"))||0,c.left-=parseFloat(f.css(a,"marginLeft"))||0,d.top+=parseFloat(f.css(b[0],"borderTopWidth"))||0,d.left+=parseFloat(f.css(b[0],"borderLeftWidth"))||0;return{top:c.top-d.top,left:c.left-d.left}},offsetParent:function(){return this.map(function(){var a=this.offsetParent||c.body;while(a&&!cz.test(a.nodeName)&&f.css(a,"position")==="static")a=a.offsetParent;return a})}}),f.each(["Left","Top"],function(a,c){var d="scroll"+c;f.fn[d]=function(c){var e,g;if(c===b){e=this[0];if(!e)return null;g=cA(e);return g?"pageXOffset"in g?g[a?"pageYOffset":"pageXOffset"]:f.support.boxModel&&g.document.documentElement[d]||g.document.body[d]:e[d]}return this.each(function(){g=cA(this),g?g.scrollTo(a?f(g).scrollLeft():c,a?c:f(g).scrollTop()):this[d]=c})}}),f.each(["Height","Width"],function(a,c){var d=c.toLowerCase();f.fn["inner"+c]=function(){var a=this[0];return a?a.style?parseFloat(f.css(a,d,"padding")):this[d]():null},f.fn["outer"+c]=function(a){var b=this[0];return b?b.style?parseFloat(f.css(b,d,a?"margin":"border")):this[d]():null},f.fn[d]=function(a){var e=this[0];if(!e)return a==null?null:this;if(f.isFunction(a))return this.each(function(b){var c=f(this);c[d](a.call(this,b,c[d]()))});if(f.isWindow(e)){var g=e.document.documentElement["client"+c],h=e.document.body;return e.document.compatMode==="CSS1Compat"&&g||h&&h["client"+c]||g}if(e.nodeType===9)return Math.max(e.documentElement["client"+c],e.body["scroll"+c],e.documentElement["scroll"+c],e.body["offset"+c],e.documentElement["offset"+c]);if(a===b){var i=f.css(e,d),j=parseFloat(i);return f.isNumeric(j)?j:i}return this.css(d,typeof a=="string"?a:a+"px")}}),a.jQuery=a.$=f})(window);
</script>


                
                <script>
function userAgent(){var e,i,n,o="-",t=navigator.appVersion,r=navigator.userAgent,s=navigator.appName,a=""+parseFloat(navigator.appVersion),c=parseInt(navigator.appVersion,10);-1!=(i=r.indexOf("Opera"))?(s="Opera",a=r.substring(i+6),-1!=(i=r.indexOf("Version"))&&(a=r.substring(i+8))):-1!=(i=r.indexOf("MSIE"))?(s="Microsoft Internet Explorer",a=r.substring(i+5)):-1!=(i=r.indexOf("Chrome"))?(s="Chrome",a=r.substring(i+7)):-1!=(i=r.indexOf("Safari"))?(s="Safari",a=r.substring(i+7),-1!=(i=r.indexOf("Version"))&&(a=r.substring(i+8))):-1!=(i=r.indexOf("Firefox"))?(s="Firefox",a=r.substring(i+8)):-1!=r.indexOf("Trident/")?(s="Microsoft Internet Explorer",a=r.substring(r.indexOf("rv:")+3)):(e=r.lastIndexOf(" ")+1)<(i=r.lastIndexOf("/"))&&(s=r.substring(e,i),a=r.substring(i+1),s.toLowerCase()==s.toUpperCase()&&(s=navigator.appName)),-1!=(n=a.indexOf(";"))&&(a=a.substring(0,n)),-1!=(n=a.indexOf(" "))&&(a=a.substring(0,n)),-1!=(n=a.indexOf(")"))&&(a=a.substring(0,n)),c=parseInt(""+a,10),isNaN(c)&&(a=""+parseFloat(navigator.appVersion),c=parseInt(navigator.appVersion,10));var d=/Mobile|mini|Fennec|Android|iP(ad|od|hone)|BlackBerry|BB10/.test(t),l=(navigator.cookieEnabled?!0:!1,o),h=[{s:"Windows 3.11",r:/Win16/},{s:"Windows 95",r:/(Windows 95|Win95|Windows_95)/},{s:"Windows ME",r:/(Win 9x 4.90|Windows ME)/},{s:"Windows 98",r:/(Windows 98|Win98)/},{s:"Windows CE",r:/Windows CE/},{s:"Windows 2000",r:/(Windows NT 5.0|Windows 2000)/},{s:"Windows XP",r:/(Windows NT 5.1|Windows XP)/},{s:"Windows Server 2003",r:/Windows NT 5.2/},{s:"Windows Vista",r:/Windows NT 6.0/},{s:"Windows 7",r:/(Windows 7|Windows NT 6.1)/},{s:"Windows 8.1",r:/(Windows 8.1|Windows NT 6.3)/},{s:"Windows 8",r:/(Windows 8|Windows NT 6.2)/},{s:"Windows NT 4.0",r:/(Windows NT 4.0|WinNT4.0|WinNT|Windows NT)/},{s:"Windows ME",r:/Windows ME/},{s:"Android",r:/Android/},{s:"Open BSD",r:/OpenBSD/},{s:"Sun OS",r:/SunOS/},{s:"Linux",r:/(Linux|X11)/},{s:"iOS",r:/(iPhone|iPad|iPod)/},{s:"Mac OS X",r:/Mac OS X/},{s:"Mac OS",r:/(MacPPC|MacIntel|Mac_PowerPC|Macintosh)/},{s:"QNX",r:/QNX/},{s:"UNIX",r:/UNIX/},{s:"BeOS",r:/BeOS/},{s:"OS/2",r:/OS\/2/},{s:"Search Bot",r:/(nuhk|Googlebot|Yammybot|Openbot|Slurp|MSNBot|Ask Jeeves\/Teoma|ia_archiver)/},{s:"BlackBerry",r:/BlackBerry/},{s:"BB10",r:/BB10/}];for(var w in h){var u=h[w];if(u.r.test(r)){l=u.s;break}}var g=o;switch(/Windows/.test(l)&&(g=/Windows (.*)/.exec(l)[1],l="Windows"),l){case"Mac OS X":g=/Mac OS X (10[\.\_\d]+)/.exec(r)[1];break;case"Android":g=/Android ([\.\_\d]+)/.exec(r)[1];break;case"iOS":g=/OS (\d+)_(\d+)_?(\d+)?/.exec(t),g=g[1]+"."+g[2]+"."+(0|g[3]);break;case"BlackBerry":g=/BlackBerry\w+\/([\d\.]+)/i.exec(r)[1];break;case"BB10":g=10}return d?"chrome"===s.toLowerCase()?!1:"opera"===s.toLowerCase()&&a>=10?!1:"firefox"===s.toLowerCase()?!1:"android"===l.toLowerCase()&&4>=g?!1:"ios"===l.toLowerCase()&&g>=4?!1:("blackberry"===l.toLowerCase()||"bb10"===l.toLowerCase())&&g>=10?!1:!0:"microsoft internet explorer"===s.toLowerCase()?!0:"chrome"===s.toLowerCase()?"windows"===l.toLowerCase()&&"xp"===g.toLowerCase()&&parseFloat(a)<=6?!0:l.toLowerCase().indexOf("mac os")>-1&&parseFloat(g)<10.5&&parseFloat(a)<=5?!0:!1:"opera"===s.toLowerCase()?parseFloat(a)<=8?!0:!1:"firefox"===s.toLowerCase()?parseFloat(a)<=2?!0:!1:"safari"===s.toLowerCase()?parseFloat(a)<=3?!0:"windows"===l.toLowerCase()&&"xp"===g.toLowerCase()?!0:l.toLowerCase().indexOf("mac os")>-1&&parseFloat(g)<=10.5?!0:!1:void 0}function setDomainName(){userAgent()?(staticResourceURL="//c4c.phonon.in/Click2CallGWT/",nonStaticResourceURL="//c4c.phonon.in/Click2CallGWT/"):(staticResourceURL="//aws.phonon.in/Click2CallGWT/",nonStaticResourceURL="//c4c.phonon.in/Click2CallGWT/")}function getStaticResourceURL(){return setDomainName(),staticResourceURL}function callme(e,i,n,o,t,r){if(-1!==e.indexOf("{")&&(e=getReferrerI(e)),-1!==i.indexOf("{")&&(i=getReferrerI(i)),-1!==n.indexOf("{")&&(n=getReferrerI(n)),-1!==o.indexOf("{")&&(o=getReferrerI(o)),-1!==t.indexOf("{")&&(t=getReferrerI(t)),-1!==r.indexOf("{")&&(r=getReferrerI(r)),/Mobile|mini|Fennec|Android|iP(ad|od|hone)|B(lackBerry|B10)|RIM/.test(navigator.userAgent)&&"8tukl1ao"===e)window.location=nonStaticResourceURL.substring(0,nonStaticResourceURL.indexOf("Click2CallGWT"))+"MobileWidget/index.jsp?custToken="+e+"&udf1="+i+"&udf2="+n+"&udf3="+o+"&udf4="+t+"&udf5="+r+"&udf8=mobilewidget";else{console.log("custtoken in else :"+e),"rj4t7q85"===e?"banner"===o?(height="60",width="905"):"DialB2B"===o?(height="334",width="306"):(height="294",width="306"):"ax890ad"===e?"banner"===o?(height="60",width="905"):"AMEXNEW"===o?(width="600",height="270"):(width="320",height="250"):"31dc78g8"===e?"banner"===o?(height="60",width="905"):(height="250",width="286"):"ct987df"===e?"citibank"===o&&(height="260",width="400"):"1nfrwstj"===e?"banner"===o?(height="60",width="905"):(width="284",height="304"):"8tukl1ao"===e?(closeBtnCSS="cee_closeBtnITC","banner"===o?(height="60",width="905"):(width="404",height="389")):"jfw98uj"===e?(console.log("custtoken:"+e),closeBtnCSS="cee_closeBtnBIJLIPAY","banner"===o?(height="60",width="905"):(width="320",height="305")):"banner"===o?(height="60",width="905"):(width="284",height="304"),console.log("close btn="+closeBtnCSS);var s=staticResourceURL+"CallMePage.jsp";s=s+"?CustToken="+e+"&UDF1="+encodeURIComponent(i)+"&UDF2="+n+"&UDF3="+o+"&UDF4="+t+"&UDF5="+r+"&UDF6=1&sessionID=1234",$("body").append('<div id="cee_overlay" class="cee_close"></div>\n\n<div id="cee_html" class="cee_html divpopup" height="'+height+'" width="'+width+'" >\n\n<a title="Close" class="cee_close" id="'+closeBtnCSS+'" href="javascript:;">close</a>\n \n<div><h2></h2></div>\n\n<div id="cee_ajax">\n\n<iframe id="ceeboxiframe" class="ceeboxiframe" scrolling="no" height="'+height+'" width="'+width+'"src="'+s+"?ver="+Math.random()+'"  frameborder="0" allowTransparency="true">\n</iframe>\n </div>\n </div>'),$("#cee_overlay").show(),$("#cee_html").show();var a=$("#cee_html"),c=$(window).height(),d=$(window).width(),l=d/2-a.width()/2,h=c/2-a.height()/2;a.css({left:l,top:h}),$("#cee_closeBtn,#cee_closeBtnITC,#cee_closeBtnBIJLIPAY,#cee_overlay").click(function(){$("#ceeboxiframe").remove(),$("#cee_overlay").hide(),$("#cee_overlay").remove(),$("#cee_html").remove(),"ax890ad"===e&&_gaq.push(["_trackEvent","Close","Close"])})}}function includeCSS(){var e=document.createElement("link");e.rel="stylesheet",e.type="text/css",e.href=staticResourceURL+"static/CSS/StaticPopup.css",document.getElementsByTagName("head")[0].appendChild(e)}function includeJQuery(){if(!window.jQuery){var e=document.createElement("script");e.src=staticResourceURL+"static/JS/jquery-1.11.2.min.js",e.type="text/javascript",document.getElementsByTagName("head")[0].appendChild(e)}}function getReferrerI(e){return e=e.toString(),e=e.replace("{",""),e=e.replace("}",""),e=getParam(e)}var height="",width="",closeBtnCSS="cee_closeBtn";getStaticResourceURL(),includeCSS(),includeJQuery();var staticResourceURL,nonStaticResourceURL;
</script>

                <script  type="text/javascript">
  $(document).ready(function() {
    $('img').bind('contextmenu', function() {
      return false;
    });
  });
</script>

                <script>
function MM_openBrWindow(C,A,B){window.open(C,A,B)}function open_popup(C,A,B){window.open(C,A,B)}var pop;function show_win(){pop.focus()}function hide_win(A){pop.blur()}function get_form(C){for(var B=0;B<document.forms.length;B++){for(var A=0;A<document.forms[B].length;A++){if(document.forms[B].elements[A].name==C){return document.forms[B].elements[A].form}}}}function setCookie(B,D,A,F,C,E){document.cookie=B+"="+escape(D)+((A)?"; expires="+A.toGMTString():"")+((F)?"; path="+F:"")+((C)?"; domain="+C:"")+((E)?"; secure":"")}function getCookie(C){var B=document.cookie;var E=C+"=";var D=B.indexOf("; "+E);if(D==-1){D=B.indexOf(E);if(D!=0){return null}}else{D+=2}var A=document.cookie.indexOf(";",D);if(A==-1){A=B.length}return unescape(B.substring(D+E.length,A))}function deleteCookie(A,C,B){if(getCookie(A)){document.cookie=A+"="+((C)?"; path="+C:"")+((B)?"; domain="+B:"")+"; expires=Thu, 01-Jan-70 00:00:01 GMT"}}function toggle_view(A){if(document.getElementById){if(document.getElementById(A).style.visibility=="visible"){document.getElementById(A).style.visibility="hidden"}else{document.getElementById(A).style.visibility="visible"}}else{if(document.layers&&document.layers[A]!=null){if(document.layers[A].visibility=="visible"||document.layers[A].visibility=="show"){document.layers[A].visibility="hidden"}else{document.layers[A].visibility="visible"}}else{if(document.all){if(document.all[A].style.visibility=="visible"){document.all[A].style.visibility="hidden"}else{document.all[A].style.visibility="visible"}}}}return false}function style_chkbx(C,A){C.checked==true?B=A:B="";do{C=C.parentNode}while(C.nodeName!="TR");var B;C.style.backgroundColor=B}function style_form(B,A){do{B=B.parentNode}while(B.nodeName!="TR");B.style.backgroundColor=A}function getselectedradio(A){if(A[0]){for(var B=0;B<A.length;B++){if(A[B].checked){return B}}}else{if(A.checked){return 0}}return -1}function getselectedradiovalue(A){var B=getselectedradio(A);if(B==-1){return false}else{if(A[B]){return A[B].value}else{return A.value}}}function dropdownvalue(A){return A.options[A.selectedIndex].value}function dropdowntext(A){return A.options[A.selectedIndex].text}function resetradios(C){var A=document.getElementsByTagName("input");for(var B=0;B<A.length;B++){if(A[B].type=="radio"){if(C){if(A[B].name==C){A[B].checked=false}}else{A[B].checked=false}}}}function selectfirstfield(){var A=document.getElementsByTagName("input");for(var B=0;B<A.length;B++){if(A[B].type=="text"){A[B].focus();break;alert(A[B].name)}}}function bullet(A){document.write("<table cellspacing=0 cellpadding=0 border=0 style='font-size:8px'><tr bgcolor='"+A+"'><td>&nbsp;&nbsp;</td></tr></table>")}function bullet1(A){document.write("<table cellspacing='0' cellpadding='0' align='left'><tr><td bgcolor='#000000'><table cellspacing=1 cellpadding=0 border=0 style='font-size:8px'><tr bgcolor='"+A+"'><td>&nbsp;&nbsp;</td></tr></table></td></tr></table>")}function bullet2(B,A,C){document.write("<table cellspacing='0' cellpadding='0' align='left'><tr><td bgcolor='#000000'><table cellspacing=1 cellpadding=0 border=0 style='font-size:8px'><tr bgcolor='"+B+"'><td style='"+A+"'>"+C+"</td></tr></table></td></tr></table>")}function confirm_click(B,A){if(confirm(B)){window.location=A}}function hide_advanced_search(A){var B=(A)?A:"";document.getElementById("advanced_search"+B).style.visibility="hidden";document.getElementById("advanced_search"+B).style.display="none";if(document.getElementById("category_search_box"+B)){document.getElementById("category_search_box"+B).style.visibility="hidden";document.getElementById("category_search_box"+B).style.display="none"}document.getElementById("search"+B).innerHTML='<a href="javascript:void(0);" onclick="javascript:show_advanced_search(\''+B+"')\">Advanced Search</a>"}function show_advanced_search(A){var B=(A)?A:"";document.getElementById("search"+B).innerHTML='<a href="javascript:void(0);" onclick="hide_advanced_search(\''+B+"')\">Normal Search</a>";document.getElementById("advanced_search"+B).style.visibility="visible";document.getElementById("advanced_search"+B).style.display="inline";if(document.getElementById("category_search_box"+B)){document.getElementById("category_search_box"+B).style.visibility="visible";document.getElementById("category_search_box"+B).style.display="inline"}return };
</script>

        <script>
/*! jQuery v1.7 jquery.com | jquery.org/license */
(function(a,b){function cA(a){return f.isWindow(a)?a:a.nodeType===9?a.defaultView||a.parentWindow:!1}function cx(a){if(!cm[a]){var b=c.body,d=f("<"+a+">").appendTo(b),e=d.css("display");d.remove();if(e==="none"||e===""){cn||(cn=c.createElement("iframe"),cn.frameBorder=cn.width=cn.height=0),b.appendChild(cn);if(!co||!cn.createElement)co=(cn.contentWindow||cn.contentDocument).document,co.write((c.compatMode==="CSS1Compat"?"<!doctype html>":"")+"<html><body>"),co.close();d=co.createElement(a),co.body.appendChild(d),e=f.css(d,"display"),b.removeChild(cn)}cm[a]=e}return cm[a]}function cw(a,b){var c={};f.each(cs.concat.apply([],cs.slice(0,b)),function(){c[this]=a});return c}function cv(){ct=b}function cu(){setTimeout(cv,0);return ct=f.now()}function cl(){try{return new a.ActiveXObject("Microsoft.XMLHTTP")}catch(b){}}function ck(){try{return new a.XMLHttpRequest}catch(b){}}function ce(a,c){a.dataFilter&&(c=a.dataFilter(c,a.dataType));var d=a.dataTypes,e={},g,h,i=d.length,j,k=d[0],l,m,n,o,p;for(g=1;g<i;g++){if(g===1)for(h in a.converters)typeof h=="string"&&(e[h.toLowerCase()]=a.converters[h]);l=k,k=d[g];if(k==="*")k=l;else if(l!=="*"&&l!==k){m=l+" "+k,n=e[m]||e["* "+k];if(!n){p=b;for(o in e){j=o.split(" ");if(j[0]===l||j[0]==="*"){p=e[j[1]+" "+k];if(p){o=e[o],o===!0?n=p:p===!0&&(n=o);break}}}}!n&&!p&&f.error("No conversion from "+m.replace(" "," to ")),n!==!0&&(c=n?n(c):p(o(c)))}}return c}function cd(a,c,d){var e=a.contents,f=a.dataTypes,g=a.responseFields,h,i,j,k;for(i in g)i in d&&(c[g[i]]=d[i]);while(f[0]==="*")f.shift(),h===b&&(h=a.mimeType||c.getResponseHeader("content-type"));if(h)for(i in e)if(e[i]&&e[i].test(h)){f.unshift(i);break}if(f[0]in d)j=f[0];else{for(i in d){if(!f[0]||a.converters[i+" "+f[0]]){j=i;break}k||(k=i)}j=j||k}if(j){j!==f[0]&&f.unshift(j);return d[j]}}function cc(a,b,c,d){if(f.isArray(b))f.each(b,function(b,e){c||bG.test(a)?d(a,e):cc(a+"["+(typeof e=="object"||f.isArray(e)?b:"")+"]",e,c,d)});else if(!c&&b!=null&&typeof b=="object")for(var e in b)cc(a+"["+e+"]",b[e],c,d);else d(a,b)}function cb(a,c){var d,e,g=f.ajaxSettings.flatOptions||{};for(d in c)c[d]!==b&&((g[d]?a:e||(e={}))[d]=c[d]);e&&f.extend(!0,a,e)}function ca(a,c,d,e,f,g){f=f||c.dataTypes[0],g=g||{},g[f]=!0;var h=a[f],i=0,j=h?h.length:0,k=a===bV,l;for(;i<j&&(k||!l);i++)l=h[i](c,d,e),typeof l=="string"&&(!k||g[l]?l=b:(c.dataTypes.unshift(l),l=ca(a,c,d,e,l,g)));(k||!l)&&!g["*"]&&(l=ca(a,c,d,e,"*",g));return l}function b_(a){return function(b,c){typeof b!="string"&&(c=b,b="*");if(f.isFunction(c)){var d=b.toLowerCase().split(bR),e=0,g=d.length,h,i,j;for(;e<g;e++)h=d[e],j=/^\+/.test(h),j&&(h=h.substr(1)||"*"),i=a[h]=a[h]||[],i[j?"unshift":"push"](c)}}}function bE(a,b,c){var d=b==="width"?a.offsetWidth:a.offsetHeight,e=b==="width"?bz:bA;if(d>0){c!=="border"&&f.each(e,function(){c||(d-=parseFloat(f.css(a,"padding"+this))||0),c==="margin"?d+=parseFloat(f.css(a,c+this))||0:d-=parseFloat(f.css(a,"border"+this+"Width"))||0});return d+"px"}d=bB(a,b,b);if(d<0||d==null)d=a.style[b]||0;d=parseFloat(d)||0,c&&f.each(e,function(){d+=parseFloat(f.css(a,"padding"+this))||0,c!=="padding"&&(d+=parseFloat(f.css(a,"border"+this+"Width"))||0),c==="margin"&&(d+=parseFloat(f.css(a,c+this))||0)});return d+"px"}function br(a,b){b.src?f.ajax({url:b.src,async:!1,dataType:"script"}):f.globalEval((b.text||b.textContent||b.innerHTML||"").replace(bi,"/*$0*/")),b.parentNode&&b.parentNode.removeChild(b)}function bq(a){var b=(a.nodeName||"").toLowerCase();b==="input"?bp(a):b!=="script"&&typeof a.getElementsByTagName!="undefined"&&f.grep(a.getElementsByTagName("input"),bp)}function bp(a){if(a.type==="checkbox"||a.type==="radio")a.defaultChecked=a.checked}function bo(a){return typeof a.getElementsByTagName!="undefined"?a.getElementsByTagName("*"):typeof a.querySelectorAll!="undefined"?a.querySelectorAll("*"):[]}function bn(a,b){var c;if(b.nodeType===1){b.clearAttributes&&b.clearAttributes(),b.mergeAttributes&&b.mergeAttributes(a),c=b.nodeName.toLowerCase();if(c==="object")b.outerHTML=a.outerHTML;else if(c!=="input"||a.type!=="checkbox"&&a.type!=="radio"){if(c==="option")b.selected=a.defaultSelected;else if(c==="input"||c==="textarea")b.defaultValue=a.defaultValue}else a.checked&&(b.defaultChecked=b.checked=a.checked),b.value!==a.value&&(b.value=a.value);b.removeAttribute(f.expando)}}function bm(a,b){if(b.nodeType===1&&!!f.hasData(a)){var c,d,e,g=f._data(a),h=f._data(b,g),i=g.events;if(i){delete h.handle,h.events={};for(c in i)for(d=0,e=i[c].length;d<e;d++)f.event.add(b,c+(i[c][d].namespace?".":"")+i[c][d].namespace,i[c][d],i[c][d].data)}h.data&&(h.data=f.extend({},h.data))}}function bl(a,b){return f.nodeName(a,"table")?a.getElementsByTagName("tbody")[0]||a.appendChild(a.ownerDocument.createElement("tbody")):a}function X(a){var b=Y.split(" "),c=a.createDocumentFragment();if(c.createElement)while(b.length)c.createElement(b.pop());return c}function W(a,b,c){b=b||0;if(f.isFunction(b))return f.grep(a,function(a,d){var e=!!b.call(a,d,a);return e===c});if(b.nodeType)return f.grep(a,function(a,d){return a===b===c});if(typeof b=="string"){var d=f.grep(a,function(a){return a.nodeType===1});if(R.test(b))return f.filter(b,d,!c);b=f.filter(b,d)}return f.grep(a,function(a,d){return f.inArray(a,b)>=0===c})}function V(a){return!a||!a.parentNode||a.parentNode.nodeType===11}function N(){return!0}function M(){return!1}function n(a,b,c){var d=b+"defer",e=b+"queue",g=b+"mark",h=f._data(a,d);h&&(c==="queue"||!f._data(a,e))&&(c==="mark"||!f._data(a,g))&&setTimeout(function(){!f._data(a,e)&&!f._data(a,g)&&(f.removeData(a,d,!0),h.fire())},0)}function m(a){for(var b in a){if(b==="data"&&f.isEmptyObject(a[b]))continue;if(b!=="toJSON")return!1}return!0}function l(a,c,d){if(d===b&&a.nodeType===1){var e="data-"+c.replace(k,"-$1").toLowerCase();d=a.getAttribute(e);if(typeof d=="string"){try{d=d==="true"?!0:d==="false"?!1:d==="null"?null:f.isNumeric(d)?parseFloat(d):j.test(d)?f.parseJSON(d):d}catch(g){}f.data(a,c,d)}else d=b}return d}function h(a){var b=g[a]={},c,d;a=a.split(/\s+/);for(c=0,d=a.length;c<d;c++)b[a[c]]=!0;return b}var c=a.document,d=a.navigator,e=a.location,f=function(){function K(){if(!e.isReady){try{c.documentElement.doScroll("left")}catch(a){setTimeout(K,1);return}e.ready()}}var e=function(a,b){return new e.fn.init(a,b,h)},f=a.jQuery,g=a.$,h,i=/^(?:[^#<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/,j=/\S/,k=/^\s+/,l=/\s+$/,m=/\d/,n=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,o=/^[\],:{}\s]*$/,p=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,q=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,r=/(?:^|:|,)(?:\s*\[)+/g,s=/(webkit)[ \/]([\w.]+)/,t=/(opera)(?:.*version)?[ \/]([\w.]+)/,u=/(msie) ([\w.]+)/,v=/(mozilla)(?:.*? rv:([\w.]+))?/,w=/-([a-z]|[0-9])/ig,x=/^-ms-/,y=function(a,b){return(b+"").toUpperCase()},z=d.userAgent,A,B,C,D=Object.prototype.toString,E=Object.prototype.hasOwnProperty,F=Array.prototype.push,G=Array.prototype.slice,H=String.prototype.trim,I=Array.prototype.indexOf,J={};e.fn=e.prototype={constructor:e,init:function(a,d,f){var g,h,j,k;if(!a)return this;if(a.nodeType){this.context=this[0]=a,this.length=1;return this}if(a==="body"&&!d&&c.body){this.context=c,this[0]=c.body,this.selector=a,this.length=1;return this}if(typeof a=="string"){a.charAt(0)!=="<"||a.charAt(a.length-1)!==">"||a.length<3?g=i.exec(a):g=[null,a,null];if(g&&(g[1]||!d)){if(g[1]){d=d instanceof e?d[0]:d,k=d?d.ownerDocument||d:c,j=n.exec(a),j?e.isPlainObject(d)?(a=[c.createElement(j[1])],e.fn.attr.call(a,d,!0)):a=[k.createElement(j[1])]:(j=e.buildFragment([g[1]],[k]),a=(j.cacheable?e.clone(j.fragment):j.fragment).childNodes);return e.merge(this,a)}h=c.getElementById(g[2]);if(h&&h.parentNode){if(h.id!==g[2])return f.find(a);this.length=1,this[0]=h}this.context=c,this.selector=a;return this}return!d||d.jquery?(d||f).find(a):this.constructor(d).find(a)}if(e.isFunction(a))return f.ready(a);a.selector!==b&&(this.selector=a.selector,this.context=a.context);return e.makeArray(a,this)},selector:"",jquery:"1.7",length:0,size:function(){return this.length},toArray:function(){return G.call(this,0)},get:function(a){return a==null?this.toArray():a<0?this[this.length+a]:this[a]},pushStack:function(a,b,c){var d=this.constructor();e.isArray(a)?F.apply(d,a):e.merge(d,a),d.prevObject=this,d.context=this.context,b==="find"?d.selector=this.selector+(this.selector?" ":"")+c:b&&(d.selector=this.selector+"."+b+"("+c+")");return d},each:function(a,b){return e.each(this,a,b)},ready:function(a){e.bindReady(),B.add(a);return this},eq:function(a){return a===-1?this.slice(a):this.slice(a,+a+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(G.apply(this,arguments),"slice",G.call(arguments).join(","))},map:function(a){return this.pushStack(e.map(this,function(b,c){return a.call(b,c,b)}))},end:function(){return this.prevObject||this.constructor(null)},push:F,sort:[].sort,splice:[].splice},e.fn.init.prototype=e.fn,e.extend=e.fn.extend=function(){var a,c,d,f,g,h,i=arguments[0]||{},j=1,k=arguments.length,l=!1;typeof i=="boolean"&&(l=i,i=arguments[1]||{},j=2),typeof i!="object"&&!e.isFunction(i)&&(i={}),k===j&&(i=this,--j);for(;j<k;j++)if((a=arguments[j])!=null)for(c in a){d=i[c],f=a[c];if(i===f)continue;l&&f&&(e.isPlainObject(f)||(g=e.isArray(f)))?(g?(g=!1,h=d&&e.isArray(d)?d:[]):h=d&&e.isPlainObject(d)?d:{},i[c]=e.extend(l,h,f)):f!==b&&(i[c]=f)}return i},e.extend({noConflict:function(b){a.$===e&&(a.$=g),b&&a.jQuery===e&&(a.jQuery=f);return e},isReady:!1,readyWait:1,holdReady:function(a){a?e.readyWait++:e.ready(!0)},ready:function(a){if(a===!0&&!--e.readyWait||a!==!0&&!e.isReady){if(!c.body)return setTimeout(e.ready,1);e.isReady=!0;if(a!==!0&&--e.readyWait>0)return;B.fireWith(c,[e]),e.fn.trigger&&e(c).trigger("ready").unbind("ready")}},bindReady:function(){if(!B){B=e.Callbacks("once memory");if(c.readyState==="complete")return setTimeout(e.ready,1);if(c.addEventListener)c.addEventListener("DOMContentLoaded",C,!1),a.addEventListener("load",e.ready,!1);else if(c.attachEvent){c.attachEvent("onreadystatechange",C),a.attachEvent("onload",e.ready);var b=!1;try{b=a.frameElement==null}catch(d){}c.documentElement.doScroll&&b&&K()}}},isFunction:function(a){return e.type(a)==="function"},isArray:Array.isArray||function(a){return e.type(a)==="array"},isWindow:function(a){return a&&typeof a=="object"&&"setInterval"in a},isNumeric:function(a){return a!=null&&m.test(a)&&!isNaN(a)},type:function(a){return a==null?String(a):J[D.call(a)]||"object"},isPlainObject:function(a){if(!a||e.type(a)!=="object"||a.nodeType||e.isWindow(a))return!1;try{if(a.constructor&&!E.call(a,"constructor")&&!E.call(a.constructor.prototype,"isPrototypeOf"))return!1}catch(c){return!1}var d;for(d in a);return d===b||E.call(a,d)},isEmptyObject:function(a){for(var b in a)return!1;return!0},error:function(a){throw a},parseJSON:function(b){if(typeof b!="string"||!b)return null;b=e.trim(b);if(a.JSON&&a.JSON.parse)return a.JSON.parse(b);if(o.test(b.replace(p,"@").replace(q,"]").replace(r,"")))return(new Function("return "+b))();e.error("Invalid JSON: "+b)},parseXML:function(c){var d,f;try{a.DOMParser?(f=new DOMParser,d=f.parseFromString(c,"text/xml")):(d=new ActiveXObject("Microsoft.XMLDOM"),d.async="false",d.loadXML(c))}catch(g){d=b}(!d||!d.documentElement||d.getElementsByTagName("parsererror").length)&&e.error("Invalid XML: "+c);return d},noop:function(){},globalEval:function(b){b&&j.test(b)&&(a.execScript||function(b){a.eval.call(a,b)})(b)},camelCase:function(a){return a.replace(x,"ms-").replace(w,y)},nodeName:function(a,b){return a.nodeName&&a.nodeName.toUpperCase()===b.toUpperCase()},each:function(a,c,d){var f,g=0,h=a.length,i=h===b||e.isFunction(a);if(d){if(i){for(f in a)if(c.apply(a[f],d)===!1)break}else for(;g<h;)if(c.apply(a[g++],d)===!1)break}else if(i){for(f in a)if(c.call(a[f],f,a[f])===!1)break}else for(;g<h;)if(c.call(a[g],g,a[g++])===!1)break;return a},trim:H?function(a){return a==null?"":H.call(a)}:function(a){return a==null?"":(a+"").replace(k,"").replace(l,"")},makeArray:function(a,b){var c=b||[];if(a!=null){var d=e.type(a);a.length==null||d==="string"||d==="function"||d==="regexp"||e.isWindow(a)?F.call(c,a):e.merge(c,a)}return c},inArray:function(a,b,c){var d;if(b){if(I)return I.call(b,a,c);d=b.length,c=c?c<0?Math.max(0,d+c):c:0;for(;c<d;c++)if(c in b&&b[c]===a)return c}return-1},merge:function(a,c){var d=a.length,e=0;if(typeof c.length=="number")for(var f=c.length;e<f;e++)a[d++]=c[e];else while(c[e]!==b)a[d++]=c[e++];a.length=d;return a},grep:function(a,b,c){var d=[],e;c=!!c;for(var f=0,g=a.length;f<g;f++)e=!!b(a[f],f),c!==e&&d.push(a[f]);return d},map:function(a,c,d){var f,g,h=[],i=0,j=a.length,k=a instanceof e||j!==b&&typeof j=="number"&&(j>0&&a[0]&&a[j-1]||j===0||e.isArray(a));if(k)for(;i<j;i++)f=c(a[i],i,d),f!=null&&(h[h.length]=f);else for(g in a)f=c(a[g],g,d),f!=null&&(h[h.length]=f);return h.concat.apply([],h)},guid:1,proxy:function(a,c){if(typeof c=="string"){var d=a[c];c=a,a=d}if(!e.isFunction(a))return b;var f=G.call(arguments,2),g=function(){return a.apply(c,f.concat(G.call(arguments)))};g.guid=a.guid=a.guid||g.guid||e.guid++;return g},access:function(a,c,d,f,g,h){var i=a.length;if(typeof c=="object"){for(var j in c)e.access(a,j,c[j],f,g,d);return a}if(d!==b){f=!h&&f&&e.isFunction(d);for(var k=0;k<i;k++)g(a[k],c,f?d.call(a[k],k,g(a[k],c)):d,h);return a}return i?g(a[0],c):b},now:function(){return(new Date).getTime()},uaMatch:function(a){a=a.toLowerCase();var b=s.exec(a)||t.exec(a)||u.exec(a)||a.indexOf("compatible")<0&&v.exec(a)||[];return{browser:b[1]||"",version:b[2]||"0"}},sub:function(){function a(b,c){return new a.fn.init(b,c)}e.extend(!0,a,this),a.superclass=this,a.fn=a.prototype=this(),a.fn.constructor=a,a.sub=this.sub,a.fn.init=function(d,f){f&&f instanceof e&&!(f instanceof a)&&(f=a(f));return e.fn.init.call(this,d,f,b)},a.fn.init.prototype=a.fn;var b=a(c);return a},browser:{}}),e.each("Boolean Number String Function Array Date RegExp Object".split(" "),function(a,b){J["[object "+b+"]"]=b.toLowerCase()}),A=e.uaMatch(z),A.browser&&(e.browser[A.browser]=!0,e.browser.version=A.version),e.browser.webkit&&(e.browser.safari=!0),j.test(" ")&&(k=/^[\s\xA0]+/,l=/[\s\xA0]+$/),h=e(c),c.addEventListener?C=function(){c.removeEventListener("DOMContentLoaded",C,!1),e.ready()}:c.attachEvent&&(C=function(){c.readyState==="complete"&&(c.detachEvent("onreadystatechange",C),e.ready())}),typeof define=="function"&&define.amd&&define.amd.jQuery&&define("jquery",[],function(){return e});return e}(),g={};f.Callbacks=function(a){a=a?g[a]||h(a):{};var c=[],d=[],e,i,j,k,l,m=function(b){var d,e,g,h,i;for(d=0,e=b.length;d<e;d++)g=b[d],h=f.type(g),h==="array"?m(g):h==="function"&&(!a.unique||!o.has(g))&&c.push(g)},n=function(b,f){f=f||[],e=!a.memory||[b,f],i=!0,l=j||0,j=0,k=c.length;for(;c&&l<k;l++)if(c[l].apply(b,f)===!1&&a.stopOnFalse){e=!0;break}i=!1,c&&(a.once?e===!0?o.disable():c=[]:d&&d.length&&(e=d.shift(),o.fireWith(e[0],e[1])))},o={add:function(){if(c){var a=c.length;m(arguments),i?k=c.length:e&&e!==!0&&(j=a,n(e[0],e[1]))}return this},remove:function(){if(c){var b=arguments,d=0,e=b.length;for(;d<e;d++)for(var f=0;f<c.length;f++)if(b[d]===c[f]){i&&f<=k&&(k--,f<=l&&l--),c.splice(f--,1);if(a.unique)break}}return this},has:function(a){if(c){var b=0,d=c.length;for(;b<d;b++)if(a===c[b])return!0}return!1},empty:function(){c=[];return this},disable:function(){c=d=e=b;return this},disabled:function(){return!c},lock:function(){d=b,(!e||e===!0)&&o.disable();return this},locked:function(){return!d},fireWith:function(b,c){d&&(i?a.once||d.push([b,c]):(!a.once||!e)&&n(b,c));return this},fire:function(){o.fireWith(this,arguments);return this},fired:function(){return!!e}};return o};var i=[].slice;f.extend({Deferred:function(a){var b=f.Callbacks("once memory"),c=f.Callbacks("once memory"),d=f.Callbacks("memory"),e="pending",g={resolve:b,reject:c,notify:d},h={done:b.add,fail:c.add,progress:d.add,state:function(){return e},isResolved:b.fired,isRejected:c.fired,then:function(a,b,c){i.done(a).fail(b).progress(c);return this},always:function(){return i.done.apply(i,arguments).fail.apply(i,arguments)},pipe:function(a,b,c){return f.Deferred(function(d){f.each({done:[a,"resolve"],fail:[b,"reject"],progress:[c,"notify"]},function(a,b){var c=b[0],e=b[1],g;f.isFunction(c)?i[a](function(){g=c.apply(this,arguments),g&&f.isFunction(g.promise)?g.promise().then(d.resolve,d.reject,d.notify):d[e+"With"](this===i?d:this,[g])}):i[a](d[e])})}).promise()},promise:function(a){if(a==null)a=h;else for(var b in h)a[b]=h[b];return a}},i=h.promise({}),j;for(j in g)i[j]=g[j].fire,i[j+"With"]=g[j].fireWith;i.done(function(){e="resolved"},c.disable,d.lock).fail(function(){e="rejected"},b.disable,d.lock),a&&a.call(i,i);return i},when:function(a){function m(a){return function(b){e[a]=arguments.length>1?i.call(arguments,0):b,j.notifyWith(k,e)}}function l(a){return function(c){b[a]=arguments.length>1?i.call(arguments,0):c,--g||j.resolveWith(j,b)}}var b=i.call(arguments,0),c=0,d=b.length,e=Array(d),g=d,h=d,j=d<=1&&a&&f.isFunction(a.promise)?a:f.Deferred(),k=j.promise();if(d>1){for(;c<d;c++)b[c]&&b[c].promise&&f.isFunction(b[c].promise)?b[c].promise().then(l(c),j.reject,m(c)):--g;g||j.resolveWith(j,b)}else j!==a&&j.resolveWith(j,d?[a]:[]);return k}}),f.support=function(){var a=c.createElement("div"),b=c.documentElement,d,e,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u;a.setAttribute("className","t"),a.innerHTML="   <link/><table></table><a href='/a' style='top:1px;float:left;opacity:.55;'>a</a><input type='checkbox'/><nav></nav>",d=a.getElementsByTagName("*"),e=a.getElementsByTagName("a")[0];if(!d||!d.length||!e)return{};g=c.createElement("select"),h=g.appendChild(c.createElement("option")),i=a.getElementsByTagName("input")[0],k={leadingWhitespace:a.firstChild.nodeType===3,tbody:!a.getElementsByTagName("tbody").length,htmlSerialize:!!a.getElementsByTagName("link").length,style:/top/.test(e.getAttribute("style")),hrefNormalized:e.getAttribute("href")==="/a",opacity:/^0.55/.test(e.style.opacity),cssFloat:!!e.style.cssFloat,unknownElems:!!a.getElementsByTagName("nav").length,checkOn:i.value==="on",optSelected:h.selected,getSetAttribute:a.className!=="t",enctype:!!c.createElement("form").enctype,submitBubbles:!0,changeBubbles:!0,focusinBubbles:!1,deleteExpando:!0,noCloneEvent:!0,inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,reliableMarginRight:!0},i.checked=!0,k.noCloneChecked=i.cloneNode(!0).checked,g.disabled=!0,k.optDisabled=!h.disabled;try{delete a.test}catch(v){k.deleteExpando=!1}!a.addEventListener&&a.attachEvent&&a.fireEvent&&(a.attachEvent("onclick",function(){k.noCloneEvent=!1}),a.cloneNode(!0).fireEvent("onclick")),i=c.createElement("input"),i.value="t",i.setAttribute("type","radio"),k.radioValue=i.value==="t",i.setAttribute("checked","checked"),a.appendChild(i),l=c.createDocumentFragment(),l.appendChild(a.lastChild),k.checkClone=l.cloneNode(!0).cloneNode(!0).lastChild.checked,a.innerHTML="",a.style.width=a.style.paddingLeft="1px",m=c.getElementsByTagName("body")[0],o=c.createElement(m?"div":"body"),p={visibility:"hidden",width:0,height:0,border:0,margin:0,background:"none"},m&&f.extend(p,{position:"absolute",left:"-999px",top:"-999px"});for(t in p)o.style[t]=p[t];o.appendChild(a),n=m||b,n.insertBefore(o,n.firstChild),k.appendChecked=i.checked,k.boxModel=a.offsetWidth===2,"zoom"in a.style&&(a.style.display="inline",a.style.zoom=1,k.inlineBlockNeedsLayout=a.offsetWidth===2,a.style.display="",a.innerHTML="<div style='width:4px;'></div>",k.shrinkWrapBlocks=a.offsetWidth!==2),a.innerHTML="<table><tr><td style='padding:0;border:0;display:none'></td><td>t</td></tr></table>",q=a.getElementsByTagName("td"),u=q[0].offsetHeight===0,q[0].style.display="",q[1].style.display="none",k.reliableHiddenOffsets=u&&q[0].offsetHeight===0,a.innerHTML="",c.defaultView&&c.defaultView.getComputedStyle&&(j=c.createElement("div"),j.style.width="0",j.style.marginRight="0",a.appendChild(j),k.reliableMarginRight=(parseInt((c.defaultView.getComputedStyle(j,null)||{marginRight:0}).marginRight,10)||0)===0);if(a.attachEvent)for(t in{submit:1,change:1,focusin:1})s="on"+t,u=s in a,u||(a.setAttribute(s,"return;"),u=typeof a[s]=="function"),k[t+"Bubbles"]=u;f(function(){var a,b,d,e,g,h,i=1,j="position:absolute;top:0;left:0;width:1px;height:1px;margin:0;",l="visibility:hidden;border:0;",n="style='"+j+"border:5px solid #000;padding:0;'",p="<div "+n+"><div></div></div>"+"<table "+n+" cellpadding='0' cellspacing='0'>"+"<tr><td></td></tr></table>";m=c.getElementsByTagName("body")[0];!m||(a=c.createElement("div"),a.style.cssText=l+"width:0;height:0;position:static;top:0;margin-top:"+i+"px",m.insertBefore(a,m.firstChild),o=c.createElement("div"),o.style.cssText=j+l,o.innerHTML=p,a.appendChild(o),b=o.firstChild,d=b.firstChild,g=b.nextSibling.firstChild.firstChild,h={doesNotAddBorder:d.offsetTop!==5,doesAddBorderForTableAndCells:g.offsetTop===5},d.style.position="fixed",d.style.top="20px",h.fixedPosition=d.offsetTop===20||d.offsetTop===15,d.style.position=d.style.top="",b.style.overflow="hidden",b.style.position="relative",h.subtractsBorderForOverflowNotVisible=d.offsetTop===-5,h.doesNotIncludeMarginInBodyOffset=m.offsetTop!==i,m.removeChild(a),o=a=null,f.extend(k,h))}),o.innerHTML="",n.removeChild(o),o=l=g=h=m=j=a=i=null;return k}(),f.boxModel=f.support.boxModel;var j=/^(?:\{.*\}|\[.*\])$/,k=/([A-Z])/g;f.extend({cache:{},uuid:0,expando:"jQuery"+(f.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:!0},hasData:function(a){a=a.nodeType?f.cache[a[f.expando]]:a[f.expando];return!!a&&!m(a)},data:function(a,c,d,e){if(!!f.acceptData(a)){var g,h,i,j=f.expando,k=typeof c=="string",l=a.nodeType,m=l?f.cache:a,n=l?a[f.expando]:a[f.expando]&&f.expando,o=c==="events";if((!n||!m[n]||!o&&!e&&!m[n].data)&&k&&d===b)return;n||(l?a[f.expando]=n=++f.uuid:n=f.expando),m[n]||(m[n]={},l||(m[n].toJSON=f.noop));if(typeof c=="object"||typeof c=="function")e?m[n]=f.extend(m[n],c):m[n].data=f.extend(m[n].data,c);g=h=m[n],e||(h.data||(h.data={}),h=h.data),d!==b&&(h[f.camelCase(c)]=d);if(o&&!h[c])return g.events;k?(i=h[c],i==null&&(i=h[f.camelCase(c)])):i=h;return i}},removeData:function(a,b,c){if(!!f.acceptData(a)){var d,e,g,h=f.expando,i=a.nodeType,j=i?f.cache:a,k=i?a[f.expando]:f.expando;if(!j[k])return;if(b){d=c?j[k]:j[k].data;if(d){f.isArray(b)?b=b:b in d?b=[b]:(b=f.camelCase(b),b in d?b=[b]:b=b.split(" "));for(e=0,g=b.length;e<g;e++)delete d[b[e]];if(!(c?m:f.isEmptyObject)(d))return}}if(!c){delete j[k].data;if(!m(j[k]))return}f.support.deleteExpando||!j.setInterval?delete j[k]:j[k]=null,i&&(f.support.deleteExpando?delete a[f.expando]:a.removeAttribute?a.removeAttribute(f.expando):a[f.expando]=null)}},_data:function(a,b,c){return f.data(a,b,c,!0)},acceptData:function(a){if(a.nodeName){var b=f.noData[a.nodeName.toLowerCase()];if(b)return b!==!0&&a.getAttribute("classid")===b}return!0}}),f.fn.extend({data:function(a,c){var d,e,g,h=null;if(typeof a=="undefined"){if(this.length){h=f.data(this[0]);if(this[0].nodeType===1&&!f._data(this[0],"parsedAttrs")){e=this[0].attributes;for(var i=0,j=e.length;i<j;i++)g=e[i].name,g.indexOf("data-")===0&&(g=f.camelCase(g.substring(5)),l(this[0],g,h[g]));f._data(this[0],"parsedAttrs",!0)}}return h}if(typeof a=="object")return this.each(function(){f.data(this,a)});d=a.split("."),d[1]=d[1]?"."+d[1]:"";if(c===b){h=this.triggerHandler("getData"+d[1]+"!",[d[0]]),h===b&&this.length&&(h=f.data(this[0],a),h=l(this[0],a,h));return h===b&&d[1]?this.data(d[0]):h}return this.each(function(){var b=f(this),e=[d[0],c];b.triggerHandler("setData"+d[1]+"!",e),f.data(this,a,c),b.triggerHandler("changeData"+d[1]+"!",e)})},removeData:function(a){return this.each(function(){f.removeData(this,a)})}}),f.extend({_mark:function(a,b){a&&(b=(b||"fx")+"mark",f._data(a,b,(f._data(a,b)||0)+1))},_unmark:function(a,b,c){a!==!0&&(c=b,b=a,a=!1);if(b){c=c||"fx";var d=c+"mark",e=a?0:(f._data(b,d)||1)-1;e?f._data(b,d,e):(f.removeData(b,d,!0),n(b,c,"mark"))}},queue:function(a,b,c){var d;if(a){b=(b||"fx")+"queue",d=f._data(a,b),c&&(!d||f.isArray(c)?d=f._data(a,b,f.makeArray(c)):d.push(c));return d||[]}},dequeue:function(a,b){b=b||"fx";var c=f.queue(a,b),d=c.shift(),e={};d==="inprogress"&&(d=c.shift()),d&&(b==="fx"&&c.unshift("inprogress"),f._data(a,b+".run",e),d.call(a,function(){f.dequeue(a,b)},e)),c.length||(f.removeData(a,b+"queue "+b+".run",!0),n(a,b,"queue"))}}),f.fn.extend({queue:function(a,c){typeof a!="string"&&(c=a,a="fx");if(c===b)return f.queue(this[0],a);return this.each(function(){var b=f.queue(this,a,c);a==="fx"&&b[0]!=="inprogress"&&f.dequeue(this,a)})},dequeue:function(a){return this.each(function(){f.dequeue(this,a)})},delay:function(a,b){a=f.fx?f.fx.speeds[a]||a:a,b=b||"fx";return this.queue(b,function(b,c){var d=setTimeout(b,a);c.stop=function(){clearTimeout(d)}})},clearQueue:function(a){return this.queue(a||"fx",[])},promise:function(a,c){function m(){--h||d.resolveWith(e,[e])}typeof a!="string"&&(c=a,a=b),a=a||"fx";var d=f.Deferred(),e=this,g=e.length,h=1,i=a+"defer",j=a+"queue",k=a+"mark",l;while(g--)if(l=f.data(e[g],i,b,!0)||(f.data(e[g],j,b,!0)||f.data(e[g],k,b,!0))&&f.data(e[g],i,f.Callbacks("once memory"),!0))h++,l.add(m);m();return d.promise()}});var o=/[\n\t\r]/g,p=/\s+/,q=/\r/g,r=/^(?:button|input)$/i,s=/^(?:button|input|object|select|textarea)$/i,t=/^a(?:rea)?$/i,u=/^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i,v=f.support.getSetAttribute,w,x,y;f.fn.extend({attr:function(a,b){return f.access(this,a,b,!0,f.attr)},removeAttr:function(a){return this.each(function(){f.removeAttr(this,a)})},prop:function(a,b){return f.access(this,a,b,!0,f.prop)},removeProp:function(a){a=f.propFix[a]||a;return this.each(function(){try{this[a]=b,delete this[a]}catch(c){}})},addClass:function(a){var b,c,d,e,g,h,i;if(f.isFunction(a))return this.each(function(b){f(this).addClass(a.call(this,b,this.className))});if(a&&typeof a=="string"){b=a.split(p);for(c=0,d=this.length;c<d;c++){e=this[c];if(e.nodeType===1)if(!e.className&&b.length===1)e.className=a;else{g=" "+e.className+" ";for(h=0,i=b.length;h<i;h++)~g.indexOf(" "+b[h]+" ")||(g+=b[h]+" ");e.className=f.trim(g)}}}return this},removeClass:function(a){var c,d,e,g,h,i,j;if(f.isFunction(a))return this.each(function(b){f(this).removeClass(a.call(this,b,this.className))});if(a&&typeof a=="string"||a===b){c=(a||"").split(p);for(d=0,e=this.length;d<e;d++){g=this[d];if(g.nodeType===1&&g.className)if(a){h=(" "+g.className+" ").replace(o," ");for(i=0,j=c.length;i<j;i++)h=h.replace(" "+c[i]+" "," ");g.className=f.trim(h)}else g.className=""}}return this},toggleClass:function(a,b){var c=typeof a,d=typeof b=="boolean";if(f.isFunction(a))return this.each(function(c){f(this).toggleClass(a.call(this,c,this.className,b),b)});return this.each(function(){if(c==="string"){var e,g=0,h=f(this),i=b,j=a.split(p);while(e=j[g++])i=d?i:!h.hasClass(e),h[i?"addClass":"removeClass"](e)}else if(c==="undefined"||c==="boolean")this.className&&f._data(this,"__className__",this.className),this.className=this.className||a===!1?"":f._data(this,"__className__")||""})},hasClass:function(a){var b=" "+a+" ",c=0,d=this.length;for(;c<d;c++)if(this[c].nodeType===1&&(" "+this[c].className+" ").replace(o," ").indexOf(b)>-1)return!0;return!1},val:function(a){var c,d,e,g=this[0];if(!arguments.length){if(g){c=f.valHooks[g.nodeName.toLowerCase()]||f.valHooks[g.type];if(c&&"get"in c&&(d=c.get(g,"value"))!==b)return d;d=g.value;return typeof d=="string"?d.replace(q,""):d==null?"":d}return b}e=f.isFunction(a);return this.each(function(d){var g=f(this),h;if(this.nodeType===1){e?h=a.call(this,d,g.val()):h=a,h==null?h="":typeof h=="number"?h+="":f.isArray(h)&&(h=f.map(h,function(a){return a==null?"":a+""})),c=f.valHooks[this.nodeName.toLowerCase()]||f.valHooks[this.type];if(!c||!("set"in c)||c.set(this,h,"value")===b)this.value=h}})}}),f.extend({valHooks:{option:{get:function(a){var b=a.attributes.value;return!b||b.specified?a.value:a.text}},select:{get:function(a){var b,c,d,e,g=a.selectedIndex,h=[],i=a.options,j=a.type==="select-one";if(g<0)return null;c=j?g:0,d=j?g+1:i.length;for(;c<d;c++){e=i[c];if(e.selected&&(f.support.optDisabled?!e.disabled:e.getAttribute("disabled")===null)&&(!e.parentNode.disabled||!f.nodeName(e.parentNode,"optgroup"))){b=f(e).val();if(j)return b;h.push(b)}}if(j&&!h.length&&i.length)return f(i[g]).val();return h},set:function(a,b){var c=f.makeArray(b);f(a).find("option").each(function(){this.selected=f.inArray(f(this).val(),c)>=0}),c.length||(a.selectedIndex=-1);return c}}},attrFn:{val:!0,css:!0,html:!0,text:!0,data:!0,width:!0,height:!0,offset:!0},attr:function(a,c,d,e){var g,h,i,j=a.nodeType;if(!a||j===3||j===8||j===2)return b;if(e&&c in f.attrFn)return f(a)[c](d);if(!("getAttribute"in a))return f.prop(a,c,d);i=j!==1||!f.isXMLDoc(a),i&&(c=c.toLowerCase(),h=f.attrHooks[c]||(u.test(c)?x:w));if(d!==b){if(d===null){f.removeAttr(a,c);return b}if(h&&"set"in h&&i&&(g=h.set(a,d,c))!==b)return g;a.setAttribute(c,""+d);return d}if(h&&"get"in h&&i&&(g=h.get(a,c))!==null)return g;g=a.getAttribute(c);return g===null?b:g},removeAttr:function(a,b){var c,d,e,g,h=0;if(a.nodeType===1){d=(b||"").split(p),g=d.length;for(;h<g;h++)e=d[h].toLowerCase(),c=f.propFix[e]||e,f.attr(a,e,""),a.removeAttribute(v?e:c),u.test(e)&&c in a&&(a[c]=!1)}},attrHooks:{type:{set:function(a,b){if(r.test(a.nodeName)&&a.parentNode)f.error("type property can't be changed");else if(!f.support.radioValue&&b==="radio"&&f.nodeName(a,"input")){var c=a.value;a.setAttribute("type",b),c&&(a.value=c);return b}}},value:{get:function(a,b){if(w&&f.nodeName(a,"button"))return w.get(a,b);return b in a?a.value:null},set:function(a,b,c){if(w&&f.nodeName(a,"button"))return w.set(a,b,c);a.value=b}}},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(a,c,d){var e,g,h,i=a.nodeType;if(!a||i===3||i===8||i===2)return b;h=i!==1||!f.isXMLDoc(a),h&&(c=f.propFix[c]||c,g=f.propHooks[c]);return d!==b?g&&"set"in g&&(e=g.set(a,d,c))!==b?e:a[c]=d:g&&"get"in g&&(e=g.get(a,c))!==null?e:a[c]},propHooks:{tabIndex:{get:function(a){var c=a.getAttributeNode("tabindex");return c&&c.specified?parseInt(c.value,10):s.test(a.nodeName)||t.test(a.nodeName)&&a.href?0:b}}}}),f.attrHooks.tabindex=f.propHooks.tabIndex,x={get:function(a,c){var d,e=f.prop(a,c);return e===!0||typeof e!="boolean"&&(d=a.getAttributeNode(c))&&d.nodeValue!==!1?c.toLowerCase():b},set:function(a,b,c){var d;b===!1?f.removeAttr(a,c):(d=f.propFix[c]||c,d in a&&(a[d]=!0),a.setAttribute(c,c.toLowerCase()));return c}},v||(y={name:!0,id:!0},w=f.valHooks.button={get:function(a,c){var d;d=a.getAttributeNode(c);return d&&(y[c]?d.nodeValue!=="":d.specified)?d.nodeValue:b},set:function(a,b,d){var e=a.getAttributeNode(d);e||(e=c.createAttribute(d),a.setAttributeNode(e));return e.nodeValue=b+""}},f.attrHooks.tabindex.set=w.set,f.each(["width","height"],function(a,b){f.attrHooks[b]=f.extend(f.attrHooks[b],{set:function(a,c){if(c===""){a.setAttribute(b,"auto");return c}}})}),f.attrHooks.contenteditable={get:w.get,set:function(a,b,c){b===""&&(b="false"),w.set(a,b,c)}}),f.support.hrefNormalized||f.each(["href","src","width","height"],function(a,c){f.attrHooks[c]=f.extend(f.attrHooks[c],{get:function(a){var d=a.getAttribute(c,2);return d===null?b:d}})}),f.support.style||(f.attrHooks.style={get:function(a){return a.style.cssText.toLowerCase()||b},set:function(a,b){return a.style.cssText=""+b}}),f.support.optSelected||(f.propHooks.selected=f.extend(f.propHooks.selected,{get:function(a){var b=a.parentNode;b&&(b.selectedIndex,b.parentNode&&b.parentNode.selectedIndex);return null}})),f.support.enctype||(f.propFix.enctype="encoding"),f.support.checkOn||f.each(["radio","checkbox"],function(){f.valHooks[this]={get:function(a){return a.getAttribute("value")===null?"on":a.value}}}),f.each(["radio","checkbox"],function(){f.valHooks[this]=f.extend(f.valHooks[this],{set:function(a,b){if(f.isArray(b))return a.checked=f.inArray(f(a).val(),b)>=0}})});var z=/\.(.*)$/,A=/^(?:textarea|input|select)$/i,B=/\./g,C=/ /g,D=/[^\w\s.|`]/g,E=/^([^\.]*)?(?:\.(.+))?$/,F=/\bhover(\.\S+)?/,G=/^key/,H=/^(?:mouse|contextmenu)|click/,I=/^(\w*)(?:#([\w\-]+))?(?:\.([\w\-]+))?$/,J=function(a){var b=I.exec(a);b&&
(b[1]=(b[1]||"").toLowerCase(),b[3]=b[3]&&new RegExp("(?:^|\\s)"+b[3]+"(?:\\s|$)"));return b},K=function(a,b){return(!b[1]||a.nodeName.toLowerCase()===b[1])&&(!b[2]||a.id===b[2])&&(!b[3]||b[3].test(a.className))},L=function(a){return f.event.special.hover?a:a.replace(F,"mouseenter$1 mouseleave$1")};f.event={add:function(a,c,d,e,g){var h,i,j,k,l,m,n,o,p,q,r,s;if(!(a.nodeType===3||a.nodeType===8||!c||!d||!(h=f._data(a)))){d.handler&&(p=d,d=p.handler),d.guid||(d.guid=f.guid++),j=h.events,j||(h.events=j={}),i=h.handle,i||(h.handle=i=function(a){return typeof f!="undefined"&&(!a||f.event.triggered!==a.type)?f.event.dispatch.apply(i.elem,arguments):b},i.elem=a),c=L(c).split(" ");for(k=0;k<c.length;k++){l=E.exec(c[k])||[],m=l[1],n=(l[2]||"").split(".").sort(),s=f.event.special[m]||{},m=(g?s.delegateType:s.bindType)||m,s=f.event.special[m]||{},o=f.extend({type:m,origType:l[1],data:e,handler:d,guid:d.guid,selector:g,namespace:n.join(".")},p),g&&(o.quick=J(g),!o.quick&&f.expr.match.POS.test(g)&&(o.isPositional=!0)),r=j[m];if(!r){r=j[m]=[],r.delegateCount=0;if(!s.setup||s.setup.call(a,e,n,i)===!1)a.addEventListener?a.addEventListener(m,i,!1):a.attachEvent&&a.attachEvent("on"+m,i)}s.add&&(s.add.call(a,o),o.handler.guid||(o.handler.guid=d.guid)),g?r.splice(r.delegateCount++,0,o):r.push(o),f.event.global[m]=!0}a=null}},global:{},remove:function(a,b,c,d){var e=f.hasData(a)&&f._data(a),g,h,i,j,k,l,m,n,o,p,q;if(!!e&&!!(m=e.events)){b=L(b||"").split(" ");for(g=0;g<b.length;g++){h=E.exec(b[g])||[],i=h[1],j=h[2];if(!i){j=j?"."+j:"";for(l in m)f.event.remove(a,l+j,c,d);return}n=f.event.special[i]||{},i=(d?n.delegateType:n.bindType)||i,p=m[i]||[],k=p.length,j=j?new RegExp("(^|\\.)"+j.split(".").sort().join("\\.(?:.*\\.)?")+"(\\.|$)"):null;if(c||j||d||n.remove)for(l=0;l<p.length;l++){q=p[l];if(!c||c.guid===q.guid)if(!j||j.test(q.namespace))if(!d||d===q.selector||d==="**"&&q.selector)p.splice(l--,1),q.selector&&p.delegateCount--,n.remove&&n.remove.call(a,q)}else p.length=0;p.length===0&&k!==p.length&&((!n.teardown||n.teardown.call(a,j)===!1)&&f.removeEvent(a,i,e.handle),delete m[i])}f.isEmptyObject(m)&&(o=e.handle,o&&(o.elem=null),f.removeData(a,["events","handle"],!0))}},customEvent:{getData:!0,setData:!0,changeData:!0},trigger:function(c,d,e,g){if(!e||e.nodeType!==3&&e.nodeType!==8){var h=c.type||c,i=[],j,k,l,m,n,o,p,q,r,s;h.indexOf("!")>=0&&(h=h.slice(0,-1),k=!0),h.indexOf(".")>=0&&(i=h.split("."),h=i.shift(),i.sort());if((!e||f.event.customEvent[h])&&!f.event.global[h])return;c=typeof c=="object"?c[f.expando]?c:new f.Event(h,c):new f.Event(h),c.type=h,c.isTrigger=!0,c.exclusive=k,c.namespace=i.join("."),c.namespace_re=c.namespace?new RegExp("(^|\\.)"+i.join("\\.(?:.*\\.)?")+"(\\.|$)"):null,o=h.indexOf(":")<0?"on"+h:"",(g||!e)&&c.preventDefault();if(!e){j=f.cache;for(l in j)j[l].events&&j[l].events[h]&&f.event.trigger(c,d,j[l].handle.elem,!0);return}c.result=b,c.target||(c.target=e),d=d!=null?f.makeArray(d):[],d.unshift(c),p=f.event.special[h]||{};if(p.trigger&&p.trigger.apply(e,d)===!1)return;r=[[e,p.bindType||h]];if(!g&&!p.noBubble&&!f.isWindow(e)){s=p.delegateType||h,n=null;for(m=e.parentNode;m;m=m.parentNode)r.push([m,s]),n=m;n&&n===e.ownerDocument&&r.push([n.defaultView||n.parentWindow||a,s])}for(l=0;l<r.length;l++){m=r[l][0],c.type=r[l][1],q=(f._data(m,"events")||{})[c.type]&&f._data(m,"handle"),q&&q.apply(m,d),q=o&&m[o],q&&f.acceptData(m)&&q.apply(m,d);if(c.isPropagationStopped())break}c.type=h,c.isDefaultPrevented()||(!p._default||p._default.apply(e.ownerDocument,d)===!1)&&(h!=="click"||!f.nodeName(e,"a"))&&f.acceptData(e)&&o&&e[h]&&(h!=="focus"&&h!=="blur"||c.target.offsetWidth!==0)&&!f.isWindow(e)&&(n=e[o],n&&(e[o]=null),f.event.triggered=h,e[h](),f.event.triggered=b,n&&(e[o]=n));return c.result}},dispatch:function(c){c=f.event.fix(c||a.event);var d=(f._data(this,"events")||{})[c.type]||[],e=d.delegateCount,g=[].slice.call(arguments,0),h=!c.exclusive&&!c.namespace,i=(f.event.special[c.type]||{}).handle,j=[],k,l,m,n,o,p,q,r,s,t,u;g[0]=c,c.delegateTarget=this;if(e&&!c.target.disabled&&(!c.button||c.type!=="click"))for(m=c.target;m!=this;m=m.parentNode||this){o={},q=[];for(k=0;k<e;k++)r=d[k],s=r.selector,t=o[s],r.isPositional?t=(t||(o[s]=f(s))).index(m)>=0:t===b&&(t=o[s]=r.quick?K(m,r.quick):f(m).is(s)),t&&q.push(r);q.length&&j.push({elem:m,matches:q})}d.length>e&&j.push({elem:this,matches:d.slice(e)});for(k=0;k<j.length&&!c.isPropagationStopped();k++){p=j[k],c.currentTarget=p.elem;for(l=0;l<p.matches.length&&!c.isImmediatePropagationStopped();l++){r=p.matches[l];if(h||!c.namespace&&!r.namespace||c.namespace_re&&c.namespace_re.test(r.namespace))c.data=r.data,c.handleObj=r,n=(i||r.handler).apply(p.elem,g),n!==b&&(c.result=n,n===!1&&(c.preventDefault(),c.stopPropagation()))}}return c.result},props:"attrChange attrName relatedNode srcElement altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(a,b){a.which==null&&(a.which=b.charCode!=null?b.charCode:b.keyCode);return a}},mouseHooks:{props:"button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement wheelDelta".split(" "),filter:function(a,d){var e,f,g,h=d.button,i=d.fromElement;a.pageX==null&&d.clientX!=null&&(e=a.target.ownerDocument||c,f=e.documentElement,g=e.body,a.pageX=d.clientX+(f&&f.scrollLeft||g&&g.scrollLeft||0)-(f&&f.clientLeft||g&&g.clientLeft||0),a.pageY=d.clientY+(f&&f.scrollTop||g&&g.scrollTop||0)-(f&&f.clientTop||g&&g.clientTop||0)),!a.relatedTarget&&i&&(a.relatedTarget=i===a.target?d.toElement:i),!a.which&&h!==b&&(a.which=h&1?1:h&2?3:h&4?2:0);return a}},fix:function(a){if(a[f.expando])return a;var d,e,g=a,h=f.event.fixHooks[a.type]||{},i=h.props?this.props.concat(h.props):this.props;a=f.Event(g);for(d=i.length;d;)e=i[--d],a[e]=g[e];a.target||(a.target=g.srcElement||c),a.target.nodeType===3&&(a.target=a.target.parentNode),a.metaKey===b&&(a.metaKey=a.ctrlKey);return h.filter?h.filter(a,g):a},special:{ready:{setup:f.bindReady},focus:{delegateType:"focusin",noBubble:!0},blur:{delegateType:"focusout",noBubble:!0},beforeunload:{setup:function(a,b,c){f.isWindow(this)&&(this.onbeforeunload=c)},teardown:function(a,b){this.onbeforeunload===b&&(this.onbeforeunload=null)}}},simulate:function(a,b,c,d){var e=f.extend(new f.Event,c,{type:a,isSimulated:!0,originalEvent:{}});d?f.event.trigger(e,null,b):f.event.dispatch.call(b,e),e.isDefaultPrevented()&&c.preventDefault()}},f.event.handle=f.event.dispatch,f.removeEvent=c.removeEventListener?function(a,b,c){a.removeEventListener&&a.removeEventListener(b,c,!1)}:function(a,b,c){a.detachEvent&&a.detachEvent("on"+b,c)},f.Event=function(a,b){if(!(this instanceof f.Event))return new f.Event(a,b);a&&a.type?(this.originalEvent=a,this.type=a.type,this.isDefaultPrevented=a.defaultPrevented||a.returnValue===!1||a.getPreventDefault&&a.getPreventDefault()?N:M):this.type=a,b&&f.extend(this,b),this.timeStamp=a&&a.timeStamp||f.now(),this[f.expando]=!0},f.Event.prototype={preventDefault:function(){this.isDefaultPrevented=N;var a=this.originalEvent;!a||(a.preventDefault?a.preventDefault():a.returnValue=!1)},stopPropagation:function(){this.isPropagationStopped=N;var a=this.originalEvent;!a||(a.stopPropagation&&a.stopPropagation(),a.cancelBubble=!0)},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=N,this.stopPropagation()},isDefaultPrevented:M,isPropagationStopped:M,isImmediatePropagationStopped:M},f.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(a,b){f.event.special[a]=f.event.special[b]={delegateType:b,bindType:b,handle:function(a){var b=this,c=a.relatedTarget,d=a.handleObj,e=d.selector,g,h;if(!c||d.origType===a.type||c!==b&&!f.contains(b,c))g=a.type,a.type=d.origType,h=d.handler.apply(this,arguments),a.type=g;return h}}}),f.support.submitBubbles||(f.event.special.submit={setup:function(){if(f.nodeName(this,"form"))return!1;f.event.add(this,"click._submit keypress._submit",function(a){var c=a.target,d=f.nodeName(c,"input")||f.nodeName(c,"button")?c.form:b;d&&!d._submit_attached&&(f.event.add(d,"submit._submit",function(a){this.parentNode&&f.event.simulate("submit",this.parentNode,a,!0)}),d._submit_attached=!0)})},teardown:function(){if(f.nodeName(this,"form"))return!1;f.event.remove(this,"._submit")}}),f.support.changeBubbles||(f.event.special.change={setup:function(){if(A.test(this.nodeName)){if(this.type==="checkbox"||this.type==="radio")f.event.add(this,"propertychange._change",function(a){a.originalEvent.propertyName==="checked"&&(this._just_changed=!0)}),f.event.add(this,"click._change",function(a){this._just_changed&&(this._just_changed=!1,f.event.simulate("change",this,a,!0))});return!1}f.event.add(this,"beforeactivate._change",function(a){var b=a.target;A.test(b.nodeName)&&!b._change_attached&&(f.event.add(b,"change._change",function(a){this.parentNode&&!a.isSimulated&&f.event.simulate("change",this.parentNode,a,!0)}),b._change_attached=!0)})},handle:function(a){var b=a.target;if(this!==b||a.isSimulated||a.isTrigger||b.type!=="radio"&&b.type!=="checkbox")return a.handleObj.handler.apply(this,arguments)},teardown:function(){f.event.remove(this,"._change");return A.test(this.nodeName)}}),f.support.focusinBubbles||f.each({focus:"focusin",blur:"focusout"},function(a,b){var d=0,e=function(a){f.event.simulate(b,a.target,f.event.fix(a),!0)};f.event.special[b]={setup:function(){d++===0&&c.addEventListener(a,e,!0)},teardown:function(){--d===0&&c.removeEventListener(a,e,!0)}}}),f.fn.extend({on:function(a,c,d,e,g){var h,i;if(typeof a=="object"){typeof c!="string"&&(d=c,c=b);for(i in a)this.on(i,c,d,a[i],g);return this}d==null&&e==null?(e=c,d=c=b):e==null&&(typeof c=="string"?(e=d,d=b):(e=d,d=c,c=b));if(e===!1)e=M;else if(!e)return this;g===1&&(h=e,e=function(a){f().off(a);return h.apply(this,arguments)},e.guid=h.guid||(h.guid=f.guid++));return this.each(function(){f.event.add(this,a,e,d,c)})},one:function(a,b,c,d){return this.on.call(this,a,b,c,d,1)},off:function(a,c,d){if(a&&a.preventDefault&&a.handleObj){var e=a.handleObj;f(a.delegateTarget).off(e.namespace?e.type+"."+e.namespace:e.type,e.selector,e.handler);return this}if(typeof a=="object"){for(var g in a)this.off(g,c,a[g]);return this}if(c===!1||typeof c=="function")d=c,c=b;d===!1&&(d=M);return this.each(function(){f.event.remove(this,a,d,c)})},bind:function(a,b,c){return this.on(a,null,b,c)},unbind:function(a,b){return this.off(a,null,b)},live:function(a,b,c){f(this.context).on(a,this.selector,b,c);return this},die:function(a,b){f(this.context).off(a,this.selector||"**",b);return this},delegate:function(a,b,c,d){return this.on(b,a,c,d)},undelegate:function(a,b,c){return arguments.length==1?this.off(a,"**"):this.off(b,a,c)},trigger:function(a,b){return this.each(function(){f.event.trigger(a,b,this)})},triggerHandler:function(a,b){if(this[0])return f.event.trigger(a,b,this[0],!0)},toggle:function(a){var b=arguments,c=a.guid||f.guid++,d=0,e=function(c){var e=(f._data(this,"lastToggle"+a.guid)||0)%d;f._data(this,"lastToggle"+a.guid,e+1),c.preventDefault();return b[e].apply(this,arguments)||!1};e.guid=c;while(d<b.length)b[d++].guid=c;return this.click(e)},hover:function(a,b){return this.mouseenter(a).mouseleave(b||a)}}),f.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),function(a,b){f.fn[b]=function(a,c){c==null&&(c=a,a=null);return arguments.length>0?this.bind(b,a,c):this.trigger(b)},f.attrFn&&(f.attrFn[b]=!0),G.test(b)&&(f.event.fixHooks[b]=f.event.keyHooks),H.test(b)&&(f.event.fixHooks[b]=f.event.mouseHooks)}),function(){function x(a,b,c,e,f,g){for(var h=0,i=e.length;h<i;h++){var j=e[h];if(j){var k=!1;j=j[a];while(j){if(j[d]===c){k=e[j.sizset];break}if(j.nodeType===1){g||(j[d]=c,j.sizset=h);if(typeof b!="string"){if(j===b){k=!0;break}}else if(m.filter(b,[j]).length>0){k=j;break}}j=j[a]}e[h]=k}}}function w(a,b,c,e,f,g){for(var h=0,i=e.length;h<i;h++){var j=e[h];if(j){var k=!1;j=j[a];while(j){if(j[d]===c){k=e[j.sizset];break}j.nodeType===1&&!g&&(j[d]=c,j.sizset=h);if(j.nodeName.toLowerCase()===b){k=j;break}j=j[a]}e[h]=k}}}var a=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,d="sizcache"+(Math.random()+"").replace(".",""),e=0,g=Object.prototype.toString,h=!1,i=!0,j=/\\/g,k=/\r\n/g,l=/\W/;[0,0].sort(function(){i=!1;return 0});var m=function(b,d,e,f){e=e||[],d=d||c;var h=d;if(d.nodeType!==1&&d.nodeType!==9)return[];if(!b||typeof b!="string")return e;var i,j,k,l,n,q,r,t,u=!0,v=m.isXML(d),w=[],x=b;do{a.exec(""),i=a.exec(x);if(i){x=i[3],w.push(i[1]);if(i[2]){l=i[3];break}}}while(i);if(w.length>1&&p.exec(b))if(w.length===2&&o.relative[w[0]])j=y(w[0]+w[1],d,f);else{j=o.relative[w[0]]?[d]:m(w.shift(),d);while(w.length)b=w.shift(),o.relative[b]&&(b+=w.shift()),j=y(b,j,f)}else{!f&&w.length>1&&d.nodeType===9&&!v&&o.match.ID.test(w[0])&&!o.match.ID.test(w[w.length-1])&&(n=m.find(w.shift(),d,v),d=n.expr?m.filter(n.expr,n.set)[0]:n.set[0]);if(d){n=f?{expr:w.pop(),set:s(f)}:m.find(w.pop(),w.length===1&&(w[0]==="~"||w[0]==="+")&&d.parentNode?d.parentNode:d,v),j=n.expr?m.filter(n.expr,n.set):n.set,w.length>0?k=s(j):u=!1;while(w.length)q=w.pop(),r=q,o.relative[q]?r=w.pop():q="",r==null&&(r=d),o.relative[q](k,r,v)}else k=w=[]}k||(k=j),k||m.error(q||b);if(g.call(k)==="[object Array]")if(!u)e.push.apply(e,k);else if(d&&d.nodeType===1)for(t=0;k[t]!=null;t++)k[t]&&(k[t]===!0||k[t].nodeType===1&&m.contains(d,k[t]))&&e.push(j[t]);else for(t=0;k[t]!=null;t++)k[t]&&k[t].nodeType===1&&e.push(j[t]);else s(k,e);l&&(m(l,h,e,f),m.uniqueSort(e));return e};m.uniqueSort=function(a){if(u){h=i,a.sort(u);if(h)for(var b=1;b<a.length;b++)a[b]===a[b-1]&&a.splice(b--,1)}return a},m.matches=function(a,b){return m(a,null,null,b)},m.matchesSelector=function(a,b){return m(b,null,null,[a]).length>0},m.find=function(a,b,c){var d,e,f,g,h,i;if(!a)return[];for(e=0,f=o.order.length;e<f;e++){h=o.order[e];if(g=o.leftMatch[h].exec(a)){i=g[1],g.splice(1,1);if(i.substr(i.length-1)!=="\\"){g[1]=(g[1]||"").replace(j,""),d=o.find[h](g,b,c);if(d!=null){a=a.replace(o.match[h],"");break}}}}d||(d=typeof b.getElementsByTagName!="undefined"?b.getElementsByTagName("*"):[]);return{set:d,expr:a}},m.filter=function(a,c,d,e){var f,g,h,i,j,k,l,n,p,q=a,r=[],s=c,t=c&&c[0]&&m.isXML(c[0]);while(a&&c.length){for(h in o.filter)if((f=o.leftMatch[h].exec(a))!=null&&f[2]){k=o.filter[h],l=f[1],g=!1,f.splice(1,1);if(l.substr(l.length-1)==="\\")continue;s===r&&(r=[]);if(o.preFilter[h]){f=o.preFilter[h](f,s,d,r,e,t);if(!f)g=i=!0;else if(f===!0)continue}if(f)for(n=0;(j=s[n])!=null;n++)j&&(i=k(j,f,n,s),p=e^i,d&&i!=null?p?g=!0:s[n]=!1:p&&(r.push(j),g=!0));if(i!==b){d||(s=r),a=a.replace(o.match[h],"");if(!g)return[];break}}if(a===q)if(g==null)m.error(a);else break;q=a}return s},m.error=function(a){throw"Syntax error, unrecognized expression: "+a};var n=m.getText=function(a){var b,c,d=a.nodeType,e="";if(d){if(d===1){if(typeof a.textContent=="string")return a.textContent;if(typeof a.innerText=="string")return a.innerText.replace(k,"");for(a=a.firstChild;a;a=a.nextSibling)e+=n(a)}else if(d===3||d===4)return a.nodeValue}else for(b=0;c=a[b];b++)c.nodeType!==8&&(e+=n(c));return e},o=m.selectors={order:["ID","NAME","TAG"],match:{ID:/#((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,CLASS:/\.((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,NAME:/\[name=['"]*((?:[\w\u00c0-\uFFFF\-]|\\.)+)['"]*\]/,ATTR:/\[\s*((?:[\w\u00c0-\uFFFF\-]|\\.)+)\s*(?:(\S?=)\s*(?:(['"])(.*?)\3|(#?(?:[\w\u00c0-\uFFFF\-]|\\.)*)|)|)\s*\]/,TAG:/^((?:[\w\u00c0-\uFFFF\*\-]|\\.)+)/,CHILD:/:(only|nth|last|first)-child(?:\(\s*(even|odd|(?:[+\-]?\d+|(?:[+\-]?\d*)?n\s*(?:[+\-]\s*\d+)?))\s*\))?/,POS:/:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^\-]|$)/,PSEUDO:/:((?:[\w\u00c0-\uFFFF\-]|\\.)+)(?:\((['"]?)((?:\([^\)]+\)|[^\(\)]*)+)\2\))?/},leftMatch:{},attrMap:{"class":"className","for":"htmlFor"},attrHandle:{href:function(a){return a.getAttribute("href")},type:function(a){return a.getAttribute("type")}},relative:{"+":function(a,b){var c=typeof b=="string",d=c&&!l.test(b),e=c&&!d;d&&(b=b.toLowerCase());for(var f=0,g=a.length,h;f<g;f++)if(h=a[f]){while((h=h.previousSibling)&&h.nodeType!==1);a[f]=e||h&&h.nodeName.toLowerCase()===b?h||!1:h===b}e&&m.filter(b,a,!0)},">":function(a,b){var c,d=typeof b=="string",e=0,f=a.length;if(d&&!l.test(b)){b=b.toLowerCase();for(;e<f;e++){c=a[e];if(c){var g=c.parentNode;a[e]=g.nodeName.toLowerCase()===b?g:!1}}}else{for(;e<f;e++)c=a[e],c&&(a[e]=d?c.parentNode:c.parentNode===b);d&&m.filter(b,a,!0)}},"":function(a,b,c){var d,f=e++,g=x;typeof b=="string"&&!l.test(b)&&(b=b.toLowerCase(),d=b,g=w),g("parentNode",b,f,a,d,c)},"~":function(a,b,c){var d,f=e++,g=x;typeof b=="string"&&!l.test(b)&&(b=b.toLowerCase(),d=b,g=w),g("previousSibling",b,f,a,d,c)}},find:{ID:function(a,b,c){if(typeof b.getElementById!="undefined"&&!c){var d=b.getElementById(a[1]);return d&&d.parentNode?[d]:[]}},NAME:function(a,b){if(typeof b.getElementsByName!="undefined"){var c=[],d=b.getElementsByName(a[1]);for(var e=0,f=d.length;e<f;e++)d[e].getAttribute("name")===a[1]&&c.push(d[e]);return c.length===0?null:c}},TAG:function(a,b){if(typeof b.getElementsByTagName!="undefined")return b.getElementsByTagName(a[1])}},preFilter:{CLASS:function(a,b,c,d,e,f){a=" "+a[1].replace(j,"")+" ";if(f)return a;for(var g=0,h;(h=b[g])!=null;g++)h&&(e^(h.className&&(" "+h.className+" ").replace(/[\t\n\r]/g," ").indexOf(a)>=0)?c||d.push(h):c&&(b[g]=!1));return!1},ID:function(a){return a[1].replace(j,"")},TAG:function(a,b){return a[1].replace(j,"").toLowerCase()},CHILD:function(a){if(a[1]==="nth"){a[2]||m.error(a[0]),a[2]=a[2].replace(/^\+|\s*/g,"");var b=/(-?)(\d*)(?:n([+\-]?\d*))?/.exec(a[2]==="even"&&"2n"||a[2]==="odd"&&"2n+1"||!/\D/.test(a[2])&&"0n+"+a[2]||a[2]);a[2]=b[1]+(b[2]||1)-0,a[3]=b[3]-0}else a[2]&&m.error(a[0]);a[0]=e++;return a},ATTR:function(a,b,c,d,e,f){var g=a[1]=a[1].replace(j,"");!f&&o.attrMap[g]&&(a[1]=o.attrMap[g]),a[4]=(a[4]||a[5]||"").replace(j,""),a[2]==="~="&&(a[4]=" "+a[4]+" ");return a},PSEUDO:function(b,c,d,e,f){if(b[1]==="not")if((a.exec(b[3])||"").length>1||/^\w/.test(b[3]))b[3]=m(b[3],null,null,c);else{var g=m.filter(b[3],c,d,!0^f);d||e.push.apply(e,g);return!1}else if(o.match.POS.test(b[0])||o.match.CHILD.test(b[0]))return!0;return b},POS:function(a){a.unshift(!0);return a}},filters:{enabled:function(a){return a.disabled===!1&&a.type!=="hidden"},disabled:function(a){return a.disabled===!0},checked:function(a){return a.checked===!0},selected:function(a){a.parentNode&&a.parentNode.selectedIndex;return a.selected===!0},parent:function(a){return!!a.firstChild},empty:function(a){return!a.firstChild},has:function(a,b,c){return!!m(c[3],a).length},header:function(a){return/h\d/i.test(a.nodeName)},text:function(a){var b=a.getAttribute("type"),c=a.type;return a.nodeName.toLowerCase()==="input"&&"text"===c&&(b===c||b===null)},radio:function(a){return a.nodeName.toLowerCase()==="input"&&"radio"===a.type},checkbox:function(a){return a.nodeName.toLowerCase()==="input"&&"checkbox"===a.type},file:function(a){return a.nodeName.toLowerCase()==="input"&&"file"===a.type},password:function(a){return a.nodeName.toLowerCase()==="input"&&"password"===a.type},submit:function(a){var b=a.nodeName.toLowerCase();return(b==="input"||b==="button")&&"submit"===a.type},image:function(a){return a.nodeName.toLowerCase()==="input"&&"image"===a.type},reset:function(a){var b=a.nodeName.toLowerCase();return(b==="input"||b==="button")&&"reset"===a.type},button:function(a){var b=a.nodeName.toLowerCase();return b==="input"&&"button"===a.type||b==="button"},input:function(a){return/input|select|textarea|button/i.test(a.nodeName)},focus:function(a){return a===a.ownerDocument.activeElement}},setFilters:{first:function(a,b){return b===0},last:function(a,b,c,d){return b===d.length-1},even:function(a,b){return b%2===0},odd:function(a,b){return b%2===1},lt:function(a,b,c){return b<c[3]-0},gt:function(a,b,c){return b>c[3]-0},nth:function(a,b,c){return c[3]-0===b},eq:function(a,b,c){return c[3]-0===b}},filter:{PSEUDO:function(a,b,c,d){var e=b[1],f=o.filters[e];if(f)return f(a,c,b,d);if(e==="contains")return(a.textContent||a.innerText||n([a])||"").indexOf(b[3])>=0;if(e==="not"){var g=b[3];for(var h=0,i=g.length;h<i;h++)if(g[h]===a)return!1;return!0}m.error(e)},CHILD:function(a,b){var c,e,f,g,h,i,j,k=b[1],l=a;switch(k){case"only":case"first":while(l=l.previousSibling)if(l.nodeType===1)return!1;if(k==="first")return!0;l=a;case"last":while(l=l.nextSibling)if(l.nodeType===1)return!1;return!0;case"nth":c=b[2],e=b[3];if(c===1&&e===0)return!0;f=b[0],g=a.parentNode;if(g&&(g[d]!==f||!a.nodeIndex)){i=0;for(l=g.firstChild;l;l=l.nextSibling)l.nodeType===1&&(l.nodeIndex=++i);g[d]=f}j=a.nodeIndex-e;return c===0?j===0:j%c===0&&j/c>=0}},ID:function(a,b){return a.nodeType===1&&a.getAttribute("id")===b},TAG:function(a,b){return b==="*"&&a.nodeType===1||!!a.nodeName&&a.nodeName.toLowerCase()===b},CLASS:function(a,b){return(" "+(a.className||a.getAttribute("class"))+" ").indexOf(b)>-1},ATTR:function(a,b){var c=b[1],d=m.attr?m.attr(a,c):o.attrHandle[c]?o.attrHandle[c](a):a[c]!=null?a[c]:a.getAttribute(c),e=d+"",f=b[2],g=b[4];return d==null?f==="!=":!f&&m.attr?d!=null:f==="="?e===g:f==="*="?e.indexOf(g)>=0:f==="~="?(" "+e+" ").indexOf(g)>=0:g?f==="!="?e!==g:f==="^="?e.indexOf(g)===0:f==="$="?e.substr(e.length-g.length)===g:f==="|="?e===g||e.substr(0,g.length+1)===g+"-":!1:e&&d!==!1},POS:function(a,b,c,d){var e=b[2],f=o.setFilters[e];if(f)return f(a,c,b,d)}}},p=o.match.POS,q=function(a,b){return"\\"+(b-0+1)};for(var r in o.match)o.match[r]=new RegExp(o.match[r].source+/(?![^\[]*\])(?![^\(]*\))/.source),o.leftMatch[r]=new RegExp(/(^(?:.|\r|\n)*?)/.source+o.match[r].source.replace(/\\(\d+)/g,q));var s=function(a,b){a=Array.prototype.slice.call(a,0);if(b){b.push.apply(b,a);return b}return a};try{Array.prototype.slice.call(c.documentElement.childNodes,0)[0].nodeType}catch(t){s=function(a,b){var c=0,d=b||[];if(g.call(a)==="[object Array]")Array.prototype.push.apply(d,a);else if(typeof a.length=="number")for(var e=a.length;c<e;c++)d.push(a[c]);else for(;a[c];c++)d.push(a[c]);return d}}var u,v;c.documentElement.compareDocumentPosition?u=function(a,b){if(a===b){h=!0;return 0}if(!a.compareDocumentPosition||!b.compareDocumentPosition)return a.compareDocumentPosition?-1:1;return a.compareDocumentPosition(b)&4?-1:1}:(u=function(a,b){if(a===b){h=!0;return 0}if(a.sourceIndex&&b.sourceIndex)return a.sourceIndex-b.sourceIndex;var c,d,e=[],f=[],g=a.parentNode,i=b.parentNode,j=g;if(g===i)return v(a,b);if(!g)return-1;if(!i)return 1;while(j)e.unshift(j),j=j.parentNode;j=i;while(j)f.unshift(j),j=j.parentNode;c=e.length,d=f.length;for(var k=0;k<c&&k<d;k++)if(e[k]!==f[k])return v(e[k],f[k]);return k===c?v(a,f[k],-1):v(e[k],b,1)},v=function(a,b,c){if(a===b)return c;var d=a.nextSibling;while(d){if(d===b)return-1;d=d.nextSibling}return 1}),function(){var a=c.createElement("div"),d="script"+(new Date).getTime(),e=c.documentElement;a.innerHTML="<a name='"+d+"'/>",e.insertBefore(a,e.firstChild),c.getElementById(d)&&(o.find.ID=function(a,c,d){if(typeof c.getElementById!="undefined"&&!d){var e=c.getElementById(a[1]);return e?e.id===a[1]||typeof e.getAttributeNode!="undefined"&&e.getAttributeNode("id").nodeValue===a[1]?[e]:b:[]}},o.filter.ID=function(a,b){var c=typeof a.getAttributeNode!="undefined"&&a.getAttributeNode("id");return a.nodeType===1&&c&&c.nodeValue===b}),e.removeChild(a),e=a=null}(),function(){var a=c.createElement("div");a.appendChild(c.createComment("")),a.getElementsByTagName("*").length>0&&(o.find.TAG=function(a,b){var c=b.getElementsByTagName(a[1]);if(a[1]==="*"){var d=[];for(var e=0;c[e];e++)c[e].nodeType===1&&d.push(c[e]);c=d}return c}),a.innerHTML="<a href='#'></a>",a.firstChild&&typeof a.firstChild.getAttribute!="undefined"&&a.firstChild.getAttribute("href")!=="#"&&(o.attrHandle.href=function(a){return a.getAttribute("href",2)}),a=null}(),c.querySelectorAll&&function(){var a=m,b=c.createElement("div"),d="__sizzle__";b.innerHTML="<p class='TEST'></p>";if(!b.querySelectorAll||b.querySelectorAll(".TEST").length!==0){m=function(b,e,f,g){e=e||c;if(!g&&!m.isXML(e)){var h=/^(\w+$)|^\.([\w\-]+$)|^#([\w\-]+$)/.exec(b);if(h&&(e.nodeType===1||e.nodeType===9)){if(h[1])return s(e.getElementsByTagName(b),f);if(h[2]&&o.find.CLASS&&e.getElementsByClassName)return s(e.getElementsByClassName(h[2]),f)}if(e.nodeType===9){if(b==="body"&&e.body)return s([e.body],f);if(h&&h[3]){var i=e.getElementById(h[3]);if(!i||!i.parentNode)return s([],f);if(i.id===h[3])return s([i],f)}try{return s(e.querySelectorAll(b),f)}catch(j){}}else if(e.nodeType===1&&e.nodeName.toLowerCase()!=="object"){var k=e,l=e.getAttribute("id"),n=l||d,p=e.parentNode,q=/^\s*[+~]/.test(b);l?n=n.replace(/'/g,"\\$&"):e.setAttribute("id",n),q&&p&&(e=e.parentNode);try{if(!q||p)return s(e.querySelectorAll("[id='"+n+"'] "+b),f)}catch(r){}finally{l||k.removeAttribute("id")}}}return a(b,e,f,g)};for(var e in a)m[e]=a[e];b=null}}(),function(){var a=c.documentElement,b=a.matchesSelector||a.mozMatchesSelector||a.webkitMatchesSelector||a.msMatchesSelector;if(b){var d=!b.call(c.createElement("div"),"div"),e=!1;try{b.call(c.documentElement,"[test!='']:sizzle")}catch(f){e=!0}m.matchesSelector=function(a,c){c=c.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");if(!m.isXML(a))try{if(e||!o.match.PSEUDO.test(c)&&!/!=/.test(c)){var f=b.call(a,c);if(f||!d||a.document&&a.document.nodeType!==11)return f}}catch(g){}return m(c,null,null,[a]).length>0}}}(),function(){var a=c.createElement("div");a.innerHTML="<div class='test e'></div><div class='test'></div>";if(!!a.getElementsByClassName&&a.getElementsByClassName("e").length!==0){a.lastChild.className="e";if(a.getElementsByClassName("e").length===1)return;o.order.splice(1,0,"CLASS"),o.find.CLASS=function(a,b,c){if(typeof b.getElementsByClassName!="undefined"&&!c)return b.getElementsByClassName(a[1])},a=null}}(),c.documentElement.contains?m.contains=function(a,b){return a!==b&&(a.contains?a.contains(b):!0)}:c.documentElement.compareDocumentPosition?m.contains=function(a,b){return!!(a.compareDocumentPosition(b)&16)}:m.contains=function(){return!1},m.isXML=function(a){var b=(a?a.ownerDocument||a:0).documentElement;return b?b.nodeName!=="HTML":!1};var y=function(a,b,c){var d,e=[],f="",g=b.nodeType?[b]:b;while(d=o.match.PSEUDO.exec(a))f+=d[0],a=a.replace(o.match.PSEUDO,"");a=o.relative[a]?a+"*":a;for(var h=0,i=g.length;h<i;h++)m(a,g[h],e,c);return m.filter(f,e)};m.attr=f.attr,m.selectors.attrMap={},f.find=m,f.expr=m.selectors,f.expr[":"]=f.expr.filters,f.unique=m.uniqueSort,f.text=m.getText,f.isXMLDoc=m.isXML,f.contains=m.contains}();var O=/Until$/,P=/^(?:parents|prevUntil|prevAll)/,Q=/,/,R=/^.[^:#\[\.,]*$/,S=Array.prototype.slice,T=f.expr.match.POS,U={children:!0,contents:!0,next:!0,prev:!0};f.fn.extend({find:function(a){var b=this,c,d;if(typeof a!="string")return f(a).filter(function(){for(c=0,d=b.length;c<d;c++)if(f.contains(b[c],this))return!0});var e=this.pushStack("","find",a),g,h,i;for(c=0,d=this.length;c<d;c++){g=e.length,f.find(a,this[c],e);if(c>0)for(h=g;h<e.length;h++)for(i=0;i<g;i++)if(e[i]===e[h]){e.splice(h--,1);break}}return e},has:function(a){var b=f(a);return this.filter(function(){for(var a=0,c=b.length;a<c;a++)if(f.contains(this,b[a]))return!0})},not:function(a){return this.pushStack(W(this,a,!1),"not",a)},filter:function(a){return this.pushStack(W(this,a,!0),"filter",a)},is:function(a){return!!a&&(typeof a=="string"?T.test(a)?f(a,this.context).index(this[0])>=0:f.filter(a,this).length>0:this.filter(a).length>0)},closest:function(a,b){var c=[],d,e,g=this[0];if(f.isArray(a)){var h=1;while(g&&g.ownerDocument&&g!==b){for(d=0;d<a.length;d++)f(g).is(a[d])&&c.push({selector:a[d],elem:g,level:h});g=g.parentNode,h++}return c}var i=T.test(a)||typeof a!="string"?f(a,b||this.context):0;for(d=0,e=this.length;d<e;d++){g=this[d];while(g){if(i?i.index(g)>-1:f.find.matchesSelector(g,a)){c.push(g);break}g=g.parentNode;if(!g||!g.ownerDocument||g===b||g.nodeType===11)break}}c=c.length>1?f.unique(c):c;return this.pushStack(c,"closest",a)},index:function(a){if(!a)return this[0]&&this[0].parentNode?this.prevAll().length:-1;if(typeof a=="string")return f.inArray(this[0],f(a));return f.inArray(a.jquery?a[0]:a,this)},add:function(a,b){var c=typeof a=="string"?f(a,b):f.makeArray(a&&a.nodeType?[a]:a),d=f.merge(this.get(),c);return this.pushStack(V(c[0])||V(d[0])?d:f.unique(d))},andSelf:function(){return this.add(this.prevObject)}}),f.each({parent:function(a){var b=a.parentNode;return b&&b.nodeType!==11?b:null},parents:function(a){return f.dir(a,"parentNode")},parentsUntil:function(a,b,c){return f.dir(a,"parentNode",c)},next:function(a){return f.nth(a,2,"nextSibling")},prev:function(a){return f.nth(a,2,"previousSibling")},nextAll:function(a){return f.dir(a,"nextSibling")},prevAll:function(a){return f.dir(a,"previousSibling")},nextUntil:function(a,b,c){return f.dir(a,"nextSibling",c)},prevUntil:function(a,b,c){return f.dir(a,"previousSibling",c)},siblings:function(a){return f.sibling(a.parentNode.firstChild,a)},children:function(a){return f.sibling(a.firstChild)},contents:function(a){return f.nodeName(a,"iframe")?a.contentDocument||a.contentWindow.document:f.makeArray(a.childNodes)}},function(a,b){f.fn[a]=function(c,d){var e=f.map(this,b,c),g=S.call(arguments);O.test(a)||(d=c),d&&typeof d=="string"&&(e=f.filter(d,e)),e=this.length>1&&!U[a]?f.unique(e):e,(this.length>1||Q.test(d))&&P.test(a)&&(e=e.reverse());return this.pushStack(e,a,g.join(","))}}),f.extend({filter:function(a,b,c){c&&(a=":not("+a+")");return b.length===1?f.find.matchesSelector(b[0],a)?[b[0]]:[]:f.find.matches(a,b)},dir:function(a,c,d){var e=[],g=a[c];while(g&&g.nodeType!==9&&(d===b||g.nodeType!==1||!f(g).is(d)))g.nodeType===1&&e.push(g),g=g[c];return e},nth:function(a,b,c,d){b=b||1;var e=0;for(;a;a=a[c])if(a.nodeType===1&&++e===b)break;return a},sibling:function(a,b){var c=[];for(;a;a=a.nextSibling)a.nodeType===1&&a!==b&&c.push(a);return c}});var Y="abbr article aside audio canvas datalist details figcaption figure footer header hgroup mark meter nav output progress section summary time video",Z=/ jQuery\d+="(?:\d+|null)"/g,$=/^\s+/,_=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,ba=/<([\w:]+)/,bb=/<tbody/i,bc=/<|&#?\w+;/,bd=/<(?:script|style)/i,be=/<(?:script|object|embed|option|style)/i,bf=new RegExp("<(?:"+Y.replace(" ","|")+")","i"),bg=/checked\s*(?:[^=]|=\s*.checked.)/i,bh=/\/(java|ecma)script/i,bi=/^\s*<!(?:\[CDATA\[|\-\-)/,bj={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],area:[1,"<map>","</map>"],_default:[0,"",""]},bk=X(c);bj.optgroup=bj.option,bj.tbody=bj.tfoot=bj.colgroup=bj.caption=bj.thead,bj.th=bj.td,f.support.htmlSerialize||(bj._default=[1,"div<div>","</div>"]),f.fn.extend({text:function(a){if(f.isFunction(a))return this.each(function(b){var c=f(this);c.text(a.call(this,b,c.text()))});if(typeof a!="object"&&a!==b)return this.empty().append((this[0]&&this[0].ownerDocument||c).createTextNode(a));return f.text(this)},wrapAll:function(a){if(f.isFunction(a))return this.each(function(b){f(this).wrapAll(a.call(this,b))});if(this[0]){var b=f(a,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&b.insertBefore(this[0]),b.map(function(){var a=this;while(a.firstChild&&a.firstChild.nodeType===1)a=a.firstChild;return a}).append(this)}return this},wrapInner:function(a){if(f.isFunction(a))return this.each(function(b){f(this).wrapInner(a.call(this,b))});return this.each(function(){var b=f(this),c=b.contents();c.length?c.wrapAll(a):b.append(a)})},wrap:function(a){return this.each(function(){f(this).wrapAll(a)})},unwrap:function(){return this.parent().each(function(){f.nodeName(this,"body")||f(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,!0,function(a){this.nodeType===1&&this.appendChild(a)})},prepend:function(){return this.domManip(arguments,!0,function(a){this.nodeType===1&&this.insertBefore(a,this.firstChild)})},before:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,!1,function(a){this.parentNode.insertBefore(a,this)});if(arguments.length){var a=f(arguments[0]);a.push.apply(a,this.toArray());return this.pushStack(a,"before",arguments)}},after:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,!1,function(a){this.parentNode.insertBefore(a,this.nextSibling)});if(arguments.length){var a=this.pushStack(this,"after"
,arguments);a.push.apply(a,f(arguments[0]).toArray());return a}},remove:function(a,b){for(var c=0,d;(d=this[c])!=null;c++)if(!a||f.filter(a,[d]).length)!b&&d.nodeType===1&&(f.cleanData(d.getElementsByTagName("*")),f.cleanData([d])),d.parentNode&&d.parentNode.removeChild(d);return this},empty:function(){for(var a=0,b;(b=this[a])!=null;a++){b.nodeType===1&&f.cleanData(b.getElementsByTagName("*"));while(b.firstChild)b.removeChild(b.firstChild)}return this},clone:function(a,b){a=a==null?!1:a,b=b==null?a:b;return this.map(function(){return f.clone(this,a,b)})},html:function(a){if(a===b)return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(Z,""):null;if(typeof a=="string"&&!bd.test(a)&&(f.support.leadingWhitespace||!$.test(a))&&!bj[(ba.exec(a)||["",""])[1].toLowerCase()]){a=a.replace(_,"<$1></$2>");try{for(var c=0,d=this.length;c<d;c++)this[c].nodeType===1&&(f.cleanData(this[c].getElementsByTagName("*")),this[c].innerHTML=a)}catch(e){this.empty().append(a)}}else f.isFunction(a)?this.each(function(b){var c=f(this);c.html(a.call(this,b,c.html()))}):this.empty().append(a);return this},replaceWith:function(a){if(this[0]&&this[0].parentNode){if(f.isFunction(a))return this.each(function(b){var c=f(this),d=c.html();c.replaceWith(a.call(this,b,d))});typeof a!="string"&&(a=f(a).detach());return this.each(function(){var b=this.nextSibling,c=this.parentNode;f(this).remove(),b?f(b).before(a):f(c).append(a)})}return this.length?this.pushStack(f(f.isFunction(a)?a():a),"replaceWith",a):this},detach:function(a){return this.remove(a,!0)},domManip:function(a,c,d){var e,g,h,i,j=a[0],k=[];if(!f.support.checkClone&&arguments.length===3&&typeof j=="string"&&bg.test(j))return this.each(function(){f(this).domManip(a,c,d,!0)});if(f.isFunction(j))return this.each(function(e){var g=f(this);a[0]=j.call(this,e,c?g.html():b),g.domManip(a,c,d)});if(this[0]){i=j&&j.parentNode,f.support.parentNode&&i&&i.nodeType===11&&i.childNodes.length===this.length?e={fragment:i}:e=f.buildFragment(a,this,k),h=e.fragment,h.childNodes.length===1?g=h=h.firstChild:g=h.firstChild;if(g){c=c&&f.nodeName(g,"tr");for(var l=0,m=this.length,n=m-1;l<m;l++)d.call(c?bl(this[l],g):this[l],e.cacheable||m>1&&l<n?f.clone(h,!0,!0):h)}k.length&&f.each(k,br)}return this}}),f.buildFragment=function(a,b,d){var e,g,h,i,j=a[0];b&&b[0]&&(i=b[0].ownerDocument||b[0]),i.createDocumentFragment||(i=c),a.length===1&&typeof j=="string"&&j.length<512&&i===c&&j.charAt(0)==="<"&&!be.test(j)&&(f.support.checkClone||!bg.test(j))&&!f.support.unknownElems&&bf.test(j)&&(g=!0,h=f.fragments[j],h&&h!==1&&(e=h)),e||(e=i.createDocumentFragment(),f.clean(a,i,e,d)),g&&(f.fragments[j]=h?e:1);return{fragment:e,cacheable:g}},f.fragments={},f.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,b){f.fn[a]=function(c){var d=[],e=f(c),g=this.length===1&&this[0].parentNode;if(g&&g.nodeType===11&&g.childNodes.length===1&&e.length===1){e[b](this[0]);return this}for(var h=0,i=e.length;h<i;h++){var j=(h>0?this.clone(!0):this).get();f(e[h])[b](j),d=d.concat(j)}return this.pushStack(d,a,e.selector)}}),f.extend({clone:function(a,b,c){var d=a.cloneNode(!0),e,g,h;if((!f.support.noCloneEvent||!f.support.noCloneChecked)&&(a.nodeType===1||a.nodeType===11)&&!f.isXMLDoc(a)){bn(a,d),e=bo(a),g=bo(d);for(h=0;e[h];++h)g[h]&&bn(e[h],g[h])}if(b){bm(a,d);if(c){e=bo(a),g=bo(d);for(h=0;e[h];++h)bm(e[h],g[h])}}e=g=null;return d},clean:function(a,b,d,e){var g;b=b||c,typeof b.createElement=="undefined"&&(b=b.ownerDocument||b[0]&&b[0].ownerDocument||c);var h=[],i;for(var j=0,k;(k=a[j])!=null;j++){typeof k=="number"&&(k+="");if(!k)continue;if(typeof k=="string")if(!bc.test(k))k=b.createTextNode(k);else{k=k.replace(_,"<$1></$2>");var l=(ba.exec(k)||["",""])[1].toLowerCase(),m=bj[l]||bj._default,n=m[0],o=b.createElement("div");b===c?bk.appendChild(o):X(b).appendChild(o),o.innerHTML=m[1]+k+m[2];while(n--)o=o.lastChild;if(!f.support.tbody){var p=bb.test(k),q=l==="table"&&!p?o.firstChild&&o.firstChild.childNodes:m[1]==="<table>"&&!p?o.childNodes:[];for(i=q.length-1;i>=0;--i)f.nodeName(q[i],"tbody")&&!q[i].childNodes.length&&q[i].parentNode.removeChild(q[i])}!f.support.leadingWhitespace&&$.test(k)&&o.insertBefore(b.createTextNode($.exec(k)[0]),o.firstChild),k=o.childNodes}var r;if(!f.support.appendChecked)if(k[0]&&typeof (r=k.length)=="number")for(i=0;i<r;i++)bq(k[i]);else bq(k);k.nodeType?h.push(k):h=f.merge(h,k)}if(d){g=function(a){return!a.type||bh.test(a.type)};for(j=0;h[j];j++)if(e&&f.nodeName(h[j],"script")&&(!h[j].type||h[j].type.toLowerCase()==="text/javascript"))e.push(h[j].parentNode?h[j].parentNode.removeChild(h[j]):h[j]);else{if(h[j].nodeType===1){var s=f.grep(h[j].getElementsByTagName("script"),g);h.splice.apply(h,[j+1,0].concat(s))}d.appendChild(h[j])}}return h},cleanData:function(a){var b,c,d=f.cache,e=f.event.special,g=f.support.deleteExpando;for(var h=0,i;(i=a[h])!=null;h++){if(i.nodeName&&f.noData[i.nodeName.toLowerCase()])continue;c=i[f.expando];if(c){b=d[c];if(b&&b.events){for(var j in b.events)e[j]?f.event.remove(i,j):f.removeEvent(i,j,b.handle);b.handle&&(b.handle.elem=null)}g?delete i[f.expando]:i.removeAttribute&&i.removeAttribute(f.expando),delete d[c]}}}});var bs=/alpha\([^)]*\)/i,bt=/opacity=([^)]*)/,bu=/([A-Z]|^ms)/g,bv=/^-?\d+(?:px)?$/i,bw=/^-?\d/,bx=/^([\-+])=([\-+.\de]+)/,by={position:"absolute",visibility:"hidden",display:"block"},bz=["Left","Right"],bA=["Top","Bottom"],bB,bC,bD;f.fn.css=function(a,c){if(arguments.length===2&&c===b)return this;return f.access(this,a,c,!0,function(a,c,d){return d!==b?f.style(a,c,d):f.css(a,c)})},f.extend({cssHooks:{opacity:{get:function(a,b){if(b){var c=bB(a,"opacity","opacity");return c===""?"1":c}return a.style.opacity}}},cssNumber:{fillOpacity:!0,fontWeight:!0,lineHeight:!0,opacity:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":f.support.cssFloat?"cssFloat":"styleFloat"},style:function(a,c,d,e){if(!!a&&a.nodeType!==3&&a.nodeType!==8&&!!a.style){var g,h,i=f.camelCase(c),j=a.style,k=f.cssHooks[i];c=f.cssProps[i]||i;if(d===b){if(k&&"get"in k&&(g=k.get(a,!1,e))!==b)return g;return j[c]}h=typeof d,h==="string"&&(g=bx.exec(d))&&(d=+(g[1]+1)*+g[2]+parseFloat(f.css(a,c)),h="number");if(d==null||h==="number"&&isNaN(d))return;h==="number"&&!f.cssNumber[i]&&(d+="px");if(!k||!("set"in k)||(d=k.set(a,d))!==b)try{j[c]=d}catch(l){}}},css:function(a,c,d){var e,g;c=f.camelCase(c),g=f.cssHooks[c],c=f.cssProps[c]||c,c==="cssFloat"&&(c="float");if(g&&"get"in g&&(e=g.get(a,!0,d))!==b)return e;if(bB)return bB(a,c)},swap:function(a,b,c){var d={};for(var e in b)d[e]=a.style[e],a.style[e]=b[e];c.call(a);for(e in b)a.style[e]=d[e]}}),f.curCSS=f.css,f.each(["height","width"],function(a,b){f.cssHooks[b]={get:function(a,c,d){var e;if(c){if(a.offsetWidth!==0)return bE(a,b,d);f.swap(a,by,function(){e=bE(a,b,d)});return e}},set:function(a,b){if(!bv.test(b))return b;b=parseFloat(b);if(b>=0)return b+"px"}}}),f.support.opacity||(f.cssHooks.opacity={get:function(a,b){return bt.test((b&&a.currentStyle?a.currentStyle.filter:a.style.filter)||"")?parseFloat(RegExp.$1)/100+"":b?"1":""},set:function(a,b){var c=a.style,d=a.currentStyle,e=f.isNumeric(b)?"alpha(opacity="+b*100+")":"",g=d&&d.filter||c.filter||"";c.zoom=1;if(b>=1&&f.trim(g.replace(bs,""))===""){c.removeAttribute("filter");if(d&&!d.filter)return}c.filter=bs.test(g)?g.replace(bs,e):g+" "+e}}),f(function(){f.support.reliableMarginRight||(f.cssHooks.marginRight={get:function(a,b){var c;f.swap(a,{display:"inline-block"},function(){b?c=bB(a,"margin-right","marginRight"):c=a.style.marginRight});return c}})}),c.defaultView&&c.defaultView.getComputedStyle&&(bC=function(a,c){var d,e,g;c=c.replace(bu,"-$1").toLowerCase();if(!(e=a.ownerDocument.defaultView))return b;if(g=e.getComputedStyle(a,null))d=g.getPropertyValue(c),d===""&&!f.contains(a.ownerDocument.documentElement,a)&&(d=f.style(a,c));return d}),c.documentElement.currentStyle&&(bD=function(a,b){var c,d,e,f=a.currentStyle&&a.currentStyle[b],g=a.style;f===null&&g&&(e=g[b])&&(f=e),!bv.test(f)&&bw.test(f)&&(c=g.left,d=a.runtimeStyle&&a.runtimeStyle.left,d&&(a.runtimeStyle.left=a.currentStyle.left),g.left=b==="fontSize"?"1em":f||0,f=g.pixelLeft+"px",g.left=c,d&&(a.runtimeStyle.left=d));return f===""?"auto":f}),bB=bC||bD,f.expr&&f.expr.filters&&(f.expr.filters.hidden=function(a){var b=a.offsetWidth,c=a.offsetHeight;return b===0&&c===0||!f.support.reliableHiddenOffsets&&(a.style&&a.style.display||f.css(a,"display"))==="none"},f.expr.filters.visible=function(a){return!f.expr.filters.hidden(a)});var bF=/%20/g,bG=/\[\]$/,bH=/\r?\n/g,bI=/#.*$/,bJ=/^(.*?):[ \t]*([^\r\n]*)\r?$/mg,bK=/^(?:color|date|datetime|datetime-local|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,bL=/^(?:about|app|app\-storage|.+\-extension|file|res|widget):$/,bM=/^(?:GET|HEAD)$/,bN=/^\/\//,bO=/\?/,bP=/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,bQ=/^(?:select|textarea)/i,bR=/\s+/,bS=/([?&])_=[^&]*/,bT=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+))?)?/,bU=f.fn.load,bV={},bW={},bX,bY,bZ=["*/"]+["*"];try{bX=e.href}catch(b$){bX=c.createElement("a"),bX.href="",bX=bX.href}bY=bT.exec(bX.toLowerCase())||[],f.fn.extend({load:function(a,c,d){if(typeof a!="string"&&bU)return bU.apply(this,arguments);if(!this.length)return this;var e=a.indexOf(" ");if(e>=0){var g=a.slice(e,a.length);a=a.slice(0,e)}var h="GET";c&&(f.isFunction(c)?(d=c,c=b):typeof c=="object"&&(c=f.param(c,f.ajaxSettings.traditional),h="POST"));var i=this;f.ajax({url:a,type:h,dataType:"html",data:c,complete:function(a,b,c){c=a.responseText,a.isResolved()&&(a.done(function(a){c=a}),i.html(g?f("<div>").append(c.replace(bP,"")).find(g):c)),d&&i.each(d,[c,b,a])}});return this},serialize:function(){return f.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?f.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||bQ.test(this.nodeName)||bK.test(this.type))}).map(function(a,b){var c=f(this).val();return c==null?null:f.isArray(c)?f.map(c,function(a,c){return{name:b.name,value:a.replace(bH,"\r\n")}}):{name:b.name,value:c.replace(bH,"\r\n")}}).get()}}),f.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(a,b){f.fn[b]=function(a){return this.bind(b,a)}}),f.each(["get","post"],function(a,c){f[c]=function(a,d,e,g){f.isFunction(d)&&(g=g||e,e=d,d=b);return f.ajax({type:c,url:a,data:d,success:e,dataType:g})}}),f.extend({getScript:function(a,c){return f.get(a,b,c,"script")},getJSON:function(a,b,c){return f.get(a,b,c,"json")},ajaxSetup:function(a,b){b?cb(a,f.ajaxSettings):(b=a,a=f.ajaxSettings),cb(a,b);return a},ajaxSettings:{url:bX,isLocal:bL.test(bY[1]),global:!0,type:"GET",contentType:"application/x-www-form-urlencoded",processData:!0,async:!0,accepts:{xml:"application/xml, text/xml",html:"text/html",text:"text/plain",json:"application/json, text/javascript","*":bZ},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":a.String,"text html":!0,"text json":f.parseJSON,"text xml":f.parseXML},flatOptions:{context:!0,url:!0}},ajaxPrefilter:b_(bV),ajaxTransport:b_(bW),ajax:function(a,c){function w(a,c,l,m){if(s!==2){s=2,q&&clearTimeout(q),p=b,n=m||"",v.readyState=a>0?4:0;var o,r,u,w=c,x=l?cd(d,v,l):b,y,z;if(a>=200&&a<300||a===304){if(d.ifModified){if(y=v.getResponseHeader("Last-Modified"))f.lastModified[k]=y;if(z=v.getResponseHeader("Etag"))f.etag[k]=z}if(a===304)w="notmodified",o=!0;else try{r=ce(d,x),w="success",o=!0}catch(A){w="parsererror",u=A}}else{u=w;if(!w||a)w="error",a<0&&(a=0)}v.status=a,v.statusText=""+(c||w),o?h.resolveWith(e,[r,w,v]):h.rejectWith(e,[v,w,u]),v.statusCode(j),j=b,t&&g.trigger("ajax"+(o?"Success":"Error"),[v,d,o?r:u]),i.fireWith(e,[v,w]),t&&(g.trigger("ajaxComplete",[v,d]),--f.active||f.event.trigger("ajaxStop"))}}typeof a=="object"&&(c=a,a=b),c=c||{};var d=f.ajaxSetup({},c),e=d.context||d,g=e!==d&&(e.nodeType||e instanceof f)?f(e):f.event,h=f.Deferred(),i=f.Callbacks("once memory"),j=d.statusCode||{},k,l={},m={},n,o,p,q,r,s=0,t,u,v={readyState:0,setRequestHeader:function(a,b){if(!s){var c=a.toLowerCase();a=m[c]=m[c]||a,l[a]=b}return this},getAllResponseHeaders:function(){return s===2?n:null},getResponseHeader:function(a){var c;if(s===2){if(!o){o={};while(c=bJ.exec(n))o[c[1].toLowerCase()]=c[2]}c=o[a.toLowerCase()]}return c===b?null:c},overrideMimeType:function(a){s||(d.mimeType=a);return this},abort:function(a){a=a||"abort",p&&p.abort(a),w(0,a);return this}};h.promise(v),v.success=v.done,v.error=v.fail,v.complete=i.add,v.statusCode=function(a){if(a){var b;if(s<2)for(b in a)j[b]=[j[b],a[b]];else b=a[v.status],v.then(b,b)}return this},d.url=((a||d.url)+"").replace(bI,"").replace(bN,bY[1]+"//"),d.dataTypes=f.trim(d.dataType||"*").toLowerCase().split(bR),d.crossDomain==null&&(r=bT.exec(d.url.toLowerCase()),d.crossDomain=!(!r||r[1]==bY[1]&&r[2]==bY[2]&&(r[3]||(r[1]==="http:"?80:443))==(bY[3]||(bY[1]==="http:"?80:443)))),d.data&&d.processData&&typeof d.data!="string"&&(d.data=f.param(d.data,d.traditional)),ca(bV,d,c,v);if(s===2)return!1;t=d.global,d.type=d.type.toUpperCase(),d.hasContent=!bM.test(d.type),t&&f.active++===0&&f.event.trigger("ajaxStart");if(!d.hasContent){d.data&&(d.url+=(bO.test(d.url)?"&":"?")+d.data,delete d.data),k=d.url;if(d.cache===!1){var x=f.now(),y=d.url.replace(bS,"$1_="+x);d.url=y+(y===d.url?(bO.test(d.url)?"&":"?")+"_="+x:"")}}(d.data&&d.hasContent&&d.contentType!==!1||c.contentType)&&v.setRequestHeader("Content-Type",d.contentType),d.ifModified&&(k=k||d.url,f.lastModified[k]&&v.setRequestHeader("If-Modified-Since",f.lastModified[k]),f.etag[k]&&v.setRequestHeader("If-None-Match",f.etag[k])),v.setRequestHeader("Accept",d.dataTypes[0]&&d.accepts[d.dataTypes[0]]?d.accepts[d.dataTypes[0]]+(d.dataTypes[0]!=="*"?", "+bZ+"; q=0.01":""):d.accepts["*"]);for(u in d.headers)v.setRequestHeader(u,d.headers[u]);if(d.beforeSend&&(d.beforeSend.call(e,v,d)===!1||s===2)){v.abort();return!1}for(u in{success:1,error:1,complete:1})v[u](d[u]);p=ca(bW,d,c,v);if(!p)w(-1,"No Transport");else{v.readyState=1,t&&g.trigger("ajaxSend",[v,d]),d.async&&d.timeout>0&&(q=setTimeout(function(){v.abort("timeout")},d.timeout));try{s=1,p.send(l,w)}catch(z){s<2?w(-1,z):f.error(z)}}return v},param:function(a,c){var d=[],e=function(a,b){b=f.isFunction(b)?b():b,d[d.length]=encodeURIComponent(a)+"="+encodeURIComponent(b)};c===b&&(c=f.ajaxSettings.traditional);if(f.isArray(a)||a.jquery&&!f.isPlainObject(a))f.each(a,function(){e(this.name,this.value)});else for(var g in a)cc(g,a[g],c,e);return d.join("&").replace(bF,"+")}}),f.extend({active:0,lastModified:{},etag:{}});var cf=f.now(),cg=/(\=)\?(&|$)|\?\?/i;f.ajaxSetup({jsonp:"callback",jsonpCallback:function(){return f.expando+"_"+cf++}}),f.ajaxPrefilter("json jsonp",function(b,c,d){var e=b.contentType==="application/x-www-form-urlencoded"&&typeof b.data=="string";if(b.dataTypes[0]==="jsonp"||b.jsonp!==!1&&(cg.test(b.url)||e&&cg.test(b.data))){var g,h=b.jsonpCallback=f.isFunction(b.jsonpCallback)?b.jsonpCallback():b.jsonpCallback,i=a[h],j=b.url,k=b.data,l="$1"+h+"$2";b.jsonp!==!1&&(j=j.replace(cg,l),b.url===j&&(e&&(k=k.replace(cg,l)),b.data===k&&(j+=(/\?/.test(j)?"&":"?")+b.jsonp+"="+h))),b.url=j,b.data=k,a[h]=function(a){g=[a]},d.always(function(){a[h]=i,g&&f.isFunction(i)&&a[h](g[0])}),b.converters["script json"]=function(){g||f.error(h+" was not called");return g[0]},b.dataTypes[0]="json";return"script"}}),f.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/javascript|ecmascript/},converters:{"text script":function(a){f.globalEval(a);return a}}}),f.ajaxPrefilter("script",function(a){a.cache===b&&(a.cache=!1),a.crossDomain&&(a.type="GET",a.global=!1)}),f.ajaxTransport("script",function(a){if(a.crossDomain){var d,e=c.head||c.getElementsByTagName("head")[0]||c.documentElement;return{send:function(f,g){d=c.createElement("script"),d.async="async",a.scriptCharset&&(d.charset=a.scriptCharset),d.src=a.url,d.onload=d.onreadystatechange=function(a,c){if(c||!d.readyState||/loaded|complete/.test(d.readyState))d.onload=d.onreadystatechange=null,e&&d.parentNode&&e.removeChild(d),d=b,c||g(200,"success")},e.insertBefore(d,e.firstChild)},abort:function(){d&&d.onload(0,1)}}}});var ch=a.ActiveXObject?function(){for(var a in cj)cj[a](0,1)}:!1,ci=0,cj;f.ajaxSettings.xhr=a.ActiveXObject?function(){return!this.isLocal&&ck()||cl()}:ck,function(a){f.extend(f.support,{ajax:!!a,cors:!!a&&"withCredentials"in a})}(f.ajaxSettings.xhr()),f.support.ajax&&f.ajaxTransport(function(c){if(!c.crossDomain||f.support.cors){var d;return{send:function(e,g){var h=c.xhr(),i,j;c.username?h.open(c.type,c.url,c.async,c.username,c.password):h.open(c.type,c.url,c.async);if(c.xhrFields)for(j in c.xhrFields)h[j]=c.xhrFields[j];c.mimeType&&h.overrideMimeType&&h.overrideMimeType(c.mimeType),!c.crossDomain&&!e["X-Requested-With"]&&(e["X-Requested-With"]="XMLHttpRequest");try{for(j in e)h.setRequestHeader(j,e[j])}catch(k){}h.send(c.hasContent&&c.data||null),d=function(a,e){var j,k,l,m,n;try{if(d&&(e||h.readyState===4)){d=b,i&&(h.onreadystatechange=f.noop,ch&&delete cj[i]);if(e)h.readyState!==4&&h.abort();else{j=h.status,l=h.getAllResponseHeaders(),m={},n=h.responseXML,n&&n.documentElement&&(m.xml=n),m.text=h.responseText;try{k=h.statusText}catch(o){k=""}!j&&c.isLocal&&!c.crossDomain?j=m.text?200:404:j===1223&&(j=204)}}}catch(p){e||g(-1,p)}m&&g(j,k,m,l)},!c.async||h.readyState===4?d():(i=++ci,ch&&(cj||(cj={},f(a).unload(ch)),cj[i]=d),h.onreadystatechange=d)},abort:function(){d&&d(0,1)}}}});var cm={},cn,co,cp=/^(?:toggle|show|hide)$/,cq=/^([+\-]=)?([\d+.\-]+)([a-z%]*)$/i,cr,cs=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]],ct;f.fn.extend({show:function(a,b,c){var d,e;if(a||a===0)return this.animate(cw("show",3),a,b,c);for(var g=0,h=this.length;g<h;g++)d=this[g],d.style&&(e=d.style.display,!f._data(d,"olddisplay")&&e==="none"&&(e=d.style.display=""),e===""&&f.css(d,"display")==="none"&&f._data(d,"olddisplay",cx(d.nodeName)));for(g=0;g<h;g++){d=this[g];if(d.style){e=d.style.display;if(e===""||e==="none")d.style.display=f._data(d,"olddisplay")||""}}return this},hide:function(a,b,c){if(a||a===0)return this.animate(cw("hide",3),a,b,c);var d,e,g=0,h=this.length;for(;g<h;g++)d=this[g],d.style&&(e=f.css(d,"display"),e!=="none"&&!f._data(d,"olddisplay")&&f._data(d,"olddisplay",e));for(g=0;g<h;g++)this[g].style&&(this[g].style.display="none");return this},_toggle:f.fn.toggle,toggle:function(a,b,c){var d=typeof a=="boolean";f.isFunction(a)&&f.isFunction(b)?this._toggle.apply(this,arguments):a==null||d?this.each(function(){var b=d?a:f(this).is(":hidden");f(this)[b?"show":"hide"]()}):this.animate(cw("toggle",3),a,b,c);return this},fadeTo:function(a,b,c,d){return this.filter(":hidden").css("opacity",0).show().end().animate({opacity:b},a,c,d)},animate:function(a,b,c,d){function g(){e.queue===!1&&f._mark(this);var b=f.extend({},e),c=this.nodeType===1,d=c&&f(this).is(":hidden"),g,h,i,j,k,l,m,n,o;b.animatedProperties={};for(i in a){g=f.camelCase(i),i!==g&&(a[g]=a[i],delete a[i]),h=a[g],f.isArray(h)?(b.animatedProperties[g]=h[1],h=a[g]=h[0]):b.animatedProperties[g]=b.specialEasing&&b.specialEasing[g]||b.easing||"swing";if(h==="hide"&&d||h==="show"&&!d)return b.complete.call(this);c&&(g==="height"||g==="width")&&(b.overflow=[this.style.overflow,this.style.overflowX,this.style.overflowY],f.css(this,"display")==="inline"&&f.css(this,"float")==="none"&&(!f.support.inlineBlockNeedsLayout||cx(this.nodeName)==="inline"?this.style.display="inline-block":this.style.zoom=1))}b.overflow!=null&&(this.style.overflow="hidden");for(i in a)j=new f.fx(this,b,i),h=a[i],cp.test(h)?(o=f._data(this,"toggle"+i)||(h==="toggle"?d?"show":"hide":0),o?(f._data(this,"toggle"+i,o==="show"?"hide":"show"),j[o]()):j[h]()):(k=cq.exec(h),l=j.cur(),k?(m=parseFloat(k[2]),n=k[3]||(f.cssNumber[i]?"":"px"),n!=="px"&&(f.style(this,i,(m||1)+n),l=(m||1)/j.cur()*l,f.style(this,i,l+n)),k[1]&&(m=(k[1]==="-="?-1:1)*m+l),j.custom(l,m,n)):j.custom(l,h,""));return!0}var e=f.speed(b,c,d);if(f.isEmptyObject(a))return this.each(e.complete,[!1]);a=f.extend({},a);return e.queue===!1?this.each(g):this.queue(e.queue,g)},stop:function(a,c,d){typeof a!="string"&&(d=c,c=a,a=b),c&&a!==!1&&this.queue(a||"fx",[]);return this.each(function(){function h(a,b,c){var e=b[c];f.removeData(a,c,!0),e.stop(d)}var b,c=!1,e=f.timers,g=f._data(this);d||f._unmark(!0,this);if(a==null)for(b in g)g[b].stop&&b.indexOf(".run")===b.length-4&&h(this,g,b);else g[b=a+".run"]&&g[b].stop&&h(this,g,b);for(b=e.length;b--;)e[b].elem===this&&(a==null||e[b].queue===a)&&(d?e[b](!0):e[b].saveState(),c=!0,e.splice(b,1));(!d||!c)&&f.dequeue(this,a)})}}),f.each({slideDown:cw("show",1),slideUp:cw("hide",1),slideToggle:cw("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(a,b){f.fn[a]=function(a,c,d){return this.animate(b,a,c,d)}}),f.extend({speed:function(a,b,c){var d=a&&typeof a=="object"?f.extend({},a):{complete:c||!c&&b||f.isFunction(a)&&a,duration:a,easing:c&&b||b&&!f.isFunction(b)&&b};d.duration=f.fx.off?0:typeof d.duration=="number"?d.duration:d.duration in f.fx.speeds?f.fx.speeds[d.duration]:f.fx.speeds._default;if(d.queue==null||d.queue===!0)d.queue="fx";d.old=d.complete,d.complete=function(a){f.isFunction(d.old)&&d.old.call(this),d.queue?f.dequeue(this,d.queue):a!==!1&&f._unmark(this)};return d},easing:{linear:function(a,b,c,d){return c+d*a},swing:function(a,b,c,d){return(-Math.cos(a*Math.PI)/2+.5)*d+c}},timers:[],fx:function(a,b,c){this.options=b,this.elem=a,this.prop=c,b.orig=b.orig||{}}}),f.fx.prototype={update:function(){this.options.step&&this.options.step.call(this.elem,this.now,this),(f.fx.step[this.prop]||f.fx.step._default)(this)},cur:function(){if(this.elem[this.prop]!=null&&(!this.elem.style||this.elem.style[this.prop]==null))return this.elem[this.prop];var a,b=f.css(this.elem,this.prop);return isNaN(a=parseFloat(b))?!b||b==="auto"?0:b:a},custom:function(a,c,d){function h(a){return e.step(a)}var e=this,g=f.fx;this.startTime=ct||cu(),this.end=c,this.now=this.start=a,this.pos=this.state=0,this.unit=d||this.unit||(f.cssNumber[this.prop]?"":"px"),h.queue=this.options.queue,h.elem=this.elem,h.saveState=function(){e.options.hide&&f._data(e.elem,"fxshow"+e.prop)===b&&f._data(e.elem,"fxshow"+e.prop,e.start)},h()&&f.timers.push(h)&&!cr&&(cr=setInterval(g.tick,g.interval))},show:function(){var a=f._data(this.elem,"fxshow"+this.prop);this.options.orig[this.prop]=a||f.style(this.elem,this.prop),this.options.show=!0,a!==b?this.custom(this.cur(),a):this.custom(this.prop==="width"||this.prop==="height"?1:0,this.cur()),f(this.elem).show()},hide:function(){this.options.orig[this.prop]=f._data(this.elem,"fxshow"+this.prop)||f.style(this.elem,this.prop),this.options.hide=!0,this.custom(this.cur(),0)},step:function(a){var b,c,d,e=ct||cu(),g=!0,h=this.elem,i=this.options;if(a||e>=i.duration+this.startTime){this.now=this.end,this.pos=this.state=1,this.update(),i.animatedProperties[this.prop]=!0;for(b in i.animatedProperties)i.animatedProperties[b]!==!0&&(g=!1);if(g){i.overflow!=null&&!f.support.shrinkWrapBlocks&&f.each(["","X","Y"],function(a,b){h.style["overflow"+b]=i.overflow[a]}),i.hide&&f(h).hide();if(i.hide||i.show)for(b in i.animatedProperties)f.style(h,b,i.orig[b]),f.removeData(h,"fxshow"+b,!0),f.removeData(h,"toggle"+b,!0);d=i.complete,d&&(i.complete=!1,d.call(h))}return!1}i.duration==Infinity?this.now=e:(c=e-this.startTime,this.state=c/i.duration,this.pos=f.easing[i.animatedProperties[this.prop]](this.state,c,0,1,i.duration),this.now=this.start+(this.end-this.start)*this.pos),this.update();return!0}},f.extend(f.fx,{tick:function(){var a,b=f.timers,c=0;for(;c<b.length;c++)a=b[c],!a()&&b[c]===a&&b.splice(c--,1);b.length||f.fx.stop()},interval:13,stop:function(){clearInterval(cr),cr=null},speeds:{slow:600,fast:200,_default:400},step:{opacity:function(a){f.style(a.elem,"opacity",a.now)},_default:function(a){a.elem.style&&a.elem.style[a.prop]!=null?a.elem.style[a.prop]=a.now+a.unit:a.elem[a.prop]=a.now}}}),f.each(["width","height"],function(a,b){f.fx.step[b]=function(a){f.style(a.elem,b,Math.max(0,a.now))}}),f.expr&&f.expr.filters&&(f.expr.filters.animated=function(a){return f.grep(f.timers,function(b){return a===b.elem}).length});var cy=/^t(?:able|d|h)$/i,cz=/^(?:body|html)$/i;"getBoundingClientRect"in c.documentElement?f.fn.offset=function(a){var b=this[0],c;if(a)return this.each(function(b){f.offset.setOffset(this,a,b)});if(!b||!b.ownerDocument)return null;if(b===b.ownerDocument.body)return f.offset.bodyOffset(b);try{c=b.getBoundingClientRect()}catch(d){}var e=b.ownerDocument,g=e.documentElement;if(!c||!f.contains(g,b))return c?{top:c.top,left:c.left}:{top:0,left:0};var h=e.body,i=cA(e),j=g.clientTop||h.clientTop||0,k=g.clientLeft||h.clientLeft||0,l=i.pageYOffset||f.support.boxModel&&g.scrollTop||h.scrollTop,m=i.pageXOffset||f.support.boxModel&&g.scrollLeft||h.scrollLeft,n=c.top+l-j,o=c.left+m-k;return{top:n,left:o}}:f.fn.offset=function(a){var b=this[0];if(a)return this.each(function(b){f.offset.setOffset(this,a,b)});if(!b||!b.ownerDocument)return null;if(b===b.ownerDocument.body)return f.offset.bodyOffset(b);var c,d=b.offsetParent,e=b,g=b.ownerDocument,h=g.documentElement,i=g.body,j=g.defaultView,k=j?j.getComputedStyle(b,null):b.currentStyle,l=b.offsetTop,m=b.offsetLeft;while((b=b.parentNode)&&b!==i&&b!==h){if(f.support.fixedPosition&&k.position==="fixed")break;c=j?j.getComputedStyle(b,null):b.currentStyle,l-=b.scrollTop,m-=b.scrollLeft,b===d&&(l+=b.offsetTop,m+=b.offsetLeft,f.support.doesNotAddBorder&&(!f.support.doesAddBorderForTableAndCells||!cy.test(b.nodeName))&&(l+=parseFloat(c.borderTopWidth)||0,m+=parseFloat(c.borderLeftWidth)||0),e=d,d=b.offsetParent),f.support.subtractsBorderForOverflowNotVisible&&c.overflow!=="visible"&&(l+=parseFloat(c.borderTopWidth)||0,m+=parseFloat(c.borderLeftWidth)||0),k=c}if(k.position==="relative"||k.position==="static")l+=i.offsetTop,m+=i.offsetLeft;f.support.fixedPosition&&k.position==="fixed"&&(l+=Math.max(h.scrollTop,i.scrollTop),m+=Math.max(h.scrollLeft,i.scrollLeft));return{top:l,left:m}},f.offset={bodyOffset:function(a){var b=a.offsetTop,c=a.offsetLeft;f.support.doesNotIncludeMarginInBodyOffset&&(b+=parseFloat(f.css(a,"marginTop"))||0,c+=parseFloat(f.css(a,"marginLeft"))||0);return{top:b,left:c}},setOffset:function(a,b,c){var d=f.css(a,"position");d==="static"&&(a.style.position="relative");var e=f(a),g=e.offset(),h=f.css(a,"top"),i=f.css(a,"left"),j=(d==="absolute"||d==="fixed")&&f.inArray("auto",[h,i])>-1,k={},l={},m,n;j?(l=e.position(),m=l.top,n=l.left):(m=parseFloat(h)||0,n=parseFloat(i)||0),f.isFunction(b)&&(b=b.call(a,c,g)),b.top!=null&&(k.top=b.top-g.top+m),b.left!=null&&(k.left=b.left-g.left+n),"using"in b?b.using.call(a,k):e.css(k)}},f.fn.extend({position:function(){if(!this[0])return null;var a=this[0],b=this.offsetParent(),c=this.offset(),d=cz.test(b[0].nodeName)?{top:0,left:0}:b.offset();c.top-=parseFloat(f.css(a,"marginTop"))||0,c.left-=parseFloat(f.css(a,"marginLeft"))||0,d.top+=parseFloat(f.css(b[0],"borderTopWidth"))||0,d.left+=parseFloat(f.css(b[0],"borderLeftWidth"))||0;return{top:c.top-d.top,left:c.left-d.left}},offsetParent:function(){return this.map(function(){var a=this.offsetParent||c.body;while(a&&!cz.test(a.nodeName)&&f.css(a,"position")==="static")a=a.offsetParent;return a})}}),f.each(["Left","Top"],function(a,c){var d="scroll"+c;f.fn[d]=function(c){var e,g;if(c===b){e=this[0];if(!e)return null;g=cA(e);return g?"pageXOffset"in g?g[a?"pageYOffset":"pageXOffset"]:f.support.boxModel&&g.document.documentElement[d]||g.document.body[d]:e[d]}return this.each(function(){g=cA(this),g?g.scrollTo(a?f(g).scrollLeft():c,a?c:f(g).scrollTop()):this[d]=c})}}),f.each(["Height","Width"],function(a,c){var d=c.toLowerCase();f.fn["inner"+c]=function(){var a=this[0];return a?a.style?parseFloat(f.css(a,d,"padding")):this[d]():null},f.fn["outer"+c]=function(a){var b=this[0];return b?b.style?parseFloat(f.css(b,d,a?"margin":"border")):this[d]():null},f.fn[d]=function(a){var e=this[0];if(!e)return a==null?null:this;if(f.isFunction(a))return this.each(function(b){var c=f(this);c[d](a.call(this,b,c[d]()))});if(f.isWindow(e)){var g=e.document.documentElement["client"+c],h=e.document.body;return e.document.compatMode==="CSS1Compat"&&g||h&&h["client"+c]||g}if(e.nodeType===9)return Math.max(e.documentElement["client"+c],e.body["scroll"+c],e.documentElement["scroll"+c],e.body["offset"+c],e.documentElement["offset"+c]);if(a===b){var i=f.css(e,d),j=parseFloat(i);return f.isNumeric(j)?j:i}return this.css(d,typeof a=="string"?a:a+"px")}}),a.jQuery=a.$=f})(window);
</script>

<!--<link rel="dns-prefetch" href="https://st.tistatic.com/ver9485/css/inquiry-form.css">-->
<link rel="dns-prefetch" href="https://st.tistatic.com/ver9485/css/catalog/theme1.css">




<style type="text/css">
h1 {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 18px;
font-weight: bold;
text-align:center;
text-decoration:none;
line-height:17px;
} 
</style>


<META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW">
<title>DC Regulated Power Supply 0 -30 V, 30 A - Manufacturer,Supplier,Exporter</title>
<meta name="keywords" content="DC Regulated Power Supply 0 -30 V, 30 A">
<meta name="description" content="Mars EDPAL Instruments Pvt. Ltd. - Manufacturer,Supplier and Exporter of DC Regulated Power Supply 0 -30 V, 30 A at reasonable prices.">

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width,initial-scale=1.0" />
<link href="https://st.tistatic.com/ver9485/css/tradeindia/design2017/intlTelInput.css" rel="stylesheet" type="text/css">

<script type="text/javascript" src="https://st.tistatic.com/ver9485/js/mobile_site/search.js"></script>
 <script type="text/javascript" src="https://st.tistatic.com/ver9485/js/utils/jquery-ui/js/jquery_ui_main.js" defer></script>
<link href="https://st.tistatic.com/ver9485/bower_components/jquery-ui/themes/smoothness/jquery-ui.min.css" type="text/css" rel="stylesheet" media="all" />
<script src="https://st.tistatic.com/ver9485/js/catalog/slick.min.js" defer></script>
<link href="https://st.tistatic.com/ver9485/css/catalog/slick.css" rel="stylesheet" type="text/css">

<!-- Google Tag Manager -->
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-MNG3HP82');</script>
<!-- End Google Tag Manager -->

<!-- Google tag END HERE (gtag.js) -->

<script>
/*! jQuery v1.7 jquery.com | jquery.org/license */
(function(a,b){function cA(a){return f.isWindow(a)?a:a.nodeType===9?a.defaultView||a.parentWindow:!1}function cx(a){if(!cm[a]){var b=c.body,d=f("<"+a+">").appendTo(b),e=d.css("display");d.remove();if(e==="none"||e===""){cn||(cn=c.createElement("iframe"),cn.frameBorder=cn.width=cn.height=0),b.appendChild(cn);if(!co||!cn.createElement)co=(cn.contentWindow||cn.contentDocument).document,co.write((c.compatMode==="CSS1Compat"?"<!doctype html>":"")+"<html><body>"),co.close();d=co.createElement(a),co.body.appendChild(d),e=f.css(d,"display"),b.removeChild(cn)}cm[a]=e}return cm[a]}function cw(a,b){var c={};f.each(cs.concat.apply([],cs.slice(0,b)),function(){c[this]=a});return c}function cv(){ct=b}function cu(){setTimeout(cv,0);return ct=f.now()}function cl(){try{return new a.ActiveXObject("Microsoft.XMLHTTP")}catch(b){}}function ck(){try{return new a.XMLHttpRequest}catch(b){}}function ce(a,c){a.dataFilter&&(c=a.dataFilter(c,a.dataType));var d=a.dataTypes,e={},g,h,i=d.length,j,k=d[0],l,m,n,o,p;for(g=1;g<i;g++){if(g===1)for(h in a.converters)typeof h=="string"&&(e[h.toLowerCase()]=a.converters[h]);l=k,k=d[g];if(k==="*")k=l;else if(l!=="*"&&l!==k){m=l+" "+k,n=e[m]||e["* "+k];if(!n){p=b;for(o in e){j=o.split(" ");if(j[0]===l||j[0]==="*"){p=e[j[1]+" "+k];if(p){o=e[o],o===!0?n=p:p===!0&&(n=o);break}}}}!n&&!p&&f.error("No conversion from "+m.replace(" "," to ")),n!==!0&&(c=n?n(c):p(o(c)))}}return c}function cd(a,c,d){var e=a.contents,f=a.dataTypes,g=a.responseFields,h,i,j,k;for(i in g)i in d&&(c[g[i]]=d[i]);while(f[0]==="*")f.shift(),h===b&&(h=a.mimeType||c.getResponseHeader("content-type"));if(h)for(i in e)if(e[i]&&e[i].test(h)){f.unshift(i);break}if(f[0]in d)j=f[0];else{for(i in d){if(!f[0]||a.converters[i+" "+f[0]]){j=i;break}k||(k=i)}j=j||k}if(j){j!==f[0]&&f.unshift(j);return d[j]}}function cc(a,b,c,d){if(f.isArray(b))f.each(b,function(b,e){c||bG.test(a)?d(a,e):cc(a+"["+(typeof e=="object"||f.isArray(e)?b:"")+"]",e,c,d)});else if(!c&&b!=null&&typeof b=="object")for(var e in b)cc(a+"["+e+"]",b[e],c,d);else d(a,b)}function cb(a,c){var d,e,g=f.ajaxSettings.flatOptions||{};for(d in c)c[d]!==b&&((g[d]?a:e||(e={}))[d]=c[d]);e&&f.extend(!0,a,e)}function ca(a,c,d,e,f,g){f=f||c.dataTypes[0],g=g||{},g[f]=!0;var h=a[f],i=0,j=h?h.length:0,k=a===bV,l;for(;i<j&&(k||!l);i++)l=h[i](c,d,e),typeof l=="string"&&(!k||g[l]?l=b:(c.dataTypes.unshift(l),l=ca(a,c,d,e,l,g)));(k||!l)&&!g["*"]&&(l=ca(a,c,d,e,"*",g));return l}function b_(a){return function(b,c){typeof b!="string"&&(c=b,b="*");if(f.isFunction(c)){var d=b.toLowerCase().split(bR),e=0,g=d.length,h,i,j;for(;e<g;e++)h=d[e],j=/^\+/.test(h),j&&(h=h.substr(1)||"*"),i=a[h]=a[h]||[],i[j?"unshift":"push"](c)}}}function bE(a,b,c){var d=b==="width"?a.offsetWidth:a.offsetHeight,e=b==="width"?bz:bA;if(d>0){c!=="border"&&f.each(e,function(){c||(d-=parseFloat(f.css(a,"padding"+this))||0),c==="margin"?d+=parseFloat(f.css(a,c+this))||0:d-=parseFloat(f.css(a,"border"+this+"Width"))||0});return d+"px"}d=bB(a,b,b);if(d<0||d==null)d=a.style[b]||0;d=parseFloat(d)||0,c&&f.each(e,function(){d+=parseFloat(f.css(a,"padding"+this))||0,c!=="padding"&&(d+=parseFloat(f.css(a,"border"+this+"Width"))||0),c==="margin"&&(d+=parseFloat(f.css(a,c+this))||0)});return d+"px"}function br(a,b){b.src?f.ajax({url:b.src,async:!1,dataType:"script"}):f.globalEval((b.text||b.textContent||b.innerHTML||"").replace(bi,"/*$0*/")),b.parentNode&&b.parentNode.removeChild(b)}function bq(a){var b=(a.nodeName||"").toLowerCase();b==="input"?bp(a):b!=="script"&&typeof a.getElementsByTagName!="undefined"&&f.grep(a.getElementsByTagName("input"),bp)}function bp(a){if(a.type==="checkbox"||a.type==="radio")a.defaultChecked=a.checked}function bo(a){return typeof a.getElementsByTagName!="undefined"?a.getElementsByTagName("*"):typeof a.querySelectorAll!="undefined"?a.querySelectorAll("*"):[]}function bn(a,b){var c;if(b.nodeType===1){b.clearAttributes&&b.clearAttributes(),b.mergeAttributes&&b.mergeAttributes(a),c=b.nodeName.toLowerCase();if(c==="object")b.outerHTML=a.outerHTML;else if(c!=="input"||a.type!=="checkbox"&&a.type!=="radio"){if(c==="option")b.selected=a.defaultSelected;else if(c==="input"||c==="textarea")b.defaultValue=a.defaultValue}else a.checked&&(b.defaultChecked=b.checked=a.checked),b.value!==a.value&&(b.value=a.value);b.removeAttribute(f.expando)}}function bm(a,b){if(b.nodeType===1&&!!f.hasData(a)){var c,d,e,g=f._data(a),h=f._data(b,g),i=g.events;if(i){delete h.handle,h.events={};for(c in i)for(d=0,e=i[c].length;d<e;d++)f.event.add(b,c+(i[c][d].namespace?".":"")+i[c][d].namespace,i[c][d],i[c][d].data)}h.data&&(h.data=f.extend({},h.data))}}function bl(a,b){return f.nodeName(a,"table")?a.getElementsByTagName("tbody")[0]||a.appendChild(a.ownerDocument.createElement("tbody")):a}function X(a){var b=Y.split(" "),c=a.createDocumentFragment();if(c.createElement)while(b.length)c.createElement(b.pop());return c}function W(a,b,c){b=b||0;if(f.isFunction(b))return f.grep(a,function(a,d){var e=!!b.call(a,d,a);return e===c});if(b.nodeType)return f.grep(a,function(a,d){return a===b===c});if(typeof b=="string"){var d=f.grep(a,function(a){return a.nodeType===1});if(R.test(b))return f.filter(b,d,!c);b=f.filter(b,d)}return f.grep(a,function(a,d){return f.inArray(a,b)>=0===c})}function V(a){return!a||!a.parentNode||a.parentNode.nodeType===11}function N(){return!0}function M(){return!1}function n(a,b,c){var d=b+"defer",e=b+"queue",g=b+"mark",h=f._data(a,d);h&&(c==="queue"||!f._data(a,e))&&(c==="mark"||!f._data(a,g))&&setTimeout(function(){!f._data(a,e)&&!f._data(a,g)&&(f.removeData(a,d,!0),h.fire())},0)}function m(a){for(var b in a){if(b==="data"&&f.isEmptyObject(a[b]))continue;if(b!=="toJSON")return!1}return!0}function l(a,c,d){if(d===b&&a.nodeType===1){var e="data-"+c.replace(k,"-$1").toLowerCase();d=a.getAttribute(e);if(typeof d=="string"){try{d=d==="true"?!0:d==="false"?!1:d==="null"?null:f.isNumeric(d)?parseFloat(d):j.test(d)?f.parseJSON(d):d}catch(g){}f.data(a,c,d)}else d=b}return d}function h(a){var b=g[a]={},c,d;a=a.split(/\s+/);for(c=0,d=a.length;c<d;c++)b[a[c]]=!0;return b}var c=a.document,d=a.navigator,e=a.location,f=function(){function K(){if(!e.isReady){try{c.documentElement.doScroll("left")}catch(a){setTimeout(K,1);return}e.ready()}}var e=function(a,b){return new e.fn.init(a,b,h)},f=a.jQuery,g=a.$,h,i=/^(?:[^#<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/,j=/\S/,k=/^\s+/,l=/\s+$/,m=/\d/,n=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,o=/^[\],:{}\s]*$/,p=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,q=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,r=/(?:^|:|,)(?:\s*\[)+/g,s=/(webkit)[ \/]([\w.]+)/,t=/(opera)(?:.*version)?[ \/]([\w.]+)/,u=/(msie) ([\w.]+)/,v=/(mozilla)(?:.*? rv:([\w.]+))?/,w=/-([a-z]|[0-9])/ig,x=/^-ms-/,y=function(a,b){return(b+"").toUpperCase()},z=d.userAgent,A,B,C,D=Object.prototype.toString,E=Object.prototype.hasOwnProperty,F=Array.prototype.push,G=Array.prototype.slice,H=String.prototype.trim,I=Array.prototype.indexOf,J={};e.fn=e.prototype={constructor:e,init:function(a,d,f){var g,h,j,k;if(!a)return this;if(a.nodeType){this.context=this[0]=a,this.length=1;return this}if(a==="body"&&!d&&c.body){this.context=c,this[0]=c.body,this.selector=a,this.length=1;return this}if(typeof a=="string"){a.charAt(0)!=="<"||a.charAt(a.length-1)!==">"||a.length<3?g=i.exec(a):g=[null,a,null];if(g&&(g[1]||!d)){if(g[1]){d=d instanceof e?d[0]:d,k=d?d.ownerDocument||d:c,j=n.exec(a),j?e.isPlainObject(d)?(a=[c.createElement(j[1])],e.fn.attr.call(a,d,!0)):a=[k.createElement(j[1])]:(j=e.buildFragment([g[1]],[k]),a=(j.cacheable?e.clone(j.fragment):j.fragment).childNodes);return e.merge(this,a)}h=c.getElementById(g[2]);if(h&&h.parentNode){if(h.id!==g[2])return f.find(a);this.length=1,this[0]=h}this.context=c,this.selector=a;return this}return!d||d.jquery?(d||f).find(a):this.constructor(d).find(a)}if(e.isFunction(a))return f.ready(a);a.selector!==b&&(this.selector=a.selector,this.context=a.context);return e.makeArray(a,this)},selector:"",jquery:"1.7",length:0,size:function(){return this.length},toArray:function(){return G.call(this,0)},get:function(a){return a==null?this.toArray():a<0?this[this.length+a]:this[a]},pushStack:function(a,b,c){var d=this.constructor();e.isArray(a)?F.apply(d,a):e.merge(d,a),d.prevObject=this,d.context=this.context,b==="find"?d.selector=this.selector+(this.selector?" ":"")+c:b&&(d.selector=this.selector+"."+b+"("+c+")");return d},each:function(a,b){return e.each(this,a,b)},ready:function(a){e.bindReady(),B.add(a);return this},eq:function(a){return a===-1?this.slice(a):this.slice(a,+a+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(G.apply(this,arguments),"slice",G.call(arguments).join(","))},map:function(a){return this.pushStack(e.map(this,function(b,c){return a.call(b,c,b)}))},end:function(){return this.prevObject||this.constructor(null)},push:F,sort:[].sort,splice:[].splice},e.fn.init.prototype=e.fn,e.extend=e.fn.extend=function(){var a,c,d,f,g,h,i=arguments[0]||{},j=1,k=arguments.length,l=!1;typeof i=="boolean"&&(l=i,i=arguments[1]||{},j=2),typeof i!="object"&&!e.isFunction(i)&&(i={}),k===j&&(i=this,--j);for(;j<k;j++)if((a=arguments[j])!=null)for(c in a){d=i[c],f=a[c];if(i===f)continue;l&&f&&(e.isPlainObject(f)||(g=e.isArray(f)))?(g?(g=!1,h=d&&e.isArray(d)?d:[]):h=d&&e.isPlainObject(d)?d:{},i[c]=e.extend(l,h,f)):f!==b&&(i[c]=f)}return i},e.extend({noConflict:function(b){a.$===e&&(a.$=g),b&&a.jQuery===e&&(a.jQuery=f);return e},isReady:!1,readyWait:1,holdReady:function(a){a?e.readyWait++:e.ready(!0)},ready:function(a){if(a===!0&&!--e.readyWait||a!==!0&&!e.isReady){if(!c.body)return setTimeout(e.ready,1);e.isReady=!0;if(a!==!0&&--e.readyWait>0)return;B.fireWith(c,[e]),e.fn.trigger&&e(c).trigger("ready").unbind("ready")}},bindReady:function(){if(!B){B=e.Callbacks("once memory");if(c.readyState==="complete")return setTimeout(e.ready,1);if(c.addEventListener)c.addEventListener("DOMContentLoaded",C,!1),a.addEventListener("load",e.ready,!1);else if(c.attachEvent){c.attachEvent("onreadystatechange",C),a.attachEvent("onload",e.ready);var b=!1;try{b=a.frameElement==null}catch(d){}c.documentElement.doScroll&&b&&K()}}},isFunction:function(a){return e.type(a)==="function"},isArray:Array.isArray||function(a){return e.type(a)==="array"},isWindow:function(a){return a&&typeof a=="object"&&"setInterval"in a},isNumeric:function(a){return a!=null&&m.test(a)&&!isNaN(a)},type:function(a){return a==null?String(a):J[D.call(a)]||"object"},isPlainObject:function(a){if(!a||e.type(a)!=="object"||a.nodeType||e.isWindow(a))return!1;try{if(a.constructor&&!E.call(a,"constructor")&&!E.call(a.constructor.prototype,"isPrototypeOf"))return!1}catch(c){return!1}var d;for(d in a);return d===b||E.call(a,d)},isEmptyObject:function(a){for(var b in a)return!1;return!0},error:function(a){throw a},parseJSON:function(b){if(typeof b!="string"||!b)return null;b=e.trim(b);if(a.JSON&&a.JSON.parse)return a.JSON.parse(b);if(o.test(b.replace(p,"@").replace(q,"]").replace(r,"")))return(new Function("return "+b))();e.error("Invalid JSON: "+b)},parseXML:function(c){var d,f;try{a.DOMParser?(f=new DOMParser,d=f.parseFromString(c,"text/xml")):(d=new ActiveXObject("Microsoft.XMLDOM"),d.async="false",d.loadXML(c))}catch(g){d=b}(!d||!d.documentElement||d.getElementsByTagName("parsererror").length)&&e.error("Invalid XML: "+c);return d},noop:function(){},globalEval:function(b){b&&j.test(b)&&(a.execScript||function(b){a.eval.call(a,b)})(b)},camelCase:function(a){return a.replace(x,"ms-").replace(w,y)},nodeName:function(a,b){return a.nodeName&&a.nodeName.toUpperCase()===b.toUpperCase()},each:function(a,c,d){var f,g=0,h=a.length,i=h===b||e.isFunction(a);if(d){if(i){for(f in a)if(c.apply(a[f],d)===!1)break}else for(;g<h;)if(c.apply(a[g++],d)===!1)break}else if(i){for(f in a)if(c.call(a[f],f,a[f])===!1)break}else for(;g<h;)if(c.call(a[g],g,a[g++])===!1)break;return a},trim:H?function(a){return a==null?"":H.call(a)}:function(a){return a==null?"":(a+"").replace(k,"").replace(l,"")},makeArray:function(a,b){var c=b||[];if(a!=null){var d=e.type(a);a.length==null||d==="string"||d==="function"||d==="regexp"||e.isWindow(a)?F.call(c,a):e.merge(c,a)}return c},inArray:function(a,b,c){var d;if(b){if(I)return I.call(b,a,c);d=b.length,c=c?c<0?Math.max(0,d+c):c:0;for(;c<d;c++)if(c in b&&b[c]===a)return c}return-1},merge:function(a,c){var d=a.length,e=0;if(typeof c.length=="number")for(var f=c.length;e<f;e++)a[d++]=c[e];else while(c[e]!==b)a[d++]=c[e++];a.length=d;return a},grep:function(a,b,c){var d=[],e;c=!!c;for(var f=0,g=a.length;f<g;f++)e=!!b(a[f],f),c!==e&&d.push(a[f]);return d},map:function(a,c,d){var f,g,h=[],i=0,j=a.length,k=a instanceof e||j!==b&&typeof j=="number"&&(j>0&&a[0]&&a[j-1]||j===0||e.isArray(a));if(k)for(;i<j;i++)f=c(a[i],i,d),f!=null&&(h[h.length]=f);else for(g in a)f=c(a[g],g,d),f!=null&&(h[h.length]=f);return h.concat.apply([],h)},guid:1,proxy:function(a,c){if(typeof c=="string"){var d=a[c];c=a,a=d}if(!e.isFunction(a))return b;var f=G.call(arguments,2),g=function(){return a.apply(c,f.concat(G.call(arguments)))};g.guid=a.guid=a.guid||g.guid||e.guid++;return g},access:function(a,c,d,f,g,h){var i=a.length;if(typeof c=="object"){for(var j in c)e.access(a,j,c[j],f,g,d);return a}if(d!==b){f=!h&&f&&e.isFunction(d);for(var k=0;k<i;k++)g(a[k],c,f?d.call(a[k],k,g(a[k],c)):d,h);return a}return i?g(a[0],c):b},now:function(){return(new Date).getTime()},uaMatch:function(a){a=a.toLowerCase();var b=s.exec(a)||t.exec(a)||u.exec(a)||a.indexOf("compatible")<0&&v.exec(a)||[];return{browser:b[1]||"",version:b[2]||"0"}},sub:function(){function a(b,c){return new a.fn.init(b,c)}e.extend(!0,a,this),a.superclass=this,a.fn=a.prototype=this(),a.fn.constructor=a,a.sub=this.sub,a.fn.init=function(d,f){f&&f instanceof e&&!(f instanceof a)&&(f=a(f));return e.fn.init.call(this,d,f,b)},a.fn.init.prototype=a.fn;var b=a(c);return a},browser:{}}),e.each("Boolean Number String Function Array Date RegExp Object".split(" "),function(a,b){J["[object "+b+"]"]=b.toLowerCase()}),A=e.uaMatch(z),A.browser&&(e.browser[A.browser]=!0,e.browser.version=A.version),e.browser.webkit&&(e.browser.safari=!0),j.test(" ")&&(k=/^[\s\xA0]+/,l=/[\s\xA0]+$/),h=e(c),c.addEventListener?C=function(){c.removeEventListener("DOMContentLoaded",C,!1),e.ready()}:c.attachEvent&&(C=function(){c.readyState==="complete"&&(c.detachEvent("onreadystatechange",C),e.ready())}),typeof define=="function"&&define.amd&&define.amd.jQuery&&define("jquery",[],function(){return e});return e}(),g={};f.Callbacks=function(a){a=a?g[a]||h(a):{};var c=[],d=[],e,i,j,k,l,m=function(b){var d,e,g,h,i;for(d=0,e=b.length;d<e;d++)g=b[d],h=f.type(g),h==="array"?m(g):h==="function"&&(!a.unique||!o.has(g))&&c.push(g)},n=function(b,f){f=f||[],e=!a.memory||[b,f],i=!0,l=j||0,j=0,k=c.length;for(;c&&l<k;l++)if(c[l].apply(b,f)===!1&&a.stopOnFalse){e=!0;break}i=!1,c&&(a.once?e===!0?o.disable():c=[]:d&&d.length&&(e=d.shift(),o.fireWith(e[0],e[1])))},o={add:function(){if(c){var a=c.length;m(arguments),i?k=c.length:e&&e!==!0&&(j=a,n(e[0],e[1]))}return this},remove:function(){if(c){var b=arguments,d=0,e=b.length;for(;d<e;d++)for(var f=0;f<c.length;f++)if(b[d]===c[f]){i&&f<=k&&(k--,f<=l&&l--),c.splice(f--,1);if(a.unique)break}}return this},has:function(a){if(c){var b=0,d=c.length;for(;b<d;b++)if(a===c[b])return!0}return!1},empty:function(){c=[];return this},disable:function(){c=d=e=b;return this},disabled:function(){return!c},lock:function(){d=b,(!e||e===!0)&&o.disable();return this},locked:function(){return!d},fireWith:function(b,c){d&&(i?a.once||d.push([b,c]):(!a.once||!e)&&n(b,c));return this},fire:function(){o.fireWith(this,arguments);return this},fired:function(){return!!e}};return o};var i=[].slice;f.extend({Deferred:function(a){var b=f.Callbacks("once memory"),c=f.Callbacks("once memory"),d=f.Callbacks("memory"),e="pending",g={resolve:b,reject:c,notify:d},h={done:b.add,fail:c.add,progress:d.add,state:function(){return e},isResolved:b.fired,isRejected:c.fired,then:function(a,b,c){i.done(a).fail(b).progress(c);return this},always:function(){return i.done.apply(i,arguments).fail.apply(i,arguments)},pipe:function(a,b,c){return f.Deferred(function(d){f.each({done:[a,"resolve"],fail:[b,"reject"],progress:[c,"notify"]},function(a,b){var c=b[0],e=b[1],g;f.isFunction(c)?i[a](function(){g=c.apply(this,arguments),g&&f.isFunction(g.promise)?g.promise().then(d.resolve,d.reject,d.notify):d[e+"With"](this===i?d:this,[g])}):i[a](d[e])})}).promise()},promise:function(a){if(a==null)a=h;else for(var b in h)a[b]=h[b];return a}},i=h.promise({}),j;for(j in g)i[j]=g[j].fire,i[j+"With"]=g[j].fireWith;i.done(function(){e="resolved"},c.disable,d.lock).fail(function(){e="rejected"},b.disable,d.lock),a&&a.call(i,i);return i},when:function(a){function m(a){return function(b){e[a]=arguments.length>1?i.call(arguments,0):b,j.notifyWith(k,e)}}function l(a){return function(c){b[a]=arguments.length>1?i.call(arguments,0):c,--g||j.resolveWith(j,b)}}var b=i.call(arguments,0),c=0,d=b.length,e=Array(d),g=d,h=d,j=d<=1&&a&&f.isFunction(a.promise)?a:f.Deferred(),k=j.promise();if(d>1){for(;c<d;c++)b[c]&&b[c].promise&&f.isFunction(b[c].promise)?b[c].promise().then(l(c),j.reject,m(c)):--g;g||j.resolveWith(j,b)}else j!==a&&j.resolveWith(j,d?[a]:[]);return k}}),f.support=function(){var a=c.createElement("div"),b=c.documentElement,d,e,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u;a.setAttribute("className","t"),a.innerHTML="   <link/><table></table><a href='/a' style='top:1px;float:left;opacity:.55;'>a</a><input type='checkbox'/><nav></nav>",d=a.getElementsByTagName("*"),e=a.getElementsByTagName("a")[0];if(!d||!d.length||!e)return{};g=c.createElement("select"),h=g.appendChild(c.createElement("option")),i=a.getElementsByTagName("input")[0],k={leadingWhitespace:a.firstChild.nodeType===3,tbody:!a.getElementsByTagName("tbody").length,htmlSerialize:!!a.getElementsByTagName("link").length,style:/top/.test(e.getAttribute("style")),hrefNormalized:e.getAttribute("href")==="/a",opacity:/^0.55/.test(e.style.opacity),cssFloat:!!e.style.cssFloat,unknownElems:!!a.getElementsByTagName("nav").length,checkOn:i.value==="on",optSelected:h.selected,getSetAttribute:a.className!=="t",enctype:!!c.createElement("form").enctype,submitBubbles:!0,changeBubbles:!0,focusinBubbles:!1,deleteExpando:!0,noCloneEvent:!0,inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,reliableMarginRight:!0},i.checked=!0,k.noCloneChecked=i.cloneNode(!0).checked,g.disabled=!0,k.optDisabled=!h.disabled;try{delete a.test}catch(v){k.deleteExpando=!1}!a.addEventListener&&a.attachEvent&&a.fireEvent&&(a.attachEvent("onclick",function(){k.noCloneEvent=!1}),a.cloneNode(!0).fireEvent("onclick")),i=c.createElement("input"),i.value="t",i.setAttribute("type","radio"),k.radioValue=i.value==="t",i.setAttribute("checked","checked"),a.appendChild(i),l=c.createDocumentFragment(),l.appendChild(a.lastChild),k.checkClone=l.cloneNode(!0).cloneNode(!0).lastChild.checked,a.innerHTML="",a.style.width=a.style.paddingLeft="1px",m=c.getElementsByTagName("body")[0],o=c.createElement(m?"div":"body"),p={visibility:"hidden",width:0,height:0,border:0,margin:0,background:"none"},m&&f.extend(p,{position:"absolute",left:"-999px",top:"-999px"});for(t in p)o.style[t]=p[t];o.appendChild(a),n=m||b,n.insertBefore(o,n.firstChild),k.appendChecked=i.checked,k.boxModel=a.offsetWidth===2,"zoom"in a.style&&(a.style.display="inline",a.style.zoom=1,k.inlineBlockNeedsLayout=a.offsetWidth===2,a.style.display="",a.innerHTML="<div style='width:4px;'></div>",k.shrinkWrapBlocks=a.offsetWidth!==2),a.innerHTML="<table><tr><td style='padding:0;border:0;display:none'></td><td>t</td></tr></table>",q=a.getElementsByTagName("td"),u=q[0].offsetHeight===0,q[0].style.display="",q[1].style.display="none",k.reliableHiddenOffsets=u&&q[0].offsetHeight===0,a.innerHTML="",c.defaultView&&c.defaultView.getComputedStyle&&(j=c.createElement("div"),j.style.width="0",j.style.marginRight="0",a.appendChild(j),k.reliableMarginRight=(parseInt((c.defaultView.getComputedStyle(j,null)||{marginRight:0}).marginRight,10)||0)===0);if(a.attachEvent)for(t in{submit:1,change:1,focusin:1})s="on"+t,u=s in a,u||(a.setAttribute(s,"return;"),u=typeof a[s]=="function"),k[t+"Bubbles"]=u;f(function(){var a,b,d,e,g,h,i=1,j="position:absolute;top:0;left:0;width:1px;height:1px;margin:0;",l="visibility:hidden;border:0;",n="style='"+j+"border:5px solid #000;padding:0;'",p="<div "+n+"><div></div></div>"+"<table "+n+" cellpadding='0' cellspacing='0'>"+"<tr><td></td></tr></table>";m=c.getElementsByTagName("body")[0];!m||(a=c.createElement("div"),a.style.cssText=l+"width:0;height:0;position:static;top:0;margin-top:"+i+"px",m.insertBefore(a,m.firstChild),o=c.createElement("div"),o.style.cssText=j+l,o.innerHTML=p,a.appendChild(o),b=o.firstChild,d=b.firstChild,g=b.nextSibling.firstChild.firstChild,h={doesNotAddBorder:d.offsetTop!==5,doesAddBorderForTableAndCells:g.offsetTop===5},d.style.position="fixed",d.style.top="20px",h.fixedPosition=d.offsetTop===20||d.offsetTop===15,d.style.position=d.style.top="",b.style.overflow="hidden",b.style.position="relative",h.subtractsBorderForOverflowNotVisible=d.offsetTop===-5,h.doesNotIncludeMarginInBodyOffset=m.offsetTop!==i,m.removeChild(a),o=a=null,f.extend(k,h))}),o.innerHTML="",n.removeChild(o),o=l=g=h=m=j=a=i=null;return k}(),f.boxModel=f.support.boxModel;var j=/^(?:\{.*\}|\[.*\])$/,k=/([A-Z])/g;f.extend({cache:{},uuid:0,expando:"jQuery"+(f.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:!0},hasData:function(a){a=a.nodeType?f.cache[a[f.expando]]:a[f.expando];return!!a&&!m(a)},data:function(a,c,d,e){if(!!f.acceptData(a)){var g,h,i,j=f.expando,k=typeof c=="string",l=a.nodeType,m=l?f.cache:a,n=l?a[f.expando]:a[f.expando]&&f.expando,o=c==="events";if((!n||!m[n]||!o&&!e&&!m[n].data)&&k&&d===b)return;n||(l?a[f.expando]=n=++f.uuid:n=f.expando),m[n]||(m[n]={},l||(m[n].toJSON=f.noop));if(typeof c=="object"||typeof c=="function")e?m[n]=f.extend(m[n],c):m[n].data=f.extend(m[n].data,c);g=h=m[n],e||(h.data||(h.data={}),h=h.data),d!==b&&(h[f.camelCase(c)]=d);if(o&&!h[c])return g.events;k?(i=h[c],i==null&&(i=h[f.camelCase(c)])):i=h;return i}},removeData:function(a,b,c){if(!!f.acceptData(a)){var d,e,g,h=f.expando,i=a.nodeType,j=i?f.cache:a,k=i?a[f.expando]:f.expando;if(!j[k])return;if(b){d=c?j[k]:j[k].data;if(d){f.isArray(b)?b=b:b in d?b=[b]:(b=f.camelCase(b),b in d?b=[b]:b=b.split(" "));for(e=0,g=b.length;e<g;e++)delete d[b[e]];if(!(c?m:f.isEmptyObject)(d))return}}if(!c){delete j[k].data;if(!m(j[k]))return}f.support.deleteExpando||!j.setInterval?delete j[k]:j[k]=null,i&&(f.support.deleteExpando?delete a[f.expando]:a.removeAttribute?a.removeAttribute(f.expando):a[f.expando]=null)}},_data:function(a,b,c){return f.data(a,b,c,!0)},acceptData:function(a){if(a.nodeName){var b=f.noData[a.nodeName.toLowerCase()];if(b)return b!==!0&&a.getAttribute("classid")===b}return!0}}),f.fn.extend({data:function(a,c){var d,e,g,h=null;if(typeof a=="undefined"){if(this.length){h=f.data(this[0]);if(this[0].nodeType===1&&!f._data(this[0],"parsedAttrs")){e=this[0].attributes;for(var i=0,j=e.length;i<j;i++)g=e[i].name,g.indexOf("data-")===0&&(g=f.camelCase(g.substring(5)),l(this[0],g,h[g]));f._data(this[0],"parsedAttrs",!0)}}return h}if(typeof a=="object")return this.each(function(){f.data(this,a)});d=a.split("."),d[1]=d[1]?"."+d[1]:"";if(c===b){h=this.triggerHandler("getData"+d[1]+"!",[d[0]]),h===b&&this.length&&(h=f.data(this[0],a),h=l(this[0],a,h));return h===b&&d[1]?this.data(d[0]):h}return this.each(function(){var b=f(this),e=[d[0],c];b.triggerHandler("setData"+d[1]+"!",e),f.data(this,a,c),b.triggerHandler("changeData"+d[1]+"!",e)})},removeData:function(a){return this.each(function(){f.removeData(this,a)})}}),f.extend({_mark:function(a,b){a&&(b=(b||"fx")+"mark",f._data(a,b,(f._data(a,b)||0)+1))},_unmark:function(a,b,c){a!==!0&&(c=b,b=a,a=!1);if(b){c=c||"fx";var d=c+"mark",e=a?0:(f._data(b,d)||1)-1;e?f._data(b,d,e):(f.removeData(b,d,!0),n(b,c,"mark"))}},queue:function(a,b,c){var d;if(a){b=(b||"fx")+"queue",d=f._data(a,b),c&&(!d||f.isArray(c)?d=f._data(a,b,f.makeArray(c)):d.push(c));return d||[]}},dequeue:function(a,b){b=b||"fx";var c=f.queue(a,b),d=c.shift(),e={};d==="inprogress"&&(d=c.shift()),d&&(b==="fx"&&c.unshift("inprogress"),f._data(a,b+".run",e),d.call(a,function(){f.dequeue(a,b)},e)),c.length||(f.removeData(a,b+"queue "+b+".run",!0),n(a,b,"queue"))}}),f.fn.extend({queue:function(a,c){typeof a!="string"&&(c=a,a="fx");if(c===b)return f.queue(this[0],a);return this.each(function(){var b=f.queue(this,a,c);a==="fx"&&b[0]!=="inprogress"&&f.dequeue(this,a)})},dequeue:function(a){return this.each(function(){f.dequeue(this,a)})},delay:function(a,b){a=f.fx?f.fx.speeds[a]||a:a,b=b||"fx";return this.queue(b,function(b,c){var d=setTimeout(b,a);c.stop=function(){clearTimeout(d)}})},clearQueue:function(a){return this.queue(a||"fx",[])},promise:function(a,c){function m(){--h||d.resolveWith(e,[e])}typeof a!="string"&&(c=a,a=b),a=a||"fx";var d=f.Deferred(),e=this,g=e.length,h=1,i=a+"defer",j=a+"queue",k=a+"mark",l;while(g--)if(l=f.data(e[g],i,b,!0)||(f.data(e[g],j,b,!0)||f.data(e[g],k,b,!0))&&f.data(e[g],i,f.Callbacks("once memory"),!0))h++,l.add(m);m();return d.promise()}});var o=/[\n\t\r]/g,p=/\s+/,q=/\r/g,r=/^(?:button|input)$/i,s=/^(?:button|input|object|select|textarea)$/i,t=/^a(?:rea)?$/i,u=/^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i,v=f.support.getSetAttribute,w,x,y;f.fn.extend({attr:function(a,b){return f.access(this,a,b,!0,f.attr)},removeAttr:function(a){return this.each(function(){f.removeAttr(this,a)})},prop:function(a,b){return f.access(this,a,b,!0,f.prop)},removeProp:function(a){a=f.propFix[a]||a;return this.each(function(){try{this[a]=b,delete this[a]}catch(c){}})},addClass:function(a){var b,c,d,e,g,h,i;if(f.isFunction(a))return this.each(function(b){f(this).addClass(a.call(this,b,this.className))});if(a&&typeof a=="string"){b=a.split(p);for(c=0,d=this.length;c<d;c++){e=this[c];if(e.nodeType===1)if(!e.className&&b.length===1)e.className=a;else{g=" "+e.className+" ";for(h=0,i=b.length;h<i;h++)~g.indexOf(" "+b[h]+" ")||(g+=b[h]+" ");e.className=f.trim(g)}}}return this},removeClass:function(a){var c,d,e,g,h,i,j;if(f.isFunction(a))return this.each(function(b){f(this).removeClass(a.call(this,b,this.className))});if(a&&typeof a=="string"||a===b){c=(a||"").split(p);for(d=0,e=this.length;d<e;d++){g=this[d];if(g.nodeType===1&&g.className)if(a){h=(" "+g.className+" ").replace(o," ");for(i=0,j=c.length;i<j;i++)h=h.replace(" "+c[i]+" "," ");g.className=f.trim(h)}else g.className=""}}return this},toggleClass:function(a,b){var c=typeof a,d=typeof b=="boolean";if(f.isFunction(a))return this.each(function(c){f(this).toggleClass(a.call(this,c,this.className,b),b)});return this.each(function(){if(c==="string"){var e,g=0,h=f(this),i=b,j=a.split(p);while(e=j[g++])i=d?i:!h.hasClass(e),h[i?"addClass":"removeClass"](e)}else if(c==="undefined"||c==="boolean")this.className&&f._data(this,"__className__",this.className),this.className=this.className||a===!1?"":f._data(this,"__className__")||""})},hasClass:function(a){var b=" "+a+" ",c=0,d=this.length;for(;c<d;c++)if(this[c].nodeType===1&&(" "+this[c].className+" ").replace(o," ").indexOf(b)>-1)return!0;return!1},val:function(a){var c,d,e,g=this[0];if(!arguments.length){if(g){c=f.valHooks[g.nodeName.toLowerCase()]||f.valHooks[g.type];if(c&&"get"in c&&(d=c.get(g,"value"))!==b)return d;d=g.value;return typeof d=="string"?d.replace(q,""):d==null?"":d}return b}e=f.isFunction(a);return this.each(function(d){var g=f(this),h;if(this.nodeType===1){e?h=a.call(this,d,g.val()):h=a,h==null?h="":typeof h=="number"?h+="":f.isArray(h)&&(h=f.map(h,function(a){return a==null?"":a+""})),c=f.valHooks[this.nodeName.toLowerCase()]||f.valHooks[this.type];if(!c||!("set"in c)||c.set(this,h,"value")===b)this.value=h}})}}),f.extend({valHooks:{option:{get:function(a){var b=a.attributes.value;return!b||b.specified?a.value:a.text}},select:{get:function(a){var b,c,d,e,g=a.selectedIndex,h=[],i=a.options,j=a.type==="select-one";if(g<0)return null;c=j?g:0,d=j?g+1:i.length;for(;c<d;c++){e=i[c];if(e.selected&&(f.support.optDisabled?!e.disabled:e.getAttribute("disabled")===null)&&(!e.parentNode.disabled||!f.nodeName(e.parentNode,"optgroup"))){b=f(e).val();if(j)return b;h.push(b)}}if(j&&!h.length&&i.length)return f(i[g]).val();return h},set:function(a,b){var c=f.makeArray(b);f(a).find("option").each(function(){this.selected=f.inArray(f(this).val(),c)>=0}),c.length||(a.selectedIndex=-1);return c}}},attrFn:{val:!0,css:!0,html:!0,text:!0,data:!0,width:!0,height:!0,offset:!0},attr:function(a,c,d,e){var g,h,i,j=a.nodeType;if(!a||j===3||j===8||j===2)return b;if(e&&c in f.attrFn)return f(a)[c](d);if(!("getAttribute"in a))return f.prop(a,c,d);i=j!==1||!f.isXMLDoc(a),i&&(c=c.toLowerCase(),h=f.attrHooks[c]||(u.test(c)?x:w));if(d!==b){if(d===null){f.removeAttr(a,c);return b}if(h&&"set"in h&&i&&(g=h.set(a,d,c))!==b)return g;a.setAttribute(c,""+d);return d}if(h&&"get"in h&&i&&(g=h.get(a,c))!==null)return g;g=a.getAttribute(c);return g===null?b:g},removeAttr:function(a,b){var c,d,e,g,h=0;if(a.nodeType===1){d=(b||"").split(p),g=d.length;for(;h<g;h++)e=d[h].toLowerCase(),c=f.propFix[e]||e,f.attr(a,e,""),a.removeAttribute(v?e:c),u.test(e)&&c in a&&(a[c]=!1)}},attrHooks:{type:{set:function(a,b){if(r.test(a.nodeName)&&a.parentNode)f.error("type property can't be changed");else if(!f.support.radioValue&&b==="radio"&&f.nodeName(a,"input")){var c=a.value;a.setAttribute("type",b),c&&(a.value=c);return b}}},value:{get:function(a,b){if(w&&f.nodeName(a,"button"))return w.get(a,b);return b in a?a.value:null},set:function(a,b,c){if(w&&f.nodeName(a,"button"))return w.set(a,b,c);a.value=b}}},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(a,c,d){var e,g,h,i=a.nodeType;if(!a||i===3||i===8||i===2)return b;h=i!==1||!f.isXMLDoc(a),h&&(c=f.propFix[c]||c,g=f.propHooks[c]);return d!==b?g&&"set"in g&&(e=g.set(a,d,c))!==b?e:a[c]=d:g&&"get"in g&&(e=g.get(a,c))!==null?e:a[c]},propHooks:{tabIndex:{get:function(a){var c=a.getAttributeNode("tabindex");return c&&c.specified?parseInt(c.value,10):s.test(a.nodeName)||t.test(a.nodeName)&&a.href?0:b}}}}),f.attrHooks.tabindex=f.propHooks.tabIndex,x={get:function(a,c){var d,e=f.prop(a,c);return e===!0||typeof e!="boolean"&&(d=a.getAttributeNode(c))&&d.nodeValue!==!1?c.toLowerCase():b},set:function(a,b,c){var d;b===!1?f.removeAttr(a,c):(d=f.propFix[c]||c,d in a&&(a[d]=!0),a.setAttribute(c,c.toLowerCase()));return c}},v||(y={name:!0,id:!0},w=f.valHooks.button={get:function(a,c){var d;d=a.getAttributeNode(c);return d&&(y[c]?d.nodeValue!=="":d.specified)?d.nodeValue:b},set:function(a,b,d){var e=a.getAttributeNode(d);e||(e=c.createAttribute(d),a.setAttributeNode(e));return e.nodeValue=b+""}},f.attrHooks.tabindex.set=w.set,f.each(["width","height"],function(a,b){f.attrHooks[b]=f.extend(f.attrHooks[b],{set:function(a,c){if(c===""){a.setAttribute(b,"auto");return c}}})}),f.attrHooks.contenteditable={get:w.get,set:function(a,b,c){b===""&&(b="false"),w.set(a,b,c)}}),f.support.hrefNormalized||f.each(["href","src","width","height"],function(a,c){f.attrHooks[c]=f.extend(f.attrHooks[c],{get:function(a){var d=a.getAttribute(c,2);return d===null?b:d}})}),f.support.style||(f.attrHooks.style={get:function(a){return a.style.cssText.toLowerCase()||b},set:function(a,b){return a.style.cssText=""+b}}),f.support.optSelected||(f.propHooks.selected=f.extend(f.propHooks.selected,{get:function(a){var b=a.parentNode;b&&(b.selectedIndex,b.parentNode&&b.parentNode.selectedIndex);return null}})),f.support.enctype||(f.propFix.enctype="encoding"),f.support.checkOn||f.each(["radio","checkbox"],function(){f.valHooks[this]={get:function(a){return a.getAttribute("value")===null?"on":a.value}}}),f.each(["radio","checkbox"],function(){f.valHooks[this]=f.extend(f.valHooks[this],{set:function(a,b){if(f.isArray(b))return a.checked=f.inArray(f(a).val(),b)>=0}})});var z=/\.(.*)$/,A=/^(?:textarea|input|select)$/i,B=/\./g,C=/ /g,D=/[^\w\s.|`]/g,E=/^([^\.]*)?(?:\.(.+))?$/,F=/\bhover(\.\S+)?/,G=/^key/,H=/^(?:mouse|contextmenu)|click/,I=/^(\w*)(?:#([\w\-]+))?(?:\.([\w\-]+))?$/,J=function(a){var b=I.exec(a);b&&
(b[1]=(b[1]||"").toLowerCase(),b[3]=b[3]&&new RegExp("(?:^|\\s)"+b[3]+"(?:\\s|$)"));return b},K=function(a,b){return(!b[1]||a.nodeName.toLowerCase()===b[1])&&(!b[2]||a.id===b[2])&&(!b[3]||b[3].test(a.className))},L=function(a){return f.event.special.hover?a:a.replace(F,"mouseenter$1 mouseleave$1")};f.event={add:function(a,c,d,e,g){var h,i,j,k,l,m,n,o,p,q,r,s;if(!(a.nodeType===3||a.nodeType===8||!c||!d||!(h=f._data(a)))){d.handler&&(p=d,d=p.handler),d.guid||(d.guid=f.guid++),j=h.events,j||(h.events=j={}),i=h.handle,i||(h.handle=i=function(a){return typeof f!="undefined"&&(!a||f.event.triggered!==a.type)?f.event.dispatch.apply(i.elem,arguments):b},i.elem=a),c=L(c).split(" ");for(k=0;k<c.length;k++){l=E.exec(c[k])||[],m=l[1],n=(l[2]||"").split(".").sort(),s=f.event.special[m]||{},m=(g?s.delegateType:s.bindType)||m,s=f.event.special[m]||{},o=f.extend({type:m,origType:l[1],data:e,handler:d,guid:d.guid,selector:g,namespace:n.join(".")},p),g&&(o.quick=J(g),!o.quick&&f.expr.match.POS.test(g)&&(o.isPositional=!0)),r=j[m];if(!r){r=j[m]=[],r.delegateCount=0;if(!s.setup||s.setup.call(a,e,n,i)===!1)a.addEventListener?a.addEventListener(m,i,!1):a.attachEvent&&a.attachEvent("on"+m,i)}s.add&&(s.add.call(a,o),o.handler.guid||(o.handler.guid=d.guid)),g?r.splice(r.delegateCount++,0,o):r.push(o),f.event.global[m]=!0}a=null}},global:{},remove:function(a,b,c,d){var e=f.hasData(a)&&f._data(a),g,h,i,j,k,l,m,n,o,p,q;if(!!e&&!!(m=e.events)){b=L(b||"").split(" ");for(g=0;g<b.length;g++){h=E.exec(b[g])||[],i=h[1],j=h[2];if(!i){j=j?"."+j:"";for(l in m)f.event.remove(a,l+j,c,d);return}n=f.event.special[i]||{},i=(d?n.delegateType:n.bindType)||i,p=m[i]||[],k=p.length,j=j?new RegExp("(^|\\.)"+j.split(".").sort().join("\\.(?:.*\\.)?")+"(\\.|$)"):null;if(c||j||d||n.remove)for(l=0;l<p.length;l++){q=p[l];if(!c||c.guid===q.guid)if(!j||j.test(q.namespace))if(!d||d===q.selector||d==="**"&&q.selector)p.splice(l--,1),q.selector&&p.delegateCount--,n.remove&&n.remove.call(a,q)}else p.length=0;p.length===0&&k!==p.length&&((!n.teardown||n.teardown.call(a,j)===!1)&&f.removeEvent(a,i,e.handle),delete m[i])}f.isEmptyObject(m)&&(o=e.handle,o&&(o.elem=null),f.removeData(a,["events","handle"],!0))}},customEvent:{getData:!0,setData:!0,changeData:!0},trigger:function(c,d,e,g){if(!e||e.nodeType!==3&&e.nodeType!==8){var h=c.type||c,i=[],j,k,l,m,n,o,p,q,r,s;h.indexOf("!")>=0&&(h=h.slice(0,-1),k=!0),h.indexOf(".")>=0&&(i=h.split("."),h=i.shift(),i.sort());if((!e||f.event.customEvent[h])&&!f.event.global[h])return;c=typeof c=="object"?c[f.expando]?c:new f.Event(h,c):new f.Event(h),c.type=h,c.isTrigger=!0,c.exclusive=k,c.namespace=i.join("."),c.namespace_re=c.namespace?new RegExp("(^|\\.)"+i.join("\\.(?:.*\\.)?")+"(\\.|$)"):null,o=h.indexOf(":")<0?"on"+h:"",(g||!e)&&c.preventDefault();if(!e){j=f.cache;for(l in j)j[l].events&&j[l].events[h]&&f.event.trigger(c,d,j[l].handle.elem,!0);return}c.result=b,c.target||(c.target=e),d=d!=null?f.makeArray(d):[],d.unshift(c),p=f.event.special[h]||{};if(p.trigger&&p.trigger.apply(e,d)===!1)return;r=[[e,p.bindType||h]];if(!g&&!p.noBubble&&!f.isWindow(e)){s=p.delegateType||h,n=null;for(m=e.parentNode;m;m=m.parentNode)r.push([m,s]),n=m;n&&n===e.ownerDocument&&r.push([n.defaultView||n.parentWindow||a,s])}for(l=0;l<r.length;l++){m=r[l][0],c.type=r[l][1],q=(f._data(m,"events")||{})[c.type]&&f._data(m,"handle"),q&&q.apply(m,d),q=o&&m[o],q&&f.acceptData(m)&&q.apply(m,d);if(c.isPropagationStopped())break}c.type=h,c.isDefaultPrevented()||(!p._default||p._default.apply(e.ownerDocument,d)===!1)&&(h!=="click"||!f.nodeName(e,"a"))&&f.acceptData(e)&&o&&e[h]&&(h!=="focus"&&h!=="blur"||c.target.offsetWidth!==0)&&!f.isWindow(e)&&(n=e[o],n&&(e[o]=null),f.event.triggered=h,e[h](),f.event.triggered=b,n&&(e[o]=n));return c.result}},dispatch:function(c){c=f.event.fix(c||a.event);var d=(f._data(this,"events")||{})[c.type]||[],e=d.delegateCount,g=[].slice.call(arguments,0),h=!c.exclusive&&!c.namespace,i=(f.event.special[c.type]||{}).handle,j=[],k,l,m,n,o,p,q,r,s,t,u;g[0]=c,c.delegateTarget=this;if(e&&!c.target.disabled&&(!c.button||c.type!=="click"))for(m=c.target;m!=this;m=m.parentNode||this){o={},q=[];for(k=0;k<e;k++)r=d[k],s=r.selector,t=o[s],r.isPositional?t=(t||(o[s]=f(s))).index(m)>=0:t===b&&(t=o[s]=r.quick?K(m,r.quick):f(m).is(s)),t&&q.push(r);q.length&&j.push({elem:m,matches:q})}d.length>e&&j.push({elem:this,matches:d.slice(e)});for(k=0;k<j.length&&!c.isPropagationStopped();k++){p=j[k],c.currentTarget=p.elem;for(l=0;l<p.matches.length&&!c.isImmediatePropagationStopped();l++){r=p.matches[l];if(h||!c.namespace&&!r.namespace||c.namespace_re&&c.namespace_re.test(r.namespace))c.data=r.data,c.handleObj=r,n=(i||r.handler).apply(p.elem,g),n!==b&&(c.result=n,n===!1&&(c.preventDefault(),c.stopPropagation()))}}return c.result},props:"attrChange attrName relatedNode srcElement altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(a,b){a.which==null&&(a.which=b.charCode!=null?b.charCode:b.keyCode);return a}},mouseHooks:{props:"button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement wheelDelta".split(" "),filter:function(a,d){var e,f,g,h=d.button,i=d.fromElement;a.pageX==null&&d.clientX!=null&&(e=a.target.ownerDocument||c,f=e.documentElement,g=e.body,a.pageX=d.clientX+(f&&f.scrollLeft||g&&g.scrollLeft||0)-(f&&f.clientLeft||g&&g.clientLeft||0),a.pageY=d.clientY+(f&&f.scrollTop||g&&g.scrollTop||0)-(f&&f.clientTop||g&&g.clientTop||0)),!a.relatedTarget&&i&&(a.relatedTarget=i===a.target?d.toElement:i),!a.which&&h!==b&&(a.which=h&1?1:h&2?3:h&4?2:0);return a}},fix:function(a){if(a[f.expando])return a;var d,e,g=a,h=f.event.fixHooks[a.type]||{},i=h.props?this.props.concat(h.props):this.props;a=f.Event(g);for(d=i.length;d;)e=i[--d],a[e]=g[e];a.target||(a.target=g.srcElement||c),a.target.nodeType===3&&(a.target=a.target.parentNode),a.metaKey===b&&(a.metaKey=a.ctrlKey);return h.filter?h.filter(a,g):a},special:{ready:{setup:f.bindReady},focus:{delegateType:"focusin",noBubble:!0},blur:{delegateType:"focusout",noBubble:!0},beforeunload:{setup:function(a,b,c){f.isWindow(this)&&(this.onbeforeunload=c)},teardown:function(a,b){this.onbeforeunload===b&&(this.onbeforeunload=null)}}},simulate:function(a,b,c,d){var e=f.extend(new f.Event,c,{type:a,isSimulated:!0,originalEvent:{}});d?f.event.trigger(e,null,b):f.event.dispatch.call(b,e),e.isDefaultPrevented()&&c.preventDefault()}},f.event.handle=f.event.dispatch,f.removeEvent=c.removeEventListener?function(a,b,c){a.removeEventListener&&a.removeEventListener(b,c,!1)}:function(a,b,c){a.detachEvent&&a.detachEvent("on"+b,c)},f.Event=function(a,b){if(!(this instanceof f.Event))return new f.Event(a,b);a&&a.type?(this.originalEvent=a,this.type=a.type,this.isDefaultPrevented=a.defaultPrevented||a.returnValue===!1||a.getPreventDefault&&a.getPreventDefault()?N:M):this.type=a,b&&f.extend(this,b),this.timeStamp=a&&a.timeStamp||f.now(),this[f.expando]=!0},f.Event.prototype={preventDefault:function(){this.isDefaultPrevented=N;var a=this.originalEvent;!a||(a.preventDefault?a.preventDefault():a.returnValue=!1)},stopPropagation:function(){this.isPropagationStopped=N;var a=this.originalEvent;!a||(a.stopPropagation&&a.stopPropagation(),a.cancelBubble=!0)},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=N,this.stopPropagation()},isDefaultPrevented:M,isPropagationStopped:M,isImmediatePropagationStopped:M},f.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(a,b){f.event.special[a]=f.event.special[b]={delegateType:b,bindType:b,handle:function(a){var b=this,c=a.relatedTarget,d=a.handleObj,e=d.selector,g,h;if(!c||d.origType===a.type||c!==b&&!f.contains(b,c))g=a.type,a.type=d.origType,h=d.handler.apply(this,arguments),a.type=g;return h}}}),f.support.submitBubbles||(f.event.special.submit={setup:function(){if(f.nodeName(this,"form"))return!1;f.event.add(this,"click._submit keypress._submit",function(a){var c=a.target,d=f.nodeName(c,"input")||f.nodeName(c,"button")?c.form:b;d&&!d._submit_attached&&(f.event.add(d,"submit._submit",function(a){this.parentNode&&f.event.simulate("submit",this.parentNode,a,!0)}),d._submit_attached=!0)})},teardown:function(){if(f.nodeName(this,"form"))return!1;f.event.remove(this,"._submit")}}),f.support.changeBubbles||(f.event.special.change={setup:function(){if(A.test(this.nodeName)){if(this.type==="checkbox"||this.type==="radio")f.event.add(this,"propertychange._change",function(a){a.originalEvent.propertyName==="checked"&&(this._just_changed=!0)}),f.event.add(this,"click._change",function(a){this._just_changed&&(this._just_changed=!1,f.event.simulate("change",this,a,!0))});return!1}f.event.add(this,"beforeactivate._change",function(a){var b=a.target;A.test(b.nodeName)&&!b._change_attached&&(f.event.add(b,"change._change",function(a){this.parentNode&&!a.isSimulated&&f.event.simulate("change",this.parentNode,a,!0)}),b._change_attached=!0)})},handle:function(a){var b=a.target;if(this!==b||a.isSimulated||a.isTrigger||b.type!=="radio"&&b.type!=="checkbox")return a.handleObj.handler.apply(this,arguments)},teardown:function(){f.event.remove(this,"._change");return A.test(this.nodeName)}}),f.support.focusinBubbles||f.each({focus:"focusin",blur:"focusout"},function(a,b){var d=0,e=function(a){f.event.simulate(b,a.target,f.event.fix(a),!0)};f.event.special[b]={setup:function(){d++===0&&c.addEventListener(a,e,!0)},teardown:function(){--d===0&&c.removeEventListener(a,e,!0)}}}),f.fn.extend({on:function(a,c,d,e,g){var h,i;if(typeof a=="object"){typeof c!="string"&&(d=c,c=b);for(i in a)this.on(i,c,d,a[i],g);return this}d==null&&e==null?(e=c,d=c=b):e==null&&(typeof c=="string"?(e=d,d=b):(e=d,d=c,c=b));if(e===!1)e=M;else if(!e)return this;g===1&&(h=e,e=function(a){f().off(a);return h.apply(this,arguments)},e.guid=h.guid||(h.guid=f.guid++));return this.each(function(){f.event.add(this,a,e,d,c)})},one:function(a,b,c,d){return this.on.call(this,a,b,c,d,1)},off:function(a,c,d){if(a&&a.preventDefault&&a.handleObj){var e=a.handleObj;f(a.delegateTarget).off(e.namespace?e.type+"."+e.namespace:e.type,e.selector,e.handler);return this}if(typeof a=="object"){for(var g in a)this.off(g,c,a[g]);return this}if(c===!1||typeof c=="function")d=c,c=b;d===!1&&(d=M);return this.each(function(){f.event.remove(this,a,d,c)})},bind:function(a,b,c){return this.on(a,null,b,c)},unbind:function(a,b){return this.off(a,null,b)},live:function(a,b,c){f(this.context).on(a,this.selector,b,c);return this},die:function(a,b){f(this.context).off(a,this.selector||"**",b);return this},delegate:function(a,b,c,d){return this.on(b,a,c,d)},undelegate:function(a,b,c){return arguments.length==1?this.off(a,"**"):this.off(b,a,c)},trigger:function(a,b){return this.each(function(){f.event.trigger(a,b,this)})},triggerHandler:function(a,b){if(this[0])return f.event.trigger(a,b,this[0],!0)},toggle:function(a){var b=arguments,c=a.guid||f.guid++,d=0,e=function(c){var e=(f._data(this,"lastToggle"+a.guid)||0)%d;f._data(this,"lastToggle"+a.guid,e+1),c.preventDefault();return b[e].apply(this,arguments)||!1};e.guid=c;while(d<b.length)b[d++].guid=c;return this.click(e)},hover:function(a,b){return this.mouseenter(a).mouseleave(b||a)}}),f.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),function(a,b){f.fn[b]=function(a,c){c==null&&(c=a,a=null);return arguments.length>0?this.bind(b,a,c):this.trigger(b)},f.attrFn&&(f.attrFn[b]=!0),G.test(b)&&(f.event.fixHooks[b]=f.event.keyHooks),H.test(b)&&(f.event.fixHooks[b]=f.event.mouseHooks)}),function(){function x(a,b,c,e,f,g){for(var h=0,i=e.length;h<i;h++){var j=e[h];if(j){var k=!1;j=j[a];while(j){if(j[d]===c){k=e[j.sizset];break}if(j.nodeType===1){g||(j[d]=c,j.sizset=h);if(typeof b!="string"){if(j===b){k=!0;break}}else if(m.filter(b,[j]).length>0){k=j;break}}j=j[a]}e[h]=k}}}function w(a,b,c,e,f,g){for(var h=0,i=e.length;h<i;h++){var j=e[h];if(j){var k=!1;j=j[a];while(j){if(j[d]===c){k=e[j.sizset];break}j.nodeType===1&&!g&&(j[d]=c,j.sizset=h);if(j.nodeName.toLowerCase()===b){k=j;break}j=j[a]}e[h]=k}}}var a=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,d="sizcache"+(Math.random()+"").replace(".",""),e=0,g=Object.prototype.toString,h=!1,i=!0,j=/\\/g,k=/\r\n/g,l=/\W/;[0,0].sort(function(){i=!1;return 0});var m=function(b,d,e,f){e=e||[],d=d||c;var h=d;if(d.nodeType!==1&&d.nodeType!==9)return[];if(!b||typeof b!="string")return e;var i,j,k,l,n,q,r,t,u=!0,v=m.isXML(d),w=[],x=b;do{a.exec(""),i=a.exec(x);if(i){x=i[3],w.push(i[1]);if(i[2]){l=i[3];break}}}while(i);if(w.length>1&&p.exec(b))if(w.length===2&&o.relative[w[0]])j=y(w[0]+w[1],d,f);else{j=o.relative[w[0]]?[d]:m(w.shift(),d);while(w.length)b=w.shift(),o.relative[b]&&(b+=w.shift()),j=y(b,j,f)}else{!f&&w.length>1&&d.nodeType===9&&!v&&o.match.ID.test(w[0])&&!o.match.ID.test(w[w.length-1])&&(n=m.find(w.shift(),d,v),d=n.expr?m.filter(n.expr,n.set)[0]:n.set[0]);if(d){n=f?{expr:w.pop(),set:s(f)}:m.find(w.pop(),w.length===1&&(w[0]==="~"||w[0]==="+")&&d.parentNode?d.parentNode:d,v),j=n.expr?m.filter(n.expr,n.set):n.set,w.length>0?k=s(j):u=!1;while(w.length)q=w.pop(),r=q,o.relative[q]?r=w.pop():q="",r==null&&(r=d),o.relative[q](k,r,v)}else k=w=[]}k||(k=j),k||m.error(q||b);if(g.call(k)==="[object Array]")if(!u)e.push.apply(e,k);else if(d&&d.nodeType===1)for(t=0;k[t]!=null;t++)k[t]&&(k[t]===!0||k[t].nodeType===1&&m.contains(d,k[t]))&&e.push(j[t]);else for(t=0;k[t]!=null;t++)k[t]&&k[t].nodeType===1&&e.push(j[t]);else s(k,e);l&&(m(l,h,e,f),m.uniqueSort(e));return e};m.uniqueSort=function(a){if(u){h=i,a.sort(u);if(h)for(var b=1;b<a.length;b++)a[b]===a[b-1]&&a.splice(b--,1)}return a},m.matches=function(a,b){return m(a,null,null,b)},m.matchesSelector=function(a,b){return m(b,null,null,[a]).length>0},m.find=function(a,b,c){var d,e,f,g,h,i;if(!a)return[];for(e=0,f=o.order.length;e<f;e++){h=o.order[e];if(g=o.leftMatch[h].exec(a)){i=g[1],g.splice(1,1);if(i.substr(i.length-1)!=="\\"){g[1]=(g[1]||"").replace(j,""),d=o.find[h](g,b,c);if(d!=null){a=a.replace(o.match[h],"");break}}}}d||(d=typeof b.getElementsByTagName!="undefined"?b.getElementsByTagName("*"):[]);return{set:d,expr:a}},m.filter=function(a,c,d,e){var f,g,h,i,j,k,l,n,p,q=a,r=[],s=c,t=c&&c[0]&&m.isXML(c[0]);while(a&&c.length){for(h in o.filter)if((f=o.leftMatch[h].exec(a))!=null&&f[2]){k=o.filter[h],l=f[1],g=!1,f.splice(1,1);if(l.substr(l.length-1)==="\\")continue;s===r&&(r=[]);if(o.preFilter[h]){f=o.preFilter[h](f,s,d,r,e,t);if(!f)g=i=!0;else if(f===!0)continue}if(f)for(n=0;(j=s[n])!=null;n++)j&&(i=k(j,f,n,s),p=e^i,d&&i!=null?p?g=!0:s[n]=!1:p&&(r.push(j),g=!0));if(i!==b){d||(s=r),a=a.replace(o.match[h],"");if(!g)return[];break}}if(a===q)if(g==null)m.error(a);else break;q=a}return s},m.error=function(a){throw"Syntax error, unrecognized expression: "+a};var n=m.getText=function(a){var b,c,d=a.nodeType,e="";if(d){if(d===1){if(typeof a.textContent=="string")return a.textContent;if(typeof a.innerText=="string")return a.innerText.replace(k,"");for(a=a.firstChild;a;a=a.nextSibling)e+=n(a)}else if(d===3||d===4)return a.nodeValue}else for(b=0;c=a[b];b++)c.nodeType!==8&&(e+=n(c));return e},o=m.selectors={order:["ID","NAME","TAG"],match:{ID:/#((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,CLASS:/\.((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,NAME:/\[name=['"]*((?:[\w\u00c0-\uFFFF\-]|\\.)+)['"]*\]/,ATTR:/\[\s*((?:[\w\u00c0-\uFFFF\-]|\\.)+)\s*(?:(\S?=)\s*(?:(['"])(.*?)\3|(#?(?:[\w\u00c0-\uFFFF\-]|\\.)*)|)|)\s*\]/,TAG:/^((?:[\w\u00c0-\uFFFF\*\-]|\\.)+)/,CHILD:/:(only|nth|last|first)-child(?:\(\s*(even|odd|(?:[+\-]?\d+|(?:[+\-]?\d*)?n\s*(?:[+\-]\s*\d+)?))\s*\))?/,POS:/:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^\-]|$)/,PSEUDO:/:((?:[\w\u00c0-\uFFFF\-]|\\.)+)(?:\((['"]?)((?:\([^\)]+\)|[^\(\)]*)+)\2\))?/},leftMatch:{},attrMap:{"class":"className","for":"htmlFor"},attrHandle:{href:function(a){return a.getAttribute("href")},type:function(a){return a.getAttribute("type")}},relative:{"+":function(a,b){var c=typeof b=="string",d=c&&!l.test(b),e=c&&!d;d&&(b=b.toLowerCase());for(var f=0,g=a.length,h;f<g;f++)if(h=a[f]){while((h=h.previousSibling)&&h.nodeType!==1);a[f]=e||h&&h.nodeName.toLowerCase()===b?h||!1:h===b}e&&m.filter(b,a,!0)},">":function(a,b){var c,d=typeof b=="string",e=0,f=a.length;if(d&&!l.test(b)){b=b.toLowerCase();for(;e<f;e++){c=a[e];if(c){var g=c.parentNode;a[e]=g.nodeName.toLowerCase()===b?g:!1}}}else{for(;e<f;e++)c=a[e],c&&(a[e]=d?c.parentNode:c.parentNode===b);d&&m.filter(b,a,!0)}},"":function(a,b,c){var d,f=e++,g=x;typeof b=="string"&&!l.test(b)&&(b=b.toLowerCase(),d=b,g=w),g("parentNode",b,f,a,d,c)},"~":function(a,b,c){var d,f=e++,g=x;typeof b=="string"&&!l.test(b)&&(b=b.toLowerCase(),d=b,g=w),g("previousSibling",b,f,a,d,c)}},find:{ID:function(a,b,c){if(typeof b.getElementById!="undefined"&&!c){var d=b.getElementById(a[1]);return d&&d.parentNode?[d]:[]}},NAME:function(a,b){if(typeof b.getElementsByName!="undefined"){var c=[],d=b.getElementsByName(a[1]);for(var e=0,f=d.length;e<f;e++)d[e].getAttribute("name")===a[1]&&c.push(d[e]);return c.length===0?null:c}},TAG:function(a,b){if(typeof b.getElementsByTagName!="undefined")return b.getElementsByTagName(a[1])}},preFilter:{CLASS:function(a,b,c,d,e,f){a=" "+a[1].replace(j,"")+" ";if(f)return a;for(var g=0,h;(h=b[g])!=null;g++)h&&(e^(h.className&&(" "+h.className+" ").replace(/[\t\n\r]/g," ").indexOf(a)>=0)?c||d.push(h):c&&(b[g]=!1));return!1},ID:function(a){return a[1].replace(j,"")},TAG:function(a,b){return a[1].replace(j,"").toLowerCase()},CHILD:function(a){if(a[1]==="nth"){a[2]||m.error(a[0]),a[2]=a[2].replace(/^\+|\s*/g,"");var b=/(-?)(\d*)(?:n([+\-]?\d*))?/.exec(a[2]==="even"&&"2n"||a[2]==="odd"&&"2n+1"||!/\D/.test(a[2])&&"0n+"+a[2]||a[2]);a[2]=b[1]+(b[2]||1)-0,a[3]=b[3]-0}else a[2]&&m.error(a[0]);a[0]=e++;return a},ATTR:function(a,b,c,d,e,f){var g=a[1]=a[1].replace(j,"");!f&&o.attrMap[g]&&(a[1]=o.attrMap[g]),a[4]=(a[4]||a[5]||"").replace(j,""),a[2]==="~="&&(a[4]=" "+a[4]+" ");return a},PSEUDO:function(b,c,d,e,f){if(b[1]==="not")if((a.exec(b[3])||"").length>1||/^\w/.test(b[3]))b[3]=m(b[3],null,null,c);else{var g=m.filter(b[3],c,d,!0^f);d||e.push.apply(e,g);return!1}else if(o.match.POS.test(b[0])||o.match.CHILD.test(b[0]))return!0;return b},POS:function(a){a.unshift(!0);return a}},filters:{enabled:function(a){return a.disabled===!1&&a.type!=="hidden"},disabled:function(a){return a.disabled===!0},checked:function(a){return a.checked===!0},selected:function(a){a.parentNode&&a.parentNode.selectedIndex;return a.selected===!0},parent:function(a){return!!a.firstChild},empty:function(a){return!a.firstChild},has:function(a,b,c){return!!m(c[3],a).length},header:function(a){return/h\d/i.test(a.nodeName)},text:function(a){var b=a.getAttribute("type"),c=a.type;return a.nodeName.toLowerCase()==="input"&&"text"===c&&(b===c||b===null)},radio:function(a){return a.nodeName.toLowerCase()==="input"&&"radio"===a.type},checkbox:function(a){return a.nodeName.toLowerCase()==="input"&&"checkbox"===a.type},file:function(a){return a.nodeName.toLowerCase()==="input"&&"file"===a.type},password:function(a){return a.nodeName.toLowerCase()==="input"&&"password"===a.type},submit:function(a){var b=a.nodeName.toLowerCase();return(b==="input"||b==="button")&&"submit"===a.type},image:function(a){return a.nodeName.toLowerCase()==="input"&&"image"===a.type},reset:function(a){var b=a.nodeName.toLowerCase();return(b==="input"||b==="button")&&"reset"===a.type},button:function(a){var b=a.nodeName.toLowerCase();return b==="input"&&"button"===a.type||b==="button"},input:function(a){return/input|select|textarea|button/i.test(a.nodeName)},focus:function(a){return a===a.ownerDocument.activeElement}},setFilters:{first:function(a,b){return b===0},last:function(a,b,c,d){return b===d.length-1},even:function(a,b){return b%2===0},odd:function(a,b){return b%2===1},lt:function(a,b,c){return b<c[3]-0},gt:function(a,b,c){return b>c[3]-0},nth:function(a,b,c){return c[3]-0===b},eq:function(a,b,c){return c[3]-0===b}},filter:{PSEUDO:function(a,b,c,d){var e=b[1],f=o.filters[e];if(f)return f(a,c,b,d);if(e==="contains")return(a.textContent||a.innerText||n([a])||"").indexOf(b[3])>=0;if(e==="not"){var g=b[3];for(var h=0,i=g.length;h<i;h++)if(g[h]===a)return!1;return!0}m.error(e)},CHILD:function(a,b){var c,e,f,g,h,i,j,k=b[1],l=a;switch(k){case"only":case"first":while(l=l.previousSibling)if(l.nodeType===1)return!1;if(k==="first")return!0;l=a;case"last":while(l=l.nextSibling)if(l.nodeType===1)return!1;return!0;case"nth":c=b[2],e=b[3];if(c===1&&e===0)return!0;f=b[0],g=a.parentNode;if(g&&(g[d]!==f||!a.nodeIndex)){i=0;for(l=g.firstChild;l;l=l.nextSibling)l.nodeType===1&&(l.nodeIndex=++i);g[d]=f}j=a.nodeIndex-e;return c===0?j===0:j%c===0&&j/c>=0}},ID:function(a,b){return a.nodeType===1&&a.getAttribute("id")===b},TAG:function(a,b){return b==="*"&&a.nodeType===1||!!a.nodeName&&a.nodeName.toLowerCase()===b},CLASS:function(a,b){return(" "+(a.className||a.getAttribute("class"))+" ").indexOf(b)>-1},ATTR:function(a,b){var c=b[1],d=m.attr?m.attr(a,c):o.attrHandle[c]?o.attrHandle[c](a):a[c]!=null?a[c]:a.getAttribute(c),e=d+"",f=b[2],g=b[4];return d==null?f==="!=":!f&&m.attr?d!=null:f==="="?e===g:f==="*="?e.indexOf(g)>=0:f==="~="?(" "+e+" ").indexOf(g)>=0:g?f==="!="?e!==g:f==="^="?e.indexOf(g)===0:f==="$="?e.substr(e.length-g.length)===g:f==="|="?e===g||e.substr(0,g.length+1)===g+"-":!1:e&&d!==!1},POS:function(a,b,c,d){var e=b[2],f=o.setFilters[e];if(f)return f(a,c,b,d)}}},p=o.match.POS,q=function(a,b){return"\\"+(b-0+1)};for(var r in o.match)o.match[r]=new RegExp(o.match[r].source+/(?![^\[]*\])(?![^\(]*\))/.source),o.leftMatch[r]=new RegExp(/(^(?:.|\r|\n)*?)/.source+o.match[r].source.replace(/\\(\d+)/g,q));var s=function(a,b){a=Array.prototype.slice.call(a,0);if(b){b.push.apply(b,a);return b}return a};try{Array.prototype.slice.call(c.documentElement.childNodes,0)[0].nodeType}catch(t){s=function(a,b){var c=0,d=b||[];if(g.call(a)==="[object Array]")Array.prototype.push.apply(d,a);else if(typeof a.length=="number")for(var e=a.length;c<e;c++)d.push(a[c]);else for(;a[c];c++)d.push(a[c]);return d}}var u,v;c.documentElement.compareDocumentPosition?u=function(a,b){if(a===b){h=!0;return 0}if(!a.compareDocumentPosition||!b.compareDocumentPosition)return a.compareDocumentPosition?-1:1;return a.compareDocumentPosition(b)&4?-1:1}:(u=function(a,b){if(a===b){h=!0;return 0}if(a.sourceIndex&&b.sourceIndex)return a.sourceIndex-b.sourceIndex;var c,d,e=[],f=[],g=a.parentNode,i=b.parentNode,j=g;if(g===i)return v(a,b);if(!g)return-1;if(!i)return 1;while(j)e.unshift(j),j=j.parentNode;j=i;while(j)f.unshift(j),j=j.parentNode;c=e.length,d=f.length;for(var k=0;k<c&&k<d;k++)if(e[k]!==f[k])return v(e[k],f[k]);return k===c?v(a,f[k],-1):v(e[k],b,1)},v=function(a,b,c){if(a===b)return c;var d=a.nextSibling;while(d){if(d===b)return-1;d=d.nextSibling}return 1}),function(){var a=c.createElement("div"),d="script"+(new Date).getTime(),e=c.documentElement;a.innerHTML="<a name='"+d+"'/>",e.insertBefore(a,e.firstChild),c.getElementById(d)&&(o.find.ID=function(a,c,d){if(typeof c.getElementById!="undefined"&&!d){var e=c.getElementById(a[1]);return e?e.id===a[1]||typeof e.getAttributeNode!="undefined"&&e.getAttributeNode("id").nodeValue===a[1]?[e]:b:[]}},o.filter.ID=function(a,b){var c=typeof a.getAttributeNode!="undefined"&&a.getAttributeNode("id");return a.nodeType===1&&c&&c.nodeValue===b}),e.removeChild(a),e=a=null}(),function(){var a=c.createElement("div");a.appendChild(c.createComment("")),a.getElementsByTagName("*").length>0&&(o.find.TAG=function(a,b){var c=b.getElementsByTagName(a[1]);if(a[1]==="*"){var d=[];for(var e=0;c[e];e++)c[e].nodeType===1&&d.push(c[e]);c=d}return c}),a.innerHTML="<a href='#'></a>",a.firstChild&&typeof a.firstChild.getAttribute!="undefined"&&a.firstChild.getAttribute("href")!=="#"&&(o.attrHandle.href=function(a){return a.getAttribute("href",2)}),a=null}(),c.querySelectorAll&&function(){var a=m,b=c.createElement("div"),d="__sizzle__";b.innerHTML="<p class='TEST'></p>";if(!b.querySelectorAll||b.querySelectorAll(".TEST").length!==0){m=function(b,e,f,g){e=e||c;if(!g&&!m.isXML(e)){var h=/^(\w+$)|^\.([\w\-]+$)|^#([\w\-]+$)/.exec(b);if(h&&(e.nodeType===1||e.nodeType===9)){if(h[1])return s(e.getElementsByTagName(b),f);if(h[2]&&o.find.CLASS&&e.getElementsByClassName)return s(e.getElementsByClassName(h[2]),f)}if(e.nodeType===9){if(b==="body"&&e.body)return s([e.body],f);if(h&&h[3]){var i=e.getElementById(h[3]);if(!i||!i.parentNode)return s([],f);if(i.id===h[3])return s([i],f)}try{return s(e.querySelectorAll(b),f)}catch(j){}}else if(e.nodeType===1&&e.nodeName.toLowerCase()!=="object"){var k=e,l=e.getAttribute("id"),n=l||d,p=e.parentNode,q=/^\s*[+~]/.test(b);l?n=n.replace(/'/g,"\\$&"):e.setAttribute("id",n),q&&p&&(e=e.parentNode);try{if(!q||p)return s(e.querySelectorAll("[id='"+n+"'] "+b),f)}catch(r){}finally{l||k.removeAttribute("id")}}}return a(b,e,f,g)};for(var e in a)m[e]=a[e];b=null}}(),function(){var a=c.documentElement,b=a.matchesSelector||a.mozMatchesSelector||a.webkitMatchesSelector||a.msMatchesSelector;if(b){var d=!b.call(c.createElement("div"),"div"),e=!1;try{b.call(c.documentElement,"[test!='']:sizzle")}catch(f){e=!0}m.matchesSelector=function(a,c){c=c.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");if(!m.isXML(a))try{if(e||!o.match.PSEUDO.test(c)&&!/!=/.test(c)){var f=b.call(a,c);if(f||!d||a.document&&a.document.nodeType!==11)return f}}catch(g){}return m(c,null,null,[a]).length>0}}}(),function(){var a=c.createElement("div");a.innerHTML="<div class='test e'></div><div class='test'></div>";if(!!a.getElementsByClassName&&a.getElementsByClassName("e").length!==0){a.lastChild.className="e";if(a.getElementsByClassName("e").length===1)return;o.order.splice(1,0,"CLASS"),o.find.CLASS=function(a,b,c){if(typeof b.getElementsByClassName!="undefined"&&!c)return b.getElementsByClassName(a[1])},a=null}}(),c.documentElement.contains?m.contains=function(a,b){return a!==b&&(a.contains?a.contains(b):!0)}:c.documentElement.compareDocumentPosition?m.contains=function(a,b){return!!(a.compareDocumentPosition(b)&16)}:m.contains=function(){return!1},m.isXML=function(a){var b=(a?a.ownerDocument||a:0).documentElement;return b?b.nodeName!=="HTML":!1};var y=function(a,b,c){var d,e=[],f="",g=b.nodeType?[b]:b;while(d=o.match.PSEUDO.exec(a))f+=d[0],a=a.replace(o.match.PSEUDO,"");a=o.relative[a]?a+"*":a;for(var h=0,i=g.length;h<i;h++)m(a,g[h],e,c);return m.filter(f,e)};m.attr=f.attr,m.selectors.attrMap={},f.find=m,f.expr=m.selectors,f.expr[":"]=f.expr.filters,f.unique=m.uniqueSort,f.text=m.getText,f.isXMLDoc=m.isXML,f.contains=m.contains}();var O=/Until$/,P=/^(?:parents|prevUntil|prevAll)/,Q=/,/,R=/^.[^:#\[\.,]*$/,S=Array.prototype.slice,T=f.expr.match.POS,U={children:!0,contents:!0,next:!0,prev:!0};f.fn.extend({find:function(a){var b=this,c,d;if(typeof a!="string")return f(a).filter(function(){for(c=0,d=b.length;c<d;c++)if(f.contains(b[c],this))return!0});var e=this.pushStack("","find",a),g,h,i;for(c=0,d=this.length;c<d;c++){g=e.length,f.find(a,this[c],e);if(c>0)for(h=g;h<e.length;h++)for(i=0;i<g;i++)if(e[i]===e[h]){e.splice(h--,1);break}}return e},has:function(a){var b=f(a);return this.filter(function(){for(var a=0,c=b.length;a<c;a++)if(f.contains(this,b[a]))return!0})},not:function(a){return this.pushStack(W(this,a,!1),"not",a)},filter:function(a){return this.pushStack(W(this,a,!0),"filter",a)},is:function(a){return!!a&&(typeof a=="string"?T.test(a)?f(a,this.context).index(this[0])>=0:f.filter(a,this).length>0:this.filter(a).length>0)},closest:function(a,b){var c=[],d,e,g=this[0];if(f.isArray(a)){var h=1;while(g&&g.ownerDocument&&g!==b){for(d=0;d<a.length;d++)f(g).is(a[d])&&c.push({selector:a[d],elem:g,level:h});g=g.parentNode,h++}return c}var i=T.test(a)||typeof a!="string"?f(a,b||this.context):0;for(d=0,e=this.length;d<e;d++){g=this[d];while(g){if(i?i.index(g)>-1:f.find.matchesSelector(g,a)){c.push(g);break}g=g.parentNode;if(!g||!g.ownerDocument||g===b||g.nodeType===11)break}}c=c.length>1?f.unique(c):c;return this.pushStack(c,"closest",a)},index:function(a){if(!a)return this[0]&&this[0].parentNode?this.prevAll().length:-1;if(typeof a=="string")return f.inArray(this[0],f(a));return f.inArray(a.jquery?a[0]:a,this)},add:function(a,b){var c=typeof a=="string"?f(a,b):f.makeArray(a&&a.nodeType?[a]:a),d=f.merge(this.get(),c);return this.pushStack(V(c[0])||V(d[0])?d:f.unique(d))},andSelf:function(){return this.add(this.prevObject)}}),f.each({parent:function(a){var b=a.parentNode;return b&&b.nodeType!==11?b:null},parents:function(a){return f.dir(a,"parentNode")},parentsUntil:function(a,b,c){return f.dir(a,"parentNode",c)},next:function(a){return f.nth(a,2,"nextSibling")},prev:function(a){return f.nth(a,2,"previousSibling")},nextAll:function(a){return f.dir(a,"nextSibling")},prevAll:function(a){return f.dir(a,"previousSibling")},nextUntil:function(a,b,c){return f.dir(a,"nextSibling",c)},prevUntil:function(a,b,c){return f.dir(a,"previousSibling",c)},siblings:function(a){return f.sibling(a.parentNode.firstChild,a)},children:function(a){return f.sibling(a.firstChild)},contents:function(a){return f.nodeName(a,"iframe")?a.contentDocument||a.contentWindow.document:f.makeArray(a.childNodes)}},function(a,b){f.fn[a]=function(c,d){var e=f.map(this,b,c),g=S.call(arguments);O.test(a)||(d=c),d&&typeof d=="string"&&(e=f.filter(d,e)),e=this.length>1&&!U[a]?f.unique(e):e,(this.length>1||Q.test(d))&&P.test(a)&&(e=e.reverse());return this.pushStack(e,a,g.join(","))}}),f.extend({filter:function(a,b,c){c&&(a=":not("+a+")");return b.length===1?f.find.matchesSelector(b[0],a)?[b[0]]:[]:f.find.matches(a,b)},dir:function(a,c,d){var e=[],g=a[c];while(g&&g.nodeType!==9&&(d===b||g.nodeType!==1||!f(g).is(d)))g.nodeType===1&&e.push(g),g=g[c];return e},nth:function(a,b,c,d){b=b||1;var e=0;for(;a;a=a[c])if(a.nodeType===1&&++e===b)break;return a},sibling:function(a,b){var c=[];for(;a;a=a.nextSibling)a.nodeType===1&&a!==b&&c.push(a);return c}});var Y="abbr article aside audio canvas datalist details figcaption figure footer header hgroup mark meter nav output progress section summary time video",Z=/ jQuery\d+="(?:\d+|null)"/g,$=/^\s+/,_=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,ba=/<([\w:]+)/,bb=/<tbody/i,bc=/<|&#?\w+;/,bd=/<(?:script|style)/i,be=/<(?:script|object|embed|option|style)/i,bf=new RegExp("<(?:"+Y.replace(" ","|")+")","i"),bg=/checked\s*(?:[^=]|=\s*.checked.)/i,bh=/\/(java|ecma)script/i,bi=/^\s*<!(?:\[CDATA\[|\-\-)/,bj={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],area:[1,"<map>","</map>"],_default:[0,"",""]},bk=X(c);bj.optgroup=bj.option,bj.tbody=bj.tfoot=bj.colgroup=bj.caption=bj.thead,bj.th=bj.td,f.support.htmlSerialize||(bj._default=[1,"div<div>","</div>"]),f.fn.extend({text:function(a){if(f.isFunction(a))return this.each(function(b){var c=f(this);c.text(a.call(this,b,c.text()))});if(typeof a!="object"&&a!==b)return this.empty().append((this[0]&&this[0].ownerDocument||c).createTextNode(a));return f.text(this)},wrapAll:function(a){if(f.isFunction(a))return this.each(function(b){f(this).wrapAll(a.call(this,b))});if(this[0]){var b=f(a,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&b.insertBefore(this[0]),b.map(function(){var a=this;while(a.firstChild&&a.firstChild.nodeType===1)a=a.firstChild;return a}).append(this)}return this},wrapInner:function(a){if(f.isFunction(a))return this.each(function(b){f(this).wrapInner(a.call(this,b))});return this.each(function(){var b=f(this),c=b.contents();c.length?c.wrapAll(a):b.append(a)})},wrap:function(a){return this.each(function(){f(this).wrapAll(a)})},unwrap:function(){return this.parent().each(function(){f.nodeName(this,"body")||f(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,!0,function(a){this.nodeType===1&&this.appendChild(a)})},prepend:function(){return this.domManip(arguments,!0,function(a){this.nodeType===1&&this.insertBefore(a,this.firstChild)})},before:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,!1,function(a){this.parentNode.insertBefore(a,this)});if(arguments.length){var a=f(arguments[0]);a.push.apply(a,this.toArray());return this.pushStack(a,"before",arguments)}},after:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,!1,function(a){this.parentNode.insertBefore(a,this.nextSibling)});if(arguments.length){var a=this.pushStack(this,"after"
,arguments);a.push.apply(a,f(arguments[0]).toArray());return a}},remove:function(a,b){for(var c=0,d;(d=this[c])!=null;c++)if(!a||f.filter(a,[d]).length)!b&&d.nodeType===1&&(f.cleanData(d.getElementsByTagName("*")),f.cleanData([d])),d.parentNode&&d.parentNode.removeChild(d);return this},empty:function(){for(var a=0,b;(b=this[a])!=null;a++){b.nodeType===1&&f.cleanData(b.getElementsByTagName("*"));while(b.firstChild)b.removeChild(b.firstChild)}return this},clone:function(a,b){a=a==null?!1:a,b=b==null?a:b;return this.map(function(){return f.clone(this,a,b)})},html:function(a){if(a===b)return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(Z,""):null;if(typeof a=="string"&&!bd.test(a)&&(f.support.leadingWhitespace||!$.test(a))&&!bj[(ba.exec(a)||["",""])[1].toLowerCase()]){a=a.replace(_,"<$1></$2>");try{for(var c=0,d=this.length;c<d;c++)this[c].nodeType===1&&(f.cleanData(this[c].getElementsByTagName("*")),this[c].innerHTML=a)}catch(e){this.empty().append(a)}}else f.isFunction(a)?this.each(function(b){var c=f(this);c.html(a.call(this,b,c.html()))}):this.empty().append(a);return this},replaceWith:function(a){if(this[0]&&this[0].parentNode){if(f.isFunction(a))return this.each(function(b){var c=f(this),d=c.html();c.replaceWith(a.call(this,b,d))});typeof a!="string"&&(a=f(a).detach());return this.each(function(){var b=this.nextSibling,c=this.parentNode;f(this).remove(),b?f(b).before(a):f(c).append(a)})}return this.length?this.pushStack(f(f.isFunction(a)?a():a),"replaceWith",a):this},detach:function(a){return this.remove(a,!0)},domManip:function(a,c,d){var e,g,h,i,j=a[0],k=[];if(!f.support.checkClone&&arguments.length===3&&typeof j=="string"&&bg.test(j))return this.each(function(){f(this).domManip(a,c,d,!0)});if(f.isFunction(j))return this.each(function(e){var g=f(this);a[0]=j.call(this,e,c?g.html():b),g.domManip(a,c,d)});if(this[0]){i=j&&j.parentNode,f.support.parentNode&&i&&i.nodeType===11&&i.childNodes.length===this.length?e={fragment:i}:e=f.buildFragment(a,this,k),h=e.fragment,h.childNodes.length===1?g=h=h.firstChild:g=h.firstChild;if(g){c=c&&f.nodeName(g,"tr");for(var l=0,m=this.length,n=m-1;l<m;l++)d.call(c?bl(this[l],g):this[l],e.cacheable||m>1&&l<n?f.clone(h,!0,!0):h)}k.length&&f.each(k,br)}return this}}),f.buildFragment=function(a,b,d){var e,g,h,i,j=a[0];b&&b[0]&&(i=b[0].ownerDocument||b[0]),i.createDocumentFragment||(i=c),a.length===1&&typeof j=="string"&&j.length<512&&i===c&&j.charAt(0)==="<"&&!be.test(j)&&(f.support.checkClone||!bg.test(j))&&!f.support.unknownElems&&bf.test(j)&&(g=!0,h=f.fragments[j],h&&h!==1&&(e=h)),e||(e=i.createDocumentFragment(),f.clean(a,i,e,d)),g&&(f.fragments[j]=h?e:1);return{fragment:e,cacheable:g}},f.fragments={},f.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,b){f.fn[a]=function(c){var d=[],e=f(c),g=this.length===1&&this[0].parentNode;if(g&&g.nodeType===11&&g.childNodes.length===1&&e.length===1){e[b](this[0]);return this}for(var h=0,i=e.length;h<i;h++){var j=(h>0?this.clone(!0):this).get();f(e[h])[b](j),d=d.concat(j)}return this.pushStack(d,a,e.selector)}}),f.extend({clone:function(a,b,c){var d=a.cloneNode(!0),e,g,h;if((!f.support.noCloneEvent||!f.support.noCloneChecked)&&(a.nodeType===1||a.nodeType===11)&&!f.isXMLDoc(a)){bn(a,d),e=bo(a),g=bo(d);for(h=0;e[h];++h)g[h]&&bn(e[h],g[h])}if(b){bm(a,d);if(c){e=bo(a),g=bo(d);for(h=0;e[h];++h)bm(e[h],g[h])}}e=g=null;return d},clean:function(a,b,d,e){var g;b=b||c,typeof b.createElement=="undefined"&&(b=b.ownerDocument||b[0]&&b[0].ownerDocument||c);var h=[],i;for(var j=0,k;(k=a[j])!=null;j++){typeof k=="number"&&(k+="");if(!k)continue;if(typeof k=="string")if(!bc.test(k))k=b.createTextNode(k);else{k=k.replace(_,"<$1></$2>");var l=(ba.exec(k)||["",""])[1].toLowerCase(),m=bj[l]||bj._default,n=m[0],o=b.createElement("div");b===c?bk.appendChild(o):X(b).appendChild(o),o.innerHTML=m[1]+k+m[2];while(n--)o=o.lastChild;if(!f.support.tbody){var p=bb.test(k),q=l==="table"&&!p?o.firstChild&&o.firstChild.childNodes:m[1]==="<table>"&&!p?o.childNodes:[];for(i=q.length-1;i>=0;--i)f.nodeName(q[i],"tbody")&&!q[i].childNodes.length&&q[i].parentNode.removeChild(q[i])}!f.support.leadingWhitespace&&$.test(k)&&o.insertBefore(b.createTextNode($.exec(k)[0]),o.firstChild),k=o.childNodes}var r;if(!f.support.appendChecked)if(k[0]&&typeof (r=k.length)=="number")for(i=0;i<r;i++)bq(k[i]);else bq(k);k.nodeType?h.push(k):h=f.merge(h,k)}if(d){g=function(a){return!a.type||bh.test(a.type)};for(j=0;h[j];j++)if(e&&f.nodeName(h[j],"script")&&(!h[j].type||h[j].type.toLowerCase()==="text/javascript"))e.push(h[j].parentNode?h[j].parentNode.removeChild(h[j]):h[j]);else{if(h[j].nodeType===1){var s=f.grep(h[j].getElementsByTagName("script"),g);h.splice.apply(h,[j+1,0].concat(s))}d.appendChild(h[j])}}return h},cleanData:function(a){var b,c,d=f.cache,e=f.event.special,g=f.support.deleteExpando;for(var h=0,i;(i=a[h])!=null;h++){if(i.nodeName&&f.noData[i.nodeName.toLowerCase()])continue;c=i[f.expando];if(c){b=d[c];if(b&&b.events){for(var j in b.events)e[j]?f.event.remove(i,j):f.removeEvent(i,j,b.handle);b.handle&&(b.handle.elem=null)}g?delete i[f.expando]:i.removeAttribute&&i.removeAttribute(f.expando),delete d[c]}}}});var bs=/alpha\([^)]*\)/i,bt=/opacity=([^)]*)/,bu=/([A-Z]|^ms)/g,bv=/^-?\d+(?:px)?$/i,bw=/^-?\d/,bx=/^([\-+])=([\-+.\de]+)/,by={position:"absolute",visibility:"hidden",display:"block"},bz=["Left","Right"],bA=["Top","Bottom"],bB,bC,bD;f.fn.css=function(a,c){if(arguments.length===2&&c===b)return this;return f.access(this,a,c,!0,function(a,c,d){return d!==b?f.style(a,c,d):f.css(a,c)})},f.extend({cssHooks:{opacity:{get:function(a,b){if(b){var c=bB(a,"opacity","opacity");return c===""?"1":c}return a.style.opacity}}},cssNumber:{fillOpacity:!0,fontWeight:!0,lineHeight:!0,opacity:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":f.support.cssFloat?"cssFloat":"styleFloat"},style:function(a,c,d,e){if(!!a&&a.nodeType!==3&&a.nodeType!==8&&!!a.style){var g,h,i=f.camelCase(c),j=a.style,k=f.cssHooks[i];c=f.cssProps[i]||i;if(d===b){if(k&&"get"in k&&(g=k.get(a,!1,e))!==b)return g;return j[c]}h=typeof d,h==="string"&&(g=bx.exec(d))&&(d=+(g[1]+1)*+g[2]+parseFloat(f.css(a,c)),h="number");if(d==null||h==="number"&&isNaN(d))return;h==="number"&&!f.cssNumber[i]&&(d+="px");if(!k||!("set"in k)||(d=k.set(a,d))!==b)try{j[c]=d}catch(l){}}},css:function(a,c,d){var e,g;c=f.camelCase(c),g=f.cssHooks[c],c=f.cssProps[c]||c,c==="cssFloat"&&(c="float");if(g&&"get"in g&&(e=g.get(a,!0,d))!==b)return e;if(bB)return bB(a,c)},swap:function(a,b,c){var d={};for(var e in b)d[e]=a.style[e],a.style[e]=b[e];c.call(a);for(e in b)a.style[e]=d[e]}}),f.curCSS=f.css,f.each(["height","width"],function(a,b){f.cssHooks[b]={get:function(a,c,d){var e;if(c){if(a.offsetWidth!==0)return bE(a,b,d);f.swap(a,by,function(){e=bE(a,b,d)});return e}},set:function(a,b){if(!bv.test(b))return b;b=parseFloat(b);if(b>=0)return b+"px"}}}),f.support.opacity||(f.cssHooks.opacity={get:function(a,b){return bt.test((b&&a.currentStyle?a.currentStyle.filter:a.style.filter)||"")?parseFloat(RegExp.$1)/100+"":b?"1":""},set:function(a,b){var c=a.style,d=a.currentStyle,e=f.isNumeric(b)?"alpha(opacity="+b*100+")":"",g=d&&d.filter||c.filter||"";c.zoom=1;if(b>=1&&f.trim(g.replace(bs,""))===""){c.removeAttribute("filter");if(d&&!d.filter)return}c.filter=bs.test(g)?g.replace(bs,e):g+" "+e}}),f(function(){f.support.reliableMarginRight||(f.cssHooks.marginRight={get:function(a,b){var c;f.swap(a,{display:"inline-block"},function(){b?c=bB(a,"margin-right","marginRight"):c=a.style.marginRight});return c}})}),c.defaultView&&c.defaultView.getComputedStyle&&(bC=function(a,c){var d,e,g;c=c.replace(bu,"-$1").toLowerCase();if(!(e=a.ownerDocument.defaultView))return b;if(g=e.getComputedStyle(a,null))d=g.getPropertyValue(c),d===""&&!f.contains(a.ownerDocument.documentElement,a)&&(d=f.style(a,c));return d}),c.documentElement.currentStyle&&(bD=function(a,b){var c,d,e,f=a.currentStyle&&a.currentStyle[b],g=a.style;f===null&&g&&(e=g[b])&&(f=e),!bv.test(f)&&bw.test(f)&&(c=g.left,d=a.runtimeStyle&&a.runtimeStyle.left,d&&(a.runtimeStyle.left=a.currentStyle.left),g.left=b==="fontSize"?"1em":f||0,f=g.pixelLeft+"px",g.left=c,d&&(a.runtimeStyle.left=d));return f===""?"auto":f}),bB=bC||bD,f.expr&&f.expr.filters&&(f.expr.filters.hidden=function(a){var b=a.offsetWidth,c=a.offsetHeight;return b===0&&c===0||!f.support.reliableHiddenOffsets&&(a.style&&a.style.display||f.css(a,"display"))==="none"},f.expr.filters.visible=function(a){return!f.expr.filters.hidden(a)});var bF=/%20/g,bG=/\[\]$/,bH=/\r?\n/g,bI=/#.*$/,bJ=/^(.*?):[ \t]*([^\r\n]*)\r?$/mg,bK=/^(?:color|date|datetime|datetime-local|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,bL=/^(?:about|app|app\-storage|.+\-extension|file|res|widget):$/,bM=/^(?:GET|HEAD)$/,bN=/^\/\//,bO=/\?/,bP=/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,bQ=/^(?:select|textarea)/i,bR=/\s+/,bS=/([?&])_=[^&]*/,bT=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+))?)?/,bU=f.fn.load,bV={},bW={},bX,bY,bZ=["*/"]+["*"];try{bX=e.href}catch(b$){bX=c.createElement("a"),bX.href="",bX=bX.href}bY=bT.exec(bX.toLowerCase())||[],f.fn.extend({load:function(a,c,d){if(typeof a!="string"&&bU)return bU.apply(this,arguments);if(!this.length)return this;var e=a.indexOf(" ");if(e>=0){var g=a.slice(e,a.length);a=a.slice(0,e)}var h="GET";c&&(f.isFunction(c)?(d=c,c=b):typeof c=="object"&&(c=f.param(c,f.ajaxSettings.traditional),h="POST"));var i=this;f.ajax({url:a,type:h,dataType:"html",data:c,complete:function(a,b,c){c=a.responseText,a.isResolved()&&(a.done(function(a){c=a}),i.html(g?f("<div>").append(c.replace(bP,"")).find(g):c)),d&&i.each(d,[c,b,a])}});return this},serialize:function(){return f.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?f.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||bQ.test(this.nodeName)||bK.test(this.type))}).map(function(a,b){var c=f(this).val();return c==null?null:f.isArray(c)?f.map(c,function(a,c){return{name:b.name,value:a.replace(bH,"\r\n")}}):{name:b.name,value:c.replace(bH,"\r\n")}}).get()}}),f.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(a,b){f.fn[b]=function(a){return this.bind(b,a)}}),f.each(["get","post"],function(a,c){f[c]=function(a,d,e,g){f.isFunction(d)&&(g=g||e,e=d,d=b);return f.ajax({type:c,url:a,data:d,success:e,dataType:g})}}),f.extend({getScript:function(a,c){return f.get(a,b,c,"script")},getJSON:function(a,b,c){return f.get(a,b,c,"json")},ajaxSetup:function(a,b){b?cb(a,f.ajaxSettings):(b=a,a=f.ajaxSettings),cb(a,b);return a},ajaxSettings:{url:bX,isLocal:bL.test(bY[1]),global:!0,type:"GET",contentType:"application/x-www-form-urlencoded",processData:!0,async:!0,accepts:{xml:"application/xml, text/xml",html:"text/html",text:"text/plain",json:"application/json, text/javascript","*":bZ},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":a.String,"text html":!0,"text json":f.parseJSON,"text xml":f.parseXML},flatOptions:{context:!0,url:!0}},ajaxPrefilter:b_(bV),ajaxTransport:b_(bW),ajax:function(a,c){function w(a,c,l,m){if(s!==2){s=2,q&&clearTimeout(q),p=b,n=m||"",v.readyState=a>0?4:0;var o,r,u,w=c,x=l?cd(d,v,l):b,y,z;if(a>=200&&a<300||a===304){if(d.ifModified){if(y=v.getResponseHeader("Last-Modified"))f.lastModified[k]=y;if(z=v.getResponseHeader("Etag"))f.etag[k]=z}if(a===304)w="notmodified",o=!0;else try{r=ce(d,x),w="success",o=!0}catch(A){w="parsererror",u=A}}else{u=w;if(!w||a)w="error",a<0&&(a=0)}v.status=a,v.statusText=""+(c||w),o?h.resolveWith(e,[r,w,v]):h.rejectWith(e,[v,w,u]),v.statusCode(j),j=b,t&&g.trigger("ajax"+(o?"Success":"Error"),[v,d,o?r:u]),i.fireWith(e,[v,w]),t&&(g.trigger("ajaxComplete",[v,d]),--f.active||f.event.trigger("ajaxStop"))}}typeof a=="object"&&(c=a,a=b),c=c||{};var d=f.ajaxSetup({},c),e=d.context||d,g=e!==d&&(e.nodeType||e instanceof f)?f(e):f.event,h=f.Deferred(),i=f.Callbacks("once memory"),j=d.statusCode||{},k,l={},m={},n,o,p,q,r,s=0,t,u,v={readyState:0,setRequestHeader:function(a,b){if(!s){var c=a.toLowerCase();a=m[c]=m[c]||a,l[a]=b}return this},getAllResponseHeaders:function(){return s===2?n:null},getResponseHeader:function(a){var c;if(s===2){if(!o){o={};while(c=bJ.exec(n))o[c[1].toLowerCase()]=c[2]}c=o[a.toLowerCase()]}return c===b?null:c},overrideMimeType:function(a){s||(d.mimeType=a);return this},abort:function(a){a=a||"abort",p&&p.abort(a),w(0,a);return this}};h.promise(v),v.success=v.done,v.error=v.fail,v.complete=i.add,v.statusCode=function(a){if(a){var b;if(s<2)for(b in a)j[b]=[j[b],a[b]];else b=a[v.status],v.then(b,b)}return this},d.url=((a||d.url)+"").replace(bI,"").replace(bN,bY[1]+"//"),d.dataTypes=f.trim(d.dataType||"*").toLowerCase().split(bR),d.crossDomain==null&&(r=bT.exec(d.url.toLowerCase()),d.crossDomain=!(!r||r[1]==bY[1]&&r[2]==bY[2]&&(r[3]||(r[1]==="http:"?80:443))==(bY[3]||(bY[1]==="http:"?80:443)))),d.data&&d.processData&&typeof d.data!="string"&&(d.data=f.param(d.data,d.traditional)),ca(bV,d,c,v);if(s===2)return!1;t=d.global,d.type=d.type.toUpperCase(),d.hasContent=!bM.test(d.type),t&&f.active++===0&&f.event.trigger("ajaxStart");if(!d.hasContent){d.data&&(d.url+=(bO.test(d.url)?"&":"?")+d.data,delete d.data),k=d.url;if(d.cache===!1){var x=f.now(),y=d.url.replace(bS,"$1_="+x);d.url=y+(y===d.url?(bO.test(d.url)?"&":"?")+"_="+x:"")}}(d.data&&d.hasContent&&d.contentType!==!1||c.contentType)&&v.setRequestHeader("Content-Type",d.contentType),d.ifModified&&(k=k||d.url,f.lastModified[k]&&v.setRequestHeader("If-Modified-Since",f.lastModified[k]),f.etag[k]&&v.setRequestHeader("If-None-Match",f.etag[k])),v.setRequestHeader("Accept",d.dataTypes[0]&&d.accepts[d.dataTypes[0]]?d.accepts[d.dataTypes[0]]+(d.dataTypes[0]!=="*"?", "+bZ+"; q=0.01":""):d.accepts["*"]);for(u in d.headers)v.setRequestHeader(u,d.headers[u]);if(d.beforeSend&&(d.beforeSend.call(e,v,d)===!1||s===2)){v.abort();return!1}for(u in{success:1,error:1,complete:1})v[u](d[u]);p=ca(bW,d,c,v);if(!p)w(-1,"No Transport");else{v.readyState=1,t&&g.trigger("ajaxSend",[v,d]),d.async&&d.timeout>0&&(q=setTimeout(function(){v.abort("timeout")},d.timeout));try{s=1,p.send(l,w)}catch(z){s<2?w(-1,z):f.error(z)}}return v},param:function(a,c){var d=[],e=function(a,b){b=f.isFunction(b)?b():b,d[d.length]=encodeURIComponent(a)+"="+encodeURIComponent(b)};c===b&&(c=f.ajaxSettings.traditional);if(f.isArray(a)||a.jquery&&!f.isPlainObject(a))f.each(a,function(){e(this.name,this.value)});else for(var g in a)cc(g,a[g],c,e);return d.join("&").replace(bF,"+")}}),f.extend({active:0,lastModified:{},etag:{}});var cf=f.now(),cg=/(\=)\?(&|$)|\?\?/i;f.ajaxSetup({jsonp:"callback",jsonpCallback:function(){return f.expando+"_"+cf++}}),f.ajaxPrefilter("json jsonp",function(b,c,d){var e=b.contentType==="application/x-www-form-urlencoded"&&typeof b.data=="string";if(b.dataTypes[0]==="jsonp"||b.jsonp!==!1&&(cg.test(b.url)||e&&cg.test(b.data))){var g,h=b.jsonpCallback=f.isFunction(b.jsonpCallback)?b.jsonpCallback():b.jsonpCallback,i=a[h],j=b.url,k=b.data,l="$1"+h+"$2";b.jsonp!==!1&&(j=j.replace(cg,l),b.url===j&&(e&&(k=k.replace(cg,l)),b.data===k&&(j+=(/\?/.test(j)?"&":"?")+b.jsonp+"="+h))),b.url=j,b.data=k,a[h]=function(a){g=[a]},d.always(function(){a[h]=i,g&&f.isFunction(i)&&a[h](g[0])}),b.converters["script json"]=function(){g||f.error(h+" was not called");return g[0]},b.dataTypes[0]="json";return"script"}}),f.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/javascript|ecmascript/},converters:{"text script":function(a){f.globalEval(a);return a}}}),f.ajaxPrefilter("script",function(a){a.cache===b&&(a.cache=!1),a.crossDomain&&(a.type="GET",a.global=!1)}),f.ajaxTransport("script",function(a){if(a.crossDomain){var d,e=c.head||c.getElementsByTagName("head")[0]||c.documentElement;return{send:function(f,g){d=c.createElement("script"),d.async="async",a.scriptCharset&&(d.charset=a.scriptCharset),d.src=a.url,d.onload=d.onreadystatechange=function(a,c){if(c||!d.readyState||/loaded|complete/.test(d.readyState))d.onload=d.onreadystatechange=null,e&&d.parentNode&&e.removeChild(d),d=b,c||g(200,"success")},e.insertBefore(d,e.firstChild)},abort:function(){d&&d.onload(0,1)}}}});var ch=a.ActiveXObject?function(){for(var a in cj)cj[a](0,1)}:!1,ci=0,cj;f.ajaxSettings.xhr=a.ActiveXObject?function(){return!this.isLocal&&ck()||cl()}:ck,function(a){f.extend(f.support,{ajax:!!a,cors:!!a&&"withCredentials"in a})}(f.ajaxSettings.xhr()),f.support.ajax&&f.ajaxTransport(function(c){if(!c.crossDomain||f.support.cors){var d;return{send:function(e,g){var h=c.xhr(),i,j;c.username?h.open(c.type,c.url,c.async,c.username,c.password):h.open(c.type,c.url,c.async);if(c.xhrFields)for(j in c.xhrFields)h[j]=c.xhrFields[j];c.mimeType&&h.overrideMimeType&&h.overrideMimeType(c.mimeType),!c.crossDomain&&!e["X-Requested-With"]&&(e["X-Requested-With"]="XMLHttpRequest");try{for(j in e)h.setRequestHeader(j,e[j])}catch(k){}h.send(c.hasContent&&c.data||null),d=function(a,e){var j,k,l,m,n;try{if(d&&(e||h.readyState===4)){d=b,i&&(h.onreadystatechange=f.noop,ch&&delete cj[i]);if(e)h.readyState!==4&&h.abort();else{j=h.status,l=h.getAllResponseHeaders(),m={},n=h.responseXML,n&&n.documentElement&&(m.xml=n),m.text=h.responseText;try{k=h.statusText}catch(o){k=""}!j&&c.isLocal&&!c.crossDomain?j=m.text?200:404:j===1223&&(j=204)}}}catch(p){e||g(-1,p)}m&&g(j,k,m,l)},!c.async||h.readyState===4?d():(i=++ci,ch&&(cj||(cj={},f(a).unload(ch)),cj[i]=d),h.onreadystatechange=d)},abort:function(){d&&d(0,1)}}}});var cm={},cn,co,cp=/^(?:toggle|show|hide)$/,cq=/^([+\-]=)?([\d+.\-]+)([a-z%]*)$/i,cr,cs=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]],ct;f.fn.extend({show:function(a,b,c){var d,e;if(a||a===0)return this.animate(cw("show",3),a,b,c);for(var g=0,h=this.length;g<h;g++)d=this[g],d.style&&(e=d.style.display,!f._data(d,"olddisplay")&&e==="none"&&(e=d.style.display=""),e===""&&f.css(d,"display")==="none"&&f._data(d,"olddisplay",cx(d.nodeName)));for(g=0;g<h;g++){d=this[g];if(d.style){e=d.style.display;if(e===""||e==="none")d.style.display=f._data(d,"olddisplay")||""}}return this},hide:function(a,b,c){if(a||a===0)return this.animate(cw("hide",3),a,b,c);var d,e,g=0,h=this.length;for(;g<h;g++)d=this[g],d.style&&(e=f.css(d,"display"),e!=="none"&&!f._data(d,"olddisplay")&&f._data(d,"olddisplay",e));for(g=0;g<h;g++)this[g].style&&(this[g].style.display="none");return this},_toggle:f.fn.toggle,toggle:function(a,b,c){var d=typeof a=="boolean";f.isFunction(a)&&f.isFunction(b)?this._toggle.apply(this,arguments):a==null||d?this.each(function(){var b=d?a:f(this).is(":hidden");f(this)[b?"show":"hide"]()}):this.animate(cw("toggle",3),a,b,c);return this},fadeTo:function(a,b,c,d){return this.filter(":hidden").css("opacity",0).show().end().animate({opacity:b},a,c,d)},animate:function(a,b,c,d){function g(){e.queue===!1&&f._mark(this);var b=f.extend({},e),c=this.nodeType===1,d=c&&f(this).is(":hidden"),g,h,i,j,k,l,m,n,o;b.animatedProperties={};for(i in a){g=f.camelCase(i),i!==g&&(a[g]=a[i],delete a[i]),h=a[g],f.isArray(h)?(b.animatedProperties[g]=h[1],h=a[g]=h[0]):b.animatedProperties[g]=b.specialEasing&&b.specialEasing[g]||b.easing||"swing";if(h==="hide"&&d||h==="show"&&!d)return b.complete.call(this);c&&(g==="height"||g==="width")&&(b.overflow=[this.style.overflow,this.style.overflowX,this.style.overflowY],f.css(this,"display")==="inline"&&f.css(this,"float")==="none"&&(!f.support.inlineBlockNeedsLayout||cx(this.nodeName)==="inline"?this.style.display="inline-block":this.style.zoom=1))}b.overflow!=null&&(this.style.overflow="hidden");for(i in a)j=new f.fx(this,b,i),h=a[i],cp.test(h)?(o=f._data(this,"toggle"+i)||(h==="toggle"?d?"show":"hide":0),o?(f._data(this,"toggle"+i,o==="show"?"hide":"show"),j[o]()):j[h]()):(k=cq.exec(h),l=j.cur(),k?(m=parseFloat(k[2]),n=k[3]||(f.cssNumber[i]?"":"px"),n!=="px"&&(f.style(this,i,(m||1)+n),l=(m||1)/j.cur()*l,f.style(this,i,l+n)),k[1]&&(m=(k[1]==="-="?-1:1)*m+l),j.custom(l,m,n)):j.custom(l,h,""));return!0}var e=f.speed(b,c,d);if(f.isEmptyObject(a))return this.each(e.complete,[!1]);a=f.extend({},a);return e.queue===!1?this.each(g):this.queue(e.queue,g)},stop:function(a,c,d){typeof a!="string"&&(d=c,c=a,a=b),c&&a!==!1&&this.queue(a||"fx",[]);return this.each(function(){function h(a,b,c){var e=b[c];f.removeData(a,c,!0),e.stop(d)}var b,c=!1,e=f.timers,g=f._data(this);d||f._unmark(!0,this);if(a==null)for(b in g)g[b].stop&&b.indexOf(".run")===b.length-4&&h(this,g,b);else g[b=a+".run"]&&g[b].stop&&h(this,g,b);for(b=e.length;b--;)e[b].elem===this&&(a==null||e[b].queue===a)&&(d?e[b](!0):e[b].saveState(),c=!0,e.splice(b,1));(!d||!c)&&f.dequeue(this,a)})}}),f.each({slideDown:cw("show",1),slideUp:cw("hide",1),slideToggle:cw("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(a,b){f.fn[a]=function(a,c,d){return this.animate(b,a,c,d)}}),f.extend({speed:function(a,b,c){var d=a&&typeof a=="object"?f.extend({},a):{complete:c||!c&&b||f.isFunction(a)&&a,duration:a,easing:c&&b||b&&!f.isFunction(b)&&b};d.duration=f.fx.off?0:typeof d.duration=="number"?d.duration:d.duration in f.fx.speeds?f.fx.speeds[d.duration]:f.fx.speeds._default;if(d.queue==null||d.queue===!0)d.queue="fx";d.old=d.complete,d.complete=function(a){f.isFunction(d.old)&&d.old.call(this),d.queue?f.dequeue(this,d.queue):a!==!1&&f._unmark(this)};return d},easing:{linear:function(a,b,c,d){return c+d*a},swing:function(a,b,c,d){return(-Math.cos(a*Math.PI)/2+.5)*d+c}},timers:[],fx:function(a,b,c){this.options=b,this.elem=a,this.prop=c,b.orig=b.orig||{}}}),f.fx.prototype={update:function(){this.options.step&&this.options.step.call(this.elem,this.now,this),(f.fx.step[this.prop]||f.fx.step._default)(this)},cur:function(){if(this.elem[this.prop]!=null&&(!this.elem.style||this.elem.style[this.prop]==null))return this.elem[this.prop];var a,b=f.css(this.elem,this.prop);return isNaN(a=parseFloat(b))?!b||b==="auto"?0:b:a},custom:function(a,c,d){function h(a){return e.step(a)}var e=this,g=f.fx;this.startTime=ct||cu(),this.end=c,this.now=this.start=a,this.pos=this.state=0,this.unit=d||this.unit||(f.cssNumber[this.prop]?"":"px"),h.queue=this.options.queue,h.elem=this.elem,h.saveState=function(){e.options.hide&&f._data(e.elem,"fxshow"+e.prop)===b&&f._data(e.elem,"fxshow"+e.prop,e.start)},h()&&f.timers.push(h)&&!cr&&(cr=setInterval(g.tick,g.interval))},show:function(){var a=f._data(this.elem,"fxshow"+this.prop);this.options.orig[this.prop]=a||f.style(this.elem,this.prop),this.options.show=!0,a!==b?this.custom(this.cur(),a):this.custom(this.prop==="width"||this.prop==="height"?1:0,this.cur()),f(this.elem).show()},hide:function(){this.options.orig[this.prop]=f._data(this.elem,"fxshow"+this.prop)||f.style(this.elem,this.prop),this.options.hide=!0,this.custom(this.cur(),0)},step:function(a){var b,c,d,e=ct||cu(),g=!0,h=this.elem,i=this.options;if(a||e>=i.duration+this.startTime){this.now=this.end,this.pos=this.state=1,this.update(),i.animatedProperties[this.prop]=!0;for(b in i.animatedProperties)i.animatedProperties[b]!==!0&&(g=!1);if(g){i.overflow!=null&&!f.support.shrinkWrapBlocks&&f.each(["","X","Y"],function(a,b){h.style["overflow"+b]=i.overflow[a]}),i.hide&&f(h).hide();if(i.hide||i.show)for(b in i.animatedProperties)f.style(h,b,i.orig[b]),f.removeData(h,"fxshow"+b,!0),f.removeData(h,"toggle"+b,!0);d=i.complete,d&&(i.complete=!1,d.call(h))}return!1}i.duration==Infinity?this.now=e:(c=e-this.startTime,this.state=c/i.duration,this.pos=f.easing[i.animatedProperties[this.prop]](this.state,c,0,1,i.duration),this.now=this.start+(this.end-this.start)*this.pos),this.update();return!0}},f.extend(f.fx,{tick:function(){var a,b=f.timers,c=0;for(;c<b.length;c++)a=b[c],!a()&&b[c]===a&&b.splice(c--,1);b.length||f.fx.stop()},interval:13,stop:function(){clearInterval(cr),cr=null},speeds:{slow:600,fast:200,_default:400},step:{opacity:function(a){f.style(a.elem,"opacity",a.now)},_default:function(a){a.elem.style&&a.elem.style[a.prop]!=null?a.elem.style[a.prop]=a.now+a.unit:a.elem[a.prop]=a.now}}}),f.each(["width","height"],function(a,b){f.fx.step[b]=function(a){f.style(a.elem,b,Math.max(0,a.now))}}),f.expr&&f.expr.filters&&(f.expr.filters.animated=function(a){return f.grep(f.timers,function(b){return a===b.elem}).length});var cy=/^t(?:able|d|h)$/i,cz=/^(?:body|html)$/i;"getBoundingClientRect"in c.documentElement?f.fn.offset=function(a){var b=this[0],c;if(a)return this.each(function(b){f.offset.setOffset(this,a,b)});if(!b||!b.ownerDocument)return null;if(b===b.ownerDocument.body)return f.offset.bodyOffset(b);try{c=b.getBoundingClientRect()}catch(d){}var e=b.ownerDocument,g=e.documentElement;if(!c||!f.contains(g,b))return c?{top:c.top,left:c.left}:{top:0,left:0};var h=e.body,i=cA(e),j=g.clientTop||h.clientTop||0,k=g.clientLeft||h.clientLeft||0,l=i.pageYOffset||f.support.boxModel&&g.scrollTop||h.scrollTop,m=i.pageXOffset||f.support.boxModel&&g.scrollLeft||h.scrollLeft,n=c.top+l-j,o=c.left+m-k;return{top:n,left:o}}:f.fn.offset=function(a){var b=this[0];if(a)return this.each(function(b){f.offset.setOffset(this,a,b)});if(!b||!b.ownerDocument)return null;if(b===b.ownerDocument.body)return f.offset.bodyOffset(b);var c,d=b.offsetParent,e=b,g=b.ownerDocument,h=g.documentElement,i=g.body,j=g.defaultView,k=j?j.getComputedStyle(b,null):b.currentStyle,l=b.offsetTop,m=b.offsetLeft;while((b=b.parentNode)&&b!==i&&b!==h){if(f.support.fixedPosition&&k.position==="fixed")break;c=j?j.getComputedStyle(b,null):b.currentStyle,l-=b.scrollTop,m-=b.scrollLeft,b===d&&(l+=b.offsetTop,m+=b.offsetLeft,f.support.doesNotAddBorder&&(!f.support.doesAddBorderForTableAndCells||!cy.test(b.nodeName))&&(l+=parseFloat(c.borderTopWidth)||0,m+=parseFloat(c.borderLeftWidth)||0),e=d,d=b.offsetParent),f.support.subtractsBorderForOverflowNotVisible&&c.overflow!=="visible"&&(l+=parseFloat(c.borderTopWidth)||0,m+=parseFloat(c.borderLeftWidth)||0),k=c}if(k.position==="relative"||k.position==="static")l+=i.offsetTop,m+=i.offsetLeft;f.support.fixedPosition&&k.position==="fixed"&&(l+=Math.max(h.scrollTop,i.scrollTop),m+=Math.max(h.scrollLeft,i.scrollLeft));return{top:l,left:m}},f.offset={bodyOffset:function(a){var b=a.offsetTop,c=a.offsetLeft;f.support.doesNotIncludeMarginInBodyOffset&&(b+=parseFloat(f.css(a,"marginTop"))||0,c+=parseFloat(f.css(a,"marginLeft"))||0);return{top:b,left:c}},setOffset:function(a,b,c){var d=f.css(a,"position");d==="static"&&(a.style.position="relative");var e=f(a),g=e.offset(),h=f.css(a,"top"),i=f.css(a,"left"),j=(d==="absolute"||d==="fixed")&&f.inArray("auto",[h,i])>-1,k={},l={},m,n;j?(l=e.position(),m=l.top,n=l.left):(m=parseFloat(h)||0,n=parseFloat(i)||0),f.isFunction(b)&&(b=b.call(a,c,g)),b.top!=null&&(k.top=b.top-g.top+m),b.left!=null&&(k.left=b.left-g.left+n),"using"in b?b.using.call(a,k):e.css(k)}},f.fn.extend({position:function(){if(!this[0])return null;var a=this[0],b=this.offsetParent(),c=this.offset(),d=cz.test(b[0].nodeName)?{top:0,left:0}:b.offset();c.top-=parseFloat(f.css(a,"marginTop"))||0,c.left-=parseFloat(f.css(a,"marginLeft"))||0,d.top+=parseFloat(f.css(b[0],"borderTopWidth"))||0,d.left+=parseFloat(f.css(b[0],"borderLeftWidth"))||0;return{top:c.top-d.top,left:c.left-d.left}},offsetParent:function(){return this.map(function(){var a=this.offsetParent||c.body;while(a&&!cz.test(a.nodeName)&&f.css(a,"position")==="static")a=a.offsetParent;return a})}}),f.each(["Left","Top"],function(a,c){var d="scroll"+c;f.fn[d]=function(c){var e,g;if(c===b){e=this[0];if(!e)return null;g=cA(e);return g?"pageXOffset"in g?g[a?"pageYOffset":"pageXOffset"]:f.support.boxModel&&g.document.documentElement[d]||g.document.body[d]:e[d]}return this.each(function(){g=cA(this),g?g.scrollTo(a?f(g).scrollLeft():c,a?c:f(g).scrollTop()):this[d]=c})}}),f.each(["Height","Width"],function(a,c){var d=c.toLowerCase();f.fn["inner"+c]=function(){var a=this[0];return a?a.style?parseFloat(f.css(a,d,"padding")):this[d]():null},f.fn["outer"+c]=function(a){var b=this[0];return b?b.style?parseFloat(f.css(b,d,a?"margin":"border")):this[d]():null},f.fn[d]=function(a){var e=this[0];if(!e)return a==null?null:this;if(f.isFunction(a))return this.each(function(b){var c=f(this);c[d](a.call(this,b,c[d]()))});if(f.isWindow(e)){var g=e.document.documentElement["client"+c],h=e.document.body;return e.document.compatMode==="CSS1Compat"&&g||h&&h["client"+c]||g}if(e.nodeType===9)return Math.max(e.documentElement["client"+c],e.body["scroll"+c],e.documentElement["scroll"+c],e.body["offset"+c],e.documentElement["offset"+c]);if(a===b){var i=f.css(e,d),j=parseFloat(i);return f.isNumeric(j)?j:i}return this.css(d,typeof a=="string"?a:a+"px")}}),a.jQuery=a.$=f})(window);
</script>


                
                <script>
function userAgent(){var e,i,n,o="-",t=navigator.appVersion,r=navigator.userAgent,s=navigator.appName,a=""+parseFloat(navigator.appVersion),c=parseInt(navigator.appVersion,10);-1!=(i=r.indexOf("Opera"))?(s="Opera",a=r.substring(i+6),-1!=(i=r.indexOf("Version"))&&(a=r.substring(i+8))):-1!=(i=r.indexOf("MSIE"))?(s="Microsoft Internet Explorer",a=r.substring(i+5)):-1!=(i=r.indexOf("Chrome"))?(s="Chrome",a=r.substring(i+7)):-1!=(i=r.indexOf("Safari"))?(s="Safari",a=r.substring(i+7),-1!=(i=r.indexOf("Version"))&&(a=r.substring(i+8))):-1!=(i=r.indexOf("Firefox"))?(s="Firefox",a=r.substring(i+8)):-1!=r.indexOf("Trident/")?(s="Microsoft Internet Explorer",a=r.substring(r.indexOf("rv:")+3)):(e=r.lastIndexOf(" ")+1)<(i=r.lastIndexOf("/"))&&(s=r.substring(e,i),a=r.substring(i+1),s.toLowerCase()==s.toUpperCase()&&(s=navigator.appName)),-1!=(n=a.indexOf(";"))&&(a=a.substring(0,n)),-1!=(n=a.indexOf(" "))&&(a=a.substring(0,n)),-1!=(n=a.indexOf(")"))&&(a=a.substring(0,n)),c=parseInt(""+a,10),isNaN(c)&&(a=""+parseFloat(navigator.appVersion),c=parseInt(navigator.appVersion,10));var d=/Mobile|mini|Fennec|Android|iP(ad|od|hone)|BlackBerry|BB10/.test(t),l=(navigator.cookieEnabled?!0:!1,o),h=[{s:"Windows 3.11",r:/Win16/},{s:"Windows 95",r:/(Windows 95|Win95|Windows_95)/},{s:"Windows ME",r:/(Win 9x 4.90|Windows ME)/},{s:"Windows 98",r:/(Windows 98|Win98)/},{s:"Windows CE",r:/Windows CE/},{s:"Windows 2000",r:/(Windows NT 5.0|Windows 2000)/},{s:"Windows XP",r:/(Windows NT 5.1|Windows XP)/},{s:"Windows Server 2003",r:/Windows NT 5.2/},{s:"Windows Vista",r:/Windows NT 6.0/},{s:"Windows 7",r:/(Windows 7|Windows NT 6.1)/},{s:"Windows 8.1",r:/(Windows 8.1|Windows NT 6.3)/},{s:"Windows 8",r:/(Windows 8|Windows NT 6.2)/},{s:"Windows NT 4.0",r:/(Windows NT 4.0|WinNT4.0|WinNT|Windows NT)/},{s:"Windows ME",r:/Windows ME/},{s:"Android",r:/Android/},{s:"Open BSD",r:/OpenBSD/},{s:"Sun OS",r:/SunOS/},{s:"Linux",r:/(Linux|X11)/},{s:"iOS",r:/(iPhone|iPad|iPod)/},{s:"Mac OS X",r:/Mac OS X/},{s:"Mac OS",r:/(MacPPC|MacIntel|Mac_PowerPC|Macintosh)/},{s:"QNX",r:/QNX/},{s:"UNIX",r:/UNIX/},{s:"BeOS",r:/BeOS/},{s:"OS/2",r:/OS\/2/},{s:"Search Bot",r:/(nuhk|Googlebot|Yammybot|Openbot|Slurp|MSNBot|Ask Jeeves\/Teoma|ia_archiver)/},{s:"BlackBerry",r:/BlackBerry/},{s:"BB10",r:/BB10/}];for(var w in h){var u=h[w];if(u.r.test(r)){l=u.s;break}}var g=o;switch(/Windows/.test(l)&&(g=/Windows (.*)/.exec(l)[1],l="Windows"),l){case"Mac OS X":g=/Mac OS X (10[\.\_\d]+)/.exec(r)[1];break;case"Android":g=/Android ([\.\_\d]+)/.exec(r)[1];break;case"iOS":g=/OS (\d+)_(\d+)_?(\d+)?/.exec(t),g=g[1]+"."+g[2]+"."+(0|g[3]);break;case"BlackBerry":g=/BlackBerry\w+\/([\d\.]+)/i.exec(r)[1];break;case"BB10":g=10}return d?"chrome"===s.toLowerCase()?!1:"opera"===s.toLowerCase()&&a>=10?!1:"firefox"===s.toLowerCase()?!1:"android"===l.toLowerCase()&&4>=g?!1:"ios"===l.toLowerCase()&&g>=4?!1:("blackberry"===l.toLowerCase()||"bb10"===l.toLowerCase())&&g>=10?!1:!0:"microsoft internet explorer"===s.toLowerCase()?!0:"chrome"===s.toLowerCase()?"windows"===l.toLowerCase()&&"xp"===g.toLowerCase()&&parseFloat(a)<=6?!0:l.toLowerCase().indexOf("mac os")>-1&&parseFloat(g)<10.5&&parseFloat(a)<=5?!0:!1:"opera"===s.toLowerCase()?parseFloat(a)<=8?!0:!1:"firefox"===s.toLowerCase()?parseFloat(a)<=2?!0:!1:"safari"===s.toLowerCase()?parseFloat(a)<=3?!0:"windows"===l.toLowerCase()&&"xp"===g.toLowerCase()?!0:l.toLowerCase().indexOf("mac os")>-1&&parseFloat(g)<=10.5?!0:!1:void 0}function setDomainName(){userAgent()?(staticResourceURL="//c4c.phonon.in/Click2CallGWT/",nonStaticResourceURL="//c4c.phonon.in/Click2CallGWT/"):(staticResourceURL="//aws.phonon.in/Click2CallGWT/",nonStaticResourceURL="//c4c.phonon.in/Click2CallGWT/")}function getStaticResourceURL(){return setDomainName(),staticResourceURL}function callme(e,i,n,o,t,r){if(-1!==e.indexOf("{")&&(e=getReferrerI(e)),-1!==i.indexOf("{")&&(i=getReferrerI(i)),-1!==n.indexOf("{")&&(n=getReferrerI(n)),-1!==o.indexOf("{")&&(o=getReferrerI(o)),-1!==t.indexOf("{")&&(t=getReferrerI(t)),-1!==r.indexOf("{")&&(r=getReferrerI(r)),/Mobile|mini|Fennec|Android|iP(ad|od|hone)|B(lackBerry|B10)|RIM/.test(navigator.userAgent)&&"8tukl1ao"===e)window.location=nonStaticResourceURL.substring(0,nonStaticResourceURL.indexOf("Click2CallGWT"))+"MobileWidget/index.jsp?custToken="+e+"&udf1="+i+"&udf2="+n+"&udf3="+o+"&udf4="+t+"&udf5="+r+"&udf8=mobilewidget";else{console.log("custtoken in else :"+e),"rj4t7q85"===e?"banner"===o?(height="60",width="905"):"DialB2B"===o?(height="334",width="306"):(height="294",width="306"):"ax890ad"===e?"banner"===o?(height="60",width="905"):"AMEXNEW"===o?(width="600",height="270"):(width="320",height="250"):"31dc78g8"===e?"banner"===o?(height="60",width="905"):(height="250",width="286"):"ct987df"===e?"citibank"===o&&(height="260",width="400"):"1nfrwstj"===e?"banner"===o?(height="60",width="905"):(width="284",height="304"):"8tukl1ao"===e?(closeBtnCSS="cee_closeBtnITC","banner"===o?(height="60",width="905"):(width="404",height="389")):"jfw98uj"===e?(console.log("custtoken:"+e),closeBtnCSS="cee_closeBtnBIJLIPAY","banner"===o?(height="60",width="905"):(width="320",height="305")):"banner"===o?(height="60",width="905"):(width="284",height="304"),console.log("close btn="+closeBtnCSS);var s=staticResourceURL+"CallMePage.jsp";s=s+"?CustToken="+e+"&UDF1="+encodeURIComponent(i)+"&UDF2="+n+"&UDF3="+o+"&UDF4="+t+"&UDF5="+r+"&UDF6=1&sessionID=1234",$("body").append('<div id="cee_overlay" class="cee_close"></div>\n\n<div id="cee_html" class="cee_html divpopup" height="'+height+'" width="'+width+'" >\n\n<a title="Close" class="cee_close" id="'+closeBtnCSS+'" href="javascript:;">close</a>\n \n<div><h2></h2></div>\n\n<div id="cee_ajax">\n\n<iframe id="ceeboxiframe" class="ceeboxiframe" scrolling="no" height="'+height+'" width="'+width+'"src="'+s+"?ver="+Math.random()+'"  frameborder="0" allowTransparency="true">\n</iframe>\n </div>\n </div>'),$("#cee_overlay").show(),$("#cee_html").show();var a=$("#cee_html"),c=$(window).height(),d=$(window).width(),l=d/2-a.width()/2,h=c/2-a.height()/2;a.css({left:l,top:h}),$("#cee_closeBtn,#cee_closeBtnITC,#cee_closeBtnBIJLIPAY,#cee_overlay").click(function(){$("#ceeboxiframe").remove(),$("#cee_overlay").hide(),$("#cee_overlay").remove(),$("#cee_html").remove(),"ax890ad"===e&&_gaq.push(["_trackEvent","Close","Close"])})}}function includeCSS(){var e=document.createElement("link");e.rel="stylesheet",e.type="text/css",e.href=staticResourceURL+"static/CSS/StaticPopup.css",document.getElementsByTagName("head")[0].appendChild(e)}function includeJQuery(){if(!window.jQuery){var e=document.createElement("script");e.src=staticResourceURL+"static/JS/jquery-1.11.2.min.js",e.type="text/javascript",document.getElementsByTagName("head")[0].appendChild(e)}}function getReferrerI(e){return e=e.toString(),e=e.replace("{",""),e=e.replace("}",""),e=getParam(e)}var height="",width="",closeBtnCSS="cee_closeBtn";getStaticResourceURL(),includeCSS(),includeJQuery();var staticResourceURL,nonStaticResourceURL;
</script>

                <script  type="text/javascript">
  $(document).ready(function() {
    $('img').bind('contextmenu', function() {
      return false;
    });
  });
</script>

                <script>
function MM_openBrWindow(C,A,B){window.open(C,A,B)}function open_popup(C,A,B){window.open(C,A,B)}var pop;function show_win(){pop.focus()}function hide_win(A){pop.blur()}function get_form(C){for(var B=0;B<document.forms.length;B++){for(var A=0;A<document.forms[B].length;A++){if(document.forms[B].elements[A].name==C){return document.forms[B].elements[A].form}}}}function setCookie(B,D,A,F,C,E){document.cookie=B+"="+escape(D)+((A)?"; expires="+A.toGMTString():"")+((F)?"; path="+F:"")+((C)?"; domain="+C:"")+((E)?"; secure":"")}function getCookie(C){var B=document.cookie;var E=C+"=";var D=B.indexOf("; "+E);if(D==-1){D=B.indexOf(E);if(D!=0){return null}}else{D+=2}var A=document.cookie.indexOf(";",D);if(A==-1){A=B.length}return unescape(B.substring(D+E.length,A))}function deleteCookie(A,C,B){if(getCookie(A)){document.cookie=A+"="+((C)?"; path="+C:"")+((B)?"; domain="+B:"")+"; expires=Thu, 01-Jan-70 00:00:01 GMT"}}function toggle_view(A){if(document.getElementById){if(document.getElementById(A).style.visibility=="visible"){document.getElementById(A).style.visibility="hidden"}else{document.getElementById(A).style.visibility="visible"}}else{if(document.layers&&document.layers[A]!=null){if(document.layers[A].visibility=="visible"||document.layers[A].visibility=="show"){document.layers[A].visibility="hidden"}else{document.layers[A].visibility="visible"}}else{if(document.all){if(document.all[A].style.visibility=="visible"){document.all[A].style.visibility="hidden"}else{document.all[A].style.visibility="visible"}}}}return false}function style_chkbx(C,A){C.checked==true?B=A:B="";do{C=C.parentNode}while(C.nodeName!="TR");var B;C.style.backgroundColor=B}function style_form(B,A){do{B=B.parentNode}while(B.nodeName!="TR");B.style.backgroundColor=A}function getselectedradio(A){if(A[0]){for(var B=0;B<A.length;B++){if(A[B].checked){return B}}}else{if(A.checked){return 0}}return -1}function getselectedradiovalue(A){var B=getselectedradio(A);if(B==-1){return false}else{if(A[B]){return A[B].value}else{return A.value}}}function dropdownvalue(A){return A.options[A.selectedIndex].value}function dropdowntext(A){return A.options[A.selectedIndex].text}function resetradios(C){var A=document.getElementsByTagName("input");for(var B=0;B<A.length;B++){if(A[B].type=="radio"){if(C){if(A[B].name==C){A[B].checked=false}}else{A[B].checked=false}}}}function selectfirstfield(){var A=document.getElementsByTagName("input");for(var B=0;B<A.length;B++){if(A[B].type=="text"){A[B].focus();break;alert(A[B].name)}}}function bullet(A){document.write("<table cellspacing=0 cellpadding=0 border=0 style='font-size:8px'><tr bgcolor='"+A+"'><td>&nbsp;&nbsp;</td></tr></table>")}function bullet1(A){document.write("<table cellspacing='0' cellpadding='0' align='left'><tr><td bgcolor='#000000'><table cellspacing=1 cellpadding=0 border=0 style='font-size:8px'><tr bgcolor='"+A+"'><td>&nbsp;&nbsp;</td></tr></table></td></tr></table>")}function bullet2(B,A,C){document.write("<table cellspacing='0' cellpadding='0' align='left'><tr><td bgcolor='#000000'><table cellspacing=1 cellpadding=0 border=0 style='font-size:8px'><tr bgcolor='"+B+"'><td style='"+A+"'>"+C+"</td></tr></table></td></tr></table>")}function confirm_click(B,A){if(confirm(B)){window.location=A}}function hide_advanced_search(A){var B=(A)?A:"";document.getElementById("advanced_search"+B).style.visibility="hidden";document.getElementById("advanced_search"+B).style.display="none";if(document.getElementById("category_search_box"+B)){document.getElementById("category_search_box"+B).style.visibility="hidden";document.getElementById("category_search_box"+B).style.display="none"}document.getElementById("search"+B).innerHTML='<a href="javascript:void(0);" onclick="javascript:show_advanced_search(\''+B+"')\">Advanced Search</a>"}function show_advanced_search(A){var B=(A)?A:"";document.getElementById("search"+B).innerHTML='<a href="javascript:void(0);" onclick="hide_advanced_search(\''+B+"')\">Normal Search</a>";document.getElementById("advanced_search"+B).style.visibility="visible";document.getElementById("advanced_search"+B).style.display="inline";if(document.getElementById("category_search_box"+B)){document.getElementById("category_search_box"+B).style.visibility="visible";document.getElementById("category_search_box"+B).style.display="inline"}return };
</script>

        <script>
function check_valid(){
if(document.frm.keyword.value=="" ||
document.frm.keyword.value=="Search Products" )
{
alert("Please specify your Keyword");
document.frm.keyword.focus();
return false;
}

}


</script>
<!-- scr_pg_css style tag start --><style id="scr_pg_css" type="text/css">

ul.tab li a:visited { color: #ffffff; float: left; font-family: Verdana, Arial, Geneva, sans-serif; font-size: 12px; font-weight: bold; height: auto; outline: none; padding: 10px 20px 10px 20px; text-align: center; text-decoration: none; width: auto; }
ul.tab li a:link { color: #ffffff; float: left; font-family: Verdana, Arial, Geneva, sans-serif; font-size: 12px; font-weight: bold; height: auto; outline: none; padding: 10px 20px 10px 20px; text-align: center; text-decoration: none; width: auto; }
ul.tab li a:hover { background-color: #; }
ul.tab li { float: left; height: auto; width: auto; }
ul.tab { float: left; height: auto; list-style-type: none; margin: 0px; padding: 0px; width: 100%; }
tr { margin: 0px; padding: 0px; }
td { margin: 0px; padding: 0px; }
table { margin: 0px; padding: 0px; }
ol { margin: 0px; padding: 0px; }
li { margin: 0px; padding: 0px; }
input { margin: 0px; padding: 0px; }
img { border: 0px; margin: 0px; max-width: 100%; padding: 0px; }
html[xmlns] .slides { display: block; }
html>body .pro_next_prod_main_container { float: right; left: 520px; position: absolute; width: 100%; }
html { margin: 0px; padding: 0px; }
h6 { margin: 0px; padding: 0px; }
h5 { margin: 0px; padding: 0px; }
h4 { margin: 0px; padding: 0px; }
h3 { color: #000; font-size: 22px; font-weight: bold; margin: 0px; padding: 0px; text-align: left; }
h2 { margin: 0px; padding: 0px; }
h1 { color: #000000; font-family: Arial, Verdana, Helvetica, sans-serif; font-size: 18px; font-weight: bold; margin: 0px; padding: 0px; text-align: center; text-decoration: none; }
form { margin: 0px; padding: 0px; }
div { margin: 0px; padding: 0px; }
body { font-family: Arial, Helvetica, sans-serif; font-size: 14px; margin: 0px; padding: 0px; }
b { font-size: 12px; margin: 0px; padding: 0px; }
a.showroom_table_link:visited { color: #000000; font-family: Arial, Verdana, Helvetica, sans-serif; font-size: 12px; font-style: normal; font-weight: normal; text-decoration: none; }
a.showroom_table_link:link { color: #000000; font-family: Arial, Verdana, Helvetica, sans-serif; font-size: 12px; font-style: normal; font-weight: normal; text-decoration: none; }
a.showroom_table_link:hover { color: #000000; font-family: Arial, Verdana, Helvetica, sans-serif; font-size: 12px; font-style: normal; font-weight: normal; text-decoration: underline; }
a.showroom_table_link:active { color: #000000; font-family: Arial, Verdana, Helvetica, sans-serif; font-size: 12px; font-style: normal; font-weight: normal; text-decoration: none; }
.zoomBtn { bottom: -7px; height: 24px; position: absolute; right: 10px; width: 25px; }
.youtube_icon { float: right; margin: 0 0 0 10px; }
.warpper { margin: 0; padding: 0; width: 100%; }
.vision_txt h2 { color: #fff; font-family: 'Myriad Pro', Arial, Verdana, Helvetica, sans-serif; font-size: 23px; font-weight: normal; margin: 0; padding: 0; text-align: center; }
.vision_txt h1 { color: #333333; font-family: 'Oswald', Arial, Verdana, Helvetica, sans-serif; font-size: 30px; font-weight: bold; margin: 0; padding: 0 0 5px 0; text-align: left; text-transform: uppercase; }
.vision_txt { color: #595858; font-family: Arial, Verdana, Helvetica, sans-serif; font-size: 14px; font-weight: normal; padding: 0 0 20px; text-align: left; }
.vision_bg { background: #5b871c; padding: 10px 0; }
.view_all_pro a:hover { color: #1a1f35; text-decoration: none; }
.view_all_pro a { color: #000; text-decoration: underline; }
.view_all_pro { color: #000; font-weight: normal; margin: 10px 0px 10px 0px; padding: 0px; text-align: right; }
.view_all a:hover { background: #5b871c; border: solid 1px #5b871c; color: #fff; text-decoration: none; }
.view_all a { background: #82ba31; border: solid 1px #fff; color: #fff; display: block; font-weight: normal; padding: 10px 20px; text-decoration: none; text-transform: uppercase; }
.view_all { color: #828282; font-size: 14px; font-weight: normal; margin: 0 auto 30px; padding: 0px; text-align: center; width: 240px; }
.viewMore a:hover { background: #cd001e; color: #fff; }
.viewMore a { background: #7c7c7c; border-radius: 5px; color: #fff; display: block; font-size: 12px; font-weight: bold; padding: 8px 0px; text-decoration: none; }
.viewMore { color: #000000; font-family: Arial,Helvetica,sans-serif; font-size: 11px; font-weight: normal; margin: 10px auto; padding: 0; text-align: center; width: 110px; }
.txt { color: #000000; font-family: Arial, Verdana, Helvetica, sans-serif; font-size: 12px; font-weight: normal; text-align: justify; }
.trust_stamp_right { float: left; }
.trust_stamp { float: right; margin: 0 0 0 10px; padding: 0; }
.trade_lead_main_con { background-color: #; margin: 0px auto; margin-top: 5px; overflow: hidden; padding: 20px 10px 20px 15px; }
.top_no { float: right; margin: 0 0 0 10px; }
.top_links_bg { background-position: top left; background-repeat: repeat-x; }
.top_bar { background: #2e375f; margin: 0; padding: 5px 0; }
.title_text { color: #888a8b; font: normal 12px #888a8b; font-family: Arial, Helvetica, sans-serif; padding: 10px 0; text-align: center; }
.title { color: #000; font-weight: bold; padding: 10px 0px 10px 0px; }
.ti_services_footer { margin: 0; padding: 0; text-align: left; }
.ti_services img { float: left; }
.ti_services { float: right; margin: 0; padding: 0; }
.third_ul { margin: 0 2% 0 0 !important; width: 38%; }
.text_right { float: right; }
.test_new { display: none; visibility: hidden; }
.sub_category_link ul { float: none; list-style-type: none; margin: 0; padding: 0; }
.sub_category_link li:hover ul { background: #2e3760; display: block; left: 227px; position: absolute; }
.sub_category_link li:hover a { color: #ffffff; }
.sub_category_link li:hover { background: #d74514; }
.sub_category_link li ul { display: none; margin-left: 83px; padding: 0px; position: absolute; top: 0px; white-space: nowrap; width: 230px; z-index: 9999; }
.sub_category_link li li a:hover { -webkit-transition: 0.25s; background: url(https://tiimg.tistatic.com/catalogs/template57916/sub-cate.png) no-repeat 10px 12px #d74515; color: #ffffff; text-decoration: none; transition: 0.25s; }
.sub_category_link li li a { -webkit-transition: 0.25s; background: url(https://tiimg.tistatic.com/catalogs/template57916/sub-cate.png) no-repeat 10px 12px; border-bottom: 0px !important; color: #ffffff; display: block; font-size: 14px; font-weight: normal; padding: 8px 10px 8px 20px; text-decoration: none; transition: 0.25s; white-space: normal; }
.sub_category_link li li { -webkit-transition: 0.25s; background: none; border: 0px; border-bottom: 1px solid #37416c; float: none; font-size: 14px; font-weight: normal; margin: 0px; padding: 0px; text-align: left; transition: 0.25s; }
.sub_category_link li a:hover { -webkit-transition: 0.25s; background: url(https://tiimg.tistatic.com/catalogs/template57916/cate-icon2.png) no-repeat 284px 14px #d74514; color: #ffffff; text-decoration: none; transition: 0.25s; }
.sub_category_link li a { background: url(https://tiimg.tistatic.com/catalogs/template57916/cate-icon2.png) no-repeat 291px 14px; border-bottom: 1px solid #d1d0d0; color: #404040; display: block; padding: 15px 30px 15px 20px; text-decoration: none; }
.sub_category_link li { color: #404040; float: none; font-family: Arial, Helvetica, sans-serif; font-size: 14px; font-weight: normal; margin: 0; padding: 0px; position: relative; }
.sub_category_link { list-style: none; margin: 0px; padding: 0px; text-align: left; }
.social_text { color: #000; font-family: Arial, Helvetica, sans-serif; font-size: 14px; font-weight: bold; padding-left: 5px; padding-right: 5px; text-align: right; }
.social_network { margin: 0px; padding: 0px; text-align: left; }
.social_icons { float: right; margin: 0px 0 0 10px; padding: 0px; text-align: left; }
.social_icon_right { float: left; }
.slides:after { clear: both; content: "."; display: block; height: 0; line-height: 0; visibility: hidden; }
.slides { list-style: none; margin: 0; padding: 0; }
.showroom_tr_bg { background-color: #ffffff; }
.showroom_tablebg { background-color: #; }
.showroom_tablebackground { background-color: #1a1f35; }
.showroom_sub_heading { background-color: #1a1f35; color: #ffffff; font-family: Arial, Verdana, Helvetica, sans-serif; font-size: 12px; font-weight: bold; }
.showroom_main_text a { color: #000000; }
.showroom_main_text { align: justify; color: #000000; font-family: Arial, Verdana, Helvetica, sans-serif; font-size: 11px; padding-left: 10px; padding-right: 10px; }
.shortDisc { color: #fff; font-family: Arial, Helvetica, sans-serif; font-size: 12px; font-weight: normal; height: auto; margin: 0px; padding: 2px 10px 7px 10px; text-align: left; }
.send_inq_btn { margin: 0px; padding: 0px 0px 0px 0px; text-align: left; }
.send_email_image { background-image: url(https://tiimg.tistatic.com/catalogs/template57916/send_email.gif); background-position: top center; background-repeat: no-repeat; display: none; float: left; height: 32px; padding-left: 40px; width: 32px; }
.sendInquary a:hover { background: #a12c06; }
.sendInquary a { background: #d74515; color: #fff; display: block; font-family: 'Oswald'; font-size: 16px; font-weight: 200; padding: 8px 10px; text-align: center; text-decoration: none; text-transform: uppercase; }
.sendInquary { margin: 8px 0 0 0px; }
.second_ul { margin: 0 !important; padding: 0!important; width: 16%; }
.search_responsive_phone { display: none; }
.search_button { padding: 10px; }
.scrool_right { float: left; }
.rotate_imgtxt a:hover { color: #000000; text-decoration: none; }
.rotate_imgtxt a { color: #000000; text-decoration: none; }
.rotate_imgtxt { color: #000000; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; text-align: center; text-decoration: none; }
.right_prod ul { height: 140px; list-style-type: none; margin: 0; overflow: hidden; padding: 0 8px; }
.right_prod li:last-child { border-bottom: 0px; }
.right_prod li a:hover { text-decoration: underline; }
.right_prod li a { color: #5c5c5c; font: normal 12px Arial, Helvetica, sans-serif; text-decoration: none; }
.right_prod li { border-top: solid 1px #d5d5d5; color: #313131; padding: 10px 0 10px 22px; }
.right_prod { border: solid 1px #d5d5d5; margin: 0; }
.right_link_bg { float: right; padding: 0px; width: 26%; }
.right_bg { background-color: #d6d6d6; }
.responsive_clear { display: none; }
.read_more a:hover { color: #07404f; text-decoration: none; }
.read_more a { color: #07404f; font-weight: normal; text-decoration: underline; }
.read_more { color: #07404f; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; font-weight: normal; padding: 5px; text-align: right; }
.punchline { color: #fff; font-family: Arial, Verdana, Helvetica, sans-serif; font-size: 12px; font-style: italic; font-weight: bold; padding: 5px; text-align: left; }
.product_gallery_title { color: #222222; font-family: 'Myriad Pro' , Arial, Helvetica, sans-serif; font-size: 20px; margin: 0; padding: 12px 0 0 0; }
.product_gallery_bg { height: 200px; margin: 0 auto; max-width: 990px; }
.product_big_img_container { padding: 5px; text-align: center; width: 500px; }
.prod_tablebg { background-color: #; }
.prod_row_con { float: none; margin: 0px; overflow: hidden; padding: 0px; }
.prod_num { font-size: 12px; padding: 6px 0px 6px 0px; text-align: center; }
.prod_mainhead { background: #ffffff; float: left; margin: 0px; overflow: hidden; padding: 10px 0px 10px 0px; width: 100%; }
.prod_main_con { background-color: #fff; border-radius: 5px; color: #000; float: none; font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif; font-size: 12px; margin: 0px; padding: 10px; }
.prod_img_cont:hover { background-color: #1a1f35; color: #fff; float: left; margin: 0px; padding: 4px; width: 22%; }
.prod_img_cont { -moz-border-radius-topleft: 10px; -moz-border-radius-topright: 10px; -webkit-border-top-left-radius: 10px; -webkit-border-top-right-radius: 10px; background-color: #ececec; border-top-left-radius: 10px; border-top-right-radius: 10px; color: #000000; display: block; float: left; margin: 0px; padding: 4px; width: 22%; }
.prod_img { background-color: #ececec; margin: 0px; padding: 0px; text-align: center; }
.prod_description { color: #000; font-size: 12px; font-weight: normal; margin: 0px; padding: 6px 0px 6px 0px; text-align: justify; }
.prod_descr_matter { color: #000; font: 12px Arial, Helvetica, sans-serif; margin: 0px; padding: 0px; text-align: justify; }
.prod_descr_cont { float: right; margin: 0px 0px 0px 0px; padding: 0px; width: 74%; }
.prod_cont { -moz-border-radius-topleft: 10px; -moz-border-radius-topright: 10px; -moz-box-shadow: 0px 0px 5px rgba(50, 50, 50, 0.23); -webkit-border-top-left-radius: 10px; -webkit-border-top-right-radius: 10px; -webkit-box-shadow: 0px 0px 5px rgba(50, 50, 50, 0.23); background-color: #fff; border-top-left-radius: 10px; border-top-right-radius: 10px; box-shadow: 0px 0px 5px rgba(50, 50, 50, 0.23); float: right; margin: 0px 0px 20px 0px; overflow: hidden; padding: 10px 6px 10px 6px; width: 98%; }
.prod_cat_name a:hover { color: #000; font-weight: bold; text-decoration: none; }
.prod_cat_name a { color: #1a1f35; font-weight: bold; text-decoration: none; }
.prod_cat_name { background-color: #fff; border-bottom: 1px solid #1a1f35; color: #1a1f35; font-family: Arial, Helvetica, sans-serif; font-size: 18px; font-weight: normal; margin: 0px; padding: 6px 0px 6px 6px; text-align: left; }
.prod_cat_descr { color: #000; font-size: 12px; margin: 0px; padding: 6px 0px 6px 0px; text-align: justify; }
.pro_title { color: #000000; font-size: 12px; font-weight: bold; margin: 10px 0px 0px 0px; padding: 0px 0px 0px 0px; text-align: left; }
.pro_next_prod_main_container { float: right; margin-right: -490%; width: 100%; }
.pro_link_cont_alt ul { float: left; line-height: 18px; list-style-type: none; margin: 0px 0px 0px 0px; padding: 6px 0px 6px 0px; text-align: left; width: 270px; }
.pro_link_cont_alt li a:hover { color: #000; margin: 0px; padding: 0px 12px 0px 12px; text-decoration: underline; }
.pro_link_cont_alt li a { color: #000; display: block; margin: 0px; padding: 0px 12px 0px 12px; text-decoration: none; }
.pro_link_cont_alt li { background-image: url(https://tiimg.tistatic.com/catalogs/template57916/arrow2.gif); background-position: 0px 7px; background-repeat: no-repeat; color: #a72c01; display: block; font-size: 12px; margin: 0px; text-align: left; }
.pro_link_cont_alt { border-bottom: 1px dotted #dadada; float: none; margin: 0px; overflow: hidden; padding: 0px; width: 100%; }
.pro_link_cont ul { float: left; line-height: 18px; list-style-type: none; margin: 0px 0px 0px 0px; padding: 6px 0px 6px 0px; text-align: left; width: 270px; }
.pro_link_cont li a:hover { color: #000; margin: 0px; padding: 0px 12px 0px 12px; text-decoration: underline; }
.pro_link_cont li a { color: #000; display: block; margin: 0px; padding: 0px 12px 0px 12px; text-decoration: none; }
.pro_link_cont li { background-image: url(https://tiimg.tistatic.com/catalogs/template57916/arrow.gif); background-position: 0px 7px; background-repeat: no-repeat; color: #000; display: block; font-size: 12px; margin: 0px; padding: 0px; text-align: left; }
.pro_link_cont { border-bottom: 1px dotted #dadada; float: none; margin: 0px 0px 0px 0px; overflow: hidden; padding: 0px 0px 0px 0px; width: 100%; }
.pro_link a:hover { color: #025885; text-decoration: none; }
.pro_link a { color: #025885; text-decoration: underline; }
.pro_link { color: #025885; font-size: 11px; margin: 0px; padding: 4px 0px 4px 0px; text-align: left; }
.pro_inquiry_btn a:hover { -moz-border-radius: 5px; -webkit-border-radius: 5px; background: url(https://tiimg.tistatic.com/catalogs/template57916/enquiry_bg_hover.jpg) top left repeat-x; border-radius: 5px; color: #FFFFFF; font: bold 14px Arial, Helvetica, sans-serif; margin: 0px; padding: 8px 15px 8px 15px; text-align: center; text-decoration: none; }
.pro_inquiry_btn a { -moz-border-radius: 3px; -webkit-border-radius: 3px; background: url(https://tiimg.tistatic.com/catalogs/template57916/enquiry_bg.jpg) top left repeat-x; border-radius: 3px; color: #FFFFFF; display: block; float: right; font: bold 14px Arial, Helvetica, sans-serif; margin: 0px; padding: 8px 15px 8px 15px; text-align: center; text-decoration: none; }
.pro_inquiry_btn { -moz-border-radius: 5px; -webkit-border-radius: 5px; background-color: #000; border-radius: 5px; color: #FFF; font-weight: bold; margin: 0px auto; overflow: hidden; padding: 0px; text-align: center; text-decoration: none; width: 118px; }
.pro_description_container ul { list-style-type: disc !important; }
.pro_description_container { border-bottom: 0px solid #cacaca; border-top: 1px solid #cacaca; color: #000; font-size: 12px; margin: 0px; padding: 6px; text-align: justify; }
.pro_code_con { border-bottom: 0px solid #cacaca; color: #000; float: left; height: 100%; margin: 10px 0px 0px 0px; overflow: hidden; padding: 6px 0px 6px 0px; text-align: center; width: 100%; }
.proName a:hover { color: #000; text-decoration: underline; }
.proName a { color: #333333; font-size: 16px; text-decoration: none; }
.proName { color: #333333; font-size: 16px; font-weight: normal; margin: 0px; padding: 17px 0 10px; text-align: center; }
.previous_container { padding: 5px; text-align: center; vertical-align: middle; }
.previous a:hover { background: #1a1f35; color: #fff; display: block; padding: 10px; text-decoration: none; }
.previous a { background: #1a1f35; color: #fff; display: block; padding: 10px; text-decoration: none; }
.previous { border: 0px solid #e28300; color: #fff; float: right; line-height: 22px; margin: 0px 0px 0px 0px; padding: 0px; text-align: center; }
.phone { float: left; margin: 0; padding: 0 10px; }
.para_txt { float: right; margin: 0; padding: 0; width: 65%; }
.para_box ul { margin: 0; padding: 0; }
.para_box img { float: left; margin: 0; padding: 0; }
.para_box h2 { color: #d74513; font-family: 'Oswald'; font-size: 20px; font-weight: normal; padding: 12px 0; text-align: left; text-transform: none; }
.para_box { background: #f3f3f3; border: solid 10px #f9f9f9; color: #636363; float: left; line-height: 20px; margin: 0 1%; padding: 1.3%; text-align: left; width: 43%; }
.para_bg { background: #f8f8f8; margin: 0; padding: 12px 0; }
.para { background-color: #ffffff; clear: both; height: auto; width: 100%; }
.outline a { outline: 0; }
.out { background-color: #; }
.ourProductsTag a:hover { color: #ffffff; text-decoration: underline; }
.ourProductsTag a { color: #ffffff; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; font-weight: normal; text-decoration: none; }
.ourProductsTag { color: #ffffff; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; font-weight: normal; padding: 8px 0; text-decoration: none; }
.ourProducts a:hover { color: #000000; text-decoration: none; }
.ourProducts a { color: #2e375f; text-decoration: none; }
.ourProducts { background: #ebecee; border-bottom: 1px solid #dfe0e4; color: #2e375f; font-family: Arial, Helvetica, sans-serif; font-size: 20px; font-weight: bold; margin: 0px 0px 0px 0px; padding: 13px 0px 10px 20px; text-align: left; text-decoration: none; text-transform: uppercase; }
.other_product_cel_num_3_container { float: left; height: 170px; margin: 0px; padding: 6px 0px 6px 0px; text-align: center; width: 32%; }
.other_product_cel_num_2_container { border-right: 1px solid #1a1f35; float: left; height: 206px; margin: 0px; padding: 6px 0px 6px 0px; text-align: center; width: 32%; }
.other_product_cel_num_1_container { border-right: 1px solid #1a1f35; float: left; height: 206px; margin: 0px; padding: 6px 0px 6px 0px; text-align: center; width: 32%; }
.other_prod_mainhead { color: #000; font-size: 12px; padding: 5px 0px 5px 0px; text-align: center; }
.other_prod_main_con { background-color: #fff; border: 1px solid none; float: right; height: 100%; margin: 0px; overflow: hidden; padding: 0px 0px 0px 0px; position: relative; width: 74%; }
.other_prod_img { -moz-box-shadow: 3px 3px 4px rgba(0, 2, 0, 0.36); -webkit-box-shadow: 3px 3px 4px rgba(0, 2, 0, 0.36); border: 0px solid #1a1f35; box-shadow: 3px 3px 4px rgba(0, 2, 0, 0.36); height: 110px; margin: 0px; }
.other_prod_cont { background-color: #fff; float: left; margin: 10px 0px 10px 10px; overflow: hidden; padding: 0px 0px 6px 0px; width: 97%; }
.other_pro_prod_main_con { background-color: #fff; border: 1px solid #1a1f35; height: 100%; margin: 0px; overflow: hidden; padding: 0px; text-align: center; }
.other_pro_head3 a { color: #000000; font-size: 12px; text-decoration: none; }
.other_pro_head3 { font-size: 12px; padding: 5px 0px 5px 0px; text-align: center; }
.other_pro_head2 a { color: #000000; font-size: 12px; text-decoration: none; }
.other_pro_head2 { font-size: 12px; padding: 5px 0px 5px 0px; text-align: center; }
.other_pro_head1 a:hover { text-decoration: underline; }
.other_pro_head1 a { color: #000000; font-size: 12px; text-decoration: none; }
.other_pro_head1 { color: #000000; font-size: 12px; padding: 5px 0px 5px 0px; text-align: center; }
.other_pro_con { float: none; font-weight: bold; margin: 0px 0px 10px 0px; padding: 0px; text-align: center; }
.next_container { margin: 0px; overflow: hidden; padding: 5px; }
.next_and_big_img_container { float: right; margin-left: 2px; margin-right: -77%; position: relative; width: 100%; }
.next a:hover { background: #1a1f35; color: #fff; padding: 10px; text-decoration: none; }
.next a { background: #1a1f35; color: #fff; display: block; padding: 10px; text-decoration: none; }
.next { border: 0px solid #e28300; color: #fff; float: left; line-height: 22px; margin: 25px 0px 0px 0px; padding: 0px; text-align: center; }
.navigation:before { content: ''; display: block; }
.navigation:after { clear: both; content: ''; display: table; }
.navigation.align-right ul ul li.last { -moz-border-radius: 0 0 0 3px; -webkit-border-radius: 0 0 0 3px; border-radius: 0 0 0 3px; }
.navigation.align-right ul ul li.first { -moz-border-radius: 3px 0 0 0; -webkit-border-radius: 3px 0 0 0; border-radius: 3px 0 0 0; }
.navigation.align-right ul ul { -moz-border-radius: 3px 0 0 3px; -webkit-border-radius: 3px 0 0 3px; border-radius: 3px 0 0 3px; left: -100%; position: absolute; top: 0; visibility: hidden; width: 100%; z-index: 598; }
.navigation.align-right ul li.has-sub> a:before { content: '+'; left: 15px; margin-top: -6px; position: absolute; top: 50%; }
.navigation.align-right ul li.has-sub> a:after { content: none; }
.navigation.align-right li { text-align: right; }
.navigation.align-right> ul> li> a { border-right: none; }
.navigation.align-right { float: right; }
.navigation ul ul ul { right: 0; top: 0; }
.navigation ul ul li:hover> a { background: #2e3760; color: #ffffff; }
.navigation ul ul li.last { -moz-border-radius: 0 0 3px 0; -webkit-border-radius: 0 0 3px 0; border-bottom: 0; border-radius: 0 0 3px 0; }
.navigation ul ul li.first { -moz-border-radius: 0 3px 0 0; -webkit-border-radius: 0 3px 0 0; border-radius: 0 3px 0 0; }
.navigation ul ul li { border-bottom: 1px solid #b1340a; float: none; }
.navigation ul ul a:hover { color: #ffffff; }
.navigation ul ul a { color: #ffffff; }
.navigation ul ul { -moz-border-radius: 0 3px 3px 0; -webkit-border-radius: 0 3px 3px 0; border: 1px solid #b1340a; border-radius: 0 3px 3px 0; left: 99%; list-style: none; margin: 0; margin-top: 0.05em; padding: 0; position: absolute; top: 0; visibility: hidden; width: 13em; z-index: 520; }
.navigation ul li:hover> ul { visibility: visible; }
.navigation ul li:hover { cursor: default; position: relative; z-index: 510; }
.navigation ul li.hover { cursor: default; position: relative; z-index: 510; }
.navigation ul li.has-sub> a:after { content: ''; position: absolute; right: 1em; }
.navigation ul li { float: none; line-height: 1em; list-style: none; margin: 0; min-height: 0.05em; padding: 0; position: relative; vertical-align: middle; }
.navigation ul { float: left; list-style: none; margin: 0; padding: 0; position: relative; z-index: 500; }
.navigation li { position: relative; }
.navigation a { color: #ffffff; display: block; padding: 1em 1.3em; text-decoration: none; text-transform: none; }
.navigation> ul> li:hover a { background: #d74514; }
.navigation> ul> li a:hover { background: #d74514; }
.navigation> ul> li> a:hover { color: #ffffff; }
.navigation> ul> li> a { border-bottom: 1px solid #d1d0d0; color: #404040; }
.navigation> ul { width: 315px; }
.navigation { border: 0; font-family: Arial, Helvetica, sans-serif; line-height: 1; margin: 0; padding: 0; width: 13em; zoom: 1; }
.nav_bg { background: #171717; }
.nav_arrow a:hover { background: url(https://tiimg.tistatic.com/catalogs/template57916/nav-arrow.png) no-repeat right center; }
.nav_arrow a { background: url(https://tiimg.tistatic.com/catalogs/template57916/nav-arrow.png) no-repeat right center; }
.nav ul ul ul { border-left: solid 1px #a8130e; display: none!important; left: 170px; top: 0px; visibility: hidden; }
.nav ul li { display: block; visibility: visible; }
.nav ul { list-style-type: none; margin: 0; padding: 0; }
.nav li:hover ul { display: block; position: absolute; }
.nav li:hover li ul { border-left: solid 1px #a8130e; display: none; }
.nav li:hover a { color: #fff; }
.nav li:hover> ul { display: block!important; visibility: visible!important; }
.nav li:hover { -webkit-transition: 0.25s; background: #dc352f; transition: 0.25s; }
.nav li ul { background: #dc352f; border-top: 0px; display: none; margin: 0px; min-width: 152px; white-space: nowrap; z-index: 1001; }
.nav li li:hover ul { background: #dc352f; display: block; left: 100%; position: absolute; top: 0px; }
.nav li li:hover { background: #b1201a; }
.nav li li li a:hover { background-image: none; }
.nav li li li a { background-image: none; }
.nav li li a:hover { background: url(https://tiimg.tistatic.com/catalogs/template57916/arrow.png) center right no-repeat; color: #FFF; }
.nav li li a { background: url(https://tiimg.tistatic.com/catalogs/template57916/arrow.png) center right no-repeat; border-bottom: solid 1px #a8130e; font-size: 13px; padding: 8px 24px 8px 12px; }
.nav li li { -webkit-transition: 0.25s; background: none; border: 0px; float: none; font-weight: normal; margin: 0px; padding: 0px; position: relative; transition: 0.25s; }
.nav li a { color: #FFF; display: block; font-size: 15px; font-weight: normal; padding: 17px 30px; text-decoration: none; }
.nav li { border-right: solid 1px #434e7d; color: #FFF; float: left; }
.nav> ul li#responsive-tab a:hover { background: url(https://tiimg.tistatic.com/catalogs/template57916/cate.png) no-repeat right center #b1201a !important; display: none; }
.nav> ul li#responsive-tab a { background-position: right center; }
.nav> ul li#responsive-tab { background: url(https://tiimg.tistatic.com/catalogs/template57916/cate.png) no-repeat right center; display: none; }
.nav { font-size: 15px; margin: 0; }
.more a:hover { -moz-border-radius: 5px; -webkit-border-radius: 5px; background: url(https://tiimg.tistatic.com/catalogs/template57916/enquiry_bg_hover.jpg) top left repeat-x; border-radius: 5px; color: #FFFFFF; font: bold 14px Arial, Helvetica, sans-serif; margin: 0px; padding: 8px 15px 8px 15px; text-align: center; text-decoration: none; }
.more a { -moz-border-radius: 3px; -webkit-border-radius: 3px; background: url(https://tiimg.tistatic.com/catalogs/template57916/enquiry_bg.jpg) top left repeat-x; border-radius: 3px; color: #FFFFFF; display: block; float: right; font: bold 14px Arial, Helvetica, sans-serif; margin: 0px; padding: 8px 15px 8px 15px; text-align: center; text-decoration: none; }
.more { color: #030100; float: right; line-height: 22px; margin: 10px 190px 0px 0px; padding: 0px; text-align: center; }
.middle_area { padding: 30px 0 20px; }
.mid_right { float: right; margin: 20px 0; width: 64%; }
.matterPart { float: left; height: auto; margin: 0px 1%; padding: 0; position: relative; width: 23%; }
.marquee_txt { color: #6d6c6c; font-family: Arial, Verdana, Helvetica, sans-serif; font-size: 11px; font-weight: bold; padding: 5px; text-align: left; }
.marquee_bg { color: #333333; font-family: Arial,Helvetica,sans-serif; font-size: 15px; font-weight: bold; padding: 15px 0; text-align: left; }
.main_txt_img { float: right; width: 21%; }
.main_text_bg { background: #5b871c; padding: 30px 0; }
.main_text h1 { color: #333333; font-family: 'Oswald'; font-size: 30px; font-weight: 200; margin: 0; padding: 10px 0; text-align: left; text-transform: uppercase; }
.main_text { color: #636363; line-height: 21px; margin: 0; padding: 0; }
.main_pro_head3 { color: #000; font-size: 12px; padding: 5px 0px 5px 0px; text-align: center; }
.main_pro_head2 { color: #000; font-size: 12px; padding: 5px 0px 5px 0px; text-align: center; }
.main_pro_head1 { color: #000; font-size: 12px; padding: 5px 0px 5px 0px; text-align: center; width: 100%; }
.main_next_big_img_and_previous_container_cell3 { -moz-box-shadow: 1px 1px 20px 1px rgba(1, 1, 1, 0.1); -webkit-box-shadow: 1px 1px 20px 1px rgba(1, 1, 1, 0.1); background-color: #fff; background-repeat: no-repeat; border: 1px solid #eae9e9; box-shadow: 1px 1px 20px 1px rgba(1, 1, 1, 0.1); float: left; margin-bottom: 20px; width: 100%; }
.main_next_big_img_and_previous_container_cell2 { background-repeat: no-repeat; border-right: 1px solid none; float: left; width: 100%; }
.main_next_big_img_and_previous_container_cell1 { background-repeat: no-repeat; border-right: 1px solid none; float: left; width: 30%; }
.main_nav { background: #2e375f; }
.main_con { background-color: #; border: 0px solid #CCC; font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif; font-size: 12px; margin: 0px auto; margin-top: 20px; padding: 10px; }
.main { margin: 0 auto; max-width: 990px; padding: 0; }
.logo_main { float: left; padding: 0; }
.logo img { max-width: 100%; }
.logo { overflow: hidden; padding: 20px 10px; text-align: center; }
.linked:hover { color: #000000; font-family: Arial, Verdana, Helvetica, sans-serif; font-size: 12px; font-style: normal; font-weight: normal; text-decoration: none; }
.linked { color: #000000; font-family: Arial, Verdana, Helvetica, sans-serif; font-size: 12px; font-style: normal; font-weight: normal; text-decoration: underline; }
.left_menu { color: #ffffff; font-family: Arial, Verdana, Helvetica, sans-serif; font-size: 12px; font-weight: bold; text-align: left; text-decoration: none; }
.left_cont { background: #f3f3f3; border: 10px solid #f9f9f9; float: left; margin: 20px 0; padding: 0px 0px 10px 0px; width: 32%; }
.left_bg { background-color: #; }
.leads_row_loop_cont { float: none; margin: 0px; overflow: hidden; padding: 0px; }
.lead_text2 { color: #000; font-family: Arial, Helvetica, sans-serif; font-size: 12px; text-align: right; }
.lead_text1 { color: #000; font-family: Arial, Helvetica, sans-serif; font-size: 12px; text-align: justify; }
.lead_sub_text1 a:hover { color: #000; font-family: Arial, Helvetica, sans-serif; font-size: 12px; text-align: left; }
.lead_sub_text1 a { color: #000; font-family: Arial, Helvetica, sans-serif; font-size: 12px; text-align: left; }
.lead_sub_text1 { color: #000; font-family: Arial, Helvetica, sans-serif; font-size: 12px; text-align: left; }
.lead_main_txt_con { float: none; margin: 0px; overflow: hidden; padding: 0px; }
.lead_header_con { background-color: #; float: none; height: 100%; margin: 0px 0px 10px 0px; overflow: hidden; padding: 0px; }
.lead_head_left { float: left; margin: 0px; padding: 0px; width: 350px; }
.lead_date_con { float: right; margin: 0px; padding: 0px; width: 300px; }
.lead_col_cont { border-bottom: 1px solid #CCC; float: none; height: 100%; margin: 0px; margin-bottom: 15px; overflow: hidden; padding: 0px 0px 10px 0px; }
.latest_product_heading { border-bottom: 1px solid #c8c8c8; color: #000000; font-family: Arial, Helvetica, sans-serif; font-size: 18px; font-weight: normal; padding: 2px 0px 5px 0px; text-align: left; }
.last_para { border-right: none; margin: 0; }
.language_none { height: 28px; margin: 0 0 15px 0; position: relative; width: 160px; }
.lang_translator ul { margin: 0px; padding: 0px; }
.lang_translator dt { margin: 0px; padding: 0px; }
.lang_translator dl { margin: 0px; padding: 0px; }
.lang_translator dd { margin: 0px; padding: 0px; }
.lang_translator .flagvisibility { display: none; }
.lang_translator .dropdown dt a:hover { color: #343434; }
.lang_translator .dropdown dt a:focus { color: #343434; }
.lang_translator .dropdown dt a span img { margin: -2px 5px 0 5px; }
.lang_translator .dropdown dt a { border: none; color: #000!important; display: block; font-size: 12px; margin: 0 auto; padding: 6px 5px 5px 5px; text-align: left; width: auto; }
.lang_translator .dropdown dd ul li a:hover { background-color: #dfe0e0; }
.lang_translator .dropdown dd ul li a img { border: none; margin-right: 5px; }
.lang_translator .dropdown dd ul li a { display: block; line-height: 20px; padding: 5px 5px 5px 5px; }
.lang_translator .dropdown dd ul { background: #ffffff; color: #343434; display: none; font-size: 12px; list-style: none; min-width: 107px; width: auto; }
.lang_translator .dropdown dd { position: relative; z-index: 1000; }
.lang_translator .dropdown a:visited { color: #343434; outline: none; text-decoration: none; }
.lang_translator .dropdown a:hover { color: #343434; }
.lang_translator .dropdown a { color: #343434; outline: none; text-decoration: none; }
.lang_translator { background: url(https://tiimg.tistatic.com/catalogs/template57916/language-arrow.jpg) no-repeat 140px 12px; font: normal 14px Arial, Helvetica, sans-serif; position: absolute; text-align: left; width: 160px; z-index: 999; }
.iso { color: #000000; font-family: Arial, Verdana, Helvetica, sans-serif; font-size: 10px; text-align: left; }
.inner_txt { background: #fff; color: #000; margin: 0 auto; max-width: 990px; padding: 15px 0; }
.inner_banner img { height: auto; max-width: 100%; }
.inner_banner { padding: 0; text-align: center; }
.in { background-color: #; }
.img_name a:hover { color: #006dc9; font-family: Verdana, Arial, Geneva, sans-serif; font-size: 12px; font-weight: bold; text-decoration: underline; }
.img_name a { color: #0089f3; font-family: Verdana, Arial, Geneva, sans-serif; font-size: 12px; font-weight: bold; text-align: center; text-decoration: none; }
.img_name { color: #0089f3; font-family: Verdana, Arial, Geneva, sans-serif; font-size: 12px; font-weight: bold; padding: 3px 3px 6px 3px; text-align: center; }
.img_display img { height: auto; max-width: 100%; width: 100%; }
.img_display { display: none; }
.img_desc { color: #7f7f7f; font-family: Verdana, Arial, Geneva, sans-serif; font-size: 11px; font-weight: normal; padding: 1px; text-align: center; }
.imgAndzoom { margin: 0px 0 0 0; overflow: hidden; }
.imagePart img { height: auto; max-width: 100%; width: 100%; }
.imagePart { float: left; overflow: hidden; text-align: center; width: 100%; }
.hp_top_bg { position: absolute; right: 0; top: 0; }
.hp_title { padding: 2px 0 0 0; text-align: center; }
.hp_product { margin: 20px 0; padding: 0; }
.homeProducts { display: inline-block; margin: 20px 0; padding: 0; width: auto; }
.hilight { color: #ffffff; text-align: left; text-decoration: none; }
.heading { color: #000000; font-family: Arial, Verdana, Helvetica, sans-serif; font-size: 18px; font-weight: bold; text-align: center; text-decoration: none; }
.header_right { float: right; }
.header { background: #fff; padding: 20px 0; }
.globe img { height: 100px; width: 100px; }
.globe { float: left; }
.fright { float: right; }
.footer_links a:hover { color: #fff; text-decoration: underline; }
.footer_links a { color: #fff; font-weight: normal; padding: 0 12px; text-decoration: none; }
.footer_links { background: #1a1f35; color: #fff; font-family: Arial, Helvetica, sans-serif; font-size: 13px; font-weight: normal; padding: 15px; text-align: center; }
.footer ul { float: left; list-style-type: none; margin: 0 15px 0 0; padding: 0 15px 0 0; }
.footer { margin: 0 auto; max-width: 990px; padding: 0px; }
.flexslider li { list-style-type: none; }
.flexslider a:focus { outline: none; }
.flexslider a:active { outline: none; }
.flexslider .slides img { display: block; height: 421px; max-width: 1500px; width: 990px; }
.flexslider .slides> li { -webkit-backface-visibility: hidden; display: none; }
.flexslider { margin: 0; padding: 0; position: relative; }
.flex-pauseplay span { text-transform: capitalize; }
.flex-direction-nav a { background: url(https://tiimg.tistatic.com/catalogs/template57916/bg_direction_nav.png) no-repeat 0 0; cursor: pointer; display: block; height: 41px; margin: 16px 53px; position: absolute; text-indent: -9999px; top: 39%; width: 44px; z-index: 10; }
.flex-direction-nav .flex-prev { left: -50px; }
.flex-direction-nav .flex-next { background-position: 100% 0; right: -50px; }
.flex-direction-nav .flex-disabled { cursor: default; }
.flex-direction-nav { list-style: none; margin: 0; padding: 0; }
.flex-control-paging li a { -moz-border-radius: 0px; -o-border-radius: 0px; -webkit-border-radius: 0px; background: ; border-radius: 0px; cursor: pointer; display: block; height: 11px; text-indent: -99999px; width: 11px; }
.flex-control-nav li { display: inline-block; margin: 0 6px; }
.flex-control-nav { bottom: 10px; list-style: none; margin: 0; padding: 0; position: absolute; right: 575px; text-align: left; width: 138px; }
.flex-container a:focus { outline: none; }
.flex-container a:active { outline: none; }
.fleft { float: left; }
.first_ul { margin: 0 2% 0 0 !important; padding: 0!important; width: 36%; }
.f2b { color: #000000; font-family: Arial, Verdana, Helvetica, sans-serif; font-size: 12px; font-weight: bold; }
.f2 { color: #000000; font-family: Arial, Verdana, Helvetica, sans-serif; font-size: 12px; }
.enquiry_btn a:hover { -moz-border-radius: 5px; -webkit-border-radius: 5px; background: url(https://tiimg.tistatic.com/catalogs/template57916/enquiry_bg_hover.jpg) top left repeat-x; border-radius: 5px; color: #FFFFFF; font: bold 14px Arial, Helvetica, sans-serif; margin: 0px; padding: 8px 15px 8px 15px; text-align: center; text-decoration: none; }
.enquiry_btn a { -moz-border-radius: 3px; -webkit-border-radius: 3px; background: url(https://tiimg.tistatic.com/catalogs/template57916/enquiry_bg.jpg) top left repeat-x; border-radius: 3px; color: #FFFFFF; display: block; font: bold 14px Arial, Helvetica, sans-serif; margin: 0px; padding: 8px 15px 8px 15px; text-align: center; text-decoration: none; }
.enquiry_btn { color: #FFFFFF; float: left; font-weight: bold; margin: 0px; text-align: center; }
.enlarge { color: #FF0000; font-size: 12px; font-weight: bold; text-align: center; }
.default_title { background: url(https://tiimg.tistatic.com/catalogs/template57916/sep.jpg) center center no-repeat; color: #d74515; font-family: 'Oswald' , Arial, Helvetica, sans-serif; font-size: 30px; font-weight: 200; padding: 20px 0; text-align: center; text-decoration: none; text-transform: uppercase; }
.copyright_bottom_title { color: #000; font-family: 'Myriad Pro' , Arial, Helvetica, sans-serif; font-size: 14px; padding: 0 0 15px 0; text-align: center; }
.copyright_bottom { color: #7f7f7f; font-family: 'Myriad Pro' , Arial, Helvetica, sans-serif; font-size: 10px; padding: 20px 0; }
.copyright_bg { background-color: #fff; display: none; }
.content_tablebg { background-color: #; }
.contentBg { background-color: #ffffff; }
.contentArea { margin: 0px auto; overflow: hidden; padding: 0px; width: 100%; }
.contact_heading span { color: #000000; font-family: Arial, Verdana, Helvetica, sans-serif; font-size: 18px; font-weight: bold; text-align: left; text-decoration: none; }
.contact_heading { color: #fff; font-family: 'Oswald', Arial, Verdana, Helvetica, sans-serif; font-size: 22px; font-weight: normal; padding: 5px 5px 10px 5px; text-align: left; text-decoration: none; text-transform: uppercase; }
.contact_detail a:hover { text-decoration: underline; }
.contact_detail a { color: #fff; font-weight: bold; text-decoration: none; }
.contact_detail { color: #fff; font-family: Arial, Verdana, Helvetica, sans-serif; font-size: 12px; font-weight: normal; padding: 3px 5px; }
.contact_bg { background-color: #2e375f; padding: 20px 0; }
.contact { color: #fff; font-family: Arial, Verdana, Helvetica, sans-serif; font-size: 13px; font-weight: normal; line-height: 19px; padding: 3px 5px; text-align: left; }
.color1 { color: #000; }
.col3img { border: 0px; margin: 0px; padding: 0px; }
.co_name_small { color: #fff; display: none; font-family: Verdana, Helvetica, sans-serif; font-size: 18px; font-weight: bold; padding: 5px; text-align: left; }
.co_name a { color: #4f4b4b; text-decoration: none; }
.co_name { color: #000000; font-size: 24px; font-weight: bold; padding-left: 10px; text-align: left; }
.cmf_image { background-image: url(https://tiimg.tistatic.com/catalogs/template57916/call_me.gif); background-position: top center; background-repeat: no-repeat; display: none; float: left; height: 33px; padding-left: 40px; width: 33px; }
.close_image { background-image: url(https://tiimg.tistatic.com/catalogs/template57916/close_icon.png); background-repeat: no-repeat; float: left; height: 22px; left: -5px; position: absolute; top: -5px; width: 20px; }
.clients_logo { float: right; width: 85%; }
.client_list_bg { border-top: solid 2px #1c64a1; padding: 12px 0; }
.client_list { float: left; margin: 20px 15px 0 0; }
.clear { clear: both; }
.cate_row_con { float: none; height: 100%; margin: 0px 0px 0px 0px; overflow: hidden; padding: 4px 10px 0px 10px; }
.cate_prod_img_cont { float: left; margin: 0px; padding: 0px; width: 30%; }
.cate_prod_descr_cont { margin: 0px 0px 0px 10px; padding: 0px; width: 66%; }
.cate_prod_cont { background-color: #fff; border: 1px solid #ededed; float: left; height: 100%; margin: 0px 0px 20px 0px; overflow: hidden; padding: 10px 6px 10px 6px; width: 47%; }
.cate_num { color: #000; font-size: 12px; padding: 6px 0px 6px 0px; text-align: center; }
.cate_main_con { background-color: #fff; border: 0px solid #CCC; border-radius: 5px; font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif; font-size: 12px; margin: 0px auto; padding: 10px; width: 98%; }
.cate_img:hover { background-color: #FFF; margin: 0px; padding: 4px; text-align: center; }
.cate_img { background-color: #FFF; margin: 0px; padding: 4px; text-align: center; }
.cat_name_head a:hover { color: #000; font-size: 18px; font-weight: bold; text-decoration: none; }
.cat_name_head a { color: #1a1f35; font-size: 18px; font-weight: bold; text-decoration: none; }
.cat_name_head { background-color: #fff; border-bottom: 1px solid #1a1f35; color: #1a1f35; font-size: 18px; font-weight: bold; margin: 0px 0px 10px 0px; padding: 6px 0px 6px 0px; text-align: left; }
.btnsArea { display: none; float: right; margin: 0px; padding: 0px 0px 0px 0px; text-align: left; width: 100%; }
.box_read_more a:hover { color: #000; }
.box_read_more a { color: #f36e21; display: block; font-weight: bold; padding: 0; text-decoration: underline; text-transform: none; }
.box_read_more { float: right; font-size: 12px; margin: 20px 0 0; }
.border { border: 1px solid #df2014; }
.banner5 { background: url(https://tiimg.tistatic.com/catalogs/template57916/banner5.jpg) no-repeat center top; height: 421px; }
.banner4 { background: url(https://tiimg.tistatic.com/catalogs/template57916/banner4.jpg) no-repeat center top; height: 421px; }
.banner3 { background: url(https://tiimg.tistatic.com/catalogs/template57916/banner3.jpg) no-repeat center top; height: 421px; }
.banner2 { background: url(https://tiimg.tistatic.com/catalogs/template57916/banner2.jpg) no-repeat center top; height: 421px; }
.banner1 { background: url(https://tiimg.tistatic.com/catalogs/template57916/banner1.jpg) no-repeat center top; height: 421px; }
.back_link a:hover { color: #1a1f35; text-decoration: underline; }
.back_link a { color: #000; text-decoration: none; }
.back_link { border-bottom: 1px solid #cacaca; color: #000; font-size: 12px; margin: 0px; padding: 5px; text-align: center; }
.alt_send_inq_btn { margin: 0px; padding: 0px 0px 0px 0px; text-align: left; }
.alt_prod_num { font-size: 12px; padding: 6px 0px 6px 0px; text-align: center; }
.alt_prod_img_cont:hover { background-color: #1a1f35; color: #fff; float: left; margin: 0px; padding: 4px; width: 22%; }
.alt_prod_img_cont { -moz-border-radius-topleft: 10px; -moz-border-radius-topright: 10px; -webkit-border-top-left-radius: 10px; -webkit-border-top-right-radius: 10px; background-color: #ececec; border-top-left-radius: 10px; border-top-right-radius: 10px; color: #000000; display: block; float: left; margin: 0px; padding: 4px; width: 22%; }
.alt_prod_img { margin: 0px; padding: 0px; text-align: center; }
.alt_prod_description { color: #000; font-size: 12px; font-weight: normal; margin: 0px; padding: 6px 0px 6px 0px; text-align: justify; }
.alt_prod_descr_cont { float: right; margin: 0px 0px 0px 0px; padding: 0px; width: 74%; }
.alt_prod_cont { -moz-border-radius-topleft: 10px; -moz-border-radius-topright: 10px; -moz-box-shadow: 0px 0px 5px rgba(50, 50, 50, 0.23); -webkit-border-top-left-radius: 10px; -webkit-border-top-right-radius: 10px; -webkit-box-shadow: 0px 0px 5px rgba(50, 50, 50, 0.23); background-color: #fff; border-top-left-radius: 10px; border-top-right-radius: 10px; box-shadow: 0px 0px 5px rgba(50, 50, 50, 0.23); float: right; margin: 0px 0px 20px 0px; overflow: hidden; padding: 10px 6px 10px 6px; width: 98%; }
.alt_prod_cat_name a:hover { color: #000; font-size: 18px; font-weight: bold; text-decoration: none; }
.alt_prod_cat_name a { color: #1a1f35; font-size: 18px; font-weight: bold; text-decoration: none; }
.alt_prod_cat_name { background-color: #fff; border-bottom: 1px solid #1a1f35; color: #1a1f35; font-family: Arial, Helvetica, sans-serif; font-size: 18px; font-weight: bold; margin: 0px; padding: 6px 0px 6px 6px; text-align: left; }
.alt_prod_cat_descr { color: #000; display: block; font-size: 12px; margin: 0px; padding: 6px 0px 6px 0px; text-align: justify; }
.alt_pro_link_cont_alt ul { float: left; line-height: 18px; list-style-type: none; margin: 0px 0px 0px 0px; padding: 6px 0px 6px 0px; text-align: left; width: 270px; }
.alt_pro_link_cont_alt li a:hover { color: #000; margin: 0px; padding: 0px 12px 0px 12px; text-decoration: underline; }
.alt_pro_link_cont_alt li a { color: #000; display: block; margin: 0px; padding: 0px 12px 0px 12px; text-decoration: none; }
.alt_pro_link_cont_alt li { background-image: url(https://tiimg.tistatic.com/catalogs/template57916/arrow2.gif); background-position: 0px 7px; background-repeat: no-repeat; color: #a72c01; display: block; font-size: 12px; margin: 0px; text-align: left; }
.alt_pro_link_cont_alt { border-bottom: 1px dotted #dadada; float: none; margin: 0px 20px 0px 0px; overflow: hidden; padding: 0px; width: 100%; }
.alt_pro_link_cont ul { float: left; line-height: 18px; list-style-type: none; margin: 0px 0px 0px 0px; padding: 6px 0px 6px 0px; text-align: left; width: 270px; }
.alt_pro_link_cont li a:hover { color: #000; margin: 0px; padding: 0px 12px 0px 12px; text-decoration: underline; }
.alt_pro_link_cont li a { color: #000; display: block; margin: 0px; padding: 0px 12px 0px 12px; text-decoration: none; }
.alt_pro_link_cont li { background-image: url(https://tiimg.tistatic.com/catalogs/template57916/arrow.gif); background-position: 0px 7px; background-repeat: no-repeat; color: #000; display: block; font-size: 12px; margin: 0px; padding: 0px; text-align: left; }
.alt_pro_link_cont { border-bottom: 1px dotted #dadada; float: none; margin: 0px 0px 0px 0px; overflow: hidden; padding: 0px 0px 0px 0px; width: 100%; }
.alt_pro_link a:hover { color: #025885; text-decoration: none; }
.alt_pro_link a { color: #025885; text-decoration: underline; }
.alt_pro_link { color: #025885; font-size: 11px; margin: 0px; padding: 4px 0px 4px 0px; text-align: left; }
.alt_other_prod_main_con { background-color: #fff; border: 1px solid none; float: right; height: 100%; margin: 0px; overflow: hidden; padding: 0px 0px 0px 0px; position: relative; width: 74%; }
.alt_other_prod_cont { background-color: #fff; float: right; margin: 10px 0px 10px 0px; overflow: hidden; padding: 0px 0px 6px 0px; width: 97%; }
.alt_enquiry_btn a:hover { -moz-border-radius: 5px; -webkit-border-radius: 5px; background-color: #1a1f35; border-radius: 5px; color: #FFFFFF; margin: 0px; padding: 4px 12px 4px 12px; text-align: center; text-decoration: none; }
.alt_enquiry_btn a { -moz-border-radius: 5px; -webkit-border-radius: 5px; background-color: #f17e95; border-radius: 5px; color: #FFFFFF; display: block; margin: 0px; padding: 4px 12px 4px 12px; text-align: center; text-decoration: none; }
.alt_enquiry_btn { color: #FFFFFF; float: left; font-weight: bold; margin: 0px; text-align: center; }
.alt_enlarge { color: #FF0000; font-size: 12px; font-weight: bold; text-align: center; }
.alt_cate_prod_img_cont { float: left; margin: 0px; padding: 0px; width: 30%; }
.alt_cate_prod_descr_cont { color: #FFFFFF; margin: 0px 0px 0px 10px; padding: 0px; width: 66%; }
.alt_cate_prod_cont { background-color: #fff; border: 1px solid #ededed; float: right; height: 100%; margin: 0px 0px 20px 0px; overflow: hidden; padding: 10px 6px 10px 6px; width: 47%; }
.alt_cate_num { color: #000; font-size: 12px; padding: 6px 0px 6px 0px; text-align: center; }
.alt_cate_img:hover { margin: 0px; padding: 4px; text-align: center; }
.alt_cate_img { background-color: #FFF; margin: 0px; padding: 4px; text-align: center; }
.alt_cat_name_head a:hover { color: #000; font-size: 18px; font-weight: bold; text-decoration: none; }
.alt_cat_name_head a { color: #1a1f35; font-size: 18px; font-weight: bold; text-decoration: none; }
.alt_cat_name_head { background-color: #fff; border-bottom: 1px solid #1a1f35; color: #1a1f35; font-size: 18px; font-weight: bold; margin: 0px 0px 10px 0px; padding: 6px 0px 6px 0px; text-align: left; }
.address { float: left; padding: 0 12px 0 0; }
* html .slides { height: 1%; }
* html .prod_num { color: #000; font-size: 12px; padding: 6px 0px 6px 0px; text-align: center; }
* html .prod_description { color: #000; font-size: 12px; font-weight: normal; margin: 0px; padding: 6px 0px 6px 0px; text-align: justify; }
* html .prod_descr_cont { float: right; margin: 0px 0px 0px 0px; padding: 0px; width: 74%; }
* html .prod_cat_descr { color: #000; font-size: 12px; margin: 0px; padding: 6px 0px 6px 0px; text-align: justify; }
* html .pro_next_prod_main_container { float: right; left: 500px; position: absolute; width: 90%; }
* html .previous { background-color: #fb9100; border: 1px solid #e28300; color: #fff; float: none; left: 180px; margin: 0px; overflow: hidden; padding: 6px; position: absolute; top: 5px; }
* html .other_prod_main_con { background-color: #fff; float: right; height: auto; margin: 0px; overflow: hidden; padding: 0px 0px 0px 0px; width: 74%; }
* html .next_and_big_img_container { float: right; margin-left: 160px; margin-right: -950%; position: relative; width: 90%; }
* html .main_next_big_img_and_previous_container_cell3 { background-repeat: no-repeat; border: 5px solid #eae9e9; float: none; overflow: hidden; width: 100%; }
* html .main_next_big_img_and_previous_container_cell2 { border-right: 0px solid #CCC; float: left; width: 10%; }
* html .main_next_big_img_and_previous_container_cell1 { border-right: 0px solid #CCC; float: left; margin-left: 100px; width: 30%; }
* html .imgAndzoom { float: left; margin: 0px; overflow: hidden; width: 100%; }
* html .cate_prod_descr_cont { float: left; margin: 0px 0px 0px 20px; padding: 0px; width: 66%; }
* html .cate_num { color: #000; font-size: 12px; padding: 6px 0px 6px 0px; text-align: center; }
* html .cat_name_head a:hover { color: #000; font-size: 18px; font-weight: bold; text-decoration: none; }
* html .cat_name_head a { color: #1a1f35; font-size: 18px; font-weight: bold; text-decoration: none; }
* html .cat_name_head { background-color: #fff; border-bottom: 2px solid #1a1f35; color: #1a1f35; font-size: 18px; font-weight: bold; margin: 0px 0px 10px 0px; padding: 6px 0px 6px 0px; text-align: left; }
* html .alt_other_prod_main_con { background-color: #fff; float: right; height: auto; margin: 0px 0px 0px 6px; overflow: hidden; padding: 0px 0px 0px 0px; width: 7474%; }
* html .alt_other_prod_cont { background-color: #fff; float: right; margin: 10px 5px 10px 0px; overflow: hidden; padding: 6px 6px 6px 6px; width: 97%; }
#topbar { background-image: url(https://tiimg.tistatic.com/catalogs/template57916/floating-bg.jpg); background-position: top; background-repeat: no-repeat; border: 1px solid #f4f4f4; color: #575757; font-family: Verdana, Arial, Geneva, sans-serif; font-size: 15px; font-weight: bold; height: 94px; margin: 0 auto; padding: 5px; position: absolute; width: 135px; }
#top_header { float: left; height: 20px; width: 100%; }
#send_mail_encap { float: none; margin: 16px 0px 0px 0px; text-align: center; width: 100%; }
#send_email_text:hover { -moz-box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 100); -webkit-box-shadow: 0px 0px 1px 1px rgba(0, 0, 0, 100); background: -moz-linear-gradient(top,  #e93030,  #872525); background-color: #872525; border-bottom: 1px solid #872525; border-left: 1px solid #872525; border-right: 1px solid #872525; border-top: 1px solid #ff3c3c; box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 100); filter: progidXImageTransform.Microsoft.gradient(startColorstr='#e93030', endColorstr='#872525'); }
#send_email_text a:visited { color: #ffffff; text-decoration: none; }
#send_email_text a:hover { color: #ffffff; text-decoration: none; }
#send_email_text a { color: #ffffff; font-family: Arial, Helvetica, sans-serif; font-size: 15px; font-weight: bold; letter-spacing: 0.1px; text-align: center; text-decoration: none; width: 130px; }
#send_email_text { -moz-border-radius: 15px; -moz-box-shadow: 0px 0px 0px 1px rgba(255, 255, 255, 100); -webkit-border-radius: 30px; -webkit-box-shadow: 0px 0px 1px 1px rgba(255, 255, 255, 100); background: -moz-linear-gradient(top,  #b23939,  #872525); background-color: #872525; border-bottom: 1px solid #762425; border-left: 1px solid #a63333; border-radius: 15px; border-right: 1px solid #a63333; border-top: 1px solid #cf6363; box-shadow: 0px 0px 0px 1px rgba(255, 255, 255, 100); filter: dropshadow(color=#000000, offx=1, offy=1); float: none; letter-spacing: -1px; margin: 0 auto; padding: 5px 0px 5px 0px; text-align: center; text-shadow: 1px 1px 1px #000000; width: 110px; }
#search1 { background: #fff; display: none; float: right; margin: 6px 0; }
#search { background: #f5f5f5; border: solid 1px #ebebeb; border-radius: 15px; float: right; margin: 9px 0; }
#sddm li a { color: #FFF; display: block; margin: 0 1px 0 0; padding: 4px 10px; text-align: center; text-decoration: none; }
#sddm li { float: left; font: bold 11px arial; list-style: none; margin: 0; padding: 0; }
#sddm div a:hover { background: #1a1f35; color: #ffffff; }
#sddm div a { background: #fcfafa; color: #000000; display: block; font: 11px arial; margin: 0; padding: 5px 10px; position: relative; text-align: left; text-decoration: none; white-space: nowrap; }
#sddm div { background: #e9e9e9; border: 1px solid  #222222; margin: 8px 0px 0px 0px; padding: 0; position: absolute; visibility: hidden; }
#sddm { margin: 0px; padding: 0px; z-index: 30; }
#main { background-color: #ffffff; float: left; height: auto; width: 100%; }
#contact_now { color: #000000; display: none; }
#cmf_text:hover { -moz-box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 100); -webkit-box-shadow: 0px 0px 1px 1px rgba(0, 0, 0, 100); background: -moz-linear-gradient(top,  #e93030,  #872525); background-color: #872525; border-bottom: 1px solid #872525; border-left: 1px solid #872525; border-right: 1px solid #872525; border-top: 1px solid #ff3c3c; box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 100); filter: progidXImageTransform.Microsoft.gradient(startColorstr='#e93030', endColorstr='#872525'); }
#cmf_text a:visited { color: #ffffff; text-decoration: none; }
#cmf_text a:hover { color: #ffffff; text-decoration: none; }
#cmf_text a { color: #ffffff; font-family: Arial, Helvetica, sans-serif; font-size: 15px; font-weight: bold; letter-spacing: 0.1px; text-align: center; text-decoration: none; width: 130px; }
#cmf_text { -moz-border-radius: 15px; -moz-box-shadow: 0px 0px 0px 1px rgba(255, 255, 255, 100); -webkit-border-radius: 30px; -webkit-box-shadow: 0px 0px 1px 1px rgba(255, 255, 255, 100); background: -moz-linear-gradient(top,  #b23939,  #872525); background-color: #872525; border-bottom: 1px solid #762425; border-left: 1px solid #a63333; border-radius: 15px; border-right: 1px solid #a63333; border-top: 1px solid #cf6363; box-shadow: 0px 0px 0px 1px rgba(255, 255, 255, 100); filter: dropshadow(color=#000000, offx=1, offy=1); float: none; letter-spacing: -1px; margin: 0 auto; padding: 5px 0px 5px 0px; text-align: center; text-shadow: 1px 1px 1px #000000; width: 110px; }
#cmf_encap { float: left; height: auto; padding-top: 5px; width: 100%; }
#bg { background: none; border: 0px; color: #606469; float: left; height: 35px; line-height: 35px; padding: 0 0 0 10px; width: 180px; }</style><!-- scr_pg_css style tag end -->
<script>
function MM_openBrWindow(C,A,B){window.open(C,A,B)}function open_popup(C,A,B){window.open(C,A,B)}var pop;function show_win(){pop.focus()}function hide_win(A){pop.blur()}function get_form(C){for(var B=0;B<document.forms.length;B++){for(var A=0;A<document.forms[B].length;A++){if(document.forms[B].elements[A].name==C){return document.forms[B].elements[A].form}}}}function setCookie(B,D,A,F,C,E){document.cookie=B+"="+escape(D)+((A)?"; expires="+A.toGMTString():"")+((F)?"; path="+F:"")+((C)?"; domain="+C:"")+((E)?"; secure":"")}function getCookie(C){var B=document.cookie;var E=C+"=";var D=B.indexOf("; "+E);if(D==-1){D=B.indexOf(E);if(D!=0){return null}}else{D+=2}var A=document.cookie.indexOf(";",D);if(A==-1){A=B.length}return unescape(B.substring(D+E.length,A))}function deleteCookie(A,C,B){if(getCookie(A)){document.cookie=A+"="+((C)?"; path="+C:"")+((B)?"; domain="+B:"")+"; expires=Thu, 01-Jan-70 00:00:01 GMT"}}function toggle_view(A){if(document.getElementById){if(document.getElementById(A).style.visibility=="visible"){document.getElementById(A).style.visibility="hidden"}else{document.getElementById(A).style.visibility="visible"}}else{if(document.layers&&document.layers[A]!=null){if(document.layers[A].visibility=="visible"||document.layers[A].visibility=="show"){document.layers[A].visibility="hidden"}else{document.layers[A].visibility="visible"}}else{if(document.all){if(document.all[A].style.visibility=="visible"){document.all[A].style.visibility="hidden"}else{document.all[A].style.visibility="visible"}}}}return false}function style_chkbx(C,A){C.checked==true?B=A:B="";do{C=C.parentNode}while(C.nodeName!="TR");var B;C.style.backgroundColor=B}function style_form(B,A){do{B=B.parentNode}while(B.nodeName!="TR");B.style.backgroundColor=A}function getselectedradio(A){if(A[0]){for(var B=0;B<A.length;B++){if(A[B].checked){return B}}}else{if(A.checked){return 0}}return -1}function getselectedradiovalue(A){var B=getselectedradio(A);if(B==-1){return false}else{if(A[B]){return A[B].value}else{return A.value}}}function dropdownvalue(A){return A.options[A.selectedIndex].value}function dropdowntext(A){return A.options[A.selectedIndex].text}function resetradios(C){var A=document.getElementsByTagName("input");for(var B=0;B<A.length;B++){if(A[B].type=="radio"){if(C){if(A[B].name==C){A[B].checked=false}}else{A[B].checked=false}}}}function selectfirstfield(){var A=document.getElementsByTagName("input");for(var B=0;B<A.length;B++){if(A[B].type=="text"){A[B].focus();break;alert(A[B].name)}}}function bullet(A){document.write("<table cellspacing=0 cellpadding=0 border=0 style='font-size:8px'><tr bgcolor='"+A+"'><td>&nbsp;&nbsp;</td></tr></table>")}function bullet1(A){document.write("<table cellspacing='0' cellpadding='0' align='left'><tr><td bgcolor='#000000'><table cellspacing=1 cellpadding=0 border=0 style='font-size:8px'><tr bgcolor='"+A+"'><td>&nbsp;&nbsp;</td></tr></table></td></tr></table>")}function bullet2(B,A,C){document.write("<table cellspacing='0' cellpadding='0' align='left'><tr><td bgcolor='#000000'><table cellspacing=1 cellpadding=0 border=0 style='font-size:8px'><tr bgcolor='"+B+"'><td style='"+A+"'>"+C+"</td></tr></table></td></tr></table>")}function confirm_click(B,A){if(confirm(B)){window.location=A}}function hide_advanced_search(A){var B=(A)?A:"";document.getElementById("advanced_search"+B).style.visibility="hidden";document.getElementById("advanced_search"+B).style.display="none";if(document.getElementById("category_search_box"+B)){document.getElementById("category_search_box"+B).style.visibility="hidden";document.getElementById("category_search_box"+B).style.display="none"}document.getElementById("search"+B).innerHTML='<a href="javascript:void(0);" onclick="javascript:show_advanced_search(\''+B+"')\">Advanced Search</a>"}function show_advanced_search(A){var B=(A)?A:"";document.getElementById("search"+B).innerHTML='<a href="javascript:void(0);" onclick="hide_advanced_search(\''+B+"')\">Normal Search</a>";document.getElementById("advanced_search"+B).style.visibility="visible";document.getElementById("advanced_search"+B).style.display="inline";if(document.getElementById("category_search_box"+B)){document.getElementById("category_search_box"+B).style.visibility="visible";document.getElementById("category_search_box"+B).style.display="inline"}return };
</script>
<script>
var debug=0;var max_error=20;var show_error=new Array();var i,z,err,pat,er;var error=0;var send="";var field_val,form_name;var back_m=0;var hi=new Array();var temp_hi=new Array();var tfname;var tkname=new Array();var process=1;function start(a){show_error[0]="Please make note of following things :\n";form_name=a.name;return}function finish(){error_counter("1");if(back_m==1){disable();back_m=0;return true}else{error_counter("2");error_counter("0");return false}}if(debug==1){alert("Validation In Testing Mode...\nPlease dont report bug for this\nFor Details : aditya@tradeindia.com")}function validate_text(field_id,field_name,field_type,min,max){if(debug==1){alert("in validate text for "+field_id)}var result=1;var message_x;var field_val=eval("document."+form_name+"."+field_id+".value");if(field_type=="char_up"){pat=/^[A-Z_-]+$/;message_x=" should consist only of characters in upper case A - Z";if(field_val.match(pat)){result=0}else{result=1}}if(field_type=="char_low"){pat=/^[a-z_-]+$/;if(field_val.match(pat)){result=0}else{result=1}message_x=" should consist only of characters in lower case a - z"}if(field_type=="char"){pat=/^[a-zA-Z\.]+$/;if(field_val.match(pat)){result=0}else{result=1}message_x=" should consist only of characters only a - z or A - Z"}if(field_type=="no_symbols"){pat=/^[a-zA-Z0-9. -]+$/;if(field_val.match(pat)){result=0}else{result=1}message_x=" should not consist of any non character values"}if(field_type=="user_id"){pat=/^[a-z0-9A-Z\_\.\&\-]+$/;if(field_val.match(pat)){result=0}else{result=1}message_x=" should consist only of characters(upper or lower),numbers (0-9),-,&,. or _ only."}if(field_type=="password"){pat=/^[a-z-0-9_]+$/;if(field_val.match(pat)){result=0}else{result=1}message_x=" should consist only of characters in lower case or numbers 0 - 9"}if(field_type=="phone"){pat=/^[0-9 \/ -]+$/;if(field_val.match(pat)){result=0}else{result=1}message_x=" should consist only of numbers 0-9, separate multiple numbers by /"}if(field_type=="future_date"){pat=/^(0?[1-9]|[12][0-9]|3[01])[\/\-](0?[1-9]|1[012])[\/\-]\d{4}$/;var msg="";if(field_val.match(pat)){var date_array=field_val.split("-");var currentDate=new Date();var date_text=new Date();date_text.setDate(date_array[0]);date_text.setMonth(date_array[1]-1);date_text.setFullYear(date_array[2]);if(date_text>=currentDate){result=0}else{msg=" should not be less than today's date";result=1}}else{msg=" format should be DD-MM-YYYY, for example: 21-07-2012";result=1}message_x=msg}if(field_type=="mm_dd_yyyy_date"){pat=/^(0?[1-9]|1[012])[\/\-](0?[1-9]|[12][0-9]|3[01])[\/\-]\d{4}$/;var msg="";if(field_val.match(pat)){result=0}else{msg=" format should be MM/DD/YYYY, for example: 08/13/2012";result=1}message_x=msg}if(field_type=="mobile"){pat=/^[0-9+]+$/;if(field_val.match(pat)){result=0}else{result=1}message_x=" should consist only of characters 0-9 and +"}if(field_type=="mob_in"){pat=/^\+91[0-9+]{10,10}$/;if(field_val.match(pat)){result=0}else{result=1}message_x=" should begin with +91 and\nconsist only of characters 0-9 for Indian mobiles"}if(field_type=="mob_list_comma_sep"){pat=/^\+91[0-9+]{10,10}$/;var mob_str=field_val.replace(/ +/g,"");var myMobileArray=mob_str.split(",");var valid=0;for(var i=0;i<myMobileArray.length;i++){var res;if(myMobileArray[i].match(pat)){res=0}else{res=1}valid=valid||res}result=valid;message_x=" should begin with +91 and\nconsist only of characters 0-9 for Indian mobiles"}if(field_type=="num_coma"){pat=/^[0-9,]+$/;if(field_val.match(pat)){result=0}else{result=1}message_x=" should consist only of numericals 0 - 9 and comma"}if(field_type=="float"){pat=/^[0-9.]+$/;if(field_val.match(pat)){result=0}else{result=1}message_x=" should consist only of 0 - 9 and ."}if(field_type=="nonzero"){pat=/^[0-9]+$/;if(field_val.match(pat)&&field_val>0){result=0}else{result=1}message_x=" should be a number greater than zero "}if(field_type=="int"){pat=/^[0-9]*$/;if(field_val.match(pat)){result=0}else{result=1}message_x=" should consist only of numbers 0 - 9"}if(field_type=="char_int"){pat=/^[a-z0-9]+$/;if(field_val.match(pat)){result=0}else{result=1}message_x=" should consist only of characters in lower case a - z or numericals 0 - 9"}if(field_type=="string"){if(debug==1){alert("in string pat init")}var pat=/^[\s_.=]*$/;if(field_val.match(pat)){result=1}else{result=0}message_x=" should not be left blank or should consist of some valid values"}if(field_type=="email"){if(debug==1){alert("in email pat init")}if(emailCheck(field_val)==true){result=0}else{result=1}message_x=" should contain a valid email address "}if(field_type=="email_list_comma_sep"){if(debug==1){alert("in email_list_comma_sep pat init")}var email_str=field_val.replace(/ +/g,"");var myEmailArray=email_str.split(",");var valid=0;for(var i=0;i<myEmailArray.length;i++){var res;if(emailCheck(myEmailArray[i])==true){res=0}else{res=1}valid=valid||res}result=valid;message_x=" should contain a valid email address "}if(debug==1){alert("field empty validation started")}var len=field_val.length;if(debug==1){alert("length is ="+len)}if(len==0&&min!=0){send="Please specify your "+field_name;hi[hi.length]=field_id;error_process(send);return false}if(debug==1){alert("field pattern validation started")}if(result==1){if(min==0&&len==0){}else{send=field_name+message_x;hi[hi.length]=field_id;error_process(send);return false}}if(debug==1){alert("field max min validation started")}if(max>0&&((len<min)||(len>max))){send="Length of "+field_name+" should be between "+min+" and "+max;hi[hi.length]=field_id;error_process(send);return false}else{if(len<min){if(debug==1){alert("field min validation started")}send="Length of "+field_name+" should be more than "+min;hi[hi.length]=field_id;error_process(send);return false}}if(debug==1){alert("field validation ended")}send="";return true}function validate_radio(radio_var,radio_name){if(debug==1){alert("validate radio called for "+radio_var)}var rOpt=-1;var defchecked;defchecked=eval("document."+form_name+"."+radio_var+".defaultChecked");if(defchecked){return true}var count=0;for(var i=0;i<eval("document."+form_name+"."+radio_var+".length");i++){if(eval("document."+form_name+"."+radio_var+"["+i+"].checked")){rOpt=i;if(debug==1){alert("found one radio selected hence increasing counter")}}count++}if(count==0){if(eval("document."+form_name+"."+radio_var+".checked")){rOpt=1}}if(rOpt==-1){if(debug==1){alert("counter was not increased during validation process hence no radio selected")}send="Please select one option for field "+radio_name;if(debug==1){alert("now sending error : "+send)}error_process(send);if(debug==1){alert("now returning radio valid false")}return false}else{if(debug==1){alert("counter was increased means that radio was selected hence return radio true")}return(true)}if(debug==1){alert("exit radio validate")}}function validate_dd(field_id,field_name){var str="document."+form_name+"."+field_id+".options.selectedIndex";if(eval(str)==0){hi[hi.length]=field_id;send="Please select a option in dropdown for field "+field_name;error_process(send)}}function validate_list(field_id,field_name,min){var inc=0;for(i=0;i<eval("document."+form_name+"."+field_id+".options.length");i++){if(eval("document."+form_name+"."+field_id+".options["+i+"].selected")){inc++;if(inc==min){break}}}if(inc<min){hi[hi.length]=field_id;send="Please select at least "+min+" option in list "+field_name;error_process(send)}}function validate_checkBox(arr,disc,typ,min){var x=0;eval("var newAr=new Array("+arr+");");for(var px=0;px<eval("newAr.length");px++){if(eval("document."+form_name+"."+newAr[px]+".checked")==true){x++}}if(x<min){if((x<min)&&(typ=="single")){for(var w=0;w<newAr.length;w++){hi[hi.length]=newAr[w]}send="You Must check "+disc+" Checkbox to submit this form";error_process(send)}if((x<min)&&(typ=="group")){send="Please select at least "+min+" checkbox"+((min>1)?"es":"")+" from "+disc;error_process(send)}}}function validate_confirm(field1,field2,disc){var field1_val=eval("document."+form_name+"."+field1+".value");var field2_val=eval("document."+form_name+"."+field2+".value");if(field1_val!=field2_val){send="The value for field "+disc+" is not confirmed";hi[hi.length]=field1;hi[hi.length]=field2;error_process(send)}}function validate_dates(g,c,f,e,b,a){var d=new Date(g,c-1,f);var h=new Date(e,b-1,a);if(h<d){send="End date should be after or equal to the start date";error_process(send)}}function error_process(a){if(process==1){if(error>=max_error){return}show_error[show_error.length]="-- "+a;error_counter("+")}if(process==0){filter=1}}function process_status(a){if(a=="start"){process=1}if(a=="stop"){process=0}return}function error_counter(a){switch(a){case"0":hi=new Array();error=0;break;case"1":if(error>0){back_m=0}else{back_m=1}break;case"+":error++;break;case"2":if(error>0){show_error[0]="Please re-enter the following field(s) again:\n";show_error[show_error.length]="\nPlease correct the above problems and submit again.";thi=hi;tkname=thi;tfname=form_name;alert(show_error.join("\n"));hi=new Array();field_id="";field_name="";field_type="";min=0;field_val="";temp_hi=hi;show_error=new Array();break}else{field_id="";field_name="";field_type="";min=0;field_val="";show_error=new Array();back_m=1;break}}}function disable(){return true;if(debug==1){alert("Disabling process started")}if(document.all||document.getElementById){for(i=0;i<eval("document."+form_name+".length");i++){var tempobj=eval("document."+form_name+".elements[i]");if(tempobj.type.toLowerCase()=="submit"||tempobj.type.toLowerCase()=="reset"){tempobj.disabled=true;if(tempobj.type.toLowerCase()=="submit"){tempobj.value="Please wait .."}}}}}function high_light_clear(){for(var k=0;k<tkname.length;k++){if(eval("document."+tfname+"."+tkname[k]+".type")!="radio"&&"button"&&"hidden"){eval("document."+tfname+"."+tkname[k]+".style.backgroundColor=''")}}}function high_light(){tkname=hi;tfname=form_name;high_light_clear();high_light_clear();for(var l=0;l<hi.length;l++){if(eval("document."+form_name+"."+hi[l]+".type")!="radio"&&"button"&&"hidden"){eval("document."+form_name+"."+hi[l]+".style.backgroundColor='fff79e'")}}}var bbg=0;var thi=new Array();function blink_bg(bbg){if(bbg==0){for(var l=0;l<thi.length;l++){if(eval("document."+form_name+"."+thi[l]+".type")!="radio"&&"button"&&"hidden"){eval("document."+form_name+"."+thi[l]+".style.backgroundColor='fff79e'")}}bbg=1}else{for(var k=0;k<tkname.length;k++){if(eval("document."+tfname+"."+tkname[k]+".type")!="radio"&&"button"&&"hidden"){eval("document."+tfname+"."+tkname[k]+".style.backgroundColor=''")}}bbg=0}}function emailCheck(d){var l=d.split(",");for(var t=0;t<l.length;t++){var b=l[t];var v=/^(.+)@(.+)$/;var s='\\(\\)<>@,;:\\\\\\"\\.\\[\\]\\*\\!\\~';var n="[^\\s"+s+"]";var e='("[^"]*")';var u=/^\[(\d{1,3})\.(\d{1,3})\.(\d{1,3})\.(\d{1,3})\]$/;var a=n+"+";var r="("+a+"|"+e+")";var o=new RegExp("^"+r+"(\\."+r+")*$");var g=new RegExp("^"+a+"(\\."+a+")*$");var c=b.match(v);if(c==null){return false}var w=c[1];var x=c[2];if(w.match(o)==null){return false}var k=x.match(u);if(k!=null){for(var p=1;p<=4;p++){if(k[p]>255){return false}}return true}var h=x.match(g);if(h==null){return false}var j=new RegExp(a,"g");var f=x.match(j);var q=f.length;if(f[f.length-1].length<2||f[f.length-1].length>20){return false}if(q<2){var m='This address is missing a hostname! "'+b+'"';return false}}return true};
</script>


<script async="" src="https://st.tistatic.com/ver9467/js/utils/ti-google.js"></script>
<meta name="google-site-verification" content="QzdNBrKKyvSPAiVN9LIQVdcvmtUMjsqweFmJnue2ZD4" />

<script>
  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
  })(window,document,'script','https://www.google-analytics.com/analytics.js','ga');

  ga('create', 'UA-77075769-36', 'auto');
  ga('create', 'UA-33141574-1', 'auto', {'name': 'catalog_rollup'});
  ga('create', 'UA-4539722-1', 'auto', {'name': 'ti_rollup'});
  ga('send', 'pageview'); 
  ga('catalog_rollup.send', 'pageview');
  ga('ti_rollup.send', 'pageview');

</script>

<style id="header_css" type="text/css"></style>
<style id="extra_css" type="text/css"></style>
<style id="res_css" type="text/css">

@import url(https://fonts.googleapis.com/css?family=Oswald:400,300); .proName{ height:32px; }
@media (max-width: 990px) { .nav_arrow a{background-image:none;} .nav_arrow{ background-image:none; }
.nav_arrow a:hover{ background-image:none!important; }
.logo_main { margin: 0 0 1% 0; }
.mission_img { float: left; margin: 0; width: 47%; }
.nav li a{ padding: 17px 26px; }
.main_text{ width:100%; }
.inner_txt { padding:2%; }
.slider, .second_ul, .showcase, .banner, .main_left, .main_txt_img, .left_link_bg, .about_image, .banner_left, .banner_static_img, .banner_static_img1, .sep, .flexslider, .left_cont, .para_box img { display:none; }
.para_txt{ width:auto; }
.mid_right { float: none; padding: 2%; width: auto; }
.contact_bg{ padding:2%; }
.home_text, .hp_product { width:auto; }
.img_display { display:block; }
.main { padding:0 1%; width:auto; }
.trust_stamp { display:none; }
.prod_main_con { overflow:hidden; }
} @media (max-width: 940px) { .cate_prod_cont { width:auto; float:none; }
.cate_prod_descr_cont { width: 76%; }
.cate_prod_img_cont { width: 20%; }
.alt_cate_prod_cont { width:auto; float:none; }
.alt_cate_prod_img_cont { width: 20%; }
.alt_cate_prod_descr_cont { width: 76%; }
} @media (max-width: 900px) { .nav li a { padding: 17px 10px; }
.footer{ padding:0 2%; }
} @media (max-width:800px) { .mid_left, .phone, .youtube_icon, .top_no, .top_icon, .social_icon_right, .contact_img, .footer_strip, .add_icon, .mission_img, .right_prod_main, .iso, .client_section_bg, .second_ul, .right_link_bg { display:none; }
.main { padding: 0; width: auto; }
.ti_services img{ float:none; }
.responsive_clear{ display:block; }
.main_text h1, .vision_txt h1{ text-align:center; }
.para_bg { padding: 2%; }
.social_icons{ display:none; }
.para_box{ border-right:none; text-align:center; border-bottom: 1px solid #dfdfdf; }
.last_para{ border-bottom: none; }
.top_bar, .vision_txt { text-align:center; }
.search_main{ background:#FFF; text-align:center; }
.main_text{ text-align:center; }
.footer_right ul{ margin:0; }
.read_more { float: none; margin: 10px auto 0; text-align: center; width: 160px; }
.call_us { float: none; padding: 8px 0; text-align: center; }
.nav { float: none; text-align: center; }
.nav ul { display: inline-block; }
.contact_heading { margin:0; }
.address { display:none; }
.ti_services_footer { text-align:center; }
.logo_main { float: none; text-align: center; width: auto; margin:10px 0; padding:5px 0; }
.mid_right { width:auto; }
.footer_right { float: none; padding: 2%; width: auto; }
.add_section { float:none; width: auto; }
.contact_detail { float:none; }
.footer ul { float:none; border:0; }
.para1 { border-bottom: 2px solid #FFFFFF; }
.footer ul { float: none; text-align: center; }
.co_name_small, .contact, .contact_detail, .contact_heading { text-align:center; }
.home_text, .home_text1 { width:auto; }
.social_network{ display:inline-table; }
.first_ul, .second_ul { border:0; }
.first_ul { float: none !important; margin: 0 !important; padding: 0 !important; text-align: center; width: auto; }
.second_ul { float: none !important; margin: 0 !important; padding: 0 2% !important; width: auto; }
.third_ul { float: none !important; margin: 0 !important; padding: 0 2% !important; width: 96% !important; }
.language_none { display:none; }
.responsive_logo { display:block; text-align:center; }
.header_right { float: none; margin: 0; text-align: center; }
.ti_services { float: none; padding: 10px 0; text-align:center; }
#search { border: 1px solid #ccc; display: inline-block; float: none; margin: 16px auto; }
#search1 form { width:100%; }
#bg { width: 256px; }
.social_icon_right { float: none; margin: 12px auto; width: 280px; }
/*showroom*/ .tooltip { display:none!important; }
.cate_prod_img_cont { float: none; margin: 0 auto; padding: 0; width: 35%; }
.cate_prod_descr_cont { width:96%; }
.cate_prod_img_cont img { max-width:100%; height:auto; width:100%; }
.cat_name_head { text-align:center; }
.prod_description { font-size: 14px; text-align: center; }
.enquiry_btn { float:none; }
.alt_cate_prod_img_cont { float: none; margin: 0 auto; padding: 0; width: 35%; }
.alt_cate_prod_descr_cont { width:96%; }
.alt_cat_name_head { text-align:center; }
.alt_prod_description { font-size: 14px; text-align: center; }
.alt_cate_prod_img_cont img { max-width:100%; height:auto; width:100%; }
.next_and_big_img_container { margin-right: -50%; }
.product_big_img_container img { height: auto; max-width: 53%; }
.pro_next_prod_main_container { left:244%; }
.product_big_img_container { width: 241%; }
} @media (max-width: 641px) { .banner_mid_bg, .para_box, .banner_bg, .product_gallery_bg, .para1, .product_gallery_title, .para_bg, .footer_links{ display:none; }
.header { padding:5px!important; }
.hp_product_bg { background: none repeat scroll 0 0 #ffffd8; }
.default_title{ margin:0; }
.proName a { font-size: 14px!important; }
.responsive_logo img { max-width:100%; }
.matterPart { border: 0 none; margin: 0 2% 3%; padding:2%; width: 42%; }
.middle_area { border-top: 0px solid #71C008; margin: 0px 0 0; }
.img_display { display:none; }
.inner_banner { display:none; }
.proName a { font-size: 21px; }
.sendInquary { display:none; }
.lead_col_cont { width:100%; margin:0; }
.cont_left_cont { margin:0; width:100%; }
.extra_cont { margin:0; width:100%; }
.static_send_inq { display:none; }
.logo_main { float: none; width: 100%; text-align:center; }
.ti_services { float: none; text-align: center; }
.logo { float:none; margin:0; text-align:center; }
.co_name { width:100%; max-width:none; float:none; text-align:center; }
.header_right { float:none; width:100%; }
.btn_cont { text-align:center; padding:20px 0; }
.laun_converter { display:none; }
.trade_lead_main_con { display:none; }
.key_per_btn_cont { width: 100%; padding:0; }
#search { margin: 20px 10px; }
.nav{ float:none; }
.nav> ul { width:100%; float:none; }
.nav> ul li#responsive-tab { display: block; width:100%; }
.nav> ul li#responsive-tab a { }
.nav> ul li#responsive-tab a:hover { display: block !important; }
.nav> ul li { display: none; width:100%; }
.nav li{ border-right:none; }
.nav li a{ text-align:center; background-image:none; }
.nav> ul li ul { display: none !important; position: static; width: 100%; border: 0 none; }
/*showroom*/ .cate_prod_cont { width: 97%; }
.alt_cate_prod_cont { width: 97%; }
.other_product_cel_num_1_container { float:none; border-right:0; width: auto; height: 175px; border-bottom: 1px solid #4F2B06; }
.other_product_cel_num_2_container { float:none; border-right:0; width: auto; height: 175px; border-bottom: 1px solid #4F2B06; }
.other_product_cel_num_3_container { float:none; border-right:0; width: auto; height: 175px; border-bottom: 1px solid #4F2B06; }
.back_link { border:0; }
.product_big_img_container { width: 235%; }
.next_and_big_img_container { margin-right: -50%; }
.pro_next_prod_main_container { left: 239%!important; position: absolute; width: 100%; }
.prod_descr_cont { width:100%; }
.other_prod_main_con { width:auto; }
.alt_prod_descr_cont { width:100%; }
.alt_other_prod_main_con { width:auto; }
.prod_img_cont { float: none; margin: 0 auto 20px; padding: 4px; width: 52%; }
.prod_img_cont:hover { float: none; margin: 0 auto 20px; padding: 4px; width: 52%; }
.alt_prod_img_cont { float: none; margin: 0 auto 20px; padding: 4px; width: 52%; }
.alt_prod_img_cont:hover { float: none; margin: 0 auto 20px; padding: 4px; width: 52%; }
.prod_cat_name { text-align:center; }
.prod_cat_descr { text-align:center; }
.alt_prod_cat_name { text-align:center; }
.alt_prod_cat_descr { text-align:center; }
.alt_prod_img_cont { float: none; margin: 0 auto 20px; padding: 4px; width: 52%; }
.alt_prod_cat_name a { text-align:center; }
.alt_prod_img_cont:hover { float: none; margin: 0 auto 20px; padding: 4px; width: 52%; }
.alt_prod_cat_descr { text-align:center; }
.cate_main_con { margin:0; padding:0; }
.contact_heading span { font-family:"Trebuchet MS", Arial, Helvetica, sans-serif; font-size:22px; color:#000000; text-align:center; font-weight:normal; padding:10px 0px 5px 0px; margin:0 auto; visibility:visible; display:block; border:none; -webkit-border-radius: 10px 10px 0 0; -moz-border-radius: 10px 10px 0 0; border-radius: 10px 10px 0 0; width:100% !important; }
.pro_link_cont li a { color: #09618B; font-weight: bold; }
.pro_link_cont_alt li a { color: #09618B; font-weight: bold; }
.alt_pro_link_cont li a { color: #09618B; font-weight: bold; }
.alt_pro_link_cont_alt li a { color: #09618B; font-weight: bold; }
} @media (max-width: 480px) { .mid_cont { padding: 5%; }
.main_text { width:auto; }
.hp_product { float: right; margin: 20px 0 0; padding: 0; width: auto; }
.para_bg { display:none; }
.footer_links { display:none; }
.para_cont { padding:0; }
.rotate_imgtxt { margin: 29px 0 0; padding: 2%; width: 96%; }
.social_left_cont { float: left; padding: 0; width: 290px; }
/*showroom*/ .pro_next_prod_main_container { left: 159% !important; }
.product_big_img_container { margin: 0 0 0 9%; width: 135%; }
.product_big_img_container img { height: auto; margin: 0 0 0 10px; max-width: 100%; }
.next_and_big_img_container { margin-right: -100%; }
.tinsearch { padding-bottom:0; }
.prod_img_cont { width: 92%; }
.prod_img_cont:hover { width: 92%; }
.alt_prod_img_cont { width: 92%; }
.alt_prod_img_cont:hover { width: 92%; }
.alt_pro_link_cont ul { width:100%; }
.alt_other_prod_main_con { width:100%; }
.more { margin: 10px 165px 0 0; }
.other_prod_main_con { width:100%; }
.pro_link_cont ul { width:100%; }
.footer_link { display:none; }
} @media (max-width: 360px) { .matterPart { margin-bottom: 20px; padding: 2%; width: 96%; margin: 0 0 12px; }
#bg { width: 223px; }
.main_text_bg { padding:15px; }
.homeProducts { padding:15px; background:none; }
.footer { padding: 10px 15px 20px; }
} /* Make sure they show even if hidden in mobile view by JS */ @media (min-width: 641px) { .nav> ul> li.collapsed { display: inline-block !important; *display: inline; zoom: 1; }
.nav> ul ul li.collapsed { display: block !important; }
}</style>



<script type="application/ld+json">{
   "@context" : "https://schema.org/",
   "@type" : "Product",
   "name" : "DC Regulated Power Supply 0 -30 V, 30 A",
   "description" : "Specification Basic Indicative Diagram DC Power Supply 0 -30 V, 30 A 0 - 30 V, 30 A(Parameters Description Three Channel DC Output 0 to 30V I 5mA Load Regulation Ripple & Noise Protection Built in Protection against Overload & short circuit should be provided, 3 digit seven segment LED for Voltage & current Input Supply 220V AC  10%, 50Hz Operating Temperature 0 to 55C",
   "image" : "https://cpimg.tistatic.com/10805418/b/4/DC-Regulated-Power-Supply-0-30-V-30-A.jpg",
   "url" : "https://www.4474747.com/dc-regulated-power-supply-0-30-v-30-a-10805418.html",
   "brand" : "Mars EDPAL Instruments Pvt. Ltd.",
   "category" : "Testing & Measuring Equipment",
   "additionalProperty" : [
      {
         "@type" : "PropertyValue",
         "name" : "Minimum Order Quantity",
         "value" : "1 Number"
      }
   ],
   "offers" : {
      "@type" : "Offer",
      "availability" : "https://schema.org/InStock",
      "eligibleQuantity" : {
         "@type" : "QuantitativeValue",
         "unitCode" : "FTK",
         "value" : "1"
      },
      "itemCondition" : "https://schema.org/NewCondition",
      "price" : "150000",
      "priceCurrency" : "INR"
   }
}
</script><script>window.addEventListener('message', function(event) { var iframe = document.getElementById('popup_iframe'); iframe = iframe.contentWindow || ( iframe.contentDocument.document || iframe.contentDocument); iframe.document.open(); iframe.document.write(event.data.message); iframe.document.close();  }, false);</script>
<link rel="canonical" href="https://www.4474747.com/dc-regulated-power-supply-0-30-v-30-a-10805418.html">
</head>
<body>
<!-- Google Tag Manager (noscript) --> <noscript>
<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-MNG3HP82" height="0" width="0" style="display:none;visibility:hidden"></iframe>
</noscript> <!-- End Google Tag Manager (noscript) -->


<div class="blur-bg"><style>
.regional-lang{
  		color:#ffffff;
		text-decoration:none; 
		background:#4d4d4d; 
		padding:3px 5px;
		border-radius:3px;
		} 
</style>
<div class="warpper"><div class="top_bar"><div class="main"><div class="ti_services"><a href="/contact-us.html"><img src="https://tiimg.tistatic.com/catalogs/template57916/send-inquiry.jpg" alt="Send Inquiry" title="Send Inquiry" class="img_responsive"></img></a>


      <a href="javascript:open_popup('/utils/sms_now.html?id=ID__220538__1550238__CATALOG__1024__Catalogs','FREESMS','toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=0,left=170,top=20,width=750,height=570');"  ><img src="https://tiimg.tistatic.com/catalogs/template57916/send-sms.jpg" alt="Send SMS" title="Send SMS" style="margin-left:5px;" class="img_responsive"></img></a> 


<style>
.video-call-icon{
        background: linear-gradient(180deg, #ffca0a, #ffa300);
        border-radius: 3px;
        color: #333333;
        display: inline;
        padding: 6px 12px;
        float: left;
        margin: 0 5px 0 0;
        border: 1px solid #e09204;
}
</style>



<!--
Hello current date id = 9559
Hello current_time_id = 400
Hello current_dow = 2
Hello country_code_viaip = IN
-->
<div class="clear"></div></div><div class="clear"></div></div></div><div class="header"><div class="main"><div class="logo_main"><a href="/"><img src="https://cpimg.tistatic.com/74266/3/template_photo_1.jpg" alt="Mars EDPAL Instruments Pvt. Ltd "></img></a></div><div class="header_right"><div class="social_icons"><table cellpadding="0" cellspacing="0" align="center"><tr><td align="center"><table class="social_network">
 <tr>
<td class="social_icons">
<a href="https://www.facebook.com/Mars-Edpal-Instruments-Pvt-Ltd-102558661256505/" title="Facebook" target="_blank"><img src="https://tiimg.tistatic.com/new_website1/social-icons/facebook.png" alt="Facebook"></a>



<a href="https://www.youtube.com/@marsedpalinstrumentspvt.lt9966" title="You Tube" target="_blank"><img src="https://tiimg.tistatic.com/new_website1/social-icons/youtube.png" alt="You Tube" border='0'></a>







</td>
</tr>
</table>
</td></tr></table></div><div class="fright language_none"><style>
.regional-lang{
  		color:#ffffff;
		text-decoration:none; 
		background:#4d4d4d; 
		padding:3px 5px;
		border-radius:3px;
		} 
</style>
</div><div class="clear"></div><div id="search"><form action="/Exporters_Suppliers/Exporters/hp/scripts/prod_search.html" onsubmit="return check_valid();" name="frm"><input name="keyword" onfocus="if(this.value==this.defaultValue)this.value=''" onblur="if(this.value=='')this.value=this.defaultValue" type="text" id="bg" value="Search Products" border="0"></input><input type="hidden" class="test_new" name="catalog_id" value="74266"></input><input name="submit" type="image" value="submit" src="https://tiimg.tistatic.com/catalogs/template57916/go.jpg" style="float:left;" class="search_button"></input></form></div><div class="clear"></div></div><div class="clear"></div></div></div><div class="main_nav"><div class="main"><div class="nav"><ul>
<li><a href="/" class="hilight" >Home Page</a></li>
<li><a href="/company-profile.html" class="hilight" >Company Profile</a></li>
<li class="dropdown">
<a href="/products.html" class="hilight" >
								Our Products
          		</a>
<ul>
  
<li><a href=testing-measuring-instruments.html>Laboratory Measuring Instruments</a>  
<ul>
    
<li><a href=dc-regulated-power-supply-0-30-v-30-a-10805418.html>Power Supply</a>    
<li><a href=spectrum-analyzer.html>Spectrum Analyzer</a>    
<li><a href=function-generator.html>Function Generator</a>    
<li><a href=measuring-meters.html>Measuring Meters</a>    
<li><a href=work-bench.html>Work Bench</a>    
<li><a href=oscilloscope.html>Oscilloscope</a>  
</ul>  
<li><a href=civil-engineering-lab.html>Civil Engineering Lab Equipments</a>  
<ul>
    
<li><a href=structure-analysis-lab.html>Structure Analysis Lab Equipment</a>    
<li><a href=survey-lab.html>Survey Lab Equipments</a>    
<li><a href=cement-concrete-lab.html>Cement & Concrete Lab</a>  
</ul>  
<li><a href=electrical-engineering-lab.html>Electrical Engineering Lab Equipments</a>  
<ul>
    
<li><a href=electrical-machine-lab.html>Electrical Machine Lab Equipments</a>    
<li><a href=power-system-lab.html>Power System Lab Equipment</a>  
</ul>  
<li><a href=electronics-communication-engineering-lab.html>Electronics & Communication Engineering Equipments</a>  
<ul>
    
<li><a href=analog-electronics-lab.html>Analog & Digital Electronics Lab Equipments</a>    
<li><a href=audio-visual-lab.html>Audio Visual Lab Equipments</a>    
<li><a href=communication-lab.html>Communication Lab Equipments</a>    
<li><a href=control-system-lab.html>Control System Lab Equipments</a>    
<li><a href=digital-electronics-lab.html>Digital Electronics Lab</a>    
<li><a href=instrumentation-lab.html>Instrumentation Lab Equipments</a>    
<li><a href=microprocessor-microcontroller-lab.html>Microprocessor & Microcontroller Lab Equipments</a>  
</ul>  
<li><a href=power-hacksaw-machine-6655303.html>Mechanical Engineering Lab Equipments</a>  
<ul>
    
<li><a href=automobile-lab.html>Automobile Lab Equipments</a>    
<li><a href=fluid-mechanics-machinery.html>Fluid Mechanics Lab Equipments</a>    
<li><a href=heat-transfer-lab.html>Heat Transfer Laboratory Equipment</a>    
<li><a href=hydraulic-pneumatic-trainer.html>Hydraulic Pneumatic Trainer</a>    
<li><a href=refrigeration-air-conditioning-lab.html>Refrigeration & Air Conditioning Lab Equipments</a>    
<li><a href=theory-of-machines-lab.html>Theory of Machines Lab Equipments</a>  
</ul>  
<li><a href=physics-lab.html>Physics Lab Equipment</a>  
<li><a href=automobile-engineering-lab-equipment.html>Automobile Engineering Lab Equipment</a>  
<ul>
    
<li><a href=auto-electrical-test-bench-4961608.html>IC Engines Lab</a>    
<li><a href=automobile-lab-models.html>Automobile Lab Models</a>  
</ul>  
<li><a href=machine-lab.html>Machine Lab</a>  
<ul>
    
<li><a href=cnc-machine-trainers.html>CNC Machine Trainers</a>    
<li><a href=lathe-machine-milling-machine.html>Lathe Machine/Milling Machine</a>    
<li><a href=shaper-machine-slotting-machine-planner-machine.html>Shaper Machine Slotting Machine Planner Machine</a>  
</ul>  
<li><a href=welding-machines-equipment.html>Welding Machines & Equipment</a>  
<li><a href=renewable-energy-lab.html>Renewable Energy Lab</a>  
<li><a href=iti-trades-lab-equipments.html>ITI Trades Lab Equipments</a>
</ul>
</li>
<li><a href="/why-us.html">Why Us</a></li>
<li><a href="/iti-equipments-machinery.html">ITI Equipments &amp; Machinery</a></li>
<li style="border:none;"><a href="/contact-us.html">Contact Us</a></li>
</ul>
<div class="clear"></div></div><div class="clear"></div></div><div class="clear"></div></div><div class="inner_txt">
 










<link href="https://st.tistatic.com/ver9485/css/catalog/theme1.css" rel="stylesheet" type="text/css">
<link href="https://st.tistatic.com/ver9485/css/catalog/jssocials.css" rel="stylesheet" type="text/css">
<script src= "https://st.tistatic.com/ver9485/js/catalog/custom_function.js"></script>
<script src= "https://st.tistatic.com/ver9485/js/catalog/jssocials.min.js"></script>
<!--Product Info Section Starts Here-->
<style>

.request-button { text-align:center }
button {
        width: 200px;
        min-height: 45px;
        padding: 10px 10px;
        color: #FFF;
        font: 15px "Century Gothic",Verdana,sans-serif;
        line-height: 20px;
        text-transform: uppercase;
        border-radius: 3px;
        border: none;
        cursor: pointer;
        background: #f48d35;
        /*float:left;*/
        margin:5px;
        font-weight:bold;
}
.contact-form-container .common-form dd{
        margin: 0 0 2% 0;
}
button:hover{
        background:#e17920;
}
.bgOverlay{
        display:none;
        background:#000;
        opacity:0;
        width:100%;
        height:100%;
        position:fixed;
        z-index:10001;
        top:0;
        left:0;
}
.popupModel{
        /*max-height:calc(100% - 100px);*/
        padding:30px 0;
        box-sizing:border-box;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        position:fixed;
        top:-50%;
        left:50%;
        transform:translate(-50%, -50%);
        background:#fff;
        z-index:10002;
        transition:all 0.5s;
}
.popupModel .popupCover{
        width:100%;
        padding: 0 15px;
}
.closePopup{
        position:absolute;
        right:0;
        top:0;
        width:30px;
        height:30px;
        cursor:pointer;
        background:#ec0000;
        color:#ffffff;
        text-align:center;
        line-height:30px;
}
.sendInqAnc{
        width: 200px;min-height: 24px;padding: 13px 0 9px;color: #fff;font: 15px Century Gothic,Verdana,sans-serif;line-height: 20px;text-transform: uppercase;border-radius: 3px;border: none;cursor: pointer;background: #f48d35;margin: 5px;font-weight: bold;
display:inline-block;}
.sendInqAnc:hover {
        background: #e17920;
}
@media (max-width:480px){
.popupModel {
    height: 420px !important;
    overflow: hidden;

    overflow-y: scroll;
}
}
@media (max-width: 575.98px){
        .popupModel{width:90%;}
        .popupModel .popupCover{max-height:350px;}
}

@media(min-width:576px) and (max-width:767.98px){
        .popupModel{width:80%;}
}

@media(min-width: 768px) and (max-width: 991.98px){
        .popupModel{width:70%;}
}



</style>


<!-- Product-info-section starts here -->
    <div class="product-info-section-main" id="productInfoSectionMain">
        <div class="container">
            <div class="product-info-section clearfix">
                <div class="slideMainCnt">
                        <div class="slideSubCnt">

                <div class="product-thumbnail-section" id="product-img-nav">

				<span>
					<img src="https://cpimg.tistatic.com/10805418/b/4/DC-Regulated-Power-Supply-0-30-V-30-A.jpg" alt="DC Regulated Power Supply 0 -30 V, 30 A" border="0">
				</span>

		<span>
		 <img src="https://cpimg.tistatic.com/10805419/s/4/extra-10805419.jpg" alt="DC Regulated Power Supply 0 -30 V, 30 A" border="0">
		</span>


                </div>
                <div class="main-image-section" id="product-img-main">
									<div class="main-image-area">	
										<img src="https://cpimg.tistatic.com/10805418/b/4/DC-Regulated-Power-Supply-0-30-V-30-A.jpg" alt="DC Regulated Power Supply 0 -30 V, 30 A" border="0">
									</div>

				<img src="https://cpimg.tistatic.com/10805419/b/4/extra-10805419.jpg" alt="DC Regulated Power Supply 0 -30 V, 30 A" border="0">
                </div>

        </div>
        <div style="clear:both"></div>
        <div class="moreVideo">

        </div>
</div>


                <div class="product-info-details">
<link href="https://st.tistatic.com/ver9485/css/catalog/breadcrumb.css" rel="stylesheet" type="text/css">

<div class="breadcrumb">
<ul itemscope itemtype="http://schema.org/BreadcrumbList">
      <li itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem">
                  <a itemscope="" itemtype="http://schema.org/Thing" itemprop="item" id="https://www.4474747.com/" href="https://www.4474747.com/"><span itemprop="name">Home</span></a>
                  <meta itemprop="position" content="1" />
</li>
      <li itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem">
                  <a itemscope="" itemtype="http://schema.org/Thing" itemprop="item" id="https://www.4474747.com/products.html" href="https://www.4474747.com/products.html"><span itemprop="name">Products</span></a>
                  <meta itemprop="position" content="2" />
</li>
      <li itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem">
                  <a itemscope="" itemtype="http://schema.org/Thing" itemprop="item" id="https://www.4474747.com/testing-measuring-instruments.html" href="https://www.4474747.com/testing-measuring-instruments.html"><span itemprop="name">Laboratory Measuring Instruments</span></a>
                  <meta itemprop="position" content="3" />
</li>
      <li itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem">
                  <a itemscope="" itemtype="http://schema.org/Thing" itemprop="item" id="https://www.4474747.com/dc-regulated-power-supply-0-30-v-30-a-10805418.html" href="https://www.4474747.com/dc-regulated-power-supply-0-30-v-30-a-10805418.html"><span itemprop="name">Laboratory Measuring Instruments</span></a>
                  <meta itemprop="position" content="4" />
</li>
      <li itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem">
                  <span itemprop="name">DC Regulated Power Supply 0 -30 V, 30 A</span>
                  <meta itemprop="position" content="5" />
</li>
</ul>
</div>


				                    <div class="product-heading">

                        <h1>DC Regulated Power Supply 0 -30 V, 30 A</h1>
                    </div>
                    <div class="product-price-section">
                        <div class="product-price">
                            <span>150000 INR/Number </span>

                        </div>
                       <!-- <div class="get-price-btn">
                            <a href="javascript:void(0);" class="requirement" >Get a Price/Quote</a>
                        </div>-->
			 <div class="get-price-btn">
			     <a href="javascript:void(0);" id = "send_a_inq_10805418" class="btn btn-secondary">Get a Price/Quote</a>
			 </div>


                    </div>


                    <div class="product-details">
                        <h3>Product Details:</h3>
                        <ul>

                            <li>
                                <a href="#productInfo">Click to View more</a>
                            </li>
                            <li>
                                <div class="share-your-product">
                                        <i>Share Your Product:</i>
                                        <div id="socialShare"></div>
                                </div>       
                            </li>
                        </ul>
                    </div>
                    <div class="product-detail-btn-section">
                        <a href="javascript:void(0);" id="request_a_callback" class="btn btn-secondary request_a_callback">Request to Call Back</a>

						<!--<a id ="pp_inq_form" class="btn btn-primary" href="#inq_pp" >Send Inquiry</a>-->
						<a id ="send_a_inq_10805418" class="btn btn-primary inq_button" href="javascript:void(0);" >Send Inquiry</a>

                    </div>
                </div>
            </div>
        </div>
    </div>
    <!-- Product-info-section ends here -->

<div class="bgOverlay"></div>
<div class="popupModel">
        <div class="closePopup">X</div>
                <div class="popupCover" id ="hide_show_popup">
<iframe src = "" style="width: 840px; height:373px;  border: none;" id="popup_iframe"></iframe>
                </div>
</div>

<script>
$(document).on('click', 'a[href^="#"]', function (event) {
    event.preventDefault();

    $('html, body').animate({
        scrollTop: $($.attr(this, 'href')).offset().top
    }, 500);
});

$(document).ready(function(){
        $('.requirement').on('click', function (event) {
                var get_catalog_id = $("#get_catalog_id").val();
                var get_id = $("#get_id").val();
                var get_b2b_logged_in = $("#get_b2b_logged_in").val();
                $("#popup_iframe").attr("src",'/Exporters_Suppliers/Exporters/hp/scripts/send_inquiry_popup.html?catalog_id='+get_catalog_id+'&id='+get_id+'&logged_in='+get_b2b_logged_in);
                $(".bgOverlay").fadeTo(500, 0.8);
                $(".popupModel").css({"top": "50%"});
                getWidth = $(".popupModel").innerWidth();
                $("#popup_iframe").css("width",getWidth-20);
                $("#popup_iframe").css("height","373px");
                var heightGet = $('#popup_iframe').contents().find("body").height();
        });
     $(".closePopup").click(function(){
                $(".bgOverlay").fadeOut(900, 0);
                $(".popupModel").css({"top": "-50%"});
                $("#popup_iframe").attr("src",'');
        });
     $("#pp_inq_form").click(function(){
                if(!$("#get_id_rfi_group_id").val() && '0'){
                        postInquiry();
                }
        });
        try {
                let test = document.querySelector(".jssocials-share-whatsapp a");
                let test_href = test.getAttribute("href");
                let jssocials = document.getElementsByClassName("jssocials-share-whatsapp")[0];
                jssocials.addEventListener("click", function(event) {
                // Prevent the default link behavior
                event.preventDefault();
                // Redirect to the specified URL
                window.location.href = test_href;
                });
        }catch(err){
                console.log("ERROR")
        }
});

<!-- Social Icons JS starts Here -->
    $("#socialShare").jsSocials({
      shareIn: "popup",
      showLabel: false,
      shares: [{
        url: "www.4474747.com/dc-regulated-power-supply-0-30-v-30-a-10805418.html",
        share: "facebook",
        logo: "https://tiimg.tistatic.com/new_website1/ti-design/catalog/images/fb.png"
      },{
        url: "www.4474747.com/dc-regulated-power-supply-0-30-v-30-a-10805418.html",
        share: "twitter",
        logo: "https://tiimg.tistatic.com/new_website1/ti-design/catalog/images/twitter.png"
      },{
        url: "www.4474747.com/dc-regulated-power-supply-0-30-v-30-a-10805418.html",
        share: "linkedin",
        logo: "https://tiimg.tistatic.com/new_website1/ti-design/catalog/images/linkedin.png"
      }
      ]
    });
  <!-- Social Icons JS Ends Here -->


function postInquiry() {
                var dataString = $("#formID").serialize();
                $.ajax({
                        url: '/Exporters_Suppliers/Exporters/hp/scripts/instant_inquiry.html',
                        async: false,
                        type: 'post',
                        dataType: 'json',
                        data: dataString,
                        success: function(data) {
                        if(data.SUCCESS.rfi_group_id){
                                $("#get_id_rfi_group_id").val(data.SUCCESS.rfi_group_id);
                                $("#rfi_group_id").val(data.SUCCESS.rfi_group_id);
                                var pre_rfis_id = $(data).filter('#pre_rfis_id');
                        }
                        },
                        error:function (xhr, ajaxOptions, thrownError){
                                $('.loading-img').addClass('hidden');
                        }
                });

}
</script>


<!--Product Info Section Ends Here-->


<!--Other Info Section Starts Here-->
	<div class="other-info-section-main">
		<div class="container">
			<div class="other-info-section" id="productInfo">
				
<div class="product-specs-section-main" id="productSpecsSection">
                    <div class="product-specs-section">
                        <h2>DC Regulated Power Supply 0 -30 V, 30 A Price And Quantity</h2>

                        <ul class="clearfix">
                            <li>
                                <label>Minimum Order Quantity</label>
                                <span>1 Number </span>
                            </li>

                            <li>
                                <label>Price Range</label>
                                <span>135000.00 - 150000.00 INR/Number </span>
                            </li>

                            <li>
                                <label>Price</label>
                                <span>150000 INR/Number </span>
                            </li>

                        </ul>

                    </div>
                    <div class="product-specs-section">



                        <h2>DC Regulated Power Supply 0 -30 V, 30 A Trade Information</h2>
                        <ul class="clearfix">
                            <li>
                                <label>Main Domestic Market</label>
                                <span>All India </span>
                            </li>
                            <li>
                                <label>Certifications</label>
                                <span>ISO</span>
                            </li>
                        </ul>
                    </div>
</div>


				
<div class="product-description-section-main" id="productDescription">
                    <div class="product-description-section">
                        <h2>Product Description</h2>
						<p>Specification</p><p>Basic Indicative Diagram</p><p>DC Power Supply 0 -30 V, 30 A</p><p>0 - 30 V, 30 A(Parameters Description Three Channel DC Output 0 to 30V</p><p>I&nbsp; 5mA Load Regulation &lt; &plusmn; ( 0.05% + 10mV)</p><p>Ripple &amp; Noise &lt; 1mVrms Current Limit adjustment 100mA to max.</p><p>Protection Built in Protection against Overload &amp; short circuit should be provided,</p><p>3 digit seven segment LED for Voltage &amp; current</p><p>Input Supply 220V AC &plusmn; 10%, 50Hz</p><p>Operating Temperature 0 to 55C</p>
                        
                    </div>
                </div>

			</div>
		</div>
	</div>
<!--Other Info Section Ends Here-->
<form method="post" name="inquiry">
<input type="hidden" name="request_from" value="/Exporters_Suppliers/Exporters/hp/scripts/product_details.html?product_id=10805418">
<input type="hidden" name="catalog_id" value="74266">
<input type="hidden" name="popup_ID" id="get_id" value="ID_74266_1024_10805418">
<input type="hidden" name="popup_catalog_id" value="74266" id ="get_catalog_id">
<input type="hidden" name="popup_b2b_logged_in" value="0" id ="get_b2b_logged_in">
<input type="hidden" name="rfi_group_id" value ="" id ="get_id_rfi_group_id">
</form>


<div class="rfqFormDtlPage" id="inq_pp1">
    <div id="inq_pp" class="form_product_bg">

        <div class="pro_inquiry_show" id="div_inquiry_pp">

        <div class="" id="sendInquiry_normal" style="display: block; position:relative" >
                        <!-- step 1 -->
                <div class="mcFormDetailCnt" id="requirment_details_div" style="display:block;"  >
                    <div class="mcTitleModalPopup">Tell us about your requirement</div>
                    <div class="mcSendInqPro" id="prod_info_div" >
                        <div class="mcImgCnt">
                            <img id='prod_image'  src="images/product-detail-img.png" alt="product">
                        </div>
                        <div class="mcInfoCnt">
                            <p class="mcProName" id="prod_name"  > </p>
                            <p class="mcProPrice" id="prod_price_div"  > <span id="prod_price_p" >Price: </span> <span id="prod_price" > </span> </p>
                            <input type="hidden" id="catalog_id" value="" />
                            <input type="hidden" id="product_id" value="10805418" />
                            <input type="hidden" id="product_price" value="" />
                            <input type="hidden" id="product_price_unit" value="" />
                            <input type="hidden" id="product_moq_hidden" value="" />
                            <input type="hidden" id="product_url" value="" />
                            <input type="hidden" id="mobile_with_isd" value="" />
                            <input type="hidden" id="button_path" value="" />
                            <input type="hidden" id="is_otp_verified" value="0" />
                            <input type="hidden" id="base_url" value="https://www.4474747.com" />
                            <input type="hidden" id="data_btn_source" value="product_page_fixed" />
                            <input type="hidden" id="show_extra_form" value="0" />
                            <input type="hidden" id="country_code_via_ip" value="IN" />
                            <input type="hidden" id="remove_opt_verification_section" value="0" />
                        </div>
                    </div>
                    <div class="mcFormGroup" id="product_attr_div" >
                        <!--label class="formLabel">Quantity *</label-->
                        <div class="mcCol2">
                            <div class="mcFormCnt">
                                <input type="text" id="prod_moq"  value="" >
                                <span class="mcFloatingLabel">Quantity</span>
                            </div>
                            <div class="mcFormCnt selectBox">
                                <select  id="prod_moq_unit"> </select>
                                <span class="mcFloatingLabel">Select Unit</span>
                            </div>
                            <p class="formError" id="prod_moq_error" ></p>
                        </div>
                    </div>
                    <div class="mcFormGroup" id="qty_div" >
                        <ul class="mcSendInqQty" id="send_enquiry_quantity_ul" >
                            <li class="active qtyNum">50</li>
                            <li class="qtyNum">100</li>
                            <li class="qtyNum">200</li>
                            <li class="qtyNum">250</li>
                            <li class="qtyNum">500</li>
                            <li class="qtyNum">1000+</li>
                        </ul>
                    </div>
                    <div class="mcFormGroup">
                        <div class="mcFormCnt">
                            <input type="text" id="inquiry_comment"  value="" >
                            <span class="mcFloatingLabel">Additional detail</span>
                        </div>
                    </div>
                    <div class="flagEmailMobi" id="inquiry_form_dial_code_div"  >
                        <div class="mcFormGroup mobileInput" id="inquiry_mobile_div" >
                            <div class="mcFormCnt mcMobileCnt">
                                <input type="text" id="inquiry_mobile" name="mobile" value="" required="">
                                <span class="mcFloatingLabel" id="mobile_label"  >Mobile number</span>
                            </div>
                            <p class="formError" id="inquiry_mobile_error" style="display: block; padding-left: 115px;"> </p>
                        </div>

                        <div class="mcFormGroup emailInput emailInput_sendInq emailMobileNone">
                            <div class="mcFormCnt">
                                <input type="text" id="inquiry_email" name="email" value="" required="">
                                <span class="mcFloatingLabel">Email</span>
                            </div>
                            <p class="formError" id="inquiry_email_error"  style="display: block;"> </p>
                            <input type="hidden" id="logged_in" name="email" value="0" required="">    
                        </div>
                    </div>
                    <div class="errorText global_send_inquiry_error"  style="display:none; color:crimson;"></div>
                    <div class="successText global_send_inquiry_success" style="display: none;"></div>
                    <div class="mcBtnCnt">
                        <input type="submit" value="Submit Now" class="mcBtn" onclick="normal_validate_inquiery_form_ff();" >
                    </div>
                </div>

                
                <!-- extra from div start   -->
                <div style="display:none; margin-top: 25px;" id="extra_form" >
                   <div class="mcFormDetailCnt">
                     <div class="mcFormGroup">
                       <div class="mcFormCnt">
                           <input type="text" id="uname"  value="" required="">
                           <span class="mcFloatingLabel">Name</span>
                       </div>
                        <p class="formError" id="uname_error" style="display:none ;"></p>
                     </div>

                     <div class="mcFormGroup">
                       <div class="mcFormCnt">
                           <input type="text" id="uco_name"  value="" required="">
                           <span class="mcFloatingLabel">Comapny Name</span>
                       </div>
                       <p class="formError" id="uco_name_error" style="display:none ;"></p>
                     </div>

                     <div class="mcFormGroup" id="ext_mobile_number_div" >
                       <div class="mcFormCnt">
                           <input type="text" id="ext_mobile_number"  value="" required="">
                           <span class="mcFloatingLabel"> Phone Number</span>
                       </div>
                       <p class="formError" id="ext_mobile_number_error" style="display:none ;"></p>
                     </div>

                     <div class="mcFormGroup" id="ext_mail_div" >
                       <div class="mcFormCnt">
                           <input type="text" id="ext_mail"  value="" required="">
                           <span class="mcFloatingLabel">Email Id</span>
                       </div>
                        <p class="formError" id="ext_mail_error" style="display:none ;"></p>
                     </div>

                     <div class="mcFormGroup">
                       <div class="mcFormCnt" style="position:relative" >
                           <input type="text" id="ext_city_state"  value="" required="">
                           <input type="hidden" id="ext_city_state_sel"  value="" >     
                           <span class="mcFloatingLabel">City / State</span>
                           <ul class="citySearchList" id='city_search_option'> </ul>
                       </div>
                     </div>

                     <div class="mcBtnCnt">
                         <input type="submit" value="Submit" class="mcBtn" onclick="normal_save_extra_form();"  >
                     </div>
                   </div>
                 </div>
                <!-- extra from div end -->

                <!-- step 2 -->
                <div id="inquiry_form_otp_confirmation_div" style="display: none;">
                    <div class="mcTitleModalPopup">Confirm Your Requirement</div>
                    <div class="mcFormDetailCnt">
                        <p class="mcInfo" id="send_inquiry_otp_text"  > </p>
                        <div class="mcFormGroup">
                            <div class="mcFormCnt">
                                <input type="text" id="inquiry_otp_input"  value="" maxlength="4" pattern="\d{4}" required="">
                                <span class="mcFloatingLabel">Verification Code</span>
                            </div>
                            <p class="formError" id="inquiry_otp_input_error" ></p>
                        </div>
                        <div class="mcResendSec">
                            <span class="mcQuestion" id="send_inquiry_question" >Did not receive yet?</span>
                            <div>
                                <span class="mcResendOtp" id='inquiry_resend_otp' >Resend OTP</span>
                                <span id="send_inquiry_normal_timer"></span>
                            </div>
                        </div>
                        <div>
                             <input type="hidden" id="category_ids"  value="" >
                             <input type="hidden" id="business_kw_ids"  value="" >
                             <input type="hidden" id="selected_product_ids"  value="" >
                             <input type="hidden" id="form_prefix"  value="" >
                             <input type="hidden" id="order_value_inr"  value="" >
                             <input type="hidden" id="units"  value="" >
                             <input type="hidden" id="quantity_descr"  value="" >
                             <input type="hidden" id="order_value_usd"  value="" >
                             <input type="hidden" id="req_type"  value="" >
                             <input type="hidden" id="currency"  value="" >
                             <input type="hidden" id="pref_supp_location"  value="" >
                             <input type="hidden" id="buying_need"  value="" >
                             <input type="hidden" id="regular_req_type"  value="" >
                             <input type="hidden" id="quick_inq_id"  value="" >
                             <input type="hidden" id="rfi_group_id"  value="" >
                             <input type="hidden" id="rfis_sent_unmdrtd"  value="" >
                             <input type="hidden" id="rfis_all"  value="" >
                             <input type="hidden" id="sectionname"  value="" >
                             <input type="hidden" id="pagename"  value="" >
                             <input type="hidden" id="rfiids"  value="" >
                             <input type="hidden" id="sender_userid"  value="" >
                        </div>
                        <div class="mcBtnCnt">
                            <input type="submit"  value="Confirm Requirement" class="mcBtn" id="otp_validation_btn" >
                        </div>
                    </div>
                </div>

                <!-- step 3 -->
                <div id="inquiry_success_div" style="display: none;">
                    <div class="mcFormDetailCnt">
                        <div class="mcThanksCnt">
                            <img src="https://tiimg.tistatic.com/new_website1/ti-design/catalog/images/check.svg" alt="done">
                            <div class="mcThankTitle">You&rsquo;re Done!</div>
                            <div class="mcThankSubTitle">We have received your requirements and will reply shortly with the best price.</div>
                            <div class="mcProductYouLike" id="product_list" >
                                <div class="mcTitle">Products You May Like</div>
                                <div class="mcProdLikeList" id="inquiry_form_similar_product_list" >
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            <!-- Loader-section Starts here -->
            <div class="loading-container" id="loaderPopUp"  style="display:none" >
                <div class="loader">
                    <div></div>
                    <div></div>
                </div>
                <label><b>Please Wait...</b></label>
            </div>
            <!-- Loader-section Ends here -->
</div>

<link rel="stylesheet" href="https://st.tistatic.com/ver9485/css/catalog/new_forms.css" type="text/css" />
<script type="text/javascript" src="https://st.tistatic.com/ver9485/js/payments/jquery.validate.js"></script>
<script type="text/javascript" src="https://st.tistatic.com/ver9485/js/tradeindia/design2017/intlTelInput.js"></script>

<script>

$ = jQuery.noConflict();
$(document).ready(function(){

        $("#sendInquiry_normal #inquiry_mobile, #sendInquiry_normal #inquiry_email").focus(function () {
                    $(this).parents('.mcMobileCnt').find('.mcFloatingLabel').addClass('active');
            }).blur(function () {
                    $(this).parents('.mcMobileCnt').find('.mcFloatingLabel').removeClass('active');
            })
            $('#sendInquiry_normal #inquiry_mobile, #sendInquiry_normal #inquiry_email').on('keyup', function () {
                    var inputValue = $(this).val();
                    if (inputValue != '') {
                            $(this).parents('.mcMobileCnt').find('.mcFloatingLabel').addClass('active2');
                    } else {
                            $(this).parents('.mcMobileCnt').find('.mcFloatingLabel').removeClass('active2');
                    }
            });

        $('.closeView').click(function(){
                $('.catModel').hide();
        });

        $("#sendInquiry_normal #inquiry_mobile" ).intlTelInput({
                preferredCountries: ["in", "ae" ,"us" ,"cn"],
                separateDialCode: true,
                initialCountry: ""
        });

        var input = $("#sendInquiry_normal #inquiry_mobile");
        input.intlTelInput();
        input.on("countrychange", function() {
                var cont_data = input.intlTelInput("getSelectedCountryData");
                $('#sendInquiry_normal #inquiry_email_error').css('display','none');
                $('#sendInquiry_normal #inquiry_mobile_error').css('display','none');
                if(cont_data && cont_data.iso2){
                        $('#sendInquiry_normal #country_code_via_ip').val(cont_data.iso2.toUpperCase());
                }
                if(parseInt(cont_data.dialCode) == 91){
                        $('#sendInquiry_normal #inquiry_mobile').removeClass('emailMobileNone');
                        $('#sendInquiry_normal .emailInput_sendInq').addClass('emailMobileNone');
                        $('#sendInquiry_normal #mobile_label').css('display','block');
                }else{
                        $('#sendInquiry_normal .emailInput_sendInq').removeClass('emailMobileNone');
                        $('#sendInquiry_normal #inquiry_mobile').addClass('emailMobileNone');
                        $('#sendInquiry_normal #mobile_label').css('display','none');
                }
        }); 


        $('#sendInquiry_normal .qtyNum').on('click',function(){
                $(this).parent().find('.active').removeClass('active');
                $(this).addClass('active');
                $('#sendInquiry_normal #prod_moq').val($(this).text() );
        });

        $('#sendInquiry_normal #inquiry_mobile').on('click',function(){
                $('#sendInquiry_normal #inquiry_mobile_error').css('display','none');
                $('#sendInquiry_normal .global_quick_inquiry_error').css('display','none');
        });

        $('#sendInquiry_normal #inquiry_email').on('click',function(){
            $('#sendInquiry_normal #inquiry_email_error').css('display','none');
        });


        $('#sendInquiry_normal #prod_moq').on('click',function(){
            $('#sendInquiry_normal #prod_moq_error').css('display','none');
            $('#sendInquiry_normal .global_quick_inquiry_error').css('display','none');
        });

        $('#sendInquiry_normal #inquiry_otp_input').on('click',function(){
            $('#sendInquiry_normal #inquiry_otp_input_error').css('display','none');
        });
        
        load_send_inquiry_fixed_form();

});


let timerOn_se_fixed = true;
function startTimer_se_fixed(remaining) {
    var m = Math.floor(remaining / 60);
    var s = remaining % 60;

    m = m < 10 ? '0' + m : m;
    s = s < 10 ? '0' + s : s;
    document.getElementById('send_inquiry_normal_timer').innerHTML = m + ':' + s;
    remaining -= 1;

    if (remaining >= 0 && timerOn_se_fixed) {
        setTimeout(function () {
            startTimer_se_fixed(remaining);
        }, 1000);
        return;
    }

    if (!timerOn_se_fixed) {
        $('#sendInquiry_normal #inquiry_resend_otp').css('display','none');
        $('#sendInquiry_normal #send_inquiry_normal_timer').css('display','block');
    } else {

        $('#sendInquiry_normal #inquiry_resend_otp').css('display','block');
        $('#sendInquiry_normal #send_inquiry_normal_timer').css('display','none');
    }
}

function timer_se_fixed(remaining ){
        let timerOn_se_fixed = true;
        $('#sendInquiry_normal #inquiry_resend_otp').css('display','none');
        $('#sendInquiry_normal #send_inquiry_normal_timer').css('display','block');
        startTimer_se_fixed(remaining);  
}


function load_send_inquiry_fixed_form(){

                 var catalog_id = "74266";
                var product_id = "10805418";
                var is_otp_verified = $('#sendInquiry_normal #is_otp_verified').val();
                var ajx_url = '/get_catalog_product_details.html';
                if(product_id){
                         $.ajax({
                                 url: ajx_url,
                                 type: 'post',
                                 dataType: 'json',
                                 async : true,
                                 data: {'catalog_id':catalog_id,'product_id':product_id },
                                 success: function(response) {
                                                 //console.log(response);
                                                 if(response.SUCCESS){
                                                      var data = response.SUCCESS;
                                                      var cust_data = data.custom_fields_data[1];       
                                                      $('#sendInquiry_normal #catalog_id').val(data.catalog_id);   
                                                      $('#sendInquiry_normal #prod_name').html(data.product_description);
                                                      $('#sendInquiry_normal #prod_image').attr('src',data.product_image);   
                                                      $('#sendInquiry_normal #prod_image').attr('alt',data.product_description);   
                                                      $('#sendInquiry_normal #product_id').val(product_id);
                                                      if(data.product_url){
                                                                 $('#sendInquiry_normal #product_url').val(data.product_url)
                                                      }
                                                         
                                                      if(cust_data && cust_data['Price '] && cust_data['Price ']['value'] && cust_data['Unit of Price'] && cust_data['Unit of Price']['value']){
                                                        var prod_price_unit;
                                                         if(cust_data && cust_data['Unit of Price'] && cust_data['Unit of Price']['value']){
                                                           prod_price_unit = cust_data['Unit of Price']['value'].split('/')[0]; 
                                                         }
                                                         $('#sendInquiry_normal #prod_price').html(cust_data['Price ']['value'] +'/'+prod_price_unit ); 
                                                         $('#sendInquiry_normal #product_price').html(cust_data['Price ']['value']);
                                                         $('#sendInquiry_normal #product_price_unit').val(cust_data['Unit of Price']['value']);
                                                         $('#sendInquiry_normal #prod_price_div').css('display','block');
                                                      }else{
                                                         $('#sendInquiry_normal #prod_price_div').css('display','none');
                                                      }   
                                                      if(cust_data && cust_data['Minimum Order Quantity'] && cust_data['Minimum Order Quantity']['value'] && cust_data['Unit of Measure'] && cust_data['Unit of Measure']['value']){
                                                         if( parseInt(cust_data['Minimum Order Quantity']['value']) > 1){
                                                                 var next_moq = roundnum(cust_data['Minimum Order Quantity']['value']);
                                                                 var li_str = '';
                                                                 for(var i = 1; i <= 6; i++) {
                                                                         next_moq = (parseInt(next_moq) + 50*i);
                                                                         li_str += '<li class="qtyNum" onclick="set_moq_send_enquiry(this,\'sendInquiry_normal\');"  >'+next_moq+'</li>';
                                                                 }
                                                                 $('#sendInquiry_normal #send_enquiry_quantity_ul').html(li_str);
                                                         }
                                                         $('#sendInquiry_normal #prod_moq').val(cust_data['Minimum Order Quantity']['value']);
                                                         $('#sendInquiry_normal #product_moq_hidden').val(cust_data['Minimum Order Quantity']['value'])
                                                         $('#sendInquiry_normal #prod_moq_unit').append('<option>'+cust_data['Unit of Measure']['value']+'</option>');
                                                         $('#sendInquiry_normal #product_attr_div').css('display','block');
                                                         $('#sendInquiry_normal #prod_info_div').css('margin-bottom','0px');
                                                         $('#sendInquiry_normal #qty_div').css('display','block');
                                                      }else{
                                                         $('#sendInquiry_normal #prod_info_div').css('margin-bottom','13px');
                                                         $('#sendInquiry_normal #qty_div').css('display','none');
                                                         $('#sendInquiry_normal #product_attr_div').css('display','none');
                                                      }
                                                }
                                 }

                         });

                         var ajx_url = '/get_logindetails.html';
                         $.ajax({
                                 url: ajx_url,
                                 type: 'post',
                                 dataType: 'json',
                                 async : true,
                                 //data: { },
                                 success: function(response) {
                                         //console.log(response);
                                         if(response.SUCCESS){
                                                 var data = response.SUCCESS;
                                                 $('#sendInquiry_normal #inquiry_form_dial_code_div').html('');
                                                 var field_str = '<input type="hidden" id="logged_in" value="'+1+'" ><input type="hidden" id="inquiry_country_code" value="'+data.logged_in_user_country_code+'" ><input type="hidden" id="inquiry_mobile_hidden" value="'+data.logged_in_user_mobile+'" ><input type="hidden" id="inquiry_email" value="'+data.logged_in_user_email+'" >';
                                                 $('#sendInquiry_normal #inquiry_form_dial_code_div').append(field_str);
                                         }
                                 }
        
                         });
        
                         if(is_otp_verified &&  parseInt(is_otp_verified) == 1){
                                 $('#sendInquiry_normal #inquiry_form_dial_code_div').css('display','none');
                         }else{
                                 $('#sendInquiry_normal #inquiry_form_dial_code_div').css('display','block');
                         }

                         $('#sendInquiry_normal #loaderPopUp').css('display','none');
                         $('#sendInquiry_normal').css('display','block');
                         $('#sendInquiry_normal #requirment_details_div').css('display','block');
                         $('#sendInquiry_normal #inquiry_form_otp_confirmation_div').hide();
                         $('#sendInquiry_normal #inquiry_success_div').hide();
                }                
}

function normal_validate_inquiery_form_ff(){
        var catalog_id = $('#sendInquiry_normal #catalog_id').val();
        var product_id = $('#sendInquiry_normal #product_id').val(); 
        var prod_moq = $('#sendInquiry_normal #prod_moq').val();
        var prod_moq_orig = $('#sendInquiry_normal #product_moq_hidden').val();
        var comment = $('#sendInquiry_normal #inquiry_comment').val();
        var logged_in = $('#sendInquiry_normal #logged_in').val();
        var mobile,country_code,inquiry_email,country_name;
        var is_otp_verified = $('#sendInquiry_normal #is_otp_verified').val();
        var remove_opt_verification_section = $('#sendInquiry_normal #remove_opt_verification_section').val();
        if( parseInt(logged_in) == 0){
                mobile = $('#sendInquiry_normal #inquiry_mobile').val();
                country_code = $('#sendInquiry_normal #inquiry_form_dial_code_div .selected-dial-code').text();
                inquiry_email = $('#sendInquiry_normal #inquiry_email').val();
                var cont_data = $("#sendInquiry_normal .flag-container .selected-flag").attr('title');
                if(cont_data && cont_data != ''){
                        country_name = cont_data.split('(')[0].trim();
                }else{
                        country_name = 'india';
                }
        }else{
                mobile = $('#sendInquiry_normal #inquiry_mobile_hidden').val();
                country_code = $('#sendInquiry_normal #inquiry_country_code').val();
                inquiry_email = $('#sendInquiry_normal #inquiry_email').val();
                country_name = $('#sendInquiry_normal #inquiry_country_name').val();
        }
        var medium;
        if(country_code == '+91'){
                medium = 'mobile no.';
        }else{
                medium = 'email';
        }
        var prod_url = $('#sendInquiry_normal #product_url').val();
        var product_price = $('#sendInquiry_normal #product_price').val();
        var product_price_unit = $('#sendInquiry_normal #product_price_unit').val();
        var prod_name = $('#sendInquiry_normal #prod_name').html();
        var prod_moq_unit = $('#sendInquiry_normal #prod_moq_unit').val(); 
        var button_path = $('#sendInquiry_normal #button_path').val();
        var pattern = /^\b[A-Z0-9._%-]+@[A-Z0-9.-]+\.[A-Z]{2,4}\b$/i;
        var msg ='';
        var error = 0;
        var count = 1;
       if(!catalog_id){
               msg = ' '+ count + ': catalog for the product not selected for the inquiry';
               count++;
       }
       if(!product_id || product_id == 0 || isNaN(parseInt(product_id))  ){
               msg = 'Product not selected for the inquiry';
               $('#sendInquiry_normal .global_quick_inquiry_error').text(msg); 
               $('#sendInquiry_normal .global_quick_inquiry_error').css('display','block'); 
               $('#sendInquiry_normal .global_quick_inquiry_error').fadeOut(3000); 
               error = 1;
               count++;
       }
        if( prod_moq_orig && parseInt(prod_moq_orig) > 0 && (!prod_moq || (prod_moq && prod_moq === ''))){
                msg = 'Please enter Quantity and it should be minimum (' + prod_moq_orig + ')';
                $('#sendInquiry_normal #prod_moq_error').html(msg);
                $('#sendInquiry_normal #prod_moq_error').css('display','block');
                error = 1;
                count++;
        }        
        if( prod_moq_orig && prod_moq && parseInt(prod_moq_orig) > 0 && parseInt(prod_moq_orig) > parseInt(prod_moq)  ){
                msg = 'Quantity can\'t be less than the Minimum Order Quantity (' + prod_moq_orig + ')';
                $('#sendInquiry_normal #prod_moq_error').html(msg);
                $('#sendInquiry_normal #prod_moq_error').css('display','block');
                error = 1;
                count++;
        }        
        if((logged_in && parseInt(logged_in) == 0 && is_otp_verified && parseInt(is_otp_verified) == 0  ) &&  country_code == '+91' &&  (!mobile || (mobile && $.trim(mobile) == ''))){
                error = 1;
                $('#sendInquiry_normal #inquiry_mobile_error').text('Mobile No. is needed for Inquiry.');
                $('#sendInquiry_normal #inquiry_mobile_error').css('display','block');
        }
        if( ( logged_in && parseInt(logged_in) == 0 && is_otp_verified && parseInt(is_otp_verified) == 0  ) &&  country_code == '+91' &&  mobile && mobile.length != 10 ){
                error = 1;
                $('#sendInquiry_normal #inquiry_mobile_error').text('Please enter a valid Mobile No. for Inquiry.');
                $('#sendInquiry_normal #inquiry_mobile_error').css('display','block');
        }
        if((logged_in && parseInt(logged_in) == 0 && is_otp_verified && parseInt(is_otp_verified) == 0  )  && country_code !== '+91' && !inquiry_email ){
                error = 1;
                $('#sendInquiry_normal #inquiry_email_error').text('Email is needed for Inquiry.');
                $('#sendInquiry_normal #inquiry_email_error').css('display','block');
        }
        if( (logged_in && parseInt(logged_in) == 0 && is_otp_verified && parseInt(is_otp_verified) == 0  )  && country_code !== '+91' &&  !pattern.test(inquiry_email)){
                error = 1;
                $('#sendInquiry_normal #inquiry_email_error').text('Please enter a Valid Email for Inquiry.');
                $('#sendInquiry_normal #inquiry_email_error').css('display','block');
        }

        var reg_user = 0;
        var mob_length = mobile.length;
        
        if(!(parseInt(error)) && mob_length < 4 && inquiry_email == '' ){
                $.ajax({
                        url: '/component/check_email_mobile_exist.html',
                        type: 'POST',
                        global: 'false',
                        async: false,
                        data: {
                                'email' : inquiry_email,
                                'mobile': country_code+mobile,
                                'from_catalog' : 1
                        },
                        success: function(data){
                                if(/SUCCESS/.test(data)) {
                                        reg_user = 1;
                                }
                        }
             });
        }
        if(error){
                return false;
        }else{
                $('#sendInquiry_normal #loaderPopUp').css('display','flex');
                var ajx_url = '/save_inquiry_form.html';
                $.ajax({
                        url: ajx_url,
                        type: 'post',
                        dataType: 'json',
                        async : true,
                        data: { "catalog_id":catalog_id, "product_id":product_id,"prod_moq":prod_moq, "country_code":country_code,"mobile":mobile,"comment":comment,"inquiry_email":inquiry_email,"product_url":prod_url,"prod_name":prod_name,"product_price":product_price,"product_price_unit":product_price_unit,"button_path":button_path, "save_inquiry_form":0 , "reg_user": reg_user,'called_from' : 'desktop_catalog', 'inquiry_source_type':'CATALOG',"country_name":country_name,'order_value_inr':product_price, 'units':prod_moq_unit, 'quantity_descr':prod_moq, 'currency':product_price_unit },
                        success: function(response) {
                                //console.log(response);
                                if( response.api_data && !response.api_data.ERROR && response.api_data.status_code && parseInt(response.api_data.status_code) === 200){
                                        var data = response.api_data.data;
                                        $('#sendInquiry_normal #requirment_details_div').css('display','none');
                                        $('#sendInquiry_normal #rfi_group_id').val(data.rfi_group_id); 
                                        $('#sendInquiry_normal #rfis_all').val(data.rfiids);
                                        $('#sendInquiry_normal #mobile_with_isd').val(country_code+mobile);
                                        $('#sendInquiry_normal #rfiids').val(data.rfiids);
                                        $('#sendInquiry_normal #sender_userid').val(data.sender_userid);
                                        var base_url = $('#sendInquiry_normal #base_url').val();
                                        if(response.api_data.data && response.api_data.data.product_data_list){         
                                                var product_list = response.api_data.data.product_data_list;
                                                var html_str = '';
                                                var i = 0;
                                                $.each(product_list, function(index, item){
                                                        if(i <= 3){
                                                                html_str += '<a href="'+base_url+'/'+item.prod_url+'" class="mcProCol"> <span class="mcImgCnt"> <img src="'+item.image_path+'" alt="product"></span><p class="mcProName">'+item.name+'</p></a>';  
                                                        }
                                                        i++;
                                                });
                                                $('#sendInquiry_normal #inquiry_form_similar_product_list').html(html_str);
                                        }
                                        if( (logged_in &&  parseInt(logged_in) == 0 && is_otp_verified && parseInt(is_otp_verified) == 0) ){
                                                if(parseInt(remove_opt_verification_section) > 0){
                                                        normal_update_inquiry();
                                                }else{
                                                        normal_send_inquiry_mobile_otp(mobile,country_code,inquiry_email,0);
                                                }
                                        }else if( (logged_in &&  parseInt(logged_in) == 1) || (is_otp_verified &&  parseInt(is_otp_verified) == 1)  ){
                                              normal_update_inquiry();
                                        }
                                }else if(response.api_data && response.api_data.status_code && parseInt(response.api_data.status_code) === 409 && response.api_data.msg ){
                                        var base_url = $('#sendInquiry_normal #base_url').val();
                                        if(response.api_data.data && response.api_data.product_data_list){
                                                var product_list = response.api_data.data.product_data_list;
                                                var html_str = '';
                                                var i = 0;
                                                $.each(product_list, function(index, item){
                                                        if(i <= 3){
                                                                html_str += '<a href="'+base_url+'/'+item.prod_url+'" class="mcProCol"> <span class="mcImgCnt"> <img src="'+item.image_path+'" alt="product"></span><p class="mcProName">'+item.name+'</p></a>';  
                                                        }
                                                        i++;
                                                });
                                                $('#sendInquiry_normal #inquiry_form_similar_product_list').html(html_str);
                                        }else{
                                                $('#sendInquiry_normal #product_list').css('display','none');
                                        }
                                        $('#sendInquiry_normal #loaderPopUp').css('display','none');
                                        $('#sendInquiry_normal #requirment_details_div').css('display','none');
                                        $('#sendInquiry_normal #inquiry_form_similar_product_list').css('display','block');
                                        $('#sendInquiry_normal #inquiry_success_div').css('display','block');
                                }else if(response.api_data && !response.api_data.status_code && response.api_data.msg ){
                                        $('#sendInquiry_normal #loaderPopUp').css('display','none');
                                        $('#sendInquiry_normal #requirment_details_div').css('display','none');
                                        $('#sendInquiry_normal #inquiry_product_list').css('display','none');
                                        $('#sendInquiry_normal #inquiry_success_div').css('display','block'); 
                                } else if(response.api_data && response.api_data.msg) {
                                        $('#sendInquiry_normal #loaderPopUp').css('display','none');
                                        $('#sendInquiry_normal .global_send_inquiry_error').text( response.api_data.msg  );
                                        $('#sendInquiry_normal .global_send_inquiry_error').css('display','block');
                                        $("#sendInquiry_normal .global_send_inquiry_error").fadeOut(5000);
                                }else if(response.ERROR && response.ERROR != ''){
                                       $('#sendInquiry_normal #loaderPopUp').css('display','none');
                                       $('#sendInquiry_normal .global_send_inquiry_error').text( response.ERROR );
                                       $('#sendInquiry_normal .global_send_inquiry_error').css('display','block');
                                       $("#sendInquiry_normal .global_send_inquiry_error").fadeOut(5000); 
                                }
                        }, 
                });

        }
}



function normal_save_extra_form(){
        
        var pattern = /^\b[A-Z0-9._%-]+@[A-Z0-9.-]+\.[A-Z]{2,4}\b$/i;
        var msg ='';
        var error = 0;
        var count = 1;
        var resend_otp = 0;
        var logged_in = $('#sendInquiry_normal #logged_in').val();
        var country_code = $('#sendInquiry_normal .selected-dial-code').text();
        var mobile = $('#sendInquiry_normal #inquiry_mobile').val();
        var inquiry_email = $('#sendInquiry_normal #inquiry_email').val();
        
        var uname = $('#sendInquiry_normal #uname').val();
        var uco_name = $('#sendInquiry_normal #uco_name').val();
        var ext_mobile_number = $('#sendInquiry_normal #ext_mobile_number').val();
        var ext_mail = $('#sendInquiry_normal #ext_mail').val();
        var ext_city_state = $('#sendInquiry_normal #ext_city_state_sel').val();
        var rfi_group_id = $('#sendInquiry_normal #rfi_group_id').val();

        var sender_userid = $('#sendInquiry_normal #sender_userid').val();
        var sender_profile_id = $('#sendInquiry_normal #sender_profile_id').val();
        var country_code_via_ip = $('#sendInquiry_normal #country_code_via_ip').val();
        var remove_opt_verification_section = $('#sendInquiry_normal #remove_opt_verification_section').val();

        if( uname == ''){
                msg = 'Name is not provided for the inquiry';
                error = 1;
                count++;
                $('#sendInquiry_normal #uname_error').text(msg);
                $('#sendInquiry_normal #uname_error').css('display','block');
        }
        if( uco_name == ''){
                msg = 'Company name is not provided for the inquiry';
                error = 1;
                count++;
                $('#sendInquiry_normal #uco_name_error').text(msg);
                $('#sendInquiry_normal #uco_name_error').css('display','block');
        }
        if(country_code &&  country_code == '+91' && ( ext_mail === '')){
                msg =  'Email is required for Inquiry.';
                error = 1;
                count++;
                $('#sendInquiry_normal #ext_mail_error').text(msg);
                $('#sendInquiry_normal #ext_mail_error').css('display','block');
        }
        if(country_code && country_code == '+91' && ext_mail != ''  && !pattern.test(ext_mail)){
                msg = 'Please enter a valid email address for Inquiry.';
                error = 1;
                count++;
                $('#sendInquiry_normal #ext_mail_error').text(msg);
                $('#sendInquiry_normal #ext_mail_error').css('display','block');
        }
        if(country_code && country_code !== '+91' && ext_mobile_number && ext_mobile_number ==='' ){
                msg =  'Mobile no. is needed for Inquiry.';
                error = 1;
                count++;
                $('#sendInquiry_normal #ext_mobile_number_error').text(msg);
                $('#sendInquiry_normal #ext_mobile_number_error').css('display','block');
        }
        if(country_code && country_code !== '+91' &&  ext_mobile_number.length != 10){
                msg = 'Please enter a Valid mobile no. for Inquiry.';
                error = 1;
                count++;
                $('#sendInquiry_normal #ext_mobile_number_error').text(msg);
                $('#sendInquiry_normal #ext_mobile_number_error').css('display','block');
        }
        if(error){
                return false;
        }else{
                var ajx_url = '/save_extra_form.html';
                $.ajax({
                        url: ajx_url,
                        type: 'post',
                        dataType: 'json',
                        async : true,
                        data : { 'uname':uname , 'uco_name':uco_name , 'ext_mobile_number':ext_mobile_number , 'ext_mail':ext_mail , 'ext_city_state':ext_city_state , 'quick_inquiry_country_code':country_code, 'rfi_group_id':rfi_group_id, 'sender_profile_id':sender_profile_id,'sender_userid':sender_userid,'country_code_via_ip':country_code_via_ip },
                        success: function(response) {
                                console.log(response);
                                if(response.save_extra_form_return_data.status_code == 201){
                                                $('#sendInquiry_normal #loaderPopUp').css('display','flex');
                                                $('#sendInquiry_normal #extra_form').css('display','none');
                                                if(parseInt(remove_opt_verification_section) > 0){
                                                        normal_update_inquiry();
                                                }else{
                                                        normal_send_inquiry_mobile_otp(mobile,country_code,inquiry_email,0);
                                                }
                                }else{
                                       $('#sendInquiry_normal #global_send_inquiry_error').html('Somethisng went wrong. Please wait');
                                       $('#sendInquiry_normal #global_send_inquiry_error').css('display','block');
                                }
                        },
                });
        }
}

$('#sendInquiry_normal #ext_city_state').on("keyup", function(event) {
        var term = $(this).val();
        var pattern = new RegExp(/Uttar/g);
        if(term.length >= 3){
                $.ajax({ // ajax request for getting the suggestions according to the characters filled till now in input textbox
                        url: "/component/locator_suggest_json.html",
                        type: 'post',
                        dataType: "json",
                        data: { city_initials: term },
                        success: function( data ) {
                                console.log(data);
                                var html_str = '';
                                if(data && data.length > 0){
                                $.each(data, function(index, item){
                                        var city = item.city.replaceAll(' ','$%');
                                        var state = item.state.replaceAll(' ','$%');
                                        var country_name = item.country_name.replaceAll(' ','$%');
                                        html_str +="<li  onclick=setcity_normal('"+city+"','"+state+"','"+country_name+"'); > "+item.optionLabel+" </li>";
                                });
                                        $('#sendInquiry_normal #city_search_option').html(html_str);
                                }else if(response.ERROR){
                                        html_str = response.ERROR;
                                        $('#sendInquiry_normal #city_search_option').html(html_str);
                                }
                        }

                });
        }
});

function setcity_normal(city,state,country){
        city = city.replaceAll('$%',' ');
        state = state.replaceAll('$%',' ');
        country = country.replaceAll('$%',' ');
        $('#sendInquiry_normal #city_search_option').html('');
        $('#sendInquiry_normal #ext_city_state').val(city+', '+state+' - '+country);
        $('#sendInquiry_normal #ext_city_state_sel').val(city+'/'+state);
}


function normal_send_inquiry_mobile_otp(mobile,country_code,inquiry_email,resend_otp){
        var ajx_url = '/send_inquiry_otp.html';
        var mobile_with_isd = country_code+mobile;
        $.ajax({
                url: ajx_url,
                type: 'post',
                dataType: 'json',
                async : true,
                data  : {'client_mobile' : mobile_with_isd, 'client_email':inquiry_email },
                success: function(response) {
                        //console.log(response);
                        var otp_text,text_part,medium;
                        if(parseInt(resend_otp) == 1){
                                timer_se_fixed(180,1);
                        }else{
                                var otp_text,text_part;
                                if(country_code == '+91'){
                                        medium = 'mobile no.';
                                        text_part = mobile.substring(mobile.length - 4);
                                        otp_text = 'Authenticate with the 4 digit One Time Password (OTP) sent to your registered mobile number XXXXXX'+text_part;  
                                }else{
                                         medium = 'email';
                                         var email_part = inquiry_email.split("@");
                                         var text_part_one = email_part[0].substring(0,3);
                                         var text_part_two = email_part[0].substring(email_part[0].length - 3);
                                         otp_text = 'Authenticate with the 4 digit One Time Password (OTP) sent to your registered email number '+text_part_one+'XXXXXX'+text_part_two+'@'+email_part[1];
                               }
                                $('#sendInquiry_normal #send_inquiry_otp_text').text(otp_text);
                                 if(response.SUCCESS){
                                         $('#sendInquiry_normal #loaderPopUp').css('display','none');
                                         $('#sendInquiry_normal #inquiry_form_otp_confirmation_div').css('display','block');
                                         timer_se_fixed(60,0);
                                 }else{
                                         $('#sendInquiry_normal .global_send_inquiry_error').text(response.ERROR.NOT_VERIFIED);
                                         $('#sendInquiry_normal .global_send_inquiry_error').css('display','block');
                                         $("#sendInquiry_normal .global_send_inquiry_error").fadeOut(5000);
                                 }
                        }
                },
        });
}

$('#sendInquiry_normal #inquiry_resend_otp').click(function(){
        var logged_in = $('#logged_in').val();
        var country_code;
        if(parseInt(logged_in) == 0){
                country_code = $('#sendInquiry_normal #inquiry_form_dial_code_div .selected-dial-code').text();
        }else{
                country_code = $('#sendInquiry_normal #inquiry_country_code').val();
        }
        var medium;
        var inquiry_email;
        if(country_code == '+91'){
                medium = 'mobile no.';
        }else {
                 medium = 'email';
                 inquiry_email = $('#sendInquiry_normal #inquiry_email').val();
        }
        var mobile = $('#inquiry_mobile').val(); 
        var ajx_url = '/send_inquiry_otp.html';
        var mobile_with_isd = country_code+mobile;
        $.ajax({
                url: ajx_url,
                type: 'post',
                dataType: 'json',
                async : true,
                data  : {'client_mobile' : mobile_with_isd, 'client_email': inquiry_email },
                success: function(response) {
                        var medium = 'mobile no.';
                       if(response.SUCCESS){
                                timer_se_fixed(180,0);                       
                        }else{
                              $('#sendInquiry_normal .global_send_inquiry_error').text(response.ERROR.NOT_VERIFIED);
                              $('#sendInquiry_normal .global_send_inquiry_error').css('display','block');
                              $("#sendInquiry_normal .global_send_inquiry_error").fadeOut(5000);  
                        }
                },
        });

});


$('#sendInquiry_normal #otp_validation_btn').click(function(){
        var inquiry_otp = $('#sendInquiry_normal #inquiry_otp_input').val()
        var mobile = $('#sendInquiry_normal #inquiry_mobile').val(); 
        var country_code = $('#sendInquiry_normal #inquiry_form_dial_code_div .selected-dial-code').text();
        var mobile_with_isd = country_code+mobile;        
        var inquiry_email = $('#sendInquiry_normal #inquiry_email').val();
        if(inquiry_otp.length != 4){
                $('#sendInquiry_normal #inquiry_otp_input_error').text('Invalid otp');
                $('#sendInquiry_normal #inquiry_otp_input_error').css('display','block');
                return false;
        }

        var ajx_url = '/send_inquiry_otp.html';
        $.ajax({
                url: ajx_url,
                type: 'post',
                dataType: 'json',
                async : true,
                data    : {'get_otp' : 1, 'user_otp' : inquiry_otp, 'client_mobile' : mobile_with_isd, 'client_email':inquiry_email, 'country_code':country_code, 'mobile':mobile},
                //data: {"country_code":country_code,  "mobile":mobile, "inquiry_otp":inquiry_otp },
                success: function(response) {
                       //console.log(response);
                       if(response.SUCCESS){                                
                                $('#sendInquiry_normal #inquiry_form_otp_confirmation_div').css('display','none');
                                $('#sendInquiry_normal #loaderPopUp').css('display','flex');
                                $('#sendInquiry_normal #is_otp_verified').val(1);
                                $('#sendInquiry_normal #inquiry_form_dial_code_div').css('display','none');
                                var quick_inquiry_str = '<input type="hidden" id="quick_inquiry_country_code" value="'+country_code+'" ><input type="hidden" id="quick_inquiry_mobile_hidden" value="'+response.SUCCESS.mobile+'" ><input type="hidden" id="quick_inquiry_email" value="" ><input type="hidden" id="quick_inquiry_logged_in" value="1" >';
                              $('#sendInquiry_normal #inquiry_form_dial_code_div').append(quick_inquiry_str);
                              normal_update_inquiry();      
                        }else{
                                $('#sendInquiry_normal #inquiry_otp_input_error').text(response.ERROR.NOT_VERIFIED);
                                $('#sendInquiry_normal #inquiry_otp_input_error').css('display','block');
                        }
                },
        });

});


function normal_update_inquiry(){

        var catalog_id = $('#sendInquiry_normal #catalog_id').val();
        var quick_inq_id = $("#sendInquiry_normal #quick_inq_id" ).val();       
        var rfi_group_id = $("#sendInquiry_normal #rfi_group_id" ).val();       
        var rfis_all = $("#sendInquiry_normal #rfis_all" ).val();           
        var mobile_with_isd = $('#sendInquiry_normal #mobile_with_isd').val();
        var rfiids = $('#sendInquiry_normal #rfiids').val();
        var sender_userid = $('#sendInquiry_normal #sender_userid').val();
        var remove_opt_verification_section = $('#sendInquiry #remove_opt_verification_section').val();
        if(parseInt(remove_opt_verification_section) > 0){
                $('#sendInquiry_normal #loaderPopUp').css('display','none');
                $('#sendInquiry_normal').css('display','block');
                $('#sendInquiry_normal #inquiry_success_div').css('display','block');
        }else{
                var ajx_url = '/update_inquiry_form.html';
                 $.ajax({
                         url: ajx_url,
                         type: 'post',
                         dataType: 'json',
                         async : true,
                         data: { 'catalog_id':catalog_id, 'quick_inq_id':quick_inq_id,'rfi_group_id':rfi_group_id,'rfis_all':rfis_all, 'mobile_with_isd':mobile_with_isd,'rfiids':rfiids, 'sender_userid':sender_userid },
                         success: function(response) {
                                //console.log(response);
                                if(response.api_data_update_inquiry_return_data.status_code == 200){
                                          $('#sendInquiry_normal #loaderPopUp').css('display','none');
                                          $('#sendInquiry_normal').css('display','block');
                                          $('#sendInquiry_normal #inquiry_success_div').css('display','block');
                                 }
                         },
                 }); 
        }
}


$('#sendInquiry_normal #inquiry_mobile, #sendInquiry_normal #prod_moq, #sendInquiry_normal #inquiry_resend_otp, #quick_inquiry_div #mobile, #quick_inquiry_div #quick_inquiry_otp').on('keypress',function(e){
        var keyCode = e.keyCode || e.which;
        var regex = /^[0-9]+$/;
        var isValid = regex.test(String.fromCharCode(keyCode));
        if (!isValid) {
            return false;
        }
});


$('#sendInquiry_normal #inquiry_mobile, #sendInquiry_normal #prod_moq').focusout(function(e){
        var term = $(this).val();
        var regex = /^[0-9]+$/;
        var isValid = regex.test(term);
        if (term != '' &&  !isValid) {
            $(this).val('');
            $('#sendInquiry_normal .global_quick_inquiry_error').text('Please enter numeric value for mobile/quantity');
            $('#sendInquiry_normal .global_quick_inquiry_error').css('display','block');
            return false;
        }
});

</script>
</div>
    </div>
</div>

<!--Related Product Section component starts here-->
	<style>
.product {
        display : block;
        position : relative;
        padding-bottom : 50px;
}
.other-prod-content-section {
        align-self:flex-start;
}
.other-prod-btn-section {
        position : absolute;
        left : 0px;
        bottom : 8px;
}
.product-list{
        text-align:left;
}
</style>

<!--Related Product Section component ends here-->

<!--Fixed Buttons Section Starts Here-->
	<div class="fixed-btn-section">
		<!--<a href="#inq_pp" class="btn btn-primary"  id="pp_inq_form">SEND INQUIRY</a>-->
		<a href="javascript:void(0);" class="btn btn-primary inq_button"  id="send_a_inq_10805418">SEND INQUIRY</a>
		<a href="javascript:void(0);" class="btn btn-secondary" >CALL ME FREE</a>
	</div>
<!--Fixed Buttons Section Ends Here-->
   <style>
input[type=tel]::-webkit-input-placeholder {
        /* WebKit browsers */
        color: transparent;
}
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    margin: 0;
}
.warning-display {
        margin-top : 150px;
        background-color: #000000;
        color: #ffffff;
}
.loading-container {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; display: none; align-items: center; justify-content: center; background: rgba(255,255,255,.5); z-index: 99; flex-wrap: wrap; flex-flow: column; border-radius: 16px;
}
.loading-container label{
        display: block; width: 100%; text-align: center;
}
.loader {
  display: inline-block; position: relative; width: 80px; height: 80px;
}
.loader div {
  position: absolute; border: 4px solid #e31a22; opacity: 1; border-radius: 50%; animation: lds-ripple 1s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}
.loader div:nth-child(2) {
  animation-delay: -0.5s;
}
.msg-box {
    position: absolute; bottom: 131px; left: 0; width: 100%; text-align: center; z-index:2;
}
.msg-box span.error{
color: #e31a22; font-size: 15px; background: #f7b9bc; padding: 7px 60px; border-radius: 5px;
}
.msg-box span.success{
color: #42cc02; font-weight: 600; font-size: 18px; background: rgba(66, 204, 2, 0.3); padding: 7px 60px; border-radius: 5px;
}

@keyframes lds-ripple {
  0% {
    top: 36px; left: 36px; width: 0; height: 0; opacity: 1;
  }
  100% {
    top: 0px; left: 0px; width: 72px; height: 72px; opacity: 0;
  }
}
.product-thumbnail-section{
        text-align:left;
}
.product-thumbnail-section img{
        display: inline-block; width: auto;
}
</style>


<link rel="stylesheet" href="https://st.tistatic.com/ver9485/css/catalog/request_a_callback.css" type="text/css"/>
<script type="text/javascript" src="https://st.tistatic.com/ver9485/js/payments/jquery.validate.js"></script>
<script type="text/javascript" src="https://st.tistatic.com/ver9485/js/tradeindia/design2017/intlTelInput.js"></script>

<script type="text/javascript">
var jq = jQuery.noConflict();
        jq(document).ready(function () {
                jq('[id^=request_a_callback]').click(function () {
                    jq('#callback_otp').val('');
                    var catalog_id = "74266";
                    var category_id = "1024";
                    var product_id = jq(this).attr('value');
                    if (catalog_id && category_id && product_id){
                            var id_regex = 'ID_'+catalog_id+'_'+category_id+'_'+product_id;
                            if (id_regex){
                                jq('#ID').val(id_regex);
                            }
                    }
                jq('#callback_step1').show();
        });

        jq('.closeView').click(function(){
                jq('.catModel').hide();
        });
            jq("#callback_mobile, #callback_reg_mobile").intlTelInput({
                preferredCountries: ["in", "ca"],
                separateDialCode: true,
                initialCountry: "",
                hiddenInput: "mobile_with_isd",
            });

            jq("#callback_mobile, #callback_reg_mobile").focus(function(){
                jq(this).parents('.mobileCnt').find('.floating-label').addClass('active');

            }).blur(function(){
                jq(this).parents('.mobileCnt').find('.floating-label').removeClass('active');
            });
            jq('#callback_mobile, #callback_reg_mobile').on('keyup', function () {
                var inputValue = jq(this).val();
                if (inputValue != '') {
                    jq(this).parents('.mobileCnt').find('.floating-label').addClass('active2');
                } else {
                    jq(this).parents('.mobileCnt').find('.floating-label').removeClass('active2');
                }
            });
            jq("#reqCallBack").validate();
            if(jq("#reqCallBack").valid() == false){
                jq(".error").filter( ":visible" ).first().focus();
                return false;
            }
            jq("#callback_mobile").rules("add",{
                maxlength : 10,
                minlength : 10,
                required : true,
                number : true,
                messages : {
                        maxlength : "Mobile Number should be a 10 digit number",
                        minlength : "Mobile Number should be a 10 digit number",
                        required : "Please Enter the Mobile Number",
                        number : "Please Enter Numbers only"
                }
            });

            jq("#callback_step1_submit").click(function(){
               var selected_dial_code = jq('.selected-dial-code').text();
               if (selected_dial_code == '+91'){
                    var valid = jq("#reqCallBack").valid();
                    if (!valid){
                          return false;
                    }
                }
                var mobile_with_isd = jq("#reqCallBack #callback_mobile").intlTelInput("getNumber");
                if (!mobile_with_isd){
                        var selected_dial_code = jq('.selected-dial-code').html();
                        var mobile = jq("#callback_mobile").val();
                        if (mobile){
                              var mobile_with_isd = selected_dial_code+mobile;
                    }
                }
                var email = jq("#reqCallBack #callback_email").val();
                var data = {};
                if (mobile_with_isd){
                         data['client_mobile'] = mobile_with_isd;
                }
                 if (email){
                          data['client_email'] = email;
                 }
                jq.ajax({
                        url     :'/Exporters_Suppliers/Exporters/hp/scripts/send_otp.html',
                        type    :'post',
                        data    : data,
                        dataType:'json',
                        async   : true,
                        beforeSend: function() {
                                jq(".loading-container").css('display','flex');
                        },
                        success: function(data) {
                                if(data.SUCCESS){
                                        jq("#callback_step1").hide();
                                        jq("#callback_reg_mobile").intlTelInput("setNumber", mobile_with_isd);
                                        var mobile_no = jq("#callback_reg_mobile").val();
                                        var mobile_no = mobile_no.replace(/\s/g, '');;
                                        jq("#callback_reg_mobile").val(mobile_no);
                                        jq("#callback_resend_otp_mobile").val(mobile_with_isd);
                                        jq("#callback_reg_mobile").prop('disabled', true);
                                        
                                        jq("#callback_step2").show();
                                        if (mobile_with_isd) {
                                           jq("#authenticate_mobile_label").show();
                                           jq("#authenticate_email_label").hide();
                                        }
                                        if (email) {
                                          jq("#authenticate_email_label").show();
                                          jq("#authenticate_mobile_label").hide(); 
                                        }
                                }else if(data.ERROR){
                                        jq("#callback_msg_display1 #callback_msg1").html(data.ERROR).show();
                                        jq("#callback_msg_display1 #callback_msg1").addClass("error").removeClass("success");
                                        jq("#callback_msg_display1").show();
                                        jq("#callback_msg_display1").delay(3000).fadeOut("slow");
                                }else if(data.FAIL && data.FAIL.MSG){
                                        jq("#callback_msg_display1 #callback_msg1").html(data.FAIL.MSG).show();
                                        jq("#callback_msg_display1 #callback_msg1").addClass("error").removeClass("success");
                                        jq("#callback_msg_display1").show();
                                        jq("#callback_msg_display1").delay(3000).fadeOut("slow");
                                }
                        },
                        complete: function() {
                                jq(".loading-container").css('display','none');
                        },
                        error: function(XMLHttpRequest, textStatus, errorThrown) {
                                alert('There was an error '+ textStatus);
                        }
                });
            });
            jq("#callback_resend_otp").click(function(){
                var mobile = jq("#callback_resend_otp_mobile").val();
                var lan = 'en';
                var otp_send_msg = 'OTP has been resent to';
                var there_is_some_error_label = 'There was some error. Please try again';
                var alert_msg = "";
                if(lan == "en" ){
                        alert_msg = otp_send_msg+" "+mobile 
                }else{
                        alert_msg = mobile+" "+otp_send_msg 
                }
                if (!mobile){
                        return false;
                }
                jq.ajax({
                        url     :'/Exporters_Suppliers/Exporters/hp/scripts/send_otp.html',
                        type    :'post',
                        data    : {'client_mobile' : mobile},
                        dataType:'json',
                        async   : true,
                        beforeSend: function() {
                                jq(".loading-container").css('display','flex');
                        },
                        success: function(data) {
                                if(data.SUCCESS && (data.SUCCESS.VERIFIED_MOBILE_OTP || data.SUCCESS.VERIFIED_EMAIL_OTP || data.SUCCESS.msg )){
                                        jq("#callback_msg_display2 #callback_msg2").html(alert_msg).show();
                                        jq("#callback_msg_display2 #callback_msg2").removeClass("error").addClass("success");
                                        jq("#callback_msg_display2").show();
                                        jq("#callback_msg_display2").delay(3000).fadeOut("slow");
                                }else if(data.ERROR && data.ERROR.NOT_VERIFIED ){
                                        jq("#callback_msg_display2 #callback_msg2").html(there_is_some_error_label).show();
                                        jq("#callback_msg_display2 #callback_msg2").addClass("error").removeClass("success");
                                        jq("#callback_msg_display2").show();
                                        jq("#callback_msg_display2").delay(3000).fadeOut("slow");
                                }else if(data.FAIL && data.FAIL.MSG){
                                        jq("#callback_msg_display2 #callback_msg2").html(data.FAIL.MSG).show();
                                        jq("#callback_msg_display2 #callback_msg2").addClass("error").removeClass("success");
                                        jq("#callback_msg_display2").show();
                                        jq("#callback_msg_display2").delay(3000).fadeOut("slow");
                                }
                        },
                        complete: function() {
                                jq(".loading-container").css('display','none');
                        },
                        error: function(XMLHttpRequest, textStatus, errorThrown) {
                                alert('There was an error '+ textStatus);
                        }
                });
            });
            jq("#reqCallBackOtp").validate();
            if(jq("#reqCallBackOtp").valid() == false){
                jq(".error").filter( ":visible" ).first().focus();
                return false;
            }
            jq("#callback_otp").rules("add",{
                maxlength : 6,
                minlength : 3,
                required : true,
                number : true,
                messages : {
                        maxlength : "Please Enter a valid OTP.",
                        minlength : "Please Enter a valid OTP.",
                        required : "Please Enter the OTP",
                        number : "Please Enter Numbers only"
                }
            });
            jq("#callback_step2_submit").click(function(){
                var valid = jq("#reqCallBackOtp").valid();
                var there_is_some_error_label = 'There was some error. Please try again';
                if (!valid){
                        return false;
                }
                var otp = jq("#callback_otp").val();
                var mobile = jq("#callback_resend_otp_mobile").val();
                if (!otp || !mobile){
                        jq("#callback_msg_display2 #callback_msg2").html(there_is_some_error_label).show();
                        jq("#callback_msg_display2 #callback_msg2").addClass("error").removeClass("success");
                        jq("#callback_msg_display2").show();
                        jq("#callback_msg_display2").delay(3000).fadeOut("slow");
                }
                jq.ajax({
                        url     :'/Exporters_Suppliers/Exporters/hp/scripts/send_otp.html',
                        type    :'post',
                        data    : {'get_otp' : 1 , 'user_otp' : otp, 'client_mobile' : mobile},
                        dataType:'json',
                        async   : true,
                        beforeSend: function() {
                                jq(".loading-container").css('display','flex');
                        },
                        success: function(data) {
                                if(data.SUCCESS){
                                        if (data.SUCCESS.is_user_associated){
                                                var countryCode = jq("#reqCallBack .selected-dial-code").text();
                                                var mobile_with_isd = jq("#reqCallBack #callback_mobile").intlTelInput("getNumber");
                                                jq("#callback_reg_mobile_with_isd").val(mobile_with_isd);
						if(!mobile_with_isd){
                                                	jq("#callback_reg_mobile_with_isd").val(mobile);
                                                	jq("#callback_reg_mobile").val(mobile);
						}
                                                var data = jq("#callback_registration").serializeArray();
                                                submit_logged_in_form(data);
                                                return false;
                                        } else{
                                                var countryCode = jq("#reqCallBack .selected-dial-code").text();
                                                var mobile_with_isd = jq("#reqCallBack #callback_mobile").intlTelInput("getNumber");
                                                jq("#callback_reg_mobile_with_isd").val(mobile_with_isd);
                                                var data = jq("#callback_registration").serializeArray();
                                                data.push({"name":'instant_quick_inquiry',"value":1});
                                                unregistered_quick_inquiry(data);
                                        }
                                }else if(data.ERROR){
                                        jq("#callback_msg_display2 #callback_msg2").html(data.ERROR.NOT_VERIFIED).show();
                                        jq("#callback_msg_display2 #callback_msg2").addClass("error").removeClass("success");
                                        jq("#callback_msg_display2").show();
                                        jq("#callback_msg_display2").delay(3000).fadeOut("slow");
                                }else if(data.FAIL && data.FAIL.MSG){
                                        jq("#callback_msg_display2 #callback_msg2").html(data.FAIL.MSG).show();
                                        jq("#callback_msg_display2 #callback_msg2").addClass("error").removeClass("success");
                                        jq("#callback_msg_display2").show();
                                        jq("#callback_msg_display2").delay(3000).fadeOut("slow");
                                }
                        },
                        complete: function() {
                                jq(".loading-container").css('display','none');
                        },
                        error: function(XMLHttpRequest, textStatus, errorThrown) {
                                alert('There was an error '+ textStatus);
                        }
                });
            });
            setTimeout(setCountryCode, 600);
        jq("#callback_reg_mobile, #callback_reg_email").blur(function(){
                callback_check_email_mobile_exist();
        });

        jq("#callback_reg_pincode").blur(function(){
                var pincode = jq('#callback_reg_pincode').val();
                callback_pincode_check(pincode);
        });
/*
            jq("#callback_step3_submit").click(function(){
                var there_is_some_error_label = 'There was some error. Please try again';
                var valid = jq("#callback_registration").valid();
                if (!valid){
                        return false;
                }
                return false;
                var otp = jq("#callback_otp").val();
                var mobile = jq("#callback_resend_otp_mobile").val();
                if (!otp || !mobile){
                        jq("#callback_msg_display1 #callback_msg1").html(there_is_some_error_label).show();
                        jq("#callback_msg_display1 #callback_msg1").addClass("error").removeClass("success");
                        jq("#callback_msg_display1").show();
                        jq("#callback_msg_display1").delay(3000).fadeOut("slow");
                }
                jq.ajax({
                        url     :'/Exporters_Suppliers/Exporters/hp/scripts/send_otp.html',
                        type    :'post',
                        data    : {'get_otp' : 1 , 'user_otp' : otp},
                        dataType:'json',
                        async   : true,
                        success: function(data) {
                                if(data.SUCCESS){
                                        jq("#callback_step2").hide();
                                        jq("#callback_step3").show();
                                }else if(data.ERROR){
                                        jq("#callback_msg_display2 #callback_msg2").html(data.ERROR.NOT_VERIFIED).show();
                                        jq("#callback_msg_display2 #callback_msg2").addClass("error").removeClass("success");
                                        jq("#callback_msg_display2").show();
                                        jq("#callback_msg_display2").delay(3000).fadeOut("slow");
                                }else if(data.FAIL && data.FAIL.MSG){
                                        jq("#callback_msg_display2 #callback_msg2").html(data.FAIL.MSG).show();
                                        jq("#callback_msg_display2 #callback_msg2").addClass("error").removeClass("success");
                                        jq("#callback_msg_display2").show();
                                        jq("#callback_msg_display2").delay(3000).fadeOut("slow");
                                }
                        },
                        error: function(XMLHttpRequest, textStatus, errorThrown) {
                                alert('There was an error '+ textStatus);
                        }
                });
            });
*/

        jq('#callback_reg_mobile, #callback_reg_email').keypress(function(){
                if (event.key === "Enter") {
                        callback_check_email_mobile_exist();
                        event.preventDefault();
                }
        });
        jq("#callback_mobile, #callback_reg_mobile").keydown(function (e) {
                if (jq.inArray(e.keyCode, [46, 8, 9, 27, 13, 110, 190]) !== -1 || (e.keyCode === 65 && (e.ctrlKey === true || e.metaKey === true)) || (e.keyCode >= 35 && e.keyCode <= 40) || e.keyCode === 144) {
                        return;
                }
        });
	jq('#callback_reg_city_id_input').val('');           
	jq('#callback_reg_country_code').val('');
	jq('#callback_reg_state').val('');
	jq('#callback_reg_city').val('');
	jq('#callback_reg_company_name').val('');
            jq("#callback_registration").validate();
            if(jq("#callback_registration").valid() == false){
                jq(".error").filter( ":visible" ).first().focus();
                return false;
            }
            jq("#callback_reg_email").rules("add",{
                required : true,
                email : true,
                messages : {
                        required : "Please Enter the Email",
                        email : "Please Enter a Valid Email"
                }
            });
            $("#callback_email").rules("add",{
               required: true,
               email: true,
               messages: {
                      required: "Please Enter the Email",
                      email: "Please Enter a Valid Email"
                }
            });
            jq("#callback_reg_mobile").rules("add",{
                maxlength : 10,
                minlength : 10,
                required : true,
                number : true,
                messages : {
                        maxlength : "Mobile Number should be a 10 digit number",
                        minlength : "Mobile Number should be a 10 digit number",
                        required : "Please Enter the Mobile Number",
                        number : "Please Enter Numbers only"
                }
            });
            jq("#callback_reg_pincode").rules("add",{
                required : true,
                number : true,
                messages : {
                        required : "Please Enter the Pincode",
                        number : "Please Enter Numbers only"
                }
            });
            jq("#callback_reg_name").rules("add",{
                required : true,
                messages : {
                        required : "Please Enter the Name",
                }
            });
            jq("#callback_reg_company_name").rules("add",{
                required : true,
                messages : {
                        required : "Please Enter the Company Name",
                }
            });
            jq("#callback_reg_city_id_input").rules("add",{
                required:  {
                        depends:function(){
                                if(jq('#callback_reg_city_id_input').is(':visible')) {
                                        return true;
                                }
                        }
                },
                messages : {
                        required : "Please Choose a City",
                }
            });
        jq("#callback_step3_submit").click(function(){
                var valid = jq("#callback_registration").valid();
                if (!valid){
                        return false;
                }
                var countryCode = jq("#callback_registration .selected-dial-code").text();
                var mobile = jq("#callback_registration #callback_reg_mobile").val();
                var mobile_without_isd = countryCode + mobile;
                jq("#callback_reg_mobile_with_isd").val(mobile_without_isd)
                var data = jq("#callback_registration").serializeArray();
                data.push({"name":'no_js_css',"value":1});
                jq.ajax({
                        url: '/Exporters_Suppliers/Exporters/hp/scripts/request_a_callback_action.html',
                        type    :'post',
                        data    : data,
                        dataType:'json',
                        async   : true,
                        beforeSend: function() {
                                jq(".loading-container").css('display','flex');
                        },
                        success: function(data) {
                                if(data.ERROR){
                                        jq("#callback_msg_display3 #callback_msg3").html(data.ERROR.msg).show();
                                        jq("#callback_msg_display3 #callback_msg3").addClass("error").removeClass("success");
                                        jq("#callback_msg_display3").show();
                                        jq("#callback_msg_display3").delay(3000).fadeOut("slow");
                                } else{
                                        jq("#callback_step3").hide();
                                        jq("#callback_step4").show();
                                }
                        },
                        complete: function() {
                                jq(".loading-container").css('display','none');
                        },
                        error: function(XMLHttpRequest, textStatus, errorThrown) {
                                alert('There was an error '+ errorThrown);
                        }
                });
            });
  
var phoneInput = jq("#callback_mobile");
phoneInput.intlTelInput();
phoneInput.on("countrychange", function(e, countryData) {
    var selectedCountry = countryData.iso2;
    console.log(selectedCountry);
    
    if (selectedCountry === "in") {
        jq("#callback_email").hide();
        jq("#callback_mobile").show();
        jq("#mobile_label2").show();
        jq("#email_label2").hide();
    } else {
        jq("#callback_email").show();
        jq("#callback_mobile").hide();
        jq("#mobile_label2").hide();
        jq("#email_label2").show();
    }
});
});

var reg_user = 0;
function callback_check_email_mobile_exist() {
        var dialcode = jq(".selected-dial-code").html();
        var mobile = dialcode + jq('#callback_reg_mobile').val();
        var email = jq('#callback_reg_email').val();
        mobile = mobile.replace(/\s/g,'');
        var mob_length = mobile.length;
        if (mobile.match(/^\+91/)) {
                jq('#callback_pin_code').show();
                jq('#callback_city_dd').hide();
        } else {
                jq('#callback_co_name_city_span').show();
                jq('#callback_pin_code').hide();
                jq('#callback_city_dd').show();
        }
        if(mob_length < 4 && email == '') {
            return;
        }
        jq.ajax({
                    url: '/component/check_email_mobile_exist.html',
                    type: 'POST',
                    global: 'false',
                    async: false,
                    data: {
                            'email' : email,
                            'mobile': mobile,
                            'from_catalog' : 1
                          },
                    success: function(data){
                        if(/FAILED/.test(data)) {
                        if (mob_length > 4 || jq('#callback_reg_email').val()) {
                            jq("#callback_co_name_city_span").show();
                        }
                        } else if(/SUCCESS/.test(data)) {
                            jq("#callback_co_name_city_span").hide();
                            reg_user = 1;
                        }
                    }
             });
}
function callback_pincode_check(pincode) {
        if(pincode.toString().length > 0) {
                jq.ajax({
                        url: '/component/get_pincode_city_ajax.html',
                        type: 'POST',
                        global: 'false',
                        dataType: 'json',
                        data: {
                            'pincode' : pincode
                        },
                        success: function(res) {
                                var pincode_count = res.EXISTS;
                                if(typeof(pincode_count) == 'undefined' || pincode_count <= 0) {
                                        jq('#callback_city_dd').show();
                                } else {
                                        jq('#callback_city_dd').hide();
                                }
                        },
                        error: function() {
                                jq('#callback_city_dd').show();
                        }
                });
        }
}
function setCountryCode(){
        jq.ajax({
                url: "/utils/user_browsing_country_code.html",
                }).done(function(data) {
                        var cc = data.country_code;
                        jq("#callback_mobile").intlTelInput("setCountry", cc);
                });
}

function submit_logged_in_form(data){
                data.push({"name":'no_js_css',"value":1});
                jq.ajax({
                        url: '/Exporters_Suppliers/Exporters/hp/scripts/request_a_callback_action.html',
                        type    :'post',
                        data    : data,
                        dataType:'json',
                        async   : true,
                        beforeSend: function() {
                                jq(".loading-container").css('display','flex');
                        },
                        success: function(data) {
                                if(data.ERROR){
                                var data_error_msg = data.ERROR.msg;
                                        if (data.ERROR.msg.match(/Duplicate RFI/)) {
                                                jq("#callback_step4").show();
                                                jq("#callback_step4_success_display").show();
                                        } else if (data.ERROR.msg.match(/Please fill company name first to register./)) {
                                                jq("#callback_step1").show();
                                        } else if (data.ERROR && jq('#reqCallBackOtp').is(':visible')){
                                                jq("#callback_msg_display2 #callback_msg2").html(data.ERROR.msg).show();
                                                jq("#callback_msg_display2 #callback_msg2").addClass("error").removeClass("success");
                                                jq("#callback_msg_display2").show();
                                                jq("#callback_msg_display2").delay(3000).fadeOut("slow");
                                        } else {
                                                jq("#callback_step4").show();
                                                jq("#callback_step4_success_display").show();
                                        }
                                } else if (data.ERROR && data.ERROR.msg.match(/Duplicate RFI/)) {
                                        jq("#callback_step2").hide();
                                        jq("#callback_step4").show();
                                } else if (data.SUCCESS) {
                                        jq("#callback_step2").hide();
                                        jq("#callback_step4").show();
                                }
                        },
                        complete: function() {
                                jq(".loading-container").css('display','none');
                        },
                        error: function(XMLHttpRequest, textStatus, errorThrown) {
                                alert('There was an error '+ errorThrown);
                        }
                });
            }
function unregistered_quick_inquiry(data){
                data.push({"name":'no_js_css',"value":1});
                jq.ajax({
                        url: '/Exporters_Suppliers/Exporters/hp/scripts/unregistered_user_callback_action.html',
                        type    :'post',
                        data    : data,
                        dataType:'json',
                        async   : true,
                        beforeSend: function() {
                                jq(".loading-container").css('display','flex');
                        },
                        success: function(data) {
                                if(data.ERROR){
                                var data_error_msg = data.ERROR.msg;
                                        if (data.ERROR.msg.match(/Duplicate RFI/)) {
                                                jq("#callback_step4").show();
                                                jq("#callback_step4_success_display").show();
                                        } else if (data.ERROR && jq('#reqCallBackOtp').is(':visible')){
                                                jq("#callback_msg_display2 #callback_msg2").html(data.ERROR.msg).show();
                                                jq("#callback_msg_display2 #callback_msg2").addClass("error").removeClass("success");
                                                jq("#callback_msg_display2").show();
                                                jq("#callback_msg_display2").delay(3000).fadeOut("slow");
                                        } else {
                                                jq("#callback_step4").show();
                                                jq("#callback_step4_success_display").show();
                                        }
                                } else if (data.ERROR && data.ERROR.msg.match(/Duplicate RFI/)) {
                                        jq("#callback_step2").hide();
                                        jq("#callback_step4").show();
                                } else if (data.SUCCESS.instant_quick_inquiry) {
                                        jq("#callback_step2").hide();
                                        if (data.SUCCESS.quick_inq_id){
                                                jq("#callback_quick_inq_id").val(data.SUCCESS.quick_inq_id);
                                        }
                                        if (data.SUCCESS.rfi_group_id){
                                                jq("#callback_rfi_group_id").val(data.SUCCESS.rfi_group_id);
                                        }
                                        jq("#callback_step2").hide();
                                        jq("#callback_step3").show();
                                } else if (data.SUCCESS) {
                                        jq("#callback_step2").hide();
                                        jq("#callback_step4").show();
                                }
                        },
                        complete: function() {
                                jq(".loading-container").css('display','none');
                        },
                        error: function(XMLHttpRequest, textStatus, errorThrown) {
                                alert('There was an error '+ errorThrown);
                        }
                });
            }
</script>
<div class="catModel hideVisiblePopup" id="callback_step1" style="display:none;">
<div class="popupMainCnt">
            <div class="popupContent">
                <div class="catModelClose closeView">&#215;</div>
                
                <div class="contentMainBox">
                    <div class="heading">Add a mobile number to receive call from <strong>"Mars EDPAL Instruments Pvt. Ltd."</strong></div>
                    <form id="reqCallBack" name="reqCallBack" method="post">
                        <div class="formCnt mobileCnt">
                            <div class="intl-tel-input allow-dropdown separate-dial-code iti-sdc-3"><div class="flag-container"></div><input type="tel" id="callback_mobile" name="mobile_without_isd" value="" autocomplete="off" class="formControl">
                            <input type="text" name="client_email" id="callback_email" class="formControl" style="display:none" autocomplete="off"></div>
                            <span class="floating-label mobile-label" id="mobile_label2">Mobile number</span>
                            <span class="floating-label email-label " id="email_label2" style="display:none" autocomplete="off" >Email Id</span>
                        </div>
                        <div id="callback_msg_display1" class="msg-box">
                        <span id="callback_msg1" class=""></span>
                        </div>

                        <div class="btnCnt">
                            <input type="button" id="callback_step1_submit" name="submit" onclick="" value="Request To Call Back" class="btn">
                        </div>
                    </form>
                </div>
            </div>
                        <!-- Loader-section Starts here -->
                        <div class="loading-container">
                        <div class="loader"><div></div><div></div></div>
                        <label><b>Please Wait...</b></label>
                        </div>
                        <!-- Loader-section Ends here -->

        </div>
</div>
<div class="catModel hideVisiblePopup" id="callback_step2" style="display:none;">
        <div class="popupMainCnt">
            <div class="popupContent">
                <div class="catModelClose closeView">&#215;</div>
                
                <div class="contentMainBox">
                    <div class="heading"><strong>Enter OTP</strong></div>
                    <form id="reqCallBackOtp">
                        <label class="label-content" id = "authenticate_mobile_label">Authenticate with the 5 digit One Time Password (OTP) sent to your registered mobile number.</label>
                        <label class="label-content" id = "authenticate_email_label" style="display:none">Authenticate with the 5 digit One Time Password (OTP) sent to your registered email.</label>
                        <div class="formCnt">
                            <input type="number" id="callback_otp" name="callback_otp" autocomplete="off" class="formControl">
                            <span class="floating-label">Verification Code</span>
                        </div>
                        <div class="otp-msg">
                            <p class="message">Did not receive yet?</p>
                            <span class="resend-msg" id="callback_resend_otp">Resend OTP</span>
                        </div>
                        <input type="hidden" id="callback_resend_otp_mobile" type="text">
                        <div id="callback_msg_display2" class="msg-box">
                        <span id="callback_msg2" class=""></span>
                        </div>

                        <div class="btnCnt">
                            <input type="button" id="callback_step2_submit" name="submit" value="Enter OTP" class="btn">
                        </div>
                    </form>
                </div>
            </div>
                        <!-- Loader-section Starts here -->
                        <div class="loading-container">
                        <div class="loader"><div></div><div></div></div>
                        <label><b>Please Wait...</b></label>
                        </div>
                        <!-- Loader-section Ends here -->
        </div>
    </div>
<div class="catModel hideVisiblePopup" id="callback_step3"style="display:none;">
        <div class="popupMainCnt">
            <div class="popupContent">
                <div class="catModelClose closeView">&#215;</div>
                
                <div class="contentMainBox">
                    <div class="heading"><strong>Share additional details for a quick response</strong></div>
                    <form id="callback_registration">
                        <div class="formCol-2">
                            <div class="formCnt mobileCnt">
                            <div class="intl-tel-input allow-dropdown separate-dial-code iti-sdc-3"><div class="flag-container"></div><input type="tel" id="callback_reg_mobile" name="mobile_without_isd" autocomplete="off" class="formControl"></div>
                                <span class="floating-label mobile-label active">Mobile number</span>
                            </div>
                            <div class="formCnt">
                                <input type="text" id="callback_reg_email" name="email" autocomplete="off" class="formControl">
                                <span class="floating-label">Email Id</span>
                            </div>
                        </div>
                <div id = "callback_co_name_city_span" style="display:block;" class="co_city_name_css">
                    <input type="hidden" id="ID" name="ID_74266_1024_10805418" value="1">
                    <input type="hidden" id="hide_popup_components" name="hide_popup_components" value="1">
                    <input type="hidden" id="Submit" name="Submit" value="Send Inquiry">
                    <input type="hidden" id="callback_reg_mobile_with_isd" name="mobile" >
                    <input type="hidden" id="non_login_form" name="non_login_form" value="1">
                    <input type="hidden" name="catalog_id" value="74266">
                    <input type="hidden" id="no_redirect" name="no_redirect" value="1">
                    <input type="hidden" id="callback_rfi_group_id" name="rfi_group_id">
                    <input type="hidden" id="callback_quick_inq_id" name="quick_inq_id">

                        <div class="formCol-2">
                            <div class="formCnt">
                                <input type="text" id="callback_reg_name" name="name" autocomplete="off" class="formControl">
                                <span class="floating-label">Please Enter the Name</span>
                            </div>
                            <div class="formCnt">
                                <input type="text" value="" id="callback_reg_company_name" name="co_name" autocomplete="off" class="formControl">
                                <span class="floating-label">Company / Business Name</span>
                            </div>
                        </div>

                        <div class="formCol-2">
                                
                            
                            <div class="formCnt left-class">
                                <input type="text" id="callback_reg_pincode" name="pincode" autocomplete="off" class="formControl">
                                <span class="floating-label">Please Enter the Pincode</span>
                            </div>
                            <div id="callback_city_dd" class="margin-left" style="display:none"">
                            <div class="formCnt">
                            <style type="text/css">
.ui-autocomplete {max-height: 200px; overflow-y: auto;}
/* IE 6 doesn't support max-height
 * we use height instead, but this forces the menu to always be this tall
 */
* html .ui-autocomplete {
  height: 100px;
}
.ui-menu {
        font-size: 9px;
}
.ui-menu-item {
        font-size: 9px;
}
.dialog_err {
  font-family: verdana;
  font-size: 8px;
  font-weight: bold;
  color: red;
  padding: 1px;
}
#city_nearest_branch{
    height:20px;
    border:1px solid #d8d8d8;
    width:150px;
    font-size: 1em;
    line-height:1.2em;
}
</style>

<script language="javascript" type="text/javascript">
function set_all(id, city, state, country_code) {
	
  jq.ajax({ // ajax request for getting the appropriate entry for the prefilling values
        url: "/component/locator_suggest_json.html",
        type: 'post',
        dataType: 'json',
        data: {
          set_city: city,
          set_state: state,
          city_initials: city,
          set_country: country_code 
        },
        success: function(data) {
          var obj = data[0];
          jq('#' + id + '_input').val(obj.city + ', ' + obj.state + ', ' + obj.country_name);
          window[id + '_fill'](obj);
        }
  }); // end of ajax request for prefilling
}
</script>

<script language="javascript" type="text/javascript">
function callback_reg_city_id_clear() {
          jq('#callback_reg_city_id').val('');
          jq('#callback_reg_country_code').val('');
          jq('#callback_reg_state').val('');
          jq('#callback_reg_city').val('');
          if(jq("#dummy_isd_field").length) {
            jq('#dummy_isd_field').val('');
          }
          if(jq("#dummy_im_contact_field").length) {
            jq('#dummy_im_contact_field').hide();
          }
          //if(jq("#dummy_isd_field").length) {
            //jq('#dummy_isd_field').val('');
          //}
}
function callback_reg_city_id_fill(obj) {
          jq('#callback_reg_city_id').val(obj.city_id);
          jq('#callback_reg_country_code').val(obj.country_code);
          jq('#callback_reg_state').val(obj.state);
          jq('#callback_reg_city').val(obj.city);
          if(jq("#dummy_isd_field").length) {
            jq('#dummy_isd_field').val(obj.isd_code);
          }
          if(jq("#dummy_im_contact_field").length && obj.im_contact == 1) {
            jq('#dummy_im_contact_field').show();
          }
	  var reg = new RegExp('^\\+' + obj.isd_code,'');

	  if(obj.isd_code == 91){
            jq('#show_pin_code').show();
	  } else {
            jq('#show_pin_code').hide();
	  }

          if(jq("#dummy_isd_field").length && ! reg.test(jq("#dummy_isd_field").val())) {
            jq('#dummy_isd_field').val('+' + obj.isd_code);
          }
}
function load_ti_locator_suggest_callback_reg_city_id_input (){
    if(jq("#dummy_isd_field").length) {
      jq('#dummy_isd_field').attr("readonly",true);
    }
    if(jq("#dummy_im_contact_field").length) {
      jq('#dummy_im_contact_field').hide();
    }
    jq('#callback_reg_city_id_input').bind('keyup', function() { 
      if(jq("#callback_reg_city_id_input").val().length == 0) {
        //callback_reg_city_id_clear();
      }
    });

    jq("#callback_reg_city_id_input").autocomplete({ // making input textbox to support autocomplete feature
      source: function(request, response) {
	jq(".block").attr("readonly",true);
        jq.ajax({ // ajax request for getting the suggestions according to the characters filled till now in input textbox
          url: "/component/locator_suggest_json.html",
          type: 'post',
          dataType: "json",
          data: {
            city_initials: request.term
          },
          success: function( data ) {
            var city_initials = '^' + request.term;
            var re = new RegExp(city_initials, "i");

	 jq('#div_show_city_nearest_branches').hide();
            if(data.length == 0) {
              alert("The specified city: '"+jq('#callback_reg_city_id_input').val()+"', does not exist in our database.");
            }
            response( jq.map( data, function( item ) {
              var lbl;
              var val;
              var city = item.city;
              if(re.test(city)) {
                lbl = item.city + ', ' + item.state + ', ' + item.country_name;
                val = item.city + ', ' + item.state + ', ' + item.country_name;
              } else {
                lbl = item.city_synonym + ', ' + item.state + ', ' + item.country_name;
                val = item.city_synonym + ', ' + item.state + ', ' + item.country_name;
              }
              var result = {
                label: lbl,
                value: val,
                city_id: item.city_id,
                city: item.city,
                state: item.state,
                country_code: item.country_code,
                isd_code: item.isd_code,
                im_contact: item.im_contact
              };
              return result;
            }));
          }
        }); // end of ajax request for getting the suggestions
      },
      minLength: 2,
      select: function( event, ui ) {
        var selectedObj = ui.item;
        jq('#callback_reg_city_id_input').val(selectedObj.label);
        callback_reg_city_id_fill(selectedObj);
		jq(".block").attr("readonly",false);

            jq.ajax({
    url: "/component/city_branches_json.html",
          type: 'post',
          dataType: "json",
          data: {
            city_id: selectedObj.city_id 
          },

  success: function (data) {
  	    jq('#city_nearest_branch').empty();
	    if(data.length){
       	      var opt_data="<option >--Select Area--</option>";
              jq(opt_data).appendTo('#city_nearest_branch');
              jq.each(data,function(i,item)
              {

              //alert(item.branch+":"+item.name);
              var div_data="<option value="+item.branch+">"+item.name+ "</option>";
              jq(div_data).appendTo('#city_nearest_branch');
              });
	      jq('#div_show_city_nearest_branches').show();
	     }
            }
            }); 

        return false;
      },
      change: function( event, ui ) {
        if ( !ui.item ) {
           // no item selected
          callback_reg_city_id_clear();
	 jq('#div_show_city_nearest_branches').hide();
        }
      },
      open: function( event, ui ) {
          callback_reg_city_id_clear();
      },
      close: function( event, ui ) {
          if(jq('#callback_reg_country_code').val().length==0 || jq('#callback_reg_state').val().length==0 || jq('#callback_reg_city').val().length==0) {
            callback_reg_city_id_clear();
            //jq('#callback_reg_city_id_input').val('');
          }
      }
    }); // end of autocomplete
}
var ti_locator_suggest_interval = setInterval(function () {
             try {   
             if ( typeof(jQuery) != 'undefined' && typeof(jQuery.isReady) === 'boolean' && jQuery.isReady ){
                jQuery('.city_input_class').each(function(){
                                var input_id = jQuery(this).attr('id');
                                var functionName = 'load_ti_locator_suggest_' + input_id;
                                if (typeof window[functionName] === 'function') {
                                window[functionName]();

                                }
                                clearInterval(ti_locator_suggest_interval);
                                });

                }
             } 
             catch(err) {
                console.log(err)
             }
},10);

jq(".block").on('focus', function(){
	if(jq(".block").attr("readonly") == "readonly"){
	alert("Please select your City or use City not found option.");
}
});

jq(window).load(function() {
});

</script>
<input type="text" title="City, State, Country" placeholder="Type your city here ..." class="formControl city_input_class" id="callback_reg_city_id_input" name="callback_reg_city_id_input"/>
<input type="hidden" id="callback_reg_city_id" name="callback_reg_city_id" />
<input type="hidden" id="callback_reg_country_code" name="callback_reg_country_code" />
<input type="hidden" id="callback_reg_state" name="callback_reg_state" />
<input type="hidden" id="callback_reg_city" name="callback_reg_city" />


<div id="div_show_city_nearest_branches"  style="display:none;">
 <select id="city_nearest_branch" name="city_nearest_branch" >
        <option value="">--Area/Sale Branch--</option>
 </select>
<div style="font-family:verdana;size:9px;color:red;"><i>Select nearest Area/Sale Branch</i></div>
</div>

                            </div>
                            </div>
                            <!-- <div class="formCol-2-2">
                                <div class="formCnt">
                                    <input type="number" value="50000" name="Quantity" autocomplete="off" class="formControl" required >
                                    <span class="floating-label">Enter Quantity</span>
                                </div>
                                <div class="formCnt">
                                    <select name="units" id="units" class="formControl">
                                        <option value="">Select unit</option>
                                        <option value="Kilogram" selected>Kilogram</option>
                                        <option value="Nos">Nos</option>
                                        <option value="Pieces">Pieces</option>
                                        <option value="Tons">Tons</option>
                                        <option value="Units">Units</option>
                                    </select>
                                </div>
                            </div>  -->
                        </div>
                        </div>

                        <div id="callback_msg_display3" class="msg-box">
                        <span id="callback_msg3" class=""></span>
                        </div>

                        <div class="btnCnt">
                            <input type="button" id="callback_step3_submit"name="submit" value="Submit" class="btn">
                        </div>
                    </form>
                </div>
            </div>
                        <!-- Loader-section Starts here -->
                        <div class="loading-container">
                        <div class="loader"><div></div><div></div></div>
                        <label><b>Please Wait...</b></label>
                        </div>
                        <!-- Loader-section Ends here -->
        </div>
    </div>
<div class="catModel hideVisiblePopup" style="display:none;" id="callback_step4">
        <div class="popupMainCnt">
            <div class="popupContent">
                <div class="catModelClose closeView">&#215;</div>
                
                <div class="contentMainBox" id = "callback_step4_success_display">
                    <div class="thankTopCnt">
                        <img src="https://tiimg.tistatic.com/new_website1/catalogs/common-icons/Arrow.png" alt="Done">
                        <p class="heading">Thank You!</p>
                        <p class="content">Thank You for your valuable time. We have received your details and will get back to you shortly.</p>
                    </div>
                    <!-- <div class="thankBottomCnt">
                        <img src="images/Tkhata.png" alt="Trade khata">
                        <p class="heading">Digitize your business now with TradeKhata</p>
                        <p class="content">Manage your Business & Personal ledgers on your phone and web and will also help your  business collect payments faster.</p>
                        <div class="more">
                            <a href="#">Know More ></a>
                        </div>
                    </div> -->
                </div>
            </div>
        </div>
    </div>

   
<style>
input[type=tel]::-webkit-input-placeholder {
	        /* WebKit browsers */
		        color: transparent;
}
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
	    -webkit-appearance: none;
	        -moz-appearance: none;
		    appearance: none;
		        margin: 0;
}
.warning-display {
	        margin-top : 150px;
		        background-color: #000000;
			        color: #ffffff;
}
.loading-container {
	    position: absolute; top: 0; left: 0; width: 100%; height: 100%; display: none; align-items: center; justify-content: center; background: rgba(255,255,255,.5); z-index: 99; flex-wrap: wrap; flex-flow: column; border-radius: 16px;
}
.loading-container label{
	        display: block; width: 100%; text-align: center;
}
.loader {
	  display: inline-block; position: relative; width: 80px; height: 80px;
}
.loader div {
	  position: absolute; border: 4px solid #e31a22; opacity: 1; border-radius: 50%; animation: lds-ripple 1s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}
.loader div:nth-child(2) {
	  animation-delay: -0.5s;
}
.msg-box {
position: absolute; bottom: 131px; left: 0; width: 100%; text-align: center; z-index:2;
}
.msg-box span.error{
	color: #e31a22; font-size: 15px; background: #f7b9bc; padding: 7px 60px; border-radius: 5px;
}
.msg-box span.success{
	color: #42cc02; font-weight: 600; font-size: 18px; background: rgba(66, 204, 2, 0.3); padding: 7px 60px; border-radius: 5px;
}

@keyframes lds-ripple {
	  0% {
		      top: 36px; left: 36px; width: 0; height: 0; opacity: 1;
		        }
			  100% {
				      top: 0px; left: 0px; width: 72px; height: 72px; opacity: 0;
				        }
}
.product-thumbnail-section{
	        text-align:left;
}
.product-thumbnail-section img{
	        display: inline-block; width: auto;
}
</style>



<script type="text/javascript">
var jq = jQuery.noConflict();

jq(document).ready(function () {

		jq(" #get_price_mobile").focus(function(){
			jq(this).parents('.mobileCnt').find('.floating-label').addClass('active');

			}).blur(function(){
				jq(this).parents('.mobileCnt').find('.floating-label').removeClass('active');
				})

		jq('#get_price_mobile').on('keyup', function () {
			var inputValue = $(this).val();
			if (inputValue != '') {
			jq(this).parents('.mobileCnt').find('.floating-label').addClass('active2');
			} else {
			jq(this).parents('.mobileCnt').find('.floating-label').removeClass('active2');
			}
			});
      jq('[id^=get_price]').click(function () {
                    var catalog_id = "74266";
                    var category_id = "1024";
                    var product_id = jq(this).attr('value');
                    if (catalog_id && category_id && product_id){
                            var id_regex = 'ID_'+catalog_id+'_'+category_id+'_'+product_id;
                            if (id_regex){
                                jq('#ID').val(id_regex);
                            }
		    }
          jq('#gp_step_1').show();

        });

jq("#get_price_form").validate();
jq.validator.addMethod("no_start_with_zero", function(value, element) {
	           var dialcode = jq('#get_price_form .selected-dial-code').text();
	           var get_price_mobile = jq("#get_price_mobile").val();
	           if (dialcode === '+91' &&  get_price_mobile.match(/^0/) ){
	                   return false;
	           }else{
	                   return true;
	           }
	       });
jq("#get_price_mobile").change(function(){
           var get_price_mobile = jq("#get_price_mobile").val();
	   var valid_mobile = jq("#get_price_mobile").valid();
	   if (!valid_mobile){
		   return false;
		   }
           get_price_check_email_mobile_exist();
         });
jq("#get_price_email").change(function(){
           var get_price_email = jq("#get_price_email").val();
	   var valid_email = jq("#get_price_email").valid();
	   if (!valid_email){
		   return false;
		   }
           
           get_price_check_email_mobile_exist();
         });


jq("#get_price_pin_code").change(function(){
           var pincode = jq("#get_price_pin_code").val();
	   var pincode_valid = jq("#get_price_pin_code").valid();
	   if (!pincode_valid){
		   return false;
		   }
         get_price_pincode_check(pincode);
         });



 
jq("#get_price_mobile").intlTelInput({
	                         preferredCountries: ["in", "ca"],
	                         separateDialCode: true,
	                         initialCountry: "",
	                         hiddenInput: "mobile_with_isd",
	                     });

jq("#get_price_mobile").rules("add",{
	no_start_with_zero : true, 
	required : true,
	number : true,
	maxlength : function(element){
		if (jq("#get_price_form .selected-dial-code").text() == '+91' ){
			return 10;
		}
	},
	minlength : function(element){
		if (jq("#get_price_form .selected-dial-code").text() == '+91' ){
			return 10;
		} else {
			return 5;
		}
	},
	messages : {
		maxlength : "Mobile Number should be a 10 digit number",
		minlength : "Mobile Number should be a valid number",
		required : "Please Enter the Mobile Number",
		number : "Please Enter Numbers only",
		no_start_with_zero : "Mobile Number can not start with 0 for india"
	}
});
jq("#get_price_email").rules("add",{
                required : true,
                email : true,
                messages : {
                        required : "Please Enter the Email",
                        email : "Please Enter a Valid Email"
                }
            });
 jq("#get_price_pin_code").rules("add",{
                required : true,
                maxlength :6,
                minlength :6,
                number : true,
                messages : {
                        minlength:"Pincode Number should be 6 digit number",
                        maxlength: "Pincode Number should be 6 digit number",
                        required : "Please Enter the Pincode",
                        number : "Please Enter Numbers only",
                }
            });

    $("#quantity").rules("add", {
        required : true,
        messages : {
            required : "This Field is Required",
        }
    })
    $("#units").rules("add", {
        required : true,
        messages : {
            required : "This Field is Required",
        }
    })
    $("#name").rules("add", {
        required : true,
        messages : {
            required : "This Field is Required",
        }
    })
    $("#co_name").rules("add", {
        required : true,
        messages : {
            required : "This Field is Required",
        }
    })

jq("#get_price_form_submit").click(function(){
                            var valid = jq("#get_price_form").valid();
                            if (!valid){
                            return false;
                            }

			    jq('#get_price_form_submit').prop('disabled', true);
                            var countryCode = jq("#get_price_form .selected-dial-code").text();
                            var mobile = jq("#get_price_mobile").val();

                            var mobile_without_isd = countryCode + mobile;
			    jq("#get_price_mobile_with_isd").val(mobile_without_isd);
                            jq("#get_price_reg_mobile_with_isd").val(mobile_without_isd);
                            var data = jq("#get_price_form").serializeArray();
                            get_price_form(data);

            });


        });
function get_price_check_email_mobile_exist() {
	var dialcode = jq("#get_price_form .selected-dial-code").html();
	var mobile = dialcode + jq('#get_price_mobile').val();
         var email = jq('#get_price_email').val();
         mobile = mobile.replace(/\s/g,'');
         var mob_length = mobile.length;
         if (mobile.match(/^\+91/)) {
	                 jq('#get_price_pin_code_div').show();
	                 jq('#get_price_city_dd').hide();
         } else {
		        //jq('#get_price_co_name_city_span').show();
		        jq('#get_price_pin_code_div').hide();
		        jq('#get_price_city_dd').show();
		         }

        if(mob_length < 4 && email == '') {
                return;
        }
        jq.ajax({
			url: '/component/check_email_mobile_exist.html',
            type: 'POST',
            global: 'false',
            async: false,
            data: {
                'email' : email,
                'mobile': mobile,
                'from_catalog' : 1
            },
            success: function(data){
            if(/FAILED/.test(data)) {
            if (mob_length > 4 || jq('#get_price_email').val()) {
		jq("#get_price_co_name_city_span").show();
                jq("#get_price_bname").show();
		jq("#get_price_aname").show();
		jq("get_price_pin_code_div").show();
     		//jq('#get_price_city_dd').hide();
            }
            } else if(/SUCCESS/.test(data)) {
                jq("#get_price_bname").hide();
                jq("#get_price_aname").hide();
                jq("#get_price_pin_code_div").hide();
                jq("#get_price_pin_code_div_span").hide();
     		jq('#get_price_city_dd').hide();
                reg_user = 1;
                }
            }
        });
}
function get_price_pincode_check(pincode) {
        var jq = jQuery.noConflict();
        if(pincode.toString().length > 0) {                jq.ajax({
                        url: '/component/get_pincode_city_ajax.html',
                        type: 'POST',
                        global: 'false',
                        dataType: 'json',
                        data: {
                            'pincode' : pincode
                        },
                        success: function(res) {
                                var pincode_count = res.EXISTS;
                                if(typeof(pincode_count) == 'undefined' || pincode_count <= 0) {
                                        jq('#get_price_city_dd').show();
                                } else {
                                        jq('#get_price_city_dd').hide();
                                }
                        },
                        error: function() {
                                jq('#get_price_city_dd').show();
                        }
                });
        }
}


function get_price_form(data){
                data.push({"name":'no_js_css',"value":1});
                jq.ajax({
                        url: '/Exporters_Suppliers/Exporters/hp/scripts/get_price_action.html',

                        type    :'post',
                        data    : data,
                        dataType:'json',
                        async   : true,
                        beforeSend: function() {
                                jq(".loading-container").css('display','flex');
                        },
                        success: function(data) {
	                        jq("#get_price_form")[0].reset();
                                if(data.ERROR){
                                var data_error_msg = data.ERROR.msg;
                                       if (data.ERROR.msg.match(/Duplicate RFI/)) {
          					jq("#gp_step_1").hide();
                                                jq("#gp_step_2_thank").show();
                                        } else {
                                                jq("#gp_step_1").hide();
                                                jq("#gp_step_2_thank").show();
                                        }
                                }
				if(data.SUCCESS){
					jq("#gp_step_1").hide();
					jq("#gp_step_2_thank").show();
				}

                        },
               complete: function() {
                                jq(".loading-container").css('display','none');
				jq('#get_price_form_submit').prop('disabled', false);
				
                        },
                        error: function(XMLHttpRequest, textStatus, errorThrown) {
                                alert('There was an error '+ errorThrown);
                        }
                });
            
}


    </script>

    <div class="catModel cut hideVisiblePopup" id="gp_step_1" style="display:none;">
        <div class="popupMainCnt">
            <div class="popupContent">
                <div class="catModelClose closeView">&#215;</div>
                
                <div class="contentMainBox">
                    <div class="heading">Get a price quote for <strong>DC Regulated Power Supply 0 -30 V, 30 A</strong></div>
                    <form id="get_price_form" method="POST">
                        <div class="formCol-2 formAutoAdj">

                            <div class="formCnt">
                                <input type="text" value="" name="email" autocomplete="off" id="get_price_email" class="formControl" required>
                                <span class="floating-label">Email Id</span>
                            </div>
                            <div class="formCnt mobileCnt" >
                                <input type="text"  name="mobile_without_isd" value=""  id="get_price_mobile" autocomplete="off" class="formControl" required>
                                <span class="floating-label mobile-label">Mobile number</span>
                            </div>
              <div class="formCol-2-2" style="position:relative;">
                  <div id = "get_price_co_name_city_span" style="display:block;" class="co_city_name_css">
                    <input type="hidden" id="ID" name="ID_74266_1024_10805418" value="1">
                    <input type="hidden" id="hide_popup_components" name="hide_popup_components" value="1">
                    <input type="hidden" id="Submit" name="Submit" value="Send Inquiry">
                    <input type="hidden" id="get_price_reg_mobile_with_isd" name="mobile" value="Send Inquiry">
                    <input type="hidden" id="non_login_form" name="non_login_form" value="1">
                    <input type="hidden" name="catalog_id" value="74266">
                    <input type="hidden" id="no_redirect" name="no_redirect" value="1">
                    <input type="hidden" id="get_price_rfi_group_id" name="rfi_group_id">
                    <input type="hidden" id="get_price_quick_inq_id" name="quick_inq_id">

                                <div class="formCnt">
                                    <input type="number" value="" name="quantity" id="quantity" autocomplete="off"  class="formControl" required >
                                    <span class="floating-label">Enter Quantity</span>
                                </div>
                                <div class="formCnt">
                                    <select name="units" id="units" class="formControl" required>
                                        <option value="">Select unit</option>
                                        <option value="Kilogram">Kilograms</option>
                                        <option value="Nos">Nos</option>
                                        <option value="Pieces">Pieces</option>
                                       <option value="Tons">Tons</option>
                                        <option value="Units">Units</option>
                                    </select>
                                </div>
                            </div>


		</div>
      

      <div class="formCnt" id="get_price_pin_code_div"  style="display:none" >
                                <input type="text" value="" id="get_price_pin_code" name="pincode"  maxlength="6" autocomplete="off"  class="formControl" required>
                                <span class="floating-label">Please Enter the Pincode</span>
                            </div>



			<div class="formCnt" id="get_price_city_dd" style="display:none; position:relative;" class="margin-left" style="display:none"">
                            <style type="text/css">
.ui-autocomplete {max-height: 200px; overflow-y: auto;}
/* IE 6 doesn't support max-height
 * we use height instead, but this forces the menu to always be this tall
 */
* html .ui-autocomplete {
  height: 100px;
}
.ui-menu {
        font-size: 9px;
}
.ui-menu-item {
        font-size: 9px;
}
.dialog_err {
  font-family: verdana;
  font-size: 8px;
  font-weight: bold;
  color: red;
  padding: 1px;
}
#city_nearest_branch{
    height:20px;
    border:1px solid #d8d8d8;
    width:150px;
    font-size: 1em;
    line-height:1.2em;
}
</style>

<script language="javascript" type="text/javascript">
function set_all(id, city, state, country_code) {
	
  jq.ajax({ // ajax request for getting the appropriate entry for the prefilling values
        url: "/component/locator_suggest_json.html",
        type: 'post',
        dataType: 'json',
        data: {
          set_city: city,
          set_state: state,
          city_initials: city,
          set_country: country_code 
        },
        success: function(data) {
          var obj = data[0];
          jq('#' + id + '_input').val(obj.city + ', ' + obj.state + ', ' + obj.country_name);
          window[id + '_fill'](obj);
        }
  }); // end of ajax request for prefilling
}
</script>

<script language="javascript" type="text/javascript">
function get_price_reg_city_dd_clear() {
          jq('#get_price_reg_city_dd').val('');
          jq('#get_price_reg_country_code').val('');
          jq('#get_price_reg_state').val('');
          jq('#get_price_reg_city').val('');
          if(jq("#dummy_isd_field").length) {
            jq('#dummy_isd_field').val('');
          }
          if(jq("#dummy_im_contact_field").length) {
            jq('#dummy_im_contact_field').hide();
          }
          //if(jq("#dummy_isd_field").length) {
            //jq('#dummy_isd_field').val('');
          //}
}
function get_price_reg_city_dd_fill(obj) {
          jq('#get_price_reg_city_dd').val(obj.city_id);
          jq('#get_price_reg_country_code').val(obj.country_code);
          jq('#get_price_reg_state').val(obj.state);
          jq('#get_price_reg_city').val(obj.city);
          if(jq("#dummy_isd_field").length) {
            jq('#dummy_isd_field').val(obj.isd_code);
          }
          if(jq("#dummy_im_contact_field").length && obj.im_contact == 1) {
            jq('#dummy_im_contact_field').show();
          }
	  var reg = new RegExp('^\\+' + obj.isd_code,'');

	  if(obj.isd_code == 91){
            jq('#show_pin_code').show();
	  } else {
            jq('#show_pin_code').hide();
	  }

          if(jq("#dummy_isd_field").length && ! reg.test(jq("#dummy_isd_field").val())) {
            jq('#dummy_isd_field').val('+' + obj.isd_code);
          }
}
function load_ti_locator_suggest_get_price_reg_city_dd_input (){
    if(jq("#dummy_isd_field").length) {
      jq('#dummy_isd_field').attr("readonly",true);
    }
    if(jq("#dummy_im_contact_field").length) {
      jq('#dummy_im_contact_field').hide();
    }
    jq('#get_price_reg_city_dd_input').bind('keyup', function() { 
      if(jq("#get_price_reg_city_dd_input").val().length == 0) {
        //get_price_reg_city_dd_clear();
      }
    });

    jq("#get_price_reg_city_dd_input").autocomplete({ // making input textbox to support autocomplete feature
      source: function(request, response) {
	jq(".block").attr("readonly",true);
        jq.ajax({ // ajax request for getting the suggestions according to the characters filled till now in input textbox
          url: "/component/locator_suggest_json.html",
          type: 'post',
          dataType: "json",
          data: {
            city_initials: request.term
          },
          success: function( data ) {
            var city_initials = '^' + request.term;
            var re = new RegExp(city_initials, "i");

	 jq('#div_show_city_nearest_branches').hide();
            if(data.length == 0) {
              alert("The specified city: '"+jq('#get_price_reg_city_dd_input').val()+"', does not exist in our database.");
            }
            response( jq.map( data, function( item ) {
              var lbl;
              var val;
              var city = item.city;
              if(re.test(city)) {
                lbl = item.city + ', ' + item.state + ', ' + item.country_name;
                val = item.city + ', ' + item.state + ', ' + item.country_name;
              } else {
                lbl = item.city_synonym + ', ' + item.state + ', ' + item.country_name;
                val = item.city_synonym + ', ' + item.state + ', ' + item.country_name;
              }
              var result = {
                label: lbl,
                value: val,
                city_id: item.city_id,
                city: item.city,
                state: item.state,
                country_code: item.country_code,
                isd_code: item.isd_code,
                im_contact: item.im_contact
              };
              return result;
            }));
          }
        }); // end of ajax request for getting the suggestions
      },
      minLength: 2,
      select: function( event, ui ) {
        var selectedObj = ui.item;
        jq('#get_price_reg_city_dd_input').val(selectedObj.label);
        get_price_reg_city_dd_fill(selectedObj);
		jq(".block").attr("readonly",false);

            jq.ajax({
    url: "/component/city_branches_json.html",
          type: 'post',
          dataType: "json",
          data: {
            city_id: selectedObj.city_id 
          },

  success: function (data) {
  	    jq('#city_nearest_branch').empty();
	    if(data.length){
       	      var opt_data="<option >--Select Area--</option>";
              jq(opt_data).appendTo('#city_nearest_branch');
              jq.each(data,function(i,item)
              {

              //alert(item.branch+":"+item.name);
              var div_data="<option value="+item.branch+">"+item.name+ "</option>";
              jq(div_data).appendTo('#city_nearest_branch');
              });
	      jq('#div_show_city_nearest_branches').show();
	     }
            }
            }); 

        return false;
      },
      change: function( event, ui ) {
        if ( !ui.item ) {
           // no item selected
          get_price_reg_city_dd_clear();
	 jq('#div_show_city_nearest_branches').hide();
        }
      },
      open: function( event, ui ) {
          get_price_reg_city_dd_clear();
      },
      close: function( event, ui ) {
          if(jq('#get_price_reg_country_code').val().length==0 || jq('#get_price_reg_state').val().length==0 || jq('#get_price_reg_city').val().length==0) {
            get_price_reg_city_dd_clear();
            //jq('#get_price_reg_city_dd_input').val('');
          }
      }
    }); // end of autocomplete
}
var ti_locator_suggest_interval = setInterval(function () {
             try {   
             if ( typeof(jQuery) != 'undefined' && typeof(jQuery.isReady) === 'boolean' && jQuery.isReady ){
                jQuery('.city_input_class').each(function(){
                                var input_id = jQuery(this).attr('id');
                                var functionName = 'load_ti_locator_suggest_' + input_id;
                                if (typeof window[functionName] === 'function') {
                                window[functionName]();

                                }
                                clearInterval(ti_locator_suggest_interval);
                                });

                }
             } 
             catch(err) {
                console.log(err)
             }
},10);

jq(".block").on('focus', function(){
	if(jq(".block").attr("readonly") == "readonly"){
	alert("Please select your City or use City not found option.");
}
});

jq(window).load(function() {
});

</script>
<input type="text" title="City, State, Country" placeholder="Type your city here ..." class="formControl city_input_class" id="get_price_reg_city_dd_input" name="get_price_reg_city_dd_input"/>
<input type="hidden" id="get_price_reg_city_dd" name="get_price_reg_city_dd" />
<input type="hidden" id="get_price_reg_country_code" name="get_price_reg_country_code" />
<input type="hidden" id="get_price_reg_state" name="get_price_reg_state" />
<input type="hidden" id="get_price_reg_city" name="get_price_reg_city" />


<div id="div_show_city_nearest_branches"  style="display:none;">
 <select id="city_nearest_branch" name="city_nearest_branch" >
        <option value="">--Area/Sale Branch--</option>
 </select>
<div style="font-family:verdana;size:9px;color:red;"><i>Select nearest Area/Sale Branch</i></div>
</div>

                        </div>

                            <div class="formCnt" id="get_price_aname" style="display:none;">
                                <input type="text" value="" name="name" id="name" autocomplete="off" class="bdrBlack formControl" required>
                               <span class="floating-label">Enter your Name</span>
                            </div>
                            <div class="formCnt" id="get_price_bname" style="display:none;">
                                <input type="text" value="" name="co_name" id="co_name" autocomplete="off" class="bdrBlack formControl" required>
                                <span class="floating-label">Company / Business Name</span>
                            </div>
                        <div class="btnCnt">
                            <input type="button" id="get_price_form_submit" name="submit" onclick="" value="Request Quote" class="btn ">
                        </div>
                    </form>
                </div>
            </div>
	    <!-- Loader-section Starts here -->
	      <div class="loading-container">
	      <div class="loader"><div></div><div></div></div>
	      <label><b>Please Wait...</b></label>
	      </div>
	    <!-- Loader-section Ends here -->

        </div>
    </div>
    </div>



    <div class="catModel hideVisiblePopup" id="gp_step_2_thank" style="display:none;">
        <div class="popupMainCnt">
            <div class="popupContent">
                <div class="catModelClose closeView">&#215;</div>
                
                <div class="contentMainBox">
                    <div class="thankTopCnt">
                        <img src="https://tiimg.tistatic.com/new_website1/catalogs/common-icons/Arrow.png" alt="Done">
                        <p class="heading">Inquiry Sent</p>
                        <p class="content" style="margin-left:15%;">For immediate response, call this customer.</p>
                        <!--<a href="#" class="callNumber" >+918800778689</a>-->
                        <a href="tel:+919215880006" class="callNumber"  style="text-decoration:underline">+919215880006</a>
                    </div>
                    <!-- <div class="thankBottomCnt">
                        <img src="images/Tkhata.png" alt="Trade khata">
                        <p class="heading">Manage your Business & Personal ledgers on your phone and web and will also help your business collect payments faster.</p>
                        <p class="content">Manage your Business & Personal ledgers on your phone and web and will also help your business collect payments faster.</p>
                        <div class="more">
                            <a href="#">Know More ></a>
                        </div>
                    </div> -->
                </div>
            </div>
        </div>
    </div>



<link rel="stylesheet" href="https://st.tistatic.com/ver9485/css/catalog/get-price.css" type="text/css"/>



 
<br></br><div class="clear"></div></div><div class="clear"></div><div class="contact_bg"><div class="footer"><ul class="first_ul">
<li class="contact_heading">Contact -:</li>
<li class="co_name_small">Mars EDPAL Instruments Pvt. Ltd.<br/><span class="punchline">GST : 06AADCM6349Q1ZU</span>
</li>
<li class="contact">Works: 81, Sector-1, HSIIDC, Industrial Growth Center, Saha,Ambala - 133104, Haryana, India</li>
<li class="contact">
      Phone :91-171-2822676</li>
<li class="contact">
<li class="contact"><br>
<br>Regd Office: 3575, Timber Market, Ambala - 133001, Haryana, India</li>
</ul>
<ul class="third_ul">
<li class="contact_heading">Key Personnel -:</li>
<li class="contact">Mr Sanjay Gupta
                (Managing Director)
              </li>
<li class="contact">
               Mobile :09254101011, 09896354993</li>
<li class="contact">Mr. G.S Ghotra
                (Director)
              </li>
<li class="contact">
               Mobile :07027971015</li>
<li class="contact">Mr. Avnish Sagar
                (Vice President)
              </li>
<li class="contact">
               Mobile :09254101012</li>
<li class="contact">Mr. Surinder Singh
                (National Sales Manager)
              </li>
<li class="contact">
               Mobile :09215880006</li>
<li class="contact">Mr. Balraj Gautam
                (National Product Manager)
              </li>
<li class="contact">
               Mobile :09215880005</li>
<li class="contact_detail"><script type="text/javascript" src="https://st.tistatic.com/ver9485/js/utils/tooltip/wz_tooltip.js" defer></script>
<script type="text/javascript" src="https://st.tistatic.com/ver9485/js/utils/tooltip/tip_balloon.js" defer></script>

                        <a href="mailto:sanjay@marsedpal.com">sanjay@marsedpal.com</a>

 <style type="text/css">
body{height:1024px;}
.static_send_inq{height:102px !important;padding:24px 14px;position:fixed;right:4px;bottom:16px;z-index:9999;background:#fff;border-radius:8px;box-shadow:0px 2px 10px 0px rgba(0,0,0,0.2);} .static_send_inq a{font-family:Arial,Helvetica,sans-serif;font-weight:normal;color:#000 !important;font-size:14px!important; text-align:center;line-height:18px;width:40px;height:56px;background:#fff;display:flex;align-items:center;justify-content:center;flex-direction:column; text-decoration:none;} .snd_inq_Log{width:30px;height:30px;display:block;margin-bottom:9px}
	
</style>
<div class="static_send_inq"><a id ="send_a_inq_" href="javascript:void(0);" ><img src="https://tiimg.tistatic.com/new_website1/common/buttons/send_inq_Logo.svg" class="snd_inq_Log" alt="send inq">Send Inquiry</a></div>


 
</li>
<li class="contact_detail"><strong>Email : info@marsedpal.com</strong></li>
<li class="contact ti_services_footer">
<a href="/contact-us.html"><img src="https://tiimg.tistatic.com/catalogs/template57916/send-inquiry.jpg" alt="Send Inquiry" title="Send Inquiry"></a>


      <a href="javascript:open_popup('/utils/sms_now.html?id=ID__220538__1550238__CATALOG__1024__Catalogs','FREESMS','toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=0,left=170,top=20,width=750,height=570');"  ><img src="https://tiimg.tistatic.com/catalogs/template57916/send-sms.jpg" alt="Send SMS" title="Send SMS" style="margin-left:5px;"></a> 


<style>
.video-call-icon{
        background: linear-gradient(180deg, #ffca0a, #ffa300);
        border-radius: 3px;
        color: #333333;
        display: inline;
        padding: 6px 12px;
        float: left;
        margin: 0 5px 0 0;
        border: 1px solid #e09204;
}
</style>



<!--
Hello current date id = 9559
Hello current_time_id = 400
Hello current_dow = 2
Hello country_code_viaip = IN
-->
</li>
</ul>
<ul class="second_ul">
<li class="contact_heading">Trust Stamp -:</li>
<li><table cellpadding="0" cellspacing="0" align="center"><tr><td align="center"><table valign="bottom">
	<tr>
		<td align="center">
<br>


<br>



		</td>
	</tr> 
</table>
</td></tr></table></li>
</ul>
<div class="clear"></div>
<div class="clear"></div></div></div><div class="footer_links"><a href="/">Home Page</a> &#160;|&#160; <a href="/company-profile.html">Company Profile</a> &#160;|&#160; <a href="/products.html" class="hilight" >
								Our Products
          		</a>   &#160;| &#160;
        <a href="/why-us.html">Why Us</a>&#160;|&#160;
        <a href="/iti-equipments-machinery.html">ITI Equipments &amp; Machinery</a>&#160;|&#160;

        <a href="/contact-us.html">Contact Us</a> | <b><a href="sitemap.html">Site Map</a></b> </div><div class="clear"></div><tr><!--
footer_begins
--><td><table align="center" border="0" width="98%"><style>
.regional-lang{
  		color:#ffffff;
		text-decoration:none; 
		background:#4d4d4d; 
		padding:3px 5px;
		border-radius:3px;
		} 
</style>
<tr>
<td width="70" align="left" valign="center"><a href="https://www.tradeindia.com" target="_blank"><img src="https://tiimg.tistatic.com/new_website1/common/tradeindiamember.gif" alt="trade india member" border="0" align="middle"></a></td>
<td align="right"><div align="right"><font size="1" face="Verdana, Arial, Helvetica, sans-serif">Mars EdPal Instruments Pvt. Ltd.  
								 All Rights Reserved.<a href="https://www.tradeindia.com/about-us/terms/terms_01.html" target="_blank" style="color:#526af1">(Terms of Use)</a><br/>Developed and Managed by <a href="https://www.tradeindia.com/about-us/" target="_blank" style="color:#526af1">Infocom Network Private Limited.</a>
							</font></div></td>
</tr>
</table></td>
<!--
footer_ends
--></tr></div><script>
( function( $ ) {
$( document ).ready(function() {
// Cache the elements we'll need
var menu = $('.nav');
var menuList = menu.find('ul:first');
var listItems = menu.find('li').not('#responsive-tab');

// Create responsive trigger
menuList.prepend('<li id="responsive-tab"><a href="#" onclick="return false">Menu</a></li>');


// Toggle menu visibility
menu.on('click', '#responsive-tab', function(){
	listItems.slideToggle('fast');
	listItems.addClass('collapsed');
});
});
})( jQuery );
</script><script type="text/javascript">
    $(function(){
      SyntaxHighlighter.all();
    });
    $(window).load(function(){
      $('.flexslider').flexslider({
        animation: "fade",
        start: function(slider){
          $('body').removeClass('loading');
        }
      });
    });
</script>
 <!-- footer css start --><style id="footer_css" type="text/css"></style><!-- footer css end --> 
</div><!-- Product Video Popup Starts Here -->
    <div class="modal video-modal" id="videoModal">
        <div class="modal-dialog">
            <div class="modal-content animated">
                <div class="modal-header">
                    <button type="button" class="modal-close-btn">&times;</button>
                </div>
				<div class="modal-body">
					<iframe width="100%" height="350px" src=""></iframe>
                </div>
            </div>
        </div>
    </div>
    <!-- Product Video Popup ends Here -->
 





<style>
.whatsapp-button {
    bottom: 100px;
    right: 65px;
    z-index: 99;
}
</style>

<link rel="stylesheet" href="https://st.tistatic.com/ver9485/css/catalog/get-price.css" type="text/css"/>


<style>
.contactPopup .mcContact{margin-top:0;}
.contactPopup .mcContact .mcContactForm{box-shadow:none; margin-top:0; padding:0;}
.contactPopup .mcContact .mcContactForm .mcContactFormTitle{padding:0}
</style>

<div class="catModel contactPopup" id="inq_step1" style="display: none;">
    <div class="popupMainCnt">
        <div class="popupContent">
            <div class="catModelClose closeView">&#10005;</div>
            <div class="mcModalPopupBox">                
                <div class="mcContact" >
                    <div class="mcContactForm">
                        <div class="mcContactFormTitle">Contact Us</div>
                        <div class="mcFormDetailCnt">
                
                            <!-- quick enquiry from div start   -->
                            <div id="quick_inquiry_form_div" style="display:block"  >
                            <form id="quick_inquiry_first_form" >
                                <div class="mcTabSlider">
                                        <a class="quick_inquiry_template" template_text="Could you please send me a quotation for the items listed below?"  href="javascript:void(0)">Get Quotation</a>
                                        <a class="quick_inquiry_template" template_text="Can you provide me with the latest price list for your products?"   href="javascript:void(0)">Get Price List</a>
                                        <a class="quick_inquiry_template" template_text="I would like to discuss my requirements in detail. Can we set up a time to talk?" href="javascript:void(0)">Discuss Requirement</a>
                                </div>
                                <div class="mcFormGroup">
                                    <div class="mcFormCnt">
                                        <textarea  id="quick_inquiry_requirment" cols="30" rows="10" class="mcTextArea" style="color:black !important;"  ></textarea>
                                        <span class="mcFloatingLabel">Tell us your requirement</span>
                                    </div>
                                    <p class="formError" id="quick_inquiry_requirment_error"  style="display:none; padding-left: 11px;"> </p>
                                </div>
                
                                <div class="flagEmailMobi">
                                    <div class="mcFormGroup mobileInput">
                                        <div class="mcFormCnt mcMobileCnt">
                                            <input type="text" id="quick_inquiry_mobile" name="mobile" value="" style="color:black !important;" >
                                            <span class="mcFloatingLabel">Mobile number</span>
                                        </div>
                                        <p class="formError" id="quick_inquiry_mobile_error"  style="display:none; padding-left: 115px;">Mobile No. is needed for Inquiry.</p>
                                    </div>
                
                                    <div class="mcFormGroup emailInput emailInput_contact emailMobileNone">
                                        <div class="mcFormCnt">
                                            <input type="text" id="quick_inquiry_email"  value="" style="color:black !important;" >
                                            <span class="mcFloatingLabel">Email</span>
                                        </div>
                                        <p class="formError" id="quick_inquiry_email_error" style="display:none ;">Email id is needed for Inquiry.</p>
                                        <input type="hidden" id="quick_inquiry_logged_in" value="0" >
                                    </div>
                    </div>
    
                    <div class="mcBtnCnt">
                        <input type="button" value="Contact Now" onclick="post_quick_inquiry_cp();"  class="mcBtn mcPrimaryBtn">
                    </div>
                    <div class="errorText global_quick_inquiry_error"  style="display:none; color:red;"></div>
                    <div class="successText global_quick_inquiry_success" style="display: none;"></div>
                </form>
                            </div>
                            <!-- quick enquiry from div end   -->
                            <!-- quick enquiry from div start   -->
                             <div style="display:none; margin-top: 25px;" id="extra_form"  >
                                 <div class="mcFormGroup">
                                   <div class="mcFormCnt">
                                       <input type="text" id="uname"  value="" required="">
                                       <span class="mcFloatingLabel">Name</span>
                                   </div>
                                    <p class="formError" id="uname_error" style="display:none ;"></p>
                                   </div>

                                   <div class="mcFormGroup">
                                   <div class="mcFormCnt">
                                       <input type="text" id="uco_name"  value="" required="">
                                       <span class="mcFloatingLabel">Comapny Name</span>
                                   </div>
                                    <p class="formError" id="uco_name_error" style="display:none ;"></p>
                                   </div>

                                   <div class="mcFormGroup" id="ext_mobile_number_div" >
                                   <div class="mcFormCnt">
                                       <input type="text" id="ext_mobile_number"  value="" required="">
                                       <span class="mcFloatingLabel">Phone Number</span>
                                   </div>
                                    <p class="formError" id="ext_mobile_number_error" style="display:none ;"></p>
                                   </div>

                                   <div class="mcFormGroup" id="ext_mail_div" >
                                   <div class="mcFormCnt">
                                       <input type="text" id="ext_mail"  value="" required="">
                                       <span class="mcFloatingLabel">Email Id </span>
                                   </div>
                                    <p class="formError" id="ext_mail_error" style="display:none ;"></p>
                                   </div>
                                   <div class="mcFormGroup">
                                   <div class="mcFormCnt" style="position:relative">
                                       <input type="text" id="ext_city_state"  value="" required="">
                                       <input type="hidden" id="ext_city_state_sel"  value="" >
                                       <span class="mcFloatingLabel">City / State</span>
                                       <ul class="citySearchList" id='city_search_option'> </ul>
                                   </div>
                                   </div>

                                   <div class="mcBtnCnt">
                                       <input type="submit" value="Save" onclick="save_extra_form_cp();"  class="mcBtn">
                                </div>
                                <div class="errorText global_quick_inquiry_error"  style="display:none; color:red;"></div>
                                <div class="successText global_quick_inquiry_success"  style="display: none;"></div>
                            </div>
                            <!-- quick enquiry from div end   -->    
                            <!-- otp confirmation div start   -->
                            <div id="quick_inquiry_otp_confirmation_div"   style="display:none;">
                                <div class="otpLock" style="margin-bottom: 10px; text-align: center;">
                                    <img src="https://tiimg.tistatic.com/new_website1/ti-design/catalog/images/otp-lock.svg" alt="otp-">
                                </div>
                                <div style="text-align: center; font-size: 20px; font-weight: 600; margin-bottom: 10px;">OTP Verification</div>
                                <p class="mcInfo" style="text-align: center;" id="quick_inquiry_otp_text" > </p>
                                <div class="mcFormGroup">
                                    <div class="mcFormCnt">
                                        <input type="text" id="quick_inquiry_otp"  value="" style="color:black !important;" >
                                        <span class="mcFloatingLabel">Verification Code</span>
                                    </div>
                                    <input type="hidden" id="catalog_id" value="74266" >
                                    <input type="hidden" id="quick_inquiry_id" value="" >
                                    <input type="hidden" id="rfi_group_id" value="" >
                                    <input type="hidden" id="rfi_id" value="" >
                                    <input type="hidden" id="sender_userid" value="" >
                                    <input type="hidden" id="sender_profile_id" value="" >
                                    <input type="hidden" id="country_code_via_ip" value="IN" >
                                    <p class="formError" id="quick_inquiry_otp_error" style="display:none ;"></p>
                                </div>
                                <div class="mcResendSec">
                                    <span class="mcQuestion" id="quick_inquiry_question" >Did not receive yet?</span>
                                    <div>
                                        <span class="mcResendOtp" id="quick_inquiry_resend_otp" >Resend OTP</span>
                                        <span id="timer_cp"></span>
                                    </div>
                                </div>
                                <div class="mcBtnCnt">
                                    <input type="button" onclick="quick_enquiry_otp_verification_cp();"  value="Confirm Requirement" class="mcBtn">
                                </div>
                                <p class="formError" id="quick_inquiry_otp_mismatch" ></p>
                                <div class="errorText global_quick_inquiry_error"  style="display:none; color:red;"></div>
                                <div class="successText global_quick_inquiry_success"  style="display: none;"></div>
                            </div>
                            <!-- otp confirmation div end   -->

                            <!-- thank you div start   -->
                            <div  id="quick_inquiry_thanks_div" style="display:none;">
                                <div class="mcThanksCnt">
                                    <img src="https://tiimg.tistatic.com/new_website1/ti-design/catalog/images/check.svg" alt="done">
                                    <div class="mcThankTitle">Thank you!</div>
                                    <div class="mcThankSubTitle">We have received your requirements</div>
                                </div>
                            </div>
                            <!-- thank you div end -->
                        </div>

                        <!-- Loader-section Starts here -->
                        <div class="loading-container">
                            <div class="loader">
                                <div></div>
                                <div></div>
                            </div>
                            <label><b>Please Wait...</b></label>
                        </div>
                        <!-- Loader-section Ends here -->
                    </div>
                </div>

            </div>
        </div>
    </div>
</div>

<link rel="stylesheet" href="https://st.tistatic.com/ver9485/css/catalog/new_forms.css" type="text/css" />
<script type="text/javascript" src="https://st.tistatic.com/ver9485/js/payments/jquery.validate.js"></script>
<script type="text/javascript" src="https://st.tistatic.com/ver9485/js/tradeindia/design2017/intlTelInput.js"></script>

<script>

    $(document).ready(function(){

            $("#inq_step1 #quick_inquiry_mobile, #inq_step1 #quick_inquiry_email").focus(function () {
                    $(this).parents('.mcMobileCnt').find('.mcFloatingLabel').addClass('active');
            }).blur(function () {
                    $(this).parents('.mcMobileCnt').find('.mcFloatingLabel').removeClass('active');
            })
            $('#inq_step1 #quick_inquiry_mobile, #inq_step1 #quick_inquiry_email').on('keyup', function () {
                    var inputValue = $(this).val();
                    if (inputValue != '') {
                            $(this).parents('.mcMobileCnt').find('.mcFloatingLabel').addClass('active2');
                    } else {
                            $(this).parents('.mcMobileCnt').find('.mcFloatingLabel').removeClass('active2');
                    }
            });

            $('.sendInquary').on('click',function(){
                $('#inq_step1 #quick_inquiry_mobile').intlTelInput('setCountry', 'in' );
                $('#inq_step1 #quick_inquiry_mobile').removeClass('emailMobileNone');
                $('#inq_step1 .emailInput_contact').addClass('emailMobileNone');
                $('#inq_step1 #mobile_label').css('display','block');
                $('#inq_step1 #quick_inquiry_requirment').val('');
                $('#inq_step1 #quick_inquiry_mobile').val('');
                $('#inq_step1 #quick_inquiry_email').val('');
                $('#inq_step1 #quick_inquiry_mobile_error').css('display','none');
                $('#inq_step1 #quick_inquiry_email_error').css('display','none');
                $('#inq_step1 #quick_inquiry_requirment_error').css('display','none');
                $('#inq_step1 #quick_inquiry_otp_error').css('display','none');       
                $('#inq_step1 #quick_inquiry_otp_text').text('');
                $('#inq_step1 #quick_inquiry_form_div').css('display','block');
                $('#inq_step1 #quick_inquiry_otp_confirmation_div').css('display','none');
                $('#inq_step1 #quick_inquiry_thanks_div').css('display','none');
           });    

            $('#inq_step1 .quick_inquiry_template').on('click',function(){
                    $('#inq_step1 #quick_inquiry_requirment').val($(this).attr('template_text'));
            });
    
        $('#inq_step1 #quick_inquiry_mobile, #inq_step1 #quick_inquiry_otp').on('keypress',function(e){
            var keyCode = e.keyCode || e.which;
            var regex = /^[0-9]+$/;
            var isValid = regex.test(String.fromCharCode(keyCode));
            if (!isValid) {
                return false;
            }
        });

        $('#inq_step1 #quick_inquiry_mobile').focusout(function(e){
                 var term = $(this).val();
                 var regex = /^[0-9]+$/;
                 var isValid = regex.test(term);
                 if (term != '' &&  !isValid) {
                     $(this).val('');
                     $('#inq_step1 .global_quick_inquiry_error').text('Please enter numeric value for mobile/quantity');
                     $('#inq_step1 .global_quick_inquiry_error').css('display','block');
                     return false;
                 }
        });
    
        $('#inq_step1 #quick_inquiry_mobile').keypress(function(){
            var mobile_text_length = $(this).val().length;
            if(parseInt(mobile_text_length) >= 10 ){
                    $('#inq_step1 #quick_inquiry_mobile_error').text('Mobile number can not be more than 10 digits.');
                    $('#inq_step1 #quick_inquiry_mobile_error').css('display','block');       
                    return false;
            }
        });     
    
        $('#inq_step1 #quick_inquiry_resend_otp').on('click',function(){
               var resend_otp = 1;
               send_quick_inquiry_mobile_otp_cp(resend_otp);
        });
    
        $('#inq_step1 #quick_inquiry_mobile').on('click',function(){
            $('#inq_step1 #quick_inquiry_mobile_error').css('display','none');
            $('#inq_step1 .global_quick_inquiry_error').css('display','none');
        });
        $('#inq_step1 #quick_inquiry_email').on('click',function(){
            $('#inq_step1 #quick_inquiry_email_error').css('display','none');
        });
    
        $('#inq_step1 #quick_inquiry_requirment').on('click',function(){
            $('#inq_step1 #quick_inquiry_requirment_error').css('display','none');
        });
    
        $('#inq_step1 #quick_inquiry_otp').on('click',function(){
            $('#inq_step1 #quick_inquiry_otp_error').css('display','none');
        });
    
        $("#inq_step1 #quick_inquiry_mobile" ).intlTelInput({
        preferredCountries: ["in", "ae" ,"us" ,"cn"],
        separateDialCode: true,
        initialCountry: ""
    });

    var input = $("#inq_step1 #quick_inquiry_mobile");
    input.intlTelInput();
    input.on("countrychange", function() {
            var cont_data = input.intlTelInput("getSelectedCountryData");
            $('#inq_step1 #quick_inquiry_email_error').css('display','none');
            $('#inq_step1 #quick_inquiry_mobile_error').css('display','none');
            if(cont_data && cont_data.iso2){
                $('#inq_step1 #country_code_via_ip').val(cont_data.iso2.toUpperCase());
            }
            if(parseInt(cont_data.dialCode) == 91){
                    $('#inq_step1 #quick_inquiry_mobile').removeClass('emailMobileNone');
                    $('#inq_step1 .emailInput_contact').addClass('emailMobileNone');
                    $('#inq_step1 #mobile_label').css('display','block');
            }else{
                    $('#inq_step1 .emailInput_contact').removeClass('emailMobileNone');
                    $('#inq_step1 #quick_inquiry_mobile').addClass('emailMobileNone');
                    $('#inq_step1 #mobile_label').css('display','none');
            }
    });    
});


let timerOn_cp = true;
function startTimer_cp(remaining) {
    var m = Math.floor(remaining / 60);
    var s = remaining % 60;

    m = m < 10 ? '0' + m : m;
    s = s < 10 ? '0' + s : s;
    document.getElementById('timer_cp').innerHTML = m + ':' + s;
    remaining -= 1;

    if (remaining >= 0 && timerOn_cp) {
        setTimeout(function () {
            startTimer_cp(remaining);
        }, 1000);
        return;
    }

    if (!timerOn_cp) {
        $('#inq_step1 #inquiry_resend_otp').css('display','none');
        $('#inq_step1 #timer_cp').css('display','block');
    } else {

        $('#inq_step1 #inquiry_resend_otp').css('display','block');
        $('#inq_step1 #timer_cp').css('display','none');
    }

}

function timer_cp(remaining ){

        let timerOn_cp = true;
        $('#inq_step1 #inquiry_resend_otp').css('display','none');
        $('#inq_step1 #timer_cp').css('display','block');
        startTimer_cp(remaining);  

}

function post_quick_inquiry_cp(){
        var pattern = /^\b[A-Z0-9._%-]+@[A-Z0-9.-]+\.[A-Z]{2,4}\b$/i;
        var msg ='';
        var error = 0;
        var count = 1;
        var resend_otp = 0;
        var quick_inquiry_logged_in = $('#inq_step1 #quick_inquiry_logged_in').val();
        var quick_inquiry_country_code, quick_inquiry_mobile,quick_inquiry_email;
        var quick_inquiry_requirment = $('#inq_step1 #quick_inquiry_requirment').val();
        if( parseInt(quick_inquiry_logged_in) == 0 || typeof quick_inquiry_logged_in === "undefined"){
                quick_inquiry_mobile = $('#inq_step1 #quick_inquiry_mobile').val();
                quick_inquiry_country_code = $('#inq_step1 .selected-dial-code').text();
                quick_inquiry_email = $('#inq_step1 #quick_inquiry_email').val();
        }else{
                quick_inquiry_mobile = $('#inq_step1 #quick_inquiry_mobile_hidden').val();
                quick_inquiry_country_code = $('#inq_step1 #quick_inquiry_country_code').val();
                quick_inquiry_email = $('#inq_step1 #quick_inquiry_email').val();
        }
        //alert('quick_inquiry_logged_in: '+quick_inquiry_logged_in+'quick_inquiry_country_code: '+quick_inquiry_country_code+'quick_inquiry_requirment: '+quick_inquiry_requirment+'quick_inquiry_mobile: '+quick_inquiry_mobile+'quick_inquiry_email: '+quick_inquiry_email);
        $('#inq_step1 #quick_inquiry_mobile_error').css('display','none');
        $('#inq_step1 #quick_inquiry_email_error').css('display','none');
        $('#inq_step1 #quick_inquiry_requirment_error').css('display','none');
        $('#inq_step1 #quick_inquiry_otp_error').css('display','none');
        $('#inq_step1 #global_quick_inquiry_error').css('display','none');
        if(quick_inquiry_requirment == ''){
                //msg += ' '+ count + ':  requirment is not provided for the inquiry';
                msg = 'Requirment is not provided for the inquiry';
                error = 1;
                count++;
                $('#inq_step1 #quick_inquiry_requirment_error').text(msg);
                $('#inq_step1 #quick_inquiry_requirment_error').css('display','block');
        }
        if((parseInt(quick_inquiry_logged_in) == 0 || typeof quick_inquiry_logged_in === "undefined" ) &&  quick_inquiry_country_code == '+91' &&  (!quick_inquiry_mobile || (quick_inquiry_mobile && quick_inquiry_mobile === ''))){
                msg =  'Mobile No. is needed for Inquiry.';
                error = 1;
                count++;
                $('#inq_step1 #quick_inquiry_mobile_error').text(msg);
                $('#inq_step1 #quick_inquiry_mobile_error').css('display','block');
        }
        if((parseInt(quick_inquiry_logged_in) == 0 || typeof quick_inquiry_logged_in === "undefined" ) &&  quick_inquiry_country_code == '+91' &&  quick_inquiry_mobile.length != 10 ){
                msg = 'Please enter a valid Mobile No. for Inquiry.';
                error = 1;
                count++;
                $('#inq_step1 #quick_inquiry_mobile_error').text(msg);
                $('#inq_step1 #quick_inquiry_mobile_error').css('display','block');
        }
        if(( parseInt(quick_inquiry_logged_in) == 0 || typeof quick_inquiry_logged_in === "undefined" ) && quick_inquiry_country_code !== '+91' && !quick_inquiry_email ){
                msg =  'Email is needed for Inquiry.';
                error = 1;
                count++;
                $('#inq_step1 #quick_inquiry_email_error').text(msg);
                $('#inq_step1 #quick_inquiry_email_error').css('display','block');
        }
        if((parseInt(quick_inquiry_logged_in) == 0 || typeof quick_inquiry_logged_in === "undefined") && quick_inquiry_country_code !== '+91' &&  !pattern.test(quick_inquiry_email)){
                msg = 'Please enter a Valid Email for Inquiry.';
                error = 1;
                count++;
                $('#inq_step1 #quick_inquiry_email_error').text(msg);
                $('#inq_step1 #quick_inquiry_email_error').css('display','block');
        }
        if(error){
                return false;
        }else{
                $('#inq_step1 .loading-container').css('display','flex');
                $('#inq_step1  #quick_inquiry_form_div').css('display','none');
                save_quick_inquiry_cp();
        }

}

function save_quick_inquiry_cp(){
        var pattern = /^\b[A-Z0-9._%-]+@[A-Z0-9.-]+\.[A-Z]{2,4}\b$/i;
        var msg ='';
        var error = 0;
        var count = 1;
        var resend_otp = 0;
        var catalog_id = $('#inq_step1 #catalog_id').val();
        var quick_inquiry_logged_in = $('#inq_step1 #quick_inquiry_logged_in').val();
        var  quick_inquiry_country_code,quick_inquiry_mobile,country_name ;
        if(parseInt(quick_inquiry_logged_in) == 0 || typeof quick_inquiry_logged_in === "undefined" ){
                quick_inquiry_country_code = $('#inq_step1 .selected-dial-code').text();
                quick_inquiry_mobile = $('#inq_step1 #quick_inquiry_mobile').val();
                var cont_data = $("#inq_step1 #quick_inquiry_first_form .flag-container .selected-flag").attr('title');
                if(cont_data && cont_data != ''){
                        country_name = cont_data.split('(')[0].trim();
                }
        }else{
                quick_inquiry_country_code = $('#inq_step1 #quick_inquiry_country_code').val();
                quick_inquiry_mobile = $('#inq_step1 #quick_inquiry_mobile_hidden').val();
                country_name = $('#inq_step1 #quick_inquiry_country_name').val();
        }
        var quick_inquiry_email = $('#inq_step1 #quick_inquiry_email').val();
        var mobile_with_isd = quick_inquiry_country_code+quick_inquiry_mobile;
        var quick_inquiry_requirment = $('#inq_step1 #quick_inquiry_requirment').val();

        var reg_user = 0;
        var mob_length = quick_inquiry_mobile.length;
        if(parseInt(quick_inquiry_logged_in) == 0  || typeof quick_inquiry_logged_in === "undefined"){
               if( mob_length > 4 || inquiry_email != '' ){
                        $.ajax({
                                url: '/component/check_email_mobile_exist.html',
                                type: 'POST',
                                global: 'false',
                                async: false,
                                data: {
                                        'email' : quick_inquiry_email,
                                        'mobile': quick_inquiry_country_code+quick_inquiry_mobile,
                                        'from_catalog' : 1
                                },
                                success: function(data){
                                        if(/SUCCESS/.test(data)) {
                                                reg_user = 1;
                                        }
                                }
                        });
                } 
        }

        var ajx_url = '/save_quick_inquiry.html';
        $.ajax({
                url: ajx_url,
                type: 'post',
                dataType: 'json',
                async : true,
                data    : {'catalog_id' : catalog_id , 'quick_inquiry_logged_in' : quick_inquiry_logged_in, 'quick_inquiry_country_code' : quick_inquiry_country_code, 'quick_inquiry_mobile':quick_inquiry_mobile, 'quick_inquiry_email' : quick_inquiry_email,'quick_inquiry_requirment':quick_inquiry_requirment,'reg_user':reg_user,"country_name":country_name},
                success: function(response) {
                        //console.log(response);
                        $('#inq_step1 .loading-container').css('display','none');
                        if(parseInt(response.api_data.status_code) == 200){
                                //$('#inq_step1 #quick_inquiry_form_div').css('display','none');
                                $('#inq_step1 #quick_inquiry_otp_confirmation_div').css('display','none');                                
                                if(response.api_data.data && response.api_data.data.quick_inq_id){
                                        $('#inq_step1 #quick_inquiry_id').val(response.api_data.data.quick_inq_id);
                                }
                                if(response.api_data.data && response.api_data.data.rfi_group_id){
                                        $('#inq_step1 #rfi_group_id').val(response.api_data.data.rfi_group_id);
                                }
                                if(response.api_data.data && response.api_data.data.sender_userid){
                                        $('#inq_step1 #sender_userid').val(response.api_data.data.sender_userid);
                                }
                                if(response.api_data.data && response.api_data.data.sender_profile_id){
                                        $('#inq_step1 #sender_profile_id').val(response.api_data.data.sender_profile_id);
                                }
                                if( parseInt(quick_inquiry_logged_in) == 0  || typeof quick_inquiry_logged_in === "undefined"){
                                send_quick_inquiry_mobile_otp_cp(resend_otp);
                                }else{
                                        if(response.api_data && response.api_data.data && response.api_data.data.quick_inq_id){
                                                update_quick_inquiry_cp(response.api_data.data.quick_inq_id);
                                        }else{
                                                console.log('quick enqiry id not found');
                                                $('#inq_step1 .loading-container').css('display','none');
                                                $('#inq_step1 #quick_inquiry_form_div').css('display','none');
                                                $('#inq_step1 #quick_inquiry_otp_confirmation_div').css('display','none');
                                                $('#inq_step1 #quick_inquiry_thanks_div').css('display','block');
                                        }
                                }
                        }
                },
        });
}


function send_quick_inquiry_mobile_otp_cp(resend_otp){
        var quick_inquiry_logged_in = $('#inq_step1 #quick_inquiry_logged_in').val();
        var quick_inquiry_country_code;
        if(parseInt(quick_inquiry_logged_in) == 0 || typeof quick_inquiry_logged_in === "undefined" ){
                quick_inquiry_country_code = $('#inq_step1 .selected-dial-code').text();
        }else{
                quick_inquiry_country_code = $('#inq_step1 #quick_inquiry_country_code').val();
        }
        var medium;
        if(quick_inquiry_country_code == '+91'){
                medium = 'mobile no.';
        }else{
                medium = 'email';
        }
        var quick_inquiry_mobile = $('#inq_step1 #quick_inquiry_mobile').val();
        var quick_inquiry_email = $('#inq_step1 #quick_inquiry_email').val();
        
        var ajx_url = '/send_inquiry_otp.html';
        var mobile_with_isd = quick_inquiry_country_code+quick_inquiry_mobile;
        //alert('mobile_with_isd:'+mobile_with_isd+' quick_inquiry_email:'+quick_inquiry_email+' quick_inquiry_mobile:'+quick_inquiry_mobile+' quick_inquiry_country_code:'+ quick_inquiry_country_code+' quick_inquiry_logged_in:'+quick_inquiry_logged_in);
        $.ajax({
                url: ajx_url,
                type: 'post',
                dataType: 'json',
                async : true,
                data  : {'client_mobile' : mobile_with_isd,'client_email':quick_inquiry_email,'came_from':'new_quick_inquiry_form'},
                success: function(response) {
                       //console.log(response);
                        $('#inq_step1 .loading-container').css('display','none');
                       if(response.SUCCESS){
                        $('#inq_step1 #quick_inquiry_form_div').css('display','none');
                        $('#inq_step1 #extra_form').css('display','none');
                        $('#inq_step1 #quick_inquiry_otp_confirmation_div').css('display','block');
                                if(parseInt(resend_otp) == 1){
                                        $('#inq_step1 #quick_inquiry_resend_otp_success').html('OTP re-sent Successfully.');
                                        $("#inq_step1 #quick_inquiry_resend_otp_success").fadeOut(3000);
                                        timer_cp(180,1);

                                }else{
                                        var otp_text,text_part;
                                        if(quick_inquiry_country_code == '+91'){
                                                medium = 'mobile no.';   
                                                text_part = quick_inquiry_mobile.substring(quick_inquiry_mobile.length - 4);
                                                otp_text = 'Authenticate with the 4 digit One Time Password (OTP) sent to your registered mobile number XXXXXX'+text_part;   
                                        }else{
                                                medium = 'email';   
                                                var email_part = quick_inquiry_email.split("@");
                                                var text_part_one = email_part[0].substring(0,3);   
                                                var text_part_two = email_part[0].substring(email_part[0].length - 3);   
                                                otp_text = 'Authenticate with the 4 digit One Time Password (OTP) sent to your registered email number '+text_part_one+'XXXXXX'+text_part_two+'@'+email_part[1];   
                                        }
                                 
                                        $('#inq_step1 #quick_inquiry_otp_text').text(otp_text);
                                        $('#inq_step1 #quick_inquiry_form_div').css('display','none');
                                        $('#inq_step1 #quick_inquiry_otp_confirmation_div').css('display','block');
                                        
                                        timer_cp(60,1);
                                }
                        }else{
                        $('#inq_step1 #quick_inquiry_form_div').css('display','block');
                                $('#inq_step1 .global_quick_inquiry_error').text('Please wait one minute before sending OTP to the entered '+medium+'');
                                $('#inq_step1 .global_quick_inquiry_error').css('display','block')
                                $('#inq_step1 .global_quick_inquiry_error').fadeOut(5000);
                        }
                },
        });
}


function quick_enquiry_otp_verification_cp(){
        var quick_inquiry_otp = $('#inq_step1 #quick_inquiry_otp').val();
        var catalog_id = $('#inq_step1 #catalog_id').val();
        var quick_inquiry_logged_in = $('#inq_step1 #quick_inquiry_logged_in').val();
        var quick_inquiry_country_code;
        if(parseInt(quick_inquiry_logged_in) == 0 || typeof quick_inquiry_logged_in === "undefined" ){
                quick_inquiry_country_code = $('#inq_step1 .selected-dial-code').text();
        }else{
                quick_inquiry_country_code = $('#inq_step1 #quick_inquiry_country_code').val();
        }
        var quick_inquiry_mobile = $('#inq_step1 #quick_inquiry_mobile').val();
        var quick_inquiry_email = $('#inq_step1 #quick_inquiry_email').val();
        var mobile_with_isd = quick_inquiry_country_code+quick_inquiry_mobile;
        var error = 0;
        var msg = '';
        if(quick_inquiry_otp ==''){
                error = 1;
                msg = 'OTP field is blank';
                $('#inq_step1 #quick_inquiry_otp_error').html(msg);
                $('#inq_step1 #quick_inquiry_otp_error').css('display','block')
        }  

        if(quick_inquiry_otp.length != 4){
                error = 1;
                msg = 'OTP is invalid';
                $('#inq_step1 #quick_inquiry_otp_error').html(msg);
                $('#inq_step1 #quick_inquiry_otp_error').css('display','block')
        }

        if(error){
                
                return false;
        }else{
                var ajx_url = '/send_inquiry_otp.html';
                $.ajax({
                        url: ajx_url,
                        type: 'post',
                        dataType: 'json',
                        async : true,
                        data    : {'get_otp' : 1 , 'user_otp' : quick_inquiry_otp, 'client_mobile' : mobile_with_isd, 'country_code':quick_inquiry_country_code, 'mobile':quick_inquiry_mobile, 'client_email' : quick_inquiry_email},
                        success: function(response) {
                                //console.log(response);
                                if(response.SUCCESS){
                                        $('#inq_step1 #quick_inquiry_otp_confirmation_div').css('display','none');                                
                                        var quick_inquiry_id = $('#inq_step1 #quick_inquiry_id').val();
                                        if(parseInt(quick_inquiry_id) > 0){
                                                update_quick_inquiry_cp(quick_inquiry_id);
                                        }else{
                                                $('#inq_step1 .loading-container').css('display','none');
                                                $('#inq_step1 #quick_inquiry_thanks_div').css('display','block');
                                        }
                                }else{
                                        $('#inq_step1 .loading-container').css('display','none');
                                        $('#inq_step1 #quick_inquiry_otp_error').text(response.ERROR.NOT_VERIFIED);
                                        $('#inq_step1 #quick_inquiry_otp_error').css('display','block');
                                        $("#inq_step1 #quick_inquiry_otp_error").fadeOut(3000);
                                }
                        },
                });
        }

}

function update_quick_inquiry_cp(quick_inquiry_id){
        var ajx_url = '/update_quick_inquiry.html';
        $.ajax({
                url: ajx_url,
                type: 'post',
                dataType: 'json',
                async : true,
                data : {"update" : 1, "quick_inq_id" : quick_inquiry_id },
                success: function(response) {
                        console.log(response);
                },
        });
        $('#inq_step1 .loading-container').css('display','none');
        $('#inq_step1 #quick_inquiry_form_div').css('display','none');
        $('#inq_step1 #extra_form').css('display','none');
        $('#inq_step1 #quick_inquiry_otp_confirmation_div').css('display','none');
        $('#inq_step1 #quick_inquiry_thanks_div').css('display','block');
}

function save_extra_form_cp(){
        
        var pattern = /^\b[A-Z0-9._%-]+@[A-Z0-9.-]+\.[A-Z]{2,4}\b$/i;
        var msg ='';
        var error = 0;
        var count = 1;
        var resend_otp = 0;
        var quick_inquiry_logged_in = $('#inq_step1 #quick_inquiry_logged_in').val();
        var quick_inquiry_country_code = $('#inq_step1 .selected-dial-code').text();
        
        var uname = $('#inq_step1 #uname').val();
        var uco_name = $('#inq_step1 #uco_name').val();
        var ext_mobile_number = $('#inq_step1 #ext_mobile_number').val();
        var ext_mail = $('#inq_step1 #ext_mail').val();
        var ext_city_state = $('#inq_step1 #ext_city_state_sel').val();
        var rfi_group_id = $('#inq_step1 #rfi_group_id').val();

        var sender_userid = $('#inq_step1 #sender_userid').val();
        var sender_profile_id = $('#inq_step1 #sender_profile_id').val();
        var country_code_via_ip = $('#inq_step1 #country_code_via_ip').val();

        if( uname == ''){
                msg = 'Name is not provided for the inquiry';
                error = 1;
                count++;
                $('#inq_step1 #uname_error').text(msg);
                $('#inq_step1 #uname_error').css('display','block');
        }
        if( uco_name == ''){
                msg = 'Company name is not provided for the inquiry';
                error = 1;
                count++;
                $('#inq_step1 #uco_name_error').text(msg);
                $('#inq_step1 #uco_name_error').css('display','block');
        }
        if(quick_inquiry_country_code &&  quick_inquiry_country_code == '+91' && ( ext_mail === '')){
                msg =  'Email is required for Inquiry.';
                error = 1;
                count++;
                $('#inq_step1 #ext_mail_error').text(msg);
                $('#inq_step1 #ext_mail_error').css('display','block');
        }
        if(quick_inquiry_country_code && quick_inquiry_country_code == '+91' && ext_mail != ''  && !pattern.test(ext_mail)){
                msg = 'Please enter a valid email address for Inquiry.';
                error = 1;
                count++;
                $('#inq_step1 #ext_mail_error').text(msg);
                $('#inq_step1 #ext_mail_error').css('display','block');
        }
        if(quick_inquiry_country_code && quick_inquiry_country_code !== '+91' &&  ext_mobile_number ==='' ){
                msg =  'Mobile no. is needed for Inquiry.';
                error = 1;
                count++;
                $('#inq_step1 #ext_mobile_number_error').text(msg);
                $('#inq_step1 #ext_mobile_number_error').css('display','block');
        }
        if(quick_inquiry_country_code && quick_inquiry_country_code !== '+91' &&  ext_mobile_number.length != 10){
                msg = 'Please enter a Valid mobile no. for Inquiry.';
                error = 1;
                count++;
                $('#inq_step1 #ext_mobile_number_error').text(msg);
                $('#inq_step1 #ext_mobile_number_error').css('display','block');
        }
        if(error){
                return false;
        }else{
                var ajx_url = '/save_extra_form.html';
                $.ajax({
                        url: ajx_url,
                        type: 'post',
                        dataType: 'json',
                        async : true,
                        data : { 'uname':uname , 'uco_name':uco_name , 'ext_mobile_number':ext_mobile_number , 'ext_mail':ext_mail , 'ext_city_state':ext_city_state , 'quick_inquiry_country_code':quick_inquiry_country_code, 'rfi_group_id':rfi_group_id, 'sender_profile_id':sender_profile_id,'sender_userid':sender_userid,'country_code_via_ip':country_code_via_ip },
                        success: function(response) {
                                console.log(response);
                                if(response.save_extra_form_return_data.status_code == 201){
                                        $('#inq_step1 .loading-container').css('display','flex');
                                        //$('#inq_step1 #extra_form').css('display','none');
                                        $('#inq_step1 #quick_inquiry_thanks_div').css('display','none');
                                        $('#inq_step1  #quick_inquiry_form_div').css('display','none');
                                        send_quick_inquiry_mobile_otp_cp(0)

                                }else{
                                       $('#inq_step1 #global_quick_inquiry_error').html('Somethisng went wrong. Please wait');
                                       $('#inq_step1 #global_quick_inquiry_error').css('display','block');
                                }
                        },
                });
        }
}

$('#inq_step1 #ext_city_state').on("keyup", function(event) {
        var term = $(this).val();
        var pattern = new RegExp(/Uttar/g);
        if(term.length >= 3){
                $.ajax({ // ajax request for getting the suggestions according to the characters filled till now in input textbox
                        url: "/component/locator_suggest_json.html",
                        type: 'post',
                        dataType: "json",
                        data: { city_initials: term },
                        success: function( data ) {
                                console.log(data);
                                var html_str = '';
                                if(data && data.length > 0){
                                $.each(data, function(index, item){
                                        var city = item.city.replaceAll(' ','$%');
                                        var state = item.state.replaceAll(' ','$%');
                                        var country_name = item.country_name.replaceAll(' ','$%');
                                        html_str +="<li  onclick=setcity_cp('"+city+"','"+state+"','"+country_name+"'); > "+item.optionLabel+" </li>";
                                });
                                        $('#inq_step1 #city_search_option').html(html_str);
                                }else if(response.ERROR){
                                        html_str = response.ERROR;
                                        $('#inq_step1 #city_search_option').html(html_str);
                                }
                        }

                });
        }
        console.log(term);
});

function setcity_cp(city,state,country){
        city = city.replaceAll('$%',' ');
        state = state.replaceAll('$%',' ');
        country = country.replaceAll('$%',' ');
        $('#inq_step1 #city_search_option').html('');
        $('#inq_step1 #ext_city_state').val(city+', '+state+' - '+country);
        $('#inq_step1 #ext_city_state_sel').val(city+'/'+state);
}

</script>



<style>
    .static_send_inq{
        display: none;
    } 
</style>
<div class="catModel" id="sendInquiry" style="display: none;" >
    <div class="popupMainCnt" >
        <div class="popupContent">
            <div class="catModelClose closeView">&#10005;</div>
            <div class="mcModalPopupBox" >
                <!-- step 1 -->
                <div class="mcFormDetailCnt" id="requirment_details_div" style="display:none;"  >
                    <div class="mcTitleModalPopup">Tell us about your requirement</div>
                    <div class="mcSendInqPro" id="prod_info_div" >
                        <div class="mcImgCnt">
                            <img id='prod_image'  src="images/product-detail-img.png" alt="product">
                        </div>
                        <div class="mcInfoCnt">
                            <p class="mcProName" id="prod_name"  > </p>
                            <p class="mcProPrice" id="prod_price_div"  > <span id="prod_price_p" >Price: </span> <span id="prod_price" > </span> </p>
                            <input type="hidden" id="catalog_id" value="" />
                            <input type="hidden" id="product_id" value="10805418" />
                            <input type="hidden" id="product_price" value="" />
                            <input type="hidden" id="product_price_unit" value="" />
                            <input type="hidden" id="product_moq_hidden" value="" />
                            <input type="hidden" id="product_url" value="" />
                            <input type="hidden" id="mobile_with_isd" value="" />
                            <input type="hidden" id="button_path" value="" />
                            <input type="hidden" id="is_otp_verified" value="0" />
                            <input type="hidden" id="base_url" value="https://www.4474747.com" />
                            <input type="hidden" id="show_extra_form" value="0" />
                            <input type="hidden" id="country_code_via_ip" value="IN" />
                            <input type="hidden" id="remove_opt_verification_section" value="0" />
                        </div>
                    </div>
                    <div class="mcFormGroup" id="product_attr_div" >
                        <!--label class="formLabel">Quantity *</label-->
                        <div class="mcCol2">
                            <div class="mcFormCnt">
                                <input type="text" id="prod_moq" value="" >
                                <span class="mcFloatingLabel">Quantity</span>
                            </div>
                            <div class="mcFormCnt selectBox">
                                <select  id="prod_moq_unit"> </select>
                                <span class="mcFloatingLabel">Select Unit</span>
                            </div>
                            <p class="formError" id="prod_moq_error" ></p>
                        </div>
                    </div>
                    <div class="mcFormGroup">
                        <ul class="mcSendInqQty" id="send_enquiry_quantity_ul" > </ul>
                    </div>
                    <div class="mcFormGroup">
                        <div class="mcFormCnt">
                            <input type="text" id="inquiry_comment" value="" >
                            <span class="mcFloatingLabel">Additional detail</span>
                        </div>
                    </div>
                    <div class="flagEmailMobi" id="inquiry_form_dial_code_div"  >
                        <div class="mcFormGroup mobileInput">
                            <div class="mcFormCnt mcMobileCnt">
                                <input type="text" id="inquiry_mobile" name="mobile" value="" required="">
                                <span class="mcFloatingLabel" id="mobile_label" >Mobile number</span>
                            </div>
                            <p class="formError" id="inquiry_mobile_error" style="display: block; padding-left: 115px;"> </p>
                        </div>

                        <div class="mcFormGroup emailInput emailInput_sendInq emailMobileNone">
                            <div class="mcFormCnt">
                                <input type="text" id="inquiry_email" name="email" value="" required="">
                                <span class="mcFloatingLabel">Email</span>
                            </div>
                            <p class="formError" id="inquiry_email_error"  style="display: block;"> </p>
                            <input type="hidden" id="logged_in" name="hemail" value="0" required="">    
                        </div>
                    </div>
                    <div class="errorText global_send_inquiry_error"  style="display:none;color: crimson;"></div>
                    <div class="successText global_send_inquiry_success" style="display: none;"></div>
                    <div style="clear: both;"></div>
                    <div class="mcBtnCnt">
                        <input type="submit" value="Submit Now" class="mcBtn" onclick="validate_inquiery_form();" >
                    </div>
                </div>

                <!-- extra from div start   -->
                <div style="display:none; margin-top: 25px;" id="extra_form" >
                   <div class="mcFormDetailCnt">
                     <div class="mcFormGroup">
                       <div class="mcFormCnt">
                           <input type="text" id="uname" value="" required="">
                           <span class="mcFloatingLabel">Name</span>
                       </div>
                        <p class="formError" id="uname_error" style="display:none ;"></p>
                     </div>

                     <div class="mcFormGroup">
                       <div class="mcFormCnt">
                           <input type="text" id="uco_name" value="" required="">
                           <span class="mcFloatingLabel">Comapny Name</span>
                       </div>
                       <p class="formError" id="uco_name_error" style="display:none ;"></p>
                     </div>

                     <div class="mcFormGroup" id="ext_mobile_number_div" >
                       <div class="mcFormCnt">
                           <input type="text" id="ext_mobile_number" value="" required="">
                           <span class="mcFloatingLabel"> Phone Number</span>
                       </div>
                       <p class="formError" id="ext_mobile_number_error" style="display:none ;"></p>
                     </div>

                     <div class="mcFormGroup" id="ext_mail_div" >
                       <div class="mcFormCnt">
                           <input type="text" id="ext_mail" value="" required="">
                           <span class="mcFloatingLabel">Email Id</span>
                       </div>
                        <p class="formError" id="ext_mail_error" style="display:none ;"></p>
                     </div>

                     <div class="mcFormGroup">
                       <div class="mcFormCnt" style="position:relative" >
                           <input type="text" id="ext_city_state"  value="" required="">
                           <input type="hidden" id="ext_city_state_sel" value="" >     
                           <span class="mcFloatingLabel">City / State</span>
                           <ul class="citySearchList" id='city_search_option'> </ul>
                       </div>
                     </div>

                     <div class="mcBtnCnt">
                         <input type="submit" value="Submit" class="mcBtn" onclick="save_extra_formdt();"  >
                     </div>
                   </div>
                 </div>
                <!-- extra from div end -->

                <!-- step 2 -->
                <div id="inquiry_form_otp_confirmation_div" style="display: none;">
                    <div class="mcTitleModalPopup">Confirm Your Requirement</div>
                    <div class="mcFormDetailCnt">
                        <p class="mcInfo" id="send_inquiry_otp_text"  > </p>
                        <div class="mcFormGroup">
                            <div class="mcFormCnt">
                                <input type="text" id="inquiry_otp_input" value="" maxlength="4" pattern="\d{4}" required="">
                                <span class="mcFloatingLabel">Verification Code</span>
                            </div>
                            <p class="formError" id="inquiry_otp_input_error" ></p>
                        </div>
                        <div class="mcResendSec">
                            <span class="mcQuestion" id="send_inquiry_question" >Did not receive yet?</span>
                            <div>
                                <span class="mcResendOtp" id='inquiry_resend_otp' >Resend OTP</span>
                                <span id="send_inquiry_timer"></span>
                            </div>
                        </div>
                        <div>
                             <input type="hidden" id="category_ids" value="" >
                             <input type="hidden" id="business_kw_ids" value="" >
                             <input type="hidden" id="selected_product_ids" value="" >
                             <input type="hidden" id="form_prefix" value="" >
                             <input type="hidden" id="order_value_inr" value="" >
                             <input type="hidden" id="units" value="" >
                             <input type="hidden" id="quantity_descr"  value="" >
                             <input type="hidden" id="order_value_usd" value="" >
                             <input type="hidden" id="req_type" value="" >
                             <input type="hidden" id="currency"  value="" >
                             <input type="hidden" id="pref_supp_location"  value="" >
                             <input type="hidden" id="buying_need"  value="" >
                             <input type="hidden" id="regular_req_type"  value="" >
                             <input type="hidden" id="quick_inq_id" value="" >
                             <input type="hidden" id="rfi_group_id" value="" >
                             <input type="hidden" id="rfis_sent_unmdrtd" value="" >
                             <input type="hidden" id="rfis_all"  value="" >
                             <input type="hidden" id="sectionname"  value="" >
                             <input type="hidden" id="pagename"  value="" >
                             <input type="hidden" id="rfiids" value="" >
                             <input type="hidden" id="sender_userid" value="" >
                        </div>
                        <div class="mcBtnCnt">
                            <input type="submit"  value="Confirm Requirement" class="mcBtn" id="otp_validation_btn" >
                        </div>
                    </div>
                </div>

                <!-- step 3 -->
                <div id="inquiry_success_div" style="display: none;">
                    <div class="mcFormDetailCnt">
                        <div class="mcThanksCnt">
                            <img src="https://tiimg.tistatic.com/new_website1/ti-design/catalog/images/check.svg" alt="done">
                            <div class="mcThankTitle">You&rsquo;re Done!</div>
                            <div class="mcThankSubTitle">We have received your requirements and will reply shortly with the best price.</div>
                            <div class="mcProductYouLike" id="product_list" >
                                <div class="mcTitle">Products You May Like</div>
                                <div class="mcProdLikeList" id="inquiry_form_similar_product_list" >
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <!-- Loader-section Starts here -->
            <div class="loading-container" id="loaderPopUp"  style="display:none" >
                <div class="loader">
                    <div></div>
                    <div></div>
                </div>
                <label><b>Please Wait...</b></label>
            </div>
            <!-- Loader-section Ends here -->
        </div>
    </div>
</div>

<link rel="stylesheet" href="https://st.tistatic.com/ver9485/css/catalog/new_forms.css" type="text/css" />
<script type="text/javascript" src="https://st.tistatic.com/ver9485/js/payments/jquery.validate.js"></script>
<script type="text/javascript" src="https://st.tistatic.com/ver9485/js/tradeindia/design2017/intlTelInput.js"></script>

<script>

function roundnum(num){
        return Math.floor(num / 50)*50;
}

function set_moq_send_enquiry(x,main_div_name){
        $(x).parent().find('.active').removeClass('active');
        $(x).addClass('active');
        $('#'+main_div_name+' #prod_moq').val($(x).text() );
}

$ = jQuery.noConflict();
$(document).ready(function(){
        $("#sendInquiry #inquiry_mobile, #sendInquiry #inquiry_email").focus(function () {
                    $(this).parents('.mcMobileCnt').find('.mcFloatingLabel').addClass('active');
            }).blur(function () {
                    $(this).parents('.mcMobileCnt').find('.mcFloatingLabel').removeClass('active');
            });
            $('#sendInquiry #inquiry_mobile, #sendInquiry #inquiry_email').on('keyup', function () {
                    var inputValue = $(this).val();
                    if (inputValue != '') {
                            $(this).parents('.mcMobileCnt').find('.mcFloatingLabel').addClass('active2');
                    } else {
                            $(this).parents('.mcMobileCnt').find('.mcFloatingLabel').removeClass('active2');
                    }
            });

        $('.closeView').click(function(){
                $('.catModel').hide();
        });
        $("#sendInquiry #inquiry_mobile" ).intlTelInput({
                preferredCountries: ["in", "ae" ,"us" ,"cn"],
                separateDialCode: true,
                initialCountry: ""
        });

        var input = $("#sendInquiry #inquiry_mobile");
        input.intlTelInput();
        input.on("countrychange", function() {
                var cont_data = input.intlTelInput("getSelectedCountryData");
                $('#sendInquiry #inquiry_email_error').css('display','none');
                $('#sendInquiry #inquiry_mobile_error').css('display','none');
                if(cont_data && cont_data.iso2){
                        $('#sendInquiry #country_code_via_ip').val(cont_data.iso2.toUpperCase());
                }
                if(parseInt(cont_data.dialCode) == 91){
                        $('#sendInquiry #inquiry_mobile').removeClass('emailMobileNone');
                        $('#sendInquiry .emailInput_sendInq').addClass('emailMobileNone');
                        $('#sendInquiry #mobile_label').css('display','block');
                }else{
                        $('#sendInquiry .emailInput_sendInq').removeClass('emailMobileNone');
                        $('#sendInquiry #inquiry_mobile').addClass('emailMobileNone');
                        $('#sendInquiry #mobile_label').css('display','none');
                }
        });

        $('#sendInquiry .qtyNum').on('click',function(){
                $(this).parent().find('.active').removeClass('active');
                $(this).addClass('active');
                $('#sendInquiry #prod_moq').val($(this).text() );
        });

        $('#sendInquiry #inquiry_mobile').on('click',function(){
                $('#sendInquiry #inquiry_mobile_error').css('display','none');
                $('#sendInquiry .global_quick_inquiry_error').css('display','none');
        });

        $('#sendInquiry #inquiry_email').on('click',function(){
            $('#sendInquiry #inquiry_email_error').css('display','none');
        });


        $('#sendInquiry #prod_moq').on('click',function(){
            $('#sendInquiry #prod_moq_error').css('display','none');
            $('#sendInquiry .global_quick_inquiry_error').css('display','none');
        });

        $('#sendInquiry #inquiry_otp_input').on('click',function(){
            $('#sendInquiry #inquiry_otp_input_error').css('display','none');
        });

        $('#sendInquiry #inquiry_resend_otp').on('click',function(){
            //startTimer(60,0);
        });

        $('.send_inquery_static').click(function(){
                var catalog_id = "74266";
                var product_id = $(this).attr('data-product-id');
                execute_send_inquiry_form(catalog_id,product_id);
        
        });


        $('[id^=send_a_inq_]').click(function (){
                var id = $(this).attr('id');
                var catalog_id = "74266";
                var category_id = "";
                var product_id = id.split("_")[3];

                if(!$.isNumeric(product_id)){
                        $('#inq_step1 #quick_inquiry_mobile').intlTelInput('setCountry', 'in' );
                         $('#inq_step1 #quick_inquiry_mobile').removeClass('emailMobileNone');
                         $('#inq_step1 .emailInput_contact').addClass('emailMobileNone');
                         $('#inq_step1 #mobile_label').css('display','block');
                         $('#inq_step1 #quick_inquiry_requirment').val('');
                         $('#inq_step1 #quick_inquiry_mobile').val('');
                         $('#inq_step1 #quick_inquiry_email').val('');
                         $('#inq_step1 #quick_inquiry_mobile_error').css('display','none');
                         $('#inq_step1 #quick_inquiry_email_error').css('display','none');
                         $('#inq_step1 #quick_inquiry_requirment_error').css('display','none');
                         $('#inq_step1 #quick_inquiry_otp_error').css('display','none');       
                         $('#inq_step1 #quick_inquiry_otp_text').text('');
                         $('#inq_step1 #quick_inquiry_form_div').css('display','block');
                         $('#inq_step1 #quick_inquiry_otp_confirmation_div').css('display','none');
                         $('#inq_step1 #quick_inquiry_thanks_div').css('display','none');
                         $('#inq_step1').css('display','block');
                }

                 $('#sendInquiry #inquiry_mobile').val('');
                 $('#sendInquiry #inquiry_comment').val('');
                 $('#sendInquiry #inquiry_email').val('');
                 $('#sendInquiry #inquiry_otp_input_error').css('display','none');
                 $('#sendInquiry #prod_moq_error').css('display','none');
                 $('#sendInquiry #inquiry_email_error').css('display','none');
                 $('#sendInquiry #inquiry_mobile_error').css('display','none');

                execute_send_inquiry_form(catalog_id,product_id);
       });

});

let timerOn = true;
function startTimer(remaining) {
    var m = Math.floor(remaining / 60);
    var s = remaining % 60;

    m = m < 10 ? '0' + m : m;
    s = s < 10 ? '0' + s : s;
    document.getElementById('send_inquiry_timer').innerHTML = m + ':' + s;
    remaining -= 1;

    if (remaining >= 0 && timerOn) {
        setTimeout(function () {
            startTimer(remaining);
        }, 1000);
        return;
    }

    if (!timerOn) {
        $('#sendInquiry #inquiry_resend_otp').css('display','none');
        $('#sendInquiry #send_inquiry_timer').css('display','block');
    } else {

        $('#sendInquiry #inquiry_resend_otp').css('display','block');
        $('#sendInquiry #send_inquiry_timer').css('display','none');
    }
}


function timer(remaining ){

        let timerOn = true;
        $('#sendInquiry #inquiry_resend_otp').css('display','none');
        $('#sendInquiry #send_inquiry_timer').css('display','block');
        startTimer(remaining);  

}



function execute_send_inquiry_form(catalog_id,product_id){

                var is_otp_verified = $('#sendInquiry #is_otp_verified').val();
                var ajx_url = '/get_catalog_product_details.html';
                if(product_id){
                         $.ajax({
                                 url: ajx_url,
                                 type: 'post',
                                 dataType: 'json',
                                 async : true,
                                 data: {'catalog_id':catalog_id,'product_id':product_id },
                                 success: function(response) {
                                                 //console.log(response);
                                                 if(response.SUCCESS){
                                                      var data = response.SUCCESS;
                                                      var cust_data = data.custom_fields_data[1];       
                                                      $('#sendInquiry #catalog_id').val(data.catalog_id);   
                                                      $('#sendInquiry #prod_name').html(data.product_description);
                                                      $('#sendInquiry #prod_image').attr('src',data.product_image);   
                                                      $('#sendInquiry #prod_image').attr('alt',data.product_description);   
                                                      $('#sendInquiry #product_id').val(product_id);
                                                      if(data.product_url){
                                                                 $('#sendInquiry #product_url').val(data.product_url)
                                                      }
                                                         
                                                      if(cust_data && cust_data['Price '] && cust_data['Price ']['value'] && cust_data['Unit of Price'] && cust_data['Unit of Price']['value']){
                                                        var prod_price_unit;
                                                         if(cust_data && cust_data['Unit of Price'] && cust_data['Unit of Price']['value']){
                                                           prod_price_unit = cust_data['Unit of Price']['value'].split('/')[0]; 
                                                         }
                                                         $('#sendInquiry #prod_price').html(cust_data['Price ']['value'] +'/'+prod_price_unit );
                                                         $('#sendInquiry #product_price').html(cust_data['Price ']['value']);
                                                         $('#sendInquiry #product_price_unit').val(cust_data['Unit of Price']['value']);
                                                         $('#sendInquiry #prod_price_div').css('display','block');
                                                      }else{
                                                         $('#sendInquiry #prod_price_div').css('display','none');
                                                      }   
                                                      if(cust_data && cust_data['Minimum Order Quantity'] && cust_data['Minimum Order Quantity']['value'] && cust_data['Unit of Measure'] && cust_data['Unit of Measure']['value']){
                                                         if( parseInt(cust_data['Minimum Order Quantity']['value']) > 1){
                                                                 var next_moq = roundnum(cust_data['Minimum Order Quantity']['value']);
                                                                 var li_str = '';
                                                                 for(var i = 1; i <= 6; i++) {
                                                                         next_moq = (parseInt(next_moq) + 50*i);
                                                                         li_str += '<li class="qtyNum" onclick="set_moq_send_enquiry(this,\'sendInquiry\');"  >'+next_moq+'</li>';
                                                                 }
                                                                 $('#sendInquiry #send_enquiry_quantity_ul').html(li_str);
                                                         }
                                                         $('#sendInquiry #prod_moq').val(cust_data['Minimum Order Quantity']['value']);
                                                         $('#sendInquiry #product_moq_hidden').val(cust_data['Minimum Order Quantity']['value'])
                                                         $('#sendInquiry #prod_moq_unit').append('<option>'+cust_data['Unit of Measure']['value']+'</option>');
                                                         $('#sendInquiry #product_attr_div').css('display','block');
                                                         $('#sendInquiry #prod_info_div').css('margin-bottom','0px');
                                                         $('#sendInquiry #qty_div').css('display','block');
                                                      }else{
                                                         $('#sendInquiry #prod_info_div').css('margin-bottom','13px');
                                                         $('#sendInquiry #qty_div').css('display','none');
                                                         $('#sendInquiry #product_attr_div').css('display','none');
                                                      }
                                                }
                                 }

                         });

                         var ajx_url = '/get_logindetails.html';
                         $.ajax({
                                 url: ajx_url,
                                 type: 'post',
                                 dataType: 'json',
                                 async : true,
                                 //data: { },
                                 success: function(response) {
                                         //console.log(response);
                                         if(response.SUCCESS){
                                                 var data = response.SUCCESS;
                                                 $('#sendInquiry #inquiry_form_dial_code_div').html('');
                                                 var field_str = '<input type="hidden" id="logged_in" value="'+1+'" ><input type="hidden" id="inquiry_country_code" value="'+data.logged_in_user_country_code+'" ><input type="hidden" id="inquiry_mobile_hidden" value="'+data.logged_in_user_mobile+'" ><input type="hidden" id="inquiry_email" value="'+data.logged_in_user_email+'" >';
                                                 $('#sendInquiry #inquiry_form_dial_code_div').append(field_str);
                                         }
                                 }
        
                         });
        
                         if(is_otp_verified &&  parseInt(is_otp_verified) == 1){
                                 $('#sendInquiry #inquiry_form_dial_code_div').css('display','none');
                         }else{
                                 $('#sendInquiry #inquiry_form_dial_code_div').css('display','block');
                         }

                         $('#sendInquiry').css('display','block');
                         $('#sendInquiry #requirment_details_div').css('display','block');
                         $('#sendInquiry #inquiry_form_otp_confirmation_div').hide();
                         $('#sendInquiry #inquiry_success_div').hide();

                }                

}


function validate_inquiery_form(){
        var catalog_id = $('#sendInquiry #catalog_id').val();
        var product_id = $('#sendInquiry #product_id').val(); 
        var prod_moq = $('#sendInquiry #prod_moq').val();
        var prod_moq_orig = $('#sendInquiry #product_moq_hidden').val();
        var comment = $('#sendInquiry #inquiry_comment').val();
        var logged_in = $('#sendInquiry #logged_in').val();
        var mobile,country_code,inquiry_emaili,country_name;
        var is_otp_verified = $('#sendInquiry #is_otp_verified').val();
        var remove_opt_verification_section = $('#sendInquiry #remove_opt_verification_section').val();
        if( parseInt(logged_in) == 0){
                mobile = $('#sendInquiry #inquiry_mobile').val();
                country_code = $('#sendInquiry #inquiry_form_dial_code_div .selected-dial-code').text();
                inquiry_email = $('#sendInquiry #inquiry_email').val();
                var cont_data = $("#sendInquiry_normal .flag-container .selected-flag").attr('title');
                if(cont_data && cont_data != ''){
                        country_name = cont_data.split('(')[0].trim();
                }else{
                        country_name = 'india';
                }
        }else{
                mobile = $('#sendInquiry #inquiry_mobile_hidden').val();
                country_code = $('#sendInquiry #inquiry_country_code').val();
                inquiry_email = $('#sendInquiry #inquiry_email').val();
                country_name = $('#sendInquiry #inquiry_country_name').val();
        }
        var medium;
        if(country_code == '+91'){
                medium = 'mobile no.';
        }else{
                medium = 'email';
        }
        var prod_url = $('#sendInquiry #product_url').val();
        var product_price = $('#sendInquiry #product_price').val();
        var product_price_unit = $('#sendInquiry #product_price_unit').val();
        var prod_name = $('#sendInquiry #prod_name').html();
        var prod_moq_unit = $('#sendInquiry #prod_moq_unit').val(); 
        var button_path = $('#sendInquiry #button_path').val();
        var pattern = /^\b[A-Z0-9._%-]+@[A-Z0-9.-]+\.[A-Z]{2,4}\b$/i;
        var msg ='';
        var error = 0;
        var count = 1;
       if(!catalog_id){
               msg = ' '+ count + ': catalog for the product not selected for the inquiry';
               //error = 1;
               count++;
       }
       if(!product_id || product_id == 0 || isNaN(parseInt(product_id))  ){
               msg = 'Product not selected for the inquiry';
               $('#sendInquiry .global_quick_inquiry_error').text(msg); 
               $('#sendInquiry .global_quick_inquiry_error').css('display','block'); 
               $('#sendInquiry .global_quick_inquiry_error').fadeOut(3000); 
               error = 1;
               count++;
       }
        if( prod_moq_orig && parseInt(prod_moq_orig) > 0 && (!prod_moq || (prod_moq && prod_moq === ''))){
                msg = 'Please enter Quantity and it should be minimum (' + prod_moq_orig + ')';
                $('#sendInquiry #prod_moq_error').html(msg);
                $('#sendInquiry #prod_moq_error').css('display','block');
                error = 1;
                count++;
        }        
        if( prod_moq_orig && prod_moq && parseInt(prod_moq_orig) > 0 && parseInt(prod_moq_orig) > parseInt(prod_moq)  ){
                msg = 'Quantity can\'t be less than the Minimum Order Quantity (' + prod_moq_orig + ')';
                $('#sendInquiry #prod_moq_error').html(msg);
                $('#sendInquiry #prod_moq_error').css('display','block');
                error = 1;
                count++;
        }        
        if((logged_in && parseInt(logged_in) == 0 && is_otp_verified && parseInt(is_otp_verified) == 0  ) &&  country_code == '+91' &&  (!mobile || (mobile && $.trim(mobile) == ''))){
                error = 1;
                $('#sendInquiry #inquiry_mobile_error').text('Mobile No. is needed for Inquiry.');
                $('#sendInquiry #inquiry_mobile_error').css('display','block');
        }
        if( ( logged_in && parseInt(logged_in) == 0 && is_otp_verified && parseInt(is_otp_verified) == 0  ) &&  country_code == '+91' &&  mobile && mobile.length != 10 ){
                error = 1;
                $('#sendInquiry #inquiry_mobile_error').text('Please enter a valid Mobile No. for Inquiry.');
                $('#sendInquiry #inquiry_mobile_error').css('display','block');
        }
        if((logged_in && parseInt(logged_in) == 0 && is_otp_verified && parseInt(is_otp_verified) == 0  )  && country_code !== '+91' && !inquiry_email ){
                error = 1;
                $('#sendInquiry #inquiry_email_error').text('Email is needed for Inquiry.');
                $('#sendInquiry #inquiry_email_error').css('display','block');
        }
        if( (logged_in && parseInt(logged_in) == 0 && is_otp_verified && parseInt(is_otp_verified) == 0  )  && country_code !== '+91' &&  !pattern.test(inquiry_email)){
                error = 1;
                $('#sendInquiry #inquiry_email_error').text('Please enter a Valid Email for Inquiry.');
                $('#sendInquiry #inquiry_email_error').css('display','block');
        }

        var reg_user = 0;
        var mob_length = mobile.length;
        
        if(!(parseInt(error)) && mob_length < 4 && inquiry_email == '' ){
                $.ajax({
                        url: '/component/check_email_mobile_exist.html',
                        type: 'POST',
                        global: 'false',
                        async: false,
                        data: {
                                'email' : inquiry_email,
                                'mobile': country_code+mobile,
                                'from_catalog' : 1
                        },
                        success: function(data){
                                if(/SUCCESS/.test(data)) {
                                        reg_user = 1;
                                }
                        }
             });
        }
        if(error){
                return false;
        }else{
                $('#sendInquiry #loaderPopUp').css('display','flex');
                var ajx_url = '/save_inquiry_form.html';
                $.ajax({
                        url: ajx_url,
                        type: 'post',
                        dataType: 'json',
                        async : true,
                        data: { "catalog_id":catalog_id, "product_id":product_id,"prod_moq":prod_moq, "country_code":country_code,"mobile":mobile,"comment":comment,"inquiry_email":inquiry_email,"product_url":prod_url,"prod_name":prod_name,"product_price":product_price,"product_price_unit":product_price_unit,"button_path":button_path, "save_inquiry_form":0 , "reg_user": reg_user, 'called_from' : 'desktop_catalog', 'inquiry_source_type' : 'CATALOG',"country_name":country_name,'order_value_inr':product_price, 'units':prod_moq_unit, 'quantity_descr':prod_moq, 'currency':product_price_unit },
                        success: function(response) {
                                //console.log(response);
                                if( response.api_data && !response.api_data.ERROR && response.api_data.status_code && parseInt(response.api_data.status_code) === 200){
                                        var data = response.api_data.data;
                                        $('#sendInquiry #requirment_details_div').css('display','none');
                                        $('#sendInquiry #rfi_group_id').val(data.rfi_group_id); 
                                        $('#sendInquiry #rfis_all').val(data.rfiids);
                                        $('#sendInquiry #mobile_with_isd').val(country_code+mobile);
                                        $('#sendInquiry #rfiids').val(data.rfiids);
                                        $('#sendInquiry #sender_userid').val(data.sender_userid);
                                        var base_url = $('#sendInquiry #base_url').val();
                                        if(response.api_data.data && response.api_data.data.product_data_list){
                                                var product_list = response.api_data.data.product_data_list;
                                                var html_str = '';
                                                var i = 0;
                                                $.each(product_list, function(index, item){
                                                        if(i <= 3){  
                                                                html_str += '<a href="'+base_url+'/'+item.prod_url+'" class="mcProCol"> <span class="mcImgCnt"> <img src="'+item.image_path+'" alt="product"></span><p class="mcProName">'+item.name+'</p></a>';  
                                                        }
                                                        i++;
                                                });
                                                $('#sendInquiry #inquiry_form_similar_product_list').html(html_str);
                                        } 

                                        if( (logged_in &&  parseInt(logged_in) == 0 && is_otp_verified && parseInt(is_otp_verified) == 0) ){
                                                if(parseInt(remove_opt_verification_section) > 0){
                                                        update_inquiry();  
                                                }else{
                                                        send_inquiry_mobile_otp(mobile,country_code,inquiry_email,0);
                                                }        

                                        }else if( (logged_in &&  parseInt(logged_in) == 1) || (is_otp_verified &&  parseInt(is_otp_verified) == 1)  ){
                                               update_inquiry();
                                        }
                                } else if(response.api_data && response.api_data.status_code && parseInt(response.api_data.status_code) == 409 && response.api_data.msg ){
                                        var base_url = $('#sendInquiry #base_url').val();
                                        if(response.api_data.data && response.api_data.product_data_list){
                                                var product_list = response.api_data.data.product_data_list;
                                                var html_str = '';
                                                var i = 0;
                                                $.each(product_list, function(index, item){
                                                        if(i <= 3){  
                                                                html_str += '<a href="'+base_url+'/'+item.prod_url+'" class="mcProCol"> <span class="mcImgCnt"> <img src="'+item.image_path+'" alt="product"></span><p class="mcProName">'+item.name+'</p></a>';  
                                                        }
                                                        i++;
                                                });
                                                $('#sendInquiry #inquiry_form_similar_product_list').html(html_str);
                                        }else{
                                                $('#sendInquiry  #product_list').css('display','none');
                                        }
                                        $('#sendInquiry #loaderPopUp').css('display','none');
                                        $('#sendInquiry #requirment_details_div').css('display','none');
                                        $('#sendInquiry #inquiry_form_similar_product_list').css('display','block');
                                        $('#sendInquiry #inquiry_success_div').css('display','block');
                                
                                } else if(response.api_data && !response.api_data.status_code && response.api_data.msg ){
                                        $('#sendInquiry #loaderPopUp').css('display','none');
                                        $('#sendInquiry #requirment_details_div').css('display','none');
                                        $('#sendInquiry #inquiry_product_list').css('display','none');
                                        $('#sendInquiry #inquiry_success_div').css('display','block'); 
                                } else if(response.api_data && response.api_data.msg) {
                                        $('#sendInquiry #loaderPopUp').css('display','none');
                                        $('#sendInquiry .global_send_inquiry_error').text( response.api_data.msg  );
                                        $('#sendInquiry .global_send_inquiry_error').css('display','block');
                                        $("#sendInquiry .global_send_inquiry_error").fadeOut(5000);
                                } else if(response.ERROR && response.ERROR != ''){
                                       $('#sendInquiry #loaderPopUp').css('display','none');
                                       $('#sendInquiry .global_send_inquiry_error').text( response.ERROR );
                                       $('#sendInquiry .global_send_inquiry_error').css('display','block');
                                       $("#sendInquiry .global_send_inquiry_error").fadeOut(5000);
                                }
                        }, 
                });

        }
}


function save_extra_formdt(){
        
        var pattern = /^\b[A-Z0-9._%-]+@[A-Z0-9.-]+\.[A-Z]{2,4}\b$/i;
        var msg ='';
        var error = 0;
        var count = 1;
        var resend_otp = 0;
        var logged_in = $('#sendInquiry #logged_in').val();
        var country_code = $('#sendInquiry .selected-dial-code').text();
        var mobile = $('#sendInquiry #inquiry_mobile').val();
        var inquiry_email = $('#sendInquiry #inquiry_email').val();
        
        var uname = $('#sendInquiry #uname').val();
        var uco_name = $('#sendInquiry #uco_name').val();
        var ext_mobile_number = $('#sendInquiry #ext_mobile_number').val();
        var ext_mail = $('#sendInquiry #ext_mail').val();
        var ext_city_state = $('#sendInquiry #ext_city_state_sel').val();
        var rfi_group_id = $('#sendInquiry #rfi_group_id').val();

        var sender_userid = $('#sendInquiry #sender_userid').val();
        var sender_profile_id = $('#sendInquiry #sender_profile_id').val();
        var country_code_via_ip = $('#sendInquiry #country_code_via_ip').val();
        var remove_opt_verification_section = $('#sendInquiry #remove_opt_verification_section').val();

        if( uname == ''){
                msg = 'Name is not provided for the inquiry';
                error = 1;
                count++;
                $('#sendInquiry #uname_error').text(msg);
                $('#sendInquiry #uname_error').css('display','block');
        }
        if( uco_name == ''){
                msg = 'Company name is not provided for the inquiry';
                error = 1;
                count++;
                $('#sendInquiry #uco_name_error').text(msg);
                $('#sendInquiry #uco_name_error').css('display','block');
        }
        if(country_code &&  country_code == '+91' && ( ext_mail === '')){
                msg =  'Email is required for Inquiry.';
                error = 1;
                count++;
                $('#sendInquiry #ext_mail_error').text(msg);
                $('#sendInquiry #ext_mail_error').css('display','block');
        }
        if(country_code && country_code == '+91' && ext_mail != ''  && !pattern.test(ext_mail)){
                msg = 'Please enter a valid email address for Inquiry.';
                error = 1;
                count++;
                $('#sendInquiry #ext_mail_error').text(msg);
                $('#sendInquiry #ext_mail_error').css('display','block');
        }
        if(country_code && country_code !== '+91' && ext_mobile_number && ext_mobile_number ==='' ){
                msg =  'Mobile no. is needed for Inquiry.';
                error = 1;
                count++;
                $('#sendInquiry #ext_mobile_number_error').text(msg);
                $('#sendInquiry #ext_mobile_number_error').css('display','block');
        }
        if(country_code && country_code !== '+91' &&  ext_mobile_number.length != 10){
                msg = 'Please enter a Valid mobile no. for Inquiry.';
                error = 1;
                count++;
                $('#sendInquiry #ext_mobile_number_error').text(msg);
                $('#sendInquiry #ext_mobile_number_error').css('display','block');
        }
        if(error){
                return false;
        }else{
                var ajx_url = '/save_extra_form.html';
                $.ajax({
                        url: ajx_url,
                        type: 'post',
                        dataType: 'json',
                        async : true,
                        data : { 'uname':uname , 'uco_name':uco_name , 'ext_mobile_number':ext_mobile_number , 'ext_mail':ext_mail , 'ext_city_state':ext_city_state , 'quick_inquiry_country_code':country_code, 'rfi_group_id':rfi_group_id, 'sender_profile_id':sender_profile_id,'sender_userid':sender_userid,'country_code_via_ip':country_code_via_ip },
                        success: function(response) {
                                console.log(response);
                                if(response.save_extra_form_return_data.status_code == 201){
                                                $('#sendInquiry #loaderPopUp').css('display','flex');
                                                $('#sendInquiry #extra_form').css('display','none');
                                                if(parseInt(remove_opt_verification_section) > 0){
                                                        update_inquiry();  
                                                }else{
                                                        send_inquiry_mobile_otp(mobile,country_code,inquiry_email,0);
                                                }
                                }else{
                                       $('#sendInquiry #global_send_inquiry_error').html('Somethisng went wrong. Please wait');
                                       $('#sendInquiry #global_send_inquiry_error').css('display','block');
                                }
                        },
                });
        }
}

$('#sendInquiry #ext_city_state').on("keyup", function(event) {
        var term = $(this).val();
        var pattern = new RegExp(/Uttar/g);
        if(term.length >= 3){
                $.ajax({ // ajax request for getting the suggestions according to the characters filled till now in input textbox
                        url: "/component/locator_suggest_json.html",
                        type: 'post',
                        dataType: "json",
                        data: { city_initials: term },
                        success: function( data ) {
                                console.log(data);
                                var html_str = '';
                                if(data && data.length > 0){
                                $.each(data, function(index, item){
                                        var city = item.city.replaceAll(' ','$%');
                                        var state = item.state.replaceAll(' ','$%');
                                        var country_name = item.country_name.replaceAll(' ','$%');
                                        html_str +="<li  onclick=setcitydt('"+city+"','"+state+"','"+country_name+"'); > "+item.optionLabel+" </li>";
                                });
                                        $('#sendInquiry #city_search_option').html(html_str);
                                }else if(response.ERROR){
                                        html_str = response.ERROR;
                                        $('#sendInquiry #city_search_option').html(html_str);
                                }
                        }

                });
        }
});

function setcitydt(city,state,country){
        city = city.replaceAll('$%',' ');
        state = state.replaceAll('$%',' ');
        country = country.replaceAll('$%',' ');
        $('#sendInquiry #city_search_option').html('');
        $('#sendInquiry #ext_city_state').val(city+', '+state+' - '+country);
        $('#sendInquiry #ext_city_state_sel').val(city+'/'+state);
}


function send_inquiry_mobile_otp(mobile,country_code,inquiry_email,resend_otp){
        var ajx_url = '/send_inquiry_otp.html';
        var mobile_with_isd = country_code+mobile;
        $.ajax({
                url: ajx_url,
                type: 'post',
                dataType: 'json',
                async : true,
                data  : {'client_mobile' : mobile_with_isd, 'client_email':inquiry_email },
                success: function(response) {
                        //console.log(response);
                        var otp_text,text_part,medium;
                        $('#sendInquiry #loaderPopUp').css('display','none');
                        if(parseInt(resend_otp) == 1){
                                timer(60,1);
                        }else{
                                var otp_text,text_part;
                                if(country_code == '+91'){
                                        medium = 'mobile no.';
                                        text_part = mobile.substring(mobile.length - 4);
                                        otp_text = 'Authenticate with the 4 digit One Time Password (OTP) sent to your registered mobile number XXXXXX'+text_part;  
                                }else{
                                         medium = 'email';
                                         var email_part = inquiry_email.split("@");
                                         var text_part_one = email_part[0].substring(0,3);
                                         var text_part_two = email_part[0].substring(email_part[0].length - 3);
                                         otp_text = 'Authenticate with the 4 digit One Time Password (OTP) sent to your registered email number '+text_part_one+'XXXXXX'+text_part_two+'@'+email_part[1];
                               }
                                $('#sendInquiry #send_inquiry_otp_text').text(otp_text);
                                 if(response.SUCCESS){
                                         $('#sendInquiry #loaderPopUp').css('display','none');
                                         $('#sendInquiry #inquiry_form_otp_confirmation_div').css('display','block');
                                         timer(60,0);
                                 }else{
                                         $('#sendInquiry .global_send_inquiry_error').text(response.ERROR.NOT_VERIFIED);
                                         $('#sendInquiry .global_send_inquiry_error').css('display','block');
                                         $("#sendInquiry .global_send_inquiry_error").fadeOut(5000);
                                 }
                        }
                },
        });
}

$('#sendInquiry #inquiry_resend_otp').click(function(){
        var logged_in = $('#logged_in').val();
        var country_code;
        if(parseInt(logged_in) == 0){
                country_code = $('#sendInquiry #inquiry_form_dial_code_div .selected-dial-code').text();
        }else{
                country_code = $('#sendInquiry #inquiry_country_code').val();
        }
        var medium;
        var inquiry_email;
        if(country_code == '+91'){
                medium = 'mobile no.';
        }else {
                 medium = 'email';
                 inquiry_email = $('#sendInquiry #inquiry_email').val();
        }
        var mobile = $('#sendInquiry #inquiry_mobile').val(); 
        var ajx_url = '/send_inquiry_otp.html';
        var mobile_with_isd = country_code+mobile;
        $.ajax({
                url: ajx_url,
                type: 'post',
                dataType: 'json',
                async : true,
                data  : {'client_mobile' : mobile_with_isd, 'client_email': inquiry_email },
                success: function(response) {
                        var medium = 'mobile no.';
                       if(response.SUCCESS){
                                timer(180,0);                       
                        }else{
                              $('#sendInquiry .global_send_inquiry_error').text(response.ERROR.NOT_VERIFIED);
                              $('#sendInquiry .global_send_inquiry_error').css('display','block');
                              $("#sendInquiry .global_send_inquiry_error").fadeOut(5000);  
                        }
                },
        });

});


$('#sendInquiry #otp_validation_btn').click(function(){
        var inquiry_otp = $('#sendInquiry #inquiry_otp_input').val()
        var mobile = $('#sendInquiry #inquiry_mobile').val(); 
        var country_code = $('#sendInquiry #inquiry_form_dial_code_div .selected-dial-code').text();
        var mobile_with_isd = country_code+mobile;        
        var inquiry_email = $('#sendInquiry #inquiry_email').val();
        if(inquiry_otp.length != 4){
                $('#sendInquiry #inquiry_otp_input_error').text('Invalid otp');
                $('#sendInquiry #inquiry_otp_input_error').css('display','block');
                return false;
        }

        var ajx_url = '/send_inquiry_otp.html';
        $.ajax({
                url: ajx_url,
                type: 'post',
                dataType: 'json',
                async : true,
                data    : {'get_otp' : 1, 'user_otp' : inquiry_otp, 'client_mobile' : mobile_with_isd, 'client_email':inquiry_email, 'country_code':country_code, 'mobile':mobile},
                success: function(response) {
                       //console.log(response);
                       if(response.SUCCESS){                                
                                $('#sendInquiry #inquiry_form_otp_confirmation_div').css('display','none');
                                $('#sendInquiry #loaderPopUp').css('display','flex');
                                $('#sendInquiry #is_otp_verified').val(1);
                                $('#quick_inquiry_div #inquiry_form_dial_code_div').css('display','none');
                                var quick_inquiry_str = '<input type="hidden" id="quick_inquiry_country_code" value="'+country_code+'" ><input type="hidden" id="quick_inquiry_mobile_hidden" value="'+response.SUCCESS.mobile+'" ><input type="hidden" id="quick_inquiry_email" value="" ><input type="hidden" id="quick_inquiry_logged_in" value="1" >';
                              $('#quick_inquiry_div #inquiry_form_dial_code_div').append(quick_inquiry_str);
                              update_inquiry();      
                        }else{
                                $('#sendInquiry #inquiry_otp_input_error').text(response.ERROR.NOT_VERIFIED);
                                $('#sendInquiry #inquiry_otp_input_error').css('display','block');
                        }
                },
        });

});


function update_inquiry(){

        var catalog_id = $('#sendInquiry #catalog_id').val();
        var quick_inq_id = $("#sendInquiry #quick_inq_id" ).val();       
        var rfi_group_id = $("#sendInquiry #rfi_group_id" ).val();       
        var rfis_sent_unmdrtd = $("#sendInquiry #rfis_sent_unmdrtd").val();   
        var rfis_all = $("#sendInquiry #rfis_all" ).val();           
        var mobile_with_isd = $('#sendInquiry #mobile_with_isd').val();
        var rfiids = $('#sendInquiry #rfiids').val();
        var sender_userid = $('#sendInquiry #sender_userid').val();
        var base_url = $('#sendInquiry #base_url').val();
        var remove_opt_verification_section = $('#sendInquiry #remove_opt_verification_section').val();
        if(parseInt(remove_opt_verification_section) > 0){
               $('#sendInquiry #loaderPopUp').css('display','none');
               $('#sendInquiry').css('display','block');
               $('#sendInquiry #inquiry_success_div').css('display','block'); 
        }else{
                 var ajx_url = '/update_inquiry_form.html';
                 $.ajax({
                         url: ajx_url,
                         type: 'post',
                         dataType: 'json',
                         async : true,
                         data: { 'catalog_id':catalog_id, 'quick_inq_id':quick_inq_id,'rfi_group_id':rfi_group_id,'rfis_all':rfis_all,'mobile_with_isd':mobile_with_isd,'rfiids':rfiids, 'sender_userid':sender_userid },
                         success: function(response) {
                                //console.log(response);
                                if(response.api_data_update_inquiry_return_data.status_code == 200){
                                          $('#sendInquiry #loaderPopUp').css('display','none');
                                          $('#sendInquiry').css('display','block');
                                          $('#sendInquiry #inquiry_success_div').css('display','block'); 
                                 }
                         },
                 });
        }
}


$('#sendInquiry #inquiry_mobile, #sendInquiry #prod_moq').on('keypress',function(e){
        var keyCode = e.keyCode || e.which;
        var regex = /^[0-9]+$/;
        var isValid = regex.test(String.fromCharCode(keyCode));
        if (!isValid) {
            return false;
        }
});

$('#sendInquiry #inquiry_mobile, #sendInquiry #prod_moq').focusout(function(e){
        var term = $(this).val();
        var regex = /^[0-9]+$/;
        var isValid = regex.test(term);
        if (term != '' &&  !isValid) {
            $(this).val('');
            $('#sendInquiry .global_quick_inquiry_error').text('Please enter numeric value for mobile/quantity');
            $('#sendInquiry .global_quick_inquiry_error').css('display','block');
            return false;
        }
});


</script>



<link href="https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,300;0,400;0,500;0,700;0,900;1,300;1,400;1,500;1,700;1,900&display=swap" rel="stylesheet">
</body></html>