﻿/*!
* jQuery UI 1.8.2
*
* Copyright (c) 2010 AUTHORS.txt (http://jqueryui.com/about)
* Dual licensed under the MIT (MIT-LICENSE.txt)
* and GPL (GPL-LICENSE.txt) licenses.
*
* http://docs.jquery.com/UI
*/
(function(a){a.ui=a.ui||{};if(!a.ui.version){a.extend(a.ui,{version:"1.8.2",plugin:{add:function(f,c,h){f=a.ui[f].prototype;for(var g in h){f.plugins[g]=f.plugins[g]||[];f.plugins[g].push([c,h[g]])}},call:function(f,c,h){if((c=f.plugins[c])&&f.element[0].parentNode){for(var g=0;g<c.length;g++){f.options[c[g][0]]&&c[g][1].apply(f.element,h)}}}},contains:function(d,c){return document.compareDocumentPosition?d.compareDocumentPosition(c)&16:d!==c&&d.contains(c)},hasScroll:function(e,c){if(a(e).css("overflow")=="hidden"){return false}c=c&&c=="left"?"scrollLeft":"scrollTop";var f=false;if(e[c]>0){return true}e[c]=1;f=e[c]>0;e[c]=0;return f},isOverAxis:function(e,c,f){return e>c&&e<c+f},isOver:function(h,c,l,k,j,i){return a.ui.isOverAxis(h,l,j)&&a.ui.isOverAxis(c,k,i)},keyCode:{ALT:18,BACKSPACE:8,CAPS_LOCK:20,COMMA:188,COMMAND:91,COMMAND_LEFT:91,COMMAND_RIGHT:93,CONTROL:17,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,INSERT:45,LEFT:37,MENU:93,NUMPAD_ADD:107,NUMPAD_DECIMAL:110,NUMPAD_DIVIDE:111,NUMPAD_ENTER:108,NUMPAD_MULTIPLY:106,NUMPAD_SUBTRACT:109,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SHIFT:16,SPACE:32,TAB:9,UP:38,WINDOWS:91}});a.fn.extend({_focus:a.fn.focus,focus:function(d,c){return typeof d==="number"?this.each(function(){var b=this;setTimeout(function(){a(b).focus();c&&c.call(b)},d)}):this._focus.apply(this,arguments)},enableSelection:function(){return this.attr("unselectable","off").css("MozUserSelect","")},disableSelection:function(){return this.attr("unselectable","on").css("MozUserSelect","none")},scrollParent:function(){var b;b=a.browser.msie&&/(static|relative)/.test(this.css("position"))||/absolute/.test(this.css("position"))?this.parents().filter(function(){return/(relative|absolute|fixed)/.test(a.curCSS(this,"position",1))&&/(auto|scroll)/.test(a.curCSS(this,"overflow",1)+a.curCSS(this,"overflow-y",1)+a.curCSS(this,"overflow-x",1))}).eq(0):this.parents().filter(function(){return/(auto|scroll)/.test(a.curCSS(this,"overflow",1)+a.curCSS(this,"overflow-y",1)+a.curCSS(this,"overflow-x",1))}).eq(0);return/fixed/.test(this.css("position"))||!b.length?a(document):b},zIndex:function(d){if(d!==undefined){return this.css("zIndex",d)}if(this.length){d=a(this[0]);for(var c;d.length&&d[0]!==document;){c=d.css("position");if(c=="absolute"||c=="relative"||c=="fixed"){c=parseInt(d.css("zIndex"));if(!isNaN(c)&&c!=0){return c}}d=d.parent()}}return 0}});a.extend(a.expr[":"],{data:function(e,c,f){return !!a.data(e,f[3])},focusable:function(e){var c=e.nodeName.toLowerCase(),f=a.attr(e,"tabindex");return(/input|select|textarea|button|object/.test(c)?!e.disabled:"a"==c||"area"==c?e.href||!isNaN(f):!isNaN(f))&&!a(e)["area"==c?"parents":"closest"](":hidden").length},tabbable:function(d){var c=a.attr(d,"tabindex");return(isNaN(c)||c>=0)&&a(d).is(":focusable")}})}})(jQuery);
/*!
 * jQuery UI Widget 1.8.2
 *
 * Copyright (c) 2010 AUTHORS.txt (http://jqueryui.com/about)
 * Dual licensed under the MIT (MIT-LICENSE.txt)
 * and GPL (GPL-LICENSE.txt) licenses.
 *
 * http://docs.jquery.com/UI/Widget
 */
