﻿(function(){var c=this,b,C=c.jQuery,z=c.$,a=c.jQuery=c.$=function(b,c){return new a.fn.init(b,c)},x=/^[^<]*(<(.|\s)+>)[^>]*$|^#([\w-]+)$/,y=/^.[^:#\[\.,]*$/;a.fn=a.prototype={init:function(b,e){b=b||document;if(b.nodeType){this[0]=b;this.length=1;this.context=b;return this}if(typeof b==="string"){var c=x.exec(b);if(c&&(c[1]||!e))if(c[1])b=a.clean([c[1]],e);else{var f=document.getElementById(c[3]);if(f&&f.id!=c[3])return a().find(b);var d=a(f||[]);d.context=document;d.selector=b;return d}else return a(e).find(b)}else if(a.isFunction(b))return a(document).ready(b);if(b.selector&&b.context){this.selector=b.selector;this.context=b.context}return this.setArray(a.isArray(b)?b:a.makeArray(b))},selector:"",jquery:"1.3.2",size:function(){return this.length},"get":function(a){return a===b?Array.prototype.slice.call(this):this[a]},pushStack:function(e,c,d){var b=a(e);b.prevObject=this;b.context=this.context;if(c==="find")b.selector=this.selector+(this.selector?" ":"")+d;else if(c)b.selector=this.selector+"."+c+"("+d+")";return b},setArray:function(a){this.length=0;Array.prototype.push.apply(this,a);return this},each:function(c,b){return a.each(this,c,b)},index:function(b){return a.inArray(b&&b.jquery?b[0]:b,this)},attr:function(c,f,e){var d=c;if(typeof c==="string")if(f===b)return this[0]&&a[e||"attr"](this[0],c);else{d={};d[c]=f}return this.each(function(b){for(c in d)a.attr(e?this.style:this,c,a.prop(this,d[c],e,b,c))})},css:function(a,c){if((a=="width"||a=="height")&&parseFloat(c)<0)c=b;return this.attr(a,c,"curCSS")},text:function(b){if(typeof b!=="object"&&b!=null)return this.empty().append((this[0]&&this[0].ownerDocument||document).createTextNode(b));var c="";a.each(b||this,function(){a.each(this.childNodes,function(){if(this.nodeType!=8)c+=this.nodeType!=1?this.nodeValue:a.fn.text([this])})});return c},wrapAll:function(c){if(this[0]){var b=a(c,this[0].ownerDocument).clone();this[0].parentNode&&b.insertBefore(this[0]);b.map(function(){var a=this;while(a.firstChild)a=a.firstChild;return a}).append(this)}return this},wrapInner:function(b){return this.each(function(){a(this).contents().wrapAll(b)})},wrap:function(b){return this.each(function(){a(this).wrapAll(b)})},append:function(){return this.domManip(arguments,true,function(a){this.nodeType==1&&this.appendChild(a)})},prepend:function(){return this.domManip(arguments,true,function(a){this.nodeType==1&&this.insertBefore(a,this.firstChild)})},before:function(){return this.domManip(arguments,false,function(a){this.parentNode.insertBefore(a,this)})},after:function(){return this.domManip(arguments,false,function(a){this.parentNode.insertBefore(a,this.nextSibling)})},end:function(){return this.prevObject||a([])},push:[].push,sort:[].sort,splice:[].splice,find:function(b){if(this.length===1){var c=this.pushStack([],"find",b);c.length=0;a.find(b,this[0],c);return c}else return this.pushStack(a.unique(a.map(this,function(c){return a.find(b,c)})),"find",b)},clone:function(e){var c=this.map(function(){if(!a.support.noCloneEvent&&!a.isXMLDoc(this)){var b=this.outerHTML;if(!b){var c=this.ownerDocument.createElement("div");c.appendChild(this.cloneNode(true));b=c.innerHTML}return a.clean([b.replace(/ jQuery\d+="(?:\d+|null)"/g,"").replace(/^\s*/,"")])[0]}else return this.cloneNode(true)});if(e===true){var d=this.find("*").andSelf(),b=0;c.find("*").andSelf().each(function(){if(this.nodeName!==d[b].nodeName)return;var c=a.data(d[b],"events");for(var e in c)for(var f in c[e])a.event.add(this,e,c[e][f],c[e][f].data);b++})}return c},filter:function(b){return this.pushStack(a.isFunction(b)&&a.grep(this,function(c,a){return b.call(c,a)})||a.multiFilter(b,a.grep(this,function(a){return a.nodeType===1})),"filter",b)},closest:function(b){var d=a.expr.match.POS.test(b)?a(b):null,c=0;return this.map(function(){var e=this;while(e&&e.ownerDocument){if(d?d.index(e)>-1:a(e).is(b)){a.data(e,"closest",c);return e}e=e.parentNode;c++}})},not:function(c){if(typeof c==="string")if(y.test(c))return this.pushStack(a.multiFilter(c,this,true),"not",c);else c=a.multiFilter(c,this);var d=c.length&&c[c.length-1]!==b&&!c.nodeType;return this.filter(function(){return d?a.inArray(this,c)<0:this!=c})},add:function(b){return this.pushStack(a.unique(a.merge(this.get(),typeof b==="string"?a(b):a.makeArray(b))))},is:function(b){return!!b&&a.multiFilter(b,this).length>0},hasClass:function(a){return!!a&&this.is("."+a)},val:function(c){if(c===b){var d=this[0];if(d){if(a.nodeName(d,"option"))return(d.attributes.value||{}).specified?d.value:d.text;if(a.nodeName(d,"select")){var g=d.selectedIndex,i=[],j=d.options,f=d.type=="select-one";if(g<0)return null;for(var e=f?g:0,k=f?g+1:j.length;e<k;e++){var h=j[e];if(h.selected){c=a(h).val();if(f)return c;i.push(c)}}return i}return(d.value||"").replace(/\r/g,"")}return b}if(typeof c==="number")c+="";return this.each(function(){if(this.nodeType!=1)return;if(a.isArray(c)&&/radio|checkbox/.test(this.type))this.checked=a.inArray(this.value,c)>=0||a.inArray(this.name,c)>=0;else if(a.nodeName(this,"select")){var b=a.makeArray(c);a("option",this).each(function(){this.selected=a.inArray(this.value,b)>=0||a.inArray(this.text,b)>=0});if(!b.length)this.selectedIndex=-1}else this.value=c})},html:function(a){return a===b?this[0]?this[0].innerHTML.replace(/ jQuery\d+="(?:\d+|null)"/g,""):null:this.empty().append(a)},replaceWith:function(a){return this.after(a).remove()},eq:function(a){return this.slice(a,+a+1)},slice:function(){return this.pushStack(Array.prototype.slice.apply(this,arguments),"slice",Array.prototype.slice.call(arguments).join(","))},map:function(b){return this.pushStack(a.map(this,function(a,c){return b.call(a,c,a)}))},andSelf:function(){return this.add(this.prevObject)},domManip:function(g,j,i){if(this[0]){var c=(this[0].ownerDocument||this[0]).createDocumentFragment(),d=a.clean(g,this[0].ownerDocument||this[0],c),e=c.firstChild;if(e)for(var b=0,f=this.length;b<f;b++)i.call(h(this[b],e),this.length>1||b>0?c.cloneNode(true):c);d&&a.each(d,D)}return this;function h(b,c){return j&&a.nodeName(b,"table")&&a.nodeName(c,"tr")?b.getElementsByTagName("tbody")[0]||b.appendChild(b.ownerDocument.createElement("tbody")):b}}};a.fn.init.prototype=a.fn;function D(c,b){if(b.src)a.ajax({url:b.src,async:false,dataType:"script"});else a.globalEval(b.text||b.textContent||b.innerHTML||"");b.parentNode&&b.parentNode.removeChild(b)}function f(){return+new Date}a.extend=a.fn.extend=function(){var c=arguments[0]||{},e=1,i=arguments.length,g=false,h;if(typeof c==="boolean"){g=c;c=arguments[1]||{};e=2}if(typeof c!=="object"&&!a.isFunction(c))c={};if(i==e){c=this;--e}for(;e<i;e++)if((h=arguments[e])!=null)for(var f in h){var j=c[f],d=h[f];if(c===d)continue;if(g&&d&&typeof d==="object"&&!d.nodeType)c[f]=a.extend(g,j||(d.length!=null?[]:{}),d);else if(d!==b)c[f]=d}return c};var w=/z-?index|font-?weight|opacity|zoom|line-?height/i,t=document.defaultView||{},u=Object.prototype.toString;a.extend({noConflict:function(b){c.$=z;if(b)c.jQuery=C;return a},isFunction:function(a){return u.call(a)==="[object Function]"},isArray:function(a){return u.call(a)==="[object Array]"},isXMLDoc:function(b){return b.nodeType===9&&b.documentElement.nodeName!=="HTML"||!!b.ownerDocument&&a.isXMLDoc(b.ownerDocument)},globalEval:function(c){if(c&&/\S/.test(c)){var d=document.getElementsByTagName("head")[0]||document.documentElement,b=document.createElement("script");b.type="text/javascript";if(a.support.scriptEval)b.appendChild(document.createTextNode(c));else b.text=c;d.insertBefore(b,d.firstChild);d.removeChild(b)}},nodeName:function(a,b){return a.nodeName&&a.nodeName.toUpperCase()==b.toUpperCase()},each:function(a,f,g){var c,d=0,e=a.length;if(g){if(e===b){for(c in a)if(f.apply(a[c],g)===false)break}else for(;d<e;)if(f.apply(a[d++],g)===false)break}else if(e===b){for(c in a)if(f.call(a[c],c,a[c])===false)break}else for(var h=a[0];d<e&&f.call(h,d,h)!==false;h=a[++d]);return a},prop:function(f,b,e,d,c){if(a.isFunction(b))b=b.call(f,d);return typeof b==="number"&&e=="curCSS"&&!w.test(c)?b+"px":b},className:{add:function(b,c){a.each((c||"").split(/\s+/),function(d,c){if(b.nodeType==1&&!a.className.has(b.className,c))b.className+=(b.className?" ":"")+c})},remove:function(c,d){if(c.nodeType==1)c.className=d!==b?a.grep(c.className.split(/\s+/),function(b){return!a.className.has(d,b)}).join(" "):""},has:function(b,c){return b&&a.inArray(c,(b.className||b).toString().split(/\s+/))>-1}},swap:function(b,c,e){var d={};for(var a in c){d[a]=b.style[a];b.style[a]=c[a]}e.call(b);for(var a in c)b.style[a]=d[a]},css:function(b,c,h,e){if(c=="width"||c=="height"){var d,g={position:"absolute",visibility:"hidden",display:"block"},i=c=="width"?["Left","Right"]:["Top","Bottom"];function f(){d=c=="width"?b.offsetWidth:b.offsetHeight;if(e==="border")return;a.each(i,function(){if(!e)d-=parseFloat(a.curCSS(b,"padding"+this,true))||0;if(e==="margin")d+=parseFloat(a.curCSS(b,"margin"+this,true))||0;else d-=parseFloat(a.curCSS(b,"border"+this+"Width",true))||0})}if(b.offsetWidth!==0)f();else a.swap(b,g,f);return Math.max(0,Math.round(d))}return a.curCSS(b,c,h)},curCSS:function(d,b,g){var c,e=d.style;if(b=="opacity"&&!a.support.opacity){c=a.attr(e,"opacity");return c==""?"1":c}if(b.match(/float/i))b=j;if(!g&&e&&e[b])c=e[b];else if(t.getComputedStyle){if(b.match(/float/i))b="float";b=b.replace(/([A-Z])/g,"-$1").toLowerCase();var f=t.getComputedStyle(d,null);if(f)c=f.getPropertyValue(b);if(b=="opacity"&&c=="")c="1"}else if(d.currentStyle){var i=b.replace(/\-(\w)/g,function(b,a){return a.toUpperCase()});c=d.currentStyle[b]||d.currentStyle[i];if(!/^\d+(px)?$/i.test(c)&&/^\d/.test(c)){var h=e.left,k=d.runtimeStyle.left;d.runtimeStyle.left=d.currentStyle.left;e.left=c||0;c=e.pixelLeft+"px";e.left=h;d.runtimeStyle.left=k}}return c},clean:function(f,d,g){d=d||document;if(typeof d.createElement==="undefined")d=d.ownerDocument||d[0]&&d[0].ownerDocument||document;if(!g&&f.length===1&&typeof f[0]==="string"){var i=/^<(\w+)\s*\/?>$/.exec(f[0]);if(i)return[d.createElement(i[1])]}var b=[],h=[],e=d.createElement("div");a.each(f,function(k,c){if(typeof c==="number")c+="";if(!c)return;if(typeof c==="string"){c=c.replace(/(<(\w+)[^>]*?)\/>/g,function(b,c,a){return a.match(/^(abbr|br|col|img|input|link|meta|param|hr|area|embed)$/i)?b:c+"></"+a+">"});var f=c.replace(/^\s+/,"").substring(0,10).toLowerCase(),i=!f.indexOf("<opt")&&[1,"<select multiple='multiple'>","</select>"]||!f.indexOf("<leg")&&[1,"<fieldset>","</fieldset>"]||f.match(/^<(thead|tbody|tfoot|colg|cap)/)&&[1,"<table>","</table>"]||!f.indexOf("<tr")&&[2,"<table><tbody>","</tbody></table>"]||(!f.indexOf("<td")||!f.indexOf("<th"))&&[3,"<table><tbody><tr>","</tr></tbody></table>"]||!f.indexOf("<col")&&[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"]||!a.support.htmlSerialize&&[1,"div<div>","</div>"]||[0,"",""];e.innerHTML=i[1]+c+i[2];while(i[0]--)e=e.lastChild;if(!a.support.tbody)for(var j=/<tbody/i.test(c),h=!f.indexOf("<table")&&!j?e.firstChild&&e.firstChild.childNodes:i[1]=="<table>"&&!j?e.childNodes:[],g=h.length-1;g>=0;--g)a.nodeName(h[g],"tbody")&&!h[g].childNodes.length&&h[g].parentNode.removeChild(h[g]);!a.support.leadingWhitespace&&/^\s/.test(c)&&e.insertBefore(d.createTextNode(c.match(/^\s*/)[0]),e.firstChild);c=a.makeArray(e.childNodes)}if(c.nodeType)b.push(c);else b=a.merge(b,c)});if(g){for(var c=0;b[c];c++)if(a.nodeName(b[c],"script")&&(!b[c].type||b[c].type.toLowerCase()==="text/javascript"))h.push(b[c].parentNode?b[c].parentNode.removeChild(b[c]):b[c]);else{b[c].nodeType===1&&b.splice.apply(b,[c+1,0].concat(a.makeArray(b[c].getElementsByTagName("script"))));g.appendChild(b[c])}return h}return b},attr:function(c,d,e){if(!c||c.nodeType==3||c.nodeType==8)return b;var f=!a.isXMLDoc(c),g=e!==b;d=f&&a.props[d]||d;if(c.tagName){var j=/href|src|style/.test(d);if(d=="selected"&&c.parentNode)c.parentNode.selectedIndex;if(d in c&&f&&!j){if(g){if(d=="type"&&a.nodeName(c,"input")&&c.parentNode)throw"type property can't be changed";c[d]=e}if(a.nodeName(c,"form")&&c.getAttributeNode(d))return c.getAttributeNode(d).nodeValue;if(d=="tabIndex"){var h=c.getAttributeNode("tabIndex");return h&&h.specified?h.value:c.nodeName.match(/(button|input|object|select|textarea)/i)?0:c.nodeName.match(/^(a|area)$/i)&&c.href?0:b}return c[d]}if(!a.support.style&&f&&d=="style")return a.attr(c.style,"cssText",e);g&&c.setAttribute(d,""+e);var i=!a.support.hrefNormalized&&f&&j?c.getAttribute(d,2):c.getAttribute(d);return i===null?b:i}if(!a.support.opacity&&d=="opacity"){if(g){c.zoom=1;c.filter=(c.filter||"").replace(/alpha\([^)]*\)/,"")+(parseInt(e)+""=="NaN"?"":"alpha(opacity="+e*100+")")}return c.filter&&c.filter.indexOf("opacity=")>=0?parseFloat(c.filter.match(/opacity=([^)]*)/)[1])/100+"":""}d=d.replace(/-([a-z])/ig,function(b,a){return a.toUpperCase()});if(g)c[d]=e;return c[d]},trim:function(a){return(a||"").replace(/^\s+|\s+$/g,"")},makeArray:function(b){var d=[];if(b!=null){var c=b.length;if(c==null||typeof b==="string"||a.isFunction(b)||b.setInterval)d[0]=b;else while(c)d[--c]=b[c]}return d},inArray:function(d,b){for(var a=0,c=b.length;a<c;a++)if(b[a]===d)return a;return-1},merge:function(c,d){var e=0,b,f=c.length;if(!a.support.getAll){while((b=d[e++])!=null)if(b.nodeType!=8)c[f++]=b}else while((b=d[e++])!=null)c[f++]=b;return c},unique:function(c){var d=[],e={};try{for(var b=0,g=c.length;b<g;b++){var f=a.data(c[b]);if(!e[f]){e[f]=true;d.push(c[b])}}}catch(h){d=c}return d},grep:function(b,f,d){for(var c=[],a=0,e=b.length;a<e;a++)!d!=!f(b[a],a)&&c.push(b[a]);return c},map:function(c,f){for(var a=[],b=0,e=c.length;b<e;b++){var d=f(c[b],b);if(d!=null)a[a.length]=d}return a.concat.apply([],a)}});var e=navigator.userAgent.toLowerCase();a.browser={version:(e.match(/.+(?:rv|it|ra|ie)[\/: ]([\d.]+)/)||[0,"0"])[1],safari:/webkit/.test(e),opera:/opera/.test(e),msie:/msie/.test(e)&&!/opera/.test(e),mozilla:/mozilla/.test(e)&&!/(compatible|webkit)/.test(e)};a.each({parent:function(a){return a.parentNode},parents:function(b){return a.dir(b,"parentNode")},next:function(b){return a.nth(b,2,"nextSibling")},prev:function(b){return a.nth(b,2,"previousSibling")},nextAll:function(b){return a.dir(b,"nextSibling")},prevAll:function(b){return a.dir(b,"previousSibling")},siblings:function(b){return a.sibling(b.parentNode.firstChild,b)},children:function(b){return a.sibling(b.firstChild)},contents:function(b){return a.nodeName(b,"iframe")?b.contentDocument||b.contentWindow.document:a.makeArray(b.childNodes)}},function(b,c){a.fn[b]=function(d){var e=a.map(this,c);if(d&&typeof d=="string")e=a.multiFilter(d,e);return this.pushStack(a.unique(e),b,d)}});a.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(b,c){a.fn[b]=function(f){for(var e=[],h=a(f),d=0,i=h.length;d<i;d++){var g=(d>0?this.clone(true):this).get();a.fn[c].apply(a(h[d]),g);e=e.concat(g)}return this.pushStack(e,b,f)}});a.each({removeAttr:function(b){a.attr(this,b,"");this.nodeType==1&&this.removeAttribute(b)},addClass:function(b){a.className.add(this,b)},removeClass:function(b){a.className.remove(this,b)},toggleClass:function(c,b){if(typeof b!=="boolean")b=!a.className.has(this,c);a.className[b?"add":"remove"](this,c)},remove:function(b){if(!b||a.filter(b,[this]).length){a("*",this).add([this]).each(function(){a.event.remove(this);a.removeData(this)});this.parentNode&&this.parentNode.removeChild(this)}},empty:function(){a(this).children().remove();while(this.firstChild)this.removeChild(this.firstChild)}},function(b,c){a.fn[b]=function(){return this.each(c,arguments)}});function h(b,c){return b[0]&&parseInt(a.curCSS(b[0],c,true),10)||0}var d="jQuery"+f(),B=0,n={};a.extend({cache:{},data:function(f,g,h){f=f==c?n:f;var e=f[d];if(!e)e=f[d]=++B;if(g&&!a.cache[e])a.cache[e]={};if(h!==b)a.cache[e][g]=h;return g?a.cache[e][g]:e},removeData:function(b,e){b=b==c?n:b;var f=b[d];if(e){if(a.cache[f]){delete a.cache[f][e];e="";for(e in a.cache[f])break;!e&&a.removeData(b)}}else{try{delete b[d]}catch(g){b.removeAttribute&&b.removeAttribute(d)}delete a.cache[f]}},queue:function(e,b,d){if(e){b=(b||"fx")+"queue";var c=a.data(e,b);if(!c||a.isArray(d))c=a.data(e,b,a.makeArray(d));else d&&c.push(d)}return c},dequeue:function(f,d){var e=a.queue(f,d),c=e.shift();if(!d||d==="fx")c=e[0];c!==b&&c.call(f)}});a.fn.extend({data:function(e,f){var c=e.split(".");c[1]=c[1]?"."+c[1]:"";if(f===b){var d=this.triggerHandler("getData"+c[1]+"!",[c[0]]);if(d===b&&this.length)d=a.data(this[0],e);return d===b&&c[1]?this.data(c[0]):d}else return this.trigger("setData"+c[1]+"!",[c[0],f]).each(function(){a.data(this,e,f)})},removeData:function(b){return this.each(function(){a.removeData(this,b)})},queue:function(c,d){if(typeof c!=="string"){d=c;c="fx"}return d===b?a.queue(this[0],c):this.each(function(){var b=a.queue(this,c,d);c=="fx"&&b.length==1&&b[0].call(this)})},dequeue:function(b){return this.each(function(){a.dequeue(this,b)})}});(function(){var j=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?/g,i=0,k=Object.prototype.toString,e=function(o,i,m,t){m=m||[];i=i||document;if(i.nodeType!==1&&i.nodeType!==9)return[];if(!o||typeof o!=="string")return m;var a=[],v,n,c,z,y,u,x=true;j.lastIndex=0;while((v=j.exec(o))!==null){a.push(v[1]);if(v[2]){u=RegExp.rightContext;break}}if(a.length>1&&q.exec(o))if(a.length===2&&d.relative[a[0]])n=l(a[0]+a[1],i);else{n=d.relative[a[0]]?[i]:e(a.shift(),i);while(a.length){o=a.shift();if(d.relative[o])o+=a.shift();n=l(o,n)}}else{var w=t?{expr:a.pop(),"set":g(t)}:e.find(a.pop(),a.length===1&&i.parentNode?i.parentNode:i,f(i));n=e.filter(w.expr,w.set);if(a.length>0)c=g(n);else x=false;while(a.length){var r=a.pop(),s=r;if(!d.relative[r])r="";else s=a.pop();if(s==null)s=i;d.relative[r](c,s,f(i))}}if(!c)c=n;if(!c)throw"Syntax error, unrecognized expression: "+(r||o);if(k.call(c)==="[object Array]")if(!x)m.push.apply(m,c);else if(i.nodeType===1)for(var b=0;c[b]!=null;b++)c[b]&&(c[b]===true||c[b].nodeType===1&&p(i,c[b]))&&m.push(n[b]);else for(var b=0;c[b]!=null;b++)c[b]&&c[b].nodeType===1&&m.push(n[b]);else g(c,m);if(u){e(u,i,m,t);if(h){hasDuplicate=false;m.sort(h);if(hasDuplicate)for(var b=1;b<m.length;b++)m[b]===m[b-1]&&m.splice(b--,1)}}return m};e.matches=function(a,b){return e(a,null,null,b)};e.find=function(a,g,i){var b,c;if(!a)return[];for(var e=0,j=d.order.length;e<j;e++){var f=d.order[e],c;if(c=d.match[f].exec(a)){var h=RegExp.leftContext;if(h.substr(h.length-1)!=="\\"){c[1]=(c[1]||"").replace(/\\/g,"");b=d.find[f](c,g,i);if(b!=null){a=a.replace(d.match[f],"");break}}}}if(!b)b=g.getElementsByTagName("*");return{"set":b,expr:a}};e.filter=function(a,i,n,q){var p=a,k=[],c=i,e,g,s=i&&i[0]&&f(i[0]);while(a&&i.length){for(var h in d.filter)if((e=d.match[h].exec(a))!=null){var r=d.filter[h],j,l;g=false;if(c==k)k=[];if(d.preFilter[h]){e=d.preFilter[h](e,c,n,k,q,s);if(!e)g=j=true;else if(e===true)continue}if(e)for(var m=0;(l=c[m])!=null;m++)if(l){j=r(l,e,m,c);var o=q^!!j;if(n&&j!=null)if(o)g=true;else c[m]=false;else if(o){k.push(l);g=true}}if(j!==b){if(!n)c=k;a=a.replace(d.match[h],"");if(!g)return[];break}}if(a==p)if(g==null)throw"Syntax error, unrecognized expression: "+a;else break;p=a}return c};var d=e.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|)\s*\]/,TAG:/^((?:[\w\u00c0-\uFFFF\*_-]|\\.)+)/,CHILD:/:(only|nth|last|first)-child(?:\((even|odd|[\dn+-]*)\))?/,POS:/:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^-]|$)/,PSEUDO:/:((?:[\w\u00c0-\uFFFF_-]|\\.)+)(?:\((['"]*)((?:\([^\)]+\)|[^\2\(\)]*)+)\2\))?/},attrMap:{"class":"className","for":"htmlFor"},attrHandle:{href:function(a){return a.getAttribute("href")}},relative:{"+":function(c,b,j){var g=typeof b==="string",f=g&&!/\W/.test(b),h=g&&!f;if(f&&!j)b=b.toUpperCase();for(var d=0,i=c.length,a;d<i;d++)if(a=c[d]){while((a=a.previousSibling)&&a.nodeType!==1);c[d]=h||a&&a.nodeName===b?a||false:a===b}h&&e.filter(b,c,true)},">":function(c,a,i){var f=typeof a==="string";if(f&&!/\W/.test(a)){a=i?a:a.toUpperCase();for(var b=0,g=c.length;b<g;b++){var d=c[b];if(d){var h=d.parentNode;c[b]=h.nodeName===a?h:false}}}else{for(var b=0,g=c.length;b<g;b++){var d=c[b];if(d)c[b]=f?d.parentNode:d.parentNode===a}f&&e.filter(a,c,true)}},"":function(e,a,c){var d=i++,b=o;if(!a.match(/\W/)){var f=a=c?a:a.toUpperCase();b=n}b("parentNode",a,d,e,f,c)},"~":function(e,a,c){var d=i++,b=o;if(typeof a==="string"&&!a.match(/\W/)){var f=a=c?a:a.toUpperCase();b=n}b("previousSibling",a,d,e,f,c)}},find:{ID:function(c,b,d){if(typeof b.getElementById!=="undefined"&&!d){var a=b.getElementById(c[1]);return a?[a]:[]}},NAME:function(d,e){if(typeof e.getElementsByName!=="undefined"){for(var b=[],c=e.getElementsByName(d[1]),a=0,f=c.length;a<f;a++)c[a].getAttribute("name")===d[1]&&b.push(c[a]);return b.length===0?null:b}},TAG:function(a,b){return b.getElementsByTagName(a[1])}},preFilter:{CLASS:function(b,d,e,g,h,f){b=" "+b[1].replace(/\\/g,"")+" ";if(f)return b;for(var c=0,a;(a=d[c])!=null;c++)if(a)if(h^(a.className&&(" "+a.className+" ").indexOf(b)>=0))!e&&g.push(a);else if(e)d[c]=false;return false},ID:function(a){return a[1].replace(/\\/g,"")},TAG:function(c,b){for(var a=0;b[a]===false;a++);return b[a]&&f(b[a])?c[1]:c[1].toUpperCase()},CHILD:function(a){if(a[1]=="nth"){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}a[0]=i++;return a},ATTR:function(a,f,g,e,h,c){var b=a[1].replace(/\\/g,"");if(!c&&d.attrMap[b])a[1]=d.attrMap[b];if(a[2]==="~=")a[4]=" "+a[4]+" ";return a},PSEUDO:function(a,c,f,b,h){if(a[1]==="not")if(a[3].match(j).length>1||/^\w/.test(a[3]))a[3]=e(a[3],null,null,c);else{var g=e.filter(a[3],c,f,true^h);!f&&b.push.apply(b,g);return false}else if(d.match.POS.test(a[0])||d.match.CHILD.test(a[0]))return true;return a},POS:function(a){a.unshift(true);return a}},filters:{enabled:function(a){return a.disabled===false&&a.type!=="hidden"},disabled:function(a){return a.disabled===true},checked:function(a){return a.checked===true},selected:function(a){a.parentNode.selectedIndex;return a.selected===true},parent:function(a){return!!a.firstChild},empty:function(a){return!a.firstChild},has:function(b,c,a){return!!e(a[3],b).length},header:function(a){return/h\d/i.test(a.nodeName)},text:function(a){return"text"===a.type},radio:function(a){return"radio"===a.type},checkbox:function(a){return"checkbox"===a.type},file:function(a){return"file"===a.type},password:function(a){return"password"===a.type},submit:function(a){return"submit"===a.type},image:function(a){return"image"===a.type},reset:function(a){return"reset"===a.type},button:function(a){return"button"===a.type||a.nodeName.toUpperCase()==="BUTTON"},input:function(a){return/input|select|textarea|button/i.test(a.nodeName)}},setFilters:{first:function(b,a){return a===0},last:function(d,a,c,b){return a===b.length-1},even:function(b,a){return a%2===0},odd:function(b,a){return a%2===1},lt:function(c,b,a){return b<a[3]-0},gt:function(c,b,a){return b>a[3]-0},nth:function(c,b,a){return a[3]-0==b},eq:function(c,b,a){return a[3]-0==b}},filter:{PSEUDO:function(c,a,b,h){var e=a[1],f=d.filters[e];if(f)return f(c,b,a,h);else if(e==="contains")return(c.textContent||c.innerText||"").indexOf(a[3])>=0;else if(e==="not"){for(var g=a[3],b=0,i=g.length;b<i;b++)if(g[b]===c)return false;return true}},CHILD:function(b,e){var i=e[1],a=b;switch(i){case"only":case"first":while(a=a.previousSibling)if(a.nodeType===1)return false;if(i=="first")return true;a=b;case"last":while(a=a.nextSibling)if(a.nodeType===1)return false;return true;case"nth":var d=e[2],g=e[3];if(d==1&&g==0)return true;var h=e[0],c=b.parentNode;if(c&&(c.sizcache!==h||!b.nodeIndex)){var j=0;for(a=c.firstChild;a;a=a.nextSibling)if(a.nodeType===1)a.nodeIndex=++j;c.sizcache=h}var f=b.nodeIndex-g;return d==0?f==0:f%d==0&&f/d>=0}},ID:function(a,b){return a.nodeType===1&&a.getAttribute("id")===b},TAG:function(b,a){return a==="*"&&b.nodeType===1||b.nodeName===a},CLASS:function(a,b){return(" "+(a.className||a.getAttribute("class"))+" ").indexOf(b)>-1},ATTR:function(f,h){var e=h[1],g=d.attrHandle[e]?d.attrHandle[e](f):f[e]!=null?f[e]:f.getAttribute(e),b=g+"",c=h[2],a=h[4];return g==null?c==="!=":c==="="?b===a:c==="*="?b.indexOf(a)>=0:c==="~="?(" "+b+" ").indexOf(a)>=0:!a?b&&g!==false:c==="!="?b!=a:c==="^="?b.indexOf(a)===0:c==="$="?b.substr(b.length-a.length)===a:c==="|="?b===a||b.substr(0,a.length+1)===a+"-":false},POS:function(f,a,e,g){var c=a[2],b=d.setFilters[c];if(b)return b(f,e,a,g)}}},q=d.match.POS;for(var m in d.match)d.match[m]=RegExp(d.match[m].source+/(?![^\[]*\])(?![^\(]*\))/.source);var g=function(b,a){b=Array.prototype.slice.call(b);if(a){a.push.apply(a,b);return a}return b};try{Array.prototype.slice.call(document.documentElement.childNodes)}catch(r){g=function(a,e){var c=e||[];if(k.call(a)==="[object Array]")Array.prototype.push.apply(c,a);else if(typeof a.length==="number")for(var b=0,d=a.length;b<d;b++)c.push(a[b]);else for(var b=0;a[b];b++)c.push(a[b]);return c}}var h;if(document.documentElement.compareDocumentPosition)h=function(b,a){var c=b.compareDocumentPosition(a)&4?-1:b===a?0:1;if(c===0)hasDuplicate=true;return c};else if("sourceIndex"in document.documentElement)h=function(c,b){var a=c.sourceIndex-b.sourceIndex;if(a===0)hasDuplicate=true;return a};else if(document.createRange)h=function(d,c){var b=d.ownerDocument.createRange(),a=c.ownerDocument.createRange();b.selectNode(d);b.collapse(true);a.selectNode(c);a.collapse(true);var e=b.compareBoundaryPoints(Range.START_TO_END,a);if(e===0)hasDuplicate=true;return e};(function(){var c=document.createElement("form"),e="script"+(new Date).getTime();c.innerHTML="<input name='"+e+"'/>";var a=document.documentElement;a.insertBefore(c,a.firstChild);if(!!document.getElementById(e)){d.find.ID=function(c,d,e){if(typeof d.getElementById!=="undefined"&&!e){var a=d.getElementById(c[1]);return a?a.id===c[1]||typeof a.getAttributeNode!=="undefined"&&a.getAttributeNode("id").nodeValue===c[1]?[a]:b:[]}};d.filter.ID=function(a,c){var b=typeof a.getAttributeNode!=="undefined"&&a.getAttributeNode("id");return a.nodeType===1&&b&&b.nodeValue===c}}a.removeChild(c)})();(function(){var a=document.createElement("div");a.appendChild(document.createComment(""));if(a.getElementsByTagName("*").length>0)d.find.TAG=function(c,e){var a=e.getElementsByTagName(c[1]);if(c[1]==="*"){for(var d=[],b=0;a[b];b++)a[b].nodeType===1&&d.push(a[b]);a=d}return a};a.innerHTML="<a href='#'></a>";if(a.firstChild&&typeof a.firstChild.getAttribute!=="undefined"&&a.firstChild.getAttribute("href")!=="#")d.attrHandle.href=function(a){return a.getAttribute("href",2)}})();document.querySelectorAll&&(function(){var a=e,b=document.createElement("div");b.innerHTML="<p class='TEST'></p>";if(b.querySelectorAll&&b.querySelectorAll(".TEST").length===0)return;e=function(e,b,c,d){b=b||document;if(!d&&b.nodeType===9&&!f(b))try{return g(b.querySelectorAll(e),c)}catch(h){}return a(e,b,c,d)};e.find=a.find;e.filter=a.filter;e.selectors=a.selectors;e.matches=a.matches})();document.getElementsByClassName&&document.documentElement.getElementsByClassName&&(function(){var a=document.createElement("div");a.innerHTML="<div class='test e'></div><div class='test'></div>";if(a.getElementsByClassName("e").length===0)return;a.lastChild.className="e";if(a.getElementsByClassName("e").length===1)return;d.order.splice(1,0,"CLASS");d.find.CLASS=function(b,a,c){if(typeof a.getElementsByClassName!=="undefined"&&!c)return a.getElementsByClassName(b[1])}})();function n(d,j,f,c,k,g){for(var h=d=="previousSibling"&&!g,b=0,i=c.length;b<i;b++){var a=c[b];if(a){if(h&&a.nodeType===1){a.sizcache=f;a.sizset=b}a=a[d];var e=false;while(a){if(a.sizcache===f){e=c[a.sizset];break}if(a.nodeType===1&&!g){a.sizcache=f;a.sizset=b}if(a.nodeName===j){e=a;break}a=a[d]}c[b]=e}}}function o(f,h,g,c,l,i){for(var j=f=="previousSibling"&&!i,b=0,k=c.length;b<k;b++){var a=c[b];if(a){if(j&&a.nodeType===1){a.sizcache=g;a.sizset=b}a=a[f];var d=false;while(a){if(a.sizcache===g){d=c[a.sizset];break}if(a.nodeType===1){if(!i){a.sizcache=g;a.sizset=b}if(typeof h!=="string"){if(a===h){d=true;break}}else if(e.filter(h,[a]).length>0){d=a;break}}a=a[f]}c[b]=d}}}var p=document.compareDocumentPosition?function(b,a){return b.compareDocumentPosition(a)&16}:function(a,b){return a!==b&&(a.contains?a.contains(b):true)},f=function(a){return a.nodeType===9&&a.documentElement.nodeName!=="HTML"||!!a.ownerDocument&&f(a.ownerDocument)},l=function(a,b){var g=[],h="",i,f=b.nodeType?[b]:b;while(i=d.match.PSEUDO.exec(a)){h+=i[0];a=a.replace(d.match.PSEUDO,"")}a=d.relative[a]?a+"*":a;for(var c=0,j=f.length;c<j;c++)e(a,f[c],g);return e.filter(h,g)};a.find=e;a.filter=e.filter;a.expr=e.selectors;a.expr[":"]=a.expr.filters;e.selectors.filters.hidden=function(a){return a.offsetWidth===0||a.offsetHeight===0};e.selectors.filters.visible=function(a){return a.offsetWidth>0||a.offsetHeight>0};e.selectors.filters.animated=function(b){return a.grep(a.timers,function(a){return b===a.elem}).length};a.multiFilter=function(a,b,c){if(c)a=":not("+a+")";return e.matches(a,b)};a.dir=function(d,c){var b=[],a=d[c];while(a&&a!=document){a.nodeType==1&&b.push(a);a=a[c]}return b};a.nth=function(a,b,d){b=b||1;for(var c=0;a;a=a[d])if(a.nodeType==1&&++c==b)break;return a};a.sibling=function(a,c){for(var b=[];a;a=a.nextSibling)a.nodeType==1&&a!=c&&b.push(a);return b};return;c.Sizzle=e})();a.event={add:function(d,i,e,f){if(d.nodeType==3||d.nodeType==8)return;if(d.setInterval&&d!=c)d=c;if(!e.guid)e.guid=this.guid++;if(f!==b){var j=e;e=this.proxy(j);e.data=f}var h=a.data(d,"events")||a.data(d,"events",{}),g=a.data(d,"handle")||a.data(d,"handle",function(){return typeof a!=="undefined"&&!a.event.triggered?a.event.handle.apply(arguments.callee.elem,arguments):b});g.elem=d;a.each(i.split(/\s+/),function(j,b){var c=b.split(".");b=c.shift();e.type=c.slice().sort().join(".");var i=h[b];a.event.specialAll[b]&&a.event.specialAll[b].setup.call(d,f,c);if(!i){i=h[b]={};if(!a.event.special[b]||a.event.special[b].setup.call(d,f,c)===false)if(d.addEventListener)d.addEventListener(b,g,false);else d.attachEvent&&d.attachEvent("on"+b,g)}i[e.guid]=e;a.event.global[b]=true});d=null},guid:1,global:{},remove:function(c,e,g){if(c.nodeType==3||c.nodeType==8)return;var d=a.data(c,"events"),f,j;if(d){if(e===b||typeof e==="string"&&e.charAt(0)==".")for(var i in d)this.remove(c,i+(e||""));else{if(e.type){g=e.handler;e=e.type}a.each(e.split(/\s+/),function(j,b){var e=b.split(".");b=e.shift();var i=RegExp("(^|\\.)"+e.slice().sort().join(".*\\.")+"(\\.|$)");if(d[b]){if(g)delete d[b][g.guid];else for(var h in d[b])if(i.test(d[b][h].type))delete d[b][h];a.event.specialAll[b]&&a.event.specialAll[b].teardown.call(c,e);for(f in d[b])break;if(!f){if(!a.event.special[b]||a.event.special[b].teardown.call(c,e)===false)if(c.removeEventListener)c.removeEventListener(b,a.data(c,"handle"),false);else c.detachEvent&&c.detachEvent("on"+b,a.data(c,"handle"));f=null;delete d[b]}}})}for(f in d)break;if(!f){var h=a.data(c,"handle");if(h)h.elem=null;a.removeData(c,"events");a.removeData(c,"handle")}}},trigger:function(c,g,e,h){var f=c.type||c;if(!h){c=typeof c==="object"?c[d]?c:a.extend(a.Event(f),c):a.Event(f);if(f.indexOf("!")>=0){c.type=f=f.slice(0,-1);c.exclusive=true}if(!e){c.stopPropagation();this.global[f]&&a.each(a.cache,function(){this.events&&this.events[f]&&a.event.trigger(c,g,this.handle.elem)})}if(!e||e.nodeType==3||e.nodeType==8)return b;c.result=b;c.target=e;g=a.makeArray(g);g.unshift(c)}c.currentTarget=e;var j=a.data(e,"handle");j&&j.apply(e,g);if((!e[f]||a.nodeName(e,"a")&&f=="click")&&e["on"+f]&&e["on"+f].apply(e,g)===false)c.result=false;if(!h&&e[f]&&!c.isDefaultPrevented()&&!(a.nodeName(e,"a")&&f=="click")){this.triggered=true;try{e[f]()}catch(k){}}this.triggered=false;if(!c.isPropagationStopped()){var i=e.parentNode||e.ownerDocument;i&&a.event.trigger(c,g,i,true)}},handle:function(d){var i,f;d=arguments[0]=a.event.fix(d||c.event);d.currentTarget=this;var h=d.type.split(".");d.type=h.shift();i=!h.length&&!d.exclusive;var k=RegExp("(^|\\.)"+h.slice().sort().join(".*\\.")+"(\\.|$)");f=(a.data(this,"events")||{})[d.type];for(var j in f){var e=f[j];if(i||k.test(e.type)){d.handler=e;d.data=e.data;var g=e.apply(this,arguments);if(g!==b){d.result=g;if(g===false){d.preventDefault();d.stopPropagation()}}if(d.isImmediatePropagationStopped())break}}},props:"altKey attrChange attrName bubbles button cancelable charCode clientX clientY ctrlKey currentTarget data detail eventPhase fromElement handler keyCode metaKey newValue originalTarget pageX pageY prevValue relatedNode relatedTarget screenX screenY shiftKey srcElement target toElement view wheelDelta which".split(" "),fix:function(b){if(b[d])return b;var g=b;b=a.Event(g);for(var h=this.props.length,f;h;){f=this.props[--h];b[f]=g[f]}if(!b.target)b.target=b.srcElement||document;if(b.target.nodeType==3)b.target=b.target.parentNode;if(!b.relatedTarget&&b.fromElement)b.relatedTarget=b.fromElement==b.target?b.toElement:b.fromElement;if(b.pageX==null&&b.clientX!=null){var c=document.documentElement,e=document.body;b.pageX=b.clientX+(c&&c.scrollLeft||e&&e.scrollLeft||0)-(c.clientLeft||0);b.pageY=b.clientY+(c&&c.scrollTop||e&&e.scrollTop||0)-(c.clientTop||0)}if(!b.which&&(b.charCode||b.charCode===0?b.charCode:b.keyCode))b.which=b.charCode||b.keyCode;if(!b.metaKey&&b.ctrlKey)b.metaKey=b.ctrlKey;if(!b.which&&b.button)b.which=b.button&1?1:b.button&2?3:b.button&4?2:0;return b},proxy:function(b,a){a=a||function(){return b.apply(this,arguments)};a.guid=b.guid=b.guid||a.guid||this.guid++;return a},special:{ready:{setup:p,teardown:function(){}}},specialAll:{live:{setup:function(c,b){a.event.add(this,b[0],q)},teardown:function(b){if(b.length){var c=0,d=RegExp("(^|\\.)"+b[0]+"(\\.|$)");a.each(a.data(this,"events").live||{},function(){if(d.test(this.type))c++});c<1&&a.event.remove(this,b[0],q)}}}}};a.Event=function(b){if(!this.preventDefault)return new a.Event(b);if(b&&b.type){this.originalEvent=b;this.type=b.type}else this.type=b;this.timeStamp=f();this[d]=true};function k(){return false}function m(){return true}a.Event.prototype={preventDefault:function(){this.isDefaultPrevented=m;var a=this.originalEvent;if(!a)return;a.preventDefault&&a.preventDefault();a.returnValue=false},stopPropagation:function(){this.isPropagationStopped=m;var a=this.originalEvent;if(!a)return;a.stopPropagation&&a.stopPropagation();a.cancelBubble=true},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=m;this.stopPropagation()},isDefaultPrevented:k,isPropagationStopped:k,isImmediatePropagationStopped:k};var o=function(c){var b=c.relatedTarget;while(b&&b!=this)try{b=b.parentNode}catch(d){b=this}if(b!=this){c.type=c.data;a.event.handle.apply(this,arguments)}};a.each({mouseover:"mouseenter",mouseout:"mouseleave"},function(c,b){a.event.special[b]={setup:function(){a.event.add(this,c,o,b)},teardown:function(){a.event.remove(this,c,o)}}});a.fn.extend({bind:function(c,d,b){return c=="unload"?this.one(c,d,b):this.each(function(){a.event.add(this,c,b||d,b&&d)})},one:function(e,c,b){var d=a.event.proxy(b||c,function(e){a(this).unbind(e,d);return(b||c).apply(this,arguments)});return this.each(function(){a.event.add(this,e,d,b&&c)})},unbind:function(c,b){return this.each(function(){a.event.remove(this,c,b)})},trigger:function(b,c){return this.each(function(){a.event.trigger(b,c,this)})},triggerHandler:function(c,d){if(this[0]){var b=a.Event(c);b.preventDefault();b.stopPropagation();a.event.trigger(b,d,this[0]);return b.result}},toggle:function(d){var b=arguments,c=1;while(c<b.length)a.event.proxy(d,b[c++]);return this.click(a.event.proxy(d,function(a){this.lastToggle=(this.lastToggle||0)%c;a.preventDefault();return b[this.lastToggle++].apply(this,arguments)||false}))},hover:function(a,b){return this.mouseenter(a).mouseleave(b)},ready:function(b){p();if(a.isReady)b.call(document,a);else a.readyList.push(b);return this},live:function(c,d){var b=a.event.proxy(d);b.guid+=this.selector+c;a(document).bind(s(c,this.selector),this.selector,b);return this},die:function(c,b){a(document).unbind(s(c,this.selector),b?{guid:b.guid+this.selector+c}:null);return this}});function q(c){var e=RegExp("(^|\\.)"+c.type+"(\\.|$)"),d=true,b=[];a.each(a.data(this,"events").live||[],function(g,d){if(e.test(d.type)){var f=a(c.target).closest(d.data)[0];f&&b.push({elem:f,fn:d})}});b.sort(function(c,b){return a.data(c.elem,"closest")-a.data(b.elem,"closest")});a.each(b,function(){if(this.fn.call(this.elem,c,this.fn.data)===false)return d=false});return d}function s(b,a){return["live",b,a.replace(/\./g,"`").replace(/ /g,"|")].join(".")}a.extend({isReady:false,readyList:[],ready:function(){if(!a.isReady){a.isReady=true;if(a.readyList){a.each(a.readyList,function(){this.call(document,a)});a.readyList=null}a(document).triggerHandler("ready")}}});var v=false;function p(){if(v)return;v=true;if(document.addEventListener)document.addEventListener("DOMContentLoaded",function(){document.removeEventListener("DOMContentLoaded",arguments.callee,false);a.ready()},false);else if(document.attachEvent){document.attachEvent("onreadystatechange",function(){if(document.readyState==="complete"){document.detachEvent("onreadystatechange",arguments.callee);a.ready()}});document.documentElement.doScroll&&c==c.top&&(function(){if(a.isReady)return;try{document.documentElement.doScroll("left")}catch(b){setTimeout(arguments.callee,0);return}a.ready()})()}a.event.add(c,"load",a.ready)}a.each("blur,focus,load,resize,scroll,unload,click,dblclick,mousedown,mouseup,mousemove,mouseover,mouseout,mouseenter,mouseleave,change,select,submit,keydown,keypress,keyup,error".split(","),function(c,b){a.fn[b]=function(a){return a?this.bind(b,a):this.trigger(b)}});a(c).bind("unload",function(){for(var b in a.cache)b!=1&&a.cache[b].handle&&a.event.remove(a.cache[b].handle.elem)});(function(){a.support={};var f=document.documentElement,e=document.createElement("script"),b=document.createElement("div"),g="script"+(new Date).getTime();b.style.display="none";b.innerHTML='   <link/><table></table><a href="/a" style="color:red;float:left;opacity:.5;">a</a><select><option>text</option></select><object><param/></object>';var h=b.getElementsByTagName("*"),d=b.getElementsByTagName("a")[0];if(!h||!h.length||!d)return;a.support={leadingWhitespace:b.firstChild.nodeType==3,tbody:!b.getElementsByTagName("tbody").length,objectAll:!!b.getElementsByTagName("object")[0].getElementsByTagName("*").length,htmlSerialize:!!b.getElementsByTagName("link").length,style:/red/.test(d.getAttribute("style")),hrefNormalized:d.getAttribute("href")==="/a",opacity:d.style.opacity==="0.5",cssFloat:!!d.style.cssFloat,scriptEval:false,noCloneEvent:true,boxModel:null};e.type="text/javascript";try{e.appendChild(document.createTextNode("window."+g+"=1;"))}catch(i){}f.insertBefore(e,f.firstChild);if(c[g]){a.support.scriptEval=true;delete c[g]}f.removeChild(e);if(b.attachEvent&&b.fireEvent){b.attachEvent("onclick",function(){a.support.noCloneEvent=false;b.detachEvent("onclick",arguments.callee)});b.cloneNode(true).fireEvent("onclick")}a(function(){var b=document.createElement("div");b.style.width=b.style.paddingLeft="1px";document.body.appendChild(b);a.boxModel=a.support.boxModel=b.offsetWidth===2;document.body.removeChild(b).style.display="none"})})();var j=a.support.cssFloat?"cssFloat":"styleFloat";a.props={"for":"htmlFor","class":"className","float":j,cssFloat:j,styleFloat:j,readonly:"readOnly",maxlength:"maxLength",cellspacing:"cellSpacing",rowspan:"rowSpan",tabindex:"tabIndex"};a.fn.extend({_load:a.fn.load,load:function(b,c,e){if(typeof b!=="string")return this._load(b);var d=b.indexOf(" ");if(d>=0){var f=b.slice(d,b.length);b=b.slice(0,d)}var h="GET";if(c)if(a.isFunction(c)){e=c;c=null}else if(typeof c==="object"){c=a.param(c);h="POST"}var g=this;a.ajax({url:b,type:h,dataType:"html",data:c,complete:function(b,c){(c=="success"||c=="notmodified")&&g.html(f?a("<div/>").append(b.responseText.replace(/<script(.|\s)*?\/script>/g,"")).find(f):b.responseText);e&&g.each(e,[b.responseText,c,b])}});return this},serialize:function(){return a.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?a.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||/select|textarea/i.test(this.nodeName)||/text|hidden|password|search/i.test(this.type))}).map(function(d,c){var b=a(this).val();return b==null?null:a.isArray(b)?a.map(b,function(a){return{name:c.name,value:a}}):{name:c.name,value:b}}).get()}});a.each("ajaxStart,ajaxStop,ajaxComplete,ajaxError,ajaxSuccess,ajaxSend".split(","),function(c,b){a.fn[b]=function(a){return this.bind(b,a)}});var A=f();a.extend({"get":function(d,b,c,e){if(a.isFunction(b)){c=b;b=null}return a.ajax({type:"GET",url:d,data:b,success:c,dataType:e})},getScript:function(b,c){return a.get(b,null,c,"script")},getJSON:function(b,c,d){return a.get(b,c,d,"json")},post:function(d,b,c,e){if(a.isFunction(b)){c=b;b={}}return a.ajax({type:"POST",url:d,data:b,success:c,dataType:e})},ajaxSetup:function(b){a.extend(a.ajaxSettings,b)},ajaxSettings:{url:location.href,global:true,type:"GET",contentType:"application/x-www-form-urlencoded",processData:true,async:true,xhr:function(){return c.ActiveXObject?new ActiveXObject("Microsoft.XMLHTTP"):new XMLHttpRequest},accepts:{xml:"application/xml, text/xml",html:"text/html",script:"text/javascript, application/javascript",json:"application/json, text/javascript",text:"text/plain",_default:"*/*"}},lastModified:{},ajax:function(d){d=a.extend(true,d,a.extend(true,{},a.ajaxSettings,d));var h,j=/=\?(&|$)/g,i,s,k=d.type.toUpperCase();if(d.data&&d.processData&&typeof d.data!=="string")d.data=a.param(d.data);if(d.dataType=="jsonp"){if(k=="GET"){if(!d.url.match(j))d.url+=(d.url.match(/\?/)?"&":"?")+(d.jsonp||"callback")+"=?"}else if(!d.data||!d.data.match(j))d.data=(d.data?d.data+"&":"")+(d.jsonp||"callback")+"=?";d.dataType="json"}if(d.dataType=="json"&&(d.data&&d.data.match(j)||d.url.match(j))){h="jsonp"+A++;if(d.data)d.data=(d.data+"").replace(j,"="+h+"$1");d.url=d.url.replace(j,"="+h+"$1");d.dataType="script";c[h]=function(a){s=a;o();q();c[h]=b;try{delete c[h]}catch(d){}m&&m.removeChild(g)}}if(d.dataType=="script"&&d.cache==null)d.cache=false;if(d.cache===false&&k=="GET"){var t=f(),v=d.url.replace(/(\?|&)_=.*?(&|$)/,"$1_="+t+"$2");d.url=v+(v==d.url?(d.url.match(/\?/)?"&":"?")+"_="+t:"")}if(d.data&&k=="GET"){d.url+=(d.url.match(/\?/)?"&":"?")+d.data;d.data=null}d.global&&!a.active++&&a.event.trigger("ajaxStart");var n=/^(\w+:)?\/\/([^\/?#]+)/.exec(d.url);if(d.dataType=="script"&&k=="GET"&&n&&(n[1]&&n[1]!=location.protocol||n[2]!=location.host)){var m=document.getElementsByTagName("head")[0],g=document.createElement("script");g.src=d.url;if(d.scriptCharset)g.charset=d.scriptCharset;if(!h){var u=false;g.onload=g.onreadystatechange=function(){if(!u&&(!this.readyState||this.readyState=="loaded"||this.readyState=="complete")){u=true;o();q();g.onload=g.onreadystatechange=null;m.removeChild(g)}}}m.appendChild(g);return b}var p=false,e=d.xhr();if(d.username)e.open(k,d.url,d.async,d.username,d.password);else e.open(k,d.url,d.async);try{d.data&&e.setRequestHeader("Content-Type",d.contentType);d.ifModified&&e.setRequestHeader("If-Modified-Since",a.lastModified[d.url]||"Thu, 01 Jan 1970 00:00:00 GMT");e.setRequestHeader("X-Requested-With","XMLHttpRequest");e.setRequestHeader("Accept",d.dataType&&d.accepts[d.dataType]?d.accepts[d.dataType]+", */*":d.accepts._default)}catch(w){}if(d.beforeSend&&d.beforeSend(e,d)===false){d.global&&!--a.active&&a.event.trigger("ajaxStop");e.abort();return false}d.global&&a.event.trigger("ajaxSend",[e,d]);var r=function(b){if(e.readyState==0){if(l){clearInterval(l);l=null;d.global&&!--a.active&&a.event.trigger("ajaxStop")}}else if(!p&&e&&(e.readyState==4||b=="timeout")){p=true;if(l){clearInterval(l);l=null}i=b=="timeout"?"timeout":!a.httpSuccess(e)?"error":d.ifModified&&a.httpNotModified(e,d.url)?"notmodified":"success";if(i=="success")try{s=a.httpData(e,d.dataType,d)}catch(f){i="parsererror"}if(i=="success"){var c;try{c=e.getResponseHeader("Last-Modified")}catch(f){}if(d.ifModified&&c)a.lastModified[d.url]=c;!h&&o()}else a.handleError(d,e,i);q();b&&e.abort();if(d.async)e=null}};if(d.async){var l=setInterval(r,13);d.timeout>0&&setTimeout(function(){e&&!p&&r("timeout")},d.timeout)}try{e.send(d.data)}catch(w){a.handleError(d,e,null,w)}!d.async&&r();function o(){d.success&&d.success(s,i);d.global&&a.event.trigger("ajaxSuccess",[e,d])}function q(){d.complete&&d.complete(e,i);d.global&&a.event.trigger("ajaxComplete",[e,d]);d.global&&!--a.active&&a.event.trigger("ajaxStop")}return e},handleError:function(b,d,e,c){b.error&&b.error(d,e,c);b.global&&a.event.trigger("ajaxError",[d,b,c])},active:0,httpSuccess:function(a){try{return!a.status&&location.protocol=="file:"||a.status>=200&&a.status<300||a.status==304||a.status==1223}catch(b){}return false},httpNotModified:function(b,c){try{var d=b.getResponseHeader("Last-Modified");return b.status==304||d==a.lastModified[c]}catch(e){}return false},httpData:function(f,d,e){var h=f.getResponseHeader("content-type"),g=d=="xml"||!d&&h&&h.indexOf("xml")>=0,b=g?f.responseXML:f.responseText;if(g&&b.documentElement.tagName=="parsererror")throw"parsererror";if(e&&e.dataFilter)b=e.dataFilter(b,d);if(typeof b==="string"){d=="script"&&a.globalEval(b);if(d=="json")b=c.eval("("+b+")")}return b},param:function(b){var d=[];function e(a,b){d[d.length]=encodeURIComponent(a)+"="+encodeURIComponent(b)}if(a.isArray(b)||b.jquery)a.each(b,function(){e(this.name,this.value)});else for(var c in b)if(a.isArray(b[c]))a.each(b[c],function(){e(c,this)});else e(c,a.isFunction(b[c])?b[c]():b[c]);return d.join("&").replace(/%20/g,"+")}});var l={},i,r=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]];function g(d,c){var b={};a.each(r.concat.apply([],r.slice(0,c)),function(){b[this]=d});return b}a.fn.extend({show:function(h,j){if(h)return this.animate(g("show",3),h,j);else{for(var b=0,e=this.length;b<e;b++){var i=a.data(this[b],"olddisplay");this[b].style.display=i||"";if(a.css(this[b],"display")==="none"){var d=this[b].tagName,c;if(l[d])c=l[d];else{var f=a("<"+d+" />").appendTo("body");c=f.css("display");if(c==="none")c="block";f.remove();l[d]=c}a.data(this[b],"olddisplay",c)}}for(var b=0,e=this.length;b<e;b++)this[b].style.display=a.data(this[b],"olddisplay")||"";return this}},hide:function(e,f){if(e)return this.animate(g("hide",3),e,f);else{for(var b=0,d=this.length;b<d;b++){var c=a.data(this[b],"olddisplay");!c&&c!=="none"&&a.data(this[b],"olddisplay",a.css(this[b],"display"))}for(var b=0,d=this.length;b<d;b++)this[b].style.display="none";return this}},_toggle:a.fn.toggle,toggle:function(b,d){var c=typeof b==="boolean";return a.isFunction(b)&&a.isFunction(d)?this._toggle.apply(this,arguments):b==null||c?this.each(function(){var d=c?b:a(this).is(":hidden");a(this)[d?"show":"hide"]()}):this.animate(g("toggle",3),b,d)},fadeTo:function(a,c,b){return this.animate({opacity:c},a,b)},animate:function(b,d,f,e){var c=a.speed(d,f,e);return this[c.queue===false?"each":"queue"](function(){var d=a.extend({},c),e,g=this.nodeType==1&&a(this).is(":hidden"),f=this;for(e in b){if(b[e]=="hide"&&g||b[e]=="show"&&!g)return d.complete.call(this);if((e=="height"||e=="width")&&this.style){d.display=a.css(this,"display");d.overflow=this.style.overflow}}if(d.overflow!=null)this.style.overflow="hidden";d.curAnim=a.extend({},b);a.each(b,function(l,j){var i=new a.fx(f,d,l);if(/toggle|show|hide/.test(j))i[j=="toggle"?g?"show":"hide":j](b);else{var h=j.toString().match(/^([+-]=)?([\d+-.]+)(.*)$/),c=i.cur(true)||0;if(h){var e=parseFloat(h[2]),k=h[3]||"px";if(k!="px"){f.style[l]=(e||1)+k;c=(e||1)/i.cur(true)*c;f.style[l]=c+k}if(h[1])e=(h[1]=="-="?-1:1)*e+c;i.custom(c,e,k)}else i.custom(c,j,"")}});return true})},stop:function(d,c){var b=a.timers;d&&this.queue([]);this.each(function(){for(var a=b.length-1;a>=0;a--)if(b[a].elem==this){c&&b[a](true);b.splice(a,1)}});!c&&this.dequeue();return this}});a.each({slideDown:g("show",1),slideUp:g("hide",1),slideToggle:g("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"}},function(b,c){a.fn[b]=function(a,b){return this.animate(c,a,b)}});a.extend({speed:function(c,d,e){var b=typeof c==="object"?c:{complete:e||!e&&d||a.isFunction(c)&&c,duration:c,easing:e&&d||d&&!a.isFunction(d)&&d};b.duration=a.fx.off?0:typeof b.duration==="number"?b.duration:a.fx.speeds[b.duration]||a.fx.speeds._default;b.old=b.complete;b.complete=function(){b.queue!==false&&a(this).dequeue();a.isFunction(b.old)&&b.old.call(this)};return b},easing:{linear:function(c,d,a,b){return a+b*c},swing:function(c,d,a,b){return(-Math.cos(c*Math.PI)/2+.5)*b+a}},timers:[],fx:function(b,a,c){this.options=a;this.elem=b;this.prop=c;if(!a.orig)a.orig={}}});a.fx.prototype={update:function(){this.options.step&&this.options.step.call(this.elem,this.now,this);(a.fx.step[this.prop]||a.fx.step._default)(this);if((this.prop=="height"||this.prop=="width")&&this.elem.style)this.elem.style.display="block"},cur:function(c){if(this.elem[this.prop]!=null&&(!this.elem.style||this.elem.style[this.prop]==null))return this.elem[this.prop];var b=parseFloat(a.css(this.elem,this.prop,c));return b&&b>-1e4?b:parseFloat(a.curCSS(this.elem,this.prop))||0},custom:function(h,g,e){this.startTime=f();this.start=h;this.end=g;this.unit=e||this.unit||"px";this.now=this.start;this.pos=this.state=0;var d=this;function c(a){return d.step(a)}c.elem=this.elem;if(c()&&a.timers.push(c)&&!i)i=setInterval(function(){for(var d=a.timers,c=0;c<d.length;c++)!d[c]()&&d.splice(c--,1);if(!d.length){clearInterval(i);i=b}},13)},show:function(){this.options.orig[this.prop]=a.attr(this.elem.style,this.prop);this.options.show=true;this.custom(this.prop=="width"||this.prop=="height"?1:0,this.cur());a(this.elem).show()},hide:function(){this.options.orig[this.prop]=a.attr(this.elem.style,this.prop);this.options.hide=true;this.custom(this.cur(),0)},step:function(h){var c=f();if(h||c>=this.options.duration+this.startTime){this.now=this.end;this.pos=this.state=1;this.update();this.options.curAnim[this.prop]=true;var b=true;for(var g in this.options.curAnim)if(this.options.curAnim[g]!==true)b=false;if(b){if(this.options.display!=null){this.elem.style.overflow=this.options.overflow;this.elem.style.display=this.options.display;if(a.css(this.elem,"display")=="none")this.elem.style.display="block"}this.options.hide&&a(this.elem).hide();if(this.options.hide||this.options.show)for(var d in this.options.curAnim)a.attr(this.elem.style,d,this.options.orig[d]);this.options.complete.call(this.elem)}return false}else{var e=c-this.startTime;this.state=e/this.options.duration;this.pos=a.easing[this.options.easing||(a.easing.swing?"swing":"linear")](this.state,e,0,1,this.options.duration);this.now=this.start+(this.end-this.start)*this.pos;this.update()}return true}};a.extend(a.fx,{speeds:{slow:600,fast:200,_default:400},step:{opacity:function(b){a.attr(b.elem.style,"opacity",b.now)},_default:function(a){if(a.elem.style&&a.elem.style[a.prop]!=null)a.elem.style[a.prop]=a.now+a.unit;else a.elem[a.prop]=a.now}}});if(document.documentElement.getBoundingClientRect)a.fn.offset=function(){if(!this[0])return{top:0,left:0};if(this[0]===this[0].ownerDocument.body)return a.offset.bodyOffset(this[0]);var d=this[0].getBoundingClientRect(),e=this[0].ownerDocument,c=e.body,b=e.documentElement,i=b.clientTop||c.clientTop||0,h=b.clientLeft||c.clientLeft||0,g=d.top+(self.pageYOffset||a.boxModel&&b.scrollTop||c.scrollTop)-i,f=d.left+(self.pageXOffset||a.boxModel&&b.scrollLeft||c.scrollLeft)-h;return{top:g,left:f}};else a.fn.offset=function(){if(!this[0])return{top:0,left:0};if(this[0]===this[0].ownerDocument.body)return a.offset.bodyOffset(this[0]);a.offset.initialized||a.offset.initialize();var b=this[0],h=b.offsetParent,l=b,j=b.ownerDocument,d,i=j.documentElement,f=j.body,k=j.defaultView,g=k.getComputedStyle(b,null),e=b.offsetTop,c=b.offsetLeft;while((b=b.parentNode)&&b!==f&&b!==i){d=k.getComputedStyle(b,null);e-=b.scrollTop,c-=b.scrollLeft;if(b===h){e+=b.offsetTop,c+=b.offsetLeft;if(a.offset.doesNotAddBorder&&!(a.offset.doesAddBorderForTableAndCells&&/^t(able|d|h)$/i.test(b.tagName)))e+=parseInt(d.borderTopWidth,10)||0,c+=parseInt(d.borderLeftWidth,10)||0;l=h,h=b.offsetParent}if(a.offset.subtractsBorderForOverflowNotVisible&&d.overflow!=="visible")e+=parseInt(d.borderTopWidth,10)||0,c+=parseInt(d.borderLeftWidth,10)||0;g=d}if(g.position==="relative"||g.position==="static")e+=f.offsetTop,c+=f.offsetLeft;if(g.position==="fixed")e+=Math.max(i.scrollTop,f.scrollTop),c+=Math.max(i.scrollLeft,f.scrollLeft);return{top:e,left:c}};a.offset={initialize:function(){if(this.initialized)return;var a=document.body,b=document.createElement("div"),c,e,j,g,f,d,h=a.style.marginTop,i='<div style="position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;"><div></div></div><table style="position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;" cellpadding="0" cellspacing="0"><tr><td></td></tr></table>';f={position:"absolute",top:0,left:0,margin:0,border:0,width:"1px",height:"1px",visibility:"hidden"};for(d in f)b.style[d]=f[d];b.innerHTML=i;a.insertBefore(b,a.firstChild);c=b.firstChild,e=c.firstChild,g=c.nextSibling.firstChild.firstChild;this.doesNotAddBorder=e.offsetTop!==5;this.doesAddBorderForTableAndCells=g.offsetTop===5;c.style.overflow="hidden",c.style.position="relative";this.subtractsBorderForOverflowNotVisible=e.offsetTop===-5;a.style.marginTop="1px";this.doesNotIncludeMarginInBodyOffset=a.offsetTop===0;a.style.marginTop=h;a.removeChild(b);this.initialized=true},bodyOffset:function(b){a.offset.initialized||a.offset.initialize();var d=b.offsetTop,c=b.offsetLeft;if(a.offset.doesNotIncludeMarginInBodyOffset)d+=parseInt(a.curCSS(b,"marginTop",true),10)||0,c+=parseInt(a.curCSS(b,"marginLeft",true),10)||0;return{top:d,left:c}}};a.fn.extend({position:function(){var f=0,e=0,d;if(this[0]){var b=this.offsetParent(),c=this.offset(),a=/^body|html$/i.test(b[0].tagName)?{top:0,left:0}:b.offset();c.top-=h(this,"marginTop");c.left-=h(this,"marginLeft");a.top+=h(b,"borderTopWidth");a.left+=h(b,"borderLeftWidth");d={top:c.top-a.top,left:c.left-a.left}}return d},offsetParent:function(){var b=this[0].offsetParent||document.body;while(b&&(!/^body|html$/i.test(b.tagName)&&a.css(b,"position")=="static"))b=b.offsetParent;return a(b)}});a.each(["Left","Top"],function(e,f){var d="scroll"+f;a.fn[d]=function(f){return!this[0]?null:f!==b?this.each(function(){this==c||this==document?c.scrollTo(!e?f:a(c).scrollLeft(),e?f:a(c).scrollTop()):(this[d]=f)}):this[0]==c||this[0]==document?self[e?"pageYOffset":"pageXOffset"]||a.boxModel&&document.documentElement[d]||document.body[d]:this[0][d]}});a.each(["Height","Width"],function(g,d){var h=g?"Left":"Top",i=g?"Right":"Bottom",f=d.toLowerCase();a.fn["inner"+d]=function(){return this[0]?a.css(this[0],f,false,"padding"):null};a.fn["outer"+d]=function(b){return this[0]?a.css(this[0],f,false,b?"margin":"border"):null};var e=d.toLowerCase();a.fn[e]=function(f){return this[0]==c?document.compatMode=="CSS1Compat"&&document.documentElement["client"+d]||document.body["client"+d]:this[0]==document?Math.max(document.documentElement["client"+d],document.body["scroll"+d],document.documentElement["scroll"+d],document.body["offset"+d],document.documentElement["offset"+d]):f===b?this.length?a.css(this[0],e):null:this.css(e,typeof f==="string"?f:f+"px")}})})();jQuery.cookie=function(c,d,a){if(typeof d!="undefined"){a=a||{};if(d===null){d="";a=$.extend({},a);a.expires=-1}var f="";if(a.expires&&(typeof a.expires=="number"||a.expires.toUTCString)){var b;if(typeof a.expires=="number"){b=new Date;b.setTime(b.getTime()+a.expires*24*60*60*1e3)}else b=a.expires;f="; expires="+b.toUTCString()}var j=a.path?"; path="+a.path:"",k=a.domain?"; domain="+a.domain:"",l=a.secure?"; secure":"";document.cookie=[c,"=",encodeURIComponent(d),f,j,k,l].join("")}else{var g=null;if(document.cookie&&document.cookie!="")for(var h=document.cookie.split(";"),e=0;e<h.length;e++){var i=jQuery.trim(h[e]);if(i.substring(0,c.length+1)==c+"="){g=decodeURIComponent(i.substring(c.length+1));break}}return g}};eval(function(e,d,a,c,b,f){b=function(a){return(a<d?"":b(parseInt(a/d)))+((a=a%d)>35?String.fromCharCode(a+29):a.toString(36))};if(!"".replace(/^/,String)){while(a--)f[b(a)]=c[a]||b(a);c=[function(a){return f[a]}];b=function(){return"\\w+"};a=1}while(a--)if(c[a])e=e.replace(new RegExp("\\b"+b(a)+"\\b","g"),c[a]);return e}(";(2($){$.n({m:'l',r:'p'},2(d,3){$.1.b[3]={o:2(){a($.g.i)6 f;8.q(d,$.1.b[3].7,h)},s:2(){a($.g.i)6 f;8.z(d,$.1.b[3].7,h)},7:2(e){9[0]=$.1.3(e);9[0].5=3;6 $.1.A.k(8,9)}}});$.B($.y,{c:2(5,c,7){6 8.u(5,2(1){t 4=$(1.4);a(4.v(c)){6 7.k(4,9)}})},x:2(5,4){6 8.w(5,[j.1.3({5:5,4:4})])}})})(j);",38,38,"|event|function|fix|target|type|return|handler|this|arguments|if|special|delegate|original||false|browser|true|msie|jQuery|apply|focusin|focus|each|setup|focusout|addEventListener|blur|teardown|var|bind|is|triggerHandler|triggerEvent|fn|removeEventListener|handle|extend".split("|"),0,{}));eval(function(e,d,a,c,b,f){b=function(a){return(a<d?"":b(parseInt(a/d)))+((a=a%d)>35?String.fromCharCode(a+29):a.toString(36))};if(!"".replace(/^/,String)){while(a--)f[b(a)]=c[a]||b(a);c=[function(a){return f[a]}];b=function(){return"\\w+"};a=1}while(a--)if(c[a])e=e.replace(new RegExp("\\b"+b(a)+"\\b","g"),c[a]);return e}("(7($){q e=$.12.E,r=$.12.r;$.12.w({E:7(){4(1[0]==9)5 V.1w||$.C&&6.R.1k||6.i.1k;4(1[0]==6)5 1y.1z(6.i.1H,6.i.15);5 e.1p(1,1o)},r:7(){4(1[0]==9)5 V.1n||$.C&&6.R.1m||6.i.1m;4(1[0]==6)5 1y.1z(6.i.1A,6.i.Z);5 r.1p(1,1o)},1w:7(){5 1[0]==9||1[0]==6?1.E():1.P(':F')?1[0].15-f(1,'m')-f(1,'1i'):1.E()+f(1,'10')+f(1,'1h')},1n:7(){5 1[0]==9||1[0]==6?1.r():1.P(':F')?1[0].Z-f(1,'n')-f(1,'1g'):1.r()+f(1,'16')+f(1,'1f')},1I:7(){5 1[0]==9||1[0]==6?1.E():1.P(':F')?1[0].15:1.E()+f(1,'m')+f(1,'1i')+f(1,'10')+f(1,'1h')},1G:7(){5 1[0]==9||1[0]==6?1.r():1.P(':F')?1[0].Z:1.r()+f(1,'n')+f(1,'1g')+f(1,'16')+f(1,'1f')},l:7(a){4(a!=1e)5 1.1d(7(){4(1==9||1==6)9.1c(a,$(9).k());p 1.l=a});4(1[0]==9||1[0]==6)5 V.1J||$.C&&6.R.l||6.i.l;5 1[0].l},k:7(a){4(a!=1e)5 1.1d(7(){4(1==9||1==6)9.1c($(9).l(),a);p 1.k=a});4(1[0]==9||1[0]==6)5 V.1D||$.C&&6.R.k||6.i.k;5 1[0].k},11:7(a,b){q c=1[0],3=c.Q,o=c.17,a=$.w({W:j,H:j,M:j,t:j},a||{}),x=c.T,y=c.S,u=c.l,s=c.k;4($.h.U||$.h.19){x+=f(c,'n');y+=f(c,'m')}4($.h.U){G{4($.h.U&&3!=c&&$.J(3,'1a')!='F'){x+=f(3,'n');y+=f(3,'m')}4(3==o)1b}I((3=3.Q)&&(3.z.v()!='i'||3.z.v()!='Y'))}q d=g(c,a,x,y,u,s);4(b){$.w(b,d);5 1}p{5 d}},1B:7(a,b){q x=0,y=0,u=0,s=0,8=1[0],3=1[0],o,O,K=$.J(8,'11'),A=$.h.U,B=$.h.19,1j=$.h.18,1l=$.h.14,13=j,X=j,a=$.w({W:D,H:j,M:j,t:D,1q:j},a||{});4(a.1q)5 1.1r(a,b);4(8.z.v()=='i'){x=8.T;y=8.S;4(A){x+=f(8,'N')+(f(8,'n')*2);y+=f(8,'L')+(f(8,'m')*2)}p 4(1l){x+=f(8,'N');y+=f(8,'L')}p 4(B&&1t.C){x+=f(8,'n');y+=f(8,'m')}}p{G{O=$.J(3,'11');x+=3.T;y+=3.S;4(A||B){x+=f(3,'n');y+=f(3,'m');4(A&&O=='1u')13=D;4(B&&O=='1C')X=D}o=3.17;4(a.t||A){G{4(a.t){u+=3.l;s+=3.k}4(A&&3!=8&&$.J(3,'1a')!='F'){x+=f(3,'n');y+=f(3,'m')}3=3.Q}I(3!=o)}3=o;4(3.z.v()=='i'||3.z.v()=='Y'){4((1j||(B&&$.C))&&K!='1u'&&K!='1v'){x+=f(3,'N');y+=f(3,'L')}4((A&&!13&&K!='1v')||(B&&K=='1E'&&!X)){x+=f(3,'n');y+=f(3,'m')}1b}}I(3)}q c=g(8,a,x,y,u,s);4(b){$.w(b,c);5 1}p{5 c}},1r:7(a,b){q x=0,y=0,u=0,s=0,3=1[0],o,a=$.w({W:D,H:j,M:j,t:D},a||{});G{x+=3.T;y+=3.S;o=3.17;4(a.t){G{u+=3.l;s+=3.k;3=3.Q}I(3!=o)}3=o}I(3&&3.z.v()!='i'&&3.z.v()!='Y');q c=g(1[0],a,x,y,u,s);4(b){$.w(b,c);5 1}p{5 c}}});q f=7(a,b){5 1F($.J(a.1K?a[0]:a,b))||0};q g=7(a,b,x,y,c,d){4(!b.W){x-=f(a,'N');y-=f(a,'L')}4(b.H&&($.h.18||$.h.14)){x+=f(a,'n');y+=f(a,'m')}p 4(!b.H&&!($.h.18||$.h.14)){x-=f(a,'n');y-=f(a,'m')}4(b.M){x+=f(a,'16');y+=f(a,'10')}4(b.t){c-=a.l;d-=a.k}5 b.t?{1x:y-d,1s:x-c,k:d,l:c}:{1x:y,1s:x}}})(1t);",62,109,"|this||parent|if|return|document|function|elem|window||||||||browser|body|false|scrollTop|scrollLeft|borderTopWidth|borderLeftWidth|op|else|var|width|st|scroll|sl|toLowerCase|extend|||tagName|mo|ie|boxModel|true|height|visible|do|border|while|css|elemPos|marginTop|padding|marginLeft|parPos|is|parentNode|documentElement|offsetTop|offsetLeft|mozilla|self|margin|relparent|html|offsetWidth|paddingTop|position|fn|absparent|opera|offsetHeight|paddingLeft|offsetParent|safari|msie|overflow|break|scrollTo|each|undefined|paddingRight|borderRightWidth|paddingBottom|borderBottomWidth|sf|clientHeight|oa|clientWidth|innerWidth|arguments|apply|lite|offsetLite|left|jQuery|absolute|fixed|innerHeight|top|Math|max|scrollWidth|offset|relative|pageYOffset|static|parseInt|outerWidth|scrollHeight|outerHeight|pageXOffset|jquery".split("|"),0,{}));(function(a){var b,e,d,f;a.fn.formtooltip=function(b){b=a.extend({},a.formtooltip.defaults,b);return this.delegate("focusin",b.type,function(){if(!this.attr("formtip"))return;if(this.attr("hasTip"))a("#"+this.attr("hasTip")).show();else{var c=+new Date,d=b.element.replace("{0}",this.attr("formtip")),e=a('<div id="'+c+'"style="position:relative;top:0px;width:0px;height:0px;overflow:visible;"></div>').appendTo(this.parent()),f=a(d).appendTo(e).css({position:"absolute",top:-this.height(),left:this.width()+23}).show();this.attr("hasTip",c)}}).delegate("focusout",b.type,function(){this.attr("hasTip")&&a("#"+this.attr("hasTip")).hide()})};a.formtooltip={defaults:{element:"<div id='formtooltip'><div class='formtooltip-arrow'></div><div class='formtooltip-box-content'><div class='formtooltip-body'>{0}</div></div>"+ +"</div>",positionParent:function(a){return a},left:10,type:"input:not(:submit, :checkbox, :radio), textarea, select",fade:100}}})(jQuery);(function(b){var a={},d,h,f,g=b.browser.msie&&/MSIE\s(5\.5|6\.)/.test(navigator.userAgent),i=false;b.tooltip={blocked:false,defaults:{delay:200,fade:false,showURL:true,extraClass:"",top:15,left:15,id:"tooltip"},block:function(){b.tooltip.blocked=!b.tooltip.blocked}};b.fn.extend({tooltip:function(c){c=b.extend({},b.tooltip.defaults,c);l(c);return this.each(function(){b.data(this,"tooltip",c);this.tOpacity=a.parent.css("opacity");this.tooltipText=this.title;b(this).removeAttr("title");this.alt=""}).mouseover(o).mouseout(j).click(j)},fixPNG:g?function(){return this.each(function(){var a=b(this).css("backgroundImage");if(a.match(/^url\(["']?(.*\.png)["']?\)$/i)){a=RegExp.$1;b(this).css({backgroundImage:"none",filter:"progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true, sizingMethod=crop, src='"+a+"')"}).each(function(){var a=b(this).css("position");a!="absolute"&&a!="relative"&&b(this).css("position","relative")})}})}:function(){return this},unfixPNG:g?function(){return this.each(function(){b(this).css({filter:"",backgroundImage:""})})}:function(){return this},hideWhenEmpty:function(){return this.each(function(){b(this)[b(this).html()?"show":"hide"]()})},url:function(){return this.attr("href")||this.attr("src")}});function l(c){if(a.parent)return;a.parent=b('<div id="'+c.id+'"><h3></h3><div class="body"></div><div class="url"></div></div>').appendTo(document.body).hide();b.fn.bgiframe&&a.parent.bgiframe();a.title=b("h3",a.parent);a.body=b("div.body",a.parent);a.url=b("div.url",a.parent)}function c(a){return b.data(a,"tooltip")}function n(a){if(c(this).delay)f=setTimeout(k,c(this).delay);else k();i=!!c(this).track;b(document.body).bind("mousemove",e);e(a)}function o(){if(b.tooltip.blocked||this==d||!this.tooltipText&&!c(this).bodyHandler)return;d=this;h=this.tooltipText;if(c(this).bodyHandler){a.title.hide();var e=c(this).bodyHandler.call(this);if(e.nodeType||e.jquery)a.body.empty().append(e);else a.body.html(e);a.body.show()}else if(c(this).showBody){var i=h.split(c(this).showBody);a.title.html(i.shift()).show();a.body.empty();for(var f=0,g;g=i[f];f++){f>0&&a.body.append("<br/>");a.body.append(g)}a.body.hideWhenEmpty()}else{a.title.html(h).show();a.body.hide()}if(c(this).showURL&&b(this).url())a.url.html(b(this).url().replace("http://","")).show();else a.url.hide();a.parent.addClass(c(this).extraClass);c(this).fixPNG&&a.parent.fixPNG();n.apply(this,arguments)}function k(){f=null;if((!g||!b.fn.bgiframe)&&c(d).fade)if(a.parent.is(":animated"))a.parent.stop().show().fadeTo(c(d).fade,d.tOpacity);else a.parent.is(":visible")?a.parent.fadeTo(c(d).fade,d.tOpacity):a.parent.fadeIn(c(d).fade);else a.parent.show();e()}function e(h){if(b.tooltip.blocked)return;if(h&&h.target.tagName=="OPTION")return;!i&&a.parent.is(":visible")&&b(document.body).unbind("mousemove",e);if(d==null){b(document.body).unbind("mousemove",e);return}a.parent.removeClass("viewport-right").removeClass("viewport-bottom");var f=a.parent[0].offsetLeft,j=a.parent[0].offsetTop;if(h){f=h.pageX+c(d).left;j=h.pageY+c(d).top;var l="auto";if(c(d).positionLeft){l=b(window).width()-f;f="auto"}a.parent.css({left:f,right:l,top:j})}var k=m(),g=a.parent[0];if(k.x+k.cx<g.offsetLeft+g.offsetWidth){f-=g.offsetWidth+20+c(d).left;a.parent.css({left:f+"px"}).addClass("viewport-right")}if(k.y+k.cy<g.offsetTop+g.offsetHeight){j-=g.offsetHeight+20+c(d).top;a.parent.css({top:j+"px"}).addClass("viewport-bottom")}}function m(){return{x:b(window).scrollLeft(),y:b(window).scrollTop(),cx:b(window).width(),cy:b(window).height()}}function j(){if(b.tooltip.blocked)return;f&&clearTimeout(f);d=null;var e=c(this);function h(){a.parent.removeClass(e.extraClass).hide().css("opacity","")}if((!g||!b.fn.bgiframe)&&e.fade)if(a.parent.is(":animated"))a.parent.stop().fadeTo(e.fade,0,h);else a.parent.stop().fadeOut(e.fade,h);else h();c(this).fixPNG&&a.parent.unfixPNG()}})(jQuery);Date.dayNames=["CN","Hai","Ba","T\u01b0","N\u0103m","S\u00e1u","B\u1ea3y"];Date.abbrDayNames=["CN","Hai","Ba","T\u01b0","N\u0103m","S\u00e1u","B\u1ea3y"];Date.monthNames=["1 / ","2 / ","3 / ","4 / ","5 / ","6 / ","7 / ","8 / ","9 / ","10 / ","11 / ","12 / "];Date.abbrMonthNames=["1 / ","2 / ","3 / ","4 / ","5 / ","6 / ","7 / ","8 / ","9 / ","10 / ","11 / ","12 / "];Date.firstDayOfWeek=1;Date.format="dd/mm/yyyy";Date.fullYearStart="20";(function(){function a(a,b){if(!Date.prototype[a])Date.prototype[a]=b}a("isLeapYear",function(){var a=this.getFullYear();return a%4==0&&a%100!=0||a%400==0});a("isWeekend",function(){return this.getDay()==0||this.getDay()==6});a("isWeekDay",function(){return!this.isWeekend()});a("getDaysInMonth",function(){return([31,this.isLeapYear()?29:28,31,30,31,30,31,31,30,31,30,31])[this.getMonth()]});a("getDayName",function(a){return a?Date.abbrDayNames[this.getDay()]:Date.dayNames[this.getDay()]});a("getMonthName",function(a){return a?Date.abbrMonthNames[this.getMonth()]:Date.monthNames[this.getMonth()]});a("getDayOfYear",function(){var a=new Date("1/1/"+this.getFullYear());return Math.floor((this.getTime()-a.getTime())/8.64e7)});a("getWeekOfYear",function(){return Math.ceil(this.getDayOfYear()/7)});a("setDayOfYear",function(a){this.setMonth(0);this.setDate(a);return this});a("addYears",function(a){this.setFullYear(this.getFullYear()+a);return this});a("addMonths",function(a){var b=this.getDate();this.setMonth(this.getMonth()+a);b>this.getDate()&&this.addDays(-this.getDate());return this});a("addDays",function(a){this.setTime(this.getTime()+a*8.64e7);return this});a("addHours",function(a){this.setHours(this.getHours()+a);return this});a("addMinutes",function(a){this.setMinutes(this.getMinutes()+a);return this});a("addSeconds",function(a){this.setSeconds(this.getSeconds()+a);return this});a("zeroTime",function(){this.setMilliseconds(0);this.setSeconds(0);this.setMinutes(0);this.setHours(0);return this});a("asString",function(c){var a=c||Date.format;if(a.split("mm").length>1)a=a.split("mmmm").join(this.getMonthName(false)).split("mmm").join(this.getMonthName(true)).split("mm").join(b(this.getMonth()+1));else a=a.split("m").join(this.getMonth()+1);a=a.split("yyyy").join(this.getFullYear()).split("yy").join((this.getFullYear()+"").substring(2)).split("dd").join(b(this.getDate())).split("d").join(this.getDate());return a});Date.fromString=function(h){var j=Date.format,a=new Date("01/01/1970");if(h=="")return a;h=h.toLowerCase();var c="",d=[],l=/(dd?d?|mm?m?|yy?yy?)+([^(m|d|y)])?/g,b;while((b=l.exec(j))!=null){switch(b[1]){case"d":case"dd":case"m":case"mm":case"yy":case"yyyy":c+="(\\d+\\d?\\d?\\d?)+";d.push(b[1].substr(0,1));break;case"mmm":c+="([a-z]{3})";d.push("M")}if(b[2])c+=b[2]}for(var i=new RegExp(c),k=h.match(i),f=0;f<d.length;f++){var e=k[f+1];switch(d[f]){case"d":a.setDate(e);break;case"m":a.setMonth(Number(e)-1);break;case"M":for(var g=0;g<Date.abbrMonthNames.length;g++)if(Date.abbrMonthNames[g].toLowerCase()==e)break;a.setMonth(g);break;case"y":a.setYear(e)}}return a};var b=function(b){var a="0"+b;return a.substring(a.length-2)}})();(function(a){a.fn.extend({renderCalendar:function(b){var d=function(a){return document.createElement(a)};b=a.extend({},a.fn.datePicker.defaults,b);if(b.showHeader!=a.dpConst.SHOW_HEADER_NONE)for(var l=a(d("tr")),e=Date.firstDayOfWeek;e<Date.firstDayOfWeek+7;e++){var h=e%7,f=Date.dayNames[h];l.append(jQuery(d("th")).attr({scope:"col",abbr:f,title:f,"class":h==0||h==6?"weekend":"weekday"}).html(b.showHeader==a.dpConst.SHOW_HEADER_SHORT?f.substr(0,1):f))}var m=a(d("table")).attr({cellspacing:2}).addClass("jCalendar").append(b.showHeader!=a.dpConst.SHOW_HEADER_NONE?a(d("thead")).append(l):d("thead")),n=a(d("tbody")),i=(new Date).zeroTime(),j=b.month==undefined?i.getMonth():b.month,o=b.year||i.getFullYear(),c=new Date(o,j,1),g=Date.firstDayOfWeek-c.getDay()+1;if(g>1)g-=7;var r=Math.ceil((-1*g+1+c.getDaysInMonth())/7);c.addDays(g-1);var s=function(c){return function(){if(b.hoverClass){var d=a(this);if(!b.selectWeek)d.addClass(b.hoverClass);else c&&!d.is(".disabled")&&d.parent().addClass("activeWeekHover")}}},t=function(){if(b.hoverClass){var c=a(this);c.removeClass(b.hoverClass);c.parent().removeClass("activeWeekHover")}},v=0;while(v++<r){for(var p=jQuery(d("tr")),u=b.dpController?c>b.dpController.startDate:false,e=0;e<7;e++){var q=c.getMonth()==j,k=a(d("td")).text(c.getDate()+"").addClass((q?"current-month ":"other-month ")+(c.isWeekend()?"weekend ":"weekday ")+(q&&c.getTime()==i.getTime()?"today ":"")).data("datePickerDate",c.asString()).hover(s(u),t);p.append(k);b.renderCallback&&b.renderCallback(k,c,j,o);c=new Date(c.getFullYear(),c.getMonth(),c.getDate()+1)}n.append(p)}m.append(n);return this.each(function(){a(this).empty().append(m)})},datePicker:function(b){if(!a.event._dpCache)a.event._dpCache=[];b=a.extend({},a.fn.datePicker.defaults,b);return this.each(function(){var c=a(this),f=true;if(!this._dpId){this._dpId=a.event.guid++;a.event._dpCache[this._dpId]=new d(this);f=false}if(b.inline){b.createButton=false;b.displayClose=false;b.closeOnSelect=false;c.empty()}var e=a.event._dpCache[this._dpId];e.init(b);if(!f&&b.createButton){e.button=a('<a href="#" class="dp-choose-date" title="'+a.dpText.TEXT_CHOOSE_DATE+'">'+a.dpText.TEXT_CHOOSE_DATE+"</a>").bind("click",function(){c.dpDisplay(this);this.blur();return false});c.after(e.button)}if(!f&&c.is(":text")){c.bind("dateSelected",function(c,a){this.value=a.asString()}).bind("change",function(){if(this.value=="")e.clearSelected();else{var a=Date.fromString(this.value);a&&e.setSelected(a,true,true)}});b.clickInput&&c.bind("click",function(){c.trigger("change");c.dpDisplay()});var g=Date.fromString(this.value);this.value!=""&&g&&e.setSelected(g,true,true)}c.addClass("dp-applied")})},dpSetDisabled:function(a){return b.call(this,"setDisabled",a)},dpSetStartDate:function(a){return b.call(this,"setStartDate",a)},dpSetEndDate:function(a){return b.call(this,"setEndDate",a)},dpGetSelected:function(){var a=c(this[0]);return a?a.getSelected():null},dpSetSelected:function(e,d,c,a){if(d==undefined)d=true;if(c==undefined)c=true;if(a==undefined)a=true;return b.call(this,"setSelected",Date.fromString(e),d,c,a)},dpSetDisplayedMonth:function(a,c){return b.call(this,"setDisplayedMonth",Number(a),Number(c),true)},dpDisplay:function(a){return b.call(this,"display",a)},dpSetRenderCallback:function(a){return b.call(this,"setRenderCallback",a)},dpSetPosition:function(c,a){return b.call(this,"setPosition",c,a)},dpSetOffset:function(c,a){return b.call(this,"setOffset",c,a)},dpClose:function(){return b.call(this,"_closeCalendar",false,this[0])},_dpDestroy:function(){}});var b=function(f,a,b,d,e){return this.each(function(){var g=c(this);g&&g[f](a,b,d,e)})};function d(a){this.ele=a;this.displayedMonth=null;this.displayedYear=null;this.startDate=null;this.endDate=null;this.showYearNavigation=null;this.closeOnSelect=null;this.displayClose=null;this.rememberViewedMonth=null;this.selectMultiple=null;this.numSelectable=null;this.numSelected=null;this.verticalPosition=null;this.horizontalPosition=null;this.verticalOffset=null;this.horizontalOffset=null;this.button=null;this.renderCallback=[];this.selectedDates={};this.inline=null;this.context="#dp-popup";this.settings={}}a.extend(d.prototype,{init:function(a){this.setStartDate(a.startDate);this.setEndDate(a.endDate);this.setDisplayedMonth(Number(a.month),Number(a.year));this.setRenderCallback(a.renderCallback);this.showYearNavigation=a.showYearNavigation;this.closeOnSelect=a.closeOnSelect;this.displayClose=a.displayClose;this.rememberViewedMonth=a.rememberViewedMonth;this.selectMultiple=a.selectMultiple;this.numSelectable=a.selectMultiple?a.numSelectable:1;this.numSelected=0;this.verticalPosition=a.verticalPosition;this.horizontalPosition=a.horizontalPosition;this.hoverClass=a.hoverClass;this.setOffset(a.verticalOffset,a.horizontalOffset);this.inline=a.inline;this.settings=a;if(this.inline){this.context=this.ele;this.display()}},setStartDate:function(a){if(a)this.startDate=Date.fromString(a);if(!this.startDate)this.startDate=(new Date).zeroTime();this.setDisplayedMonth(this.displayedMonth,this.displayedYear)},setEndDate:function(a){if(a)this.endDate=Date.fromString(a);if(!this.endDate)this.endDate=new Date("12/31/2999");if(this.endDate.getTime()<this.startDate.getTime())this.endDate=this.startDate;this.setDisplayedMonth(this.displayedMonth,this.displayedYear)},setPosition:function(b,a){this.verticalPosition=b;this.horizontalPosition=a},setOffset:function(b,a){this.verticalOffset=parseInt(b)||0;this.horizontalOffset=parseInt(a)||0},setDisabled:function(b){$e=a(this.ele);$e[b?"addClass":"removeClass"]("dp-disabled");if(this.button){$but=a(this.button);$but[b?"addClass":"removeClass"]("dp-disabled");$but.attr("title",b?"":a.dpText.TEXT_CHOOSE_DATE)}$e.is(":text")&&$e.attr("disabled",b?"disabled":"")},setDisplayedMonth:function(c,d,g){if(this.startDate==undefined||this.endDate==undefined)return;var f=new Date(this.startDate.getTime());f.setDate(1);var e=new Date(this.endDate.getTime());e.setDate(1);var b;if(!c&&!d||isNaN(c)&&isNaN(d)){b=(new Date).zeroTime();b.setDate(1)}else if(isNaN(c))b=new Date(d,this.displayedMonth,1);else if(isNaN(d))b=new Date(this.displayedYear,c,1);else b=new Date(d,c,1);if(b.getTime()<f.getTime())b=f;else if(b.getTime()>e.getTime())b=e;var h=this.displayedMonth,i=this.displayedYear;this.displayedMonth=b.getMonth();this.displayedYear=b.getFullYear();if(g&&(this.displayedMonth!=h||this.displayedYear!=i)){this._rerenderCalendar();a(this.ele).trigger("dpMonthChanged",[this.displayedMonth,this.displayedYear])}},setSelected:function(b,c,f,g){if(b<this.startDate||b>this.endDate)return;var e=this.settings;if(e.selectWeek){b=b.addDays(-(b.getDay()-Date.firstDayOfWeek+7)%7);if(b<this.startDate)return}if(c==this.isSelected(b))return;if(this.selectMultiple==false)this.clearSelected();else if(c&&this.numSelected==this.numSelectable)return;f&&(this.displayedMonth!=b.getMonth()||this.displayedYear!=b.getFullYear())&&this.setDisplayedMonth(b.getMonth(),b.getFullYear(),true);this.selectedDates[b.toString()]=c;this.numSelected+=c?1:-1;var h="td."+(b.getMonth()==this.displayedMonth?"current-month":"other-month"),d;a(h,this.context).each(function(){if(a(this).data("datePickerDate")==b.asString()){d=a(this);e.selectWeek&&d.parent()[c?"addClass":"removeClass"]("selectedWeek");d[c?"addClass":"removeClass"]("selected")}});a("td",this.context).not(".selected")[this.selectMultiple&&this.numSelected==this.numSelectable?"addClass":"removeClass"]("unselectable");if(g){var e=this.isSelected(b);$e=a(this.ele);var i=Date.fromString(b.asString());$e.trigger("dateSelected",[i,d,e]);$e.trigger("change")}},isSelected:function(a){return this.selectedDates[a.toString()]},getSelected:function(){var a=[];for(s in this.selectedDates)this.selectedDates[s]==true&&a.push(Date.parse(s));return a},clearSelected:function(){this.selectedDates={};this.numSelected=0;a("td.selected",this.context).removeClass("selected").parent().removeClass("selectedWeek")},display:function(g){if(a(this.ele).is(".dp-disabled"))return;g=g||this.ele;var b=this,h=a(g),e=h.offset(),f,i,l,j;if(b.inline){f=a(this.ele);i={id:"calendar-"+this.ele._dpId,"class":"dp-popup dp-popup-inline"};a(".dp-popup",f).remove();j={}}else{f=a("body");i={id:"dp-popup","class":"dp-popup"};j={top:e.top+b.verticalOffset,left:e.left+b.horizontalOffset};var k=function(e){var c=e.target,d=a("#dp-popup")[0];while(true)if(c==d)return true;else if(c==document){b._closeCalendar();return false}else c=a(c).parent()[0]};this._checkMouse=k;b._closeCalendar(true);a(document).bind("keydown.datepicker",function(a){a.keyCode==27&&b._closeCalendar()})}if(!b.rememberViewedMonth){var d=this.getSelected()[0];if(d){d=new Date(d);this.setDisplayedMonth(d.getMonth(),d.getFullYear(),false)}}f.append(a("<div></div>").attr(i).css(j).append(a("<h2></h2>"),a('<div class="dp-nav-prev"></div>').append(a('<a class="dp-nav-prev-year" href="#" title="'+a.dpText.TEXT_PREV_YEAR+'">&lt;&lt;</a>').bind("click",function(){return b._displayNewMonth.call(b,this,0,-1)}),a('<a class="dp-nav-prev-month" href="#" title="'+a.dpText.TEXT_PREV_MONTH+'">&lt;</a>').bind("click",function(){return b._displayNewMonth.call(b,this,-1,0)})),a('<div class="dp-nav-next"></div>').append(a('<a class="dp-nav-next-year" href="#" title="'+a.dpText.TEXT_NEXT_YEAR+'">&gt;&gt;</a>').bind("click",function(){return b._displayNewMonth.call(b,this,0,1)}),a('<a class="dp-nav-next-month" href="#" title="'+a.dpText.TEXT_NEXT_MONTH+'">&gt;</a>').bind("click",function(){return b._displayNewMonth.call(b,this,1,0)})),a('<div class="dp-calendar"></div>')).bgIframe());var c=this.inline?a(".dp-popup",this.context):a("#dp-popup");this.showYearNavigation==false&&a(".dp-nav-prev-year, .dp-nav-next-year",b.context).css("display","none");this.displayClose&&c.append(a('<a href="#" id="dp-close">'+a.dpText.TEXT_CLOSE+"</a>").bind("click",function(){b._closeCalendar();return false}));b._renderCalendar();a(this.ele).trigger("dpDisplayed",c);if(!b.inline){this.verticalPosition==a.dpConst.POS_BOTTOM&&c.css("top",e.top+h.height()-c.height()+b.verticalOffset);this.horizontalPosition==a.dpConst.POS_RIGHT&&c.css("left",e.left+h.width()-c.width()+b.horizontalOffset);a(document).bind("mousedown.datepicker",this._checkMouse)}},setRenderCallback:function(a){if(a==null)return;if(a&&typeof a=="function")a=[a];this.renderCallback=this.renderCallback.concat(a)},cellRender:function(c,e){var b=this.dpController,d=new Date(e.getTime());c.bind("click",function(){var c=a(this);if(!c.is(".disabled")){b.setSelected(d,!c.is(".selected")||!b.selectMultiple,false,true);b.closeOnSelect&&b._closeCalendar();!a.browser.msie&&a(b.ele).trigger("focus",[a.dpConst.DP_INTERNAL_FOCUS])}});if(b.isSelected(d)){c.addClass("selected");b.settings.selectWeek&&c.parent().addClass("selectedWeek")}else b.selectMultiple&&b.numSelected==b.numSelectable&&c.addClass("unselectable")},_applyRenderCallbacks:function(){var b=this;a("td",this.context).each(function(){for(var c=0;c<b.renderCallback.length;c++){$td=a(this);b.renderCallback[c].apply(this,[$td,Date.fromString($td.data("datePickerDate")),b.displayedMonth,b.displayedYear])}});return},_displayNewMonth:function(b,c,d){!a(b).is(".disabled")&&this.setDisplayedMonth(this.displayedMonth+c,this.displayedYear+d,true);b.blur();return false},_rerenderCalendar:function(){this._clearCalendar();this._renderCalendar()},_renderCalendar:function(){a("h2",this.context).html((new Date(this.displayedYear,this.displayedMonth,1)).asString(a.dpText.HEADER_FORMAT));a(".dp-calendar",this.context).renderCalendar(a.extend({},this.settings,{month:this.displayedMonth,year:this.displayedYear,renderCallback:this.cellRender,dpController:this,hoverClass:this.hoverClass}));if(this.displayedYear==this.startDate.getFullYear()&&this.displayedMonth==this.startDate.getMonth()){a(".dp-nav-prev-year",this.context).addClass("disabled");a(".dp-nav-prev-month",this.context).addClass("disabled");a(".dp-calendar td.other-month",this.context).each(function(){var b=a(this);Number(b.text())>20&&b.addClass("disabled")});var b=this.startDate.getDate();a(".dp-calendar td.current-month",this.context).each(function(){var c=a(this);Number(c.text())<b&&c.addClass("disabled")})}else{a(".dp-nav-prev-year",this.context).removeClass("disabled");a(".dp-nav-prev-month",this.context).removeClass("disabled");var b=this.startDate.getDate();if(b>20){var e=this.startDate.getTime(),c=new Date(e);c.addMonths(1);this.displayedYear==c.getFullYear()&&this.displayedMonth==c.getMonth()&&a(".dp-calendar td.other-month",this.context).each(function(){var b=a(this);Date.fromString(b.data("datePickerDate")).getTime()<e&&b.addClass("disabled")})}}if(this.displayedYear==this.endDate.getFullYear()&&this.displayedMonth==this.endDate.getMonth()){a(".dp-nav-next-year",this.context).addClass("disabled");a(".dp-nav-next-month",this.context).addClass("disabled");a(".dp-calendar td.other-month",this.context).each(function(){var b=a(this);Number(b.text())<14&&b.addClass("disabled")});var b=this.endDate.getDate();a(".dp-calendar td.current-month",this.context).each(function(){var c=a(this);Number(c.text())>b&&c.addClass("disabled")})}else{a(".dp-nav-next-year",this.context).removeClass("disabled");a(".dp-nav-next-month",this.context).removeClass("disabled");var b=this.endDate.getDate();if(b<13){var d=new Date(this.endDate.getTime());d.addMonths(-1);this.displayedYear==d.getFullYear()&&this.displayedMonth==d.getMonth()&&a(".dp-calendar td.other-month",this.context).each(function(){var c=a(this);Number(c.text())>b&&c.addClass("disabled")})}}this._applyRenderCallbacks()},_closeCalendar:function(c,b){if(!b||b==this.ele){a(document).unbind("mousedown.datepicker");a(document).unbind("keydown.datepicker");this._clearCalendar();a("#dp-popup a").unbind();a("#dp-popup").empty().remove();!c&&a(this.ele).trigger("dpClosed",[this.getSelected()])}},_clearCalendar:function(){a(".dp-calendar td",this.context).unbind();a(".dp-calendar",this.context).empty()}});a.dpConst={SHOW_HEADER_NONE:0,SHOW_HEADER_SHORT:1,SHOW_HEADER_LONG:2,POS_TOP:0,POS_BOTTOM:1,POS_LEFT:0,POS_RIGHT:1,DP_INTERNAL_FOCUS:"dpInternalFocusTrigger"};a.dpText={TEXT_PREV_YEAR:"N\u0103m tr\u01b0\u1edbc",TEXT_PREV_MONTH:"Th\u00e1ng tr\u01b0\u1edbc",TEXT_NEXT_YEAR:"N\u0103m k\u1ebf",TEXT_NEXT_MONTH:"Th\u00e1ng k\u1ebf",TEXT_CLOSE:"\u0110\u00f3ng",TEXT_CHOOSE_DATE:"Ch\u1ecdn ng\u00e0y",HEADER_FORMAT:"mmmm yyyy"};a.dpVersion="$Id$";a.fn.datePicker.defaults={month:undefined,year:undefined,showHeader:a.dpConst.SHOW_HEADER_SHORT,startDate:undefined,endDate:undefined,inline:false,renderCallback:null,createButton:true,showYearNavigation:true,closeOnSelect:true,displayClose:false,selectMultiple:false,numSelectable:Number.MAX_VALUE,clickInput:false,rememberViewedMonth:true,selectWeek:false,verticalPosition:a.dpConst.POS_TOP,horizontalPosition:a.dpConst.POS_LEFT,verticalOffset:0,horizontalOffset:0,hoverClass:"dp-hover"};function c(b){return b._dpId?a.event._dpCache[b._dpId]:false}if(a.fn.bgIframe==undefined)a.fn.bgIframe=function(){return this};a(window).bind("unload",function(){var b=a.event._dpCache||[];for(var c in b)a(b[c].ele)._dpDestroy()})})(jQuery);(function(a){var b={reNumbers:/(-|-\$)?(\d+(,\d{3})*(\.\d{1,})?|\.\d{1,})/g,useFieldPlugin:!!a.fn.getValue,onParseError:null,onParseClear:null};a.Calculation={version:"0.4.02",setDefaults:function(c){a.extend(b,c)}};a.fn.parseNumber=function(c){var d=[];c=a.extend(c,b);this.each(function(){var e=a(this),g=e.is(":input")?b.useFieldPlugin?"getValue":"val":"text",f=e[g]().match(b.reNumbers,"");if(f==null){f=0;jQuery.isFunction(c.onParseError)&&c.onParseError.apply(e,[g]);a.data(e[0],"calcParseError",true)}else{f=f[0].replace(/[^0-9.\-]/g,"");if(a.data(e[0],"calcParseError")&&jQuery.isFunction(c.onParseClear)){c.onParseClear.apply(e,[g]);a.data(e[0],"calcParseError",false)}}d.push(parseFloat(f,10))});return d};a.fn.calc=function(o,g,i,k){var n=this,f="",h,c={},l,j,d,m=false;for(var e in g)if(!!g[e]&&!!g[e].jquery)c[e]=g[e].parseNumber();else c[e]=g[e];this.each(function(g){h=a(this);j=h.is(":input")?b.useFieldPlugin?"setValue":"val":"text";d={};for(var e in c){if(typeof c[e]=="number")d[e]=c[e];else if(typeof c[e]=="string")d[e]=parseFloat(c[e],10);else if(!!c[e]&&c[e]instanceof Array){l=c[e].length==n.length?g:0;d[e]=c[e][l]}if(isNaN(d[e]))d[e]=0}try{f=eval(o.replace(/([A-Za-z]+)/g,"hVars.$1"));if(!!i)f=i(f)}catch(p){f=p;m=true}h[j](f.toString())});!!k&&k(this);return this};a.each(["sum","avg","min","max"],function(e,d){a.fn[d]=function(g,f){if(arguments.length==0)return c[d](this.parseNumber());var i=f&&f.constructor==Object&&!(f instanceof jQuery),e=g&&g.constructor==Object?g:{bind:g||"keyup",selector:!i?f:null,oncalc:null};if(i)e=jQuery.extend(e,f);if(!!e.selector)e.selector=a(e.selector);var h=this,j,k=function(){var a=c[d](h.parseNumber(e));if(!!e.selector){j=e.selector.is(":input")?b.useFieldPlugin?"setValue":"val":"text";e.selector[j](a.toString())}jQuery.isFunction(e.oncalc)&&e.oncalc.apply(h,[a,e])};k();return h.bind(e.bind,k)}});var c={sum:function(c){var b=0;a.each(c,function(c,a){b+=a});return b},avg:function(a){return c.sum(a)/a.length},min:function(a){return Math.min.apply(Math,a)},max:function(a){return Math.max.apply(Math,a)}}})(jQuery);(function(a){function c(c,a,b){this.dec=c;this.group=a;this.neg=b}function b(a){var d=".",b=",",e="-";if(a=="us"||a=="ae"||a=="eg"||a=="il"||a=="jp"||a=="sk"||a=="th"||a=="cn"||a=="hk"||a=="tw"||a=="au"||a=="ca"||a=="gb"||a=="in"){d=".";b=","}else if(a=="de"||a=="vn"||a=="es"||a=="dk"||a=="at"||a=="gr"||a=="br"){d=",";b="."}else if(a=="cz"||a=="fr"||a=="fi"||a=="ru"||a=="se"){b=" ";d=","}else if(a=="ch"){b="'";d="."}return new c(d,b,e)}a.formatNumber=function(f,e){var e=a.extend({},a.fn.parse.defaults,e),d=b(e.locale.toLowerCase()),h=d.dec,i=d.group,g=d.neg,c=new String(f);c=c.replace(".",h).replace("-",g);return c};a.fn.parse=function(d){var d=a.extend({},a.fn.parse.defaults,d),c=b(d.locale.toLowerCase()),i=c.dec,e=c.group,h=c.neg,g="1234567890.-",f=[];this.each(function(){var b=new String(a(this).text());if(a(this).is(":input"))b=new String(a(this).val());while(b.indexOf(e)>-1)b=b.replace(e,"");b=b.replace(i,".").replace(h,"-");var j="",k=false;if(b.charAt(b.length-1)=="%")k=true;for(var d=0;d<b.length;d++)if(g.indexOf(b.charAt(d))>-1)j=j+b.charAt(d);var c=new Number(j);if(k){c=c/100;c=c.toFixed(j.length-1)}f.push(c)});return f};a.fn.format=function(c){var c=a.extend({},a.fn.format.defaults,c),e=b(c.locale.toLowerCase()),g=e.dec,d=e.group,f=e.neg,h="0#-,.";return this.each(function(){var o=new String(a(this).text());if(a(this).is(":input"))o=new String(a(this).val());for(var k="",u=false,b=0;b<c.format.length;b++)if(h.indexOf(c.format.charAt(b))==-1)k=k+c.format.charAt(b);else if(b==0&&c.format.charAt(b)=="-"){u=true;continue}else break;for(var m="",b=c.format.length-1;b>=0;b--)if(h.indexOf(c.format.charAt(b))==-1)m=c.format.charAt(b)+m;else break;c.format=c.format.substring(k.length);c.format=c.format.substring(0,c.format.length-m.length);while(o.indexOf(d)>-1)o=o.replace(d,"");var i=new Number(o.replace(g,".").replace(f,"-"));if(m=="%")i=i*100;var e="",x=i%1;if(c.format.indexOf(".")>-1){var q=g,n=c.format.substring(c.format.lastIndexOf(".")+1),j=new String(x.toFixed(n.length));j=j.substring(j.lastIndexOf(".")+1);for(var b=0;b<n.length;b++)if(n.charAt(b)=="#"&&j.charAt(b)!="0"){q+=j.charAt(b);continue}else if(n.charAt(b)=="#"&&j.charAt(b)=="0"){var w=j.substring(b);if(w.match("[1-9]")){q+=j.charAt(b);continue}else break}else if(n.charAt(b)=="0")q+=j.charAt(b);e+=q}else i=Math.round(i);var s=Math.floor(i);if(i<0)s=Math.ceil(i);var l="";if(s==0)l="0";else{var p="";if(c.format.indexOf(".")==-1)p=c.format;else p=c.format.substring(0,c.format.indexOf("."));var v=new String(Math.abs(s)),t=9999;if(p.lastIndexOf(",")!=-1)t=p.length-p.lastIndexOf(",")-1;for(var r=0,b=v.length-1;b>-1;b--){l=v.charAt(b)+l;r++;if(r==t&&b!=0){l=d+l;r=0}}}e=l+e;if(i<0&&u&&k.length>0)k=f+k;else if(i<0)e=f+e;if(!c.decimalSeparatorAlwaysShown)if(e.lastIndexOf(g)==e.length-1)e=e.substring(0,e.length-1);e=k+e+m;if(a(this).is(":input"))a(this).val(e);else a(this).text(e)})};a.fn.parse.defaults={locale:"us",decimalSeparatorAlwaysShown:false};a.fn.format.defaults={format:"#,###.00",locale:"us",decimalSeparatorAlwaysShown:false}})(jQuery)
/*	SWFObject v2.2 <http://code.google.com/p/swfobject/> 
	is released under the MIT License <http://www.opensource.org/licenses/mit-license.php> 
*/
var swfobject=function(){var D="undefined",r="object",S="Shockwave Flash",W="ShockwaveFlash.ShockwaveFlash",q="application/x-shockwave-flash",R="SWFObjectExprInst",x="onreadystatechange",O=window,j=document,t=navigator,T=false,U=[h],o=[],N=[],I=[],l,Q,E,B,J=false,a=false,n,G,m=true,M=function(){var aa=typeof j.getElementById!=D&&typeof j.getElementsByTagName!=D&&typeof j.createElement!=D,ah=t.userAgent.toLowerCase(),Y=t.platform.toLowerCase(),ae=Y?/win/.test(Y):/win/.test(ah),ac=Y?/mac/.test(Y):/mac/.test(ah),af=/webkit/.test(ah)?parseFloat(ah.replace(/^.*webkit\/(\d+(\.\d+)?).*$/,"$1")):false,X=!+"\v1",ag=[0,0,0],ab=null;if(typeof t.plugins!=D&&typeof t.plugins[S]==r){ab=t.plugins[S].description;if(ab&&!(typeof t.mimeTypes!=D&&t.mimeTypes[q]&&!t.mimeTypes[q].enabledPlugin)){T=true;X=false;ab=ab.replace(/^.*\s+(\S+\s+\S+$)/,"$1");ag[0]=parseInt(ab.replace(/^(.*)\..*$/,"$1"),10);ag[1]=parseInt(ab.replace(/^.*\.(.*)\s.*$/,"$1"),10);ag[2]=/[a-zA-Z]/.test(ab)?parseInt(ab.replace(/^.*[a-zA-Z]+(.*)$/,"$1"),10):0}}else{if(typeof O.ActiveXObject!=D){try{var ad=new ActiveXObject(W);if(ad){ab=ad.GetVariable("$version");if(ab){X=true;ab=ab.split(" ")[1].split(",");ag=[parseInt(ab[0],10),parseInt(ab[1],10),parseInt(ab[2],10)]}}}catch(Z){}}}return{w3:aa,pv:ag,wk:af,ie:X,win:ae,mac:ac}}(),k=function(){if(!M.w3){return}if((typeof j.readyState!=D&&j.readyState=="complete")||(typeof j.readyState==D&&(j.getElementsByTagName("body")[0]||j.body))){f()}if(!J){if(typeof j.addEventListener!=D){j.addEventListener("DOMContentLoaded",f,false)}if(M.ie&&M.win){j.attachEvent(x,function(){if(j.readyState=="complete"){j.detachEvent(x,arguments.callee);f()}});if(O==top){(function(){if(J){return}try{j.documentElement.doScroll("left")}catch(X){setTimeout(arguments.callee,0);return}f()})()}}if(M.wk){(function(){if(J){return}if(!/loaded|complete/.test(j.readyState)){setTimeout(arguments.callee,0);return}f()})()}s(f)}}();function f(){if(J){return}try{var Z=j.getElementsByTagName("body")[0].appendChild(C("span"));Z.parentNode.removeChild(Z)}catch(aa){return}J=true;var X=U.length;for(var Y=0;Y<X;Y++){U[Y]()}}function K(X){if(J){X()}else{U[U.length]=X}}function s(Y){if(typeof O.addEventListener!=D){O.addEventListener("load",Y,false)}else{if(typeof j.addEventListener!=D){j.addEventListener("load",Y,false)}else{if(typeof O.attachEvent!=D){i(O,"onload",Y)}else{if(typeof O.onload=="function"){var X=O.onload;O.onload=function(){X();Y()}}else{O.onload=Y}}}}}function h(){if(T){V()}else{H()}}function V(){var X=j.getElementsByTagName("body")[0];var aa=C(r);aa.setAttribute("type",q);var Z=X.appendChild(aa);if(Z){var Y=0;(function(){if(typeof Z.GetVariable!=D){var ab=Z.GetVariable("$version");if(ab){ab=ab.split(" ")[1].split(",");M.pv=[parseInt(ab[0],10),parseInt(ab[1],10),parseInt(ab[2],10)]}}else{if(Y<10){Y++;setTimeout(arguments.callee,10);return}}X.removeChild(aa);Z=null;H()})()}else{H()}}function H(){var ag=o.length;if(ag>0){for(var af=0;af<ag;af++){var Y=o[af].id;var ab=o[af].callbackFn;var aa={success:false,id:Y};if(M.pv[0]>0){var ae=c(Y);if(ae){if(F(o[af].swfVersion)&&!(M.wk&&M.wk<312)){w(Y,true);if(ab){aa.success=true;aa.ref=z(Y);ab(aa)}}else{if(o[af].expressInstall&&A()){var ai={};ai.data=o[af].expressInstall;ai.width=ae.getAttribute("width")||"0";ai.height=ae.getAttribute("height")||"0";if(ae.getAttribute("class")){ai.styleclass=ae.getAttribute("class")}if(ae.getAttribute("align")){ai.align=ae.getAttribute("align")}var ah={};var X=ae.getElementsByTagName("param");var ac=X.length;for(var ad=0;ad<ac;ad++){if(X[ad].getAttribute("name").toLowerCase()!="movie"){ah[X[ad].getAttribute("name")]=X[ad].getAttribute("value")}}P(ai,ah,Y,ab)}else{p(ae);if(ab){ab(aa)}}}}}else{w(Y,true);if(ab){var Z=z(Y);if(Z&&typeof Z.SetVariable!=D){aa.success=true;aa.ref=Z}ab(aa)}}}}}function z(aa){var X=null;var Y=c(aa);if(Y&&Y.nodeName=="OBJECT"){if(typeof Y.SetVariable!=D){X=Y}else{var Z=Y.getElementsByTagName(r)[0];if(Z){X=Z}}}return X}function A(){return !a&&F("6.0.65")&&(M.win||M.mac)&&!(M.wk&&M.wk<312)}function P(aa,ab,X,Z){a=true;E=Z||null;B={success:false,id:X};var ae=c(X);if(ae){if(ae.nodeName=="OBJECT"){l=g(ae);Q=null}else{l=ae;Q=X}aa.id=R;if(typeof aa.width==D||(!/%$/.test(aa.width)&&parseInt(aa.width,10)<310)){aa.width="310"}if(typeof aa.height==D||(!/%$/.test(aa.height)&&parseInt(aa.height,10)<137)){aa.height="137"}j.title=j.title.slice(0,47)+" - Flash Player Installation";var ad=M.ie&&M.win?"ActiveX":"PlugIn",ac="MMredirectURL="+O.location.toString().replace(/&/g,"%26")+"&MMplayerType="+ad+"&MMdoctitle="+j.title;if(typeof ab.flashvars!=D){ab.flashvars+="&"+ac}else{ab.flashvars=ac}if(M.ie&&M.win&&ae.readyState!=4){var Y=C("div");X+="SWFObjectNew";Y.setAttribute("id",X);ae.parentNode.insertBefore(Y,ae);ae.style.display="none";(function(){if(ae.readyState==4){ae.parentNode.removeChild(ae)}else{setTimeout(arguments.callee,10)}})()}u(aa,ab,X)}}function p(Y){if(M.ie&&M.win&&Y.readyState!=4){var X=C("div");Y.parentNode.insertBefore(X,Y);X.parentNode.replaceChild(g(Y),X);Y.style.display="none";(function(){if(Y.readyState==4){Y.parentNode.removeChild(Y)}else{setTimeout(arguments.callee,10)}})()}else{Y.parentNode.replaceChild(g(Y),Y)}}function g(ab){var aa=C("div");if(M.win&&M.ie){aa.innerHTML=ab.innerHTML}else{var Y=ab.getElementsByTagName(r)[0];if(Y){var ad=Y.childNodes;if(ad){var X=ad.length;for(var Z=0;Z<X;Z++){if(!(ad[Z].nodeType==1&&ad[Z].nodeName=="PARAM")&&!(ad[Z].nodeType==8)){aa.appendChild(ad[Z].cloneNode(true))}}}}}return aa}function u(ai,ag,Y){var X,aa=c(Y);if(M.wk&&M.wk<312){return X}if(aa){if(typeof ai.id==D){ai.id=Y}if(M.ie&&M.win){var ah="";for(var ae in ai){if(ai[ae]!=Object.prototype[ae]){if(ae.toLowerCase()=="data"){ag.movie=ai[ae]}else{if(ae.toLowerCase()=="styleclass"){ah+=' class="'+ai[ae]+'"'}else{if(ae.toLowerCase()!="classid"){ah+=" "+ae+'="'+ai[ae]+'"'}}}}}var af="";for(var ad in ag){if(ag[ad]!=Object.prototype[ad]){af+='<param name="'+ad+'" value="'+ag[ad]+'" />'}}aa.outerHTML='<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"'+ah+">"+af+"</object>";N[N.length]=ai.id;X=c(ai.id)}else{var Z=C(r);Z.setAttribute("type",q);for(var ac in ai){if(ai[ac]!=Object.prototype[ac]){if(ac.toLowerCase()=="styleclass"){Z.setAttribute("class",ai[ac])}else{if(ac.toLowerCase()!="classid"){Z.setAttribute(ac,ai[ac])}}}}for(var ab in ag){if(ag[ab]!=Object.prototype[ab]&&ab.toLowerCase()!="movie"){e(Z,ab,ag[ab])}}aa.parentNode.replaceChild(Z,aa);X=Z}}return X}function e(Z,X,Y){var aa=C("param");aa.setAttribute("name",X);aa.setAttribute("value",Y);Z.appendChild(aa)}function y(Y){var X=c(Y);if(X&&X.nodeName=="OBJECT"){if(M.ie&&M.win){X.style.display="none";(function(){if(X.readyState==4){b(Y)}else{setTimeout(arguments.callee,10)}})()}else{X.parentNode.removeChild(X)}}}function b(Z){var Y=c(Z);if(Y){for(var X in Y){if(typeof Y[X]=="function"){Y[X]=null}}Y.parentNode.removeChild(Y)}}function c(Z){var X=null;try{X=j.getElementById(Z)}catch(Y){}return X}function C(X){return j.createElement(X)}function i(Z,X,Y){Z.attachEvent(X,Y);I[I.length]=[Z,X,Y]}function F(Z){var Y=M.pv,X=Z.split(".");X[0]=parseInt(X[0],10);X[1]=parseInt(X[1],10)||0;X[2]=parseInt(X[2],10)||0;return(Y[0]>X[0]||(Y[0]==X[0]&&Y[1]>X[1])||(Y[0]==X[0]&&Y[1]==X[1]&&Y[2]>=X[2]))?true:false}function v(ac,Y,ad,ab){if(M.ie&&M.mac){return}var aa=j.getElementsByTagName("head")[0];if(!aa){return}var X=(ad&&typeof ad=="string")?ad:"screen";if(ab){n=null;G=null}if(!n||G!=X){var Z=C("style");Z.setAttribute("type","text/css");Z.setAttribute("media",X);n=aa.appendChild(Z);if(M.ie&&M.win&&typeof j.styleSheets!=D&&j.styleSheets.length>0){n=j.styleSheets[j.styleSheets.length-1]}G=X}if(M.ie&&M.win){if(n&&typeof n.addRule==r){n.addRule(ac,Y)}}else{if(n&&typeof j.createTextNode!=D){n.appendChild(j.createTextNode(ac+" {"+Y+"}"))}}}function w(Z,X){if(!m){return}var Y=X?"visible":"hidden";if(J&&c(Z)){c(Z).style.visibility=Y}else{v("#"+Z,"visibility:"+Y)}}function L(Y){var Z=/[\\\"<>\.;]/;var X=Z.exec(Y)!=null;return X&&typeof encodeURIComponent!=D?encodeURIComponent(Y):Y}var d=function(){if(M.ie&&M.win){window.attachEvent("onunload",function(){var ac=I.length;for(var ab=0;ab<ac;ab++){I[ab][0].detachEvent(I[ab][1],I[ab][2])}var Z=N.length;for(var aa=0;aa<Z;aa++){y(N[aa])}for(var Y in M){M[Y]=null}M=null;for(var X in swfobject){swfobject[X]=null}swfobject=null})}}();return{registerObject:function(ab,X,aa,Z){if(M.w3&&ab&&X){var Y={};Y.id=ab;Y.swfVersion=X;Y.expressInstall=aa;Y.callbackFn=Z;o[o.length]=Y;w(ab,false)}else{if(Z){Z({success:false,id:ab})}}},getObjectById:function(X){if(M.w3){return z(X)}},embedSWF:function(ab,ah,ae,ag,Y,aa,Z,ad,af,ac){var X={success:false,id:ah};if(M.w3&&!(M.wk&&M.wk<312)&&ab&&ah&&ae&&ag&&Y){w(ah,false);K(function(){ae+="";ag+="";var aj={};if(af&&typeof af===r){for(var al in af){aj[al]=af[al]}}aj.data=ab;aj.width=ae;aj.height=ag;var am={};if(ad&&typeof ad===r){for(var ak in ad){am[ak]=ad[ak]}}if(Z&&typeof Z===r){for(var ai in Z){if(typeof am.flashvars!=D){am.flashvars+="&"+ai+"="+Z[ai]}else{am.flashvars=ai+"="+Z[ai]}}}if(F(Y)){var an=u(aj,am,ah);if(aj.id==ah){w(ah,true)}X.success=true;X.ref=an}else{if(aa&&A()){aj.data=aa;P(aj,am,ah,ac);return}else{w(ah,true)}}if(ac){ac(X)}})}else{if(ac){ac(X)}}},switchOffAutoHideShow:function(){m=false},ua:M,getFlashPlayerVersion:function(){return{major:M.pv[0],minor:M.pv[1],release:M.pv[2]}},hasFlashPlayerVersion:F,createSWF:function(Z,Y,X){if(M.w3){return u(Z,Y,X)}else{return undefined}},showExpressInstall:function(Z,aa,X,Y){if(M.w3&&A()){P(Z,aa,X,Y)}},removeSWF:function(X){if(M.w3){y(X)}},createCSS:function(aa,Z,Y,X){if(M.w3){v(aa,Z,Y,X)}},addDomLoadEvent:K,addLoadEvent:s,getQueryParamValue:function(aa){var Z=j.location.search||j.location.hash;if(Z){if(/\?/.test(Z)){Z=Z.split("?")[1]}if(aa==null){return L(Z)}var Y=Z.split("&");for(var X=0;X<Y.length;X++){if(Y[X].substring(0,Y[X].indexOf("="))==aa){return L(Y[X].substring((Y[X].indexOf("=")+1)))}}}return""},expressInstallCallback:function(){if(a){var X=c(R);if(X&&l){X.parentNode.replaceChild(l,X);if(Q){w(Q,true);if(M.ie&&M.win){l.style.display="block"}}if(E){E(B)}}a=false}}}}();
var arrCityLen=5;
var arrCity = [24,'Hà Nội','ha-noi',1,[293,'Q.Hoàn Kiếm','',0,null,289,'Q.Ba Đình','',0,null,291,'Q.Đống Đa','',0,null,292,'Q.Hai Bà Trưng','',0,null,297,'Q.Thanh Xuân','',0,null,296,'Q.Tây Hồ','',0,null,290,'Q.Cầu Giấy','',0,null,294,'Q.Hoàng Mai','',0,null,295,'Q.Long Biên','',0,null,284,'H.Đông Anh','',0,null,285,'H.Gia Lâm','',0,null,286,'H.Sóc Sơn','',0,null,287,'H.Thanh Trì','',0,null,288,'H.Từ Liêm','',0,null,745,'Q.Hà Đông','',0,null,311,'TX.Sơn Tây','',0,null,729,'H.Mê Linh','',0,null,298,'H.Ba Vì','',0,null,304,'H.Phúc Thọ','',0,null,300,'H.Đan Phượng','',0,null,301,'H.Hoài Đức','',0,null,305,'H.Quốc Oai','',0,null,306,'H.Thạch Thất','',0,null,299,'H.Chương Mỹ','',0,null,307,'H.Thanh Oai','',0,null,308,'H.Thường Tín','',0,null,303,'H.Phú Xuyên','',0,null,309,'H.Ứng Hòa','',0,null,302,'H.Mỹ Đức','',0,null],28,'Hải Phòng','hai-phong',1,[344,'Q.Đồ Sơn','',0,null,345,'Q.Dương Kinh','',0,null,346,'Q.Hải An','',0,null,347,'Q.Hồng Bàng','',0,null,348,'Q.Kiến An','',0,null,349,'Q.Lê Chân','',0,null,350,'Q.Ngô Quyền','',0,null,336,'H.An Dương','',0,null,337,'H.An Lão','',0,null,338,'H.Bạch Long Vĩ','',0,null,339,'H.Cát Hải','',0,null,340,'H.Kiến Thuỵ','',0,null,341,'H.Thủy Nguyên','',0,null,342,'H.Tiên Lãng','',0,null,343,'H.Vĩnh Bảo','',0,null],15,'Đà Nẵng','da-nang',1,[192,'Q.Cẩm Lệ','',0,null,193,'Q.Hải Châu','',0,null,194,'Q.Liên Chiểu','',0,null,195,'Q.Ngũ Hành Sơn','',0,null,196,'Q.Sơn Trà','',0,null,197,'Q.Thanh Khê','',0,null,191,'H.Hoà Vang','',0,null],30,'TP.HCM','ho-chi-minh',1,[363,'Quận  1','',0,null,367,'Quận  2','',0,null,368,'Quận  3','',0,null,369,'Quận  4','',0,null,370,'Quận  5','',0,null,371,'Quận  6','',0,null,372,'Quận  7','',0,null,373,'Quận  8','',0,null,374,'Quận  9','',0,null,364,'Quận  10','',0,null,365,'Quận  11','',0,null,366,'Quận  12','',0,null,375,'Quận  Bình Tân','',0,null,376,'Quận Bình Thạnh','',0,null,377,'Quận  Gò Vấp','',0,null,378,'Quận  Phú Nhuận','',0,null,379,'Quận  Tân Bình','',0,null,380,'Quận  Tân Phú','',0,null,381,'Quận  Thủ Đức','',0,null,358,'H.Bình Chánh','',0,null,359,'H.Cần Giờ','',0,null,360,'H.Củ Chi','',0,null,361,'H.Hóc Môn','',0,null,362,'H.Nhà Bè','',0,null],13,'Cần Thơ','can-tho',1,[170,'H.Cờ Đỏ','',0,null,171,'H.Phong Điền','',0,null,172,'H.Thốt Nốt','',0,null,173,'H.Vĩnh Thạnh','',0,null,174,'Q.Bình Thuỷ','',0,null,175,'Q.Cái Răng','',0,null,176,'Q.Ninh Kiều','',0,null,177,'Q.Ô Môn','',0,null],1,'An Giang','an-giang',0,[65,'H.An Phú','',0,null,66,'H.Châu Phú','',0,null,67,'H.Châu Thành','',0,null,68,'H.Chợ Mới','',0,null,69,'H.Huyện Tri Tôn','',0,null,70,'H.Phú Tân','',0,null,71,'H.Tân Châu','',0,null,72,'H.Thoại Sơn','',0,null,73,'H.Tịnh Biên','',0,null,74,'TP.Long Xuyên','',0,null,75,'TX.Châu Đốc','',0,null],2,'Bà Rịa - Vũng Tàu','ba-ria-vung-tau',0,[76,'H.Châu Đức','',0,null,77,'H.Côn Đảo','',0,null,78,'H.Đất Đỏ','',0,null,79,'H.Long Điền','',0,null,80,'H.Tân Thành','',0,null,81,'H.Xuyên Mộc','',0,null,82,'TP.Vũng Tàu','',0,null,83,'TX.Bà Rịa','',0,null],3,'Bắc Giang','bac-giang',0,[84,'H.Hiệp Hoà','',0,null,85,'H.Lạng Giang','',0,null,86,'H.Lục Nam','',0,null,87,'H.Lục Ngạn','',0,null,88,'H.Sơn Động','',0,null,89,'H.Tân Yên','',0,null,90,'H.Việt Yên','',0,null,91,'H.Yên Dũng','',0,null,92,'H.Yên Thế','',0,null,93,'TP.Bắc Giang','',0,null],4,'Bắc Kạn','bac-kan',0,[94,'H.Ba Bể','',0,null,95,'H.Bạch Thông','',0,null,96,'H.Chợ Đồn','',0,null,97,'H.Chợ Mới','',0,null,98,'H.Na Rì','',0,null,99,'H.Ngân Sơn','',0,null,100,'H.Pác Nặm','',0,null,101,'TX.Bắc Kạn','',0,null],5,'Bạc Liêu','bac-lieu',0,[102,'H.Đông Hải','',0,null,103,'H.Giá Rai','',0,null,104,'H.Hoà Bình','',0,null,105,'H.Hồng Dân','',0,null,106,'H.Phước Long','',0,null,107,'H.Vĩnh Lợi','',0,null,108,'TX.Bạc Liêu','',0,null],6,'Bắc Ninh','bac-ninh',0,[109,'H.Gia Bình','',0,null,110,'H.Lương Tài','',0,null,111,'H.Quế Võ.','',0,null,112,'H.Thuận Thành','',0,null,113,'H.Tiên Du','',0,null,114,'H.Từ Sơn','',0,null,115,'H.Yên Phong','',0,null,116,'TP.Bắc Ninh','',0,null],7,'Bến Tre','ben-tre',0,[117,'H.Ba Tri','',0,null,118,'H.Bình Đại','',0,null,119,'H.Châu Thành','',0,null,120,'H.Chợ Lách','',0,null,121,'H.Giồng Trôm','',0,null,122,'H.Mỏ Cày','',0,null,123,'H.Thạnh Phú','',0,null,124,'TX.Bến Tre','',0,null],8,'Bình Định','binh-dinh',0,[125,'H.An Lão','',0,null,126,'H.An Nhơn','',0,null,127,'H.Hoài Ân','',0,null,128,'H.Hoài Nhơn','',0,null,129,'H.Phù Cát','',0,null,130,'H.Phù Mỹ','',0,null,131,'H.Tây Sơn','',0,null,132,'H.Tuy Phước','',0,null,133,'H.Vân Canh','',0,null,134,'H.Vĩnh Thạnh','',0,null,135,'TP.Quy Nhơn','',0,null],9,'Bình Dương','binh-duong',0,[136,'H.Bến Cát','',0,null,137,'H.Dầu Tiếng','',0,null,138,'H.Dĩ An','',0,null,139,'H.Phú Giáo','',0,null,140,'H.Tân Uyên','',0,null,141,'H.Thuận An','',0,null,142,'TX.Thủ Dầu Một','',0,null],10,'Bình Phước','binh-phuoc',0,[143,'H.Bình Long','',0,null,144,'H.Bù Đăng','',0,null,145,'H.Bù Đốp','',0,null,146,'H.Chơn Thành','',0,null,147,'H.Đồng Phú','',0,null,148,'H.Lộc Ninh','',0,null,149,'H.Phước Long','',0,null,150,'TX.Đồng Xoài','',0,null],11,'Bình Thuận','binh-thuan',0,[151,'H.Bắc Bình','',0,null,152,'H.đảo Phú Quý','',0,null,153,'H.Đức Linh','',0,null,154,'H.Hàm Tân','',0,null,155,'H.Hàm Thuận Bắc','',0,null,156,'H.Hàm Thuận Nam','',0,null,157,'H.Tánh Linh','',0,null,158,'H.Tuy Phong','',0,null,159,'TP. Phan Thiết','',0,null,160,'TX.LaGi','',0,null],12,'Cà Mau','ca-mau',0,[161,'H.Cái Nước','',0,null,162,'H.Đầm Dơi','',0,null,163,'H.Năm Căn','',0,null,164,'H.Ngọc Hiển','',0,null,165,'H.Phú Tân','',0,null,166,'H.Thới Bình','',0,null,167,'H.Trần Văn Thời','',0,null,168,'H.U Minh','',0,null,169,'TP. Cà Mau','',0,null],14,'Cao Bằng','cao-bang',0,[178,'H.Bảo Lạc','',0,null,179,'H.Bảo Lâm','',0,null,180,'H.Hạ Lang','',0,null,181,'H.Hà Quảng','',0,null,182,'H.Hoà An','',0,null,183,'H.Nguyên Bình','',0,null,184,'H.Phục Hoà','',0,null,185,'H.Quảng Uyên','',0,null,186,'H.Thạch An','',0,null,187,'H.Thông Nông','',0,null,188,'H.Trà Lĩnh','',0,null,189,'H.Trùng Khánh','',0,null,190,'TX.Cao Bằng','',0,null],16,'Đắk Lắk','dak-lak',0,[198,'H.Buôn Đôn','',0,null,199,'H.Cư Kuin','',0,null,200,'H.Cư M gar','',0,null,201,'H.Ea H Leo','',0,null,202,'H.Ea Kar','',0,null,203,'H.Ea Súp','',0,null,204,'H.Krông Ana','',0,null,205,'H.Krông Bông','',0,null,206,'H.Krông Buk','',0,null,207,'H.Krông Năng','',0,null,208,'H.Krông Pắc','',0,null,209,'H.Lăk','',0,null,210,'H.M`Đrăk','',0,null,211,'TP.Buôn Ma Thuột','',0,null],17,'Đắk Nông','dak-nong',0,[212,'H.Cư Jút','',0,null,213,'H.Dăk GLong','',0,null,214,'H.Dăk Mil','',0,null,215,'H.Dăk RLấp','',0,null,216,'H.Dăk Song','',0,null,217,'H.Krông Nô','',0,null,218,'H.Tuy Đức','',0,null,219,'TX.Gia Nghĩa','',0,null],18,'Điện Biên','dien-bien',0,[220,'H.Điện Biên','',0,null,221,'H.Điện Biên Đông','',0,null,222,'H.Mường Ảng','',0,null,223,'H.Mường Chà','',0,null,224,'H.Mường Nhé','',0,null,225,'H.Tủa Chùa','',0,null,226,'H.Tuần Giáo','',0,null,227,'TP. Điện Biên Phủ','',0,null,228,'TX.Mường Lay','',0,null],19,'Đồng Nai','dong-nai',0,[229,'H.Cẩm Mỹ','',0,null,230,'H.Định Quán','',0,null,231,'H.Long Thành','',0,null,232,'H.Nhơn Trạch','',0,null,233,'H.Tân Phú','',0,null,234,'H.Thống Nhất','',0,null,235,'H.Trảng Bom','',0,null,236,'H.Vĩnh Cửu','',0,null,237,'H.Xuân Lộc','',0,null,238,'TP.Biên Hoà','',0,null,239,'TX.Long Khánh','',0,null],20,'Đồng Tháp','dong-thap',0,[240,'H.Cao Lãnh','',0,null,241,'H.Châu Thành','',0,null,242,'H.Hồng Ngự','',0,null,243,'H.Lai Vung','',0,null,244,'H.Lấp Vò','',0,null,245,'H.Tam Nông','',0,null,246,'H.Tân Hồng','',0,null,247,'H.Thanh Bình','',0,null,248,'H.Tháp Mười','',0,null,249,'TP.Cao Lãnh','',0,null,250,'TX.Sa Đéc','',0,null],21,'Gia Lai','gia-lai',0,[251,'H.Ayunpa','',0,null,252,'H.Chư Păh','',0,null,253,'H.Chư Sê','',0,null,254,'H.Chưprông','',0,null,255,'H.Đăk Đoa','',0,null,256,'H.Đăk Pơ','',0,null,257,'H.Đức Cơ','',0,null,258,'H.Ia Grai','',0,null,259,'H.Ia Pa','',0,null,260,'H.Kbang','',0,null,261,'H.Kông Chro','',0,null,262,'H.Krông Pa','',0,null,263,'H.Mang Yang','',0,null,264,'H.Phú Thiện','',0,null,265,'TP.Pleiku','',0,null,266,'TX.An Khê','',0,null],22,'Hà Giang','ha-giang',0,[267,'H.Bắc Mê','',0,null,268,'H.Bắc Quang','',0,null,269,'H.Đồng Văn','',0,null,270,'H.Hoàng Su Phì','',0,null,271,'H.Mèo Vạc','',0,null,272,'H.Quản Bạ','',0,null,273,'H.Quang Bình','',0,null,274,'H.Vị Xuyên','',0,null,275,'H.Xín Mần','',0,null,276,'H.Yên Minh','',0,null,277,'TX.Hà Giang','',0,null],23,'Hà Nam','ha-nam',0,[278,'H.Bình Lục','',0,null,279,'H.Duy Tiên','',0,null,280,'H.Kim Bảng','',0,null,281,'H.Lý Nhân','',0,null,282,'H.Thanh Liêm','',0,null,283,'TX.Phủ Lý','',0,null],26,'Hà Tĩnh','ha-tinh',0,[312,'H.Cẩm Xuyên','',0,null,313,'H.Can Lộc','',0,null,314,'H.Đức Thọ','',0,null,315,'H.Hương Khê','',0,null,316,'H.Hương Sơn','',0,null,317,'H.Kỳ Anh','',0,null,318,'H.Lộc Hà','',0,null,319,'H.Nghi Xuân','',0,null,320,'H.Thạch Hà','',0,null,321,'H.Vũ Quang','',0,null,322,'TP.Hà Tĩnh','',0,null,323,'TX.Hồng Lĩnh','',0,null],27,'Hải Dương','hai-duong',0,[324,'H.Bình Giang','',0,null,325,'H.Cẩm Giàng','',0,null,326,'H.Chí Linh','',0,null,327,'H.Gia Lộc','',0,null,328,'H.Kim Thành','',0,null,329,'H.Kinh Môn','',0,null,330,'H.Nam Sách','',0,null,331,'H.Ninh Giang','',0,null,332,'H.Thanh Hà','',0,null,333,'H.Thanh Miện','',0,null,334,'H.Tứ Kỳ','',0,null,335,'TP.Hải Dương','',0,null],29,'Hậu Giang','hau-giang',0,[351,'H.Châu Thành','',0,null,352,'H.Châu Thành A','',0,null,353,'H.Long Mỹ','',0,null,354,'H.Phụng Hiệp','',0,null,355,'H.Vị Thuỷ','',0,null,356,'TX.Ngã Bảy','',0,null,357,'TX.Vị Thanh','',0,null],31,'Hòa Bình','hoa-binh',0,[382,'H.Cao Phong','',0,null,383,'H.Đà Bắc','',0,null,384,'H.Kim Bôi','',0,null,385,'H.Kỳ Sơn','',0,null,386,'H.Lạc Sơn','',0,null,387,'H.Lạc Thuỷ','',0,null,388,'H.Lương Sơn','',0,null,389,'H.Mai Châu','',0,null,390,'H.Tân Lạc','',0,null,391,'H.Yên Thuỷ','',0,null,392,'TP.Hoà Bình','',0,null],32,'Hưng Yên','hung-yen',0,[393,'H.Ân Thi','',0,null,394,'H.Khoái Châu','',0,null,395,'H.Kim Động','',0,null,396,'H.Mỹ Hào','',0,null,397,'H.Phù Cừ','',0,null,398,'H.Tiên Lữ','',0,null,399,'H.Văn Giang','',0,null,400,'H.Văn Lâm','',0,null,401,'H.Yên Mỹ','',0,null,402,'TX.Hưng Yên','',0,null],33,'Khánh Hòa','khanh-hoa',0,[403,'H.Cam Lâm','',0,null,404,'H.Diên Khánh','',0,null,405,'H.Khánh Sơn','',0,null,406,'H.Khánh Vĩnh','',0,null,407,'H.Ninh Hoà','',0,null,408,'H.Trường Sa','',0,null,409,'H.Vạn Ninh','',0,null,410,'TP.Nha Trang','',0,null,411,'TX.Cam Ranh','',0,null],34,'Kiên Giang','kien-giang',0,[412,'H.An Biên','',0,null,413,'H.An Minh','',0,null,414,'H.Châu Thành','',0,null,415,'H.Giồng Riềng','',0,null,416,'H.Gò Quao','',0,null,417,'H.Hòn Đất','',0,null,418,'H.Kiên Hải','',0,null,419,'H.Kiên Lương','',0,null,420,'H.Phú Quốc','',0,null,421,'H.Tân Hiệp','',0,null,422,'H.U minh Thượng','',0,null,423,'H.Vĩnh Thuận','',0,null,424,'TP.Rạch Giá','',0,null,425,'TX.Hà Tiên','',0,null],35,'Kon Tum','kon-tum',0,[426,'H.Đăk Glei','',0,null,427,'H.Đăk Hà','',0,null,428,'H.Đăk Tô','',0,null,429,'H.Kon Plong','',0,null,430,'H.Kon Rộy','',0,null,431,'H.Ngọc Hồi','',0,null,432,'H.Sa Thầy','',0,null,433,'H.Tu Mơ Rông','',0,null,434,'TX.KonTum','',0,null],36,'Lai Châu','lai-chau',0,[435,'H.Mường Tè','',0,null,436,'H.Phong Thổ','',0,null,437,'H.Sìn Hồ','',0,null,438,'H.Tam Đường','',0,null,439,'H.Than Uyên','',0,null,440,'TX.Lai Châu','',0,null],37,'Lâm Đồng','lam-dong',0,[441,'H.Bảo Lâm','',0,null,442,'H.Cát Tiên','',0,null,443,'H.Đạ Huoai','',0,null,444,'H.Đạ Tẻh','',0,null,445,'H.Đam Rông','',0,null,446,'H.Di Linh','',0,null,447,'H.Đơn Dương','',0,null,448,'H.Đức Trọng','',0,null,449,'H.Lạc Dương','',0,null,450,'H.Lâm Hà','',0,null,451,'TP. Đà Lạt','',0,null,452,'TX.Bảo Lộc','',0,null],38,'Lạng Sơn','lang-son',0,[453,'H.Bắc Sơn','',0,null,454,'H.Bình Gia','',0,null,455,'H.Cao Lộc','',0,null,456,'H.Chi Lăng','',0,null,457,'H.Đình Lập','',0,null,458,'H.Hữu Lũng','',0,null,459,'H.Lộc Bình','',0,null,460,'H.Tràng Định','',0,null,461,'H.Văn Lãng','',0,null,462,'H.Văn Quan','',0,null,463,'TP.Lạng Sơn','',0,null],39,'Lào Cai','lao-cai',0,[464,'H.Bắc Hà','',0,null,465,'H.Bảo Thắng','',0,null,466,'H.Bảo Yên','',0,null,467,'H.Bát Xát','',0,null,468,'H.Mường Khương','',0,null,469,'H.Sa Pa','',0,null,470,'H.Văn Bàn','',0,null,471,'H.Xi Ma Cai','',0,null,472,'TP.Lào Cai','',0,null],40,'Long An','long-an',0,[473,'H.Bến Lức','',0,null,474,'H.Cần Đước','',0,null,475,'H.Cần Giuộc','',0,null,476,'H.Châu Thành','',0,null,477,'H.Đức Hoà','',0,null,478,'H.Đức Huệ','',0,null,479,'H.Mộc Hoá','',0,null,480,'H.Tân Hưng','',0,null,481,'H.Tân Thạnh','',0,null,482,'H.Tân Trụ','',0,null,483,'H.Thạnh Hoá','',0,null,484,'H.Thủ Thừa','',0,null,485,'H.Vĩnh Hưng','',0,null,486,'TX.Tân An','',0,null],41,'Nam Định','nam-dinh',0,[487,'H.Giao Thủy','',0,null,488,'H.Hải Hậu','',0,null,489,'H.Mỹ Lộc','',0,null,490,'H.Nam Trực','',0,null,491,'H.Nghĩa Hưng','',0,null,492,'H.Trực Ninh','',0,null,493,'H.Vụ Bản','',0,null,494,'H.Xuân Trường','',0,null,495,'H.ý Yên','',0,null,496,'TP. Nam Định','',0,null],42,'Nghệ An','nghe-an',0,[497,'H.Anh Sơn','',0,null,498,'H.Con Cuông','',0,null,499,'H.Diễn Châu','',0,null,500,'H.Đô Lương','',0,null,501,'H.Hưng Nguyên','',0,null,502,'H.Kỳ Sơn','',0,null,503,'H.Nam Đàn','',0,null,504,'H.Nghi Lộc','',0,null,505,'H.Nghĩa Đàn','',0,null,506,'H.Quế Phong','',0,null,507,'H.Quỳ Châu','',0,null,508,'H.Quỳ Hợp','',0,null,509,'H.Quỳnh Lưu','',0,null,510,'H.Tân Kỳ','',0,null,511,'H.Thanh Chương','',0,null,512,'H.Tương Dương','',0,null,513,'H.Yên Thành','',0,null,514,'TP.Vinh','',0,null,515,'TX.Cửa Lò','',0,null],43,'Ninh Bình','ninh-binh',0,[516,'H.Gia Viễn','',0,null,517,'H.Hoa Lư','',0,null,518,'H.Kim Sơn','',0,null,519,'H.Nho Quan','',0,null,520,'H.Yên Khánh','',0,null,521,'H.Yên Mô','',0,null,522,'TP.Ninh Bình','',0,null,523,'TX.Tam Điệp','',0,null],44,'Ninh Thuận','ninh-thuan',0,[524,'H.Bác Ái','',0,null,525,'H.Ninh Hải','',0,null,526,'H.Ninh Phước','',0,null,527,'H.Ninh Sơn','',0,null,528,'H.Thuận Bắc','',0,null,529,'TP.Phan Rang-Tháp Chàm','',0,null],45,'Phú Thọ','phu-tho',0,[530,'H.Cẩm Khê','',0,null,531,'H.Đoan Hùng','',0,null,532,'H.Hạ Hoà','',0,null,533,'H.Lâm Thao','',0,null,534,'H.Phù Ninh','',0,null,535,'H.Tam Nông','',0,null,536,'H.Tân Sơn','',0,null,537,'H.Thanh Ba','',0,null,538,'H.Thanh Sơn','',0,null,539,'H.Thanh Thủy','',0,null,540,'H.Yên Lập','',0,null,541,'TP. Việt Trì','',0,null,542,'TX.Phú Thọ','',0,null],46,'Phú Yên','phu-yen',0,[543,'H.Đông Hoà','',0,null,544,'H.Đồng Xuân','',0,null,545,'H.Phú Hoà','',0,null,546,'H.Sơn Hoà','',0,null,547,'H.Sông Cầu','',0,null,548,'H.Sông Hinh','',0,null,549,'H.Tây Hoà','',0,null,550,'H.Tuy An','',0,null,551,'TX.Tuy Hoà','',0,null],47,'Quảng Bình','quang-binh',0,[552,'H.Bố Trạch','',0,null,553,'H.Lệ Thuỷ','',0,null,554,'H.Minh Hoá','',0,null,555,'H.Quảng Ninh','',0,null,556,'H.Quảng Trạch','',0,null,557,'H.Tuyên Hoá','',0,null,558,'TP.Đồng Hới','',0,null],48,'Quảng Nam','quang-nam',0,[559,'H.Bắc Trà My','',0,null,560,'H.Đại Lộc','',0,null,561,'H.Điện Bàn','',0,null,562,'H.Đông Giang','',0,null,563,'H.Duy Xuyên','',0,null,564,'H.Hiệp Đức','',0,null,565,'H.Nam Giang','',0,null,566,'H.Nam Trà My','',0,null,567,'H.Núi Thành','',0,null,568,'H.Phú Ninh','',0,null,569,'H.Phước Sơn','',0,null,570,'H.Quế Sơn','',0,null,571,'H.Tây Giang','',0,null,572,'H.Thăng Bình','',0,null,573,'H.Tiên Phước','',0,null,574,'TP.Tam Kỳ','',0,null,575,'TX.Hội An','',0,null],49,'Quảng Ngãi','quang-ngai',0,[576,'H.Ba Tơ','',0,null,577,'H.Bình Sơn','',0,null,578,'H.Đức Phổ','',0,null,579,'H.Lý Sơn','',0,null,580,'H.Minh Long','',0,null,581,'H.Mộ Đức','',0,null,582,'H.Nghĩa Hành','',0,null,583,'H.Sơn Hà','',0,null,584,'H.Sơn Tây','',0,null,585,'H.Sơn Tịnh','',0,null,586,'H.Tây Trà','',0,null,587,'H.Trà Bồng','',0,null,588,'H.Tư Nghĩa','',0,null,589,'TP.Quảng Ngãi','',0,null],50,'Quảng Ninh','quang-ninh',0,[590,'H.Ba Chẽ','',0,null,591,'H.Bình Liêu','',0,null,592,'H.Cô Tô','',0,null,593,'H.Đầm Hà','',0,null,594,'H.Đông Triều','',0,null,595,'H.Hải Hà','',0,null,596,'H.Hoành Bồ','',0,null,597,'H.Tiên Yên','',0,null,598,'H.Vân Đồn','',0,null,599,'H.Yên Hưng','',0,null,600,'TP. Hạ Long','',0,null,601,'TX.Cẩm Phả','',0,null,602,'TX.Móng Cái','',0,null,603,'TX.Uông Bí','',0,null],51,'Quảng Trị','quang-tri',0,[604,'H.Cam Lộ','',0,null,605,'H.Đăk Rông','',0,null,606,'H.đảo Cồn cỏ','',0,null,607,'H.Gio Linh','',0,null,608,'H.Hải Lăng','',0,null,609,'H.Hướng Hoá','',0,null,610,'H.Triệu Phong','',0,null,611,'H.Vĩnh Linh','',0,null,612,'TX.Đông Hà','',0,null,613,'TX.Quảng Trị','',0,null],52,'Sóc Trăng','soc-trang',0,[614,'H.Cù Lao Dung','',0,null,615,'H.Kế Sách','',0,null,616,'H.Long Phú','',0,null,617,'H.Mỹ Tú','',0,null,618,'H.Mỹ Xuyên','',0,null,619,'H.Ngã Năm','',0,null,620,'H.Thạnh Trị','',0,null,621,'H.Vĩnh Châu','',0,null,622,'TP.Sóc Trăng','',0,null],53,'Sơn La','son-la',0,[623,'H.Bắc Yên','',0,null,624,'H.Mai Sơn','',0,null,625,'H.Mộc Châu','',0,null,626,'H.Mường La','',0,null,627,'H.Phù Yên','',0,null,628,'H.Quỳnh Nhai','',0,null,629,'H.Sông Mã','',0,null,630,'H.Sốp Cộp','',0,null,631,'H.Thuận Châu','',0,null,632,'H.Yên Châu','',0,null,633,'TX.Sơn La','',0,null],54,'Tây Ninh','tay-ninh',0,[634,'H.Bến Cầu','',0,null,635,'H.Châu Thành','',0,null,636,'H.Dương Minh Châu','',0,null,637,'H.Gò Dầu','',0,null,638,'H.Hoà Thành','',0,null,639,'H.Tân Biên','',0,null,640,'H.Tân Châu','',0,null,641,'H.Trảng Bàng','',0,null,642,'TX.Tây Ninh','',0,null],55,'Thái Bình','thai-binh',0,[643,'H.Đông Hưng','',0,null,644,'H.Hưng Hà','',0,null,645,'H.Kiến Xương','',0,null,646,'H.Quỳnh Phụ','',0,null,647,'H.Thái Thuỵ','',0,null,648,'H.Tiền Hải','',0,null,649,'H.Vũ Thư','',0,null,650,'TP.Thái Bình','',0,null],56,'Thái Nguyên','thai-nguyen',0,[651,'H.Đại Từ','',0,null,652,'H.Định Hoá','',0,null,653,'H.Đồng Hỷ','',0,null,654,'H.Phổ Yên','',0,null,655,'H.Phú Bình','',0,null,656,'H.Phú Lương','',0,null,657,'H.Võ Nhai','',0,null,658,'TP.Thái Nguyên','',0,null,659,'TX.Sông Công','',0,null],57,'Thanh Hóa','thanh-hoa',0,[660,'H.Bá Thước','',0,null,661,'H.Cẩm Thủy','',0,null,662,'H.Đông Sơn','',0,null,663,'H.Hà Trung','',0,null,664,'H.Hậu Lộc','',0,null,665,'H.Hoằng Hoá','',0,null,666,'H.Lang Chánh','',0,null,667,'H.Mường Lát','',0,null,668,'H.Nga Sơn','',0,null,669,'H.Ngọc Lặc','',0,null,670,'H.Như Thanh','',0,null,671,'H.Như Xuân','',0,null,672,'H.Nông Cống','',0,null,673,'H.Quan Hoá','',0,null,674,'H.Quan Sơn','',0,null,675,'H.Quảng Xương','',0,null,676,'H.Thạch Thành','',0,null,677,'H.Thiệu Hoá','',0,null,678,'H.Thọ Xuân','',0,null,679,'H.Thường Xuân','',0,null,680,'H.Tĩnh Gia','',0,null,681,'H.Triệu Sơn','',0,null,682,'H.Vĩnh Lộc','',0,null,683,'H.Yên Định','',0,null,684,'TP.Thanh Hoá','',0,null,685,'TX.Bỉm Sơn','',0,null,686,'TX.Sầm Sơn','',0,null],58,'Thừa Thiên Huế','thua-thien-hue',0,[687,'H.A Lưới','',0,null,688,'H.Hương Thuỷ','',0,null,689,'H.Hương Trà','',0,null,690,'H.Nam Đông','',0,null,691,'H.Phong Điền','',0,null,692,'H.Phú Lộc','',0,null,693,'H.Phú Vang','',0,null,694,'H.Quảng Điền','',0,null,695,'TP. Huế','',0,null],59,'Tiền Giang','tien-giang',0,[696,'H.Cái Bè','',0,null,697,'H.Cai Lậy','',0,null,698,'H.Châu Thành','',0,null,699,'H.Chợ Gạo','',0,null,700,'H.Gò Công Đông','',0,null,701,'H.Gò Công Tây','',0,null,702,'H.Tân Phước','',0,null,703,'TP.Mỹ Tho','',0,null,704,'TX.Gò Công','',0,null],60,'Trà Vinh','tra-vinh',0,[705,'H.Càng Long','',0,null,706,'H.Cầu Kè','',0,null,707,'H.Cầu Ngang','',0,null,708,'H.Châu Thành','',0,null,709,'H.Duyên Hải','',0,null,710,'H.Tiểu Cần','',0,null,711,'H.Trà Cú','',0,null,712,'TX.Trà Vinh','',0,null],61,'Tuyên Quang','tuyen-quang',0,[713,'H.Chiêm Hoá','',0,null,714,'H.Hàm Yên','',0,null,715,'H.Na Hang','',0,null,716,'H.Sơn Dương','',0,null,717,'H.Yên Sơn','',0,null,718,'TX.Tuyên Quang','',0,null],62,'Vĩnh Long','vinh-long',0,[719,'H.Bình Minh','',0,null,720,'H.Bình Tân','',0,null,721,'H.Long Hồ','',0,null,722,'H.Mang Thít','',0,null,723,'H.Tam Bình','',0,null,724,'H.Trà Ôn','',0,null,725,'H.Vũng Liêm','',0,null,726,'TX.Vĩnh Long','',0,null],63,'Vĩnh Phúc','vinh-phuc',0,[727,'H.Bình Xuyên','',0,null,728,'H.Lập Thạch','',0,null,730,'H.Tam Đảo','',0,null,731,'H.Tam Dương','',0,null,732,'H.Vĩnh Tường','',0,null,733,'H.Yên Lạc','',0,null,734,'TP.Vĩnh Yên','',0,null,735,'TX.Phúc Yên','',0,null],64,'Yên Bái','yen-bai',0,[736,'H.Lục Yên','',0,null,737,'H.Mù Cang Chải','',0,null,738,'H.Trạm Tấu','',0,null,739,'H.Trấn Yên','',0,null,740,'H.Văn Chấn','',0,null,741,'H.Văn Yên','',0,null,742,'H.Yên Bình','',0,null,743,'TP.Yên Bái','',0,null,744,'TX.Nghĩa Lộ','',0,null],751,'Nước Ngoài','nuoc-ngoai',0,null];
var arrCityArea1=[30,13,1,2,5,7,9,12,19,20,29,34,40,52,54,59,60,62,751];
var arrCityArea2=[24,28,3,4,6,14,18,22,23,27,31,32,36,38,39,41,43,45,50,53,55,56,57,61,63,64];
var arrCityArea3=[15,8,10,11,16,17,21,26,33,35,37,42,44,46,47,48,49,51,58];
var arrCitySms={30:'HCM',13:'CT',1:'AG',2:'BR',5:'BL',7:'BTR',9:'BD',12:'CM',19:'DN',20:'DT',29:'HG',34:'KG',40:'LA',52:'ST',54:'TN',59:'TG',60:'TV',62:'VL',751:'NN',24:'HN',28:'HP',3:'BG',4:'BK',6:'BN',14:'CB',18:'DB',22:'HAG',23:'HNM',27:'HD',31:'HB',32:'HY',36:'LC',38:'LS',39:'LCI',41:'ND',43:'NB',45:'PT',50:'QN',53:'SL',55:'TB',56:'THN',57:'TH',61:'TQ',63:'VP',64:'YB',15:'DNG',8:'BDH',10:'BP',11:'BT',16:'DLK',17:'DNO',21:'GL',26:'HTH',33:'KH',35:'KT',37:'LD',42:'NA',44:'NT',46:'PY',47:'QB',48:'QNM',49:'QNI',51:'QT',58:'TTH',284:'ÐA',285:'GL',286:'SS',287:'TT',288:'TL',289:'BÐ',290:'CG',291:'ÐÐ',292:'HBT',293:'HK',294:'HM',295:'LB',296:'TH',297:'TX',298:'BV',299:'CM',300:'ÐP',301:'HÐu',302:'MÐ',303:'PX',304:'PT',305:'QO',306:'TTh',307:'TO',308:'TTi',309:'UH',311:'ST',358:'BC',359:'CG',360:'CC',361:'HM',362:'NB',363:'Q1',364:'Q10',365:'Q11',366:'Q12',367:'Q2',368:'Q3',369:'Q4',370:'Q5',371:'Q6',372:'Q7',373:'Q8',374:'Q9',375:'BTa',376:'BT',377:'GV',378:'PN',379:'TB',380:'TP',381:'TÐ',729:'ML',745:'HÐ'};
var arrCategoryLen=4;
var arrCategory = [2,'Việc làm','viec-lam',[3,'Việc tìm người','viec-tim-nguoi',[4,'Giám đốc, Kỹ sư','giam-doc-ky-su',null,5,'Thư ký, Kế toán','thu-ky-ke-toan',null,6,'Quản lý, Trưởng phòng','quan-ly-truong-phong',null,7,'Bác sĩ, NV Y Dược','bac-si-nv-y-duoc',null,8,'NV VP, khối Kinh tế - Xã hội','nv-vp-khoi-kinh-te-xa-hoi',null,9,'NV Kỹ thuật điện, điện tử, CNTT','nv-ky-thuat-dien-dien-tu',null,10,'NV Kỹ thuật in, Thiết kế Mỹ thuật','nv-ky-thuat-in-thiet-ke-my-thuat',null,11,'NV KD, phát triển thị trường','nv-kd-phat-trien-thi-truong',null,12,'NV Tư vấn','nv-tu-van',null,13,'Giáo viên, gia sư','giao-vien-gia-su',null,14,'NV bán hàng','nv-ban-hang',null,15,'NV an ninh, bảo vệ','nv-an-ninh-bao-ve',null,16,'Công nhân viên ngành may','cong-nhan-vien-nganh-may',null,17,'Nhân viên giao, chở hàng','nhan-vien-giao-cho-hang',null,18,'Pha chế, lễ tân, NV bếp NH, KS','pha-che-le-tan-nv-bep-nh-ks',null,19,'Bảo vệ, phục vụ, tạp vụ NH, KS','bao-ve-phuc-vu-tap-vu-nh-ks',null,186,'Nhiếp ảnh, Người mẫu, Diễn viên','nhiep-anh-nguoi-mau-dien-vien',null,185,'Massage, Thẩm mỹ','massage-tham-my',null,184,'Cắt tóc, gội đầu, làm móng','cat-toc-goi-dau-lam-mong',null,183,'Lái xe','lai-xe',null,182,'Người giúp việc, tạp vụ','nguoi-giup-viec-tap-vu',null,181,'Thợ mộc, XD, điện nước, cơ khí','tho-moc-xd-dien-nuoc-co-khi',null,180,'Lao động phổ thông các nghề','lao-dong-pho-thong-cac-nghe',null,178,'Các đơn vị tuyển','cac-don-vi-tuyen',null,179,'Ngành nghề khác','nganh-nghe-khac',null],20,'Người tìm việc','nguoi-tim-viec',[21,'Giám đốc, Kỹ sư','giam-doc-ky-su',null,22,'Thư ký, Kế toán','thu-ky-ke-toan',null,23,'Quản lý, Trưởng phòng','quan-ly-truong-phong',null,24,'Bác sĩ, NV Y Dược','bac-si-nv-y-duoc',null,25,'NV VP, khối Kinh tế - Xã hội','nv-vp-khoi-kinh-te-xa-hoi',null,26,'NV Kỹ thuật điện, điện tử, CNTT','nv-ky-thuat-dien-dien-tu',null,27,'NV Kỹ thuật in, Thiết kế Mỹ thuật','nv-ky-thuat-in-thiet-ke-my-thuat',null,28,'NV KD, phát triển thị trường','nv-kd-phat-trien-thi-truong',null,29,'NV Tư vấn','nv-tu-van',null,30,'Giáo viên, gia sư','giao-vien-gia-su',null,187,'NV bán hàng','nv-ban-hang',null,188,'NV an ninh, bảo vệ','nv-an-ninh-bao-ve',null,189,'Công nhân viên ngành may','cong-nhan-vien-nganh-may',null,190,'Nhân viên giao, chở hàng','nhan-vien-giao-cho-hang',null,191,'Pha chế, lễ tân, NV bếp NH, KS','pha-che-le-tan-nv-bep-nh-ks',null,192,'Bảo vệ, phục vụ, tạp vụ NH, KS','bao-ve-phuc-vu-tap-vu-nh-ks',null,193,'Nhiếp ảnh, Người mẫu, Diễn viên','nhiep-anh-nguoi-mau-dien-vien',null,194,'Massage, Thẩm mỹ','massage-tham-my',null,195,'Cắt tóc, gội đầu, làm móng','cat-toc-goi-dau-lam-mong',null,196,'Lái xe','lai-xe',null,197,'Người giúp việc, tạp vụ','nguoi-giup-viec-tap-vu',null,198,'Thợ mộc, XD, điện nước, cơ khí','tho-moc-xd-dien-nuoc-co-khi',null,199,'Lao động phổ thông các nghề','lao-dong-pho-thong-cac-nghe',null,201,'Các tổ chức tìm việc','cac-to-chuc-tim-viec',null,200,'Ngành nghề khác','nganh-nghe-khac',null],31,'Dịch vụ lao động','dich-vu-lao-dong',null,177,'Việc làm khác','viec-lam-khac',null],32,'Tuyển sinh - Đào tạo','tuyen-sinh-dao-tao',[40,'Tuyển sinh','tuyen-sinh',null,41,'Đào tạo','dao-tao',null,160,'Du học','du-hoc',null,162,'Khác','khac',null],33,'Bất động sản','bat-dong-san',[42,'Nhượng QSD đất','nhuong-qsd-dat',null,43,'Bán nhà','ban-nha',null,44,'Sang Kiốt - Cửa hàng','sang-kiot-cua-hang',null,46,'Cho thuê nhà đất','cho-thue-nha-dat',null,45,'Cần mua nhà đất','can-mua-nha-dat',null,559,'Cần thuê nhà đất','can-thue-nha-dat',null,47,'Dịch vụ nhà đất','dich-vu-nha-dat',null,1614,'Nhà cho sinh viên thuê','nha-cho-sinh-vien-thue',null,169,'Bất động sản khác','bat-dong-san-khac',null],34,'Ô tô','o-to',[103,'Bán Ô tô','ban-o-to',[204,'BMW','bmw',[843,'1 SERIES','1-series',null,844,'3 SERIES','3-series',null,845,'5 SERIES','5-series',null,846,'6 SERIES','6-series',null,847,'7 SERIES','7-series',null,848,'M SERIES','m-series',null,849,'X SERIES','x-series',null,850,'Z SERIES','z-series',null,1501,'BMW khác','bmw-khac',null],208,'CHEVROLET','chevrolet',[876,'ALERO','alero',null,877,'ASTRO','astro',null,878,'AVALANCHE','avalanche',null,879,'AVEO','aveo',null,880,'CAMARO','camaro',null,881,'CAPTIVA','captiva',null,882,'COBALT','cobalt',null,883,'EQUINOX','equinox',null,884,'LHS','lhs',null,885,'MAX','max',null,886,'SPARK','spark',null,887,'VIVANT','vivant',null,1505,'CHEVROLET khác','chevrolet-khac',null],211,'DAEWOO','daewoo',[927,'CIELO','cielo',null,931,'GENTRA','gentra',null,933,'LACETTI','lacetti',null,934,'LANOS','lanos',null,936,'MAGNUS','magnus',null,937,'MATIZ','matiz',null,941,'NUBIRA','nubira',null,928,'DAMAS','damas',null,929,'ESPERO','espero',null,930,'EVANDA','evanda',null,932,'KALOS','kalos',null,935,'LEGANZA','leganza',null,938,'MUSSO','musso',null,939,'NAKED','naked',null,940,'NEXIA','nexia',null,942,'PIZAR','pizar',null,943,'PRINCE','prince',null,944,'RACER','racer',null,945,'REZZO','rezzo',null,946,'SPARK','spark',null,947,'TAKUMA','takuma',null,948,'TICO','tico',null,1508,'DAEWOO khác','daewoo-khac',null],214,'FIAT','fiat',[992,'SIENA','siena',null,993,'TEMPRA','tempra',null,974,'242','242',null,975,'500','500',null,976,'ALBEA','albea',null,977,'BARCHETTA','barchetta',null,978,'BRAVA','brava',null,979,'BRAVO','bravo',null,980,'COUPE','coupe',null,981,'CROMA','croma',null,982,'DUCATO','ducato',null,983,'MAREA','marea',null,984,'MULTIPLA','multipla',null,985,'PALIO','palio',null,986,'PANDA','panda',null,987,'PUNTO','punto',null,988,'REGATA','regata',null,989,'RITMO','ritmo',null,990,'SCUDO','scudo',null,991,'SEICENTO','seicento',null,994,'TIPO','tipo',null,995,'UNO','uno',null,1511,'FIAT khác','fiat-khac',null,1625,'DOBLO','DOBLO',null],419,'FORD','ford',[1006,'ESCAPE','escape',null,1008,'EVEREST','everest',null,1015,'FOCUS','focus',null,1023,'LASER','laser',null,1025,'MONDEO','mondeo',null,1026,'MUSTANG','mustang',null,1030,'RANGER','ranger',null,1034,'SIERRA','sierra',null,1036,'TAURUS','taurus',null,1040,'TRANSIT','transit',null,996,'AEROSTAR','aerostar',null,997,'BRONCO','bronco',null,998,'C-MAX','c-max',null,999,'CAPRI','capri',null,1000,'CONSUL','consul',null,1001,'CONTOUR','contour',null,1002,'COUGAR','cougar',null,1003,'CROWN VICTORIA','crown-victoria',null,1004,'ECONOLINE','econoline',null,1005,'EDGE','edge',null,1007,'ESCORT','escort',null,1009,'EXCURSION','excursion',null,1010,'EXPEDITION','expedition',null,1011,'EXPLORER','explorer',null,1012,'F-150','f-150',null,1013,'FIESTA','fiesta',null,1014,'FIVE HUNDRED','five-hundred',null,1016,'FREESTAR','freestar',null,1017,'FREESTYLE','freestyle',null,1018,'FUSION','fusion',null,1019,'GALAXY','galaxy',null,1020,'GRANADA','granada',null,1021,'GT','gt',null,1022,'KA','ka',null,1024,'MAVERICK','maverick',null,1027,'ORION','orion',null,1028,'PROBE','probe',null,1029,'PUMA','puma',null,1031,'S-MAX','s-max',null,1032,'SCORPIO','scorpio',null,1033,'SHELBY','shelby',null,1035,'TAUNUS','taunus',null,1037,'TEMPO','tempo',null,1038,'THUNDERBIRD','thunderbird',null,1039,'TOURNEO CONNECT','tourneo-connect',null,1041,'WINDSTAR','windstar',null,1512,'FORD khác','ford-khac',null],215,'HYUNDAI','hyundai',[1083,'ACCENT','accent',null,1084,'ATOS','atos',null,1085,'AVANTE','avante',null,1086,'CENTENNIAL','centennial',null,1087,'CLICK','click',null,1088,'COUNTY','county',null,1089,'COUPE','coupe',null,1090,'ELANTRA','elantra',null,1091,'EQUUS','equus',null,1092,'GALLOPER','galloper',null,1093,'GENESIS COUPE','genesis-coupe',null,1094,'GENESIS SEDAN','genesis-sedan',null,1095,'GETZ','getz',null,1096,'GRANDEUR','grandeur',null,1097,'H-1 STAREX','h-1-starex',null,1098,'H100','h100',null,1099,'i30','i30',null,1100,'INNOVATION','innovation',null,1101,'LAVITA','lavita',null,1102,'MARCIA','marcia',null,1103,'MATRIX','matrix',null,1104,'MIGHTY','mighty',null,1105,'NF','nf',null,1106,'PONY','pony',null,1107,'SANTA FE','santa-fe',null,1108,'SANTAMO','santamo',null,1109,'SONATA','sonata',null,1110,'SPACE','space',null,1111,'STAREX','starex',null,1112,'TERRACAN','terracan',null,1113,'TIBURON','tiburon',null,1114,'TRAJET','trajet',null,1115,'TUCSON','tucson',null,1116,'TUSCANI','tuscani',null,1117,'VERACRUZ','veracruz',null,1118,'VERNA','verna',null,1119,'XG','xg',null,1515,'HYUNDAI khác','hyundai-khac',null],648,'ISUZU','isuzu',[1131,'ASCENDER','ascender',null,1132,'ASKA','aska',null,1133,'AXIOM','axiom',null,1134,'BIGHORN','bighorn',null,1135,'CAMPO','campo',null,1136,'D-MAX','d-max',null,1137,'GEMINI','gemini',null,1138,'HI-LANDER','hi-lander',null,1139,'RODEO','rodeo',null,1140,'TROOPER','trooper',null,1141,'VEHICROSS','vehicross',null,1142,'WIZARD','wizard',null,1143,'X-TREME','x-treme',null,1517,'ISUZU khác','isuzu-khac',null],650,'KIA','kia',[1156,'CARNIVAL','carnival',null,1160,'FORTE','forte',null,1161,'JOICE','joice',null,1164,'MORNING','morning',null,1167,'PICANTO','picanto',null,1169,'PRIDE','pride',null,1176,'SPECTRA','spectra',null,1152,'AVELLA','avella',null,1153,'BONGO','bongo',null,1154,'CAPITAL','capital',null,1155,'CARENS','carens',null,1157,'CARRENS','carrens',null,1158,'CERATO','cerato',null,1159,'CLARUS','clarus',null,1162,'K2700','k2700',null,1163,'MAGENTIS','magentis',null,1165,'OPIRUS','opirus',null,1166,'OPTIMA','optima',null,1168,'PREGIO','pregio',null,1170,'RETONA','retona',null,1171,'RIO','rio',null,1172,'SEDONA','sedona',null,1173,'SEPHIA','sephia',null,1174,'SORENTO','sorento',null,1175,'SOUL','soul',null,1177,'SPORTAGE','sportage',null,1615,'CD5','cd5',null,1519,'KIA khác','kia-khac',null],657,'MAZDA','mazda',[1206,'121','121',null,1207,'2','2',null,1208,'3','3',null,1209,'323','323',null,1210,'5','5',null,1211,'6','6',null,1212,'626','626',null,1213,'929','929',null,1214,'ATENZA','atenza',null,1215,'AXELA','axela',null,1216,'B-SERIE','b-serie',null,1217,'BONGO','bongo',null,1218,'BT-50','bt-50',null,1219,'C KLASSE','c-klasse',null,1220,'CAPELLA','capella',null,1221,'CRONOS','cronos',null,1222,'CX-7','cx-7',null,1223,'CX-9','cx-9',null,1224,'DEMIO','demio',null,1225,'FAMILIA','familia',null,1226,'LANTIS','lantis',null,1227,'LUCE','luce',null,1228,'MILLENIA','millenia',null,1229,'MPV','mpv',null,1230,'MX-3','mx-3',null,1231,'MX-5','mx-5',null,1232,'MX-6','mx-6',null,1233,'PREMACY','premacy',null,1234,'PROTEGE','protege',null,1235,'ROADSTER','roadster',null,1236,'RX-7','rx-7',null,1237,'RX-8','rx-8',null,1238,'TRIBUTE','tribute',null,1239,'VERISA','verisa',null,1240,'XEDOS 6','xedos-6',null,1241,'XEDOS 9','xedos-9',null,1526,'MAZDA khác','mazda-khac',null],658,'MERCEDES','mercedes',[1242,'A CLASS','a-class',null,1243,'B CLASS','b-class',null,1244,'C CLASS','c-class',null,1245,'CL CLASS','cl-class',null,1246,'CLK CLASS','clk-class',null,1247,'CLS CLASS','cls-class',null,1248,'E CLASS','e-class',null,1249,'G CLASS','g-class',null,1250,'GL CLASS','gl-class',null,1251,'ML CLASS','ml-class',null,1252,'R CLASS','r-class',null,1253,'S CLASS','s-class',null,1254,'SL CLASS','sl-class',null,1255,'SLK CLASS','slk-class',null,1256,'SLR','slr',null,1257,'SMART','smart',null,1258,'SPRINTER','sprinter',null,1259,'V CLASS','v-class',null,1527,'MERCEDES khác','mercedes-khac',null,1626,'MB140','MB140',null],660,'MITSUBISHI','mitsubishi',[1262,'3000 GT','3000-gt',null,1263,'AIRTREK','airtrek',null,1264,'ASPIRE','aspire',null,1265,'CARISMA','carisma',null,1266,'CHALLENGER','challenger',null,1267,'CHARIOT','chariot',null,1268,'COLT','colt',null,1269,'DELICA','delica',null,1270,'DIAMANTE','diamante',null,1271,'DION','dion',null,1272,'ECLIPSE','eclipse',null,1273,'EK WAGON','ek-wagon',null,1274,'ENDEAVOR','endeavor',null,1275,'FTO','fto',null,1276,'GALANT','galant',null,1277,'GRANDIS','grandis',null,1278,'GTO','gto',null,1279,'JOLIE','jolie',null,1280,'L 200','l-200',null,1281,'LANCER','lancer',null,1282,'LEGNUM','legnum',null,1283,'LIBERO','libero',null,1284,'MIRAGE','mirage',null,1285,'MONTERO','montero',null,1286,'OUTLANDER','outlander',null,1287,'PAJERO','pajero',null,1288,'PROTON','proton',null,1289,'RVR','rvr',null,1290,'SAVRIN','savrin',null,1291,'SIGMA','sigma',null,1292,'SPACE','space',null,1293,'STARION','starion',null,1294,'TOPPO','toppo',null,1295,'TOWN BOX','town-box',null,1296,'TRITON','triton',null,1297,'ZINGER','zinger',null,1529,'MITSUBISHI khác','mitsubishi-khac',null,1627,'L300','L300',null],661,'NISSAN','nissan',[1309,'BLUEBIRD','bluebird',null,1318,'FRONTIER','frontier',null,1298,'100 NX','100-nx',null,1299,'200 SX','200-sx',null,1300,'280 ZX','280-zx',null,1301,'300 ZX','300-zx',null,1302,'350Z','350z',null,1303,'AD','ad',null,1304,'ALMERA','almera',null,1305,'ALTIMA','altima',null,1306,'ARMADA','armada',null,1307,'AVENIR','avenir',null,1308,'BASSARA','bassara',null,1310,'CEDRIC','cedric',null,1311,'CEFIRO','cefiro',null,1312,'CIMA','cima',null,1313,'CUBE','cube',null,1314,'DATSUN','datsun',null,1315,'ELGRAND','elgrand',null,1316,'EXERT','exert',null,1317,'FAIRLADY','fairlady',null,1319,'GLORIA','gloria',null,1320,'KING CAB','king-cab',null,1321,'LARGO','largo',null,1322,'LAUREL','laurel',null,1323,'LEOPARD','leopard',null,1324,'LIBERTY','liberty',null,1325,'MARCH','march',null,1326,'MAXIMA','maxima',null,1327,'MICRA','micra',null,1328,'MISTRAL','mistral',null,1329,'MOCO','moco',null,1330,'MURANO','murano',null,1331,'NAVARA','navara',null,1332,'NOTE','note',null,1333,'PATHFINDER','pathfinder',null,1334,'PATROL','patrol',null,1335,'PICK UP','pick-up',null,1336,'PRAIRIE','prairie',null,1337,'PRESAGE','presage',null,1338,'PRESEA','presea',null,1339,'PRIMERA','primera',null,1340,'PULSAR','pulsar',null,1341,'QASHQAI','qashqai',null,1342,'QUEST','quest',null,1343,'R NESSA','r-nessa',null,1344,'ROGUE','rogue',null,1345,'SAFARI','safari',null,1346,'SENTRA','sentra',null,1347,'SERENA','serena',null,1348,'SILVIA','silvia',null,1349,'SKYLINE','skyline',null,1350,'STAGEA','stagea',null,1351,'STANZA','stanza',null,1352,'SUNNY','sunny',null,1353,'TEANA','teana',null,1354,'TERRANO','terrano',null,1355,'TIIDA','tiida',null,1356,'TINO','tino',null,1357,'TITAN','titan',null,1358,'URVAN','urvan',null,1359,'VANETTE','vanette',null,1360,'WINGROAD','wingroad',null,1361,'X-TERRA','x-terra',null,1362,'X-TRAIL','x-trail',null,1530,'NISSAN khác','nissan-khac',null],662,'PEUGEOT','peugeot',[1363,'1 SERIES','1-series',null,1364,'2 SERIES','2-series',null,1365,'3 SERIES','3-series',null,1366,'4 SERIES','4-series',null,1367,'6 SERIES','6-series',null,1368,'8 SERIES','8-series',null,1531,'PEUGEOT khác','peugeot-khac',null,1628,'505','505',null],668,'SUZUKI','suzuki',[1423,'AERIO','aerio',null,1424,'ALTO','alto',null,1425,'BALENO','baleno',null,1426,'CULTUS WAGON','cultus-wagon',null,1427,'ESCUDO','escudo',null,1428,'EVERY LANDY','every-landy',null,1429,'GORENZA','gorenza',null,1430,'GRAND VITARA','grand-vitara',null,1431,'IGNIS','ignis',null,1432,'JIMNY','jimny',null,1433,'KEI','kei',null,1434,'KIANA','kiana',null,1435,'SAMURAI','samurai',null,1436,'SIDEKICK','sidekick',null,1437,'SWIFT','swift',null,1438,'SX4','sx4',null,1439,'VERONA','verona',null,1440,'VITARA','vitara',null,1441,'WAGON','wagon',null,1537,'SUZUKI khác','suzuki-khac',null,1623,'CARRY','CARRY',null],670,'TOYOTA','toyota',[1445,'4RUNNER','4runner',null,1446,'ALTIS','altis',null,1448,'CAMRY','camry',null,1450,'COROLLA','corolla',null,1451,'CROWN','crown',null,1453,'FORTUNER','fortuner',null,1454,'HIACE','hiace',null,1455,'HIGHLANDER','highlander',null,1457,'INNOVA','innova',null,1458,'LAND CRUISER','land-cruiser',null,1461,'PREVIA','previa',null,1463,'SIENNA','sienna',null,1466,'VIOS','vios',null,1468,'YARIS','yaris',null,1469,'ZACE','zace',null,1447,'AVENSIS','avensis',null,1449,'CELICA','celica',null,1452,'ECHO','echo',null,1456,'HILUX','hilux',null,1459,'MATRIX','matrix',null,1460,'PRADO','prado',null,1462,'RAV 4','rav-4',null,1464,'SOLARA','solara',null,1465,'SUPRA','supra',null,1467,'WISH','wish',null,1539,'TOYOTA khác','toyota-khac',null,1620,'CORONA','CORONA',null,1622,'VENZA','VENZA',null,1629,'CRESSIDA','CRESSIDA',null,1631,'VAN','VAN',null],1597,'Xe tải, đầu kéo…','xe-tai-dau-keo',null,1494,'ASIA','asia',null,107,'ACURA','acura',[783,'CL','cl',null,784,'EL','el',null,785,'INTEGRA','integra',null,786,'MDX','mdx',null,787,'NSX','nsx',null,788,'RDX','rdx',null,789,'RL','rl',null,790,'RSX','rsx',null,791,'TL','tl',null,792,'TSX','tsx',null,1495,'ACURA khác','acura-khac',null],108,'ALFA ROMEO','alfa-romeo',[793,'145','145',null,794,'146','146',null,795,'147','147',null,796,'155','155',null,797,'156','156',null,798,'159','159',null,799,'164','164',null,800,'33','33',null,801,'66','66',null,802,'75','75',null,803,'ALFASUD','alfasud',null,804,'ALFETTA','alfetta',null,805,'BRERA','brera',null,806,'GT','gt',null,807,'GTV','gtv',null,808,'SIPDER','sipder',null,1497,'ALFA ROMEO khác','alfa-romeo-khac',null],109,'ASTON MARTIN','aston-martin',[809,'DB7','db7',null,810,'DB9','db9',null,811,'V12 VANQUISH','v12-vanquish',null,1498,'ASTON MARTIN khác','aston-martin-khac',null],202,'AUDI','audi',[813,'100','100',null,814,'200','200',null,815,'80','80',null,816,'90','90',null,817,'A2','a2',null,818,'A3','a3',null,819,'A4','a4',null,820,'A5','a5',null,821,'A6','a6',null,822,'A8','a8',null,823,'ALLROAD','allroad',null,824,'CABRIOLET','cabriolet',null,825,'COUPE','coupe',null,826,'Q7','q7',null,827,'R8','r8',null,828,'RS4','rs4',null,829,'RS6','rs6',null,830,'S2','s2',null,831,'S3','s3',null,832,'S4','s4',null,833,'S5','s5',null,834,'S6','s6',null,835,'S8','s8',null,836,'TT','tt',null,837,'V8','v8',null,1499,'AUDI khác','audi-khac',null],203,'BENTLEY','bentley',[838,'ARNAGE','arnage',null,839,'BROOKLANDS','brooklands',null,840,'CONTINENTAL','continental',null,841,'MULSANNE','mulsanne',null,842,'TURBO R','turbo-r',null,1500,'BENTLEY khác','bentley-khac',null],205,'BUICK','buick',[851,'CENTURY','century',null,852,'ENCLAVE','enclave',null,853,'LE SABRE','le-sabre',null,854,'PARK AVENUE','park-avenue',null,855,'RAINER','rainer',null,856,'REGAL','regal',null,857,'RENDEZVOUS','rendezvous',null,858,'RIVERA','rivera',null,859,'ROADMASTER','roadmaster',null,860,'SKYLARK','skylark',null,1502,'BUICK khác','buick-khac',null],206,'CADILLAC','cadillac',[861,'BLS','bls',null,862,'CTS','cts',null,863,'DE VILLE','de-ville',null,864,'ESCALADE','escalade',null,865,'FLEETWOOD','fleetwood',null,866,'SEVILLE','seville',null,867,'SRX','srx',null,868,'STS','sts',null,869,'XLR','xlr',null,1503,'CADILLAC khác','cadillac-khac',null],207,'CHERY','chery',[870,'AMULET','amulet',null,871,'FLAGCLOUD','flagcloud',null,872,'FORA','fora',null,873,'ORIENTAL SON','oriental-son',null,874,'SWEET QQ','sweet-qq',null,875,'TIGGO','tiggo',null,1504,'CHERY khác','chery-khac',null],209,'CHRYSLER','chrysler',[888,'300C','300c',null,889,'300M','300m',null,890,'CIRRUS','cirrus',null,891,'CONCORDE','concorde',null,892,'CROSSFIRE','crossfire',null,893,'DAYTONA SHELBY','daytona-shelby',null,894,'FIFTH AVENUE','fifth-avenue',null,895,'GRAND VOYAGER','grand-voyager',null,896,'INTREPID','intrepid',null,897,'LE BARDON','le-bardon',null,898,'NEON','neon',null,899,'NEW YORKER','new-yorker',null,900,'PACIFICA','pacifica',null,901,'PROWLER','prowler',null,902,'PT CRUISER','pt-cruiser',null,903,'SARATOGA','saratoga',null,904,'SEBRING','sebring',null,905,'STRATUS','stratus',null,906,'TOWN','town',null,907,'VIPER','viper',null,908,'VISION','vision',null,909,'VOYAGER','voyager',null,1506,'CHRYSLER khác','chrysler-khac',null],210,'CITROEN','citroen',[910,'BERLINGO','berlingo',null,911,'BX','bx',null,912,'C2','c2',null,913,'C3','c3',null,914,'C4','c4',null,915,'C5','c5',null,916,'C6','c6',null,917,'C8','c8',null,918,'CX','cx',null,919,'EVASION','evasion',null,920,'JUMPER','jumper',null,921,'JUMPY','jumpy',null,922,'SANTIA','santia',null,923,'SAXO','saxo',null,924,'X SARA','x-sara',null,925,'XM','xm',null,926,'ZX','zx',null,1507,'CITROEN khác','citroen-khac',null],212,'DAIHATSU','daihatsu',[949,'ALTIS','altis',null,950,'APPLAUSE','applause',null,951,'ATRAI','atrai',null,952,'BOON','boon',null,953,'CITIVAN','citivan',null,954,'COPEN','copen',null,955,'COURE','coure',null,956,'FEROZA','feroza',null,957,'MAX','max',null,958,'MIRA','mira',null,959,'MOVE','move',null,960,'ROCKY','rocky',null,961,'SIRION','sirion',null,962,'STORIA','storia',null,963,'TERIOS','terios',null,964,'YRV','yrv',null,1509,'DAIHATSU khác','daihatsu-khac',null],213,'FERRARI','ferrari',[965,'348','348',null,966,'360','360',null,967,'430','430',null,968,'599','599',null,969,'612 SCAGLIETTI','612-scaglietti',null,970,'ENZO','enzo',null,971,'F355','f355',null,972,'MARANELLO','maranello',null,973,'MONDIAL','mondial',null,1510,'FERRARI khác','ferrari-khac',null],420,'HONDA','honda',[1042,'ACCORD','accord',null,1046,'CITY','city',null,1047,'CIVIC','civic',null,1060,'LEGEND','legend',null,1043,'AIRWAVE','airwave',null,1044,'AVANCIER','avancier',null,1045,'CAPA','capa',null,1048,'CONCERTO','concerto',null,1049,'CR-V','cr-v',null,1050,'CRX','crx',null,1051,'DOMANI','domani',null,1052,'ELEMENT','element',null,1053,'FIT','fit',null,1054,'FR-V','fr-v',null,1055,'HR-V','hr-v',null,1056,'INSPIRE','inspire',null,1057,'INTEGRA','integra',null,1058,'JAZZ','jazz',null,1059,'LAGREAT','lagreat',null,1061,'LIFE','life',null,1062,'LOGO','logo',null,1063,'MOBILIO','mobilio',null,1064,'ODYSSEY','odyssey',null,1065,'ORTHIA','orthia',null,1066,'PARTNER','partner',null,1067,'PASSPORT','passport',null,1068,'PILOT','pilot',null,1069,'PRELUDE','prelude',null,1070,'RAFAGA','rafaga',null,1071,'RIDGELINE','ridgeline',null,1072,'S2000','s2000',null,1073,'SABER','saber',null,1074,'SHUTTLE','shuttle',null,1075,'SM-X','sm-x',null,1076,'STEPWGN','stepwgn',null,1077,'STREAM','stream',null,1078,'TORNEO','torneo',null,1079,'VIGOR','vigor',null,1513,'HONDA khác','honda-khac',null],421,'HUMMER','hummer',[1080,'H1','h1',null,1081,'H2','h2',null,1082,'H3','h3',null,1514,'HUMMER khác','hummer-khac',null],644,'INFINITI','infiniti-',[1120,'EX','ex',null,1121,'FX','fx',null,1122,'G20','g20',null,1123,'G35','g35',null,1124,'I30','i30',null,1125,'I35','i35',null,1126,'M35','m35',null,1127,'M45','m45',null,1128,'Q45','q45',null,1129,'QX4','qx4',null,1130,'QX56','qx56',null,1516,'INFINITI khác','infiniti--khac',null],649,'JAGUAR','jaguar',[1144,'S-TYPE','s-type',null,1145,'X-TYPE','x-type',null,1146,'XJ','xj',null,1147,'XJR','xjr',null,1148,'XJS COUPE','xjs-coupe',null,1149,'XJSC CONVERTIBLE','xjsc-convertible',null,1150,'XK 8','xk-8',null,1151,'XKR','xkr',null,1518,'JAGUAR khác','jaguar-khac',null],651,'LAMBORGHINI','lamborghini',[1178,'COUNTACH','countach',null,1179,'DIABLO','diablo',null,1180,'ESPADA','espada',null,1181,'GALLARDO','gallardo',null,1182,'LP 640','lp-640',null,1183,'MURCIELAgO','murcielago',null,1520,'LAMBORGHINI khác','lamborghini-khac',null],652,'LAND ROVER','land-rover',[1184,'DEFENDER','defender',null,1185,'DISCOVERY','discovery',null,1186,'FREELANDER','freelander',null,1187,'LAND ROVER','land-rover',null,1188,'RANGE ROVER','range-rover',null,1521,'LAND ROVER khác','land-rover-khac',null],653,'LEXUS','lexus',[1189,'ES SERIES','es-series',null,1190,'GS SERIES','gs-series',null,1191,'GX SERIES','gx-series',null,1192,'IS SERIES','is-series',null,1193,'LS SERIES','ls-series',null,1194,'LX SERIES','lx-series',null,1195,'RX SERIES','rx-series',null,1196,'SC SERIES','sc-series',null,1522,'LEXUS khác','lexus-khac',null],654,'LIFAN','lifan',[1197,'LIFAN 520','lifan-520',null,1523,'LIFAN khác','lifan-khac',null],655,'MASERATI','maserati',[1198,'3200 GT','3200-gt',null,1199,'4300 GT COUPE','4300-gt-coupe',null,1200,'BITURBO','biturbo',null,1201,'COUPE','coupe',null,1202,'GRANDSPORT','grandsport',null,1203,'GRANTURSIMO','grantursimo',null,1204,'QUATTROPORTE','quattroporte',null,1205,'SPYDER','spyder',null,1524,'MASERATI khác','maserati-khac',null],656,'MAYBACH','maybach',[1492,'57','57',null,1493,'62','62',null,1525,'MAYBACH khác','maybach-khac',null],659,'MINI','mini',[1260,'COOPER','cooper',null,1261,'ONE','one',null,1528,'MINI khác','mini-khac',null],663,'PORSCHE','porsche',[1369,'911','911',null,1370,'924','924',null,1371,'944','944',null,1372,'BOXSTER','boxster',null,1373,'CARRERA','carrera',null,1374,'CAYENNE','cayenne',null,1375,'CAYMAN','cayman',null,1532,'PORSCHE khác','porsche-khac',null],664,'RENAULT','renault',[1376,'11','11',null,1377,'19','19',null,1378,'21','21',null,1379,'25','25',null,1380,'9','9',null,1381,'AVANTIME','avantime',null,1382,'CLIO','clio',null,1383,'ESPACE','espace',null,1384,'KANGOO','kangoo',null,1385,'LAGUNA','laguna',null,1386,'LOGAN','logan',null,1387,'MASTER','master',null,1388,'MEGANE','megane',null,1389,'MODUS','modus',null,1390,'SAFRANE','safrane',null,1391,'SCENIC','scenic',null,1392,'SYMBOL','symbol',null,1393,'TRAFIC','trafic',null,1394,'TWINGO','twingo',null,1395,'VEL SATIS','vel-satis',null,1533,'RENAULT khác','renault-khac',null],665,'ROLLS-ROYCE','rolls-royce',[1396,'CORNICHE CABRIO','corniche-cabrio',null,1397,'PHANTOM','phantom',null,1398,'SILVER SERAPH','silver-seraph',null,1399,'SILVER SPUR','silver-spur',null,1534,'ROLLS-ROYCE khác','rolls-royce-khac',null],666,'SSANGYONG','ssangyong',[1400,'ACTYON','actyon',null,1401,'CHAIRMAN','chairman',null,1402,'FAMILY','family',null,1403,'ISTANA','istana',null,1404,'KORANDO','korando',null,1405,'KYRON','kyron',null,1406,'MUSSO','musso',null,1407,'REXTON','rexton',null,1408,'RODIUS','rodius',null,1535,'SSANGYONG khác','ssangyong-khac',null],667,'SUBARU','subaru',[1409,'B9 TRIBECA','b9-tribeca',null,1410,'BAJA','baja',null,1411,'FORESTER','forester',null,1412,'IMPREZA','impreza',null,1413,'JUSTY','justy',null,1414,'LEGACY','legacy',null,1415,'LEONE','leone',null,1416,'OUTBACK','outback',null,1417,'PLEO','pleo',null,1418,'R1','r1',null,1419,'R2','r2',null,1420,'SVX','svx',null,1421,'TRAVIQ','traviq',null,1422,'VIVIO','vivio',null,1536,'SUBARU khác','subaru-khac',null],669,'TATA','tata',[1442,'INDICA','indica',null,1443,'INDIGO','indigo',null,1444,'SAFARI','safari',null,1538,'TATA khác','tata-khac',null],671,'VOLKSWAGEN','volkswagen',[1470,'BORA','bora',null,1471,'CADDY','caddy',null,1472,'CORRADO','corrado',null,1473,'DERBY','derby',null,1474,'EOS','eos',null,1475,'FOX','fox',null,1476,'GOLF','golf',null,1477,'JETTA','jetta',null,1478,'NEW BEETLE','new-beetle',null,1479,'PASSAT','passat',null,1480,'PHAETON','phaeton',null,1481,'POINTER','pointer',null,1482,'POLO','polo',null,1483,'SANTANA','santana',null,1484,'SCIROCCO','scirocco',null,1485,'SHARAN','sharan',null,1486,'TARO','taro',null,1487,'TIGUAN','tiguan',null,1488,'TOUAREG','touareg',null,1489,'TOURAN','touran',null,1490,'VENTO','vento',null,1491,'W12','w12',null,1540,'VOLKSWAGEN khác','volkswagen-khac',null],672,'VOLVO','volvo',[1541,'VOLVO khác','volvo-khac',null],673,'Các hãng khác','cac-hang-khac',null],104,'Mua Ô tô','mua-o-to',null,105,'Cho thuê Ô tô','cho-thue-o-to',null,106,'Cần thuê Ô tô','can-thue-o-to',null,216,'Các phụ kiện Ô tô','cac-phu-kien-o-to',null,163,'Ô tô khác','o-to-khac',null],35,'Xe máy','xe-may',[110,'Bán xe','ban-xe',[721,'Aprilia','aprilia',null,722,'Bajaj','bajaj',null,723,'Daelim','daelim',null,724,'Honda','honda',[114,'@','@',null,734,'Air Blade','air-blade',null,116,'Astrea','astrea',null,738,'DD','dd',null,123,'Dream','dream',null,124,'Dylan','dylan',null,220,'Future','future',null,227,'LA','la',null,232,'PS','ps',null,233,'Rebel','rebel',null,742,'SCR','scr',null,234,'SH','sh',null,744,'SHi','shi',null,236,'Spacy','spacy',null,239,'Wave, Wave Alpha','wave-wave-alpha',null,240,'Win','win',null,735,'CB','cb',null,736,'CB Superpho','cb-superpho',null,737,'CM','cm',null,739,'GL Max','gl-max',null,222,'GL Pro','gl-pro',null,740,'Nova Dash','nova-dash',null,741,'Pantheon','pantheon',null,743,'Shadow','shadow',null,745,'Steed','steed',null,1616,'Click','click',null,1617,'Lead','lead',null,747,'Honda khác','khac',null,1618,'Cub các loại','Cub-cac-loai',null],725,'Kawasaki','kawasaki',[230,'Max','max',null,750,'Kawasaki','kawasaki',null,749,'Kawasaki khác','khac',null],726,'Peugeout','peugeout',null,727,'PGO','pgo',null,728,'Piaggio','piaggio',[217,'ET','et',null,218,'Excel','excel',null,753,'Fly','fly',null,754,'Gosa','gosa',null,224,'Grand','grand',null,228,'Liberty','liberty',null,755,'T5','t5',null,756,'Typhon','typhon',null,237,'Vespa','vespa',null,241,'X9','x9',null,242,'Zip','zip',null,757,'Piaggio khác','khac',null,1619,'LX','LX',null],729,'Suzuki','suzuki',[758,'Amity','amity',null,118,'Avenis','avenis',null,119,'Best','best',null,244,'Epicuro','epicuro',null,221,'FX','fx',null,223,'GN','gn',null,759,'Intruder','intruder',null,760,'Raider','raider',null,761,'RGV','rgv',null,762,'Vecstar','vecstar',null,238,'Viva','viva',null,763,'Suzuki khác','khac',null,1624,'Sky Drive','Sky-Drive',null,1632,'Hayate','Hayate',null],730,'SYM','sym',[115,'Angel','angel',null,117,'Attila','attila',null,225,'Husky','husky',null,229,'Magic','magic',null,1633,'Excell 150','excell',null,764,'SYM khác','khac',null],731,'Yamaha','yamaha',[765,'Bianco','bianco',null,121,'Cygnus','cygnus',null,766,'Exciter','exciter',null,767,'Flame','flame',null,219,'Force','force',null,226,'Jupiter','jupiter',null,245,'Majesty','majesty',null,768,'Maximo','maximo',null,769,'Mio','mio',null,231,'Nouvo','nouvo',null,235,'Sirius','sirius',null,770,'Virago','virago',null,771,'X1','x1',null,1634,'Taurus','taurus',null,773,'Yamaha khác','khac',null],243,'Xe các hiệu khác','xe-cac-hieu-khac',null],111,'Mua xe','mua-xe',null,112,'Cho thuê xe máy','cho-thue-xe-may',null,113,'Cần thuê xe máy','can-thue-xe-may',null,246,'Các phụ kiện xe máy','cac-phu-kien-xe-may',null,164,'Khác','khac',null],36,'Điện tử - Điện máy','dien-tu-dien-may',[125,'Máy vi tính','may-vi-tinh',[129,'Cần bán VT','can-ban-vt',null,130,'Cần mua VT','can-mua-vt',null,131,'Cho thuê VT','cho-thue-vt',null,132,'Cần thuê VT','can-thue-vt',null],126,'Điện thoại di động','dien-thoai-di-dong',[133,'Bán ĐTDĐ','ban-dtdd',null,134,'Bán SIM ĐTDĐ','ban-sim-dtdd',null,135,'Mua ĐTDĐ','mua-dtdd',null,171,'Dịch vụ ĐTDĐ','dich-vu-dtdd',null],127,'Hàng điện máy','hang-dien-may',[136,'Bán điện máy','ban-dien-may',null,137,'Mua điện máy','mua-dien-may',null,138,'Cho thuê điện máy','cho-thue-dien-may',null,139,'Cần thuê điện máy','can-thue-dien-may',null],165,'Khác','khac',null],37,'Đồ dùng - Mặt hàng khác','do-dung-mat-hang-khac',[144,'Đồ dùng gia đình','do-dung-gia-dinh',[146,'Bán đồ dùng gia đình','ban-do-dung-gia-dinh',null,147,'Mua đồ dùng gia đình','mua-do-dung-gia-dinh',null,247,'Cho thuê đồ dùng gia đình','cho-thue-do-dung-gia-dinh',null,248,'Cần thuê đồ dùng gia đình','can-thue-do-dung-gia-dinh',null],145,'Đồ dùng văn phòng','do-dung-van-phong',[148,'Bán đồ dùng văn phòng','ban-do-dung-van-phong',null,149,'Mua đồ dùng văn phòng','mua-do-dung-van-phong',null,170,'Cho thuê đồ dùng văn phòng','cho-thue-do-dung-van-phong',null,249,'Cần thuê đồ dùng văn phòng','can-thue-do-dung-van-phong',null],128,'Các mặt hàng khác','cac-mat-hang-khac',[140,'Bán các mặt hàng khác','ban-cac-mat-hang-khac',[166,'CD, phần mềm','cd-phan-mem',null,1600,'Sách vở, đồ dùng học tập','sach-vo-do-dung-hoc-tap',null,1601,'Nhạc cụ','nhac-cu',null,1602,'Thời trang, mỹ phẩm','thoi-trang-my-pham',null,1603,'Tranh, ảnh, đồ trang trí','tranh-anh-do-trang-tri',null,1604,'Thú nuôi, cây cảnh','thu-nuoi-cay-canh',null,1605,'Đồ cổ, sưu tập','do-co-suu-tap',null,1606,'Vé xe, tàu, máy bay','ve-xe-tau-may-bay',null,1607,'Đồ thể thao, Xe đạp, đồ chơi','do-the-thao-xe-dap-do-choi',null,1608,'Cổ phiếu, GPKD, đại lý','co-phieu-gpkd-dai-ly',null,1609,'Hàng hiếm','hang-hiem',null,1610,'Mặt hàng còn lại','mat-hang-con-lai',null],141,'Mua các mặt hàng khác','mua-cac-mat-hang-khac',null,142,'Cho thuê các mặt hàng khác','cho-thue-cac-mat-hang-khac',null,143,'Cần thuê các mặt hàng khác','can-thue-cac-mat-hang-khac',null]],38,'Tìm đối tác','tim-doi-tac',[150,'Đối tác trong nước','doi-tac-trong-nuoc',null,151,'Đối tác nước ngoài','doi-tac-nuoc-ngoai',null,167,'Khác','khac',null],39,'Dịch vụ','Dich-vu',[154,'Du lịch, KS, NH, vé máy bay','du-lich-ks-nh-ve-may-bay',null,155,'Xây dựng, Sửa chữa','dich-vu-xay-dung-sua-chua',[157,'Điện nước','dien-nuoc',null,159,'Điện tử, điện lạnh','dien-tu-dien-lanh',null,172,'Vệ sinh môi trường','ve-sinh-moi-truong',null,158,'Xây dựng, TTNT','xay-dung-ttnt',null],173,'In ấn, dịch thuật','in-an-dich-thuat',null,174,'Tư vấn, hướng dẫn','tu-van-huong-dan',null,175,'Thẩm mỹ, Y tế','tham-my-y-te',null,429,'Thiết kế Web, phần mềm','thiet-ke-web-phan-mem',null,430,'Chuyển nhà, dọn VP','chuyen-nha-don-vp',null,156,'Dịch vụ khác','dich-vu-khac',null],634,'Cộng đồng','cong-dong',[774,'Bố cáo thành lập, giải thể','bo-cao-thanh-lap-giai-the',null,635,'Thông báo đấu thầu','thong-bao-dau-thau',null,636,'Mất đồ, lạc giấy tờ','mat-do-lac-giay-to',null,777,'Kết bạn, câu lạc bộ','ket-ban-cau-lac-bo',null,776,'Nhắn tin, Lời cảm ơn','nhan-tin-loi-cam-on',null,778,'Sự kiện','su-kien',null,638,'Khác','khac',null]];
var mbn_root_image='/';
var ie_overLap=($.browser.msie && $.browser.version<7);
function getObj(id) {
    var d = document;
    return d.getElementById ? d.getElementById(id) : d.all ? d.all[id] : d.layers[id];
}
function GetParentNode(e, tagName) {
    var newE = e.parentNode;
    for (; (newE.tagName != tagName) && (newE != null); newE = newE.parentNode);
    return newE;
}
function setCookie(name, value, expires, path, domain, secure) {
    path = '/';
    //domain = '.muaban.net';
    var exdate = new Date();
    if (expires != null) {
        exdate.setDate(exdate.getDate() + expires);
    }
    document.cookie = name + "=" + escape(value) +
        ((expires) ? "; expires=" + exdate.toGMTString() : "") +
        ((path) ? "; path=" + path : "") +
        ((domain) ? "; domain=" + domain : "") +
        ((secure) ? "; secure" : "");
}
function getCookie(c_name) {
    if (document.cookie.length > 0) {
        c_start = document.cookie.indexOf(c_name + "=");
        if (c_start != -1) {
            c_start = c_start + c_name.length + 1;
            c_end = document.cookie.indexOf(";", c_start);
            if (c_end == -1) c_end = document.cookie.length;
            return unescape(document.cookie.substring(c_start, c_end));
        }
    }
    return ""
}
function setClassName(id, className) {
    var o = getObj(id);if (o) o.className = className;
}
function setFocusAndBlur(el,text) {
    $(el).focus(function() { $(this).css('color', ''); if (text == this.value) { $(this).val(''); } }).blur(function() { if (this.value == '' || this.value == text) { $(this).css('color', '#aaa').val(text); } }).attr('autocomplete', 'off').attr('tip', text);
}
function showMsg(msg) {
    var o = $('#showMsg');
    if (o!=null && o.length>0) o[0].innerHTML = msg; else alert(msg);
}
//Call: jsOnEnter('Button',elements);
function jsOnEnter(cmd, src) {
    $(src).bind('keypress', cmd, function(e) { if (e.keyCode != 13) return true; try { var o = $(e.data); if (!o[0].disabled) o.click(); } catch (ex) { } return false; });
}

function buttonHover() {
    var pos=arguments[0];
    for (var i = 1; i < arguments.length; i++) {
        $('#' + arguments[i]).hover(function() { $(this).css('background-position', pos); }, function() { $(this).css('background-position', '0px 0px'); })
    }
}
function maxLength(el, len) {
    var v = el.val(); if (v.length > len) { el.val(v.substring(0, len)); return false; } return true;
}

function clearCombo(cbo) {
    for (; cbo.options.length > 1; ) {
        cbo.remove(cbo.options.length - 1);
    }
}
function fillCombo(cbo, arr, colId, colName, skip) {
    for (var i = 0; i < arr.length; i += skip) {
        cbo.options[cbo.options.length] = new Option(arr[i + colName], arr[i + colId], false);
    }
}
function formatNumber(v, dv) {
    v = v * parseInt('1' + dv, 10);
    var r = '   ' + v;
    r = r.substr((r.length % 3));
    var result = '';
    for (var i = 0; i < r.length; i += 3) {
        result += (result == '' ? '' : '.') + r.substr(i, 3).trim();
    }
    return result;
}
/*Search:Begin*/
var j_search_q, j_search_cat, j_search_min, j_search_max, j_search_currency, j_search_all;
function fillSearchCategory(el, parentIds, parentIndex) {
    if (arrCategory == null) return;
    fillSearchCategoryLevel($(el)[0], parentIds, parentIndex, arrCategory, 0, 1, arrCategoryLen);
}
function fillSearchCategoryLevel(cbo, parentIds, parentIndex, arr, colId, colName, skip) {
    if (arr == null) return;
    var selectedId = (parentIds && parentIds.length > 0 ? parentIds[parentIndex] : 0);
    var prefix = (parentIndex<=0?'':'+ + + + + + + + + + + + '.substr(0,parentIndex*2));
    for (var i = 0; i < arr.length; i += skip) {
        cbo.options[cbo.options.length] = new Option(prefix + arr[i + colName], arr[i + colId], false);
        if (selectedId == arr[i + colId]) {
            fillSearchCategoryLevel(cbo, parentIds, parentIndex + 1, arr[i + 3], colId, colName, skip)
        }
    }
}
function initSearchValue(v1, v2, v3, v4, v5, v6) {
    j_search_q = $('#q');
    j_search_cat = $('#ddlCat');
    j_search_min = $('#minPrice');
    j_search_max = $('#maxPrice');
    j_search_currency = $('#ddlPrice');
    j_search_all = $('#allCity');

    if (v1) j_search_q.css('color', '').val(v1);
    if (v2) j_search_cat.css('color', '').val(v2);
    if (v3) j_search_min.css('color', '').val(v3);
    if (v4) j_search_max.css('color', '').val(v4);
    if (v5) j_search_currency[0].selectedIndex = v5;
    if (v6) j_search_all.attr('checked', 'checked');
}
function getSearchString(el) {
    return (el.val() == el.attr('tip') ? '' : el.val());
}
function getSearchFloat(el) {
    return parseFloat('0' + (el.val() == el.attr('tip') ? '' : el.val().replace(',', '.')), 10);
}
function getSearchDropdown(el, val) {
    return (el.val() == '0' ? '' : (val ? el.val() : el.find('option:selected').text()));
}
function compileSearch(flagSearch) {
    var q = getSearchString(j_search_q);
    var c = getSearchDropdown(j_search_cat);
    var min = getSearchFloat(j_search_min);
    var max = getSearchFloat(j_search_max);
    var dv = getSearchString(j_search_currency);
    var tq = j_search_all.is(':checked');
    if (min > max) max = 0;
    var s = '';
    if (flagSearch) {
        s = 'q=' + encodeURIComponent(q);
        s += '&cat=' + (c == '' ? '' : j_search_cat.val());
        s += '&min=' + (min > 0 ? formatNumber(min, dv) : '');
        s += '&max=' + (max > 0 ? formatNumber(max, dv) : '');
        s += '&all=' + (tq ? '1' : '0');
        if (q == '' && c == '' && min <= 0 && max <= 0) {
            s = '';
            $('#filterText').html('<span style="color:red">Chưa nhập nội dung tìm kiếm.</span>').css('display', 'block');
            j_search_q.focus();
        }
    } else {
        if (q != '') s += 'Nội dung tìm: <b>' + q + '</b>';
        if (c != '') s += (s == '' ? '' : ', ') + 'Hạng mục: <b>' + c + '</b>';
        if (min > 0 || max > 0) s += (s == '' ? '' : ', ') + 'Giá (VND): <b>';
        if (min > 0 && max > 0) {
            s += (min > 0 ? formatNumber(min, dv) : '') + (min > 0 && max > 0 ? ' - ' : '') + (max > 0 ? formatNumber(max, dv) : '') + '</b>';
        } else if (min > 0) {
            s += '>= ' + formatNumber(min, dv);
        } else if (max > 0) {
            s += '<= ' + formatNumber(max, dv);
        }
        if (min > 0 || max > 0) s += '</b>';
        if (tq) s += (s == '' ? '' : ', ') + '<span class="checkedRight" style="width:90px">Toàn quốc:</span>';
        $('#filterText').html(s).css('display','block');
    }
    return s;
}
function doSearch() {
    var q = compileSearch(true);
    if (q == '') return false;
    var url = mbnVirtualPath + 'raovat/tim-kiem.html?' + q;
    window.location.replace(url);
}
function doSearchCode() {
    var code = getSearchString($('#qID'));
    if (code == '') return;
    MBN.Web.Views.Shared.MBNService.ClassifiedSearch(code, function(v) { if (v) window.location.replace(v); else alert('Mã tin này không tồn tại hoặc chưa được duyệt đăng.'); });
}
/*Search:End*/

/*Listing:begin*/
function showFilterDistrictFull(e,el) {
    var elements = $(el);
    for (var i = 0; i < elements.length; i++) {
        $(elements[i]).css('display', '');
    }
    $(elements[elements.length - 1]).css('display', 'none');
}
function showFilterDistrict(cityId, cityUrl, districtId, el, notSepa) {
    if (cityId == null || arrCity == null) return;
    var arrDistrict = new Array();
    // get array district
    for (var i = 0; i < arrCity.length; i += arrCityLen) {
        if (arrCity[i] == cityId) { arrDistrict = arrCity[i + 4]; break; }
    }
    if (arrDistrict == null || arrDistrictTotal == null) return;

    var sepa = (notSepa ? '' : '-'); 
    var district_total = 0;
    var filter_total = 0;
    var s = '<ul class="stylenone">';
    s += '<li style="padding:1px 1px 3px 8px;border-bottom:dotted 1px #dbdbdb;"><a class="a8" href="' + cityUrl.replace(/\{0\}/, '') + '"' + (0 == districtId ? 'style="font-weight:bold;color:#ca0000"' : '') + '>Tất cả <span style="color:gray">(' + arrDistrictTotal['C0'] + ')</span></a></li>';
    for (var i = 0; i < arrDistrict.length; i += arrCityLen) {
        district_total = arrDistrictTotal['C' + arrDistrict[i]];
        if (!district_total) continue;
        
        s += '<li style="padding:1px 1px 3px 8px;border-bottom:dotted 1px #dbdbdb;' + ((i / arrCityLen) < 100 || (arrDistrict[i] == districtId) ? '' : 'display:none;') + '">';
        s += '<a class="a8" href="' + cityUrl.replace('{0}', sepa + arrDistrict[i]) + '"' + (arrDistrict[i] == districtId ? 'style="font-weight:bold;color:#ca0000"' : '') + '>' + arrDistrict[i + 1] + ' <span style="color:gray">(' + district_total + ')</span></a>';
        s += '</li>';
        filter_total++;
    }
    district_total = arrDistrictTotal['C' + cityId];
    if (district_total) {
        //s += '<li style="padding:1px 1px 3px 8px;' + ((cityId == districtId) ? '' : 'display:none;') + '">';
        s += '<li style="padding:1px 1px 3px 8px;">';
        s += '<a class="a8" href="' + cityUrl.replace('{0}', sepa + cityId) + '"' + (cityId == districtId ? 'style="font-weight:bold;color:#ca0000"' : '') + '>Khác <span style="color:gray">(' + district_total + ')</span></a>';
        s += '</li>';
    }
    if (filter_total > 10) {
        // s += '<li style="padding:2px 1px 3px 8px;"><a class="a8 arrow" href="javascript:void(0)" onclick="showFilterDistrictFull(this,\'' + el + ' LI\');" onmouseover="setTimeout(showFilterDistrictFull(this,\'' + el + ' LI\'), 4000);"><b>Xem thêm</b>&nbsp;</a></li>';
    }
    s += '</ul>';
    $(el).html(s);
}
function showFilterCategory(parentIds, url, selectedId, el, displayCols) {
    if (parentIds == null || arrCategory == null || arrCategoryTotal == null) return;
    
    var arrChild = arrCategory;
    for (var j = 0; j < parentIds.length; j++) {
        var parentId = parentIds[j];
        for (var i = 0; i < arrChild.length; i += arrCategoryLen) {
            if (arrChild[i] == parentId) { arrChild = arrChild[i + arrCategoryLen - 1]; break; }
        }
    }
    if (arrChild == null) return;
    var cat_total = 0;
    var filter_total = 0;
    var s = '<div style="border:solid 1px #dbdbdb;"><table cellspacing="2" cellpadding="0" border="0"> ';
    var cols = 0;
    var rows = 0;
    for (var i = 0; i < arrChild.length; i += arrCategoryLen) {
        cat_total = arrCategoryTotal['C' + arrChild[i]];
        if (!cat_total) continue;
        
        if (cols >= displayCols) cols = 0;
        if (cols == 0) rows++;
        s += (cols == 0 ? '<tr' + (rows <= 30 || (arrChild[i] == selectedId) ? '' : ' style="display:none;"') + '>' : '');
        s += '<td style="width:195px;padding:3px 0px 3px 3px;">';
        s += '<a class="a8" href="' + url.replace('{0}', arrChild[i]).replace('{1}', arrChild[i + 2]) + '" style="display:block;"' + (arrChild[i] == selectedId ? 'color:red;' : '') + '>' + arrChild[i + 1] + ' <span style="color:gray">(' + cat_total + ')</span></a>';
        s += '</td>';
        s += (cols == displayCols ? '</tr>' : '');
        cols++;
    }
    while (cols < displayCols) {
        s += '<td style="width:195px;padding:3px 0px 3px 3px;">&nbsp;</td>';
        cols++;
        if (cols == displayCols) s += '</tr>';
    }

    if (rows > 30) s += '<tr><td colspan="' + displayCols + '" style="padding:3px 0px 3px 3px;"><a class="a8 arrow" href="javascript:void(0)" onclick="showFilterDistrictFull(this,\'' + el + ' TR\');">Các hạng mục khác</a></td></tr>';
    s += '</table></div>';
    $(el).html(s);
}
function alternateRow(el, odd, even) {
    if (odd) $(el + ' tr:odd').addClass('tr_odd');
    if (even) $(el + ' tr:even').addClass('tr_even');
} 
/*Listing:end*/
function showShortcutCity() {
    if (arrCity != null) {
        var s = '<table cellspacing="2" cellpadding="0" border="0" style="font-family:tahoma;font-size:10pt">';
        var colIndex = 0;
        for (var i = 0; i < arrCity.length; i += 5) {
            if (colIndex == 0) s += '<tr>';
            s += '<td width="125px"><a class="ablack" href="' + mbnAppPath + arrCity[i + 2] + '.html" ' + (i/5<5?'style="font-weight:bold;"':'') + '>' + arrCity[i + 1] + '</a></td>';
            colIndex++;
            if (colIndex == 8) {
                s += '</tr>';
                colIndex = 0;
            }
        }
        if (colIndex>0)for (var i = colIndex; i < 8; i++) s += '<td>&nbsp;</td>';
        s += '</table>';
    }
    document.write(s);
}
function loadCityPopup(el,url) {
    var arr = arrCity;
    var CurCat = url;

    var arrCity1 = new Object();
    for (var i = 0; i < arr.length; i += 5) {
        arrCity1[arr[i]] = i;
    }
    var maxArrLength = 0;
    if (arrCityArea1) maxArrLength = Math.max(maxArrLength, arrCityArea1.length);
    if (arrCityArea2) maxArrLength = Math.max(maxArrLength, arrCityArea2.length);
    if (arrCityArea3) maxArrLength = Math.max(maxArrLength, arrCityArea3.length);
    var arrCityArea = new Array();
    arrCityArea[0] = arrCityArea2; arrCityArea[1] = arrCityArea3; arrCityArea[2] = arrCityArea1;
    var sb = '<table width="100%">';
    var cols = 0;
    var i = 0;
    var cityId;
    for (var j = 0; j < maxArrLength; j++) {
        sb += '<tr>';
        for (var k = 0; k < 3; k++) {
            if (j < arrCityArea[k].length) {
                cityId = arrCityArea[k][j];
                i = arrCity1[cityId];
                sb += '<td width="30" style="color:gray">' + arrCitySms[cityId] + '</td>';
                sb += '<td' + ((arr[i + 3] & 1) > 0 ? ' style="font-weight:bold"' : '') + '><a href="' + CurCat.replace('{0}', arr[i + 2]) + '">' + arr[i + 1] + '</a></td>';
            } else {
                sb += '<td>&nbsp;</td><td>&nbsp;</td>';
            }
        }
        sb += '</tr>';
    }
    sb += '</table>';
    $(el).html(sb);
}
/*********************TopMenu****************************/
; (function($) {
    $.fn.dropDownMenu = function(options) {
        var menus = new Array();
        var css;
        var tag;
        var internal;
        var timeout;

        var timeoutRoot;
        var mouse_leave = true;

        var settings = $.extend({
            timer: 150,
            parentMO: null,
            childMO: null,
            levels: [],
            parentTag: 'ul',
            childTag: 'ul',
            tags: [],
            numberOfLevels: 3
        }, options || {});

        // Set number of levels
        if (settings.tags.length > 0) {
            settings.numberOfLevels = settings.tags.length;
        } else if (settings.levels.length) {
            settings.numberOfLevels = settings.levels.length;
        }

        // Set css levels with childMO
        if (settings.childMO) {
            for (var i = 0; i < settings.numberOfLevels; i++) settings.levels[i] = settings.childMO;
        }

        // Set tag levels with tag
        if (settings.tags.length < 1) {
            for (var i = 0; i < settings.numberOfLevels; i++) settings.tags[i] = settings.childTag;
        }

        // Run through each level
        menus[0] = $(this).children('li');
        for (var i = 1; i < settings.numberOfLevels + 2; i++) {
            // Tags/CSS
            css = (i == 1) ? settings.parentMO : settings.levels[i - 2];
            tag = (i == 1) ? settings.parentTag : settings.tags[i - 2];

            // level selector
            menus[i] = menus[i - 1].children(settings.tag).children('li');

            // root level
            if (i == 1) {
                menus[i - 1].attr('zindex', i);
            }
            // Action
            menus[i - 1].attr({ rel: css + ';' + tag }).mouseover(function(event) {
                if (timeout) clearTimeout(timeout);
                if (timeoutRoot) clearTimeout(timeoutRoot);

                var $$ = $(this);
                mouse_leave = false;

                var needShow = true;
                if ($$.attr('zindex')) {
                    needShow = false;
                    timeoutRoot = setTimeout(function() {
                        if (mouse_leave) return;
                        internal = $$.attr("rel").split(";");
                        $$.siblings('li').children('a').removeClass(internal[0]).siblings(internal[1]).hide();
                        $$.children('a').addClass(internal[0]).siblings(internal[1]).show();
                        // check show right
                        try{
                            var v = viewport();
                            var aOffset = $$.children('a').offset();
                            var a2 = $$.children('a').addClass(internal[0]).siblings(internal[1]);
                            if (v.x + v.cx < aOffset.left + a2[0].offsetWidth) {
                                a2.css({ left: aOffset.left + $$.children('a')[0].offsetWidth - a2[0].offsetWidth });
                                //a2.css({ left: aOffset.left - (aOffset.left + a2[0].offsetWidth - (v.x + v.cx)) - 20 });
                            } else {
                                a2.css({ left: 'auto' });
                            }
                        }catch(ee){
                        }
                        if (ie_overLap) {
                            var overLapIFrame = $$.siblings('li').children('iframe');
                            if (overLapIFrame) overLapIFrame.css('display', 'none');
                            overLap($$.children('a').next('ul'));
                        }
                    }, 130);
                }
                if (needShow) {
                    internal = $$.attr("rel").split(";");
                    $$.siblings('li').children('a').removeClass(internal[0]).siblings(internal[1]).hide();
                    $$.children('a').addClass(internal[0]).siblings(internal[1]).show();
                    if (ie_overLap) {
                        var overLapIFrame = $$.siblings('li').children('iframe');
                        if (overLapIFrame) overLapIFrame.css('display', 'none');
                        overLap($$.children('a').next('ul'));
                    }
                }
            }).mouseout(function() {
                if (timeoutRoot) clearTimeout(timeoutRoot);
                mouse_leave = true;
                internal = $(this).attr("rel").split(";");
                if (internal[0] == settings.parentMO) {
                    timeout = setTimeout(function() { closemenu(); }, settings.timer);
                }
            });
        }

        // Allows user option to close menus by clicking outside the menu on the body
        $(document).click(function() { closemenu(); });

        // Closes all open menus
        var closemenu = function() {
            if (ie_overLap) $('.iframetop').css({ display: 'none' });
            for (var i = menus.length; i > -1; i--) {
                if (menus[i] && menus[i].attr("rel")) {
                    internal = menus[i].attr("rel").split(";");
                    menus[i].children(internal[1]).hide().siblings('a').removeClass(internal[0]);
                }
            }
            $('a', menus[0]).removeClass(settings.parentMO);
            if (timeout) clearTimeout(timeout);
        }
    };
    function viewport() {
        return {
            x: $(window).scrollLeft(),
            y: $(window).scrollTop(),
            cx: $(window).width(),
            cy: $(window).height()
        };
    }
})(jQuery);

function addYahooSupport() {
    if ($(this).attr('inited')) return;
    $(this).attr('inited', '1');
    $("#mbn_hotline").html('');
    var mbn_ymsgr = ['Hồ Chí Minh', ['mbn_hcm_cskh01', 'mbn_hcm_cskh02', 'mbn_hcm_kd10', 'mbn_hcm_kd11'],
        'Hà Nội', ['mbn_hn_cskh01', 'mbn_hn_cskh02'],
        'Đà Nẵng', ['mbn_danang_cskh01', 'mbn_danang_cskh02'],
        'Hải Phòng', ['mbn_haiphong_cskh01', 'mbn_haiphong_cskh02']];
    var s = '';
    for (var i = 0; i < mbn_ymsgr.length; i += 2) {
        s += '<li class="title">{0}</li>'.replace('{0}', mbn_ymsgr[i]);
        var mbn_ymsgr_child = mbn_ymsgr[i + 1];
        for (var j = 0; j < mbn_ymsgr_child.length; j++) {
            s += '<li><a href="ymsgr:sendim?000"><img src="http://opi.yahoo.com/online?u=000"/ align=\"baseline\" style=\"margin-right:5px;\">'.replace(/000/gi, mbn_ymsgr_child[j]) + (mbn_ymsgr_child[j].lastIndexOf('kd') != -1 ? 'Kinh doanh' : 'Hỗ trợ khách hàng') + '</a></li>';
        }
    }
    $("#mbn_hotline").append(s);
    $('#mnu_support').dropDownMenu({ parentMO: 'parent-hover', childMO: 'child-hover1' });
}
/******************End Top Menu***********************/
/**************Navigation***************/
//$(function () {
//    $("ul.dropdown li").hover(function() {
//        $(this).addClass("hover");
//        $('ul:first', this).css('visibility', 'visible');
//    }, function() {
//        $(this).removeClass("hover");
//        $('ul:first', this).css('visibility', 'hidden');
//    });
//});
/*************End Navigation***********/

function checkChar(param) {
    var a = param;
    for (var i = 0; i < a.length; i++) {
        var c = a.charAt(i);
        if (!isNaN(c)) {
            return true;
        }
    }
    return false;
}
function checkNumber(param) {
    var a = param;
    for (var i = 0; i < a.length; i++) {
        var c = a.charAt(i);
        if (isNaN(c)) {
            return true;
        }
    }
    return false;
}
/***************Format decimal******************/
function addCommas(_nStr) {
    var nStr = _nStr.value;
    var a = nStr.split(',');
    var b = '';
    for (var i = 0; i < a.length; i++) {
        b += a[i];
    }
    nStr = b;
    nStr += '';
    x = nStr.split('.');
    x1 = x[0];
    x2 = x.length > 1 ? '.' + x[1] : '';
    var rgx = /(\d+)(\d{3})/;
    while (rgx.test(x1)) {
        x1 = x1.replace(rgx, '$1' + ',' + '$2');
    }
    _nStr.value = x1 + x2;
}
/***************End Format decimal******************/

/****************Bang mau*************/
/**
* Really Simple Color Picker in jQuery
* 
* Copyright (c) 2008 Lakshan Perera (www.laktek.com)
* Licensed under the MIT (MIT-LICENSE.txt)  licenses.
* 
*/

(function($) {
    $.fn.colorPicker = function() {
        if (this.length > 0) buildSelector();
        return this.each(function(i) { buildPicker(this) });
    };

    var selectorOwner;
    var selectorShowing = false;

    buildPicker = function(element) {
        //build color picker
        control = $("<div class='color_picker'>&nbsp;</div>")
        control.css('background-color', $(element).val());

        //bind click event to color picker
        control.bind("click", toggleSelector);

        //add the color picker section
        $(element).after(control);

        //hide the input box
        $(element).hide();
    };

    buildSelector = function() {
        selector = $("<div id='color_selector'></div>");

        //add color pallete
        $.each($.fn.colorPicker.defaultColors, function(i) {
            swatch = $("<div class='color_swatch'>&nbsp;</div>")
            swatch.css("background-color", "#" + this);
            swatch.bind("click", function(e) { changeColor($(this).css("background-color")) });
            swatch.bind("mouseover", function(e) {
                $(this).css("border-color", "#598FEF");
                $("input#color_value").val(toHex($(this).css("background-color")));
            });
            swatch.bind("mouseout", function(e) {
                $(this).css("border-color", "#000");
                $("input#color_value").val(toHex($(selectorOwner).css("background-color")));
            });

            swatch.appendTo(selector);
        });

        //add HEX value field
        hex_field = $("<label for='color_value'>Hex</label><input type='text' size='8' id='color_value'/>");
        hex_field.bind("keydown", function(event) {
            if (event.keyCode == 13) { changeColor($(this).val()); }
            if (event.keyCode == 27) { toggleSelector() }
        });

        $("<div id='color_custom'></div>").append(hex_field).appendTo(selector);

        $("body").append(selector);
        selector.hide();

    };

    checkMouse = function(event) {
        //check the click was on selector itself or on selectorOwner
        var selector = "div#color_selector";
        var selectorParent = $(event.target).parents(selector).length;
        if (event.target == $(selector)[0] || event.target == selectorOwner || selectorParent > 0) return

        hideSelector();
    }

    hideSelector = function() {
        var selector = $("div#color_selector");

        $(document).unbind("mousedown", checkMouse);
        selector.hide();
        selectorShowing = false
    }

    showSelector = function() {
        var selector = $("div#color_selector");

        //alert($(selectorOwner).offset().top);

        selector.css({
            top: $(selectorOwner).offset().top + ($(selectorOwner).outerHeight()),
            left: $(selectorOwner).offset().left
        });
        hexColor = $(selectorOwner).prev("input").val();
        $("input#color_value").val(hexColor);
        selector.show();

        //bind close event handler
        $(document).bind("mousedown", checkMouse);
        selectorShowing = true
    }

    toggleSelector = function(event) {
        selectorOwner = this;
        selectorShowing ? hideSelector() : showSelector();
    }

    changeColor = function(value) {
        if (selectedValue = toHex(value)) {
            $(selectorOwner).css("background-color", selectedValue);
            $(selectorOwner).prev("input").val(selectedValue).change();

            //close the selector
            hideSelector();
        }
    };

    //converts RGB string to HEX - inspired by http://code.google.com/p/jquery-color-utils
    toHex = function(color) {
        //valid HEX code is entered
        if (color.match(/[0-9a-fA-F]{3}$/) || color.match(/[0-9a-fA-F]{6}$/)) {
            color = (color.charAt(0) == "#") ? color : ("#" + color);
        }
        //rgb color value is entered (by selecting a swatch)
        else if (color.match(/^rgb\(([0-9]|[1-9][0-9]|[1][0-9]{2}|[2][0-4][0-9]|[2][5][0-5]),[ ]{0,1}([0-9]|[1-9][0-9]|[1][0-9]{2}|[2][0-4][0-9]|[2][5][0-5]),[ ]{0,1}([0-9]|[1-9][0-9]|[1][0-9]{2}|[2][0-4][0-9]|[2][5][0-5])\)$/)) {
            var c = ([parseInt(RegExp.$1), parseInt(RegExp.$2), parseInt(RegExp.$3)]);

            var pad = function(str) {
                if (str.length < 2) {
                    for (var i = 0, len = 2 - str.length; i < len; i++) {
                        str = '0' + str;
                    }
                }
                return str;
            }

            if (c.length == 3) {
                var r = pad(c[0].toString(16)), g = pad(c[1].toString(16)), b = pad(c[2].toString(16));
                color = '#' + r + g + b;
            }
        }
        else color = false;

        return color
    }


    //public methods
    $.fn.colorPicker.addColors = function(colorArray) {
        $.fn.colorPicker.defaultColors = $.fn.colorPicker.defaultColors.concat(colorArray);
    };

    $.fn.colorPicker.defaultColors = ['FF0000', 'FFFF00', '00FF00', '00FFFF', '0000FF', 'FF00FF', 'FFFFFF', 'EBEBEB', 'E1E1E1', 'D7D7D7', 'CCCCCC', 'C2C2C2', 'B7B7B7', 'ACACAC', 'A0A0A0', '959595', 'ED1C24', 'FFF200', '00A651', '00AEEF', '2E3192', 'EC008C',
'898989', '7D7D7D', '707070', '626262', '555555', '464646', '363636', '262626', '111111', '000000', 'F7977A', 'F9AD81', 'FDC68A', 'FFF79A', 'C4DF9B', 'A2D39C', '82CA9D', '7BCDC8', '6ECFF6', '7EA7D8', '8493CA', '8882BE', 'A187BE', 'BC8DBF', 'F49AC2', 'F6989D', 'F26C4F', 'F68E55', 'FBAF5C', 'FFF467', 'ACD372', '7CC576', '3BB878', '1ABBB4', '00BFF3', '438CCA', '5574B9', '605CA8', '855FA8', 'A763A8', 'F06EA9', 'F26D7D',
'ED1C24', 'F26522', 'F7941D', 'FFF200', '39B54A', '00A651', '00A99D', '00AEEF', '0072BC', '0054A6', '2E3192', '662D91', '92278F', 'EC008C', 'ED145B', '9E0B0F', 'A0410D', 'A36209', 'ABA000', '598527',
'1A7B30', '007236', '00746B', '0076A3', '004B80', '003471', '1B1464', '440E62', '630460', '9E005D', '9E0039', '790000', '7B2E00', '7D4900', '827B00', '406618', '005E20', '005826', '005952', '005B7F',
'003663', '002157', '0D004C', '32004B', '4B0049', '7B0046', '7A0026', 'C7B299', '998675', '736357', '534741', '37302D', 'C69C6E', 'A67C52', '8C6239', '754C24', '603913'];

})(jQuery);

/***************end Bang mau**************/

/**********Call Enter Button on Board***********/
function doClick(buttonName, e) {
    var key;
    if (window.event)
        key = window.event.keyCode;
    else
        key = e.which;

    if (key == 13) {
        var btn = $("#"+buttonName);
        if (btn != null) {
            btn.click();
            event.keyCode = 0
        }
    }
}
/**********************************************/
/*************Tab Menu*************/
function initTabs(obj) {
    $('#tabMenu a').bind('click', obj, function(e) {
        e.preventDefault();
        var thref = $(this).attr("href").replace(/#/, '');
        $('#tabMenu a').removeClass('active');
        $(this).addClass('active');
        $('#tabContent div.content').removeClass('active');
        $('#' + thref).addClass('active');
        $(e.data).val(thref);
    });
}
/**********************************/
function overLap(el) {
    if (!ie_overLap) return;
    if (!el) return;
    var pos = el.position();
    if (!pos) return;
    if (el.attr('hasIframe')) {
        var overframe = el.next('iframe');
        if (overframe) overframe.css({display:'block', left: pos.left});
    } else {
        el.attr('hasIframe', true);
        var marginLeft = parseInt(el.css('marginLeft').replace('px', ''), 10);
        var marginTop = parseInt(el.css('marginTop').replace('px', ''), 10);
        if (!marginLeft) marginLeft = 0;
        if (!marginTop) marginTop = 0;
        var ss = '<iframe class="iframetop" scrolling="no" frameborder="0" width="0" height="0" style="z-index:0;background-color:gray"></iframe>';
        $(ss).insertAfter(el).css({ 'display': 'block', position: 'absolute', top: pos.top + marginTop, left: pos.left + marginLeft, width: el.width(), height: el.height() });
    }
}
/*******************Password Strength*************************/
// Settings
// -- Toggle to true or false, if you want to change what is checked in the password
var m_strUpperCase = "ABCDEFGHIJKLMNOPQRSTUVWXYZ";
var m_strLowerCase = "abcdefghijklmnopqrstuvwxyz";
var m_strNumber = "0123456789";
var m_strCharacters = "!@#$%^&*?_~"

// Check password
function checkPassword(strPassword) {
    // Reset combination count
    var nScore = 0;

    // Password length
    // -- Less than 4 characters
    if (strPassword.length < 5) {
        nScore += 5;
    }
    // -- 5 to 7 characters
    else if (strPassword.length > 4 && strPassword.length < 8) {
        nScore += 10;
    }
    // -- 8 or more
    else if (strPassword.length > 7) {
        nScore += 25;
    }

    // Letters
    var nUpperCount = countContain(strPassword, m_strUpperCase);
    var nLowerCount = countContain(strPassword, m_strLowerCase);
    var nLowerUpperCount = nUpperCount + nLowerCount;
    // -- Letters are all lower case
    if (nUpperCount == 0 && nLowerCount != 0) {
        nScore += 10;
    }
    // -- Letters are upper case and lower case
    else if (nUpperCount != 0 && nLowerCount != 0) {
        nScore += 20;
    }

    // Numbers
    var nNumberCount = countContain(strPassword, m_strNumber);
    // -- 1 number
    if (nNumberCount == 1) {
        nScore += 10;
    }
    // -- 3 or more numbers
    if (nNumberCount >= 3) {
        nScore += 20;
    }

    // Characters
    var nCharacterCount = countContain(strPassword, m_strCharacters);
    // -- 1 character
    if (nCharacterCount == 1) {
        nScore += 10;
    }
    // -- More than 1 character
    if (nCharacterCount > 1) {
        nScore += 25;
    }

    // Bonus
    // -- Letters and numbers
    if (nNumberCount != 0 && nLowerUpperCount != 0) {
        nScore += 2;
    }
    // -- Letters, numbers, and characters
    if (nNumberCount != 0 && nLowerUpperCount != 0 && nCharacterCount != 0) {
        nScore += 3;
    }
    // -- Mixed case letters, numbers, and characters
    if (nNumberCount != 0 && nUpperCount != 0 && nLowerCount != 0 && nCharacterCount != 0) {
        nScore += 5;
    }


    return nScore;
}
// Runs password through check and then updates GUI
function runPassword(strPassword, strFieldID, aaa) {
    if (strPassword.length == "") return;
    if (strPassword.length < 6) return;
    // Check password
    var nScore = checkPassword(strPassword);
    // Get controls
    ctlBar = document.getElementById(aaa).style.display = "block";
    var ctlBar = document.getElementById(strFieldID + "_bar");
    var ctlText = document.getElementById(strFieldID + "_text");
    if (!ctlBar || !ctlText)
        return;

    // Set new width
    ctlBar.style.width = nScore + "%";

    // Color and text
    // -- Very Secure
    if (nScore >= 90) {
        var strText = "Rất An toàn";
        var strColor = "#0ca908";
    }
    // -- Secure
    else if (nScore >= 80) {
        var strText = "An toàn";
        vstrColor = "#7ff67c";
    }
    // -- Very Strong
    else if (nScore >= 70) {
        var strText = "Rất tốt";
        var strColor = "#1740ef";
    }
    // -- Strong
    else if (nScore >= 60) {
        var strText = "Tốt";
        var strColor = "#5a74e3";
    }
    // -- Average
    else if (nScore >= 50) {
        var strText = "Trung bình";
        var strColor = "#e3cb00";
    }
    // -- Weak
    else if (nScore >= 25) {
        var strText = "Kém an toàn";
        var strColor = "#e7d61a";
    }
    // -- Very Weak
    else {
        var strText = "Rất kém an toàn";
        var strColor = "#e71a1a";
    }
    ctlBar.style.backgroundColor = strColor;
    ctlText.innerHTML = "<span style='color: " + strColor + ";'>" + strText + " - " + nScore + "</span>";
}

// Checks a string for a list of characters
function countContain(strPassword, strCheck) {
    // Declare variables
    var nCount = 0;
    for (i = 0; i < strPassword.length; i++) {
        if (strCheck.indexOf(strPassword.charAt(i)) > -1) {
            nCount++;
        }
    }
    return nCount;
}
/*******************Password Strength*************************/


/*******************MBN Ads*************************/
var zone_left = { C0: 6, C1: 33, C2: 34, C3: 35, C4: 36, C5: 37, C6: 38, C7: 39, C8: 40, C9: 41, CA: 42 }
var zone_right = { C0: 4, C1: 23, C2: 24, C3: 25, C4: 26, C5: 27, C6: 28, C7: 29, C8: 30, C9: 31, CA: 32 };
var zone_bottom = { C0: 5, C1: 44, C2: 45, C3: 46, C4: 47, C5: 48, C6: 49, C7: 50, C8: 51, C9: 52, CA: 53 };
var zone_micro = { ALL: 43 };

function showZone(zoneId, divId) {
    if (typeof (ads_zone) == 'undefined') return;
    if (!ads_zone) return;
    var cfgZone = ads_zone['O' + zoneId];
    if (!cfgZone || cfgZone.count == 0) return;
    if (cfgZone.maxview > cfgZone.count) {
        cfgZone.maxview = cfgZone.count;
    }
    var zone_key = null;
    var index = Math.floor(Math.random() * 1001) % cfgZone.count;
    if (cfgZone.rand) {
        var date = new Date();
        index = date.getMinutes() % cfgZone.count;
    }
    var objBanner = null;
    var arr_rand = new Array();
    // add fixed
    for (var i = 0; i < cfgZone.count; i++) {
        zone_key = 'Z' + zoneId + '_' + i;
        objBanner = ads_zone[zone_key];
        if (objBanner.fixed) {
            arr_rand[arr_rand.length] = objBanner;
        } else {
            break;
        }
    }
    for (var i = index; i < cfgZone.count; i++) {
        zone_key = 'Z' + zoneId + '_' + i;
        objBanner = ads_zone[zone_key];
        if (objBanner.fixed) continue;
        arr_rand[arr_rand.length] = objBanner;
    }
    for (var i = 0; i < index; i++) {
        zone_key = 'Z' + zoneId + '_' + i;
        objBanner = ads_zone[zone_key];
        if (objBanner.fixed) continue;
        arr_rand[arr_rand.length] = objBanner;
    }
    if (!divId) {
        divId = 'adsZone' + zoneId;
        document.write('<div id="' + divId + '" style="' + (cfgZone.w > 0 ? 'width:' + cfgZone.w + 'px;' : '') + (cfgZone.h > 0 ? 'height:' + cfgZone.h + 'px;' : '') + '"></div>');
    }
    var div_show = $('#' + divId);
    var temp_item = '<div id="{id}" style="float:left;{width}{height}">{body}</div>';
    if (ads_template && cfgZone.template > 0) {
        var temp = ads_template['T' + cfgZone.template];
        if (temp && temp.Item != '') {
            temp_item = temp.Item;
        }
    }
    div_show.html('');
    var banner = '';
    var objBanner = null;
    var imageUrl = '';
    var adview_query = '';
    var adclick_url = '';
    for (var i = 0; i < cfgZone.maxview; i++) {
        zone_key = 'Z' + zoneId + '_' + i;
        objBanner = arr_rand[i];
        imageUrl = ads_zone.imageUrl + objBanner.url;
        banner = temp_item;
        banner = banner.replace('{id}', zone_key);
        banner = banner.replace('{width}', 'width:' + objBanner.w + 'px;');
        banner = banner.replace('{height}', 'height:' + objBanner.h + 'px;');
        adclick_url = ads_zone.clickUrl + '?website=' + ads_website + '&zoneId=' + zoneId + '&bannerId=' + objBanner.id;
        if (objBanner.media == 'flash') {
            // flash
            adclick_url += '&url=' + objBanner.flashvars.clickTAG;
            var flashvars = 'clickTARGET=' + objBanner.flashvars.clickTARGET + '&clickTAG=' + escape(adclick_url);
            var s_flash = '<embed src="' + imageUrl + '" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" wmode="transparent" width="' + objBanner.w + '" height="' + objBanner.h + '" flashvars="' + flashvars + '"></embed>';
            banner = banner.replace('{body}', s_flash);
            div_show.append(banner);
        } else if (objBanner.media == 'image') {
            // image
            adclick_url += '&url=' + objBanner.link;
            var s_image = '<a href="' + adclick_url + '" target="' + objBanner.target + '"><img src="' + imageUrl + '" border="0" width="' + objBanner.w + '" height="' + objBanner.h + '"></a>';
            banner = banner.replace('{body}', s_image);
            div_show.append(banner);
        } else if (objBanner.media == 'html') {
            // html
            banner = banner.replace('{body}', objBanner.html);
            div_show.append(banner);
        }
        adview_query += '_' + objBanner.id;
    }
    var adview_url = ads_zone.viewUrl + '?website=' + ads_website + '&zoneId=' + zoneId + '&Ids=' + adview_query;
    var adview_img = new Image; adview_img.src = adview_url;
}
function showZoneTop(cat, elId) {
    var zoneId = 0;
    if (typeof (zone_top) != 'undefined') zoneId = zone_top['C' + cat];
    if (zoneId == 0) {
        while (cat.length > 0 && (zoneId == null || zoneId == 0)) {
            zoneId = ads_zonecode['_' + cat + 'T'];
            cat = cat.substr(0, cat.length - 1);
        }
    }
    showZone(zoneId, elId);
    window.setInterval('showZone(' + zoneId +',"' + elId + '")', 30000);
}
function showZoneRight(cat) {
    var zoneId = zone_right['C' + cat.substr(0, 1)];
    showZone(zoneId);
}
function showZoneLeft(cat) {
    var zoneId = zone_left['C' + cat.substr(0, 1)];
    showZone(zoneId);
}
function showZoneBottom(cat) {
    var zoneId = zone_bottom['C' + cat.substr(0, 1)];
    showZone(zoneId);
    var elId = 'adsZone' + zoneId;
    window.setInterval('showZone(' + zoneId + ',"' + elId + '")', 30000);
}
function showZoneMicroBar(cat) {
    var zoneId = zone_micro['ALL'];
    showZone(zoneId);
}

/***Google Map***/
function MBNMap() {
    this.geocoder = null;
    this.map = null;
    this.marker = null;
    this.pos = null;
    this.title = '';
}
MBNMap.prototype = {
    initialize: function() {
        if (_mbnMap.title != '') {
            _mbnMap.title = '<table style="margin-bottom:5px; margin-top:5px;"><tr><td>' + _mbnMap.title + '</td></tr></table>'
        }
        if (GBrowserIsCompatible()) {
            _mbnMap.map = new GMap2($("#map_canvas")[0]);
            if (_mbnMap.pos != null) {
                _mbnMap.marker = new GMarker(new GLatLng(_mbnMap.pos[0], _mbnMap.pos[1]));
                _mbnMap.map.addOverlay(_mbnMap.marker);
                if (_mbnMap.title != '')
                    _mbnMap.marker.openInfoWindowHtml(_mbnMap.title);
            } else {
                _mbnMap.pos = ['10.776176844247373', '106.7021641719971'];
            }
            _mbnMap.map.setCenter(new GLatLng(_mbnMap.pos[0], _mbnMap.pos[1]), 14);
            _mbnMap.map.addControl(new GMapTypeControl());
            _mbnMap.map.addControl(new GLargeMapControl3D());

            if (_mbnMap.marker) {
                GEvent.addListener(_mbnMap.marker, 'click', function() {
                    _mbnMap.marker.openInfoWindowHtml(_mbnMap.title);
                });
            }
        }
    },
    initializeInput: function() {
        if (GBrowserIsCompatible()) {
            _mbnMap.map = new GMap2($("#map_canvas")[0]);
            GEvent.addListener(_mbnMap.map, "click", function(overlay, latlng) {
                if (latlng) {
                    _mbnMap.map.clearOverlays();
                    _mbnMap.map.setCenter(latlng, _mbnMap.map.getZoom());
                    _mbnMap.marker = new GMarker(latlng)
                    _mbnMap.map.addOverlay(_mbnMap.marker);
                    _mbnMap.marker.openInfoWindowHtml(_mbnMap.GetHtml());
                    _mbnMap.elPos.val(latlng);
                    GEvent.addListener(_mbnMap.marker, 'click', function() {
                        _mbnMap.marker.openInfoWindowHtml(_mbnMap.GetHtml());
                    });
                }
            });
            var pos = _mbnMap.elPos.val().replace(/[\s\(\)]/gi, '').split(',');
            if (pos.length == 2) {
                _mbnMap.marker = new GMarker(new GLatLng(pos[0], pos[1]));
                _mbnMap.map.addOverlay(_mbnMap.marker);
                _mbnMap.marker.openInfoWindow(new GLatLng(pos[0], pos[1]), _mbnMap.GetHtml());
                GEvent.addListener(_mbnMap.marker, 'click', function() {
                    _mbnMap.marker.openInfoWindowHtml(_mbnMap.GetHtml());
                });
            } else {
                pos = ['10.776176844247373', '106.7021641719971'];
            }
            _mbnMap.map.setCenter(new GLatLng(pos[0], pos[1]), 14);
            _mbnMap.map.addControl(new GMapTypeControl());
            _mbnMap.map.addControl(new GLargeMapControl3D());
        }
    },
    searchAddress: function(v) {
        this.geocoder = new GClientGeocoder();
        if (this.geocoder) {
            this.geocoder.getLatLng('Vietnam, ' + v, function(_point) {
                if (!_point) {
                    alert("Không tìm thấy: " + v);
                } else {
                    _mbnMap.map.clearOverlays();
                    _mbnMap.map.setCenter(_point, 15);
                }
            });
        }
    }
}