(function(a){var c=a.fn.remove;a.fn.remove=function(b,d){return this.each(function(){if(!d){if(!b||a.filter(b,[this]).length){a("*",this).add(this).each(function(){a(this).triggerHandler("remove")})}}return c.call(a(this),b,d)})};a.widget=function(b,j,i){var h=b.split(".")[0],g;b=b.split(".")[1];g=h+"-"+b;if(!i){i=j;j=a.Widget}a.expr[":"][g]=function(d){return !!a.data(d,b)};a[h]=a[h]||{};a[h][b]=function(d,e){arguments.length&&this._createWidget(d,e)};j=new j;j.options=a.extend({},j.options);a[h][b].prototype=a.extend(true,j,{namespace:h,widgetName:b,widgetEventPrefix:a[h][b].prototype.widgetEventPrefix||b,widgetBaseClass:g},i);a.widget.bridge(b,a[h][b])};a.widget.bridge=function(b,d){a.fn[b]=function(k){var j=typeof k==="string",i=Array.prototype.slice.call(arguments,1),g=this;k=!j&&i.length?a.extend.apply(null,[true,k].concat(i)):k;if(j&&k.substring(0,1)==="_"){return g}j?this.each(function(){var f=a.data(this,b),e=f&&a.isFunction(f[k])?f[k].apply(f,i):f;if(e!==f&&e!==undefined){g=e;return false}}):this.each(function(){var e=a.data(this,b);if(e){k&&e.option(k);e._init()}else{a.data(this,b,new d(k,this))}});return g}};a.Widget=function(b,d){arguments.length&&this._createWidget(b,d)};a.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",options:{disabled:false},_createWidget:function(b,f){this.element=a(f).data(this.widgetName,this);this.options=a.extend(true,{},this.options,a.metadata&&a.metadata.get(f)[this.widgetName],b);var e=this;this.element.bind("remove."+this.widgetName,function(){e.destroy()});this._create();this._init()},_create:function(){},_init:function(){},destroy:function(){this.element.unbind("."+this.widgetName).removeData(this.widgetName);this.widget().unbind("."+this.widgetName).removeAttr("aria-disabled").removeClass(this.widgetBaseClass+"-disabled ui-state-disabled")},widget:function(){return this.element},option:function(b,h){var g=b,f=this;if(arguments.length===0){return a.extend({},f.options)}if(typeof b==="string"){if(h===undefined){return this.options[b]}g={};g[b]=h}a.each(g,function(e,d){f._setOption(e,d)});return f},_setOption:function(b,d){this.options[b]=d;if(b==="disabled"){this.widget()[d?"addClass":"removeClass"](this.widgetBaseClass+"-disabled ui-state-disabled").attr("aria-disabled",d)}return this},enable:function(){return this._setOption("disabled",false)},disable:function(){return this._setOption("disabled",true)},_trigger:function(b,j,i){var h=this.options[b];j=a.Event(j);j.type=(b===this.widgetEventPrefix?b:this.widgetEventPrefix+b).toLowerCase();i=i||{};if(j.originalEvent){b=a.event.props.length;for(var g;b;){g=a.event.props[--b];j[g]=j.originalEvent[g]}}this.element.trigger(j,i);return !(a.isFunction(h)&&h.call(this.element[0],j,i)===false||j.isDefaultPrevented())}}})(jQuery);var audioplayer_swfobject=function(){var aR="undefined",af="object",aC="Shockwave Flash",ay="ShockwaveFlash.ShockwaveFlash",ag="application/x-shockwave-flash",aD="SWFObjectExprInst",z="onreadystatechange",aG=window,an=document,ad=navigator,aB=false,aA=[ap],ai=[],aH=[],aM=[],al,aE,aQ,aT,aL=false,ax=false,aj,aO,ak=true,aI=function(){var h=typeof an.getElementById!=aR&&typeof an.getElementsByTagName!=aR&&typeof an.createElement!=aR,a=ad.userAgent.toLowerCase(),j=ad.platform.toLowerCase(),d=j?/win/.test(j):/win/.test(a),f=j?/mac/.test(j):/mac/.test(a),c=/webkit/.test(a)?parseFloat(a.replace(/^.*webkit\/(\d+(\.\d+)?).*$/,"$1")):false,k=!+"\v1",b=[0,0,0],g=null;if(typeof ad.plugins!=aR&&typeof ad.plugins[aC]==af){g=ad.plugins[aC].description;if(g&&!(typeof ad.mimeTypes!=aR&&ad.mimeTypes[ag]&&!ad.mimeTypes[ag].enabledPlugin)){aB=true;k=false;g=g.replace(/^.*\s+(\S+\s+\S+$)/,"$1");b[0]=parseInt(g.replace(/^(.*)\..*$/,"$1"),10);b[1]=parseInt(g.replace(/^.*\.(.*)\s.*$/,"$1"),10);b[2]=/[a-zA-Z]/.test(g)?parseInt(g.replace(/^.*[a-zA-Z]+(.*)$/,"$1"),10):0}}else{if(typeof aG.ActiveXObject!=aR){try{var e=new ActiveXObject(ay);if(e){g=e.GetVariable("$version");if(g){k=true;g=g.split(" ")[1].split(",");b=[parseInt(g[0],10),parseInt(g[1],10),parseInt(g[2],10)]}}}catch(i){}}}return{w3:h,pv:b,wk:c,ie:k,win:d,mac:f}}(),am=function(){if(!aI.w3){return}if((typeof an.readyState!=aR&&an.readyState=="complete")||(typeof an.readyState==aR&&(an.getElementsByTagName("body")[0]||an.body))){ar()}if(!aL){if(typeof an.addEventListener!=aR){an.addEventListener("DOMContentLoaded",ar,false)}if(aI.ie&&aI.win){an.attachEvent(z,function(){if(an.readyState=="complete"){an.detachEvent(z,arguments.callee);ar()}});if(aG==top){(function(){if(aL){return}try{an.documentElement.doScroll("left")}catch(a){setTimeout(arguments.callee,0);return}ar()})()}}if(aI.wk){(function(){if(aL){return}if(!/loaded|complete/.test(an.readyState)){setTimeout(arguments.callee,0);return}ar()})()}ae(ar)}}();function ar(){if(aL){return}try{var c=an.getElementsByTagName("body")[0].appendChild(aS("span"));c.parentNode.removeChild(c)}catch(b){return}aL=true;var a=aA.length;for(var d=0;d<a;d++){aA[d]()}}function aK(a){if(aL){a()}else{aA[aA.length]=a}}function ae(b){if(typeof aG.addEventListener!=aR){aG.addEventListener("load",b,false)}else{if(typeof an.addEventListener!=aR){an.addEventListener("load",b,false)}else{if(typeof aG.attachEvent!=aR){ao(aG,"onload",b)}else{if(typeof aG.onload=="function"){var a=aG.onload;aG.onload=function(){a();b()}}else{aG.onload=b}}}}}function ap(){if(aB){az()}else{aN()}}function az(){var a=an.getElementsByTagName("body")[0];var c=aS(af);c.setAttribute("type",ag);var b=a.appendChild(c);if(b){var d=0;(function(){if(typeof b.GetVariable!=aR){var e=b.GetVariable("$version");if(e){e=e.split(" ")[1].split(",");aI.pv=[parseInt(e[0],10),parseInt(e[1],10),parseInt(e[2],10)]}}else{if(d<10){d++;setTimeout(arguments.callee,10);return}}a.removeChild(c);b=null;aN()})()}else{aN()}}function aN(){var c=ai.length;if(c>0){for(var d=0;d<c;d++){var k=ai[d].id;var h=ai[d].callbackFn;var i={success:false,id:k};if(aI.pv[0]>0){var e=av(k);if(e){if(aP(ai[d].swfVersion)&&!(aI.wk&&aI.wk<312)){aa(k,true);if(h){i.success=true;i.ref=x(k);h(i)}}else{if(ai[d].expressInstall&&aU()){var a={};a.data=ai[d].expressInstall;a.width=e.getAttribute("width")||"0";a.height=e.getAttribute("height")||"0";if(e.getAttribute("class")){a.styleclass=e.getAttribute("class")}if(e.getAttribute("align")){a.align=e.getAttribute("align")}var b={};var l=e.getElementsByTagName("param");var g=l.length;for(var f=0;f<g;f++){if(l[f].getAttribute("name").toLowerCase()!="movie"){b[l[f].getAttribute("name")]=l[f].getAttribute("value")}}aF(a,b,k,h)}else{ah(e);if(h){h(i)}}}}}else{aa(k,true);if(h){var j=x(k);if(j&&typeof j.SetVariable!=aR){i.success=true;i.ref=j}h(i)}}}}}function x(c){var a=null;var d=av(c);if(d&&d.nodeName=="OBJECT"){if(typeof d.SetVariable!=aR){a=d}else{var b=d.getElementsByTagName(af)[0];if(b){a=b}}}return a}function aU(){return !ax&&aP("6.0.65")&&(aI.win||aI.mac)&&!(aI.wk&&aI.wk<312)}function aF(g,e,a,f){ax=true;aQ=f||null;aT={success:false,id:a};var b=av(a);if(b){if(b.nodeName=="OBJECT"){al=aq(b);aE=null}else{al=b;aE=a}g.id=aD;if(typeof g.width==aR||(!/%$/.test(g.width)&&parseInt(g.width,10)<310)){g.width="310"}if(typeof g.height==aR||(!/%$/.test(g.height)&&parseInt(g.height,10)<137)){g.height="137"}an.title=an.title.slice(0,47)+" - Flash Player Installation";var c=aI.ie&&aI.win?"ActiveX":"PlugIn",d="MMredirectURL="+aG.location.toString().replace(/&/g,"%26")+"&MMplayerType="+c+"&MMdoctitle="+an.title;if(typeof e.flashvars!=aR){e.flashvars+="&"+d}else{e.flashvars=d}if(aI.ie&&aI.win&&b.readyState!=4){var h=aS("div");a+="SWFObjectNew";h.setAttribute("id",a);b.parentNode.insertBefore(h,b);b.style.display="none";(function(){if(b.readyState==4){b.parentNode.removeChild(b)}else{setTimeout(arguments.callee,10)}})()}ac(g,e,a)}}function ah(b){if(aI.ie&&aI.win&&b.readyState!=4){var a=aS("div");b.parentNode.insertBefore(a,b);a.parentNode.replaceChild(aq(b),a);b.style.display="none";(function(){if(b.readyState==4){b.parentNode.removeChild(b)}else{setTimeout(arguments.callee,10)}})()}else{b.parentNode.replaceChild(aq(b),b)}}function aq(c){var e=aS("div");if(aI.win&&aI.ie){e.innerHTML=c.innerHTML}else{var f=c.getElementsByTagName(af)[0];if(f){var b=f.childNodes;if(b){var a=b.length;for(var d=0;d<a;d++){if(!(b[d].nodeType==1&&b[d].nodeName=="PARAM")&&!(b[d].nodeType==8)){e.appendChild(b[d].cloneNode(true))}}}}}return e}function ac(a,c,k){var l,i=av(k);if(aI.wk&&aI.wk<312){return l}if(i){if(typeof a.id==aR){a.id=k}if(aI.ie&&aI.win){var b="";for(var e in a){if(a[e]!=Object.prototype[e]){if(e.toLowerCase()=="data"){c.movie=a[e]}else{if(e.toLowerCase()=="styleclass"){b+=' class="'+a[e]+'"'}else{if(e.toLowerCase()!="classid"){b+=" "+e+'="'+a[e]+'"'}}}}}var d="";for(var f in c){if(c[f]!=Object.prototype[f]){d+='<param name="'+f+'" value="'+c[f]+'" />'}}i.outerHTML='<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"'+b+">"+d+"</object>";aH[aH.length]=a.id;l=av(a.id)}else{var j=aS(af);j.setAttribute("type",ag);for(var g in a){if(a[g]!=Object.prototype[g]){if(g.toLowerCase()=="styleclass"){j.setAttribute("class",a[g])}else{if(g.toLowerCase()!="classid"){j.setAttribute(g,a[g])}}}}for(var h in c){if(c[h]!=Object.prototype[h]&&h.toLowerCase()!="movie"){at(j,h,c[h])}}i.parentNode.replaceChild(j,i);l=j}}return l}function at(c,a,d){var b=aS("param");b.setAttribute("name",a);b.setAttribute("value",d);c.appendChild(b)}function y(b){var a=av(b);if(a&&a.nodeName=="OBJECT"){if(aI.ie&&aI.win){a.style.display="none";(function(){if(a.readyState==4){aw(b)}else{setTimeout(arguments.callee,10)}})()}else{a.parentNode.removeChild(a)}}}function aw(b){var c=av(b);if(c){for(var a in c){if(typeof c[a]=="function"){c[a]=null}}c.parentNode.removeChild(c)}}function av(b){var a=null;try{a=an.getElementById(b)}catch(c){}return a}function aS(a){return an.createElement(a)}function ao(b,a,c){b.attachEvent(a,c);aM[aM.length]=[b,a,c]}function aP(b){var c=aI.pv,a=b.split(".");a[0]=parseInt(a[0],10);a[1]=parseInt(a[1],10)||0;a[2]=parseInt(a[2],10)||0;return(c[0]>a[0]||(c[0]==a[0]&&c[1]>a[1])||(c[0]==a[0]&&c[1]==a[1]&&c[2]>=a[2]))?true:false}function ab(c,g,b,d){if(aI.ie&&aI.mac){return}var f=an.getElementsByTagName("head")[0];if(!f){return}var a=(b&&typeof b=="string")?b:"screen";if(d){aj=null;aO=null}if(!aj||aO!=a){var e=aS("style");e.setAttribute("type","text/css");e.setAttribute("media",a);aj=f.appendChild(e);if(aI.ie&&aI.win&&typeof an.styleSheets!=aR&&an.styleSheets.length>0){aj=an.styleSheets[an.styleSheets.length-1]}aO=a}if(aI.ie&&aI.win){if(aj&&typeof aj.addRule==af){aj.addRule(c,g)}}else{if(aj&&typeof an.createTextNode!=aR){aj.appendChild(an.createTextNode(c+" {"+g+"}"))}}}function aa(b,a){if(!ak){return}var c=a?"visible":"hidden";if(aL&&av(b)){av(b).style.visibility=c}else{ab("#"+b,"visibility:"+c)}}function aJ(c){var b=/[\\\"<>\.;]/;var a=b.exec(c)!=null;return a&&typeof encodeURIComponent!=aR?encodeURIComponent(c):c}var au=function(){if(aI.ie&&aI.win){window.attachEvent("onunload",function(){var b=aM.length;for(var c=0;c<b;c++){aM[c][0].detachEvent(aM[c][1],aM[c][2])}var e=aH.length;for(var d=0;d<e;d++){y(aH[d])}for(var f in aI){aI[f]=null}aI=null;for(var a in audioplayer_swfobject){audioplayer_swfobject[a]=null}audioplayer_swfobject=null})}}();return{registerObject:function(b,a,d,c){if(aI.w3&&b&&a){var e={};e.id=b;e.swfVersion=a;e.expressInstall=d;e.callbackFn=c;ai[ai.length]=e;aa(b,false)}else{if(c){c({success:false,id:b})}}},getObjectById:function(a){if(aI.w3){return x(a)}},embedSWF:function(g,a,d,b,j,h,i,e,c,f){var k={success:false,id:a};if(aI.w3&&!(aI.wk&&aI.wk<312)&&g&&a&&d&&b&&j){aa(a,false);aK(function(){d+="";b+="";var l={};if(c&&typeof c===af){for(var p in c){l[p]=c[p]}}l.data=g;l.width=d;l.height=b;var o={};if(e&&typeof e===af){for(var q in e){o[q]=e[q]}}if(i&&typeof i===af){for(var m in i){if(typeof o.flashvars!=aR){o.flashvars+="&"+m+"="+i[m]}else{o.flashvars=m+"="+i[m]}}}if(aP(j)){var n=ac(l,o,a);if(l.id==a){aa(a,true)}k.success=true;k.ref=n}else{if(h&&aU()){l.data=h;aF(l,o,a,f);return}else{aa(a,true)}}if(f){f(k)}})}else{if(f){f(k)}}},switchOffAutoHideShow:function(){ak=false},ua:aI,getFlashPlayerVersion:function(){return{major:aI.pv[0],minor:aI.pv[1],release:aI.pv[2]}},hasFlashPlayerVersion:aP,createSWF:function(b,c,a){if(aI.w3){return ac(b,c,a)}else{return undefined}},showExpressInstall:function(c,b,a,d){if(aI.w3&&aU()){aF(c,b,a,d)}},removeSWF:function(a){if(aI.w3){y(a)}},createCSS:function(c,b,d,a){if(aI.w3){ab(c,b,d,a)}},addDomLoadEvent:aK,addLoadEvent:ae,getQueryParamValue:function(c){var b=an.location.search||an.location.hash;if(b){if(/\?/.test(b)){b=b.split("?")[1]}if(c==null){return aJ(b)}var d=b.split("&");for(var a=0;a<d.length;a++){if(d[a].substring(0,d[a].indexOf("="))==c){return aJ(d[a].substring((d[a].indexOf("=")+1)))}}}return""},expressInstallCallback:function(){if(ax){var a=av(aD);if(a&&al){a.parentNode.replaceChild(al,a);if(aE){aa(aE,true);if(aI.ie&&aI.win){al.style.display="block"}}if(aQ){aQ(aT)}}ax=false}}}}();var AudioPlayer=function(){var b=[];var f;var d="";var a={};var e=-1;var c="9";function h(j){if(document.all&&!window[j]){for(var i=0;i<document.forms.length;i++){if(document.forms[i][j]){return document.forms[i][j];break}}}return document.all?window[j]:document[j]}function g(k,j,i){h(k).addListener(j,i)}return{setup:function(i,j){d=i;a=j;if(audioplayer_swfobject.hasFlashPlayerVersion(c)){audioplayer_swfobject.switchOffAutoHideShow();audioplayer_swfobject.createCSS("p.audioplayer_container span","visibility:hidden;height:24px;overflow:hidden;padding:0;border:none;")}},getPlayer:function(i){return h(i)},addListener:function(k,j,i){g(k,j,i)},embed:function(l,j){var n={};var i;var k={};var m={};var o={};for(i in a){n[i]=a[i]}for(i in j){n[i]=j[i]}if(n.transparentpagebg=="yes"){k.bgcolor="#FFFFFF";k.wmode="transparent"}else{if(n.pagebg){k.bgcolor="#"+n.pagebg}k.wmode="opaque"}k.menu="false";for(i in n){if(i=="pagebg"||i=="width"||i=="transparentpagebg"){continue}m[i]=n[i]}o.name=l;o.style="outline: none";m.playerID=l;audioplayer_swfobject.embedSWF(d,l,n.width.toString(),"24",c,false,m,k,o);b.push(l)},syncVolumes:function(k,i){e=i;for(var j=0;j<b.length;j++){if(b[j]!=k){h(b[j]).setVolume(e)}}},activate:function(j,i){if(f&&f!=j){h(f).close()}f=j},load:function(j,l,i,k){h(j).load(l,i,k)},close:function(i){h(i).close();if(i==f){f=null}},open:function(j,i){if(i==undefined){i=1}h(j).open(i==undefined?0:i-1)},getVolume:function(i){return e}}}();(function(a){a.widget("ui.stars",{options:{inputType:"radio",split:0,disabled:false,cancelTitle:"Cancel Rating",cancelValue:0,cancelShow:true,disableValue:true,oneVoteOnly:false,showTitles:false,captionEl:null,callback:null,starWidth:16,cancelClass:"ui-stars-cancel",starClass:"ui-stars-star",starOnClass:"ui-stars-star-on",starHoverClass:"ui-stars-star-hover",starDisabledClass:"ui-stars-star-disabled",cancelHoverClass:"ui-stars-cancel-hover",cancelDisabledClass:"ui-stars-cancel-disabled"},_create:function(){var e=this,b=this.options,f=0;this.element.data("former.stars",this.element.html());b.isSelect=b.inputType=="select";this.$form=a(this.element).closest("form");this.$selec=b.isSelect?a("select",this.element):null;this.$rboxs=b.isSelect?a("option",this.$selec):a(":radio",this.element);this.$stars=this.$rboxs.map(function(j){var i={value:this.value,title:(b.isSelect?this.text:this.title)||this.value,isDefault:(b.isSelect&&this.defaultSelected)||this.defaultChecked};if(j==0){b.split=typeof b.split!="number"?0:b.split;b.val2id=[];b.id2val=[];b.id2title=[];b.name=b.isSelect?e.$selec.get(0).name:this.name;b.disabled=b.disabled||(b.isSelect?a(e.$selec).attr("disabled"):a(this).attr("disabled"))}if(i.value==b.cancelValue){b.cancelTitle=i.title;return null}b.val2id[i.value]=f;b.id2val[f]=i.value;b.id2title[f]=i.title;if(i.isDefault){b.checked=f;b.value=b.defaultValue=i.value;b.title=i.title}var k=a("<div/>").addClass(b.starClass);var h=a("<a/>").attr("title",b.showTitles?i.title:"").text(i.value);if(b.split){var l=(f%b.split);var g=Math.floor(b.starWidth/b.split);k.width(g);h.css("margin-left","-"+(l*g)+"px")}f++;return k.append(h).get(0)});b.items=f;b.isSelect?this.$selec.remove():this.$rboxs.remove();this.$cancel=a("<div/>").addClass(b.cancelClass).append(a("<a/>").attr("title",b.showTitles?b.cancelTitle:"").text(b.cancelValue));b.cancelShow&=!b.disabled&&!b.oneVoteOnly;b.cancelShow&&this.element.append(this.$cancel);this.element.append(this.$stars);if(b.checked===undefined){b.checked=-1;b.value=b.defaultValue=b.cancelValue;b.title=""}this.$value=a("<input type='hidden' name='"+b.name+"' value='"+b.value+"' />");this.element.append(this.$value);this.$stars.bind("click.stars",function(g){if(!b.forceSelect&&b.disabled){return false}var h=e.$stars.index(this);b.checked=h;b.value=b.id2val[h];b.title=b.id2title[h];e.$value.attr({disabled:b.disabled?"disabled":"",value:b.value});d(h,false);e._disableCancel();!b.forceSelect&&e.callback(g,"star")}).bind("mouseover.stars",function(){if(b.disabled){return false}var g=e.$stars.index(this);d(g,true)}).bind("mouseout.stars",function(){if(b.disabled){return false}d(e.options.checked,false)});this.$cancel.bind("click.stars",function(g){if(!b.forceSelect&&(b.disabled||b.value==b.cancelValue)){return false}b.checked=-1;b.value=b.cancelValue;b.title="";e.$value.val(b.value);b.disableValue&&e.$value.attr({disabled:"disabled"});c();e._disableCancel();!b.forceSelect&&e.callback(g,"cancel")}).bind("mouseover.stars",function(){if(e._disableCancel()){return false}e.$cancel.addClass(b.cancelHoverClass);c();e._showCap(b.cancelTitle)}).bind("mouseout.stars",function(){if(e._disableCancel()){return false}e.$cancel.removeClass(b.cancelHoverClass);e.$stars.triggerHandler("mouseout.stars")});this.$form.bind("reset.stars",function(){!b.disabled&&e.select(b.defaultValue)});a(window).unload(function(){e.$cancel.unbind(".stars");e.$stars.unbind(".stars");e.$form.unbind(".stars");e.$selec=e.$rboxs=e.$stars=e.$value=e.$cancel=e.$form=null});function d(j,h){if(j!=-1){var g=h?b.starHoverClass:b.starOnClass;var i=h?b.starOnClass:b.starHoverClass;e.$stars.eq(j).prevAll("."+b.starClass).andSelf().removeClass(i).addClass(g);e.$stars.eq(j).nextAll("."+b.starClass).removeClass(b.starHoverClass+" "+b.starOnClass);e._showCap(b.id2title[j])}else{c()}}function c(){e.$stars.removeClass(b.starOnClass+" "+b.starHoverClass);e._showCap("")}this.select(b.value);b.disabled&&this.disable()},_disableCancel:function(){var b=this.options,c=b.disabled||b.oneVoteOnly||(b.value==b.cancelValue);if(c){this.$cancel.removeClass(b.cancelHoverClass).addClass(b.cancelDisabledClass)}else{this.$cancel.removeClass(b.cancelDisabledClass)}this.$cancel.css("opacity",c?0.5:1);return c},_disableAll:function(){var b=this.options;this._disableCancel();if(b.disabled){this.$stars.filter("div").addClass(b.starDisabledClass)}else{this.$stars.filter("div").removeClass(b.starDisabledClass)}},_showCap:function(c){var b=this.options;if(b.captionEl){b.captionEl.text(c)}},value:function(){return this.options.value},select:function(b){var c=this.options,d=(b==c.cancelValue)?this.$cancel:this.$stars.eq(c.val2id[b]);c.forceSelect=true;d.triggerHandler("click.stars");c.forceSelect=false},selectID:function(b){var c=this.options,d=(b==-1)?this.$cancel:this.$stars.eq(b);c.forceSelect=true;d.triggerHandler("click.stars");c.forceSelect=false},enable:function(){this.options.disabled=false;this._disableAll()},disable:function(){this.options.disabled=true;this._disableAll()},destroy:function(){this.$form.unbind(".stars");this.$cancel.unbind(".stars").remove();this.$stars.unbind(".stars").remove();this.$value.remove();this.element.unbind(".stars").html(this.element.data("former.stars")).removeData("stars");return this},callback:function(c,d){var b=this.options;b.callback&&b.callback(this,d,b.value,c);b.oneVoteOnly&&!b.disabled&&this.disable()}});a.extend(a.ui.stars,{version:"3.0.1"})})(jQuery);
/*!
* jQuery blockUI plugin
* Version 2.33 (29-MAR-2010)
* @requires jQuery v1.2.3 or later
*
* Examples at: http://malsup.com/jquery/block/
* Copyright (c) 2007-2008 M. Alsup
* Dual licensed under the MIT and GPL licenses:
* http://www.opensource.org/licenses/mit-license.php
* http://www.gnu.org/licenses/gpl.html
*
* Thanks to Amir-Hossein Sobhi for some excellent contributions!
*/
(function(i){if(/1\.(0|1|2)\.(0|1|2)/.test(i.fn.jquery)||/^1.1/.test(i.fn.jquery)){alert("blockUI requires jQuery v1.2.3 or later!  You are using v"+i.fn.jquery);return}i.fn._fadeIn=i.fn.fadeIn;var c=function(){};var j=document.documentMode||0;var e=i.browser.msie&&((i.browser.version<8&&!j)||j<8);var f=i.browser.msie&&/MSIE 6.0/.test(navigator.userAgent)&&!j;i.blockUI=function(p){d(window,p)};i.unblockUI=function(p){h(window,p)};i.growlUI=function(t,r,s,p){var q=i('<div class="growlUI"></div>');if(t){q.append("<h1>"+t+"</h1>")}if(r){q.append("<h2>"+r+"</h2>")}if(s==undefined){s=3000}i.blockUI({message:q,fadeIn:700,fadeOut:1000,centerY:false,timeout:s,showOverlay:false,onUnblock:p,css:i.blockUI.defaults.growlCSS})};i.fn.block=function(p){return this.unblock({fadeOut:0}).each(function(){if(i.css(this,"position")=="static"){this.style.position="relative"}if(i.browser.msie){this.style.zoom=1}d(this,p)})};i.fn.unblock=function(p){return this.each(function(){h(this,p)})};i.blockUI.version=2.33;i.blockUI.defaults={message:"<h1>Please wait...</h1>",title:null,draggable:true,theme:false,css:{padding:0,margin:0,width:"30%",top:"40%",left:"35%",textAlign:"center",color:"#000",border:"3px solid #aaa",backgroundColor:"#fff",cursor:"wait"},themedCSS:{width:"30%",top:"40%",left:"35%"},overlayCSS:{backgroundColor:"#000",opacity:0.6,cursor:"wait"},growlCSS:{width:"350px",top:"10px",left:"",right:"10px",border:"none",padding:"5px",opacity:0.6,cursor:"default",color:"#fff",backgroundColor:"#000","-webkit-border-radius":"10px","-moz-border-radius":"10px","border-radius":"10px"},iframeSrc:/^https/i.test(window.location.href||"")?"javascript:false":"about:blank",forceIframe:false,baseZ:1000,centerX:true,centerY:true,allowBodyStretch:true,bindEvents:true,constrainTabKey:true,fadeIn:200,fadeOut:400,timeout:0,showOverlay:true,focusInput:true,applyPlatformOpacityRules:true,onBlock:null,onUnblock:null,quirksmodeOffsetHack:4};var b=null;var g=[];function d(r,F){var A=(r==window);var w=F&&F.message!==undefined?F.message:undefined;F=i.extend({},i.blockUI.defaults,F||{});F.overlayCSS=i.extend({},i.blockUI.defaults.overlayCSS,F.overlayCSS||{});var C=i.extend({},i.blockUI.defaults.css,F.css||{});var N=i.extend({},i.blockUI.defaults.themedCSS,F.themedCSS||{});w=w===undefined?F.message:w;if(A&&b){h(window,{fadeOut:0})}if(w&&typeof w!="string"&&(w.parentNode||w.jquery)){var I=w.jquery?w[0]:w;var P={};i(r).data("blockUI.history",P);P.el=I;P.parent=I.parentNode;P.display=I.style.display;P.position=I.style.position;if(P.parent){P.parent.removeChild(I)}}var B=F.baseZ;var M=(i.browser.msie||F.forceIframe)?i('<iframe class="blockUI" style="z-index:'+(B++)+';display:none;border:none;margin:0;padding:0;position:absolute;width:100%;height:100%;top:0;left:0" src="'+F.iframeSrc+'"></iframe>'):i('<div class="blockUI" style="display:none"></div>');var L=i('<div class="blockUI blockOverlay" style="z-index:'+(B++)+';display:none;border:none;margin:0;padding:0;width:100%;height:100%;top:0;left:0"></div>');var K,G;if(F.theme&&A){G='<div class="blockUI blockMsg blockPage ui-dialog ui-widget ui-corner-all" style="z-index:'+B+';display:none;position:fixed"><div class="ui-widget-header ui-dialog-titlebar blockTitle">'+(F.title||"&nbsp;")+'</div><div class="ui-widget-content ui-dialog-content"></div></div>'}else{if(F.theme){G='<div class="blockUI blockMsg blockElement ui-dialog ui-widget ui-corner-all" style="z-index:'+B+';display:none;position:absolute"><div class="ui-widget-header ui-dialog-titlebar blockTitle">'+(F.title||"&nbsp;")+'</div><div class="ui-widget-content ui-dialog-content"></div></div>'}else{if(A){G='<div class="blockUI blockMsg blockPage" style="z-index:'+B+';display:none;position:fixed"></div>'}else{G='<div class="blockUI blockMsg blockElement" style="z-index:'+B+';display:none;position:absolute"></div>'}}}K=i(G);if(w){if(F.theme){K.css(N);K.addClass("ui-widget-content")}else{K.css(C)}}if(!F.applyPlatformOpacityRules||!(i.browser.mozilla&&/Linux/.test(navigator.platform))){L.css(F.overlayCSS)}L.css("position",A?"fixed":"absolute");if(i.browser.msie||F.forceIframe){M.css("opacity",0)}var y=[M,L,K],O=A?i("body"):i(r);i.each(y,function(){this.appendTo(O)});if(F.theme&&F.draggable&&i.fn.draggable){K.draggable({handle:".ui-dialog-titlebar",cancel:"li"})}var v=e&&(!i.boxModel||i("object,embed",A?null:r).length>0);if(f||v){if(A&&F.allowBodyStretch&&i.boxModel){i("html,body").css("height","100%")}if((f||!i.boxModel)&&!A){var E=m(r,"borderTopWidth"),J=m(r,"borderLeftWidth");var x=E?"(0 - "+E+")":0;var D=J?"(0 - "+J+")":0}i.each([M,L,K],function(t,S){var z=S[0].style;z.position="absolute";if(t<2){A?z.setExpression("height","Math.max(document.body.scrollHeight, document.body.offsetHeight) - (jQuery.boxModel?0:"+F.quirksmodeOffsetHack+') + "px"'):z.setExpression("height",'this.parentNode.offsetHeight + "px"');A?z.setExpression("width",'jQuery.boxModel && document.documentElement.clientWidth || document.body.clientWidth + "px"'):z.setExpression("width",'this.parentNode.offsetWidth + "px"');if(D){z.setExpression("left",D)}if(x){z.setExpression("top",x)}}else{if(F.centerY){if(A){z.setExpression("top",'(document.documentElement.clientHeight || document.body.clientHeight) / 2 - (this.offsetHeight / 2) + (blah = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop) + "px"')}z.marginTop=0}else{if(!F.centerY&&A){var Q=(F.css&&F.css.top)?parseInt(F.css.top):0;var R="((document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop) + "+Q+') + "px"';z.setExpression("top",R)}}}})}if(w){if(F.theme){K.find(".ui-widget-content").append(w)}else{K.append(w)}if(w.jquery||w.nodeType){i(w).show()}}if((i.browser.msie||F.forceIframe)&&F.showOverlay){M.show()}if(F.fadeIn){var H=F.onBlock?F.onBlock:c;var q=(F.showOverlay&&!w)?H:c;var p=w?H:c;if(F.showOverlay){L._fadeIn(F.fadeIn,q)}if(w){K._fadeIn(F.fadeIn,p)}}else{if(F.showOverlay){L.show()}if(w){K.show()}if(F.onBlock){F.onBlock()}}l(1,r,F);if(A){b=K[0];g=i(":input:enabled:visible",b);if(F.focusInput){setTimeout(o,20)}}else{a(K[0],F.centerX,F.centerY)}if(F.timeout){var u=setTimeout(function(){A?i.unblockUI(F):i(r).unblock(F)},F.timeout);i(r).data("blockUI.timeout",u)}}function h(s,t){var r=(s==window);var q=i(s);var u=q.data("blockUI.history");var v=q.data("blockUI.timeout");if(v){clearTimeout(v);q.removeData("blockUI.timeout")}t=i.extend({},i.blockUI.defaults,t||{});l(0,s,t);var p;if(r){p=i("body").children().filter(".blockUI").add("body > .blockUI")}else{p=i(".blockUI",s)}if(r){b=g=null}if(t.fadeOut){p.fadeOut(t.fadeOut);setTimeout(function(){k(p,u,t,s)},t.fadeOut)}else{k(p,u,t,s)}}function k(p,s,r,q){p.each(function(t,u){if(this.parentNode){this.parentNode.removeChild(this)}});if(s&&s.el){s.el.style.display=s.display;s.el.style.position=s.position;if(s.parent){s.parent.appendChild(s.el)}i(q).removeData("blockUI.history")}if(typeof r.onUnblock=="function"){r.onUnblock(q,r)}}function l(p,t,u){var s=t==window,r=i(t);if(!p&&(s&&!b||!s&&!r.data("blockUI.isBlocked"))){return}if(!s){r.data("blockUI.isBlocked",p)}if(!u.bindEvents||(p&&!u.showOverlay)){return}var q="mousedown mouseup keydown keypress";p?i(document).bind(q,u,n):i(document).unbind(q,n)}function n(s){if(s.keyCode&&s.keyCode==9){if(b&&s.data.constrainTabKey){var r=g;var q=!s.shiftKey&&s.target==r[r.length-1];var p=s.shiftKey&&s.target==r[0];if(q||p){setTimeout(function(){o(p)},10);return false}}}if(i(s.target).parents("div.blockMsg").length>0){return true}return i(s.target).parents().children().filter("div.blockUI").length==0}function o(p){if(!g){return}var q=g[p===true?g.length-1:0];if(q){q.focus()}}function a(w,q,A){var z=w.parentNode,v=w.style;var r=((z.offsetWidth-w.offsetWidth)/2)-m(z,"borderLeftWidth");var u=((z.offsetHeight-w.offsetHeight)/2)-m(z,"borderTopWidth");if(q){v.left=r>0?(r+"px"):"0"}if(A){v.top=u>0?(u+"px"):"0"}}function m(q,r){return parseInt(i.css(q,r))||0}})(jQuery);
/*!
* jQuery corner plugin: simple corner rounding
* Examples and documentation at: http://jquery.malsup.com/corner/
* version 2.11 (15-JUN-2010)
* Requires jQuery v1.3.2 or later
* Dual licensed under the MIT and GPL licenses:
* http://www.opensource.org/licenses/mit-license.php
* http://www.gnu.org/licenses/gpl.html
* Authors: Dave Methvin and Mike Alsup
*/
(function(c){var a=document.createElement("div").style,h=a.MozBorderRadius!==undefined,j=a.WebkitBorderRadius!==undefined,e=a.borderRadius!==undefined||a.BorderRadius!==undefined,d=document.documentMode||0,l=c.browser.msie&&((c.browser.version<8&&!d)||d<8),i=c.browser.msie&&(function(){var n=document.createElement("div");try{n.style.setExpression("width","0+0");n.style.removeExpression("width")}catch(m){return false}return true})();c.support=c.support||{};c.support.borderRadius=h||j||e;function g(m,n){return parseInt(c.css(m,n))||0}function k(m){var m=parseInt(m).toString(16);return(m.length<2)?"0"+m:m}function b(o){while(o){var m=c.css(o,"backgroundColor"),n;if(m&&m!="transparent"&&m!="rgba(0, 0, 0, 0)"){if(m.indexOf("rgb")>=0){n=m.match(/\d+/g);return"#"+k(n[0])+k(n[1])+k(n[2])}return m}if(o.nodeName.toLowerCase()=="html"){break}o=o.parentNode}return"#ffffff"}function f(o,m,n){switch(o){case"round":return Math.round(n*(1-Math.cos(Math.asin(m/n))));case"cool":return Math.round(n*(1+Math.cos(Math.asin(m/n))));case"sharp":return Math.round(n*(1-Math.cos(Math.acos(m/n))));case"bite":return Math.round(n*(Math.cos(Math.asin((n-m-1)/n))));case"slide":return Math.round(n*(Math.atan2(m,n/m)));case"jut":return Math.round(n*(Math.atan2(n,(n-m-1))));case"curl":return Math.round(n*(Math.atan(m)));case"tear":return Math.round(n*(Math.cos(m)));case"wicked":return Math.round(n*(Math.tan(m)));case"long":return Math.round(n*(Math.sqrt(m)));case"sculpt":return Math.round(n*(Math.log((n-m-1),n)));case"dogfold":case"dog":return(m&1)?(m+1):n;case"dog2":return(m&2)?(m+1):n;case"dog3":return(m&3)?(m+1):n;case"fray":return(m%2)*n;case"notch":return n;case"bevelfold":case"bevel":return m+1}}c.fn.corner=function(m){if(this.length==0){if(!c.isReady&&this.selector){var n=this.selector,o=this.context;c(function(){c(n,o).corner(m)})}return this}return this.each(function(v){var u=c(this),D=[u.attr(c.fn.corner.defaults.metaAttr)||"",m||""].join(" ").toLowerCase(),K=/keep/.test(D),C=((D.match(/cc:(#[0-9a-f]+)/)||[])[1]),p=((D.match(/sc:(#[0-9a-f]+)/)||[])[1]),G=parseInt((D.match(/(\d+)px/)||[])[1])||10,E=/round|bevelfold|bevel|notch|bite|cool|sharp|slide|jut|curl|tear|fray|wicked|sculpt|long|dog3|dog2|dogfold|dog/,r=((D.match(E)||["round"])[0]),s=/dogfold|bevelfold/.test(D),q={T:0,B:1},z={TL:/top|tl|left/.test(D),TR:/top|tr|right/.test(D),BL:/bottom|bl|left/.test(D),BR:/bottom|br|right/.test(D)},H,N,F,I,y,O,B,L,J,x,M,P,A,t;if(!z.TL&&!z.TR&&!z.BL&&!z.BR){z={TL:1,TR:1,BL:1,BR:1}}if(c.fn.corner.defaults.useNative&&r=="round"&&(e||h||j)&&!C&&!p){if(z.TL){u.css(e?"border-top-left-radius":h?"-moz-border-radius-topleft":"-webkit-border-top-left-radius",G+"px")}if(z.TR){u.css(e?"border-top-right-radius":h?"-moz-border-radius-topright":"-webkit-border-top-right-radius",G+"px")}if(z.BL){u.css(e?"border-bottom-left-radius":h?"-moz-border-radius-bottomleft":"-webkit-border-bottom-left-radius",G+"px")}if(z.BR){u.css(e?"border-bottom-right-radius":h?"-moz-border-radius-bottomright":"-webkit-border-bottom-right-radius",G+"px")}return}H=document.createElement("div");c(H).css({overflow:"hidden",height:"1px",minHeight:"1px",fontSize:"1px",backgroundColor:p||"transparent",borderStyle:"solid"});N={T:parseInt(c.css(this,"paddingTop"))||0,R:parseInt(c.css(this,"paddingRight"))||0,B:parseInt(c.css(this,"paddingBottom"))||0,L:parseInt(c.css(this,"paddingLeft"))||0};if(typeof this.style.zoom!=undefined){this.style.zoom=1}if(!K){this.style.border="none"}H.style.borderColor=C||b(this.parentNode);F=c(this).outerHeight();for(I in q){y=q[I];if((y&&(z.BL||z.BR))||(!y&&(z.TL||z.TR))){H.style.borderStyle="none "+(z[I+"R"]?"solid":"none")+" none "+(z[I+"L"]?"solid":"none");O=document.createElement("div");c(O).addClass("jquery-corner");B=O.style;y?this.appendChild(O):this.insertBefore(O,this.firstChild);if(y&&F!="auto"){if(c.css(this,"position")=="static"){this.style.position="relative"}B.position="absolute";B.bottom=B.left=B.padding=B.margin="0";if(i){B.setExpression("width","this.parentNode.offsetWidth")}else{B.width="100%"}}else{if(!y&&c.browser.msie){if(c.css(this,"position")=="static"){this.style.position="relative"}B.position="absolute";B.top=B.left=B.right=B.padding=B.margin="0";if(i){L=g(this,"borderLeftWidth")+g(this,"borderRightWidth");B.setExpression("width","this.parentNode.offsetWidth - "+L+'+ "px"')}else{B.width="100%"}}else{B.position="relative";B.margin=!y?"-"+N.T+"px -"+N.R+"px "+(N.T-G)+"px -"+N.L+"px":(N.B-G)+"px -"+N.R+"px -"+N.B+"px -"+N.L+"px"}}for(J=0;J<G;J++){x=Math.max(0,f(r,J,G));M=H.cloneNode(false);M.style.borderWidth="0 "+(z[I+"R"]?x:0)+"px 0 "+(z[I+"L"]?x:0)+"px";y?O.appendChild(M):O.insertBefore(M,O.firstChild)}if(s&&c.support.boxModel){if(y&&l){continue}for(P in z){if(!z[P]){continue}if(y&&(P=="TL"||P=="TR")){continue}if(!y&&(P=="BL"||P=="BR")){continue}A={position:"absolute",border:"none",margin:0,padding:0,overflow:"hidden",backgroundColor:H.style.borderColor};t=c("<div/>").css(A).css({width:G+"px",height:"1px"});switch(P){case"TL":t.css({bottom:0,left:0});break;case"TR":t.css({bottom:0,right:0});break;case"BL":t.css({top:0,left:0});break;case"BR":t.css({top:0,right:0});break}O.appendChild(t[0]);var Q=c("<div/>").css(A).css({top:0,bottom:0,width:"1px",height:G+"px"});switch(P){case"TL":Q.css({left:G});break;case"TR":Q.css({right:G});break;case"BL":Q.css({left:G});break;case"BR":Q.css({right:G});break}O.appendChild(Q[0])}}}}})};c.fn.uncorner=function(){if(e||h||j){this.css(e?"border-radius":h?"-moz-border-radius":"-webkit-border-radius",0)}c("div.jquery-corner",this).remove();return this};c.fn.corner.defaults={useNative:true,metaAttr:"data-corner"}})(jQuery);if(!this.JSON){this.JSON={}}(function(){function f(n){return n<10?"0"+n:n}if(typeof Date.prototype.toJSON!=="function"){Date.prototype.toJSON=function(key){return isFinite(this.valueOf())?this.getUTCFullYear()+"-"+f(this.getUTCMonth()+1)+"-"+f(this.getUTCDate())+"T"+f(this.getUTCHours())+":"+f(this.getUTCMinutes())+":"+f(this.getUTCSeconds())+"Z":null};String.prototype.toJSON=Number.prototype.toJSON=Boolean.prototype.toJSON=function(key){return this.valueOf()}}var cx=/[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,escapable=/[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,gap,indent,meta={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},rep;function quote(string){escapable.lastIndex=0;return escapable.test(string)?'"'+string.replace(escapable,function(a){var c=meta[a];return typeof c==="string"?c:"\\u"+("0000"+a.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+string+'"'}function str(key,holder){var i,k,v,length,mind=gap,partial,value=holder[key];if(value&&typeof value==="object"&&typeof value.toJSON==="function"){value=value.toJSON(key)}if(typeof rep==="function"){value=rep.call(holder,key,value)}switch(typeof value){case"string":return quote(value);case"number":return isFinite(value)?String(value):"null";case"boolean":case"null":return String(value);case"object":if(!value){return"null"}gap+=indent;partial=[];if(Object.prototype.toString.apply(value)==="[object Array]"){length=value.length;for(i=0;i<length;i+=1){partial[i]=str(i,value)||"null"}v=partial.length===0?"[]":gap?"[\n"+gap+partial.join(",\n"+gap)+"\n"+mind+"]":"["+partial.join(",")+"]";gap=mind;return v}if(rep&&typeof rep==="object"){length=rep.length;for(i=0;i<length;i+=1){k=rep[i];if(typeof k==="string"){v=str(k,value);if(v){partial.push(quote(k)+(gap?": ":":")+v)}}}}else{for(k in value){if(Object.hasOwnProperty.call(value,k)){v=str(k,value);if(v){partial.push(quote(k)+(gap?": ":":")+v)}}}}v=partial.length===0?"{}":gap?"{\n"+gap+partial.join(",\n"+gap)+"\n"+mind+"}":"{"+partial.join(",")+"}";gap=mind;return v}}if(typeof JSON.stringify!=="function"){JSON.stringify=function(value,replacer,space){var i;gap="";indent="";if(typeof space==="number"){for(i=0;i<space;i+=1){indent+=" "}}else{if(typeof space==="string"){indent=space}}rep=replacer;if(replacer&&typeof replacer!=="function"&&(typeof replacer!=="object"||typeof replacer.length!=="number")){throw new Error("JSON.stringify")}return str("",{"":value})}}if(typeof JSON.parse!=="function"){JSON.parse=function(text,reviver){var j;function walk(holder,key){var k,v,value=holder[key];if(value&&typeof value==="object"){for(k in value){if(Object.hasOwnProperty.call(value,k)){v=walk(value,k);if(v!==undefined){value[k]=v}else{delete value[k]}}}}return reviver.call(holder,key,value)}text=String(text);cx.lastIndex=0;if(cx.test(text)){text=text.replace(cx,function(a){return"\\u"+("0000"+a.charCodeAt(0).toString(16)).slice(-4)})}if(/^[\],:{}\s]*$/.test(text.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]").replace(/(?:^|:|,)(?:\s*\[)+/g,""))){j=eval("("+text+")");return typeof reviver==="function"?walk({"":j},""):j}throw new SyntaxError("JSON.parse")}}}());
