function abs(mixed_number){return Math.abs(mixed_number)||0;}
function acos(arg){return Math.acos(arg);}
function acosh(arg){return Math.log(arg+Math.sqrt(arg*arg-1));}
function addslashes(str){return(str+'').replace(/([\\"'])/g,"\\$1").replace(/\0/g,"\\0");}
function aggregate(obj,class_name){var p='',record={},pos=-1;if(typeof class_name==='string'){class_name=window[class_name];}
if(!this.php_js){this.php_js={};}
if(!this.php_js.aggregateKeys){this.php_js.aggregateKeys=[];}
if(!this.php_js.aggregateRecords){this.php_js.aggregateRecords=[];}
if(!this.php_js.aggregateClasses){this.php_js.aggregateClasses=[];}
this.php_js.aggregateClasses.push(class_name.name);for(p in class_name){if(!(p in obj)&&p!=='prototype'&&p[0]!=='_'){obj[p]=class_name[p];record[p]=class_name[p];}}
for(p in class_name.prototype){if(!(p in obj)&&p[0]!=='_'){obj[p]=class_name.prototype[p];record[p]=class_name.prototype[p];}}
pos=this.php_js.aggregateKeys.indexOf(obj);if(pos!==-1){this.php_js.aggregateRecords[pos].push(record);this.php_js.aggregateClasses[pos].push(class_name.name);}else{this.php_js.aggregateKeys.push(obj);this.php_js.aggregateRecords.push([record]);this.php_js.aggregateClasses[0]=[];this.php_js.aggregateClasses[0].push(class_name.name);}}
function aggregate_info(obj){var idx=-1,p='',infoObj={},retObj={},i=0,name='';if(!this.php_js||!this.php_js.aggregateRecords||!this.php_js.aggregateKeys||!this.php_js.aggregateClasses){return false;}
idx=this.php_js.aggregateKeys.indexOf(obj)
if(idx===-1){return false;}
for(i=0;i<this.php_js.aggregateClasses[idx].length;i++){name=this.php_js.aggregateClasses[idx][i];infoObj={methods:[],properties:[]};for(p in this.php_js.aggregateRecords[idx][i]){if(typeof this.php_js.aggregateRecords[idx][i][p]==='function'){infoObj.methods.push(p);}
else{infoObj.properties.push(p);}}
retObj[name]=infoObj;}
return retObj;}
function aggregate_methods(obj,class_name){var p='',record={},pos=-1;if(typeof class_name==='string'){class_name=window[class_name];}
if(!this.php_js){this.php_js={};}
if(!this.php_js.aggregateKeys){this.php_js.aggregateKeys=[];}
if(!this.php_js.aggregateRecords){this.php_js.aggregateRecords=[];}
if(!this.php_js.aggregateClasses){this.php_js.aggregateClasses=[];}
this.php_js.aggregateClasses.push(class_name.name);for(p in class_name){if(!(p in obj)&&typeof class_name[p]==='function'&&p[0]!=='_'){obj[p]=class_name[p];record[p]=class_name[p];}}
for(p in class_name.prototype){if(!(p in obj)&&typeof class_name.prototype[p]==='function'&&p[0]!=='_'){obj[p]=class_name.prototype[p];record[p]=class_name.prototype[p];}}
pos=this.php_js.aggregateKeys.indexOf(obj);if(pos!==-1){this.php_js.aggregateRecords[pos].push(record);this.php_js.aggregateClasses[pos].push(class_name.name);}else{this.php_js.aggregateKeys.push(obj);this.php_js.aggregateRecords.push([record]);this.php_js.aggregateClasses[0]=[];this.php_js.aggregateClasses[0].push(class_name.name);}}
function aggregate_methods_by_list(obj,class_name,properties_list,exclude){var p='',i=0,record={},pos=-1;if(typeof class_name==='string'){class_name=window[class_name];}
if(!this.php_js){this.php_js={};}
if(!this.php_js.aggregateKeys){this.php_js.aggregateKeys=[];}
if(!this.php_js.aggregateRecords){this.php_js.aggregateRecords=[];}
if(!this.php_js.aggregateClasses){this.php_js.aggregateClasses=[];}
this.php_js.aggregateClasses.push(class_name.name);if(exclude){for(p in class_name){if(!(p in obj)&&typeof class_name[p]==='function'&&p[0]!=='_'&&properties_list.indexOf(p)===-1){obj[p]=class_name[p];record[p]=class_name[p];}}
for(p in class_name.prototype){if(!(p in obj)&&typeof class_name.prototype[p]==='function'&&p[0]!=='_'&&properties_list.indexOf(p)===-1){obj[p]=class_name.prototype[p];record[p]=class_name.prototype[p];}}}else{for(i=0;i<properties_list.length;i++){p=properties_list[i];if(!(p in obj)&&p in class_name&&p[0]!=='_'&&typeof class_name.prototype[p]==='function'){obj[p]=class_name[p];record[p]=class_name[p];}else if(!(p in obj)&&p in class_name.prototype&&p[0]!=='_'&&typeof class_name.prototype[p]==='function'){obj[p]=class_name.prototype[p];record[p]=class_name.prototype[p];}}}
pos=this.php_js.aggregateKeys.indexOf(obj);if(pos!==-1){this.php_js.aggregateRecords[pos].push(record);this.php_js.aggregateClasses[pos].push(class_name.name);}else{this.php_js.aggregateKeys.push(obj);this.php_js.aggregateRecords.push([record]);this.php_js.aggregateClasses[0]=[];this.php_js.aggregateClasses[0].push(class_name.name);}}
function aggregate_methods_by_regexp(obj,class_name,regexp,exclude){var p='',i=0,test=false,record={},pos=-1;if(typeof regexp==='string'){regexp=eval(regexp);}
if(typeof class_name==='string'){class_name=window[class_name];}
if(!this.php_js){this.php_js={};}
if(!this.php_js.aggregateKeys){this.php_js.aggregateKeys=[];}
if(!this.php_js.aggregateRecords){this.php_js.aggregateRecords=[];}
if(!this.php_js.aggregateClasses){this.php_js.aggregateClasses=[];}
this.php_js.aggregateClasses.push(class_name.name);for(p in class_name){test=exclude?!regexp.test(p):regexp.test(p);if(!(p in obj)&&typeof class_name[p]==='function'&&p[0]!=='_'&&test){obj[p]=class_name[p];record[p]=class_name[p];}}
for(p in class_name.prototype){test=exclude?!regexp.test(p):regexp.test(p);if(!(p in obj)&&typeof class_name.prototype[p]==='function'&&p[0]!=='_'&&test){obj[p]=class_name.prototype[p];record[p]=class_name.prototype[p];}}
pos=this.php_js.aggregateKeys.indexOf(obj);if(pos!==-1){this.php_js.aggregateRecords[pos].push(record);this.php_js.aggregateClasses[pos].push(class_name.name);}else{this.php_js.aggregateKeys.push(obj);this.php_js.aggregateRecords.push([record]);this.php_js.aggregateClasses[0]=[];this.php_js.aggregateClasses[0].push(class_name.name);}}
function aggregate_properties(obj,class_name){var p='',record={},pos=-1;if(typeof class_name==='string'){class_name=window[class_name];}
if(!this.php_js){this.php_js={};}
if(!this.php_js.aggregateKeys){this.php_js.aggregateKeys=[];}
if(!this.php_js.aggregateRecords){this.php_js.aggregateRecords=[];}
if(!this.php_js.aggregateClasses){this.php_js.aggregateClasses=[];}
this.php_js.aggregateClasses.push(class_name.name);for(p in class_name){if(!(p in obj)&&typeof class_name[p]!=='function'&&p[0]!=='_'){obj[p]=class_name[p];record[p]=class_name[p];}}
for(p in class_name.prototype){if(!(p in obj)&&typeof class_name.prototype[p]!=='function'&&p[0]!=='_'){obj[p]=class_name.prototype[p];record[p]=class_name.prototype[p];}}
pos=this.php_js.aggregateKeys.indexOf(obj);if(pos!==-1){this.php_js.aggregateRecords[pos].push(record);this.php_js.aggregateClasses[pos].push(class_name.name);}else{this.php_js.aggregateKeys.push(obj);this.php_js.aggregateRecords.push([record]);this.php_js.aggregateClasses[0]=[];this.php_js.aggregateClasses[0].push(class_name.name);}}
function aggregate_properties_by_list(obj,class_name,properties_list,exclude){var p='',i=0,record={},pos=-1;if(typeof class_name==='string'){class_name=window[class_name];}
if(!this.php_js){this.php_js={};}
if(!this.php_js.aggregateKeys){this.php_js.aggregateKeys=[];}
if(!this.php_js.aggregateRecords){this.php_js.aggregateRecords=[];}
if(!this.php_js.aggregateClasses){this.php_js.aggregateClasses=[];}
this.php_js.aggregateClasses.push(class_name.name);if(exclude){for(p in class_name){if(!(p in obj)&&typeof class_name[p]!=='function'&&p[0]!=='_'&&properties_list.indexOf(p)===-1){obj[p]=class_name[p];record[p]=class_name[p];}}
for(p in class_name.prototype){if(!(p in obj)&&typeof class_name.prototype[p]!=='function'&&p[0]!=='_'&&properties_list.indexOf(p)===-1){obj[p]=class_name.prototype[p];record[p]=class_name.prototype[p];}}}else{for(i=0;i<properties_list.length;i++){p=properties_list[i];if(!(p in obj)&&p in class_name&&p[0]!=='_'&&typeof class_name.prototype[p]!=='function'){obj[p]=class_name[p];record[p]=class_name[p];}else if(!(p in obj)&&p in class_name.prototype&&p[0]!=='_'&&typeof class_name.prototype[p]!=='function'){obj[p]=class_name.prototype[p];record[p]=class_name.prototype[p];}}}
pos=this.php_js.aggregateKeys.indexOf(obj);if(pos!==-1){this.php_js.aggregateRecords[pos].push(record);this.php_js.aggregateClasses[pos].push(class_name.name);}else{this.php_js.aggregateKeys.push(obj);this.php_js.aggregateRecords.push([record]);this.php_js.aggregateClasses[0]=[];this.php_js.aggregateClasses[0].push(class_name.name);}}
function aggregate_properties_by_regexp(obj,class_name,regexp,exclude){var p='',i=0,test=false,record={},pos=-1;if(typeof regexp==='string'){regexp=eval(regexp);}
if(typeof class_name==='string'){class_name=window[class_name];}
if(!this.php_js){this.php_js={};}
if(!this.php_js.aggregateKeys){this.php_js.aggregateKeys=[];}
if(!this.php_js.aggregateRecords){this.php_js.aggregateRecords=[];}
if(!this.php_js.aggregateClasses){this.php_js.aggregateClasses=[];}
for(p in class_name){test=exclude?!regexp.test(p):regexp.test(p);if(!(p in obj)&&typeof class_name[p]!=='function'&&p[0]!=='_'&&test){obj[p]=class_name[p];record[p]=class_name[p];}}
for(p in class_name.prototype){test=exclude?!regexp.test(p):regexp.test(p);if(!(p in obj)&&typeof class_name.prototype[p]!=='function'&&p[0]!=='_'&&test){obj[p]=class_name.prototype[p];record[p]=class_name.prototype[p];}}
pos=this.php_js.aggregateKeys.indexOf(obj);if(pos!==-1){this.php_js.aggregateRecords[pos].push(record);this.php_js.aggregateClasses[pos].push(class_name.name);}else{this.php_js.aggregateKeys.push(obj);this.php_js.aggregateRecords.push([record]);this.php_js.aggregateClasses[0]=[];this.php_js.aggregateClasses[0].push(class_name.name);}}
function aggregation_info(obj){return aggregate_info(obj);}
function array(){return Array.prototype.slice.call(arguments);}
function array_change_key_case(array){var case_fn,tmp_ar=new Object,argc=arguments.length,argv=arguments,key;if(array instanceof Array){return array;}
if(array instanceof Object){if(argc==1||argv[1]=='CASE_LOWER'||argv[1]==0){case_fn="toLowerCase";}else{case_fn="toUpperCase";}
for(key in array){tmp_ar[key[case_fn]()]=array[key];}
return tmp_ar;}
return false;}
function array_chunk(input,size){for(var x,i=0,c=-1,l=input.length,n=[];i<l;i++){(x=i%size)?n[c][x]=input[i]:n[++c]=[input[i]];}
return n;}
function array_combine(keys,values){var new_array={},keycount=keys.length,i;if(!keys||!values||keys.constructor!==Array||values.constructor!==Array){return false;}
if(keycount!=values.length){return false;}
for(i=0;i<keycount;i++){new_array[keys[i]]=values[i];}
return new_array;}
function array_count_values(array){var tmp_arr={},key='',t='';var __getType=function(obj){var t=typeof obj;t=t.toLowerCase();if(t=="object"){t="array";}
return t;}
var __countValue=function(value){switch(typeof(value)){case"number":if(Math.floor(value)!=value){return;}
case"string":if(value in this){++this[value];}else{this[value]=1;}}};t=__getType(array);if(t=='array'){for(key in array){__countValue.call(tmp_arr,array[key]);}}
return tmp_arr;}
function array_diff(){var arr1=arguments[0],retArr={};var k1='',i=1,k='',arr={};arr1keys:for(k1 in arr1){for(i=1;i<arguments.length;i++){arr=arguments[i];for(k in arr){if(arr[k]===arr1[k1]){continue arr1keys;}}
retArr[k1]=arr1[k1];}}
return retArr;}
function array_diff_assoc(){var arr1=arguments[0],retArr={};var k1='',i=1,k='',arr={};arr1keys:for(k1 in arr1){for(i=1;i<arguments.length;i++){arr=arguments[i];for(k in arr){if(arr[k]===arr1[k1]&&k===k1){continue arr1keys;}}
retArr[k1]=arr1[k1];}}
return retArr;}
function array_diff_key(){var arr1=arguments[0],retArr={};var k1='',i=1,k='',arr={};arr1keys:for(k1 in arr1){for(i=1;i<arguments.length;i++){arr=arguments[i];for(k in arr){if(k===k1){continue arr1keys;}}
retArr[k1]=arr1[k1];}}
return retArr;}
function array_diff_uassoc(){var arr1=arguments[0],retArr={},cb=arguments[arguments.length-1];var arr={},i=1,k1='',k='';cb=(typeof cb==='string')?window[cb]:(cb instanceof Array)?window[cb[0]][cb[1]]:cb;arr1keys:for(k1 in arr1){for(i=1;i<arguments.length-1;i++){arr=arguments[i];for(k in arr){if(arr[k]===arr1[k1]&&cb(k,k1)===0){continue arr1keys;}}
retArr[k1]=arr1[k1];}}
return retArr;}
function array_diff_ukey(){var arr1=arguments[0],retArr={},cb=arguments[arguments.length-1];var arr={},i=1,k1='',k='';cb=(typeof cb==='string')?window[cb]:(cb instanceof Array)?window[cb[0]][cb[1]]:cb;arr1keys:for(k1 in arr1){for(i=1;i<arguments.length-1;i++){arr=arguments[i];for(k in arr){if(cb(k,k1)===0){continue arr1keys;}}
retArr[k1]=arr1[k1];}}
return retArr;}
function array_fill(start_index,num,mixed_val){var key,tmp_arr={};if(!isNaN(start_index)&&!isNaN(num)){for(key=0;key<num;key++){tmp_arr[(key+start_index)]=mixed_val;}}
return tmp_arr;}
function array_fill_keys(keys,value){var retObj={},key='';for(key in keys){retObj[keys[key]]=value;}
return retObj;}
function array_filter(arr,func){var retObj={},k;for(k in arr){if(func(arr[k])){retObj[k]=arr[k];}}
return retObj;}
function array_flip(trans){var key,tmp_ar={};for(key in trans){tmp_ar[trans[key]]=key;}
return tmp_ar;}
function array_intersect(){var arr1=arguments[0],retArr={};var k1='',arr={},i=0,k='';arr1keys:for(k1 in arr1){arrs:for(i=1;i<arguments.length;i++){arr=arguments[i];for(k in arr){if(arr[k]===arr1[k1]){if(i===arguments.length-1){retArr[k1]=arr1[k1];}
continue arrs;}}
continue arr1keys;}}
return retArr;}
function array_intersect_assoc(){var arr1=arguments[0],retArr={};var k1='',arr={},i=0,k='';arr1keys:for(k1 in arr1){arrs:for(i=1;i<arguments.length;i++){arr=arguments[i];for(k in arr){if(arr[k]===arr1[k1]&&k===k1){if(i===arguments.length-1){retArr[k1]=arr1[k1];}
continue arrs;}}
continue arr1keys;}}
return retArr;}
function array_intersect_key(){var arr1=arguments[0],retArr={};var k1='',arr={},i=0,k='';arr1keys:for(k1 in arr1){arrs:for(i=1;i<arguments.length;i++){arr=arguments[i];for(k in arr){if(k===k1){if(i===arguments.length-1){retArr[k1]=arr1[k1];}
continue arrs;}}
continue arr1keys;}}
return retArr;}
function array_intersect_uassoc(){var arr1=arguments[0],retArr={},cb=arguments[arguments.length-1];var k1='',i=1,arr={},k='';cb=(typeof cb==='string')?window[cb]:(cb instanceof Array)?window[cb[0]][cb[1]]:cb;arr1keys:for(k1 in arr1){arrs:for(i=1;i<arguments.length-1;i++){arr=arguments[i];for(k in arr){if(arr[k]===arr1[k1]&&cb(k,k1)===0){if(i===arguments.length-2){retArr[k1]=arr1[k1];}
continue arrs;}}
continue arr1keys;}}
return retArr;}
function array_intersect_ukey(){var arr1=arguments[0],retArr={},cb=arguments[arguments.length-1];var k1='',i=1,arr={},k='';cb=(typeof cb==='string')?window[cb]:(cb instanceof Array)?window[cb[0]][cb[1]]:cb;arr1keys:for(k1 in arr1){arrs:for(i=1;i<arguments.length-1;i++){arr=arguments[i];for(k in arr){if(cb(k,k1)===0){if(i===arguments.length-2){retArr[k1]=arr1[k1];}
continue arrs;}}
continue arr1keys;}}
return retArr;}
function array_key_exists(key,search){if(!search||(search.constructor!==Array&&search.constructor!==Object)){return false;}
return key in search;}
function array_keys(input,search_value,argStrict){var tmp_arr={},strict=!!argStrict,include=true,cnt=0;var key='';for(key in input){include=true;if(search_value!=undefined){if(strict&&input[key]!==search_value){include=false;}else if(input[key]!=search_value){include=false;}}
if(include){tmp_arr[cnt]=key;cnt++;}}
return tmp_arr;}
function array_map(callback){var argc=arguments.length,argv=arguments;var j=argv[1].length,i=0,k=1,m=0;var tmp=[],tmp_ar=[];while(i<j){while(k<argc){tmp[m++]=argv[k++][i];}
m=0;k=1;if(callback){tmp_ar[i++]=callback.apply(null,tmp);}else{tmp_ar[i++]=tmp;}
tmp=[];}
return tmp_ar;}
function array_merge(){var args=Array.prototype.slice.call(arguments);var retObj={},k,j=0,i=0;var retArr;for(i=0,retArr=true;i<args.length;i++){if(!(args[i]instanceof Array)){retArr=false;break;}}
if(retArr){return args;}
var ct=0;for(i=0,ct=0;i<args.length;i++){if(args[i]instanceof Array){for(j=0;j<args[i].length;j++){retObj[ct++]=args[i][j];}}else{for(k in args[i]){if(is_int(k)){retObj[ct++]=args[i][k];}else{retObj[k]=args[i][k];}}}}
return retObj;}
function array_merge_recursive(arr1,arr2){var idx='';if((arr1&&(arr1 instanceof Array))&&(arr2&&(arr2 instanceof Array))){for(idx in arr2){arr1.push(arr2[idx]);}}else if((arr1&&(arr1 instanceof Object))&&(arr2&&(arr2 instanceof Object))){for(idx in arr2){if(idx in arr1){if(typeof arr1[idx]=='object'&&typeof arr2=='object'){arr1[idx]=array_merge(arr1[idx],arr2[idx]);}else{arr1[idx]=arr2[idx];}}else{arr1[idx]=arr2[idx];}}}
return arr1;}
function array_pad(input,pad_size,pad_value){var pad=[],newArray=[],newLength,i=0;if(input instanceof Array&&!isNaN(pad_size)){newLength=((pad_size<0)?(pad_size*-1):pad_size);if(newLength>input.length){for(i=0;i<(newLength-input.length);i++){newArray[i]=pad_value;}
pad=((pad_size<0)?newArray.concat(input):input.concat(newArray));}else{pad=input;}}
return pad;}
function array_pop(array){var key='',cnt=0;if(array.hasOwnProperty('length')){if(!array.length){return null;}
return array.pop();}else{for(key in array){cnt++;}
if(cnt){delete(array[key]);return array[key];}else{return null;}}}
function array_product(input){var Index=0,Product=1;if(input instanceof Array){while(Index<input.length){Product*=(!isNaN(input[Index])?input[Index]:0);Index++;}}else{Product=null;}
return Product;}
function array_push(array){var i,argv=arguments,argc=argv.length;for(i=1;i<argc;i++){array[array.length++]=argv[i];}
return array.length;}
function array_rand(input,num_req){var Indexes=[];var Ticks=num_req||1;var checkDuplicate=function(input,value){var Exist=false,Index=0;while(Index<input.length){if(input[Index]===value){Exist=true;break;}
Index++;}
return Exist;};if(input instanceof Array&&Ticks<=input.length){while(true){var Rand=Math.floor((Math.random()*input.length));if(Indexes.length===Ticks){break;}
if(!checkDuplicate(Indexes,Rand)){Indexes.push(Rand);}}}else{Indexes=null;}
return((Ticks==1)?Indexes.join():Indexes);}
function array_reduce(a_input,callback){var lon=a_input.length;var res=0,i=0;var tmp=[];for(i=0;i<lon;i+=2){tmp[0]=a_input[i];if(a_input[(i+1)]){tmp[1]=a_input[(i+1)];}else{tmp[1]=0;}
res+=callback.apply(null,tmp);tmp=[];}
return res;}
function array_reverse(array,preserve_keys){var arr_len=array.length,newkey=0,tmp_arr={},key='';preserve_keys=!!preserve_keys;for(key in array){newkey=arr_len-key-1;tmp_arr[preserve_keys?key:newkey]=array[key];}
return tmp_arr;}
function array_search(needle,haystack,argStrict){var strict=!!argStrict;var key='';for(key in haystack){if((strict&&haystack[key]===needle)||(!strict&&haystack[key]==needle)){return key;}}
return false;}
function array_shift(array){if(array.length>0){return array.shift();}
return null;}
function array_slice(arr,offst,lgth,preserve_keys){var key='';if(!(arr instanceof Array)||(preserve_keys&&offst!=0)){var lgt=0,newAssoc={};for(key in arr){lgt+=1;newAssoc[key]=arr[key];}
arr=newAssoc;offst=(offst<0)?lgt+offst:offst;lgth=lgth==undefined?lgt:(lgth<0)?lgt+lgth-offst:lgth;var assoc={};var start=false,it=-1,arrlgth=0,no_pk_idx=0;for(key in arr){++it;if(arrlgth>=lgth){break;}
if(it==offst){start=true;}
if(!start){continue;}
++arrlgth;if(is_int(key)&&!preserve_keys){assoc[no_pk_idx++]=arr[key];}else{assoc[key]=arr[key];}}
return assoc;}
if(lgth===undefined){return arr.slice(offst);}else if(lgth>=0){return arr.slice(offst,offst+lgth);}else{return arr.slice(offst,lgth);}}
function array_splice(arr,offst,lgth,replacement){var checkToUpIndices=function(arr,ct,key){if(arr[ct]!==undefined){var tmp=ct;ct+=1;if(ct===key){ct+=1;}
ct=checkToUpIndices(arr,ct,key);arr[ct]=arr[tmp];delete arr[tmp];}
return ct;}
if(replacement&&!(typeof replacement==='object')){replacement=[replacement];}
if(lgth===undefined){lgth=offst>=0?arr.length-offst:-offst;}else if(lgth<0){lgth=(offst>=0?arr.length-offst:-offst)+lgth;}
if(!(arr instanceof Array)){var lgt=0,ct=-1,rmvd=[],rmvdObj={},repl_ct=-1,int_ct=-1;var returnArr=true,rmvd_ct=0,rmvd_lgth=0,key='';for(key in arr){lgt+=1;}
offst=(offst>=0)?offst:lgt+offst;for(key in arr){ct+=1;if(ct<offst){if(is_int(key)){int_ct+=1;if(parseInt(key,10)===int_ct){continue;}
checkToUpIndices(arr,int_ct,key);arr[int_ct]=arr[key];delete arr[key];}
continue;}
if(returnArr&&is_int(key)){rmvd.push(arr[key]);rmvdObj[rmvd_ct++]=arr[key];}else{rmvdObj[key]=arr[key];returnArr=false;}
rmvd_lgth+=1;if(replacement&&replacement[++repl_ct]){arr[key]=replacement[repl_ct]}else{delete arr[key];}}
return returnArr?rmvd:rmvdObj;}
if(replacement){replacement.unshift(offst,lgth);return Array.prototype.splice.apply(arr,replacement);}
return arr.splice(offst,lgth);}
function array_sum(array){var key,sum=0;if(typeof array!=='object'){return null;}
for(key in array){sum+=(array[key]*1);}
return sum;}
function array_udiff(){var arr1=arguments[0],retArr={},cb=arguments[arguments.length-1];var arr='',i=1,k1='',k='';cb=(typeof cb==='string')?window[cb]:(cb instanceof Array)?window[cb[0]][cb[1]]:cb;arr1keys:for(k1 in arr1){for(i=1;i<arguments.length-1;i++){arr=arguments[i];for(k in arr){if(cb(arr[k],arr1[k1])===0){continue arr1keys;}}
retArr[k1]=arr1[k1];}}
return retArr;}
function array_udiff_assoc(){var arr1=arguments[0],retArr={},cb=arguments[arguments.length-1];var arr={},i=1,k1='',k='';cb=(typeof cb==='string')?window[cb]:(cb instanceof Array)?window[cb[0]][cb[1]]:cb;arr1keys:for(k1 in arr1){for(i=1;i<arguments.length-1;i++){arr=arguments[i];for(k in arr){if(cb(arr[k],arr1[k1])===0&&k===k1){continue arr1keys;}}
retArr[k1]=arr1[k1];}}
return retArr;}
function array_udiff_uassoc(){var arr1=arguments[0],retArr={},cb=arguments[arguments.length-1],cb0=arguments[arguments.length-2];var k1='',i=1,k='',arr={};cb=(typeof cb==='string')?window[cb]:(cb instanceof Array)?window[cb[0]][cb[1]]:cb;cb0=(typeof cb0==='string')?window[cb0]:(cb0 instanceof Array)?window[cb0[0]][cb0[1]]:cb0;arr1keys:for(k1 in arr1){for(i=1;i<arguments.length-2;i++){arr=arguments[i];for(k in arr){if(cb0(arr[k],arr1[k1])===0&&cb(k,k1)===0){continue arr1keys;}}
retArr[k1]=arr1[k1];}}
return retArr;}
function array_uintersect(){var arr1=arguments[0],retArr={},cb=arguments[arguments.length-1];var k1='',i=1,arr={},k='';cb=(typeof cb==='string')?window[cb]:(cb instanceof Array)?window[cb[0]][cb[1]]:cb;arr1keys:for(k1 in arr1){arrs:for(i=1;i<arguments.length-1;i++){arr=arguments[i];for(k in arr){if(cb(arr[k],arr1[k1])===0){if(i===arguments.length-2){retArr[k1]=arr1[k1];}
continue arrs;}}
continue arr1keys;}}
return retArr;}
function array_uintersect_assoc(){var arr1=arguments[0],retArr={},cb=arguments[arguments.length-1];var k1='',i=1,arr={},k='';cb=(typeof cb==='string')?window[cb]:(cb instanceof Array)?window[cb[0]][cb[1]]:cb;arr1keys:for(k1 in arr1){arrs:for(i=1;i<arguments.length-1;i++){arr=arguments[i];for(k in arr){if(cb(arr[k],arr1[k1])===0&&k===k1){if(i===arguments.length-2){retArr[k1]=arr1[k1];}
continue arrs;}}
continue arr1keys;}}
return retArr;}
function array_uintersect_uassoc(){var arr1=arguments[0],retArr={},cb=arguments[arguments.length-1],cb0=arguments[arguments.length-2];var k1='',i=1,k='',arr={};cb=(typeof cb==='string')?window[cb]:(cb instanceof Array)?window[cb[0]][cb[1]]:cb;cb0=(typeof cb0==='string')?window[cb0]:(cb0 instanceof Array)?window[cb0[0]][cb0[1]]:cb0;arr1keys:for(k1 in arr1){arrs:for(i=1;i<arguments.length-2;i++){arr=arguments[i];for(k in arr){if(cb0(arr[k],arr1[k1])===0&&cb(k,k1)===0){if(i===arguments.length-3){retArr[k1]=arr1[k1];}
continue arrs;}}
continue arr1keys;}}
return retArr;}
function array_unique(array){var key='',tmp_arr1={},tmp_arr2={};var val='';tmp_arr1=array;var __array_search=function(needle,haystack){var fkey='';for(fkey in haystack){if((haystack[fkey]+'')===(needle+'')){return fkey;}}
return false;}
for(key in tmp_arr1){val=tmp_arr1[key];if(false===__array_search(val,tmp_arr2)){tmp_arr2[key]=val;}
delete tmp_arr1[key];}
return tmp_arr2;}
function array_unshift(array){var argc=arguments.length,argv=arguments,i;for(i=1;i<argc;i++){array.unshift(argv[i]);}
return(array.length);}
function array_values(input){var tmp_arr=[],cnt=0;var key='';for(key in input){tmp_arr[cnt]=input[key];cnt++;}
return tmp_arr;}
function array_walk(array,funcname,userdata){var key;if(typeof array!='object'){return false;}
for(key in array){if(typeof(userdata)!='undefined'){eval(funcname+'( array [key] , key , userdata  )');}else{eval(funcname+'(  userdata ) ');}}
return true;}
function array_walk_recursive(array,funcname,userdata){var key;if(typeof array!='object'){return false;}
for(key in array){if(typeof array[key]=='object'){return array_walk_recursive(array[key],funcname,userdata);}
if(typeof(userdata)!='undefined'){eval(funcname+'( array [key] , key , userdata  )');}else{eval(funcname+'(  userdata ) ');}}
return true;}
function arsort(inputArr,sort_flags){var valArr=[],keyArr=[],k,i,ret,sorter;switch(sort_flags){case'SORT_STRING':sorter=function(a,b){return strnatcmp(b,a);};break;case'SORT_LOCALE_STRING':sorter=function(a,b){return(b.localeCompare(a));};break;case'SORT_NUMERIC':sorter=function(a,b){return(a-b);};break;case'SORT_REGULAR':default:sorter=function(a,b){if(a>b)
return 1;if(a<b)
return-1;return 0;};break;}
var bubbleSort=function(keyArr,inputArr){var i,j,tempValue,tempKeyVal;for(i=inputArr.length-2;i>=0;i--){for(j=0;j<=i;j++){ret=sorter(inputArr[j+1],inputArr[j]);if(ret>0){tempValue=inputArr[j];inputArr[j]=inputArr[j+1];inputArr[j+1]=tempValue;tempKeyVal=keyArr[j];keyArr[j]=keyArr[j+1];keyArr[j+1]=tempKeyVal;}}}};for(k in inputArr){valArr.push(inputArr[k]);keyArr.push(k);delete inputArr[k];}
try{bubbleSort(keyArr,valArr);}catch(e){return false;}
for(i=0;i<valArr.length;i++){inputArr[keyArr[i]]=valArr[i];}
return true;}
function asin(arg){return Math.asin(arg);}
function asinh(arg){return Math.log(arg+Math.sqrt(arg*arg+1));}
function asort(inputArr,sort_flags){var valArr=[],keyArr=[],k,i,ret,sorter;switch(sort_flags){case'SORT_STRING':sorter=function(a,b){return strnatcmp(a,b);};break;case'SORT_LOCALE_STRING':sorter=function(a,b){return(a.localeCompare(b));};break;case'SORT_NUMERIC':sorter=function(a,b){return(a-b);};break;case'SORT_REGULAR':default:sorter=function(a,b){if(a>b)
return 1;if(a<b)
return-1;return 0;};break;}
var bubbleSort=function(keyArr,inputArr){var i,j,tempValue,tempKeyVal;for(i=inputArr.length-2;i>=0;i--){for(j=0;j<=i;j++){ret=sorter(inputArr[j+1],inputArr[j]);if(ret<0){tempValue=inputArr[j];inputArr[j]=inputArr[j+1];inputArr[j+1]=tempValue;tempKeyVal=keyArr[j];keyArr[j]=keyArr[j+1];keyArr[j+1]=tempKeyVal;}}}};for(k in inputArr){valArr.push(inputArr[k]);keyArr.push(k);delete inputArr[k];}
try{bubbleSort(keyArr,valArr);}catch(e){return false;}
for(i=0;i<valArr.length;i++){inputArr[keyArr[i]]=valArr[i];}
return true;}
function atan(arg){return Math.atan(arg);}
function atan2(y,x){return Math.atan2(y,x);}
function atanh(arg){return 0.5*Math.log((1+arg)/(1-arg));}
function base64_decode(data){var b64="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";var o1,o2,o3,h1,h2,h3,h4,bits,i=0,ac=0,dec="",tmp_arr=[];if(!data){return data;}
data+='';do{h1=b64.indexOf(data.charAt(i++));h2=b64.indexOf(data.charAt(i++));h3=b64.indexOf(data.charAt(i++));h4=b64.indexOf(data.charAt(i++));bits=h1<<18|h2<<12|h3<<6|h4;o1=bits>>16&0xff;o2=bits>>8&0xff;o3=bits&0xff;if(h3==64){tmp_arr[ac++]=String.fromCharCode(o1);}else if(h4==64){tmp_arr[ac++]=String.fromCharCode(o1,o2);}else{tmp_arr[ac++]=String.fromCharCode(o1,o2,o3);}}while(i<data.length);dec=tmp_arr.join('');dec=utf8_decode(dec);return dec;}
function base64_encode(data){var b64="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";var o1,o2,o3,h1,h2,h3,h4,bits,i=0,ac=0,enc="",tmp_arr=[];if(!data){return data;}
data=utf8_encode(data+'');do{o1=data.charCodeAt(i++);o2=data.charCodeAt(i++);o3=data.charCodeAt(i++);bits=o1<<16|o2<<8|o3;h1=bits>>18&0x3f;h2=bits>>12&0x3f;h3=bits>>6&0x3f;h4=bits&0x3f;tmp_arr[ac++]=b64.charAt(h1)+b64.charAt(h2)+b64.charAt(h3)+b64.charAt(h4);}while(i<data.length);enc=tmp_arr.join('');switch(data.length%3){case 1:enc=enc.slice(0,-2)+'==';break;case 2:enc=enc.slice(0,-1)+'=';break;}
return enc;}
function base_convert(number,frombase,tobase){return parseInt(number+'',frombase+0).toString(tobase+0);}
function basename(path,suffix){var b=path.replace(/^.*[\/\\]/g,'');if(typeof(suffix)=='string'&&b.substr(b.length-suffix.length)==suffix){b=b.substr(0,b.length-suffix.length);}
return b;}
function bin2hex(s){var i,f=0,a=[];s+='';f=s.length;for(i=0;i<f;i++){a[i]=s.charCodeAt(i).toString(16).replace(/^([\da-f])$/,"0$1");}
return a.join('');}
function bindec(binary_string){binary_string=(binary_string+'').replace(/[^01]/gi,'');return parseInt(binary_string,2);}
function call_user_func(cb,parameters){var func;if(typeof cb=='string'){if(typeof this[cb]=='function'){func=this[cb];}else{func=(new Function(null,'return '+cb))();}}else if(cb instanceof Array){func=eval(cb[0]+"['"+cb[1]+"']");}
if(typeof func!='function'){throw new Exception(func+' is not a valid function');}
return func.apply(null,Array.prototype.slice.call(parameters,1));}
function call_user_func_array(cb,parameters){var func;if(typeof cb=='string'){if(typeof this[cb]=='function'){func=this[cb];}else{func=(new Function(null,'return '+cb))();}}else if(cb instanceof Array){func=eval(cb[0]+"['"+cb[1]+"']");}
if(typeof func!='function'){throw new Exception(func+' is not a valid function');}
return func.apply(null,parameters);}
function ceil(value){return Math.ceil(value);}
function checkdate(month,day,year){var myDate=new Date();myDate.setFullYear(year,(month-1),day);return((myDate.getMonth()+1)==month&&day<32);}
function chop(str,charlist){return rtrim(str,charlist);}
function chr(ascii){return String.fromCharCode(ascii);}
function chunk_split(body,argChunklen,argEnd){if(chunklen<1){return false;}
var result='',chunklen=argChunklen||76,end=argEnd||'\r\n';while(body.length>chunklen){result+=body.substring(0,chunklen)+end;body=body.substring(chunklen);}
return result+body+end;}
function class_exists(cls){var i='';cls=window[cls];if(typeof cls!=='function'){return false;}
for(i in cls.prototype){return true;}
for(i in cls){if(i!=='prototype'){return true;}}
if(cls.toSource&&cls.toSource().match(/this\./)){return true;}
return false;}
function classkit_import(file){eval(file_get_contents(file));}
function classkit_method_add(classname,methodname,args,code,flags){var func,argmnts=[];switch(flags){case'CLASSKIT_ACC_PROTECTED':throw'Protected not supported';case'CLASSKIT_ACC_PRIVATE':throw'Private not supported';case'CLASSKIT_ACC_PUBLIC':default:break;}
argmnts=args.split(/,\s*/);if(typeof classname==='string'){classname=window[classname];}
func=Function.apply(null,argmnts.concat(code));classname.prototype[methodname]=func;return true;}
function classkit_method_copy(dClass,dMethod,sClass,sMethod){sMethod=sMethod||dMethod;if(typeof dClass==='string'){dClass=window[dClass];}
if(typeof sClass==='string'){sClass=window[sClass];}
dClass.prototype[dMethod]=sClass.prototype[sMethod];return true;}
function classkit_method_redefine(classname,methodname,args,code,flags){var argmnts=[],func;switch(flags){case'CLASSKIT_ACC_PROTECTED':throw'Protected not supported';case'CLASSKIT_ACC_PRIVATE':throw'Private not supported';case'CLASSKIT_ACC_PUBLIC':default:break;}
argmnts=args.split(/,\s*/);if(typeof classname==='string'){classname=window[classname];}
func=Function.apply(null,argmnts.concat(code));classname.prototype[methodname]=func;return true;}
function classkit_method_remove(classname,methodname){if(typeof classname==='string'){classname=window[classname];}
delete classname.prototype[methodname];return true;}
function classkit_method_rename(classname,methodname,newname){if(typeof classname==='string'){classname=window[classname];}
var method=classname.prototype[methodname];classname.prototype[newname]=method;delete classname.prototype[methodname];return true;}
function compact(){var Matrix={};var key_value;var process=function(value){var i=0,l=value.length,key_value='';for(i=0;i<l;i++){key_value=value[i];if(key_value instanceof Array){process(key_value);}else{if(typeof window[key_value]!=='undefined'){Matrix[key_value]=window[key_value];}}}
return true;};process(arguments);return Matrix;}
function constant(name){if(window[name]===undefined){return null;}
return window[name];}
function convert_uuencode(data){var c="";var a=0;var newStr="";var i=0;for(i=0;i<data.length-1;i++){c+="0"+data.charCodeAt(i).toString(2);}
for(i=0;i<(c.length/6)-1;i++){newStr+=String.fromCharCode(parseInt(c.substr(a,6),"2")+32);a+=6;}
return newStr;}
function cos(arg){return Math.cos(arg);}
function cosh(arg){return(Math.exp(arg)+Math.exp(-arg))/2;}
function count(mixed_var,mode){var key,cnt=0;if(mode=='COUNT_RECURSIVE')mode=1;if(mode!=1)mode=0;for(key in mixed_var){cnt++;if(mode==1&&mixed_var[key]&&(mixed_var[key].constructor===Array||mixed_var[key].constructor===Object)){cnt+=count(mixed_var[key],1);}}
return cnt;}
function count_chars(str,mode){var histogram={},tmp_arr=[];var key,i,code,strl=0;var argc=arguments.length;var mode_even=0;if(argc==1){mode=0;}
mode_even=(mode&1)==0;if(mode_even){for(i=1;i<256;++i){histogram[i]=0;}}
str+='';strl=str.length;for(i=0;i<strl;++i){code=str.charCodeAt(i);if(code in histogram){++histogram[code];}else{histogram[code]=1;}}
if(mode>0){for(key in histogram){if(histogram[key]==0!=mode_even){delete histogram[key];}}}
if(mode<3){return histogram;}else{for(key in histogram){tmp_arr.push(String.fromCharCode(key));}
return tmp_arr.join("");}}
function crc32(str){str=utf8_encode(str);var table="00000000 77073096 EE0E612C 990951BA 076DC419 706AF48F E963A535 9E6495A3 0EDB8832 79DCB8A4 E0D5E91E 97D2D988 09B64C2B 7EB17CBD E7B82D07 90BF1D91 1DB71064 6AB020F2 F3B97148 84BE41DE 1ADAD47D 6DDDE4EB F4D4B551 83D385C7 136C9856 646BA8C0 FD62F97A 8A65C9EC 14015C4F 63066CD9 FA0F3D63 8D080DF5 3B6E20C8 4C69105E D56041E4 A2677172 3C03E4D1 4B04D447 D20D85FD A50AB56B 35B5A8FA 42B2986C DBBBC9D6 ACBCF940 32D86CE3 45DF5C75 DCD60DCF ABD13D59 26D930AC 51DE003A C8D75180 BFD06116 21B4F4B5 56B3C423 CFBA9599 B8BDA50F 2802B89E 5F058808 C60CD9B2 B10BE924 2F6F7C87 58684C11 C1611DAB B6662D3D 76DC4190 01DB7106 98D220BC EFD5102A 71B18589 06B6B51F 9FBFE4A5 E8B8D433 7807C9A2 0F00F934 9609A88E E10E9818 7F6A0DBB 086D3D2D 91646C97 E6635C01 6B6B51F4 1C6C6162 856530D8 F262004E 6C0695ED 1B01A57B 8208F4C1 F50FC457 65B0D9C6 12B7E950 8BBEB8EA FCB9887C 62DD1DDF 15DA2D49 8CD37CF3 FBD44C65 4DB26158 3AB551CE A3BC0074 D4BB30E2 4ADFA541 3DD895D7 A4D1C46D D3D6F4FB 4369E96A 346ED9FC AD678846 DA60B8D0 44042D73 33031DE5 AA0A4C5F DD0D7CC9 5005713C 270241AA BE0B1010 C90C2086 5768B525 206F85B3 B966D409 CE61E49F 5EDEF90E 29D9C998 B0D09822 C7D7A8B4 59B33D17 2EB40D81 B7BD5C3B C0BA6CAD EDB88320 9ABFB3B6 03B6E20C 74B1D29A EAD54739 9DD277AF 04DB2615 73DC1683 E3630B12 94643B84 0D6D6A3E 7A6A5AA8 E40ECF0B 9309FF9D 0A00AE27 7D079EB1 F00F9344 8708A3D2 1E01F268 6906C2FE F762575D 806567CB 196C3671 6E6B06E7 FED41B76 89D32BE0 10DA7A5A 67DD4ACC F9B9DF6F 8EBEEFF9 17B7BE43 60B08ED5 D6D6A3E8 A1D1937E 38D8C2C4 4FDFF252 D1BB67F1 A6BC5767 3FB506DD 48B2364B D80D2BDA AF0A1B4C 36034AF6 41047A60 DF60EFC3 A867DF55 316E8EEF 4669BE79 CB61B38C BC66831A 256FD2A0 5268E236 CC0C7795 BB0B4703 220216B9 5505262F C5BA3BBE B2BD0B28 2BB45A92 5CB36A04 C2D7FFA7 B5D0CF31 2CD99E8B 5BDEAE1D 9B64C2B0 EC63F226 756AA39C 026D930A 9C0906A9 EB0E363F 72076785 05005713 95BF4A82 E2B87A14 7BB12BAE 0CB61B38 92D28E9B E5D5BE0D 7CDCEFB7 0BDBDF21 86D3D2D4 F1D4E242 68DDB3F8 1FDA836E 81BE16CD F6B9265B 6FB077E1 18B74777 88085AE6 FF0F6A70 66063BCA 11010B5C 8F659EFF F862AE69 616BFFD3 166CCF45 A00AE278 D70DD2EE 4E048354 3903B3C2 A7672661 D06016F7 4969474D 3E6E77DB AED16A4A D9D65ADC 40DF0B66 37D83BF0 A9BCAE53 DEBB9EC5 47B2CF7F 30B5FFE9 BDBDF21C CABAC28A 53B39330 24B4A3A6 BAD03605 CDD70693 54DE5729 23D967BF B3667A2E C4614AB8 5D681B02 2A6F2B94 B40BBE37 C30C8EA1 5A05DF1B 2D02EF8D";var crc=0;var x=0;var y=0;crc=crc^(-1);for(var i=0,iTop=str.length;i<iTop;i++){y=(crc^str.charCodeAt(i))&0xFF;x="0x"+table.substr(y*9,8);crc=(crc>>>8)^x;}
return crc^(-1);}
function create_function(args,code){try{return Function.apply(null,args.split(',').concat(code));}
catch(e){return false;}}
function ctype_alnum(text){if(typeof text!=='string'){return false;}
setlocale('LC_ALL',0);return this.php_js.locales[this.php_js.localeCategories['LC_CTYPE']]['LC_CTYPE'].an.test(text);}
function ctype_alpha(text){if(typeof text!=='string'){return false;}
setlocale('LC_ALL',0);return this.php_js.locales[this.php_js.localeCategories['LC_CTYPE']]['LC_CTYPE'].al.test(text);}
function ctype_cntrl(text){if(typeof text!=='string'){return false;}
setlocale('LC_ALL',0);return this.php_js.locales[this.php_js.localeCategories['LC_CTYPE']]['LC_CTYPE'].ct.test(text);}
function ctype_digit(text){if(typeof text!=='string'){return false;}
setlocale('LC_ALL',0);return this.php_js.locales[this.php_js.localeCategories['LC_CTYPE']]['LC_CTYPE'].dg.test(text);}
function ctype_graph(text){if(typeof text!=='string'){return false;}
setlocale('LC_ALL',0);return this.php_js.locales[this.php_js.localeCategories['LC_CTYPE']]['LC_CTYPE'].gr.test(text);}
function ctype_lower(text){if(typeof text!=='string'){return false;}
setlocale('LC_ALL',0);return this.php_js.locales[this.php_js.localeCategories['LC_CTYPE']]['LC_CTYPE'].lw.test(text);}
function ctype_print(text){if(typeof text!=='string'){return false;}
setlocale('LC_ALL',0);return this.php_js.locales[this.php_js.localeCategories['LC_CTYPE']]['LC_CTYPE'].pr.test(text);}
function ctype_punct(text){if(typeof text!=='string'){return false;}
setlocale('LC_ALL',0);return this.php_js.locales[this.php_js.localeCategories['LC_CTYPE']]['LC_CTYPE'].pu.test(text);}
function ctype_space(text){if(typeof text!=='string'){return false;}
setlocale('LC_ALL',0);return this.php_js.locales[this.php_js.localeCategories['LC_CTYPE']]['LC_CTYPE'].sp.test(text);}
function ctype_upper(text){if(typeof text!=='string'){return false;}
setlocale('LC_ALL',0);return this.php_js.locales[this.php_js.localeCategories['LC_CTYPE']]['LC_CTYPE'].up.test(text);}
function ctype_xdigit(text){if(typeof text!=='string'){return false;}
setlocale('LC_ALL',0);return this.php_js.locales[this.php_js.localeCategories['LC_CTYPE']]['LC_CTYPE'].xd.test(text);}
function current(arr){if(!this.php_js)this.php_js={};if(!this.php_js.pointers)this.php_js.pointers=[];var pointers=this.php_js.pointers;if(pointers.indexOf(arr)===-1){pointers.push(arr,0);}
var arrpos=pointers.indexOf(arr);var cursor=pointers[arrpos+1];if(arr instanceof Array){return arr[cursor]||false;}
var ct=0;for(var k in arr){if(ct===cursor){return arr[k];}
ct++;}
return false;}
function date(format,timestamp){var a,tal=[],jsdate=((typeof(timestamp)=='undefined')?new Date():(typeof(timestamp)=='number')?new Date(timestamp*1000):new Date(timestamp));var pad=function(n,c){if((n=n+"").length<c){return new Array(++c-n.length).join("0")+n;}else{return n;}};var ret='';var txt_weekdays=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"];var txt_ordin={1:"st",2:"nd",3:"rd",21:"st",22:"nd",23:"rd",31:"st"};var txt_months=["","January","February","March","April","May","June","July","August","September","October","November","December"];var f={d:function(){return pad(f.j(),2);},D:function(){var t=f.l();return t.substr(0,3);},j:function(){return jsdate.getDate();},l:function(){return txt_weekdays[f.w()];},N:function(){return f.w()+1;},S:function(){return txt_ordin[f.j()]?txt_ordin[f.j()]:'th';},w:function(){return jsdate.getDay();},z:function(){return(jsdate-new Date(jsdate.getFullYear()+"/1/1"))/864e5>>0;},W:function(){var a=f.z(),b=364+f.L()-a;var nd2,nd=(new Date(jsdate.getFullYear()+"/1/1").getDay()||7)-1;if(b<=2&&((jsdate.getDay()||7)-1)<=2-b){return 1;}else{if(a<=2&&nd>=4&&a>=(6-nd)){nd2=new Date(jsdate.getFullYear()-1+"/12/31");return date("W",Math.round(nd2.getTime()/1000));}else{return(1+(nd<=3?((a+nd)/7):(a-(7-nd))/7)>>0);}}},F:function(){return txt_months[f.n()];},m:function(){return pad(f.n(),2);},M:function(){var t;t=f.F();return t.substr(0,3);},n:function(){return jsdate.getMonth()+1;},t:function(){var n;if((n=jsdate.getMonth()+1)==2){return 28+f.L();}else{if(n&1&&n<8||!(n&1)&&n>7){return 31;}else{return 30;}}},L:function(){var y=f.Y();return(!(y&3)&&(y%1e2||!(y%4e2)))?1:0;},o:function(){if(f.n()===12&&f.W()===1){return jsdate.getFullYear()+1;}
if(f.n()===1&&f.W()>=52){return jsdate.getFullYear()-1;}
return jsdate.getFullYear();},Y:function(){return jsdate.getFullYear();},y:function(){return(jsdate.getFullYear()+"").slice(2);},a:function(){return jsdate.getHours()>11?"pm":"am";},A:function(){return f.a().toUpperCase();},B:function(){var off=(jsdate.getTimezoneOffset()+60)*60;var theSeconds=(jsdate.getHours()*3600)+
(jsdate.getMinutes()*60)+
jsdate.getSeconds()+off;var beat=Math.floor(theSeconds/86.4);if(beat>1000)beat-=1000;if(beat<0)beat+=1000;if((String(beat)).length==1)beat="00"+beat;if((String(beat)).length==2)beat="0"+beat;return beat;},g:function(){return jsdate.getHours()%12||12;},G:function(){return jsdate.getHours();},h:function(){return pad(f.g(),2);},H:function(){return pad(jsdate.getHours(),2);},i:function(){return pad(jsdate.getMinutes(),2);},s:function(){return pad(jsdate.getSeconds(),2);},u:function(){return pad(jsdate.getMilliseconds()*1000,6);},e:function(){return'UTC';},I:function(){var DST=(new Date(jsdate.getFullYear(),6,1,0,0,0));DST=DST.getHours()-DST.getUTCHours();var ref=jsdate.getHours()-jsdate.getUTCHours();return ref!=DST?1:0;},O:function(){var t=pad(Math.abs(jsdate.getTimezoneOffset()/60*100),4);if(jsdate.getTimezoneOffset()>0)t="-"+t;else t="+"+t;return t;},P:function(){var O=f.O();return(O.substr(0,3)+":"+O.substr(3,2));},T:function(){return'UTC';},Z:function(){var t=-jsdate.getTimezoneOffset()*60;return t;},c:function(){return f.Y()+"-"+f.m()+"-"+f.d()+"T"+f.h()+":"+f.i()+":"+f.s()+f.P();},r:function(){return f.D()+', '+f.d()+' '+f.M()+' '+f.Y()+' '+f.H()+':'+f.i()+':'+f.s()+' '+f.O();},U:function(){return Math.round(jsdate.getTime()/1000);}};return format.replace(/[\\]?([a-zA-Z])/g,function(t,s){if(t!=s){ret=s;}else if(f[s]){ret=f[s]();}else{ret=s;}
return ret;});}
function date_default_timezone_get(){var tal={},abbr='',i=0,today=new Date();if(this.php_js){if(this.php_js.default_timezone){return this.php_js.default_timezone;}
if(this.php_js.ENV&&this.php_js.ENV['TZ']){return this.php_js.ENV['TZ'];}
if(this.php_js.ini&&this.php_js.ini['date.timezone']){return this.php_js.ini['date.timezone']['local_value']?this.php_js.ini['date.timezone']['local_value']:this.php_js.ini['date.timezone']['global_value'];}}
tal=timezone_abbreviations_list();for(abbr in tal){for(i=0;i<tal[abbr].length;i++){if(tal[abbr][i].offset===-today.getTimezoneOffset()*60){return tal[abbr][i].timezone_id;}}}
return'UTC';}
function date_default_timezone_set(tz){var tal={},abbr='',i=0;if(!this.php_js){this.php_js={};}
tal=timezone_abbreviations_list();for(abbr in tal){for(i=0;i<tal[abbr].length;i++){if(tal[abbr][i].timezone_id===tz){this.php_js.default_timezone=tz;return true;}}}
return false;}
function deaggregate(obj,class_name){var p='',idx=-1,pos=-1,i=0;if(!this.php_js||!this.php_js.aggregateRecords||!this.php_js.aggregateKeys||!this.php_js.aggregateClasses){return;}
idx=this.php_js.aggregateKeys.indexOf(obj)
if(idx===-1){return;}
if(class_name){if(typeof class_name==='string'){class_name=window[class_name];}
pos=this.php_js.aggregateClasses[idx].indexOf(class_name.name);if(pos!==-1){for(p in this.php_js.aggregateRecords[idx][pos]){delete obj[p];}
this.php_js.aggregateClasses[idx].splice(pos,1);this.php_js.aggregateRecords[idx].splice(pos,1);}}
else{for(i=0;i<this.php_js.aggregateClasses[idx].length;i++){for(p in this.php_js.aggregateRecords[idx][i]){delete obj[p];}}
this.php_js.aggregateClasses.splice(idx,1);this.php_js.aggregateRecords.splice(idx,1);}}
function decbin(number){return parseInt(number).toString(2);}
function dechex(number){return parseInt(number).toString(16);}
function decoct(number){return parseInt(number).toString(8);}
function define(name,value){var define,replace,script;var toString=function(name,value){return'const '+name+'='+(/^(null|true|false|(\+|\-)?\d+(\.\d+)?)$/.test(value=String(value))?value:'"'+replace(value)+'"');};try{eval('const e=1');replace=function(value){var replace={"\x08":"b","\x0A":"\\n","\x0B":"v","\x0C":"f","\x0D":"\\r",'"':'"',"\\":"\\"};return value.replace(/\x08|[\x0A-\x0D]|"|\\/g,function(value){return"\\"+replace[value]});};define=function(name,value){if(document.createElementNS){script=document.createElementNS('http://www.w3.org/1999/xhtml','script');}else{script=document.createElement('script');}
script.type='text/javascript';script.appendChild(document.createTextNode(toString(name,value)));document.documentElement.appendChild(script);document.documentElement.removeChild(script);}}catch(e){replace=function(value){var replace={"\x0A":"\\n","\x0D":"\\r"};return value.replace(/"/g,'""').replace(/\n|\r/g,function(value){return replace[value]});};define=this.execScript?function(name,value){execScript(toString(name,value),'VBScript');}:function(name,value){eval(toString(name,value).substring(6));};}
define(name,value);}
function defined(constant_name){var tmp=window[constant];window[constant]=window[constant]?'changed'+window[constant].toString():'changed';var returnval=window[constant]===tmp;if(!returnval){window[constant]=tmp;}
return returnval;}
function deg2rad(angle){return(angle/180)*Math.PI;}
function die(status){return exit(status);}
function dirname(path){return path.replace(/\\/g,'/').replace(/\/[^\/]*\/?$/,'');}
function doubleval(mixed_var){return floatval(mixed_var);}
function each(arr){if(!this.php_js)this.php_js={};if(!this.php_js.pointers)this.php_js.pointers=[];var pointers=this.php_js.pointers;if(pointers.indexOf(arr)===-1){pointers.push(arr,0);}
var arrpos=pointers.indexOf(arr);var cursor=pointers[arrpos+1];var pos=0;if(!(arr instanceof Array)){var ct=0;for(var k in arr){if(ct===cursor){pointers[arrpos+1]+=1;if(each.returnArrayOnly){return[k,arr[k]];}else{return{1:arr[k],value:arr[k],0:k,key:k};}}
ct++;}
return false;}
if(arr.length===0||cursor===arr.length){return false;}
pos=cursor;pointers[arrpos+1]+=1;if(each.returnArrayOnly){return[pos,arr[pos]];}else{return{1:arr[pos],value:arr[pos],0:pos,key:pos};}}
function echo(){var arg='',argc=arguments.length,argv=arguments,i=0;var stringToDOM=function(q){var d=document;var r=function(a){return a.replace(/\r/g,' ').replace(/\n/g,' ');};var s=function(a){return a.replace(/&amp;/g,'&').replace(/&gt;/g,'>').replace(/&lt;/g,'<').replace(/&nbsp;/g,' ').replace(/&quot;/g,'"');};var t=function(a){return a.replace(/ /g,'');};var u=function(a){var b,c,e,f,g,h,i;b=d.createDocumentFragment();c=a.indexOf(' ');if(c===-1){b.appendChild(d.createElement(a.toLowerCase()));}else{i=t(a.substring(0,c)).toLowerCase();a=a.substr(c+1);b.appendChild(d.createElement(i));while(a.length){e=a.indexOf('=');if(e>=0){f=t(a.substring(0,e)).toLowerCase();g=a.indexOf('"');a=a.substr(g+1);g=a.indexOf('"');h=s(a.substring(0,g));a=a.substr(g+2);b.lastChild.setAttribute(f,h);}else{break}}}
return b;}
var v=function(a,b,c){var e,f;e=b;c=c.toLowerCase();f=e.indexOf('</'+c+'>');a=a.concat(e.substring(0,f));e=e.substr(f);while(a.indexOf('<'+c)!=-1){a=a.substr(a.indexOf('<'+c));a=a.substr(a.indexOf('>')+1);e=e.substr(e.indexOf('>')+1);f=e.indexOf('</'+c+'>');a=a.concat(e.substring(0,f));e=e.substr(f);}
return b.length-e.length;};var w=function(a){var b,c,e,f,g,h,i,j,k,l,m,n,o,p,q;b=d.createDocumentFragment();while(a&&a.length){c=a.indexOf('<');if(c===-1){a=s(a);b.appendChild(d.createTextNode(a));a=null;}else if(c){q=s(a.substring(0,c));b.appendChild(d.createTextNode(q));a=a.substr(c);}else{e=a.indexOf('<!--');if(!e){f=a.indexOf('-->');g=a.substring(4,f);g=s(g);b.appendChild(d.createComment(g));a=a.substr(f+3);}else{h=a.indexOf('>');if(a.substring(h-1,h)==='/'){i=a.indexOf('/>');j=a.substring(1,i);b.appendChild(u(j));a=a.substr(i+2);}else{k=a.indexOf('>');l=a.substring(1,k);m=d.createDocumentFragment();m.appendChild(u(l));a=a.substr(k+1);n=a.substring(0,a.indexOf('</'));a=a.substr(a.indexOf('</'));if(n.indexOf('<')!=-1){o=m.lastChild.nodeName;p=v(n,a,o);n=n.concat(a.substring(0,p));a=a.substr(p);}
a=a.substr(a.indexOf('>')+1);m.lastChild.appendChild(w(n));b.appendChild(m);}}}}
return b;};return w(q);}
for(i=0;i<argc;i++){arg=argv[i];if(document.createDocumentFragment&&document.createTextNode&&document.appendChild){if(document.body){document.body.appendChild(stringToDOM(arg));}else{document.documentElement.appendChild(stringToDOM(arg));}}else if(document.write){document.write(arg);}else{print(arg);}}}
function empty(mixed_var){var key;if(mixed_var===""||mixed_var===0||mixed_var==="0"||mixed_var===null||mixed_var===false||mixed_var===undefined){return true;}
if(typeof mixed_var=='object'){for(key in mixed_var){return false;}
return true;}
return false;}
function end(arr){if(!this.php_js)this.php_js={};if(!this.php_js.pointers)this.php_js.pointers=[];var pointers=this.php_js.pointers;if(pointers.indexOf(arr)===-1){pointers.push(arr,0);}
var arrpos=pointers.indexOf(arr);if(!(arr instanceof Array)){var ct=0;for(var k in arr){ct++;var val=arr[k];}
if(ct===0){return false;}
pointers[arrpos+1]=ct-1;return val;}
if(arr.length===0){return false;}
pointers[arrpos+1]=arr.length-1;return arr[pointers[arrpos+1]];}
function exit(status){var i;if(typeof status==='string'){alert(status);}
window.addEventListener('error',function(e){e.preventDefault();e.stopPropagation();},false);var handlers=['copy','cut','paste','beforeunload','blur','change','click','contextmenu','dblclick','focus','keydown','keypress','keyup','mousedown','mousemove','mouseout','mouseover','mouseup','resize','scroll','DOMNodeInserted','DOMNodeRemoved','DOMNodeRemovedFromDocument','DOMNodeInsertedIntoDocument','DOMAttrModified','DOMCharacterDataModified','DOMElementNameChanged','DOMAttributeNameChanged','DOMActivate','DOMFocusIn','DOMFocusOut','online','offline','textInput','abort','close','dragdrop','load','paint','reset','select','submit','unload'];function stopPropagation(e){e.stopPropagation();}
for(i=0;i<handlers.length;i++){window.addEventListener(handlers[i],function(e){stopPropagation(e);},true);}
if(window.stop){window.stop();}
throw'';}
function exp(arg){return Math.exp(arg);}
function explode(delimiter,string,limit){var emptyArray={0:''};if(arguments.length<2||typeof arguments[0]=='undefined'||typeof arguments[1]=='undefined')
{return null;}
if(delimiter===''||delimiter===false||delimiter===null)
{return false;}
if(typeof delimiter=='function'||typeof delimiter=='object'||typeof string=='function'||typeof string=='object')
{return emptyArray;}
if(delimiter===true){delimiter='1';}
if(!limit){return string.toString().split(delimiter.toString());}else{var splitted=string.toString().split(delimiter.toString());var partA=splitted.splice(0,limit-1);var partB=splitted.join(delimiter.toString());partA.push(partB);return partA;}}
function expm1(x){var ret=0,n=50;var factorial=function factorial(n){if((n==0)||(n==1))
return 1;else{var result=(n*factorial(n-1));return result;}};for(var i=1;i<n;i++){ret+=Math.pow(x,i)/factorial(i);}
return ret;}
function extract(arr,type,prefix){if(arr instanceof Array&&(type!=='EXTR_PREFIX_ALL'&&type!=='EXTR_PREFIX_INVALID')){return 0;}
var chng=0;for(var i in arr){var validIdent=/^[_a-zA-Z$][\w|$]*$/;var prefixed=prefix+'_'+i;try{switch(type){case'EXTR_PREFIX_SAME'||2:if(this[i]!==undefined){if(prefixed.match(validIdent)!=null){this[prefixed]=arr[i];++chng;}}
else{this[i]=arr[i];++chng;}
break;case'EXTR_SKIP'||1:if(this[i]===undefined){this[i]=arr[i];++chng;}
break;case'EXTR_PREFIX_ALL'||3:if(prefixed.match(validIdent)!=null){this[prefixed]=arr[i];++chng;}
break;case'EXTR_PREFIX_INVALID'||4:if(i.match(validIdent)!=null){if(prefixed.match(validIdent)!=null){this[prefixed]=arr[i];++chng;}}
else{this[i]=arr[i];++chng;}
break;case'EXTR_IF_EXISTS'||6:if(this[i]!==undefined){this[i]=arr[i];++chng;}
break;case'EXTR_PREFIX_IF_EXISTS'||5:if(this[i]!==undefined&&prefixed.match(validIdent)!=null){this[prefixed]=arr[i];++chng;}
break;case'EXTR_REFS'||256:throw'The EXTR_REFS type will not work in JavaScript';break;case'EXTR_OVERWRITE'||0:default:this[i]=arr[i];++chng;break;}}
catch(e){}}
return chng;}
function fclose(handle){if(!handle||handle.opener!=='fopen'){return false;}
try{delete this.php_js.resourceDataPointer[handle.id];delete this.php_js.resourceData[handle.id];return true;}
catch(e){return false;}}
function feof(handle){if(!handle||!this.php_js||!this.php_js.resourceData||!this.php_js.resourceDataPointer){return true;}
return!this.php_js.resourceData[handle.id][this.php_js.resourceDataPointer[handle.id]];}
function fgetc(handle){if(!this.php_js||!this.php_js.resourceData||!this.php_js.resourceDataPointer){return false;}
var start=this.php_js.resourceDataPointer[handle.id];if(start===undefined||!this.php_js.resourceData[handle.id][start]){return false;}
var length=1;this.php_js.resourceDataPointer[handle.id]+=length;var chr=this.php_js.resourceData[handle.id].substr(start,length);var nextChr=this.php_js.resourceData[handle.id].substr(start+1,1);var prevChr=start===0?false:this.php_js.resourceData[handle.id].substr(start-1,1);var code=chr.charCodeAt(0);if(0xD800<=code&&code<=0xDBFF){if(!nextChr){throw'High surrogate without following low surrogate (fgetc)';}
var next=nextChr.charCodeAt(0);if(0xDC00>next||next>0xDFFF){throw'High surrogate without following low surrogate (fgetc)';}
this.php_js.resourceDataPointer[handle.id]+=length;return chr+nextChr;}
else if(0xDC00<=code&&code<=0xDFFF){if(prevChr===false){throw'Low surrogate without preceding high surrogate (fgetc)';}
var prev=prevChr.charCodeAt(0);if(0xD800>prev||prev>0xDBFF){throw'Low surrogate without preceding high surrogate (fgetc)';}
return prevChr+chr;}
return chr;}
function fgetcsv(handle,length,delimiter,enclosure,escape){var start=0,fullline='';if(!this.php_js||!this.php_js.resourceData||!this.php_js.resourceDataPointer||length!==undefined&&!length){return false;}
start=this.php_js.resourceDataPointer[handle.id];if(start===undefined||!this.php_js.resourceData[handle.id][start]){return false;}
fullline=this.php_js.resourceData[handle.id].slice(start,this.php_js.resourceData[handle.id].indexOf('\n',start)+1);if(fullline===''){fullline=this.php_js.resourceData[handle.id].slice(start);}
length=(length===undefined||fullline.length<length)?fullline.length:Math.floor(length/2)||1;this.php_js.resourceDataPointer[handle.id]+=length;return str_getcsv(this.php_js.resourceData[handle.id].substr(start,length),delimiter,enclosure,escape);}
function fgets(handle,length){var start=0,fullline='';if(!this.php_js||!this.php_js.resourceData||!this.php_js.resourceDataPointer||length!==undefined&&!length){return false;}
start=this.php_js.resourceDataPointer[handle.id];if(start===undefined||!this.php_js.resourceData[handle.id][start]){return false;}
fullline=this.php_js.resourceData[handle.id].slice(start,this.php_js.resourceData[handle.id].indexOf('\n',start)+1);if(fullline===''){fullline=this.php_js.resourceData[handle.id].slice(start);}
length=(length===undefined||fullline.length<length)?fullline.length:Math.floor(length/2)||1;this.php_js.resourceDataPointer[handle.id]+=length-1;return this.php_js.resourceData[handle.id].substr(start,length);}
function fgetss(handle,length,allowable_tags){var start=0,fullline='';if(!this.php_js||!this.php_js.resourceData||!this.php_js.resourceDataPointer||length!==undefined&&!length){return false;}
start=this.php_js.resourceDataPointer[handle.id];if(start===undefined||!this.php_js.resourceData[handle.id][start]){return false;}
fullline=this.php_js.resourceData[handle.id].slice(start,this.php_js.resourceData[handle.id].indexOf('\n',start)+1);if(fullline===''){fullline=this.php_js.resourceData[handle.id].slice(start);}
length=(length===undefined||fullline.length<length)?fullline.length:Math.floor(length/2)||1;this.php_js.resourceDataPointer[handle.id]+=length-1;return strip_tags(this.php_js.resourceData[handle.id].substr(start,length),allowable_tags);}
function file(url){var req=window.ActiveXObject?new ActiveXObject("Microsoft.XMLHTTP"):new XMLHttpRequest();if(!req)throw new Error('XMLHttpRequest not supported');req.open("GET",url,false);req.send(null);return req.responseText.split('\n');}
function file_exists(url){var req=window.ActiveXObject?new ActiveXObject("Microsoft.XMLHTTP"):new XMLHttpRequest();if(!req)throw new Error('XMLHttpRequest not supported');req.open('HEAD',url,false);req.send(null);if(req.status==200){return true;}
return false;}
function file_get_contents(url){var req=window.ActiveXObject?new ActiveXObject("Microsoft.XMLHTTP"):new XMLHttpRequest();if(!req)throw new Error('XMLHttpRequest not supported');if(!/^http/.test(url)){url=window.location.href+'/'+url;}
req.open("GET",url,false);req.send(null);return req.responseText;}
function filesize(url){var req=window.ActiveXObject?new ActiveXObject("Microsoft.XMLHTTP"):new XMLHttpRequest();if(!req)throw new Error('XMLHttpRequest not supported');req.open('HEAD',url,false);req.send(null);if(!req.getResponseHeader){try{throw new Error('No getResponseHeader!');}catch(e){return false;}}else if(!req.getResponseHeader('Content-Length')){try{throw new Error('No Content-Length!');}catch(e){return false;}}else{return req.getResponseHeader('Content-Length');}}
function floatval(mixed_var){return(parseFloat(mixed_var)||0);}
function floor(value){return Math.floor(value);}
function fmod(x,y){var tmp,tmp2,p=0,pY=0,l=0.0,l2=0.0;tmp=x.toExponential().match(/^.\.?(.*)e(.+)$/);p=parseInt(tmp[2])-(tmp[1]+'').length;tmp=y.toExponential().match(/^.\.?(.*)e(.+)$/);pY=parseInt(tmp[2])-(tmp[1]+'').length;if(pY>p){p=pY;}
tmp2=(x%y);if(p<-100||p>20){l=Math.round(Math.log(tmp2)/Math.log(10));l2=Math.pow(10,l);return(tmp2/l2).toFixed(l-p)*l2;}else{return parseFloat(tmp2.toFixed(-p));}}
function fopen(filename,mode,use_include_path,context){var resource={},i=0;var file_get_contents=function(url){var req=window.ActiveXObject?new ActiveXObject("Microsoft.XMLHTTP"):new XMLHttpRequest();if(!req)throw new Error('XMLHttpRequest not supported');if(!/^http/.test(url)){url=window.location.href+'/'+url;}
req.open("GET",url,false);req.send(null);return req.responseText;}
if(use_include_path===1||use_include_path==='1'||use_include_path===true){}
if(context){}
for(i=0;i<mode.length;i++){switch(mode[i]){case'r':if(!mode[i+1]||mode[i+1]!=='+'){break;}
case'w':case'a':case'x':throw'Writing is not implemented';case'b':case't':throw'Windows-only modes are not supported';default:throw'Unrecognized file mode passed to '+arguments.caller.name+'()';break;}}
if(!this.php_js){this.php_js={};}
if(!this.php_js.resourceData){this.php_js.resourceData={};}
if(!this.php_js.resourceIdCounter){this.php_js.resourceIdCounter=0;}
if(!this.php_js.resourceDataPointer){this.php_js.resourceDataPointer={};}
this.php_js.resourceIdCounter++;function PHPJS_Resource(type,id,opener){this.type=type;this.id=id;this.opener=opener;}
PHPJS_Resource.prototype.toString=function(){return'Resource id #'+this.id;};PHPJS_Resource.prototype.get_resource_type=function(){return this.type;};PHPJS_Resource.prototype.var_dump=function(){return'resource('+this.id+') of type ('+this.type+')';};this.php_js.resourceData[this.php_js.resourceIdCounter]=file_get_contents(filename);this.php_js.resourceDataPointer[this.php_js.resourceIdCounter]=0;resource=new PHPJS_Resource('stream',this.php_js.resourceIdCounter,'fopen');resource.mode=mode;return resource;}
function fpassthru(handle){if(!this.php_js||!this.php_js.resourceData||!this.php_js.resourceDataPointer||!handle||!handle.id){return false;}
var chrs=this.php_js.resourceData[handle.id].slice(this.php_js.resourceDataPointer[handle.id]);echo(chrs);return chrs;}
function fread(handle,length){if(!this.php_js||!this.php_js.resourceData||!this.php_js.resourceDataPointer){return false;}
length=length<8192?(Math.floor(length/2)||1):4096;var start=this.php_js.resourceDataPointer[handle.id];if(start===undefined){return false;}
if(!this.php_js.resourceData[handle.id][start]){return'';}
this.php_js.resourceDataPointer[handle.id]+=length;return this.php_js.resourceData[handle.id].substr(start,length);}
function fseek(handle,offset,whence){if(!this.php_js||!this.php_js.resourceData||!this.php_js.resourceDataPointer||!handle||!handle.constructor||handle.constructor.name!=='PHPJS_Resource'){return-1;}
switch(whence){case undefined:case'SEEK_SET':this.php_js.resourceDataPointer[handle.id]=offset/2+1;break;case'SEEK_CUR':this.php_js.resourceDataPointer[handle.id]+=offset/2+1;break;case'SEEK_END':this.php_js.resourceDataPointer[handle.id]=this.php_js.resourceData[handle.id].length+offset/2+1;break;default:throw'Unrecognized whence value for fseek()';break;}
return 0;}
function ftell(handle){if(!this.php_js||!this.php_js.resourceData||!this.php_js.resourceDataPointer||!handle||!handle.constructor||handle.constructor.name!=='PHPJS_Resource'){return false;}
return this.php_js.resourceDataPointer[handle.id]*2-1;}
function func_get_arg(num){if(!arguments.callee.caller){try{throw new Error('Either you are using this in a browser which does not support the "caller" property or you are calling this from a global context');return false;}catch(e){return false;}}
if(num>arguments.callee.caller.arguments.length-1){try{throw new Error('Argument number is greater than the number of arguments actually passed');return false;}catch(e){return false;}}
return arguments.callee.caller.arguments[num];}
function func_get_args(){if(!arguments.callee.caller){try{throw new Error('Either you are using this in a browser which does not support the "caller" property or you are calling this from a global context');return false;}catch(e){return false;}}
return Array.prototype.slice.call(arguments.callee.caller.arguments);}
function func_num_args(){if(!arguments.callee.caller){try{throw new Error('Either you are using this in a browser which does not support the "caller" property or you are calling this from a global context');return false;}catch(e){return false;}}
return arguments.callee.caller.arguments.length;}
function function_exists(function_name){if(typeof function_name=='string'){return(typeof window[function_name]=='function');}else{return(function_name instanceof Function);}}
function get_cfg_var(varname){if(this.php_js&&this.php_js.ini&&this.php_js.ini[varname].global_value!==undefined){if(this.php_js.ini[varname].global_value===null){return'';}
return this.php_js.ini[varname].global_value;}
return'';}
function get_class(obj){if(obj instanceof Object&&!(obj instanceof Array)&&!(obj instanceof Function)&&obj.constructor&&obj!=window){var arr=obj.constructor.toString().match(/function\s*(\w+)/);if(arr&&arr.length==2){return arr[1];}}
return false;}
function get_class_methods(name){var constructor,retArr={},method='';if(typeof name==='function'){constructor=name;}else if(typeof name==='string'){constructor=window[name];}else if(typeof name==='object'){constructor=name;for(method in constructor.constructor){if(typeof constructor.constructor[method]==='function'){retArr[method]=constructor.constructor[method];}}}
for(method in constructor){if(typeof constructor[method]==='function'){retArr[method]=constructor[method];}}
for(method in constructor.prototype){if(typeof constructor.prototype[method]==='function'){retArr[method]=constructor.prototype[method];}}
return retArr;}
function get_class_vars(name){var constructor,retArr={},prop='';if(typeof name==='function'){constructor=name;}else if(typeof name==='string'){constructor=window[name];}
for(prop in constructor){if(typeof constructor[prop]!=='function'&&prop!=='prototype'){retArr[prop]=constructor[prop];}}
if(constructor.prototype){for(prop in constructor.prototype){if(typeof constructor.prototype[prop]!=='function'){retArr[prop]=constructor.prototype[prop];}}}
return retArr;}
function get_declared_classes(){var i='',arr=[],already={};var j='';for(i in window){try{if(typeof window[i]==='function'){if(!already[i]&&class_exists(i)){already[i]=1;arr.push(i);}}else if(typeof window[i]==='object'){for(j in window[i]){if(typeof window[j]==='function'&&window[j]&&!already[j]&&class_exists(j)){already[j]=1;arr.push(j);}}}}catch(e){}}
return arr;}
function get_defined_functions(){var i='',arr=[],already={};for(i in window){try{if(typeof window[i]==='function'){if(!already[i]){already[i]=1;arr.push(i);}}
else if(typeof window[i]==='object'){for(var j in window[i]){if(typeof window[j]==='function'&&window[j]&&!already[j]){already[j]=1;arr.push(j);}}}}
catch(e){}}
return arr;}
function get_defined_vars(){var i='',arr=[],already={};for(i in window){try{if(typeof window[i]==='function'){if(!already[i]){already[i]=1;arr.push(i);}}
else if(typeof window[i]==='object'){for(var j in window[i]){if(typeof window[j]==='function'&&window[j]&&!already[j]){already[j]=1;arr.push(j);}}}}
catch(e){}}
return arr;}
function get_headers(url,format){var req=window.ActiveXObject?new ActiveXObject("Microsoft.XMLHTTP"):new XMLHttpRequest();if(!req)throw new Error('XMLHttpRequest not supported');var tmp,headers,pair,i;req.open('HEAD',url,false);req.send(null);if(req.readyState<3){return false;}
tmp=req.getAllResponseHeaders();alert(tmp);tmp=tmp.split('\n');tmp=array_filter(tmp,function(value){return value.substring(1)!='';});headers=[req.status+' '+req.statusText];for(i in tmp){if(format){pair=tmp[i].split(':');headers[pair.splice(0,1)]=pair.join(':').substring(1);}else{headers[headers.length]=tmp[i];}}
return headers;}
function get_html_translation_table(table,quote_style){var entities={},histogram={},decimal=0,symbol='';var constMappingTable={},constMappingQuoteStyle={};var useTable={},useQuoteStyle={};useTable=(table?table.toUpperCase():'HTML_SPECIALCHARS');useQuoteStyle=(quote_style?quote_style.toUpperCase():'ENT_COMPAT');constMappingTable[0]='HTML_SPECIALCHARS';constMappingTable[1]='HTML_ENTITIES';constMappingQuoteStyle[0]='ENT_NOQUOTES';constMappingQuoteStyle[2]='ENT_COMPAT';constMappingQuoteStyle[3]='ENT_QUOTES';if(!isNaN(useTable)){useTable=constMappingTable[useTable];}
if(!isNaN(useQuoteStyle)){useQuoteStyle=constMappingQuoteStyle[useQuoteStyle];}
if(useTable=='HTML_SPECIALCHARS'){entities['38']='&amp;';if(useQuoteStyle!='ENT_NOQUOTES'){entities['34']='&quot;';}
if(useQuoteStyle=='ENT_QUOTES'){entities['39']='&#039;';}
entities['60']='&lt;';entities['62']='&gt;';}else if(useTable=='HTML_ENTITIES'){entities['38']='&amp;';if(useQuoteStyle!='ENT_NOQUOTES'){entities['34']='&quot;';}
if(useQuoteStyle=='ENT_QUOTES'){entities['39']='&#039;';}
entities['60']='&lt;';entities['62']='&gt;';entities['160']='&nbsp;';entities['161']='&iexcl;';entities['162']='&cent;';entities['163']='&pound;';entities['164']='&curren;';entities['165']='&yen;';entities['166']='&brvbar;';entities['167']='&sect;';entities['168']='&uml;';entities['169']='&copy;';entities['170']='&ordf;';entities['171']='&laquo;';entities['172']='&not;';entities['173']='&shy;';entities['174']='&reg;';entities['175']='&macr;';entities['176']='&deg;';entities['177']='&plusmn;';entities['178']='&sup2;';entities['179']='&sup3;';entities['180']='&acute;';entities['181']='&micro;';entities['182']='&para;';entities['183']='&middot;';entities['184']='&cedil;';entities['185']='&sup1;';entities['186']='&ordm;';entities['187']='&raquo;';entities['188']='&frac14;';entities['189']='&frac12;';entities['190']='&frac34;';entities['191']='&iquest;';entities['192']='&Agrave;';entities['193']='&Aacute;';entities['194']='&Acirc;';entities['195']='&Atilde;';entities['196']='&Auml;';entities['197']='&Aring;';entities['198']='&AElig;';entities['199']='&Ccedil;';entities['200']='&Egrave;';entities['201']='&Eacute;';entities['202']='&Ecirc;';entities['203']='&Euml;';entities['204']='&Igrave;';entities['205']='&Iacute;';entities['206']='&Icirc;';entities['207']='&Iuml;';entities['208']='&ETH;';entities['209']='&Ntilde;';entities['210']='&Ograve;';entities['211']='&Oacute;';entities['212']='&Ocirc;';entities['213']='&Otilde;';entities['214']='&Ouml;';entities['215']='&times;';entities['216']='&Oslash;';entities['217']='&Ugrave;';entities['218']='&Uacute;';entities['219']='&Ucirc;';entities['220']='&Uuml;';entities['221']='&Yacute;';entities['222']='&THORN;';entities['223']='&szlig;';entities['224']='&agrave;';entities['225']='&aacute;';entities['226']='&acirc;';entities['227']='&atilde;';entities['228']='&auml;';entities['229']='&aring;';entities['230']='&aelig;';entities['231']='&ccedil;';entities['232']='&egrave;';entities['233']='&eacute;';entities['234']='&ecirc;';entities['235']='&euml;';entities['236']='&igrave;';entities['237']='&iacute;';entities['238']='&icirc;';entities['239']='&iuml;';entities['240']='&eth;';entities['241']='&ntilde;';entities['242']='&ograve;';entities['243']='&oacute;';entities['244']='&ocirc;';entities['245']='&otilde;';entities['246']='&ouml;';entities['247']='&divide;';entities['248']='&oslash;';entities['249']='&ugrave;';entities['250']='&uacute;';entities['251']='&ucirc;';entities['252']='&uuml;';entities['253']='&yacute;';entities['254']='&thorn;';entities['255']='&yuml;';}else{throw Error("Table: "+useTable+' not supported');return false;}
for(decimal in entities){symbol=String.fromCharCode(decimal);histogram[symbol]=entities[decimal];}
return histogram;}
function get_included_files(){var cur_file={};cur_file[window.location.href]=1;if(!this.php_js)this.php_js={};if(!this.php_js.includes)this.php_js.includes=cur_file;var includes=[];var i=0;for(var key in this.php_js.includes){includes[i]=key;i++;}
return includes;}
function get_meta_tags(file){var fulltxt='';if(false){fulltxt='<meta name="author" content="name">'+'<meta name="keywords" content="php documentation">'+'<meta name="DESCRIPTION" content="a php manual">'+'<meta name="geo.position" content="49.33;-86.59">'+'</head>';}else{}
var patt=/<meta[^>]*?>/gim;var patt1=/<meta\s+.*?name\s*=\s*(['"]?)(.*?)\1\s+.*?content\s*=\s*(['"]?)(.*?)\3/gim;var patt2=/<meta\s+.*?content\s*=\s*(['"?])(.*?)\1\s+.*?name\s*=\s*(['"]?)(.*?)\3/gim;var txt,match,name,arr={};while((txt=patt.exec(fulltxt))!=null){while((match=patt1.exec(txt))!=null){name=match[2].replace(/\W/g,'_').toLowerCase();arr[name]=match[4];}
while((match=patt2.exec(txt))!=null){name=match[4].replace(/\W/g,'_').toLowerCase();arr[name]=match[2];}}
return arr;}
function get_object_vars(obj){var retArr={},prop='';for(prop in obj){if(typeof obj[prop]!=='function'&&prop!=='prototype'){retArr[prop]=obj[prop];}}
for(prop in obj.prototype){if(typeof obj.prototype[prop]!=='function'){retArr[prop]=obj.prototype[prop];}}
return retArr;}
function get_required_files(){return get_included_files();}
function get_resource_type(handle){if(!handle||typeof handle!=='object'||!handle.constructor||handle.constructor.name!=='PHPJS_Resource'){return false;}
return handle.get_resource_type();}
function getdate(timestamp){var _w=['Sunday','Monday','Tuesday','Wednesday','Thursday','Friday','Saturday'];var _m=['January','February','March','April','May','June','July','August','September','October','November','December'];var d=(typeof timestamp=='number')?new Date(timestamp*1000):new Date();var w=d.getDay();var m=d.getMonth();var y=d.getFullYear();var r={};r['seconds']=d.getSeconds();r['minutes']=d.getMinutes();r['hours']=d.getHours();r['mday']=d.getDate();r['wday']=w;r['mon']=m+1;r['year']=y;r['yday']=Math.floor((d-(new Date(y,0,1)))/86400000);r['weekday']=_w[w];r['month']=_m[m];r['0']=parseInt(d.getTime()/1000);return r;}
function getenv(varname){if(!this.php_js||!this.php_js.ENV||!this.php_js.ENV[varname]){return false;}
return this.php_js.ENV[varname];}
function getlastmod(){return new Date(document.lastModified).getTime()/1000;}
function getrandmax()
{return 2147483647;}
function gettimeofday(return_float){var t=new Date(),dst=0;if(return_float){return t.getTime()/1000;}
var jan1=new Date(t.getFullYear(),0,1,0,0,0,0);var june1=new Date(t.getFullYear(),6,1,0,0,0,0);var temp=jan1.toUTCString();var jan2=new Date(temp.slice(0,temp.lastIndexOf(' ')-1));temp=june1.toUTCString();var june2=new Date(temp.slice(0,temp.lastIndexOf(' ')-1));var std_time_offset=(jan1-jan2)/(1000*60*60);var daylight_time_offset=(june1-june2)/(1000*60*60);if(std_time_offset===daylight_time_offset){dst=0;}
else{var hemisphere=std_time_offset-daylight_time_offset;if(hemisphere>=0){std_time_offset=daylight_time_offset;}
dst=1;}
return{sec:t.getUTCSeconds(),usec:t.getUTCMilliseconds()*1000,minuteswest:t.getTimezoneOffset(),dsttime:dst};}
function gettype(mixed_var){var type;var typeOf=function(value){var s=typeof value;if(s==='object'){if(value){if(typeof value.length==='number'&&!(value.propertyIsEnumerable('length'))&&typeof value.splice==='function'){s='array';}}else{s='null';}}
return s;}
switch(type=typeOf(mixed_var)){case'number':return(is_float(mixed_var))?'double':'integer';break;case'object':case'array':if(is_array(mixed_var)){return'array';}else if(is_object(mixed_var)){return'object';}
break;}
return type;}
function gmdate(format,timestamp){var dt=((typeof(timestamp)=='undefined')?new Date():(typeof(timestamp)=='number')?new Date(timestamp*1000):new Date(timestamp));timestamp=Date.parse(dt.toUTCString().slice(0,-4))/1000;return date(format,timestamp);}
function gmmktime(){var no=0,i=0,ma=0,mb=0,d=new Date(),dn=new Date(),argv=arguments,argc=argv.length;var dateManip={0:function(tt){return d.setUTCHours(tt);},1:function(tt){return d.setUTCMinutes(tt);},2:function(tt){var set=d.setUTCSeconds(tt);mb=d.getUTCDate()-dn.getUTCDate();return set;},3:function(tt){var set=d.setUTCMonth(parseInt(tt)-1);ma=d.getUTCFullYear()-dn.getUTCFullYear();return set;},4:function(tt){return d.setUTCDate(tt+mb);},5:function(tt){if(tt>=0&&tt<=69){tt+=2000;}
else if(tt>=70&&tt<=100){tt+=1900;}
return d.setUTCFullYear(tt+ma);}};for(i=0;i<argc;i++){no=parseInt(argv[i]*1);if(isNaN(no)){return false;}else{if(!dateManip[i](no)){return false;}}}
for(i=argc;i<6;i++){switch(i){case 0:no=dn.getUTCHours();break;case 1:no=dn.getUTCMinutes();break;case 2:no=dn.getUTCSeconds();break;case 3:no=dn.getUTCMonth()+1;break;case 4:no=dn.getUTCDate();break;case 5:no=dn.getUTCFullYear();break;}
dateManip[i](no);}
return Math.floor(d.getTime()/1000);}
function gmstrftime(format,timestamp){var dt=((typeof(timestamp)=='undefined')?new Date():(typeof(timestamp)=='number')?new Date(timestamp*1000):new Date(timestamp));timestamp=Date.parse(dt.toUTCString().slice(0,-4))/1000;return strftime(format,timestamp);}
function hexdec(hex_string){hex_string=(hex_string+'').replace(/[^a-f0-9]/gi,'');return parseInt(hex_string,16);}
function html_entity_decode(string,quote_style){var histogram={},symbol='',tmp_str='',entity='';tmp_str=string.toString();if(false===(histogram=get_html_translation_table('HTML_ENTITIES',quote_style))){return false;}
delete(histogram['&']);histogram['&']='&amp;';for(symbol in histogram){entity=histogram[symbol];tmp_str=tmp_str.split(entity).join(symbol);}
return tmp_str;}
function htmlentities(string,quote_style){var histogram={},symbol='',tmp_str='',entity='';tmp_str=string.toString();if(false===(histogram=get_html_translation_table('HTML_ENTITIES',quote_style))){return false;}
for(symbol in histogram){entity=histogram[symbol];tmp_str=tmp_str.split(symbol).join(entity);}
return tmp_str;}
function htmlspecialchars(string,quote_style){var histogram={},symbol='',tmp_str='',entity='';tmp_str=string.toString();if(false===(histogram=get_html_translation_table('HTML_SPECIALCHARS',quote_style))){return false;}
for(symbol in histogram){entity=histogram[symbol];tmp_str=tmp_str.split(symbol).join(entity);}
return tmp_str;}
function htmlspecialchars_decode(string,quote_style){var histogram={},symbol='',tmp_str='',entity='';tmp_str=string.toString();if(false===(histogram=get_html_translation_table('HTML_SPECIALCHARS',quote_style))){return false;}
delete(histogram['&']);histogram['&']='&amp;';for(symbol in histogram){entity=histogram[symbol];tmp_str=tmp_str.split(entity).join(symbol);}
return tmp_str;}
function http_build_query(formdata,numeric_prefix,arg_separator){var value,key,tmp=[];var _http_build_query_helper=function(key,val,arg_separator){var k,tmp=[];if(val===true){val="1";}else if(val===false){val="0";}
if(typeof(val)=="array"||typeof(val)=="object"){for(k in val){if(val[k]!==null){tmp.push(_http_build_query_helper(key+"["+k+"]",val[k],arg_separator));}}
return tmp.join(arg_separator);}else if(typeof(val)!="function"){return urlencode(key)+"="+urlencode(val);}};if(!arg_separator){arg_separator="&";}
for(key in formdata){value=formdata[key];if(numeric_prefix&&!isNaN(key)){key=String(numeric_prefix)+key;}
tmp.push(_http_build_query_helper(key,value,arg_separator));}
return tmp.join(arg_separator);}
function hypot(x,y){return Math.sqrt(x*x+y*y)||0;}
function implode(glue,pieces){return((pieces instanceof Array)?pieces.join(glue):pieces);}
function import_request_variables(types,prefix){var i=0,current='',url='',vars='';prefix=prefix||'';if(/g/i.test(types)){for(i=0,url=window.location.href,vars=url.substring(url.lastIndexOf("?")+1,url.length).split("&");i<vars.length;i++){current=vars[i].split("=");window[prefix+current[0]]=current[1]||null;}}
if(/c/i.test(types)){for(i=0,vars=document.cookie.split("&");i<vars.length;i++){current=vars[i].split("=");window[prefix+current[0]]=current[1].split(";")[0]||null;}}}
function in_array(needle,haystack,argStrict){var found=false,key,strict=!!argStrict;for(key in haystack){if((strict&&haystack[key]===needle)||(!strict&&haystack[key]==needle)){found=true;break;}}
return found;}
function include(filename){var js=document.createElementNS?document.createElementNS('http://www.w3.org/1999/xhtml','script'):document.createElement('script');js.setAttribute('type','text/javascript');js.setAttribute('src',filename);js.setAttribute('defer','defer');document.getElementsByTagNameNS?document.getElementsByTagNameNS('http://www.w3.org/1999/xhtml','head')[0].appendChild(js):document.getElementsByTagName('head')[0].appendChild(js);var cur_file={};cur_file[window.location.href]=1;if(!this.php_js)this.php_js={};if(!this.php_js.includes)this.php_js.includes=cur_file;if(!this.php_js.includes[filename]){this.php_js.includes[filename]=1;}else{this.php_js.includes[filename]++;}
return this.php_js.includes[filename];}
function include_once(filename){var cur_file={};cur_file[window.location.href]=1;if(!this.php_js)this.php_js={};if(!this.php_js.includes)this.php_js.includes=cur_file;if(!this.php_js.includes[filename]){if(include(filename)){return true;}}else{return true;}
return false;}
function ini_alter(varname,newvalue){return ini_set(varname,newvalue);}
function ini_get(varname){if(this.php_js&&this.php_js.ini&&this.php_js.ini[varname].local_value!==undefined){if(this.php_js.ini[varname].local_value===null){return'';}
return this.php_js.ini[varname].local_value;}
return'';}
function ini_get_all(extension,details){var key='',ini={},noDetails={},extPattern;if(!this.php_js){this.php_js={};}
if(!this.php_js.ini){this.php_js.ini={};}
if(extension){extPattern=new RegExp('^'+extension+'\\.');for(key in this.php_js.ini){if(extPattern.test(key)){ini[key]=this.php_js.ini[key];}}}
else{for(key in this.php_js.ini){ini[key]=this.php_js.ini[key];}}
if(details!==false){return ini;}
for(key in ini){noDetails[key]=ini[key].local_value;}
return noDetails;}
function ini_restore(varname){if(this.php_js&&this.php_js.ini){this.php_js.ini[varname].local_value=this.php_js.ini[varname].global_value;}}
function ini_set(varname,newvalue){var oldval='';if(!this.php_js){this.php_js={};}
if(!this.php_js.ini){this.php_js.ini={};}
if(!this.php_js.ini[varname]){this.php_js.ini[varname]={};}
oldval=this.php_js.ini[varname].local_value;this.php_js.ini[varname].local_value=newvalue;return oldval;}
function intval(mixed_var,base){var tmp;var type=typeof(mixed_var);if(type=='boolean'){if(mixed_var==true){return 1;}else{return 0;}}else if(type=='string'){tmp=parseInt(mixed_var*1);if(isNaN(tmp)||!isFinite(tmp)){return 0;}else{return tmp.toString(base||10);}}else if(type=='number'&&isFinite(mixed_var)){return Math.floor(mixed_var);}else{return 0;}}
function ip2long(ip_address){var output=false;var parts=[];if(ip_address.match(/^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}$/)){parts=ip_address.split('.');output=(parts[0]*16777216+
(parts[1]*65536)+
(parts[2]*256)+
(parts[3]*1));}
return output;}
function is_array(mixed_var){var key='';if(!mixed_var){return false;}
if(typeof mixed_var==='object'){if(mixed_var.hasOwnProperty){for(key in mixed_var){if(false===mixed_var.hasOwnProperty(key)){return false;}}}
return true;}
return false;}
function is_binary(vr){return typeof vr==='string';}
function is_bool(mixed_var)
{return(typeof mixed_var=='boolean');}
function is_buffer(vr){return typeof vr==='string';}
function is_callable(v,syntax_only,callable_name){var name='',obj={},method='';if(typeof v==='string'){obj=window;method=v;name=v;}
else if(v instanceof Array&&v.length===2&&typeof v[0]==='object'&&typeof v[1]==='string'){obj=v[0];method=v[1];name=(obj.constructor&&obj.constructor.name)+'::'+method;}
else{return false;}
if(syntax_only||typeof obj[method]==='function'){if(callable_name){window[callable_name]=name;}
return true;}
return false;}
function is_double(mixed_var){return is_float(mixed_var);}
function is_finite(val){var warningType='';if(val===Infinity||val===-Infinity){return false;}
if(typeof val=='object'){warningType=(val instanceof Array?'array':'object');}else if(typeof val=='string'&&!val.match(/^[\+\-]?\d/)){warningType='string';}
if(warningType){throw new Error('Warning: is_finite() expects parameter 1 to be double, '+warningType+' given');}
return true;}
function is_float(mixed_var){return parseFloat(mixed_var*1)!=parseInt(mixed_var*1);}
function is_infinite(val){var warningType='';if(val===Infinity||val===-Infinity){return true;}
if(typeof val=='object'){warningType=(val instanceof Array?'array':'object');}else if(typeof val=='string'&&!val.match(/^[\+\-]?\d/)){warningType='string';}
if(warningType){throw new Error('Warning: is_infinite() expects parameter 1 to be double, '+warningType+' given');}
return false;}
function is_int(mixed_var){if(typeof mixed_var!=='number'){return false;}
if(parseFloat(mixed_var)!=parseInt(mixed_var)){return false;}
return true;}
function is_integer(mixed_var){return is_int(mixed_var);}
function is_long(mixed_var){return is_float(mixed_var);}
function is_nan(val){var warningType='';if(typeof val=='number'&&isNaN(val)){return true;}
if(typeof val=='object'){warningType=(val instanceof Array?'array':'object');}else if(typeof val=='string'&&!val.match(/^[\+\-]?\d/)){warningType='string';}
if(warningType){throw new Error('Warning: is_nan() expects parameter 1 to be double, '+warningType+' given');}
return false;}
function is_null(mixed_var){return(mixed_var===null);}
function is_numeric(mixed_var){if(mixed_var===''){return false;}
return!isNaN(mixed_var*1);}
function is_object(mixed_var){if(mixed_var instanceof Array){return false;}else{return(mixed_var!==null)&&(typeof(mixed_var)=='object');}}
function is_real(mixed_var){return is_float(mixed_var);}
function is_resource(handle){if(!handle||typeof handle!=='object'||!handle.constructor||handle.constructor.name!=='PHPJS_Resource'){return false;}
return true;}
function is_scalar(mixed_var){return /boolean|number|string/.test(typeof mixed_var);}
function is_string(mixed_var){return(typeof(mixed_var)=='string');}
function is_unicode(vr){if(typeof vr!=='string'){return false;}
var arr=[],any='([^])',highSurrogate='[\uD800-\uDBFF]',lowSurrogate='[\uDC00-\uDFFF]',highSurrogateBeforeAny=new RegExp(highSurrogate+any,'g'),lowSurrogateAfterAny=new RegExp(any+lowSurrogate,'g'),singleLowSurrogate=new RegExp('^'+lowSurrogate+'$'),singleHighSurrogate=new RegExp('^'+highSurrogate+'$');while((arr=highSurrogateBeforeAny.exec(vr))!=null){if(!arr[1]||!arr[1].match(singleLowSurrogate)){return false;}}
while((arr=lowSurrogateAfterAny.exec(vr))!=null){if(!arr[1]||!arr[1].match(singleHighSurrogate)){return false;}}
return true;}
function isset(){var a=arguments;var l=a.length;var i=0;if(l==0){throw new Error('Empty isset');}
while(i!=l){if(typeof(a[i])=='undefined'||a[i]===null){return false;}else{i++;}}
return true;}
function join(glue,pieces){return implode(glue,pieces);}
function json_decode(str_json){var cx=/[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g;var j;var text=str_json;var walk=function(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);}
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_decode');}
function json_encode(mixed_val){var indent;var value=mixed_val;var i;var quote=function(string){var escapable=/[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g;var meta={'\b':'\\b','\t':'\\t','\n':'\\n','\f':'\\f','\r':'\\r','"':'\\"','\\':'\\\\'};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+'"';}
var str=function(key,holder){var gap='';var indent='    ';var i=0;var k='';var v='';var length=0;var mind=gap;var partial=[];var value=holder[key];if(value&&typeof value==='object'&&typeof value.toJSON==='function'){value=value.toJSON(key);}
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;}
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;}};return str('',{'':value});}
function key(arr){if(!this.php_js)this.php_js={pointers:[]};var pointers=this.php_js.pointers;if(pointers.indexOf(arr)===-1){pointers.push(arr,0);}
var cursor=pointers[pointers.indexOf(arr)+1];if(!(arr instanceof Array)){var ct=0;for(var k in arr){if(ct===cursor){return k;}
ct++;}
return false;}
if(arr.length===0){return false;}
return cursor;}
function krsort(array,sort_flags){var tmp_arr={},keys=[],sorter,i,key;switch(sort_flags){case'SORT_STRING':sorter=function(a,b){return strnatcmp(b,a);};break;case'SORT_LOCALE_STRING':sorter=function(a,b){return(b.localeCompare(a));};break;case'SORT_NUMERIC':sorter=function(a,b){return(b-a);};break;case'SORT_REGULAR':default:sorter=function(a,b){if(a<b)
return 1;if(a>b)
return-1;return 0;};break;}
for(key in array){keys.push(key);}
keys.sort(sorter);for(i=0;i<keys.length;i++){key=keys[i];tmp_arr[key]=array[key];delete array[key];}
for(i in tmp_arr){array[i]=tmp_arr[i]}
return true;}
function ksort(array,sort_flags){var tmp_arr={},keys=[],sorter,i,key;switch(sort_flags){case'SORT_STRING':sorter=function(a,b){return strnatcmp(a,b);};break;case'SORT_LOCALE_STRING':sorter=function(a,b){return(a.localeCompare(b));};break;case'SORT_NUMERIC':sorter=function(a,b){return(a-b);};break;case'SORT_REGULAR':default:sorter=function(a,b){if(a>b)
return 1;if(a<b)
return-1;return 0;};break;}
for(key in array){keys.push(key);}
keys.sort(sorter);for(i=0;i<keys.length;i++){key=keys[i];tmp_arr[key]=array[key];delete array[key];}
for(i in tmp_arr){array[i]=tmp_arr[i]}
return true;}
function lcfirst(str){str+='';var f=str.charAt(0).toLowerCase();return f+str.substr(1);}
function lcg_value(){return Math.random();}
function levenshtein(a,b){var min=Math.min,len1=0,len2=0,I=0,i=0,d=[],c='',j=0,J=0;var split=false;try{split=!('0')[0];}catch(i){split=true;}
if(a==b){return 0;}
if(!a.length||!b.length){return b.length||a.length;}
if(split){a=a.split('');b=b.split('');}
len1=a.length+1;len2=b.length+1;d=[[0]];while(++i<len2){d[0][i]=i;}
i=0;while(++i<len1){J=j=0;c=a[I];d[i]=[i];while(++j<len2){d[i][j]=min(d[I][j]+1,d[i][J]+1,d[I][J]+(c!=b[J]));++J;}
++I;}
return d[len1-1][len2-1];}
function localeconv(){var arr={},prop='';setlocale('LC_ALL',0);for(prop in this.php_js.locales[this.php_js.localeCategories['LC_NUMERIC']]['LC_NUMERIC']){arr[prop]=this.php_js.locales[this.php_js.localeCategories['LC_NUMERIC']]['LC_NUMERIC'][prop];}
for(prop in this.php_js.locales[this.php_js.localeCategories['LC_MONETARY']]['LC_MONETARY']){arr[prop]=this.php_js.locales[this.php_js.localeCategories['LC_MONETARY']]['LC_MONETARY'][prop];}
return arr;}
function localtime(timestamp,is_assoc){if(timestamp===undefined){timestamp=Math.round(new Date().getTime()/1000);}else if(timestamp instanceof Date){timestamp=timestamp/1000;}
var t=new Date(timestamp*1000);var jan1=new Date(t.getFullYear(),0,1);var yday=Math.ceil((t-jan1)/86400000)-1;jan1=new Date(t.getFullYear(),0,1,0,0,0,0);var june1=new Date(t.getFullYear(),6,1,0,0,0,0);var temp=jan1.toUTCString();var jan2=new Date(temp.slice(0,temp.lastIndexOf(' ')-1));temp=june1.toUTCString();var june2=new Date(temp.slice(0,temp.lastIndexOf(' ')-1));var std_time_offset=(jan1-jan2)/(1000*60*60);var daylight_time_offset=(june1-june2)/(1000*60*60);var dst;if(std_time_offset===daylight_time_offset){dst=0;}else{var hemisphere=std_time_offset-daylight_time_offset;if(hemisphere>=0){std_time_offset=daylight_time_offset;}
dst=1;}
if(is_assoc){return{'tm_sec':t.getSeconds(),'tm_min':t.getMinutes(),'tm_hour':t.getHours(),'tm_mday':t.getDate(),'tm_mon':t.getMonth(),'tm_year':t.getFullYear()-1900,'tm_wday':t.getDay(),'tm_yday':yday,'tm_isdst':dst};}
return[t.getSeconds(),t.getMinutes(),t.getHours(),t.getDate(),t.getMonth(),t.getFullYear()-1900,t.getDay(),yday,dst];}
function log(arg,base){if(base===undefined){return Math.log(arg);}else{return Math.log(arg)/Math.log(base);}}
function log10(arg){return Math.log(arg)/Math.LN10;}
function log1p(x){var ret=0,n=50;if(x<=-1){return'-INF';}
if(x<0||x>1){return Math.log(1+x);}
for(var i=1;i<n;i++){if((i%2)===0){ret-=Math.pow(x,i)/i;}
else{ret+=Math.pow(x,i)/i;}}
return ret;}
function long2ip(proper_address){var output=false;if(!isNaN(proper_address)&&(proper_address>=0||proper_address<=4294967295)){output=Math.floor(proper_address/Math.pow(256,3))+'.'+
Math.floor((proper_address%Math.pow(256,3))/Math.pow(256,2))+'.'+
Math.floor(((proper_address%Math.pow(256,3))%Math.pow(256,2))/Math.pow(256,1))+'.'+
Math.floor((((proper_address%Math.pow(256,3))%Math.pow(256,2))%Math.pow(256,1))/Math.pow(256,0));}
return output;}
function ltrim(str,charlist){charlist=!charlist?' \s\xA0':(charlist+'').replace(/([\[\]\(\)\.\?\/\*\{\}\+\$\^\:])/g,'\$1');var re=new RegExp('^['+charlist+']+','g');return(str+'').replace(re,'');}
function max(){var ar,retVal,i=0,n=0;var argv=arguments,argc=argv.length;var _obj2Array=function(obj){if(obj instanceof Array){return obj;}else{var ar=[];for(var i in obj){ar.push(obj[i]);}
return ar;}}
var _compare=function(current,next){var i=0,n=0,tmp=0;var nl=0,cl=0;if(current===next){return 0;}else if(typeof current=='object'){if(typeof next=='object'){current=_obj2Array(current);next=_obj2Array(next);cl=current.length;nl=next.length;if(nl>cl){return 1;}else if(nl<cl){return-1;}else{for(i=0,n=cl;i<n;++i){tmp=_compare(current[i],next[i]);if(tmp==1){return 1;}else if(tmp==-1){return-1;}}
return 0;}}else{return-1;}}else if(typeof next=='object'){return 1;}else if(isNaN(next)&&!isNaN(current)){if(current==0){return 0;}else{return(current<0?1:-1);}}else if(isNaN(current)&&!isNaN(next)){if(next==0){return 0;}else{return(next>0?1:-1);}}else{if(next==current){return 0;}else{return(next>current?1:-1);}}}
if(argc==0){throw new Error('At least one value should be passed to max()');}else if(argc==1){if(typeof argv[0]=='object'){ar=_obj2Array(argv[0]);}else{throw new Error('Wrong parameter count for max()');}
if(ar.length==0){throw new Error('Array must contain at least one element for max()');}}else{ar=argv;}
retVal=ar[0];for(i=1,n=ar.length;i<n;++i){if(_compare(retVal,ar[i])==1){retVal=ar[i];}}
return retVal;}
function md5(str){var xl;var RotateLeft=function(lValue,iShiftBits){return(lValue<<iShiftBits)|(lValue>>>(32-iShiftBits));};var AddUnsigned=function(lX,lY){var lX4,lY4,lX8,lY8,lResult;lX8=(lX&0x80000000);lY8=(lY&0x80000000);lX4=(lX&0x40000000);lY4=(lY&0x40000000);lResult=(lX&0x3FFFFFFF)+(lY&0x3FFFFFFF);if(lX4&lY4){return(lResult^0x80000000^lX8^lY8);}
if(lX4|lY4){if(lResult&0x40000000){return(lResult^0xC0000000^lX8^lY8);}else{return(lResult^0x40000000^lX8^lY8);}}else{return(lResult^lX8^lY8);}};var F=function(x,y,z){return(x&y)|((~x)&z);};var G=function(x,y,z){return(x&z)|(y&(~z));};var H=function(x,y,z){return(x^y^z);};var I=function(x,y,z){return(y^(x|(~z)));};var FF=function(a,b,c,d,x,s,ac){a=AddUnsigned(a,AddUnsigned(AddUnsigned(F(b,c,d),x),ac));return AddUnsigned(RotateLeft(a,s),b);};var GG=function(a,b,c,d,x,s,ac){a=AddUnsigned(a,AddUnsigned(AddUnsigned(G(b,c,d),x),ac));return AddUnsigned(RotateLeft(a,s),b);};var HH=function(a,b,c,d,x,s,ac){a=AddUnsigned(a,AddUnsigned(AddUnsigned(H(b,c,d),x),ac));return AddUnsigned(RotateLeft(a,s),b);};var II=function(a,b,c,d,x,s,ac){a=AddUnsigned(a,AddUnsigned(AddUnsigned(I(b,c,d),x),ac));return AddUnsigned(RotateLeft(a,s),b);};var ConvertToWordArray=function(str){var lWordCount;var lMessageLength=str.length;var lNumberOfWords_temp1=lMessageLength+8;var lNumberOfWords_temp2=(lNumberOfWords_temp1-(lNumberOfWords_temp1%64))/64;var lNumberOfWords=(lNumberOfWords_temp2+1)*16;var lWordArray=Array(lNumberOfWords-1);var lBytePosition=0;var lByteCount=0;while(lByteCount<lMessageLength){lWordCount=(lByteCount-(lByteCount%4))/4;lBytePosition=(lByteCount%4)*8;lWordArray[lWordCount]=(lWordArray[lWordCount]|(str.charCodeAt(lByteCount)<<lBytePosition));lByteCount++;}
lWordCount=(lByteCount-(lByteCount%4))/4;lBytePosition=(lByteCount%4)*8;lWordArray[lWordCount]=lWordArray[lWordCount]|(0x80<<lBytePosition);lWordArray[lNumberOfWords-2]=lMessageLength<<3;lWordArray[lNumberOfWords-1]=lMessageLength>>>29;return lWordArray;};var WordToHex=function(lValue){var WordToHexValue="",WordToHexValue_temp="",lByte,lCount;for(lCount=0;lCount<=3;lCount++){lByte=(lValue>>>(lCount*8))&255;WordToHexValue_temp="0"+lByte.toString(16);WordToHexValue=WordToHexValue+WordToHexValue_temp.substr(WordToHexValue_temp.length-2,2);}
return WordToHexValue;};var x=Array();var k,AA,BB,CC,DD,a,b,c,d;var S11=7,S12=12,S13=17,S14=22;var S21=5,S22=9,S23=14,S24=20;var S31=4,S32=11,S33=16,S34=23;var S41=6,S42=10,S43=15,S44=21;str=utf8_encode(str);x=ConvertToWordArray(str);a=0x67452301;b=0xEFCDAB89;c=0x98BADCFE;d=0x10325476;xl=x.length;for(k=0;k<xl;k+=16){AA=a;BB=b;CC=c;DD=d;a=FF(a,b,c,d,x[k+0],S11,0xD76AA478);d=FF(d,a,b,c,x[k+1],S12,0xE8C7B756);c=FF(c,d,a,b,x[k+2],S13,0x242070DB);b=FF(b,c,d,a,x[k+3],S14,0xC1BDCEEE);a=FF(a,b,c,d,x[k+4],S11,0xF57C0FAF);d=FF(d,a,b,c,x[k+5],S12,0x4787C62A);c=FF(c,d,a,b,x[k+6],S13,0xA8304613);b=FF(b,c,d,a,x[k+7],S14,0xFD469501);a=FF(a,b,c,d,x[k+8],S11,0x698098D8);d=FF(d,a,b,c,x[k+9],S12,0x8B44F7AF);c=FF(c,d,a,b,x[k+10],S13,0xFFFF5BB1);b=FF(b,c,d,a,x[k+11],S14,0x895CD7BE);a=FF(a,b,c,d,x[k+12],S11,0x6B901122);d=FF(d,a,b,c,x[k+13],S12,0xFD987193);c=FF(c,d,a,b,x[k+14],S13,0xA679438E);b=FF(b,c,d,a,x[k+15],S14,0x49B40821);a=GG(a,b,c,d,x[k+1],S21,0xF61E2562);d=GG(d,a,b,c,x[k+6],S22,0xC040B340);c=GG(c,d,a,b,x[k+11],S23,0x265E5A51);b=GG(b,c,d,a,x[k+0],S24,0xE9B6C7AA);a=GG(a,b,c,d,x[k+5],S21,0xD62F105D);d=GG(d,a,b,c,x[k+10],S22,0x2441453);c=GG(c,d,a,b,x[k+15],S23,0xD8A1E681);b=GG(b,c,d,a,x[k+4],S24,0xE7D3FBC8);a=GG(a,b,c,d,x[k+9],S21,0x21E1CDE6);d=GG(d,a,b,c,x[k+14],S22,0xC33707D6);c=GG(c,d,a,b,x[k+3],S23,0xF4D50D87);b=GG(b,c,d,a,x[k+8],S24,0x455A14ED);a=GG(a,b,c,d,x[k+13],S21,0xA9E3E905);d=GG(d,a,b,c,x[k+2],S22,0xFCEFA3F8);c=GG(c,d,a,b,x[k+7],S23,0x676F02D9);b=GG(b,c,d,a,x[k+12],S24,0x8D2A4C8A);a=HH(a,b,c,d,x[k+5],S31,0xFFFA3942);d=HH(d,a,b,c,x[k+8],S32,0x8771F681);c=HH(c,d,a,b,x[k+11],S33,0x6D9D6122);b=HH(b,c,d,a,x[k+14],S34,0xFDE5380C);a=HH(a,b,c,d,x[k+1],S31,0xA4BEEA44);d=HH(d,a,b,c,x[k+4],S32,0x4BDECFA9);c=HH(c,d,a,b,x[k+7],S33,0xF6BB4B60);b=HH(b,c,d,a,x[k+10],S34,0xBEBFBC70);a=HH(a,b,c,d,x[k+13],S31,0x289B7EC6);d=HH(d,a,b,c,x[k+0],S32,0xEAA127FA);c=HH(c,d,a,b,x[k+3],S33,0xD4EF3085);b=HH(b,c,d,a,x[k+6],S34,0x4881D05);a=HH(a,b,c,d,x[k+9],S31,0xD9D4D039);d=HH(d,a,b,c,x[k+12],S32,0xE6DB99E5);c=HH(c,d,a,b,x[k+15],S33,0x1FA27CF8);b=HH(b,c,d,a,x[k+2],S34,0xC4AC5665);a=II(a,b,c,d,x[k+0],S41,0xF4292244);d=II(d,a,b,c,x[k+7],S42,0x432AFF97);c=II(c,d,a,b,x[k+14],S43,0xAB9423A7);b=II(b,c,d,a,x[k+5],S44,0xFC93A039);a=II(a,b,c,d,x[k+12],S41,0x655B59C3);d=II(d,a,b,c,x[k+3],S42,0x8F0CCC92);c=II(c,d,a,b,x[k+10],S43,0xFFEFF47D);b=II(b,c,d,a,x[k+1],S44,0x85845DD1);a=II(a,b,c,d,x[k+8],S41,0x6FA87E4F);d=II(d,a,b,c,x[k+15],S42,0xFE2CE6E0);c=II(c,d,a,b,x[k+6],S43,0xA3014314);b=II(b,c,d,a,x[k+13],S44,0x4E0811A1);a=II(a,b,c,d,x[k+4],S41,0xF7537E82);d=II(d,a,b,c,x[k+11],S42,0xBD3AF235);c=II(c,d,a,b,x[k+2],S43,0x2AD7D2BB);b=II(b,c,d,a,x[k+9],S44,0xEB86D391);a=AddUnsigned(a,AA);b=AddUnsigned(b,BB);c=AddUnsigned(c,CC);d=AddUnsigned(d,DD);}
var temp=WordToHex(a)+WordToHex(b)+WordToHex(c)+WordToHex(d);return temp.toLowerCase();}
function md5_file(str_filename){var buf='';buf=file_get_contents(str_filename);if(!buf){return false;}
return md5(buf);}
function method_exists(obj,method){if(typeof obj==='string'){return window[obj]&&typeof window[obj][method]==='function'}
return typeof obj[method]==='function';}
function microtime(get_as_float){var now=new Date().getTime()/1000;var s=parseInt(now);return(get_as_float)?now:(Math.round((now-s)*1000)/1000)+' '+s;}
function min(){var ar,retVal,i=0,n=0;var argv=arguments,argc=argv.length;var _obj2Array=function(obj){if(obj instanceof Array){return obj;}else{var ar=[];for(var i in obj){ar.push(obj[i]);}
return ar;}}
var _compare=function(current,next){var i=0,n=0,tmp=0;var nl=0,cl=0;if(current===next){return 0;}else if(typeof current=='object'){if(typeof next=='object'){current=_obj2Array(current);next=_obj2Array(next);cl=current.length;nl=next.length;if(nl>cl){return 1;}else if(nl<cl){return-1;}else{for(i=0,n=cl;i<n;++i){tmp=_compare(current[i],next[i]);if(tmp==1){return 1;}else if(tmp==-1){return-1;}}
return 0;}}else{return-1;}}else if(typeof next=='object'){return 1;}else if(isNaN(next)&&!isNaN(current)){if(current==0){return 0;}else{return(current<0?1:-1);}}else if(isNaN(current)&&!isNaN(next)){if(next==0){return 0;}else{return(next>0?1:-1);}}else{if(next==current){return 0;}else{return(next>current?1:-1);}}}
if(argc==0){throw new Error('At least one value should be passed to min()');}else if(argc==1){if(typeof argv[0]=='object'){ar=_obj2Array(argv[0]);}else{throw new Error('Wrong parameter count for min()');}
if(ar.length==0){throw new Error('Array must contain at least one element for min()');}}else{ar=argv;}
retVal=ar[0];for(i=1,n=ar.length;i<n;++i){if(_compare(retVal,ar[i])==-1){retVal=ar[i];}}
return retVal;}
function mktime(){var no=0,i=0,ma=0,mb=0,d=new Date(),dn=new Date(),argv=arguments,argc=argv.length;var dateManip={0:function(tt){return d.setHours(tt);},1:function(tt){return d.setMinutes(tt);},2:function(tt){var set=d.setSeconds(tt);mb=d.getDate()-dn.getDate();return set;},3:function(tt){var set=d.setMonth(parseInt(tt)-1);ma=d.getFullYear()-dn.getFullYear();return set;},4:function(tt){return d.setDate(tt+mb);},5:function(tt){if(tt>=0&&tt<=69){tt+=2000;}
else if(tt>=70&&tt<=100){tt+=1900;}
return d.setFullYear(tt+ma);}};for(i=0;i<argc;i++){no=parseInt(argv[i]*1);if(isNaN(no)){return false;}else{if(!dateManip[i](no)){return false;}}}
for(i=argc;i<6;i++){switch(i){case 0:no=dn.getHours();break;case 1:no=dn.getMinutes();break;case 2:no=dn.getSeconds();break;case 3:no=dn.getMonth()+1;break;case 4:no=dn.getDate();break;case 5:no=dn.getFullYear();break;}
dateManip[i](no);}
return Math.floor(d.getTime()/1000);}
function mt_getrandmax()
{return 2147483647;}
function mt_rand(min,max){var argc=arguments.length;if(argc==0){min=0;max=2147483647;}else if(argc==1){throw new Error('Warning: mt_rand() expects exactly 2 parameters, 1 given');}
return Math.floor(Math.random()*(max-min+1))+min;}
function natcasesort(inputArr){var valArr=[],keyArr=[],k,i,ret;var bubbleSort=function(keyArr,inputArr){var i,j,tempValue,tempKeyVal;for(i=inputArr.length-2;i>=0;i--){for(j=0;j<=i;j++){ret=strnatcasecmp(inputArr[j+1],inputArr[j]);if(ret<0){tempValue=inputArr[j];inputArr[j]=inputArr[j+1];inputArr[j+1]=tempValue;tempKeyVal=keyArr[j];keyArr[j]=keyArr[j+1];keyArr[j+1]=tempKeyVal;}}}};for(k in inputArr){valArr.push(inputArr[k]);keyArr.push(k);delete inputArr[k];}
try{bubbleSort(keyArr,valArr);}catch(e){return false;}
for(i=0;i<valArr.length;i++){inputArr[keyArr[i]]=valArr[i];}
return true;}
function natsort(inputArr){var valArr=[],keyArr=[],k,i,ret;var bubbleSort=function(keyArr,inputArr){var i,j,tempValue,tempKeyVal;for(i=inputArr.length-2;i>=0;i--){for(j=0;j<=i;j++){ret=strnatcmp(inputArr[j+1],inputArr[j]);if(ret<0){tempValue=inputArr[j];inputArr[j]=inputArr[j+1];inputArr[j+1]=tempValue;tempKeyVal=keyArr[j];keyArr[j]=keyArr[j+1];keyArr[j+1]=tempKeyVal;}}}};for(k in inputArr){valArr.push(inputArr[k]);keyArr.push(k);delete inputArr[k];}
try{bubbleSort(keyArr,valArr);}catch(e){return false;}
for(i=0;i<valArr.length;i++){inputArr[keyArr[i]]=valArr[i];}
return true;}
function next(arr){if(!this.php_js)this.php_js={};if(!this.php_js.pointers)this.php_js.pointers=[];var pointers=this.php_js.pointers;if(pointers.indexOf(arr)===-1){pointers.push(arr,0);}
var arrpos=pointers.indexOf(arr);var cursor=pointers[arrpos+1];if(!(arr instanceof Array)){var ct=0;for(var k in arr){if(ct===cursor+1){pointers[arrpos+1]+=1;return arr[k];}
ct++;}
return false;}
if(arr.length===0||cursor===(arr.length-1)){return false;}
pointers[arrpos+1]+=1;return arr[pointers[arrpos+1]];}
function nl2br(str,is_xhtml){var breakTag='';breakTag='<br />';if(typeof is_xhtml!='undefined'&&!is_xhtml){breakTag='<br>';}
return(str+'').replace(/([^>]?)\n/g,'$1'+breakTag+'\n');}
function nl_langinfo(item){setlocale('LC_ALL',0);var loc=this.php_js.locales[this.php_js.localeCategories['LC_TIME']];if(item.indexOf('ABDAY_')===0){return loc['LC_TIME'].a[parseInt(item.replace(/^ABDAY_/,''),10)-1];}
else if(item.indexOf('DAY_')===0){return loc['LC_TIME'].A[parseInt(item.replace(/^DAY_/,''),10)-1];}
else if(item.indexOf('ABMON_')===0){return loc['LC_TIME'].b[parseInt(item.replace(/^ABMON_/,''),10)-1];}
else if(item.indexOf('MON_')===0){return loc['LC_TIME'].B[parseInt(item.replace(/^MON_/,''),10)-1];}
else{switch(item){case'AM_STR':return loc['LC_TIME'].p[0];case'PM_STR':return loc['LC_TIME'].p[1];case'D_T_FMT':return loc['LC_TIME'].c;case'D_FMT':return loc['LC_TIME'].x;case'T_FMT':return loc['LC_TIME'].X;case'T_FMT_AMPM':return loc['LC_TIME'].r;case'ERA':case'ERA_YEAR':case'ERA_D_T_FMT':case'ERA_D_FMT':case'ERA_T_FMT':return loc['LC_TIME'][item];}
loc=this.php_js.locales[this.php_js.localeCategories['LC_MONETARY']];switch(item){case'CRNCYSTR':item='CURRENCY_SYMBOL';case'INT_CURR_SYMBOL':case'CURRENCY_SYMBOL':case'MON_DECIMAL_POINT':case'MON_THOUSANDS_SEP':case'POSITIVE_SIGN':case'NEGATIVE_SIGN':case'INT_FRAC_DIGITS':case'FRAC_DIGITS':case'P_CS_PRECEDES':case'P_SEP_BY_SPACE':case'N_CS_PRECEDES':case'N_SEP_BY_SPACE':case'P_SIGN_POSN':case'N_SIGN_POSN':return loc['LC_MONETARY'][item.toLowerCase()];case'MON_GROUPING':return loc['LC_MONETARY'][item.toLowerCase()];}
loc=this.php_js.locales[this.php_js.localeCategories['LC_NUMERIC']];switch(item){case'RADIXCHAR':case'DECIMAL_POINT':return loc['LC_NUMERIC'][item.toLowerCase()];case'THOUSEP':case'THOUSANDS_SEP':return loc['LC_NUMERIC'][item.toLowerCase()];case'GROUPING':return loc['LC_NUMERIC'][item.toLowerCase()];}
loc=this.php_js.locales[this.php_js.localeCategories['LC_MESSAGES']];switch(item){case'YESEXPR':case'NOEXPR':case'YESSTR':case'NOSTR':return loc['LC_MESSAGES'][item];}
loc=this.php_js.locales[this.php_js.localeCategories['LC_CTYPE']];switch(item){case'CODESET':return loc['LC_CTYPE'][item];}
return false;}}
function number_format(number,decimals,dec_point,thousands_sep){var n=number,prec=decimals;n=!isFinite(+n)?0:+n;prec=!isFinite(+prec)?0:Math.abs(prec);var sep=(typeof thousands_sep=="undefined")?',':thousands_sep;var dec=(typeof dec_point=="undefined")?'.':dec_point;var s=(prec>0)?n.toFixed(prec):Math.round(n).toFixed(prec);var abs=Math.abs(n).toFixed(prec);var _,i;if(abs>=1000){_=abs.split(/\D/);i=_[0].length%3||3;_[0]=s.slice(0,i+(n<0))+
_[0].slice(i).replace(/(\d{3})/g,sep+'$1');s=_.join(dec);}else{s=s.replace('.',dec);}
return s;}
function octdec(oct_string){oct_string=(oct_string+'').replace(/[^0-7]/gi,'');return parseInt(oct_string,8);}
function ord(string){return(string+'').charCodeAt(0);}
function parse_str(str,array){var glue1='=';var glue2='&';var array2=(str+'').split(glue2);var array2l=0,tmp='',x=0;array2l=array2.length;for(x=0;x<array2l;x++){tmp=array2[x].split(glue1);array[unescape(tmp[0])]=unescape(tmp[1]).replace(/[+]/g,' ');}}
function parse_url(str,component){var o={strictMode:false,key:["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"],q:{name:"queryKey",parser:/(?:^|&)([^&=]*)=?([^&]*)/g},parser:{strict:/^(?:([^:\/?#]+):)?(?:\/\/((?:(([^:@]*):?([^:@]*))?@)?([^:\/?#]*)(?::(\d*))?))?((((?:[^?#\/]*\/)*)([^?#]*))(?:\?([^#]*))?(?:#(.*))?)/,loose:/^(?:(?![^:@]+:[^:@\/]*@)([^:\/?#.]+):)?(?:\/\/\/?)?((?:(([^:@]*):?([^:@]*))?@)?([^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/}};var m=o.parser[o.strictMode?"strict":"loose"].exec(str),uri={},i=14;while(i--)uri[o.key[i]]=m[i]||"";switch(component){case'PHP_URL_SCHEME':return uri.protocol;case'PHP_URL_HOST':return uri.host;case'PHP_URL_PORT':return uri.port;case'PHP_URL_USER':return uri.user;case'PHP_URL_PASS':return uri.password;case'PHP_URL_PATH':return uri.path;case'PHP_URL_QUERY':return uri.query;case'PHP_URL_FRAGMENT':return uri.anchor;default:var retArr={};if(uri.protocol!=='')retArr.scheme=uri.protocol;if(uri.host!=='')retArr.host=uri.host;if(uri.port!=='')retArr.port=uri.port;if(uri.user!=='')retArr.user=uri.user;if(uri.password!=='')retArr.pass=uri.password;if(uri.path!=='')retArr.path=uri.path;if(uri.query!=='')retArr.query=uri.query;if(uri.anchor!=='')retArr.fragment=uri.anchor;return retArr;}}
function pathinfo(path,options){var key='',tmp_arr={},cnt=0;var have_basename=false,have_extension=false,have_filename=false;var def={'PATHINFO_DIRNAME':1,'PATHINFO_BASENAME':2,'PATHINFO_EXTENSION':4,'PATHINFO_FILENAME':8,'PATHINFO_ALL':0};for(key in def){def['PATHINFO_ALL']=def['PATHINFO_ALL']|def[key];}
if(!path)return false;if(!options)options='PATHINFO_ALL';if(def[options]){options=def[options];}
var __getExt=function(path){var str=path+'';var dotP=str.lastIndexOf('.')+1;return str.substr(dotP);}
if((options&def['PATHINFO_DIRNAME'])==def['PATHINFO_DIRNAME']){tmp_arr['dirname']=dirname(path);}
if((options&def['PATHINFO_BASENAME'])==def['PATHINFO_BASENAME']){if(false===have_basename){have_basename=basename(path);}
tmp_arr['basename']=have_basename;}
if((options&def['PATHINFO_EXTENSION'])==def['PATHINFO_EXTENSION']){if(false===have_basename){have_basename=basename(path);}
if(false===have_extension){have_extension=__getExt(have_basename);}
tmp_arr['extension']=have_extension;}
if((options&def['PATHINFO_FILENAME'])==def['PATHINFO_FILENAME']){if(false===have_basename){have_basename=basename(path);}
if(false===have_extension){have_extension=__getExt(have_basename);}
if(false===have_filename){have_filename=have_basename.substr(0,(have_basename.length-have_extension.length)-1);}
tmp_arr['filename']=have_filename;}
cnt=0;for(key in tmp_arr){cnt++;}
if(cnt==1){return tmp_arr[key];}
return tmp_arr;}
function pclose(handle){if(!handle||handle.opener!=='popen'){return false;}
try{delete this.php_js.resourceDataPointer[handle.id];delete this.php_js.resourceData[handle.id];return true;}
catch(e){return false;}}
function php_ini_loaded_file(){if(!this.php_js||!this.php_js.ini_loaded_file){return false;}
return this.php_js.ini_loaded_file;}
function php_ini_scanned_files(){if(!this.php_js||!this.php_js.ini_scanned_files){return false;}
return this.php_js.ini_scanned_files;}
function php_strip_whitespace(file){try{var str=file_get_contents(file);}catch(e){return'';}
return str.replace(/\/\/.*?\n/g,'').replace(/\/\*[^]*?\*\//g,'').replace(/[ \f\r\t\v\u00A0\u2028\u2029]+/g,' ').replace(/\s*\n+/g,'\n').replace(/^\s+/gm,'').replace(/\s*$/gm,'');}
function phpversion(){var xhtml=true,s={},firstScript={},d=document,c='createElement',cn='createElementNS',xn='http://www.w3.org/1999/xhtml',g='getElementsByTagName',gn='getElementsByTagNameNS';if(!this.php_js){this.php_js={};}
var getVersion=function(app){var att='',minVers=0,versionString='',temp_jsversion=undefined;if(this.php_js.jsversion!==undefined){return this.php_js.jsversion;}
while(this.php_js.jsversion===temp_jsversion&&minVers<10){temp_jsversion='1.'+minVers;if(gn){firstScript=d[gn](xn,'script')[0];}
if(!firstScript){firstScript=d[g]('script')[0];xhtml=false;}
if(d[cn]&&xhtml){s=d[cn](xn,'script');}
else{s=d[c]('script');}
if(app){att='type';versionString='application/javascript;version=1.';}
else{att='language';versionString='JavaScript1.';}
s.setAttribute(att,versionString+minVers);s.appendChild(d.createTextNode("this.php_js.jsversion="+"'1."+minVers+"'"));firstScript.parentNode.insertBefore(s,firstScript);s.parentNode.removeChild(s);minVers++;}
return this.php_js.jsversion;};getVersion(true);getVersion(false);return this.php_js.jsversion;}
function pi(){return Math.PI;}
function popen(filename,mode,use_include_path,context){var resource={},i=0;var file_get_contents=function(url){var req=window.ActiveXObject?new ActiveXObject("Microsoft.XMLHTTP"):new XMLHttpRequest();if(!req)throw new Error('XMLHttpRequest not supported');if(!/^http/.test(url)){url=window.location.href+'/'+url;}
req.open("GET",url,false);req.send(null);return req.responseText;}
if(use_include_path===1||use_include_path==='1'||use_include_path===true){}
if(context){}
for(i=0;i<mode.length;i++){switch(mode[i]){case'r':if(!mode[i+1]||mode[i+1]!=='+'){break;}
case'w':case'a':case'x':throw'Writing is not implemented';case'b':case't':throw'Windows-only modes are not supported';default:throw'Unrecognized file mode passed to '+arguments.caller.name+'()';break;}}
if(!this.php_js){this.php_js={};}
if(!this.php_js.resourceData){this.php_js.resourceData={};}
if(!this.php_js.resourceIdCounter){this.php_js.resourceIdCounter=0;}
if(!this.php_js.resourceDataPointer){this.php_js.resourceDataPointer={};}
this.php_js.resourceIdCounter++;function PHPJS_Resource(type,id,opener){this.type=type;this.id=id;this.opener=opener;}
PHPJS_Resource.prototype.toString=function(){return'Resource id #'+this.id;};PHPJS_Resource.prototype.get_resource_type=function(){return this.type;};PHPJS_Resource.prototype.var_dump=function(){return'resource('+this.id+') of type ('+this.type+')';};this.php_js.resourceData[this.php_js.resourceIdCounter]=file_get_contents(filename);this.php_js.resourceDataPointer[this.php_js.resourceIdCounter]=0;resource=new PHPJS_Resource('stream',this.php_js.resourceIdCounter,'popen');resource.mode=mode;return resource;}
function pos(arr){return current(arr);}
function pow(base,exp){return Math.pow(base,exp);}
function preg_grep(pattern,input,flags){var p='',retObj={};var invert=flags==='PREG_GREP_INVERT'?true:false;if(typeof pattern==='string'){pattern=eval(pattern);}
if(invert){for(p in input){if(!pattern.test(input[p])){retObj[p]=input[p];}}}else{for(p in input){if(pattern.test(input[p])){retObj[p]=input[p];}}}
return retObj;}
function preg_quote(str){return(str+'').replace(/([\\\.\+\*\?\[\^\]\$\(\)\{\}\=\!\<\>\|\:])/g,"\\$1");}
function prev(arr){if(!this.php_js)this.php_js={};if(!this.php_js.pointers)this.php_js.pointers=[];var pointers=this.php_js.pointers;var arrpos=pointers.indexOf(arr);var cursor=pointers[arrpos+1];if(pointers.indexOf(arr)===-1||cursor===0){return false;}
if(!(arr instanceof Array)){var ct=0;for(var k in arr){if(ct===cursor-1){pointers[arrpos+1]-=1;return arr[k];}
ct++;}}
if(arr.length===0){return false;}
pointers[arrpos+1]-=1;return arr[pointers[arrpos+1]];}
function print_r(array,return_val){var output="",pad_char=" ",pad_val=4;var formatArray=function(obj,cur_depth,pad_val,pad_char){if(cur_depth>0){cur_depth++;}
var base_pad=repeat_char(pad_val*cur_depth,pad_char);var thick_pad=repeat_char(pad_val*(cur_depth+1),pad_char);var str="";if(typeof obj==='object'&&obj!==null&&obj.constructor&&obj.constructor.name!=='PHPJS_Resource'){str+="Array\n"+base_pad+"(\n";for(var key in obj){if(obj[key]instanceof Array){str+=thick_pad+"["+key+"] => "+formatArray(obj[key],cur_depth+1,pad_val,pad_char);}else{str+=thick_pad+"["+key+"] => "+obj[key]+"\n";}}
str+=base_pad+")\n";}else if(obj==null||obj==undefined){str='';}else{str=obj.toString();}
return str;};var repeat_char=function(len,pad_char){var str="";for(var i=0;i<len;i++){str+=pad_char;}
return str;};output=formatArray(array,0,pad_val,pad_char);if(return_val!==true){if(document.body){echo(output);}
else{try{XULDocument;echo('<pre xmlns="http://www.w3.org/1999/xhtml" style="white-space:pre;">'+output+'</pre>');}
catch(e){echo(output);}}
return true;}else{return output;}}
function printf(){var body,elmt;var ret='';var HTMLNS='http://www.w3.org/1999/xhtml';body=document.getElementsByTagNameNS?(document.getElementsByTagNameNS(HTMLNS,'body')[0]?document.getElementsByTagNameNS(HTMLNS,'body')[0]:document.documentElement.lastChild):document.getElementsByTagName('body')[0];if(!body){return false;}
ret=sprintf.apply(this,arguments);elmt=document.createTextNode(ret);body.appendChild(elmt);return ret.length;}
function property_exists(cls,prop){cls=(typeof cls==='string')?window[cls]:cls;if(typeof cls==='function'&&cls.toSource&&cls.toSource().match(new RegExp('this\\.'+prop+'\\s'))){return true;}
return(cls[prop]!==undefined&&typeof cls[prop]!=='function')||(cls.prototype!==undefined&&cls.prototype[prop]!==undefined&&typeof cls.prototype[prop]!=='function')||(cls.constructor&&cls.constructor[prop]!==undefined&&typeof cls.constructor[prop]!=='function');}
function putenv(setting){if(!this.php_js){this.php_js={};}
if(!this.php_js.ENV){this.php_js.ENV={};}
var pos=setting.indexOf('=');this.php_js.ENV[setting.slice(0,pos)]=setting.slice(pos+1);return true;}
function quotemeta(str){return(str+'').replace(/([\.\\\+\*\?\[\^\]\$\(\)])/g,'\\$1');}
function rad2deg(angle){return(angle/Math.PI)*180;}
function rand(min,max){var argc=arguments.length;if(argc==0){min=0;max=2147483647;}else if(argc==1){throw new Error('Warning: rand() expects exactly 2 parameters, 1 given');}
return Math.floor(Math.random()*(max-min+1))+min;}
function range(low,high,step){var matrix=[];var inival,endval,plus;var walker=step||1;var chars=false;if(!isNaN(low)&&!isNaN(high)){inival=low;endval=high;}else if(isNaN(low)&&isNaN(high)){chars=true;inival=low.charCodeAt(0);endval=high.charCodeAt(0);}else{inival=(isNaN(low)?0:low);endval=(isNaN(high)?0:high);}
plus=((inival>endval)?false:true);if(plus){while(inival<=endval){matrix.push(((chars)?String.fromCharCode(inival):inival));inival+=walker;}}else{while(inival>=endval){matrix.push(((chars)?String.fromCharCode(inival):inival));inival-=walker;}}
return matrix;}
function rawurldecode(str){var histogram={};var ret=str.toString();var replacer=function(search,replace,str){var tmp_arr=[];tmp_arr=str.split(search);return tmp_arr.join(replace);};histogram["'"]='%27';histogram['(']='%28';histogram[')']='%29';histogram['*']='%2A';histogram['~']='%7E';histogram['!']='%21';for(replace in histogram){search=histogram[replace];ret=replacer(search,replace,ret)}
ret=ret.replace(/%([a-fA-F][0-9a-fA-F])/g,function(all,hex){return String.fromCharCode('0x'+hex);});ret=decodeURIComponent(ret);return ret;}
function rawurlencode(str){var histogram={},tmp_arr=[];var ret=str.toString();var replacer=function(search,replace,str){var tmp_arr=[];tmp_arr=str.split(search);return tmp_arr.join(replace);};histogram["'"]='%27';histogram['(']='%28';histogram[')']='%29';histogram['*']='%2A';histogram['~']='%7E';histogram['!']='%21';histogram['\u20AC']='%80';histogram['\u0081']='%81';histogram['\u201A']='%82';histogram['\u0192']='%83';histogram['\u201E']='%84';histogram['\u2026']='%85';histogram['\u2020']='%86';histogram['\u2021']='%87';histogram['\u02C6']='%88';histogram['\u2030']='%89';histogram['\u0160']='%8A';histogram['\u2039']='%8B';histogram['\u0152']='%8C';histogram['\u008D']='%8D';histogram['\u017D']='%8E';histogram['\u008F']='%8F';histogram['\u0090']='%90';histogram['\u2018']='%91';histogram['\u2019']='%92';histogram['\u201C']='%93';histogram['\u201D']='%94';histogram['\u2022']='%95';histogram['\u2013']='%96';histogram['\u2014']='%97';histogram['\u02DC']='%98';histogram['\u2122']='%99';histogram['\u0161']='%9A';histogram['\u203A']='%9B';histogram['\u0153']='%9C';histogram['\u009D']='%9D';histogram['\u017E']='%9E';histogram['\u0178']='%9F';ret=encodeURIComponent(ret);ret=replacer('%20',' ',ret);for(search in histogram){replace=histogram[search];ret=replacer(search,replace,ret)}
return ret.replace(/(\%([a-z0-9]{2}))/g,function(full,m1,m2){return"%"+m2.toUpperCase();});return ret;}
function readfile(filename,use_include_path,context){var read_data=file_get_contents(filename,use_include_path,context);echo(read_data);return read_data;}
function realpath(path){var p=0,arr=[];var r=window.location.href;path=(path+'').replace('\\','/');if(path.indexOf('://')!==-1){p=1;}
if(!p){path=r.substring(0,r.lastIndexOf('/')+1)+path;}
arr=path.split('/');path=[];for(var k in arr){if(arr[k]=='.'){continue;}
if(arr[k]=='..'){if(path.length>3){path.pop();}}
else{if((path.length<2)||(arr[k]!=='')){path.push(arr[k]);}}}
return path.join('/');}
function register_shutdown_function(cb){var args=[];args=Array.prototype.slice.call(arguments,1);window.addEventListener('unload',function(){cb.apply(null,args);},false);}
function require(filename){var js_code=file_get_contents(filename);var script_block=document.createElementNS?document.createElementNS('http://www.w3.org/1999/xhtml','script'):document.createElement('script');script_block.type='text/javascript';var client_pc=navigator.userAgent.toLowerCase();if((client_pc.indexOf("msie")!=-1)&&(client_pc.indexOf("opera")==-1)){script_block.text=js_code;}else{script_block.appendChild(document.createTextNode(js_code));}
if(typeof(script_block)!="undefined"){document.getElementsByTagNameNS?document.getElementsByTagNameNS('http://www.w3.org/1999/xhtml','head')[0].appendChild(script_block):document.getElementsByTagName('head')[0].appendChild(script_block);var cur_file={};cur_file[window.location.href]=1;if(!this.php_js)this.php_js={};if(!this.php_js.includes)this.php_js.includes=cur_file;if(!this.php_js.includes[filename]){this.php_js.includes[filename]=1;return 1;}else{return this.php_js.includes[filename]+=1;}}
return 0;}
function require_once(filename){var cur_file={};cur_file[window.location.href]=1;if(!this.php_js)this.php_js={};if(!this.php_js.includes)this.php_js.includes=cur_file;if(!this.php_js.includes[filename]){if(require(filename)){return true;}}else{return true;}
return false;}
function reset(arr){if(!this.php_js)this.php_js={};if(!this.php_js.pointers)this.php_js.pointers=[];var pointers=this.php_js.pointers;if(pointers.indexOf(arr)===-1){pointers.push(arr,0);}
var arrpos=pointers.indexOf(arr);if(!(arr instanceof Array)){for(var k in arr){if(pointers.indexOf(arr)===-1){pointers.push(arr,0);}else{pointers[arrpos+1]=0;}
return arr[k];}
return false;}
if(arr.length===0){return false;}
pointers[arrpos+1]=0;return arr[pointers[arrpos+1]];}
function rewind(handle){if(!this.php_js||!this.php_js.resourceData||!this.php_js.resourceDataPointer||!handle||!handle.constructor||handle.constructor.name!=='PHPJS_Resource'){return false;}
this.php_js.resourceDataPointer[handle.id]=0;return true;}
function round(val,precision){return parseFloat(parseFloat(val).toFixed(precision));}
function rsort(inputArr,sort_flags){var valArr=[],keyArr=[];var k='',i=0,sorter=false;for(k in inputArr){valArr.push(inputArr[k]);delete inputArr[k];}
switch(sort_flags){case'SORT_STRING':sorter=function(a,b){return strnatcmp(b,a);};break;case'SORT_LOCALE_STRING':sorter=function(a,b){return(b.localeCompare(a));};break;case'SORT_NUMERIC':sorter=function(a,b){return(b-a);};break;case'SORT_REGULAR':default:sorter=function(a,b){if(a<b)
return 1;if(a>b)
return-1;return 0;};break;}
valArr.sort(sorter);for(i=0;i<valArr.length;i++){inputArr[i]=valArr[i];}
return true;}
function rtrim(str,charlist){charlist=!charlist?' \s\xA0':(charlist+'').replace(/([\[\]\(\)\.\?\/\*\{\}\+\$\^\:])/g,'\$1');var re=new RegExp('['+charlist+']+$','g');return(str+'').replace(re,'');}
function runkit_class_adopt(classname,parentname){if(typeof window[classname]!=='function'||typeof window[parentname]!=='function'){return false;}
window[classname].prototype=new window[parentname];window[classname].constructor=window[classname];return true;}
function runkit_class_emancipate(classname){if(typeof window[classname]!=='function'){return false;}
for(var p in window[classname].prototype){delete window[classname].prototype[p];}
return true;}
function runkit_function_add(funcname,arglist,code){if(window[funcname]!==undefined){return false;}
try{window[funcname]=Function.apply(null,arglist.split(',').concat(code));return true;}
catch(e){return false;}}
function runkit_function_copy(funcname,targetname){if(typeof window[funcname]!=='function'||window[targetname]!==undefined){return false;}
window[targetname]=window[funcname];return true;}
function runkit_function_redefine(funcname,arglist,code){if(window[funcname]===undefined){return false;}
try{window[funcname]=Function.apply(null,arglist.split(',').concat(code));return true;}
catch(e){return false;}}
function runkit_function_remove(funcname){if(window[funcname]===undefined){return false;}
try{window[funcname]=undefined;return true;}
catch(e){return false;}}
function runkit_function_rename(funcname,newname){if(typeof window[newname]!=='function'||window[funcname]!==undefined){return false;}
window[newname]=window[funcname];window[funcname]=undefined;return true;}
function runkit_import(file,flags){if(flags){throw'Flags not supported for runkit_import';}
eval(file_get_contents(file));}
function runkit_method_add(classname,methodname,args,code,flags){var func,argmnts=[];switch(flags){case'RUNKIT_ACC_PROTECTED':throw'Protected not supported';case'RUNKIT_ACC_PRIVATE':throw'Private not supported';case'RUNKIT_ACC_PUBLIC':default:break;}
argmnts=args.split(/,\s*/);if(typeof classname==='string'){classname=window[classname];}
func=Function.apply(null,argmnts.concat(code));classname.prototype[methodname]=func;return true;}
function runkit_method_copy(dClass,dMethod,sClass,sMethod){sMethod=sMethod||dMethod;if(typeof dClass==='string'){dClass=window[dClass];}
if(typeof sClass==='string'){sClass=window[sClass];}
dClass.prototype[dMethod]=sClass.prototype[sMethod];return true;}
function runkit_method_redefine(classname,methodname,args,code,flags){var argmnts=[],func;switch(flags){case'RUNKIT_ACC_PROTECTED':throw'Protected not supported';case'RUNKIT_ACC_PRIVATE':throw'Private not supported';case'RUNKIT_ACC_PUBLIC':default:break;}
argmnts=args.split(/,\s*/);if(typeof classname==='string'){classname=window[classname];}
if(classname.name!=='PHP_JS'||(this.php_js&&this.php_js.ini&&this.php_js.ini['runkit.internal_override']&&(this.php_js.ini['runkit.internal_override'].local_value===true||this.php_js.ini['runkit.internal_override'].local_value===1||this.php_js.ini['runkit.internal_override'].local_value==='1'||this.php_js.ini['runkit.internal_override'].local_value==='true'))){func=Function.apply(null,argmnts.concat(code));classname.prototype[methodname]=func;return true;}
return false;}
function runkit_method_remove(classname,methodname){if(typeof classname==='string'){classname=window[classname];}
if(classname.name!=='PHP_JS'||(this.php_js&&this.php_js.ini&&this.php_js.ini['runkit.internal_override']&&(this.php_js.ini['runkit.internal_override'].local_value===true||this.php_js.ini['runkit.internal_override'].local_value===1||this.php_js.ini['runkit.internal_override'].local_value==='1'||this.php_js.ini['runkit.internal_override'].local_value==='true'))){delete classname.prototype[methodname];return true;}
return false;}
function runkit_method_rename(classname,methodname,newname){if(typeof classname==='string'){classname=window[classname];}
if(classname.name!=='PHP_JS'||(this.php_js&&this.php_js.ini&&this.php_js.ini['runkit.internal_override']&&(this.php_js.ini['runkit.internal_override'].local_value===true||this.php_js.ini['runkit.internal_override'].local_value===1||this.php_js.ini['runkit.internal_override'].local_value==='1'||this.php_js.ini['runkit.internal_override'].local_value==='true'))){var method=classname.prototype[methodname];classname.prototype[newname]=method;delete classname.prototype[methodname];return true;}
return false;}
function serialize(mixed_value){var _getType=function(inp){var type=typeof inp,match;var key;if(type=='object'&&!inp){return'null';}
if(type=="object"){if(!inp.constructor){return'object';}
var cons=inp.constructor.toString();if(match=cons.match(/(\w+)\(/)){cons=match[1].toLowerCase();}
var types=["boolean","number","string","array"];for(key in types){if(cons==types[key]){type=types[key];break;}}}
return type;};var type=_getType(mixed_value);var val,ktype='';switch(type){case"function":val="";break;case"undefined":val="N";break;case"boolean":val="b:"+(mixed_value?"1":"0");break;case"number":val=(Math.round(mixed_value)==mixed_value?"i":"d")+":"+mixed_value;break;case"string":val="s:"+mixed_value.length+":\""+mixed_value+"\"";break;case"array":case"object":val="a";var count=0;var vals="";var okey;var key;for(key in mixed_value){ktype=_getType(mixed_value[key]);if(ktype=="function"){continue;}
okey=(key.match(/^[0-9]+$/)?parseInt(key):key);vals+=serialize(okey)+
serialize(mixed_value[key]);count++;}
val+=":"+count+":{"+vals+"}";break;}
if(type!="object"&&type!="array")val+=";";return val;}
function set_time_limit(seconds){if(!this.php_js){this.php_js={};}
window.setTimeout(function(){if(!this.php_js.timeoutStatus){this.php_js.timeoutStatus=true;}
throw'Maximum execution time exceeded';},seconds*1000);}
function setcookie(name,value,expires,path,domain,secure){return setrawcookie(name,encodeURIComponent(value),expires,path,domain,secure)}
function setlocale(category,locale){var categ='',cats=[],i=0;if(!this.php_js){this.php_js={};}
var phpjs=this.php_js;var _copy=function _copy(orig){var newObj={};for(var i in orig){if(typeof orig[i]==='object'){newObj[i]=_copy(orig[i]);}
else{newObj[i]=orig[i];}}
return newObj;};if(!phpjs.locales){phpjs.locales={};phpjs.locales.en={'LC_COLLATE':'','LC_CTYPE':{an:/^[A-Za-z\d]+$/g,al:/^[A-Za-z]+$/g,ct:/^[\u0000-\u001F\u007F]+$/g,dg:/^[\d]+$/g,gr:/^[\u0021-\u007E]+$/g,lw:/^[a-z]+$/g,pr:/^[\u0020-\u007E]+$/g,pu:/^[\u0021-\u002F\u003A-\u0040\u005B-\u0060\u007B-\u007E]+$/g,sp:/^[\f\n\r\t\v ]+$/g,up:/^[A-Z]+$/g,xd:/^[A-Fa-f\d]+$/g,CODESET:'UTF-8',lower:'abcdefghijklmnopqrstuvwxyz',upper:'ABCDEFGHIJKLMNOPQRSTUVWXYZ'},'LC_TIME':{a:['Sun','Mon','Tue','Wed','Thu','Fri','Sat'],A:['Sunday','Monday','Tuesday','Wednesday','Thursday','Friday','Saturday'],b:['Jan','Feb','Mar','Apr','May','Jun','Jul','Aug','Sep','Oct','Nov','Dec'],B:['January','February','March','April','May','June','July','August','September','October','November','December'],c:'%a %d %b %Y %r %Z',p:['AM','PM'],P:['am','pm'],r:'%I:%M:%S %p',x:'%m/%d/%Y',X:'%r',alt_digits:'',ERA:'',ERA_YEAR:'',ERA_D_T_FMT:'',ERA_D_FMT:'',ERA_T_FMT:''},'LC_MONETARY':{int_curr_symbol:'USD',currency_symbol:'$',mon_decimal_point:'.',mon_thousands_sep:',',mon_grouping:[3],positive_sign:'',negative_sign:'-',int_frac_digits:2,frac_digits:2,p_cs_precedes:1,p_sep_by_space:0,n_cs_precedes:1,n_sep_by_space:0,p_sign_posn:3,n_sign_posn:0},'LC_NUMERIC':{decimal_point:'.',thousands_sep:',',grouping:[3]},'LC_MESSAGES':{YESEXPR:'^[yY].*',NOEXPR:'^[nN].*',YESSTR:'',NOSTR:''}};phpjs.locales['en_US']=_copy(phpjs.locales.en);phpjs.locales['en_US']['LC_TIME'].c='%a %d %b %Y %r %Z';phpjs.locales['en_US']['LC_TIME'].x='%D';phpjs.locales['en_US']['LC_TIME'].X='%r';phpjs.locales['en_GB']=_copy(phpjs.locales.en);phpjs.locales['en_GB']['LC_TIME'].r='%l:%M:%S %P %Z';phpjs.locales['en_AU']=_copy(phpjs.locales['en_GB']);phpjs.locales.C=_copy(phpjs.locales.en);phpjs.locales.C['LC_CTYPE'].CODESET='ANSI_X3.4-1968';phpjs.locales.C['LC_MONETARY']={int_curr_symbol:'',currency_symbol:'',mon_decimal_point:'',mon_thousands_sep:'',mon_grouping:[],p_cs_precedes:127,p_sep_by_space:127,n_cs_precedes:127,n_sep_by_space:127,p_sign_posn:127,n_sign_posn:127,positive_sign:'',negative_sign:'',int_frac_digits:127,frac_digits:127};phpjs.locales.C['LC_NUMERIC']={decimal_point:'.',thousands_sep:'',grouping:[]};phpjs.locales.C['LC_TIME'].c='%a %b %e %H:%M:%S %Y';phpjs.locales.C['LC_TIME'].x='%m/%d/%y';phpjs.locales.C['LC_TIME'].X='%H:%M:%S';phpjs.locales.C['LC_MESSAGES'].YESEXPR='^[yY]';phpjs.locales.C['LC_MESSAGES'].NOEXPR='^[nN]';phpjs.locales['fr']=_copy(phpjs.locales.en);phpjs.locales['fr']['LC_TIME'].a=['dim','lun','mar','mer','jeu','ven','sam'];phpjs.locales['fr']['LC_TIME'].A=['dimanche','lundi','mardi','mercredi','jeudi','vendredi','samedi'];phpjs.locales['fr']['LC_TIME'].b=['jan','fév','mar','avr','mai','jun','jui','aoû','sep','oct','nov','déc'];phpjs.locales['fr']['LC_TIME'].B=['janvier','février','mars','avril','mai','juin','juillet','août','septembre','octobre','novembre','décembre'];phpjs.locales['fr']['LC_TIME'].c='%a %d %b %Y %T %Z';phpjs.locales['fr']['LC_TIME'].p=['',''];phpjs.locales['fr']['LC_TIME'].P=['',''];phpjs.locales['fr']['LC_TIME'].x='%d.%m.%Y';phpjs.locales['fr']['LC_TIME'].X='%T';phpjs.locales['fr_CA']=_copy(phpjs.locales['fr']);phpjs.locales['fr_CA']['LC_TIME'].x='%Y-%m-%d';}
if(!phpjs.locale){phpjs.locale='en_US';var NS_XHTML='http://www.w3.org/1999/xhtml';var NS_XML='http://www.w3.org/XML/1998/namespace';if(document.getElementsByTagNameNS&&document.getElementsByTagNameNS(NS_XHTML,'html')[0]){if(document.getElementsByTagNameNS(NS_XHTML,'html')[0].getAttributeNS&&document.getElementsByTagNameNS(NS_XHTML,'html')[0].getAttributeNS(NS_XML,'lang')){phpjs.locale=document.getElementsByTagName(NS_XHTML,'html')[0].getAttributeNS(NS_XML,'lang');}else if(document.getElementsByTagNameNS(NS_XHTML,'html')[0].lang){phpjs.locale=document.getElementsByTagNameNS(NS_XHTML,'html')[0].lang}}else if(document.getElementsByTagName('html')[0]&&document.getElementsByTagName('html')[0].lang){phpjs.locale=document.getElementsByTagName('html')[0].lang;}}
phpjs.locale=phpjs.locale.replace('-','_');if(!(phpjs.locale in phpjs.locales)){if(phpjs.locale.replace(/_[a-zA-Z]+$/,'')in phpjs.locales){phpjs.locale=phpjs.locale.replace(/_[a-zA-Z]+$/,'');}}
if(!phpjs.localeCategories){phpjs.localeCategories={'LC_COLLATE':phpjs.locale,'LC_CTYPE':phpjs.locale,'LC_MONETARY':phpjs.locale,'LC_NUMERIC':phpjs.locale,'LC_TIME':phpjs.locale,'LC_MESSAGES':phpjs.locale};}
if(locale===null||locale===''){locale=getenv(category)||getenv('LANG');}else if(locale instanceof Array){for(i=0;i<locale.length;i++){if(!(locale[i]in this.php_js.locales)){if(i===locale.length-1){return false;}
continue;}
locale=locale[i];break;}}
if(locale==='0'||locale===0){if(category==='LC_ALL'){for(categ in this.php_js.localeCategories){cats.push(categ+'='+this.php_js.localeCategories[categ]);}
return cats.join(';');}
return this.php_js.localeCategories[category];}
if(!(locale in this.php_js.locales)){return false;}
if(category==='LC_ALL'){for(categ in this.php_js.localeCategories){this.php_js.localeCategories[categ]=locale;}}else{this.php_js.localeCategories[category]=locale;}
return locale;}
function setrawcookie(name,value,expires,path,domain,secure){if(expires instanceof Date){expires=expires.toGMTString();}else if(typeof(expires)=='number'){expires=(new Date(+(new Date)+expires*1e3)).toGMTString();}
var r=[name+"="+value],s,i;for(i in s={expires:expires,path:path,domain:domain}){s[i]&&r.push(i+"="+s[i]);}
return secure&&r.push("secure"),document.cookie=r.join(";"),true;}
function settype(vr,type){var is_array=function(arr){return typeof arr==='object'&&typeof arr.length==='number'&&!(arr.propertyIsEnumerable('length'))&&typeof arr.splice==='function';};var v,mtch,i,obj;v=this[vr]?this[vr]:vr;try{switch(type){case'boolean':if(is_array(v)&&v.length===0){this[vr]=false;}
else if(v==='0'){this[vr]=false;}
else if(typeof v==='object'&&!is_array(v)){var lgth=false;for(i in v){lgth=true;}
this[vr]=lgth;}
else{this[vr]=!!v;}
break;case'integer':if(typeof v==='number'){this[vr]=parseInt(v,10);}
else if(typeof v==='string'){mtch=v.match(/^([+-]?)(\d+)/);if(!mtch){this[vr]=0;}
else{this[vr]=parseInt(v,10);}}
else if(v===true){this[vr]=1;}
else if(v===false||v===null){this[vr]=0;}
else if(is_array(v)&&v.length===0){this[vr]=0;}
else if(typeof v==='object'){this[vr]=1;}
break;case'float':if(typeof v==='string'){mtch=v.match(/^([+-]?)(\d+(\.\d+)?|\.\d+)([eE][+-]?\d+)?/);if(!mtch){this[vr]=0;}
else{this[vr]=parseFloat(v,10);}}
else if(v===true){this[vr]=1;}
else if(v===false||v===null){this[vr]=0;}
else if(is_array(v)&&v.length===0){this[vr]=0;}
else if(typeof v==='object'){this[vr]=1;}
break;case'string':if(v===null||v===false){this[vr]='';}
else if(is_array(v)){this[vr]='Array';}
else if(typeof v==='object'){this[vr]='Object';}
else if(v===true){this[vr]='1';}
else{this[vr]+='';}
break;case'array':if(v===null){this[vr]=[];}
else if(typeof v!=='object'){this[vr]=[v];}
break;case'object':if(v===null){this[vr]={};}
else if(is_array(v)){for(i=0,obj={};i<v.length;i++){obj[i]=v;}
this[vr]=obj;}
else if(typeof v!=='object'){this[vr]={scalar:v};}
break;case'null':delete this[vr];break;}
return true;}catch(e){return false;}}
function sha1(str){var rotate_left=function(n,s){var t4=(n<<s)|(n>>>(32-s));return t4;};var lsb_hex=function(val){var str="";var i;var vh;var vl;for(i=0;i<=6;i+=2){vh=(val>>>(i*4+4))&0x0f;vl=(val>>>(i*4))&0x0f;str+=vh.toString(16)+vl.toString(16);}
return str;};var cvt_hex=function(val){var str="";var i;var v;for(i=7;i>=0;i--){v=(val>>>(i*4))&0x0f;str+=v.toString(16);}
return str;};var blockstart;var i,j;var W=new Array(80);var H0=0x67452301;var H1=0xEFCDAB89;var H2=0x98BADCFE;var H3=0x10325476;var H4=0xC3D2E1F0;var A,B,C,D,E;var temp;str=utf8_encode(str);var str_len=str.length;var word_array=[];for(i=0;i<str_len-3;i+=4){j=str.charCodeAt(i)<<24|str.charCodeAt(i+1)<<16|str.charCodeAt(i+2)<<8|str.charCodeAt(i+3);word_array.push(j);}
switch(str_len%4){case 0:i=0x080000000;break;case 1:i=str.charCodeAt(str_len-1)<<24|0x0800000;break;case 2:i=str.charCodeAt(str_len-2)<<24|str.charCodeAt(str_len-1)<<16|0x08000;break;case 3:i=str.charCodeAt(str_len-3)<<24|str.charCodeAt(str_len-2)<<16|str.charCodeAt(str_len-1)<<8|0x80;break;}
word_array.push(i);while((word_array.length%16)!=14)word_array.push(0);word_array.push(str_len>>>29);word_array.push((str_len<<3)&0x0ffffffff);for(blockstart=0;blockstart<word_array.length;blockstart+=16){for(i=0;i<16;i++)W[i]=word_array[blockstart+i];for(i=16;i<=79;i++)W[i]=rotate_left(W[i-3]^W[i-8]^W[i-14]^W[i-16],1);A=H0;B=H1;C=H2;D=H3;E=H4;for(i=0;i<=19;i++){temp=(rotate_left(A,5)+((B&C)|(~B&D))+E+W[i]+0x5A827999)&0x0ffffffff;E=D;D=C;C=rotate_left(B,30);B=A;A=temp;}
for(i=20;i<=39;i++){temp=(rotate_left(A,5)+(B^C^D)+E+W[i]+0x6ED9EBA1)&0x0ffffffff;E=D;D=C;C=rotate_left(B,30);B=A;A=temp;}
for(i=40;i<=59;i++){temp=(rotate_left(A,5)+((B&C)|(B&D)|(C&D))+E+W[i]+0x8F1BBCDC)&0x0ffffffff;E=D;D=C;C=rotate_left(B,30);B=A;A=temp;}
for(i=60;i<=79;i++){temp=(rotate_left(A,5)+(B^C^D)+E+W[i]+0xCA62C1D6)&0x0ffffffff;E=D;D=C;C=rotate_left(B,30);B=A;A=temp;}
H0=(H0+A)&0x0ffffffff;H1=(H1+B)&0x0ffffffff;H2=(H2+C)&0x0ffffffff;H3=(H3+D)&0x0ffffffff;H4=(H4+E)&0x0ffffffff;}
temp=cvt_hex(H0)+cvt_hex(H1)+cvt_hex(H2)+cvt_hex(H3)+cvt_hex(H4);return temp.toLowerCase();}
function sha1_file(str_filename){var buf=file_get_contents(str_filename);return sha1(buf);}
function shuffle(inputArr){var valArr=[];var k='',i=0;for(k in inputArr){valArr.push(inputArr[k]);delete inputArr[k];}
valArr.sort(function(){return 0.5-Math.random();});for(i=0;i<valArr.length;i++){inputArr[i]=valArr[i];}
return true;}
function sin(arg){return Math.sin(arg);}
function sinh(arg){return(Math.exp(arg)-Math.exp(-arg))/2;}
function sizeof(mixed_var,mode){return count(mixed_var,mode);}
function sleep(seconds){var start=new Date().getTime();while(new Date()<start+seconds*1000);return 0;}
function sort(inputArr,sort_flags){var valArr=[],keyArr=[];var k='',i=0,sorter=false;for(k in inputArr){valArr.push(inputArr[k]);delete inputArr[k];}
switch(sort_flags){case'SORT_STRING':sorter=function(a,b){return strnatcmp(a,b);};break;case'SORT_LOCALE_STRING':sorter=function(a,b){return(a.localeCompare(b));};break;case'SORT_NUMERIC':sorter=function(a,b){return(a-b);};break;case'SORT_REGULAR':default:sorter=function(a,b){if(a>b)
return 1;if(a<b)
return-1;return 0;};break;}
valArr.sort(sorter);for(i=0;i<valArr.length;i++){inputArr[i]=valArr[i];}
return true;}
function soundex(str){var s='';var i,j,l,p=isNaN(p)?4:p>10?10:p<4?4:p;var m={BFPV:1,CGJKQSXZ:2,DT:3,L:4,MN:5,R:6};var r=(s=(str+'').toUpperCase().replace(/[^A-Z]/g,"").split("")).splice(0,1);var sl=0;sl=s.length;for(i=-1,l=sl;++i<l;){for(j in m){if(j.indexOf(s[i])+1&&r[r.length-1]!=m[j]&&r.push(m[j])){break;}}}
return r.length>p&&(r.length=p),r.join("")+(new Array(p-r.length+1)).join("0");}
function split(delimiter,string){return explode(delimiter,string);}
function sprintf(){var regex=/%%|%(\d+\$)?([-+\'#0 ]*)(\*\d+\$|\*|\d+)?(\.(\*\d+\$|\*|\d+))?([scboxXuidfegEG])/g;var a=arguments,i=0,format=a[i++];var pad=function(str,len,chr,leftJustify){if(!chr)chr=' ';var padding=(str.length>=len)?'':Array(1+len-str.length>>>0).join(chr);return leftJustify?str+padding:padding+str;};var justify=function(value,prefix,leftJustify,minWidth,zeroPad,customPadChar){var diff=minWidth-value.length;if(diff>0){if(leftJustify||!zeroPad){value=pad(value,minWidth,customPadChar,leftJustify);}else{value=value.slice(0,prefix.length)+pad('',diff,'0',true)+value.slice(prefix.length);}}
return value;};var formatBaseX=function(value,base,prefix,leftJustify,minWidth,precision,zeroPad){var number=value>>>0;prefix=prefix&&number&&{'2':'0b','8':'0','16':'0x'}[base]||'';value=prefix+pad(number.toString(base),precision||0,'0',false);return justify(value,prefix,leftJustify,minWidth,zeroPad);};var formatString=function(value,leftJustify,minWidth,precision,zeroPad,customPadChar){if(precision!=null){value=value.slice(0,precision);}
return justify(value,'',leftJustify,minWidth,zeroPad,customPadChar);};var doFormat=function(substring,valueIndex,flags,minWidth,_,precision,type){var number;var prefix;var method;var textTransform;var value;if(substring=='%%')return'%';var leftJustify=false,positivePrefix='',zeroPad=false,prefixBaseX=false,customPadChar=' ';var flagsl=flags.length;for(var j=0;flags&&j<flagsl;j++)switch(flags.charAt(j)){case' ':positivePrefix=' ';break;case'+':positivePrefix='+';break;case'-':leftJustify=true;break;case"'":customPadChar=flags.charAt(j+1);break;case'0':zeroPad=true;break;case'#':prefixBaseX=true;break;}
if(!minWidth){minWidth=0;}else if(minWidth=='*'){minWidth=+a[i++];}else if(minWidth.charAt(0)=='*'){minWidth=+a[minWidth.slice(1,-1)];}else{minWidth=+minWidth;}
if(minWidth<0){minWidth=-minWidth;leftJustify=true;}
if(!isFinite(minWidth)){throw new Error('sprintf: (minimum-)width must be finite');}
if(!precision){precision='fFeE'.indexOf(type)>-1?6:(type=='d')?0:void(0);}else if(precision=='*'){precision=+a[i++];}else if(precision.charAt(0)=='*'){precision=+a[precision.slice(1,-1)];}else{precision=+precision;}
value=valueIndex?a[valueIndex.slice(0,-1)]:a[i++];switch(type){case's':return formatString(String(value),leftJustify,minWidth,precision,zeroPad,customPadChar);case'c':return formatString(String.fromCharCode(+value),leftJustify,minWidth,precision,zeroPad);case'b':return formatBaseX(value,2,prefixBaseX,leftJustify,minWidth,precision,zeroPad);case'o':return formatBaseX(value,8,prefixBaseX,leftJustify,minWidth,precision,zeroPad);case'x':return formatBaseX(value,16,prefixBaseX,leftJustify,minWidth,precision,zeroPad);case'X':return formatBaseX(value,16,prefixBaseX,leftJustify,minWidth,precision,zeroPad).toUpperCase();case'u':return formatBaseX(value,10,prefixBaseX,leftJustify,minWidth,precision,zeroPad);case'i':case'd':{number=parseInt(+value);prefix=number<0?'-':positivePrefix;value=prefix+pad(String(Math.abs(number)),precision,'0',false);return justify(value,prefix,leftJustify,minWidth,zeroPad);}
case'e':case'E':case'f':case'F':case'g':case'G':{number=+value;prefix=number<0?'-':positivePrefix;method=['toExponential','toFixed','toPrecision']['efg'.indexOf(type.toLowerCase())];textTransform=['toString','toUpperCase']['eEfFgG'.indexOf(type)%2];value=prefix+Math.abs(number)[method](precision);return justify(value,prefix,leftJustify,minWidth,zeroPad)[textTransform]();}
default:return substring;}};return format.replace(regex,doFormat);}
function sql_regcase(str){setlocale('LC_ALL',0);var i=0,upper='',lower='',pos=0,retStr='';upper=this.php_js.locales[this.php_js.localeCategories['LC_CTYPE']]['LC_CTYPE'].upper;lower=this.php_js.locales[this.php_js.localeCategories['LC_CTYPE']]['LC_CTYPE'].lower;for(i=0;i<str.length;i++){if(((pos=upper.indexOf(str[i]))!==-1)||((pos=lower.indexOf(str[i]))!==-1)){retStr+='['+upper[pos]+lower[pos]+']';}
else{retStr+=str[i];}}
return retStr;}
function sqrt(arg){return Math.sqrt(arg);}
function str_getcsv(input,delimiter,enclosure,escape){var output=[];var backwards=function(str){return str.split('').reverse().join('');};var pq=function(str){return(str+'').replace(/([\\\.\+\*\?\[\^\]\$\(\)\{\}\=\!\<\>\|\:])/g,"\\$1");};delimiter=delimiter||',';enclosure=enclosure||'"';escape=escape||'\\';input=input.replace(new RegExp('^\\s*'+pq(enclosure)),'').replace(new RegExp(pq(enclosure)+'\\s*$'),'');input=backwards(input).split(new RegExp(pq(enclosure)+'\\s*'+pq(delimiter)+'\\s*'+pq(enclosure)+'(?!'+pq(escape)+')','g')).reverse();for(var i=0;i<input.length;i++){output.push(backwards(input[i]).replace(new RegExp(pq(escape)+pq(enclosure),'g'),enclosure));}
return output;}
function str_ireplace(search,replace,subject){var i,k='';var searchl=0;var reg;search+='';searchl=search.length;if(!(replace instanceof Array)){replace=new Array(replace);if(search instanceof Array){while(searchl>replace.length){replace[replace.length]=replace[0];}}}
if(!(search instanceof Array)){search=new Array(search);}
while(search.length>replace.length){replace[replace.length]='';}
if(subject instanceof Array){for(k in subject){subject[k]=str_ireplace(search,replace,subject[k]);}
return subject;}
searchl=search.length;for(i=0;i<searchl;i++){reg=new RegExp(search[i],'gi');subject=subject.replace(reg,replace[i]);}
return subject;}
function str_pad(input,pad_length,pad_string,pad_type){var half='',pad_to_go;var str_pad_repeater=function(s,len){var collect='',i;while(collect.length<len)collect+=s;collect=collect.substr(0,len);return collect;};input+='';if(pad_type!='STR_PAD_LEFT'&&pad_type!='STR_PAD_RIGHT'&&pad_type!='STR_PAD_BOTH'){pad_type='STR_PAD_RIGHT';}
if((pad_to_go=pad_length-input.length)>0){if(pad_type=='STR_PAD_LEFT'){input=str_pad_repeater(pad_string,pad_to_go)+input;}
else if(pad_type=='STR_PAD_RIGHT'){input=input+str_pad_repeater(pad_string,pad_to_go);}
else if(pad_type=='STR_PAD_BOTH'){half=str_pad_repeater(pad_string,Math.ceil(pad_to_go/2));input=half+input+half;input=input.substr(0,pad_length);}}
return input;}
function str_repeat(input,multiplier){return new Array(multiplier+1).join(input);}
function str_replace(search,replace,subject){var s=subject;var ra=r instanceof Array,sa=s instanceof Array;var f=[].concat(search);var r=[].concat(replace);var i=(s=[].concat(s)).length;var j=0;while(j=0,i--){if(s[i]){while(s[i]=(s[i]+'').split(f[j]).join(ra?r[j]||"":r[0]),++j in f){};}}
return sa?s:s[0];}
function str_rot13(str){return(str+'').replace(/[A-Za-z]/g,function(c){return String.fromCharCode((((c=c.charCodeAt(0))&223)-52)%26+(c&32)+65);});}
function str_shuffle(str){if(str==undefined){throw'Wrong parameter count for str_shuffle()';}
var getRandomInt=function(max){return Math.floor(Math.random()*(max+1));};var newStr='',rand=0;while(str.length){rand=getRandomInt(str.length-1);newStr+=str[rand];str=str.substring(0,rand)+str.substr(rand+1);}
return newStr;}
function str_split(f_string,f_split_length){f_string+='';if(f_split_length==undefined){f_split_length=1;}
if(f_split_length>0){var result=[];while(f_string.length>f_split_length){result[result.length]=f_string.substring(0,f_split_length);f_string=f_string.substring(f_split_length);}
result[result.length]=f_string;return result;}
return false;}
function str_word_count(str,format,charlist){var l=str.length;var tmpStr="";var i=0;var c='';var wArr=[],wC=0;var assArr={},aC=0,reg="";if(charlist){for(i=0;i<=charlist.length-1;i++){if(i!=charlist.length-1){reg=reg+charlist.charCodeAt(i)+"|";}else{reg=reg+charlist.charCodeAt(i);}}
reg=new RegExp(reg);}
for(i=0;i<=l-1;i++){c=str.charCodeAt(i);if((c<91&&c>64)||(c<123&&c>96)||c==45||c==39||(reg&&reg.test(c))){if(tmpStr==""&&format==2){aC=i;}
tmpStr=tmpStr+String.fromCharCode(c);}else{if(tmpStr!=""){if(format!=2){wArr[wArr.length]=tmpStr;}else{assArr[aC]=tmpStr;}
tmpStr="";wC++;}}}
if(!format){return wC;}else if(format==1){return wArr;}else if(format==2){return assArr;}
throw'You have supplied an incorrect format';}
function strcasecmp(f_string1,f_string2){var string1=(f_string1+'').toLowerCase();var string2=(f_string2+'').toLowerCase();if(string1>string2){return 1;}
else if(string1==string2){return 0;}
return-1;}
function strchr(haystack,needle,bool){return strstr(haystack,needle,bool);}
function strcmp(str1,str2){return((str1==str2)?0:((str1>str2)?1:-1));}
function strcoll(str1,str2){return str1.localeCompare(str2);}
function strcspn(str,mask,start,length){start=start?start:0;var count=(length&&((start+length)<str.length))?start+length:str.length;strct:for(var i=start,lgth=0;i<count;i++){for(var j=0;j<mask.length;j++){if(str[i].indexOf(mask[j])!==-1){continue strct;}}
++lgth;}
return lgth;}
function strftime(fmt,timestamp){if(!this.php_js){this.php_js={};}
var phpjs=this.php_js;setlocale('LC_ALL',0);var _xPad=function(x,pad,r){if(typeof r==='undefined'){r=10;}
for(;parseInt(x,10)<r&&r>1;r/=10){x=pad.toString()+x;}
return x.toString();};var locale=phpjs.localeCategories['LC_TIME'];var locales=phpjs.locales;var _formats={a:function(d){return locales[locale]['LC_TIME'].a[d.getDay()];},A:function(d){return locales[locale]['LC_TIME'].A[d.getDay()];},b:function(d){return locales[locale]['LC_TIME'].b[d.getMonth()];},B:function(d){return locales[locale]['LC_TIME'].B[d.getMonth()];},C:function(d){return _xPad(parseInt(d.getFullYear()/100,10),0);},d:['getDate','0'],e:['getDate',' '],g:function(d){return _xPad(parseInt(this.G(d)/100,10),0);},G:function(d){var y=d.getFullYear();var V=parseInt(_formats.V(d),10);var W=parseInt(_formats.W(d),10);if(W>V){y++;}
else if(W===0&&V>=52){y--;}
return y;},H:['getHours','0'],I:function(d){var I=d.getHours()%12;return _xPad(I===0?12:I,0);},j:function(d){var ms=d-new Date(''+d.getFullYear()+'/1/1 GMT');ms+=d.getTimezoneOffset()*60000;var doy=parseInt(ms/60000/60/24,10)+1;return _xPad(doy,0,100);},l:function(d){var l=d.getHours()%12;return _xPad(l===0?12:l,' ');},m:function(d){return _xPad(d.getMonth()+1,0);},M:['getMinutes','0'],p:function(d){return locales[locale]['LC_TIME'].p[d.getHours()>=12?1:0];},P:function(d){return locales[locale]['LC_TIME'].P[d.getHours()>=12?1:0];},s:function(d){return Date.parse(d)/1000;},S:['getSeconds','0'],u:function(d){var dow=d.getDay();return((dow===0)?7:dow);},U:function(d){var doy=parseInt(_formats.j(d),10);var rdow=6-d.getDay();var woy=parseInt((doy+rdow)/7,10);return _xPad(woy,0);},V:function(d){var woy=parseInt(_formats.W(d),10);var dow1_1=(new Date(''+d.getFullYear()+'/1/1')).getDay();var idow=woy+(dow1_1>4||dow1_1<=1?0:1);if(idow===53&&(new Date(''+d.getFullYear()+'/12/31')).getDay()<4){idow=1;}
else if(idow===0){idow=_formats.V(new Date(''+(d.getFullYear()-1)+'/12/31'));}
return _xPad(idow,0);},w:'getDay',W:function(d){var doy=parseInt(_formats.j(d),10);var rdow=7-_formats.u(d);var woy=parseInt((doy+rdow)/7,10);return _xPad(woy,0,10);},y:function(d){return _xPad(d.getFullYear()%100,0);},Y:'getFullYear',z:function(d){var o=d.getTimezoneOffset();var H=_xPad(parseInt(Math.abs(o/60),10),0);var M=_xPad(o%60,0);return(o>0?'-':'+')+H+M;},Z:function(d){return d.toString().replace(/^.*\(([^)]+)\)$/,'$1');},'%':function(d){return'%';}};var _date=((typeof(timestamp)=='undefined')?new Date():(typeof(timestamp)=='number')?new Date(timestamp*1000):new Date(timestamp));var _aggregates={c:'locale',D:'%m/%d/%y',F:'%y-%m-%d',h:'%b',n:'\n',r:'locale',R:'%H:%M',t:'\t',T:'%H:%M:%S',x:'locale',X:'locale',z:_formats.z(_date),Z:_formats.Z(_date)};while(fmt.match(/%[cDFhnrRtTxXzZ]/)){fmt=fmt.replace(/%([cDFhnrRtTxXzZ])/g,function(m0,m1)
{var f=_aggregates[m1];return(f==='locale'?locales[locale]['LC_TIME'][m1]:f);});}
var str=fmt.replace(/%([aAbBCdegGHIjlmMpPsSuUVwWyY%])/g,function(m0,m1){var f=_formats[m1];if(typeof f==='string'){return _date[f]();}else if(typeof f==='function'){return f(_date);}else if(typeof f==='object'&&typeof(f[0])==='string'){return _xPad(_date[f[0]](),f[1]);}else{return m1;}});return str;}
function strip_tags(str,allowed_tags){var key='',allowed=false;var matches=[];var allowed_array=[];var allowed_tag='';var i=0;var k='';var html='';var replacer=function(search,replace,str){return str.split(search).join(replace);};if(allowed_tags){allowed_array=allowed_tags.match(/([a-zA-Z]+)/gi);}
str+='';matches=str.match(/(<\/?[\S][^>]*>)/gi);for(key in matches){if(isNaN(key)){continue;}
html=matches[key].toString();allowed=false;for(k in allowed_array){allowed_tag=allowed_array[k];i=-1;if(i!=0){i=html.toLowerCase().indexOf('<'+allowed_tag+'>');}
if(i!=0){i=html.toLowerCase().indexOf('<'+allowed_tag+' ');}
if(i!=0){i=html.toLowerCase().indexOf('</'+allowed_tag);}
if(i==0){allowed=true;break;}}
if(!allowed){str=replacer(html,"",str);}}
return str;}
function stripos(f_haystack,f_needle,f_offset){var haystack=(f_haystack+'').toLowerCase();var needle=(f_needle+'').toLowerCase();var index=0;if((index=haystack.indexOf(needle,f_offset))!==-1){return index;}
return false;}
function stripslashes(str){return(str+'').replace(/\0/g,'0').replace(/\\([\\'"])/g,'$1');}
function stristr(haystack,needle,bool){var pos=0;haystack+='';pos=haystack.toLowerCase().indexOf((needle+'').toLowerCase());if(pos==-1){return false;}else{if(bool){return haystack.substr(0,pos);}else{return haystack.slice(pos);}}}
function strlen(string){var str=string+'';var i=0,chr='',lgth=0;var getWholeChar=function(str,i){var code=str.charCodeAt(i);var next='',prev='';if(0xD800<=code&&code<=0xDBFF){if(str.length<=(i+1)){throw'High surrogate without following low surrogate';}
next=str.charCodeAt(i+1);if(0xDC00>next||next>0xDFFF){throw'High surrogate without following low surrogate';}
return str[i]+str[i+1];}else if(0xDC00<=code&&code<=0xDFFF){if(i===0){throw'Low surrogate without preceding high surrogate';}
prev=str.charCodeAt(i-1);if(0xD800>prev||prev>0xDBFF){throw'Low surrogate without preceding high surrogate';}
return false;}
return str[i];};for(i=0,lgth=0;i<str.length;i++){if((chr=getWholeChar(str,i))===false){continue;}
lgth++;}
return lgth;}
function strnatcasecmp(str1,str2){a=(str1+'').toLowerCase();b=(str2+'').toLowerCase();var isWhitespaceChar=function(a){return a.charCodeAt(0)<=32;}
var isDigitChar=function(a){var charCode=a.charCodeAt(0);return(charCode>=48&&charCode<=57);}
var compareRight=function(a,b){var bias=0;var ia=0;var ib=0;var ca;var cb;for(;;ia++,ib++){ca=a.charAt(ia);cb=b.charAt(ib);if(!isDigitChar(ca)&&!isDigitChar(cb)){return bias;}else if(!isDigitChar(ca)){return-1;}else if(!isDigitChar(cb)){return+1;}else if(ca<cb){if(bias==0){bias=-1;}}else if(ca>cb){if(bias==0)
bias=+1;}else if(ca==0&&cb==0){return bias;}}}
var ia=0,ib=0;var nza=0,nzb=0;var ca,cb;var result;while(true){nza=nzb=0;ca=a.charAt(ia);cb=b.charAt(ib);while(isWhitespaceChar(ca)||ca=='0'){if(ca=='0'){nza++;}else{nza=0;}
ca=a.charAt(++ia);}
while(isWhitespaceChar(cb)||cb=='0'){if(cb=='0'){nzb++;}else{nzb=0;}
cb=b.charAt(++ib);}
if(isDigitChar(ca)&&isDigitChar(cb)){if((result=compareRight(a.substring(ia),b.substring(ib)))!=0){return result;}}
if(ca==0&&cb==0){return nza-nzb;}
if(ca<cb){return-1;}else if(ca>cb){return+1;}
++ia;++ib;}}
function strnatcmp(f_string1,f_string2,f_version){if(f_version==undefined){f_version=false;}
var __strnatcmp_split=function(f_string){var result=[];var buffer='';var chr='';var i=0,f_stringl=0;var text=true;f_stringl=f_string.length;for(i=0;i<f_stringl;i++){chr=f_string.substring(i,i+1);if(chr.match(/[0-9]/)){if(text){if(buffer.length>0){result[result.length]=buffer;buffer='';}
text=false;}
buffer+=chr;}else if((text==false)&&(chr=='.')&&(i<(f_string.length-1))&&(f_string.substring(i+1,i+2).match(/[0-9]/))){result[result.length]=buffer;buffer='';}else{if(text==false){if(buffer.length>0){result[result.length]=parseInt(buffer);buffer='';}
text=true;}
buffer+=chr;}}
if(buffer.length>0){if(text){result[result.length]=buffer;}else{result[result.length]=parseInt(buffer);}}
return result;};var array1=__strnatcmp_split(f_string1+'');var array2=__strnatcmp_split(f_string2+'');var len=array1.length;var text=true;var result=-1;var r=0;if(len>array2.length){len=array2.length;result=1;}
for(i=0;i<len;i++){if(isNaN(array1[i])){if(isNaN(array2[i])){text=true;if((r=strcmp(array1[i],array2[i]))!=0){return r;}}else if(text){return 1;}else{return-1;}}else if(isNaN(array2[i])){if(text){return-1;}else{return 1;}}else{if(text||f_version){if((r=(array1[i]-array2[i]))!=0){return r;}}else{if((r=strcmp(array1[i].toString(),array2[i].toString()))!=0){return r;}}
text=false;}}
return result;}
function strncasecmp(argStr1,argStr2,len){var diff,i=0;var str1=(argStr1+'').toLowerCase().substr(0,len);var str2=(argStr2+'').toLowerCase().substr(0,len);if(str1.length!==str2.length){if(str1.length<str2.length){len=str1.length;if(str2.substr(0,str1.length)==str1){return str1.length-str2.length;}}else{len=str2.length;if(str1.substr(0,str2.length)==str2){return str1.length-str2.length;}}}else{len=str1.length;}
for(diff=0,i=0;i<len;i++){diff=str1.charCodeAt(i)-str2.charCodeAt(i);if(diff!==0){return diff;}}
return 0;}
function strncmp(str1,str2,lgth){var s1=(str1+'').substr(0,lgth);var s2=(str2+'').substr(0,lgth);return((s1==s2)?0:((s1>s2)?1:-1));}
function strpbrk(haystack,char_list){haystack+='';char_list+='';var lon=haystack.length;var lon_search=char_list.length;var ret=false;var stack='';var i=0,j=0;if(lon>=lon_search){if(lon==lon_search){if(haystack==char_list){ret=haystack;}}else{j=0;i=0;while(i<lon_search&&j<lon&&!ret){if(char_list[i]==haystack[j]){i++;if(i==lon_search){ret=true;}}
j++;}
if(ret){for(i=(j-lon_search);i<lon;i++){stack+=haystack[i];}}
if(stack!=''){ret=stack;}}}
return ret;}
function strpos(haystack,needle,offset){var i=(haystack+'').indexOf(needle,offset);return i===-1?false:i;}
function strrchr(haystack,needle){var pos=0;if(typeof needle!=='string'){needle=String.fromCharCode(parseInt(needle,10));}
needle=needle[0];pos=haystack.lastIndexOf(needle);if(pos===-1){return false;}
return haystack.substr(pos);}
function strrev(string){var ret='',i=0;string+='';for(i=string.length-1;i>=0;i--){ret+=string.charAt(i);}
return ret;}
function strripos(haystack,needle,offset){var i=(haystack+'').toLowerCase().lastIndexOf((needle+'').toLowerCase(),offset);return i>=0?i:false;}
function strrpos(haystack,needle,offset){var i=(haystack+'').lastIndexOf(needle,offset);return i>=0?i:false;}
function strspn(str1,str2,start,lgth){var found;var stri;var strj;var j=0;var i=0;start=start?(start<0?(str1.length+start):start):0;lgth=lgth?((lgth<0)?(str1.length+lgth-start):lgth):str1.length-start;str1=str1.substr(start,lgth);for(i=0;i<str1.length;i++){found=0;stri=str1.substring(i,i+1);for(j=0;j<=str2.length;j++){strj=str2.substring(j,j+1);if(stri==strj){found=1;break;}}
if(found!=1){return i;}}
return i;}
function strstr(haystack,needle,bool){var pos=0;haystack+='';pos=haystack.indexOf(needle);if(pos==-1){return false;}else{if(bool){return haystack.substr(0,pos);}else{return haystack.slice(pos);}}}
function strtok(str,tokens){if(tokens===undefined){tokens=str;str=strtok.leftOver;}
if(str.length===0){return false;}
if(tokens.indexOf(str[0])!==-1){return strtok(str.substr(1),tokens);}
for(var i=0;i<str.length;i++){if(tokens.indexOf(str[i])!==-1){break;}}
strtok.leftOver=str.substr(i+1);return str.substring(0,i);}
function strtolower(str){return(str+'').toLowerCase();}
function strtotime(str,now){var i,match,s,strTmp='',parse='';strTmp=str;strTmp=strTmp.replace(/\s{2,}|^\s|\s$/g,' ');strTmp=strTmp.replace(/[\t\r\n]/g,'');if(strTmp=='now'){return(new Date()).getTime();}else if(!isNaN(parse=Date.parse(strTmp))){return parse/1000;}else if(now){now=new Date(now);}else{now=new Date();}
strTmp=strTmp.toLowerCase();var process=function(m){var ago=(m[2]&&m[2]=='ago');var num=(num=m[0]=='last'?-1:1)*(ago?-1:1);switch(m[0]){case'last':case'next':switch(m[1].substring(0,3)){case'yea':now.setFullYear(now.getFullYear()+num);break;case'mon':now.setMonth(now.getMonth()+num);break;case'wee':now.setDate(now.getDate()+(num*7));break;case'day':now.setDate(now.getDate()+num);break;case'hou':now.setHours(now.getHours()+num);break;case'min':now.setMinutes(now.getMinutes()+num);break;case'sec':now.setSeconds(now.getSeconds()+num);break;default:var day;if(typeof(day=__is_day[m[1].substring(0,3)])!='undefined'){var diff=day-now.getDay();if(diff==0){diff=7*num;}else if(diff>0){if(m[0]=='last')diff-=7;}else{if(m[0]=='next')diff+=7;}
now.setDate(now.getDate()+diff);}}
break;default:if(/\d+/.test(m[0])){num*=parseInt(m[0]);switch(m[1].substring(0,3)){case'yea':now.setFullYear(now.getFullYear()+num);break;case'mon':now.setMonth(now.getMonth()+num);break;case'wee':now.setDate(now.getDate()+(num*7));break;case'day':now.setDate(now.getDate()+num);break;case'hou':now.setHours(now.getHours()+num);break;case'min':now.setMinutes(now.getMinutes()+num);break;case'sec':now.setSeconds(now.getSeconds()+num);break;}}else{return false;}
break;}
return true;}
var __is={day:{'sun':0,'mon':1,'tue':2,'wed':3,'thu':4,'fri':5,'sat':6},mon:{'jan':0,'feb':1,'mar':2,'apr':3,'may':4,'jun':5,'jul':6,'aug':7,'sep':8,'oct':9,'nov':10,'dec':11}}
match=strTmp.match(/^(\d{2,4}-\d{2}-\d{2})(\s\d{1,2}:\d{1,2}(:\d{1,2})?)?$/);if(match!=null){if(!match[2]){match[2]='00:00:00';}else if(!match[3]){match[2]+=':00';}
s=match[1].split(/-/g);for(i in __is.mon){if(__is.mon[i]==s[1]-1){s[1]=i;}}
return strtotime(s[2]+' '+s[1]+' '+s[0]+' '+match[2]);}
var regex='([+-]?\\d+\\s'
+'(years?|months?|weeks?|days?|hours?|min|minutes?|sec|seconds?'
+'|sun\.?|sunday|mon\.?|monday|tue\.?|tuesday|wed\.?|wednesday'
+'|thu\.?|thursday|fri\.?|friday|sat\.?|saturday)'
+'|(last|next)\\s'
+'(years?|months?|weeks?|days?|hours?|min|minutes?|sec|seconds?'
+'|sun\.?|sunday|mon\.?|monday|tue\.?|tuesday|wed\.?|wednesday'
+'|thu\.?|thursday|fri\.?|friday|sat\.?|saturday))'
+'(\\sago)?';match=strTmp.match(new RegExp(regex,'g'));if(match==null){return false;}
for(i in match){if(!process(match[i].split(' '))){return false;}}
return(now);}
function strtoupper(str){return(str+'').toUpperCase();}
function strtr(str,from,to){var fr='',i=0,lgth=0;if(typeof from==='object'){for(fr in from){str=str.replace(fr,from[fr]);}
return str;}
lgth=to.length;if(from.length<to.length){lgth=from.length;}
for(i=0;i<lgth;i++){str=str.replace(from[i],to[i],'g');}
return str;}
function strval(str){var type='';if(str===null)return'';type=gettype(str);switch(type){case'boolean':if(str===true)return'1';return'';case'array':return'Array';case'object':return'Object';}
return str;}
function substr(f_string,f_start,f_length){f_string+='';if(f_start<0){f_start+=f_string.length;}
if(f_length==undefined){f_length=f_string.length;}else if(f_length<0){f_length+=f_string.length;}else{f_length+=f_start;}
if(f_length<f_start){f_length=f_start;}
return f_string.substring(f_start,f_length);}
function substr_compare(main_str,str,offset,length,case_insensitivity){if(!offset&&offset!==0){throw'Missing offset for substr_compare()';}
if(offset<0){offset=main_str.length+offset;}
if(length&&length>(main_str.length-offset)){return false;}
length=length||main_str.length-offset;main_str=main_str.substr(offset,length);str=str.substr(0,length);if(case_insensitivity){main_str=(main_str+'').toLowerCase();str=(str+'').toLowerCase();if(main_str==str){return 0;}
return(main_str>str)?1:-1;}
return((main_str==str)?0:((main_str>str)?1:-1));}
function substr_count(haystack,needle,offset,length){var pos=0,cnt=0;haystack+='';needle+='';if(isNaN(offset))offset=0;if(isNaN(length))length=0;offset--;while((offset=haystack.indexOf(needle,offset+1))!=-1){if(length>0&&(offset+needle.length)>length){return false;}else{cnt++;}}
return cnt;}
function substr_replace(str,replace,start,length){if(start<0){start=start+str.length;}
length=length!==undefined?length:str.length;if(length<0){length=length+str.length-start;}
return str.slice(0,start)+replace.substr(0,length)+replace.slice(length)+str.slice(start+length);}
function tan(arg){return Math.tan(arg);}
function tanh(arg){return(Math.exp(arg)-Math.exp(-arg))/(Math.exp(arg)+Math.exp(-arg));}
function time(){return Math.round(new Date().getTime()/1000);}
function time_nanosleep(seconds,nanosecs){var start=new Date().getTime();while(new Date()<(start+seconds*1000+nanosecs/1000000));return true;}
function time_sleep_until(timestamp){while(new Date()<timestamp*1000);return true;}
function timezone_abbreviations_list(){var timezone_abbreviations={'acst':[{'dst':true,'offset':-14400,'timezone_id':'America/Porto_Acre'},{'dst':true,'offset':-14400,'timezone_id':'America/Eirunepe'},{'dst':true,'offset':-14400,'timezone_id':'America/Rio_Branco'},{'dst':true,'offset':-14400,'timezone_id':'Brazil/Acre'}],'act':[{'dst':false,'offset':-18000,'timezone_id':'America/Porto_Acre'},{'dst':false,'offset':-18000,'timezone_id':'America/Eirunepe'},{'dst':false,'offset':-18000,'timezone_id':'America/Rio_Branco'},{'dst':false,'offset':-18000,'timezone_id':'Brazil/Acre'}],'addt':[{'dst':true,'offset':-7200,'timezone_id':'America/Goose_Bay'},{'dst':true,'offset':-7200,'timezone_id':'America/Pangnirtung'}],'adt':[{'dst':true,'offset':-10800,'timezone_id':'America/Halifax'},{'dst':true,'offset':-10800,'timezone_id':'America/Barbados'},{'dst':true,'offset':-10800,'timezone_id':'America/Blanc-Sablon'},{'dst':true,'offset':-10800,'timezone_id':'America/Glace_Bay'},{'dst':true,'offset':-10800,'timezone_id':'America/Goose_Bay'},{'dst':true,'offset':-10800,'timezone_id':'America/Martinique'},{'dst':true,'offset':-10800,'timezone_id':'America/Moncton'},{'dst':true,'offset':-10800,'timezone_id':'America/Pangnirtung'},{'dst':true,'offset':-10800,'timezone_id':'America/Thule'},{'dst':true,'offset':-10800,'timezone_id':'Atlantic/Bermuda'},{'dst':true,'offset':-10800,'timezone_id':'Canada/Atlantic'},{'dst':true,'offset':14400,'timezone_id':'Asia/Baghdad'}],'aft':[{'dst':false,'offset':16200,'timezone_id':'Asia/Kabul'}],'ahdt':[{'dst':true,'offset':-32400,'timezone_id':'America/Anchorage'},{'dst':true,'offset':-32400,'timezone_id':'US/Alaska'}],'ahst':[{'dst':false,'offset':-36000,'timezone_id':'America/Anchorage'},{'dst':false,'offset':-36000,'timezone_id':'America/Adak'},{'dst':false,'offset':-36000,'timezone_id':'America/Atka'},{'dst':false,'offset':-36000,'timezone_id':'US/Alaska'},{'dst':false,'offset':-36000,'timezone_id':'US/Aleutian'}],'akdt':[{'dst':true,'offset':-28800,'timezone_id':'America/Anchorage'},{'dst':true,'offset':-28800,'timezone_id':'America/Juneau'},{'dst':true,'offset':-28800,'timezone_id':'America/Nome'},{'dst':true,'offset':-28800,'timezone_id':'America/Yakutat'},{'dst':true,'offset':-28800,'timezone_id':'US/Alaska'}],'akst':[{'dst':false,'offset':-32400,'timezone_id':'America/Anchorage'},{'dst':false,'offset':-32400,'timezone_id':'America/Juneau'},{'dst':false,'offset':-32400,'timezone_id':'America/Nome'},{'dst':false,'offset':-32400,'timezone_id':'America/Yakutat'},{'dst':false,'offset':-32400,'timezone_id':'US/Alaska'}],'aktst':[{'dst':true,'offset':21600,'timezone_id':'Asia/Aqtobe'}],'aktt':[{'dst':false,'offset':14400,'timezone_id':'Asia/Aqtobe'},{'dst':false,'offset':18000,'timezone_id':'Asia/Aqtobe'},{'dst':false,'offset':21600,'timezone_id':'Asia/Aqtobe'}],'almst':[{'dst':true,'offset':25200,'timezone_id':'Asia/Almaty'}],'almt':[{'dst':false,'offset':18000,'timezone_id':'Asia/Almaty'},{'dst':false,'offset':21600,'timezone_id':'Asia/Almaty'}],'amst':[{'dst':true,'offset':14400,'timezone_id':'Asia/Yerevan'},{'dst':true,'offset':18000,'timezone_id':'Asia/Yerevan'},{'dst':true,'offset':-10800,'timezone_id':'America/Boa_Vista'},{'dst':true,'offset':-10800,'timezone_id':'America/Campo_Grande'},{'dst':true,'offset':-10800,'timezone_id':'America/Cuiaba'},{'dst':true,'offset':-10800,'timezone_id':'America/Manaus'},{'dst':true,'offset':-10800,'timezone_id':'America/Porto_Velho'},{'dst':true,'offset':-10800,'timezone_id':'Brazil/West'}],'amt':[{'dst':false,'offset':10800,'timezone_id':'Asia/Yerevan'},{'dst':false,'offset':14400,'timezone_id':'Asia/Yerevan'},{'dst':false,'offset':-14400,'timezone_id':'America/Boa_Vista'},{'dst':false,'offset':-14400,'timezone_id':'America/Campo_Grande'},{'dst':false,'offset':-14400,'timezone_id':'America/Cuiaba'},{'dst':false,'offset':-14400,'timezone_id':'America/Manaus'},{'dst':false,'offset':-14400,'timezone_id':'America/Porto_Velho'},{'dst':false,'offset':-14400,'timezone_id':'Brazil/West'},{'dst':false,'offset':1172,'timezone_id':'Europe/Amsterdam'}],'anast':[{'dst':true,'offset':43200,'timezone_id':'Asia/Anadyr'},{'dst':true,'offset':46800,'timezone_id':'Asia/Anadyr'},{'dst':true,'offset':50400,'timezone_id':'Asia/Anadyr'}],'anat':[{'dst':false,'offset':39600,'timezone_id':'Asia/Anadyr'},{'dst':false,'offset':43200,'timezone_id':'Asia/Anadyr'},{'dst':false,'offset':46800,'timezone_id':'Asia/Anadyr'}],'ant':[{'dst':false,'offset':-16200,'timezone_id':'America/Curacao'},{'dst':false,'offset':-16200,'timezone_id':'America/Aruba'}],'apt':[{'dst':true,'offset':-10800,'timezone_id':'America/Halifax'},{'dst':true,'offset':-10800,'timezone_id':'America/Blanc-Sablon'},{'dst':true,'offset':-10800,'timezone_id':'America/Glace_Bay'},{'dst':true,'offset':-10800,'timezone_id':'America/Moncton'},{'dst':true,'offset':-10800,'timezone_id':'America/Pangnirtung'},{'dst':true,'offset':-10800,'timezone_id':'America/Puerto_Rico'},{'dst':true,'offset':-10800,'timezone_id':'Canada/Atlantic'}],'aqtst':[{'dst':true,'offset':18000,'timezone_id':'Asia/Aqtau'},{'dst':true,'offset':21600,'timezone_id':'Asia/Aqtau'},{'dst':true,'offset':21600,'timezone_id':'Asia/Aqtobe'}],'aqtt':[{'dst':false,'offset':14400,'timezone_id':'Asia/Aqtau'},{'dst':false,'offset':18000,'timezone_id':'Asia/Aqtau'},{'dst':false,'offset':18000,'timezone_id':'Asia/Aqtobe'}],'arst':[{'dst':true,'offset':-10800,'timezone_id':'America/Buenos_Aires'},{'dst':true,'offset':-7200,'timezone_id':'America/Buenos_Aires'},{'dst':true,'offset':-10800,'timezone_id':'America/Argentina/Buenos_Aires'},{'dst':true,'offset':-10800,'timezone_id':'America/Argentina/Catamarca'},{'dst':true,'offset':-10800,'timezone_id':'America/Argentina/ComodRivadavia'},{'dst':true,'offset':-10800,'timezone_id':'America/Argentina/Cordoba'},{'dst':true,'offset':-10800,'timezone_id':'America/Argentina/Jujuy'},{'dst':true,'offset':-10800,'timezone_id':'America/Argentina/La_Rioja'},{'dst':true,'offset':-10800,'timezone_id':'America/Argentina/Mendoza'},{'dst':true,'offset':-10800,'timezone_id':'America/Argentina/Rio_Gallegos'},{'dst':true,'offset':-10800,'timezone_id':'America/Argentina/San_Juan'},{'dst':true,'offset':-10800,'timezone_id':'America/Argentina/Tucuman'},{'dst':true,'offset':-10800,'timezone_id':'America/Argentina/Ushuaia'},{'dst':true,'offset':-10800,'timezone_id':'America/Catamarca'},{'dst':true,'offset':-10800,'timezone_id':'America/Cordoba'},{'dst':true,'offset':-10800,'timezone_id':'America/Jujuy'},{'dst':true,'offset':-10800,'timezone_id':'America/Mendoza'},{'dst':true,'offset':-10800,'timezone_id':'America/Rosario'},{'dst':true,'offset':-10800,'timezone_id':'Antarctica/Palmer'},{'dst':true,'offset':-7200,'timezone_id':'America/Argentina/Buenos_Aires'},{'dst':true,'offset':-7200,'timezone_id':'America/Argentina/Catamarca'},{'dst':true,'offset':-7200,'timezone_id':'America/Argentina/ComodRivadavia'},{'dst':true,'offset':-7200,'timezone_id':'America/Argentina/Cordoba'},{'dst':true,'offset':-7200,'timezone_id':'America/Argentina/Jujuy'},{'dst':true,'offset':-7200,'timezone_id':'America/Argentina/La_Rioja'},{'dst':true,'offset':-7200,'timezone_id':'America/Argentina/Mendoza'},{'dst':true,'offset':-7200,'timezone_id':'America/Argentina/Rio_Gallegos'},{'dst':true,'offset':-7200,'timezone_id':'America/Argentina/San_Juan'},{'dst':true,'offset':-7200,'timezone_id':'America/Argentina/Tucuman'},{'dst':true,'offset':-7200,'timezone_id':'America/Argentina/Ushuaia'},{'dst':true,'offset':-7200,'timezone_id':'America/Catamarca'},{'dst':true,'offset':-7200,'timezone_id':'America/Cordoba'},{'dst':true,'offset':-7200,'timezone_id':'America/Jujuy'},{'dst':true,'offset':-7200,'timezone_id':'America/Mendoza'},{'dst':true,'offset':-7200,'timezone_id':'America/Rosario'},{'dst':true,'offset':-7200,'timezone_id':'Antarctica/Palmer'}],'art':[{'dst':false,'offset':-10800,'timezone_id':'America/Buenos_Aires'},{'dst':false,'offset':-14400,'timezone_id':'America/Buenos_Aires'},{'dst':false,'offset':-10800,'timezone_id':'America/Argentina/Buenos_Aires'},{'dst':false,'offset':-10800,'timezone_id':'America/Argentina/Catamarca'},{'dst':false,'offset':-10800,'timezone_id':'America/Argentina/ComodRivadavia'},{'dst':false,'offset':-10800,'timezone_id':'America/Argentina/Cordoba'},{'dst':false,'offset':-10800,'timezone_id':'America/Argentina/Jujuy'},{'dst':false,'offset':-10800,'timezone_id':'America/Argentina/La_Rioja'},{'dst':false,'offset':-10800,'timezone_id':'America/Argentina/Mendoza'},{'dst':false,'offset':-10800,'timezone_id':'America/Argentina/Rio_Gallegos'},{'dst':false,'offset':-10800,'timezone_id':'America/Argentina/San_Juan'},{'dst':false,'offset':-10800,'timezone_id':'America/Argentina/Tucuman'},{'dst':false,'offset':-10800,'timezone_id':'America/Argentina/Ushuaia'},{'dst':false,'offset':-10800,'timezone_id':'America/Catamarca'},{'dst':false,'offset':-10800,'timezone_id':'America/Cordoba'},{'dst':false,'offset':-10800,'timezone_id':'America/Jujuy'},{'dst':false,'offset':-10800,'timezone_id':'America/Mendoza'},{'dst':false,'offset':-10800,'timezone_id':'America/Rosario'},{'dst':false,'offset':-10800,'timezone_id':'Antarctica/Palmer'},{'dst':false,'offset':-14400,'timezone_id':'America/Argentina/Buenos_Aires'},{'dst':false,'offset':-14400,'timezone_id':'America/Argentina/Catamarca'},{'dst':false,'offset':-14400,'timezone_id':'America/Argentina/ComodRivadavia'},{'dst':false,'offset':-14400,'timezone_id':'America/Argentina/Cordoba'},{'dst':false,'offset':-14400,'timezone_id':'America/Argentina/Jujuy'},{'dst':false,'offset':-14400,'timezone_id':'America/Argentina/La_Rioja'},{'dst':false,'offset':-14400,'timezone_id':'America/Argentina/Mendoza'},{'dst':false,'offset':-14400,'timezone_id':'America/Argentina/Rio_Gallegos'},{'dst':false,'offset':-14400,'timezone_id':'America/Argentina/San_Juan'},{'dst':false,'offset':-14400,'timezone_id':'America/Argentina/Tucuman'},{'dst':false,'offset':-14400,'timezone_id':'America/Argentina/Ushuaia'},{'dst':false,'offset':-14400,'timezone_id':'America/Catamarca'},{'dst':false,'offset':-14400,'timezone_id':'America/Cordoba'},{'dst':false,'offset':-14400,'timezone_id':'America/Jujuy'},{'dst':false,'offset':-14400,'timezone_id':'America/Mendoza'},{'dst':false,'offset':-14400,'timezone_id':'America/Rosario'},{'dst':false,'offset':-14400,'timezone_id':'Antarctica/Palmer'}],'ashst':[{'dst':true,'offset':18000,'timezone_id':'Asia/Ashkhabad'},{'dst':true,'offset':21600,'timezone_id':'Asia/Ashkhabad'},{'dst':true,'offset':18000,'timezone_id':'Asia/Ashgabat'},{'dst':true,'offset':21600,'timezone_id':'Asia/Ashgabat'}],'asht':[{'dst':false,'offset':14400,'timezone_id':'Asia/Ashkhabad'},{'dst':false,'offset':18000,'timezone_id':'Asia/Ashkhabad'},{'dst':false,'offset':14400,'timezone_id':'Asia/Ashgabat'},{'dst':false,'offset':18000,'timezone_id':'Asia/Ashgabat'}],'ast':[{'dst':false,'offset':10800,'timezone_id':'Asia/Riyadh'},{'dst':false,'offset':-14400,'timezone_id':'America/Anguilla'},{'dst':false,'offset':-14400,'timezone_id':'America/Antigua'},{'dst':false,'offset':-14400,'timezone_id':'America/Aruba'},{'dst':false,'offset':-14400,'timezone_id':'America/Barbados'},{'dst':false,'offset':-14400,'timezone_id':'America/Blanc-Sablon'},{'dst':false,'offset':-14400,'timezone_id':'America/Curacao'},{'dst':false,'offset':-14400,'timezone_id':'America/Dominica'},{'dst':false,'offset':-14400,'timezone_id':'America/Glace_Bay'},{'dst':false,'offset':-14400,'timezone_id':'America/Goose_Bay'},{'dst':false,'offset':-14400,'timezone_id':'America/Grenada'},{'dst':false,'offset':-14400,'timezone_id':'America/Guadeloupe'},{'dst':false,'offset':-14400,'timezone_id':'America/Halifax'},{'dst':false,'offset':-14400,'timezone_id':'America/Martinique'},{'dst':false,'offset':-14400,'timezone_id':'America/Miquelon'},{'dst':false,'offset':-14400,'timezone_id':'America/Moncton'},{'dst':false,'offset':-14400,'timezone_id':'America/Montserrat'},{'dst':false,'offset':-14400,'timezone_id':'America/Pangnirtung'},{'dst':false,'offset':-14400,'timezone_id':'America/Port_of_Spain'},{'dst':false,'offset':-14400,'timezone_id':'America/Puerto_Rico'},{'dst':false,'offset':-14400,'timezone_id':'America/Santo_Domingo'},{'dst':false,'offset':-14400,'timezone_id':'America/St_Kitts'},{'dst':false,'offset':-14400,'timezone_id':'America/St_Lucia'},{'dst':false,'offset':-14400,'timezone_id':'America/St_Thomas'},{'dst':false,'offset':-14400,'timezone_id':'America/St_Vincent'},{'dst':false,'offset':-14400,'timezone_id':'America/Thule'},{'dst':false,'offset':-14400,'timezone_id':'America/Tortola'},{'dst':false,'offset':-14400,'timezone_id':'America/Virgin'},{'dst':false,'offset':-14400,'timezone_id':'Atlantic/Bermuda'},{'dst':false,'offset':-14400,'timezone_id':'Canada/Atlantic'},{'dst':false,'offset':10800,'timezone_id':'Asia/Aden'},{'dst':false,'offset':10800,'timezone_id':'Asia/Baghdad'},{'dst':false,'offset':10800,'timezone_id':'Asia/Bahrain'},{'dst':false,'offset':10800,'timezone_id':'Asia/Kuwait'},{'dst':false,'offset':10800,'timezone_id':'Asia/Qatar'}],'awt':[{'dst':true,'offset':-10800,'timezone_id':'America/Halifax'},{'dst':true,'offset':-10800,'timezone_id':'America/Blanc-Sablon'},{'dst':true,'offset':-10800,'timezone_id':'America/Glace_Bay'},{'dst':true,'offset':-10800,'timezone_id':'America/Moncton'},{'dst':true,'offset':-10800,'timezone_id':'America/Pangnirtung'},{'dst':true,'offset':-10800,'timezone_id':'America/Puerto_Rico'},{'dst':true,'offset':-10800,'timezone_id':'Canada/Atlantic'}],'azomt':[{'dst':true,'offset':0,'timezone_id':'Atlantic/Azores'}],'azost':[{'dst':true,'offset':-3600,'timezone_id':'Atlantic/Azores'},{'dst':true,'offset':0,'timezone_id':'Atlantic/Azores'}],'azot':[{'dst':false,'offset':-3600,'timezone_id':'Atlantic/Azores'},{'dst':false,'offset':-7200,'timezone_id':'Atlantic/Azores'}],'azst':[{'dst':true,'offset':14400,'timezone_id':'Asia/Baku'},{'dst':true,'offset':18000,'timezone_id':'Asia/Baku'}],'azt':[{'dst':false,'offset':10800,'timezone_id':'Asia/Baku'},{'dst':false,'offset':14400,'timezone_id':'Asia/Baku'}],'bakst':[{'dst':true,'offset':14400,'timezone_id':'Asia/Baku'},{'dst':true,'offset':18000,'timezone_id':'Asia/Baku'}],'bakt':[{'dst':false,'offset':10800,'timezone_id':'Asia/Baku'},{'dst':false,'offset':14400,'timezone_id':'Asia/Baku'}],'bdst':[{'dst':true,'offset':7200,'timezone_id':'Europe/London'},{'dst':true,'offset':7200,'timezone_id':'Europe/Belfast'},{'dst':true,'offset':7200,'timezone_id':'Europe/Gibraltar'},{'dst':true,'offset':7200,'timezone_id':'Europe/Guernsey'},{'dst':true,'offset':7200,'timezone_id':'Europe/Isle_of_Man'},{'dst':true,'offset':7200,'timezone_id':'Europe/Jersey'},{'dst':true,'offset':7200,'timezone_id':'GB'},{'dst':true,'offset':7200,'timezone_id':'GB-Eire'}],'bdt':[{'dst':true,'offset':-36000,'timezone_id':'America/Adak'},{'dst':true,'offset':-36000,'timezone_id':'America/Atka'},{'dst':true,'offset':-36000,'timezone_id':'America/Nome'},{'dst':true,'offset':-36000,'timezone_id':'US/Aleutian'},{'dst':false,'offset':21600,'timezone_id':'Asia/Dacca'},{'dst':false,'offset':21600,'timezone_id':'Asia/Dhaka'}],'beat':[{'dst':false,'offset':9000,'timezone_id':'Africa/Mogadishu'},{'dst':false,'offset':9000,'timezone_id':'Africa/Kampala'},{'dst':false,'offset':9000,'timezone_id':'Africa/Nairobi'}],'beaut':[{'dst':false,'offset':9885,'timezone_id':'Africa/Nairobi'},{'dst':false,'offset':9885,'timezone_id':'Africa/Dar_es_Salaam'},{'dst':false,'offset':9885,'timezone_id':'Africa/Kampala'}],'bmt':[{'dst':false,'offset':-14308,'timezone_id':'America/Barbados'},{'dst':false,'offset':-3996,'timezone_id':'Africa/Banjul'},{'dst':false,'offset':6264,'timezone_id':'Europe/Tiraspol'},{'dst':false,'offset':6264,'timezone_id':'Europe/Chisinau'}],'bnt':[{'dst':false,'offset':27000,'timezone_id':'Asia/Brunei'},{'dst':false,'offset':28800,'timezone_id':'Asia/Brunei'}],'bortst':[{'dst':true,'offset':30000,'timezone_id':'Asia/Kuching'}],'bort':[{'dst':false,'offset':27000,'timezone_id':'Asia/Kuching'},{'dst':false,'offset':28800,'timezone_id':'Asia/Kuching'}],'bost':[{'dst':true,'offset':-12756,'timezone_id':'America/La_Paz'}],'bot':[{'dst':false,'offset':-14400,'timezone_id':'America/La_Paz'}],'brst':[{'dst':true,'offset':-7200,'timezone_id':'America/Sao_Paulo'},{'dst':true,'offset':-7200,'timezone_id':'America/Araguaina'},{'dst':true,'offset':-7200,'timezone_id':'America/Bahia'},{'dst':true,'offset':-7200,'timezone_id':'America/Belem'},{'dst':true,'offset':-7200,'timezone_id':'America/Fortaleza'},{'dst':true,'offset':-7200,'timezone_id':'America/Maceio'},{'dst':true,'offset':-7200,'timezone_id':'America/Recife'},{'dst':true,'offset':-7200,'timezone_id':'Brazil/East'}],'brt':[{'dst':false,'offset':-10800,'timezone_id':'America/Sao_Paulo'},{'dst':false,'offset':-10800,'timezone_id':'America/Araguaina'},{'dst':false,'offset':-10800,'timezone_id':'America/Bahia'},{'dst':false,'offset':-10800,'timezone_id':'America/Belem'},{'dst':false,'offset':-10800,'timezone_id':'America/Fortaleza'},{'dst':false,'offset':-10800,'timezone_id':'America/Maceio'},{'dst':false,'offset':-10800,'timezone_id':'America/Recife'},{'dst':false,'offset':-10800,'timezone_id':'Brazil/East'}],'bst':[{'dst':false,'offset':3600,'timezone_id':'Europe/London'},{'dst':true,'offset':3600,'timezone_id':'Europe/London'},{'dst':false,'offset':-39600,'timezone_id':'America/Adak'},{'dst':false,'offset':-39600,'timezone_id':'America/Atka'},{'dst':false,'offset':-39600,'timezone_id':'America/Nome'},{'dst':false,'offset':-39600,'timezone_id':'Pacific/Midway'},{'dst':false,'offset':-39600,'timezone_id':'Pacific/Pago_Pago'},{'dst':false,'offset':-39600,'timezone_id':'Pacific/Samoa'},{'dst':false,'offset':-39600,'timezone_id':'US/Aleutian'},{'dst':false,'offset':-39600,'timezone_id':'US/Samoa'},{'dst':false,'offset':3600,'timezone_id':'Europe/Belfast'},{'dst':false,'offset':3600,'timezone_id':'Europe/Guernsey'},{'dst':false,'offset':3600,'timezone_id':'Europe/Isle_of_Man'},{'dst':false,'offset':3600,'timezone_id':'Europe/Jersey'},{'dst':false,'offset':3600,'timezone_id':'GB'},{'dst':false,'offset':3600,'timezone_id':'GB-Eire'},{'dst':true,'offset':3600,'timezone_id':'Eire'},{'dst':true,'offset':3600,'timezone_id':'Europe/Belfast'},{'dst':true,'offset':3600,'timezone_id':'Europe/Dublin'},{'dst':true,'offset':3600,'timezone_id':'Europe/Gibraltar'},{'dst':true,'offset':3600,'timezone_id':'Europe/Guernsey'},{'dst':true,'offset':3600,'timezone_id':'Europe/Isle_of_Man'},{'dst':true,'offset':3600,'timezone_id':'Europe/Jersey'},{'dst':true,'offset':3600,'timezone_id':'GB'},{'dst':true,'offset':3600,'timezone_id':'GB-Eire'}],'btt':[{'dst':false,'offset':21600,'timezone_id':'Asia/Thimbu'},{'dst':false,'offset':21600,'timezone_id':'Asia/Thimphu'}],'burt':[{'dst':false,'offset':23400,'timezone_id':'Asia/Calcutta'},{'dst':false,'offset':23400,'timezone_id':'Asia/Dacca'},{'dst':false,'offset':23400,'timezone_id':'Asia/Dhaka'},{'dst':false,'offset':23400,'timezone_id':'Asia/Rangoon'}],'cant':[{'dst':false,'offset':-3600,'timezone_id':'Atlantic/Canary'}],'capt':[{'dst':true,'offset':-32400,'timezone_id':'America/Anchorage'},{'dst':true,'offset':-32400,'timezone_id':'US/Alaska'}],'cast':[{'dst':false,'offset':34200,'timezone_id':'Australia/Adelaide'},{'dst':true,'offset':10800,'timezone_id':'Africa/Gaborone'},{'dst':true,'offset':10800,'timezone_id':'Africa/Khartoum'}],'cat':[{'dst':false,'offset':-36000,'timezone_id':'America/Anchorage'},{'dst':false,'offset':-36000,'timezone_id':'US/Alaska'},{'dst':false,'offset':7200,'timezone_id':'Africa/Khartoum'},{'dst':false,'offset':7200,'timezone_id':'Africa/Blantyre'},{'dst':false,'offset':7200,'timezone_id':'Africa/Gaborone'},{'dst':false,'offset':7200,'timezone_id':'Africa/Harare'},{'dst':false,'offset':7200,'timezone_id':'Africa/Kigali'},{'dst':false,'offset':7200,'timezone_id':'Africa/Lusaka'},{'dst':false,'offset':7200,'timezone_id':'Africa/Maputo'},{'dst':false,'offset':7200,'timezone_id':'Africa/Windhoek'}],'cawt':[{'dst':true,'offset':-32400,'timezone_id':'America/Anchorage'},{'dst':true,'offset':-32400,'timezone_id':'US/Alaska'}],'cddt':[{'dst':true,'offset':-14400,'timezone_id':'America/Rankin_Inlet'}],'cdt':[{'dst':true,'offset':-18000,'timezone_id':'America/Chicago'},{'dst':true,'offset':-14400,'timezone_id':'America/Havana'},{'dst':true,'offset':-14400,'timezone_id':'Cuba'},{'dst':true,'offset':-18000,'timezone_id':'America/Atikokan'},{'dst':true,'offset':-18000,'timezone_id':'America/Belize'},{'dst':true,'offset':-18000,'timezone_id':'America/Cambridge_Bay'},{'dst':true,'offset':-18000,'timezone_id':'America/Cancun'},{'dst':true,'offset':-18000,'timezone_id':'America/Chihuahua'},{'dst':true,'offset':-18000,'timezone_id':'America/Coral_Harbour'},{'dst':true,'offset':-18000,'timezone_id':'America/Costa_Rica'},{'dst':true,'offset':-18000,'timezone_id':'America/El_Salvador'},{'dst':true,'offset':-18000,'timezone_id':'America/Fort_Wayne'},{'dst':true,'offset':-18000,'timezone_id':'America/Guatemala'},{'dst':true,'offset':-18000,'timezone_id':'America/Indiana/Indianapolis'},{'dst':true,'offset':-18000,'timezone_id':'America/Indiana/Knox'},{'dst':true,'offset':-18000,'timezone_id':'America/Indiana/Marengo'},{'dst':true,'offset':-18000,'timezone_id':'America/Indiana/Petersburg'},{'dst':true,'offset':-18000,'timezone_id':'America/Indiana/Vevay'},{'dst':true,'offset':-18000,'timezone_id':'America/Indiana/Vincennes'},{'dst':true,'offset':-18000,'timezone_id':'America/Indiana/Winamac'},{'dst':true,'offset':-18000,'timezone_id':'America/Indianapolis'},{'dst':true,'offset':-18000,'timezone_id':'America/Iqaluit'},{'dst':true,'offset':-18000,'timezone_id':'America/Kentucky/Louisville'},{'dst':true,'offset':-18000,'timezone_id':'America/Kentucky/Monticello'},{'dst':true,'offset':-18000,'timezone_id':'America/Knox_IN'},{'dst':true,'offset':-18000,'timezone_id':'America/Louisville'},{'dst':true,'offset':-18000,'timezone_id':'America/Managua'},{'dst':true,'offset':-18000,'timezone_id':'America/Menominee'},{'dst':true,'offset':-18000,'timezone_id':'America/Merida'},{'dst':true,'offset':-18000,'timezone_id':'America/Mexico_City'},{'dst':true,'offset':-18000,'timezone_id':'America/Monterrey'},{'dst':true,'offset':-18000,'timezone_id':'America/North_Dakota/Center'},{'dst':true,'offset':-18000,'timezone_id':'America/North_Dakota/New_Salem'},{'dst':true,'offset':-18000,'timezone_id':'America/Pangnirtung'},{'dst':true,'offset':-18000,'timezone_id':'America/Rainy_River'},{'dst':true,'offset':-18000,'timezone_id':'America/Rankin_Inlet'},{'dst':true,'offset':-18000,'timezone_id':'America/Tegucigalpa'},{'dst':true,'offset':-18000,'timezone_id':'America/Winnipeg'},{'dst':true,'offset':-18000,'timezone_id':'Canada/Central'},{'dst':true,'offset':-18000,'timezone_id':'CST6CDT'},{'dst':true,'offset':-18000,'timezone_id':'Mexico/General'},{'dst':true,'offset':-18000,'timezone_id':'US/Central'},{'dst':true,'offset':-18000,'timezone_id':'US/East-Indiana'},{'dst':true,'offset':-18000,'timezone_id':'US/Indiana-Starke'},{'dst':true,'offset':32400,'timezone_id':'Asia/Shanghai'},{'dst':true,'offset':32400,'timezone_id':'Asia/Chongqing'},{'dst':true,'offset':32400,'timezone_id':'Asia/Chungking'},{'dst':true,'offset':32400,'timezone_id':'Asia/Harbin'},{'dst':true,'offset':32400,'timezone_id':'Asia/Kashgar'},{'dst':true,'offset':32400,'timezone_id':'Asia/Taipei'},{'dst':true,'offset':32400,'timezone_id':'Asia/Urumqi'},{'dst':true,'offset':32400,'timezone_id':'PRC'},{'dst':true,'offset':32400,'timezone_id':'ROC'}],'cemt':[{'dst':true,'offset':10800,'timezone_id':'Europe/Berlin'},{'dst':true,'offset':10800,'timezone_id':'CET'}],'cest':[{'dst':true,'offset':7200,'timezone_id':'Europe/Berlin'},{'dst':true,'offset':10800,'timezone_id':'Europe/Kaliningrad'},{'dst':true,'offset':7200,'timezone_id':'Africa/Algiers'},{'dst':true,'offset':7200,'timezone_id':'Africa/Ceuta'},{'dst':true,'offset':7200,'timezone_id':'Africa/Tripoli'},{'dst':true,'offset':7200,'timezone_id':'Africa/Tunis'},{'dst':true,'offset':7200,'timezone_id':'Arctic/Longyearbyen'},{'dst':true,'offset':7200,'timezone_id':'Atlantic/Jan_Mayen'},{'dst':true,'offset':7200,'timezone_id':'CET'},{'dst':true,'offset':7200,'timezone_id':'Europe/Amsterdam'},{'dst':true,'offset':7200,'timezone_id':'Europe/Andorra'},{'dst':true,'offset':7200,'timezone_id':'Europe/Athens'},{'dst':true,'offset':7200,'timezone_id':'Europe/Belgrade'},{'dst':true,'offset':7200,'timezone_id':'Europe/Bratislava'},{'dst':true,'offset':7200,'timezone_id':'Europe/Brussels'},{'dst':true,'offset':7200,'timezone_id':'Europe/Budapest'},{'dst':true,'offset':7200,'timezone_id':'Europe/Chisinau'},{'dst':true,'offset':7200,'timezone_id':'Europe/Copenhagen'},{'dst':true,'offset':7200,'timezone_id':'Europe/Gibraltar'},{'dst':true,'offset':7200,'timezone_id':'Europe/Kaliningrad'},{'dst':true,'offset':7200,'timezone_id':'Europe/Kiev'},{'dst':true,'offset':7200,'timezone_id':'Europe/Lisbon'},{'dst':true,'offset':7200,'timezone_id':'Europe/Ljubljana'},{'dst':true,'offset':7200,'timezone_id':'Europe/Luxembourg'},{'dst':true,'offset':7200,'timezone_id':'Europe/Madrid'},{'dst':true,'offset':7200,'timezone_id':'Europe/Malta'},{'dst':true,'offset':7200,'timezone_id':'Europe/Minsk'},{'dst':true,'offset':7200,'timezone_id':'Europe/Monaco'},{'dst':true,'offset':7200,'timezone_id':'Europe/Oslo'},{'dst':true,'offset':7200,'timezone_id':'Europe/Paris'},{'dst':true,'offset':7200,'timezone_id':'Europe/Podgorica'},{'dst':true,'offset':7200,'timezone_id':'Europe/Prague'},{'dst':true,'offset':7200,'timezone_id':'Europe/Riga'},{'dst':true,'offset':7200,'timezone_id':'Europe/Rome'},{'dst':true,'offset':7200,'timezone_id':'Europe/San_Marino'},{'dst':true,'offset':7200,'timezone_id':'Europe/Sarajevo'},{'dst':true,'offset':7200,'timezone_id':'Europe/Simferopol'},{'dst':true,'offset':7200,'timezone_id':'Europe/Skopje'},{'dst':true,'offset':7200,'timezone_id':'Europe/Sofia'},{'dst':true,'offset':7200,'timezone_id':'Europe/Stockholm'},{'dst':true,'offset':7200,'timezone_id':'Europe/Tallinn'},{'dst':true,'offset':7200,'timezone_id':'Europe/Tirane'},{'dst':true,'offset':7200,'timezone_id':'Europe/Tiraspol'},{'dst':true,'offset':7200,'timezone_id':'Europe/Uzhgorod'},{'dst':true,'offset':7200,'timezone_id':'Europe/Vaduz'},{'dst':true,'offset':7200,'timezone_id':'Europe/Vatican'},{'dst':true,'offset':7200,'timezone_id':'Europe/Vienna'},{'dst':true,'offset':7200,'timezone_id':'Europe/Vilnius'},{'dst':true,'offset':7200,'timezone_id':'Europe/Warsaw'},{'dst':true,'offset':7200,'timezone_id':'Europe/Zagreb'},{'dst':true,'offset':7200,'timezone_id':'Europe/Zaporozhye'},{'dst':true,'offset':7200,'timezone_id':'Europe/Zurich'},{'dst':true,'offset':7200,'timezone_id':'Libya'},{'dst':true,'offset':7200,'timezone_id':'Poland'},{'dst':true,'offset':7200,'timezone_id':'Portugal'},{'dst':true,'offset':7200,'timezone_id':'WET'}],'cet':[{'dst':false,'offset':3600,'timezone_id':'Europe/Berlin'},{'dst':false,'offset':3600,'timezone_id':'Africa/Algiers'},{'dst':false,'offset':3600,'timezone_id':'Africa/Casablanca'},{'dst':false,'offset':3600,'timezone_id':'Africa/Ceuta'},{'dst':false,'offset':3600,'timezone_id':'Africa/Tripoli'},{'dst':false,'offset':3600,'timezone_id':'Africa/Tunis'},{'dst':false,'offset':3600,'timezone_id':'Arctic/Longyearbyen'},{'dst':false,'offset':3600,'timezone_id':'Atlantic/Jan_Mayen'},{'dst':false,'offset':3600,'timezone_id':'CET'},{'dst':false,'offset':3600,'timezone_id':'Europe/Amsterdam'},{'dst':false,'offset':3600,'timezone_id':'Europe/Andorra'},{'dst':false,'offset':3600,'timezone_id':'Europe/Athens'},{'dst':false,'offset':3600,'timezone_id':'Europe/Belgrade'},{'dst':false,'offset':3600,'timezone_id':'Europe/Bratislava'},{'dst':false,'offset':3600,'timezone_id':'Europe/Brussels'},{'dst':false,'offset':3600,'timezone_id':'Europe/Budapest'},{'dst':false,'offset':3600,'timezone_id':'Europe/Chisinau'},{'dst':false,'offset':3600,'timezone_id':'Europe/Copenhagen'},{'dst':false,'offset':3600,'timezone_id':'Europe/Gibraltar'},{'dst':false,'offset':3600,'timezone_id':'Europe/Kaliningrad'},{'dst':false,'offset':3600,'timezone_id':'Europe/Kiev'},{'dst':false,'offset':3600,'timezone_id':'Europe/Lisbon'},{'dst':false,'offset':3600,'timezone_id':'Europe/Ljubljana'},{'dst':false,'offset':3600,'timezone_id':'Europe/Luxembourg'},{'dst':false,'offset':3600,'timezone_id':'Europe/Madrid'},{'dst':false,'offset':3600,'timezone_id':'Europe/Malta'},{'dst':false,'offset':3600,'timezone_id':'Europe/Minsk'},{'dst':false,'offset':3600,'timezone_id':'Europe/Monaco'},{'dst':false,'offset':3600,'timezone_id':'Europe/Oslo'},{'dst':false,'offset':3600,'timezone_id':'Europe/Paris'},{'dst':false,'offset':3600,'timezone_id':'Europe/Podgorica'},{'dst':false,'offset':3600,'timezone_id':'Europe/Prague'},{'dst':false,'offset':3600,'timezone_id':'Europe/Riga'},{'dst':false,'offset':3600,'timezone_id':'Europe/Rome'},{'dst':false,'offset':3600,'timezone_id':'Europe/San_Marino'},{'dst':false,'offset':3600,'timezone_id':'Europe/Sarajevo'},{'dst':false,'offset':3600,'timezone_id':'Europe/Simferopol'},{'dst':false,'offset':3600,'timezone_id':'Europe/Skopje'},{'dst':false,'offset':3600,'timezone_id':'Europe/Sofia'},{'dst':false,'offset':3600,'timezone_id':'Europe/Stockholm'},{'dst':false,'offset':3600,'timezone_id':'Europe/Tallinn'},{'dst':false,'offset':3600,'timezone_id':'Europe/Tirane'},{'dst':false,'offset':3600,'timezone_id':'Europe/Tiraspol'},{'dst':false,'offset':3600,'timezone_id':'Europe/Uzhgorod'},{'dst':false,'offset':3600,'timezone_id':'Europe/Vaduz'},{'dst':false,'offset':3600,'timezone_id':'Europe/Vatican'},{'dst':false,'offset':3600,'timezone_id':'Europe/Vienna'},{'dst':false,'offset':3600,'timezone_id':'Europe/Vilnius'},{'dst':false,'offset':3600,'timezone_id':'Europe/Warsaw'},{'dst':false,'offset':3600,'timezone_id':'Europe/Zagreb'},{'dst':false,'offset':3600,'timezone_id':'Europe/Zaporozhye'},{'dst':false,'offset':3600,'timezone_id':'Europe/Zurich'},{'dst':false,'offset':3600,'timezone_id':'Libya'},{'dst':false,'offset':3600,'timezone_id':'Poland'},{'dst':false,'offset':3600,'timezone_id':'Portugal'},{'dst':false,'offset':3600,'timezone_id':'WET'},{'dst':false,'offset':7200,'timezone_id':'Europe/Kaliningrad'}],'cgst':[{'dst':true,'offset':-3600,'timezone_id':'America/Scoresbysund'}],'cgt':[{'dst':false,'offset':-7200,'timezone_id':'America/Scoresbysund'}],'chadt':[{'dst':true,'offset':49500,'timezone_id':'Pacific/Chatham'},{'dst':true,'offset':49500,'timezone_id':'NZ-CHAT'}],'chast':[{'dst':false,'offset':45900,'timezone_id':'Pacific/Chatham'},{'dst':false,'offset':45900,'timezone_id':'NZ-CHAT'}],'chat':[{'dst':false,'offset':30600,'timezone_id':'Asia/Harbin'},{'dst':false,'offset':32400,'timezone_id':'Asia/Harbin'}],'chdt':[{'dst':true,'offset':-19800,'timezone_id':'America/Belize'}],'chost':[{'dst':true,'offset':36000,'timezone_id':'Asia/Choibalsan'}],'chot':[{'dst':false,'offset':32400,'timezone_id':'Asia/Choibalsan'}],'cit':[{'dst':false,'offset':28800,'timezone_id':'Asia/Dili'},{'dst':false,'offset':28800,'timezone_id':'Asia/Makassar'},{'dst':false,'offset':28800,'timezone_id':'Asia/Pontianak'},{'dst':false,'offset':28800,'timezone_id':'Asia/Ujung_Pandang'}],'cjt':[{'dst':false,'offset':32400,'timezone_id':'Asia/Sakhalin'}],'ckhst':[{'dst':true,'offset':-34200,'timezone_id':'Pacific/Rarotonga'}],'ckt':[{'dst':false,'offset':-36000,'timezone_id':'Pacific/Rarotonga'}],'clst':[{'dst':true,'offset':-10800,'timezone_id':'America/Santiago'},{'dst':true,'offset':-14400,'timezone_id':'America/Santiago'},{'dst':true,'offset':-10800,'timezone_id':'Antarctica/Palmer'},{'dst':true,'offset':-10800,'timezone_id':'Chile/Continental'},{'dst':true,'offset':-14400,'timezone_id':'Chile/Continental'}],'clt':[{'dst':false,'offset':-14400,'timezone_id':'America/Santiago'},{'dst':false,'offset':-18000,'timezone_id':'America/Santiago'},{'dst':false,'offset':-14400,'timezone_id':'Antarctica/Palmer'},{'dst':false,'offset':-14400,'timezone_id':'Chile/Continental'},{'dst':false,'offset':-18000,'timezone_id':'Chile/Continental'}],'cost':[{'dst':true,'offset':-14400,'timezone_id':'America/Bogota'}],'cot':[{'dst':false,'offset':-18000,'timezone_id':'America/Bogota'}],'cpt':[{'dst':true,'offset':-18000,'timezone_id':'America/Chicago'},{'dst':true,'offset':-18000,'timezone_id':'America/Atikokan'},{'dst':true,'offset':-18000,'timezone_id':'America/Coral_Harbour'},{'dst':true,'offset':-18000,'timezone_id':'America/Fort_Wayne'},{'dst':true,'offset':-18000,'timezone_id':'America/Indiana/Indianapolis'},{'dst':true,'offset':-18000,'timezone_id':'America/Indiana/Knox'},{'dst':true,'offset':-18000,'timezone_id':'America/Indiana/Marengo'},{'dst':true,'offset':-18000,'timezone_id':'America/Indiana/Petersburg'},{'dst':true,'offset':-18000,'timezone_id':'America/Indiana/Vevay'},{'dst':true,'offset':-18000,'timezone_id':'America/Indiana/Vincennes'},{'dst':true,'offset':-18000,'timezone_id':'America/Indiana/Winamac'},{'dst':true,'offset':-18000,'timezone_id':'America/Indianapolis'},{'dst':true,'offset':-18000,'timezone_id':'America/Kentucky/Louisville'},{'dst':true,'offset':-18000,'timezone_id':'America/Kentucky/Monticello'},{'dst':true,'offset':-18000,'timezone_id':'America/Knox_IN'},{'dst':true,'offset':-18000,'timezone_id':'America/Louisville'},{'dst':true,'offset':-18000,'timezone_id':'America/Menominee'},{'dst':true,'offset':-18000,'timezone_id':'America/Rainy_River'},{'dst':true,'offset':-18000,'timezone_id':'America/Rankin_Inlet'},{'dst':true,'offset':-18000,'timezone_id':'America/Winnipeg'},{'dst':true,'offset':-18000,'timezone_id':'Canada/Central'},{'dst':true,'offset':-18000,'timezone_id':'CST6CDT'},{'dst':true,'offset':-18000,'timezone_id':'US/Central'},{'dst':true,'offset':-18000,'timezone_id':'US/East-Indiana'},{'dst':true,'offset':-18000,'timezone_id':'US/Indiana-Starke'}],'cst':[{'dst':false,'offset':-21600,'timezone_id':'America/Chicago'},{'dst':false,'offset':-18000,'timezone_id':'America/Havana'},{'dst':false,'offset':-18000,'timezone_id':'Cuba'},{'dst':false,'offset':-21600,'timezone_id':'America/Atikokan'},{'dst':false,'offset':-21600,'timezone_id':'America/Belize'},{'dst':false,'offset':-21600,'timezone_id':'America/Cambridge_Bay'},{'dst':false,'offset':-21600,'timezone_id':'America/Cancun'},{'dst':false,'offset':-21600,'timezone_id':'America/Chihuahua'},{'dst':false,'offset':-21600,'timezone_id':'America/Coral_Harbour'},{'dst':false,'offset':-21600,'timezone_id':'America/Costa_Rica'},{'dst':false,'offset':-21600,'timezone_id':'America/Detroit'},{'dst':false,'offset':-21600,'timezone_id':'America/El_Salvador'},{'dst':false,'offset':-21600,'timezone_id':'America/Fort_Wayne'},{'dst':false,'offset':-21600,'timezone_id':'America/Guatemala'},{'dst':false,'offset':-21600,'timezone_id':'America/Hermosillo'},{'dst':false,'offset':-21600,'timezone_id':'America/Indiana/Indianapolis'},{'dst':false,'offset':-21600,'timezone_id':'America/Indiana/Knox'},{'dst':false,'offset':-21600,'timezone_id':'America/Indiana/Marengo'},{'dst':false,'offset':-21600,'timezone_id':'America/Indiana/Petersburg'},{'dst':false,'offset':-21600,'timezone_id':'America/Indiana/Vevay'},{'dst':false,'offset':-21600,'timezone_id':'America/Indiana/Vincennes'},{'dst':false,'offset':-21600,'timezone_id':'America/Indiana/Winamac'},{'dst':false,'offset':-21600,'timezone_id':'America/Indianapolis'},{'dst':false,'offset':-21600,'timezone_id':'America/Iqaluit'},{'dst':false,'offset':-21600,'timezone_id':'America/Kentucky/Louisville'},{'dst':false,'offset':-21600,'timezone_id':'America/Kentucky/Monticello'},{'dst':false,'offset':-21600,'timezone_id':'America/Knox_IN'},{'dst':false,'offset':-21600,'timezone_id':'America/Louisville'},{'dst':false,'offset':-21600,'timezone_id':'America/Managua'},{'dst':false,'offset':-21600,'timezone_id':'America/Mazatlan'},{'dst':false,'offset':-21600,'timezone_id':'America/Menominee'},{'dst':false,'offset':-21600,'timezone_id':'America/Merida'},{'dst':false,'offset':-21600,'timezone_id':'America/Mexico_City'},{'dst':false,'offset':-21600,'timezone_id':'America/Monterrey'},{'dst':false,'offset':-21600,'timezone_id':'America/North_Dakota/Center'},{'dst':false,'offset':-21600,'timezone_id':'America/North_Dakota/New_Salem'},{'dst':false,'offset':-21600,'timezone_id':'America/Pangnirtung'},{'dst':false,'offset':-21600,'timezone_id':'America/Rainy_River'},{'dst':false,'offset':-21600,'timezone_id':'America/Rankin_Inlet'},{'dst':false,'offset':-21600,'timezone_id':'America/Regina'},{'dst':false,'offset':-21600,'timezone_id':'America/Swift_Current'},{'dst':false,'offset':-21600,'timezone_id':'America/Tegucigalpa'},{'dst':false,'offset':-21600,'timezone_id':'America/Winnipeg'},{'dst':false,'offset':-21600,'timezone_id':'Canada/Central'},{'dst':false,'offset':-21600,'timezone_id':'Canada/East-Saskatchewan'},{'dst':false,'offset':-21600,'timezone_id':'Canada/Saskatchewan'},{'dst':false,'offset':-21600,'timezone_id':'CST6CDT'},{'dst':false,'offset':-21600,'timezone_id':'Mexico/BajaSur'},{'dst':false,'offset':-21600,'timezone_id':'Mexico/General'},{'dst':false,'offset':-21600,'timezone_id':'US/Central'},{'dst':false,'offset':-21600,'timezone_id':'US/East-Indiana'},{'dst':false,'offset':-21600,'timezone_id':'US/Indiana-Starke'},{'dst':false,'offset':-21600,'timezone_id':'US/Michigan'},{'dst':false,'offset':28800,'timezone_id':'Asia/Chongqing'},{'dst':false,'offset':28800,'timezone_id':'Asia/Chungking'},{'dst':false,'offset':28800,'timezone_id':'Asia/Harbin'},{'dst':false,'offset':28800,'timezone_id':'Asia/Kashgar'},{'dst':false,'offset':28800,'timezone_id':'Asia/Macao'},{'dst':false,'offset':28800,'timezone_id':'Asia/Macau'},{'dst':false,'offset':28800,'timezone_id':'Asia/Shanghai'},{'dst':false,'offset':28800,'timezone_id':'Asia/Taipei'},{'dst':false,'offset':28800,'timezone_id':'Asia/Urumqi'},{'dst':false,'offset':28800,'timezone_id':'PRC'},{'dst':false,'offset':28800,'timezone_id':'ROC'},{'dst':false,'offset':34200,'timezone_id':'Asia/Jayapura'},{'dst':false,'offset':34200,'timezone_id':'Australia/Adelaide'},{'dst':false,'offset':34200,'timezone_id':'Australia/Broken_Hill'},{'dst':false,'offset':34200,'timezone_id':'Australia/Darwin'},{'dst':false,'offset':34200,'timezone_id':'Australia/North'},{'dst':false,'offset':34200,'timezone_id':'Australia/South'},{'dst':false,'offset':34200,'timezone_id':'Australia/Yancowinna'},{'dst':true,'offset':37800,'timezone_id':'Australia/Adelaide'},{'dst':true,'offset':37800,'timezone_id':'Australia/Broken_Hill'},{'dst':true,'offset':37800,'timezone_id':'Australia/Darwin'},{'dst':true,'offset':37800,'timezone_id':'Australia/North'},{'dst':true,'offset':37800,'timezone_id':'Australia/South'},{'dst':true,'offset':37800,'timezone_id':'Australia/Yancowinna'}],'cvst':[{'dst':true,'offset':-3600,'timezone_id':'Atlantic/Cape_Verde'}],'cvt':[{'dst':false,'offset':-3600,'timezone_id':'Atlantic/Cape_Verde'},{'dst':false,'offset':-7200,'timezone_id':'Atlantic/Cape_Verde'}],'cwst':[{'dst':false,'offset':31500,'timezone_id':'Australia/Eucla'},{'dst':true,'offset':35100,'timezone_id':'Australia/Eucla'}],'cwt':[{'dst':true,'offset':-18000,'timezone_id':'America/Chicago'},{'dst':true,'offset':-18000,'timezone_id':'America/Atikokan'},{'dst':true,'offset':-18000,'timezone_id':'America/Coral_Harbour'},{'dst':true,'offset':-18000,'timezone_id':'America/Fort_Wayne'},{'dst':true,'offset':-18000,'timezone_id':'America/Indiana/Indianapolis'},{'dst':true,'offset':-18000,'timezone_id':'America/Indiana/Knox'},{'dst':true,'offset':-18000,'timezone_id':'America/Indiana/Marengo'},{'dst':true,'offset':-18000,'timezone_id':'America/Indiana/Petersburg'},{'dst':true,'offset':-18000,'timezone_id':'America/Indiana/Vevay'},{'dst':true,'offset':-18000,'timezone_id':'America/Indiana/Vincennes'},{'dst':true,'offset':-18000,'timezone_id':'America/Indiana/Winamac'},{'dst':true,'offset':-18000,'timezone_id':'America/Indianapolis'},{'dst':true,'offset':-18000,'timezone_id':'America/Kentucky/Louisville'},{'dst':true,'offset':-18000,'timezone_id':'America/Kentucky/Monticello'},{'dst':true,'offset':-18000,'timezone_id':'America/Knox_IN'},{'dst':true,'offset':-18000,'timezone_id':'America/Louisville'},{'dst':true,'offset':-18000,'timezone_id':'America/Menominee'},{'dst':true,'offset':-18000,'timezone_id':'America/Mexico_City'},{'dst':true,'offset':-18000,'timezone_id':'America/Rainy_River'},{'dst':true,'offset':-18000,'timezone_id':'America/Rankin_Inlet'},{'dst':true,'offset':-18000,'timezone_id':'America/Winnipeg'},{'dst':true,'offset':-18000,'timezone_id':'Canada/Central'},{'dst':true,'offset':-18000,'timezone_id':'CST6CDT'},{'dst':true,'offset':-18000,'timezone_id':'Mexico/General'},{'dst':true,'offset':-18000,'timezone_id':'US/Central'},{'dst':true,'offset':-18000,'timezone_id':'US/East-Indiana'},{'dst':true,'offset':-18000,'timezone_id':'US/Indiana-Starke'}],'chst':[{'dst':false,'offset':36000,'timezone_id':'Pacific/Guam'},{'dst':false,'offset':36000,'timezone_id':'Pacific/Saipan'}],'dact':[{'dst':false,'offset':21600,'timezone_id':'Asia/Dacca'},{'dst':false,'offset':21600,'timezone_id':'Asia/Dhaka'}],'davt':[{'dst':false,'offset':25200,'timezone_id':'Antarctica/Davis'}],'ddut':[{'dst':false,'offset':36000,'timezone_id':'Antarctica/DumontDUrville'}],'dusst':[{'dst':true,'offset':21600,'timezone_id':'Asia/Dushanbe'},{'dst':true,'offset':25200,'timezone_id':'Asia/Dushanbe'}],'dust':[{'dst':false,'offset':18000,'timezone_id':'Asia/Dushanbe'},{'dst':false,'offset':21600,'timezone_id':'Asia/Dushanbe'}],'easst':[{'dst':true,'offset':-18000,'timezone_id':'Chile/EasterIsland'},{'dst':true,'offset':-21600,'timezone_id':'Chile/EasterIsland'},{'dst':true,'offset':-18000,'timezone_id':'Pacific/Easter'},{'dst':true,'offset':-21600,'timezone_id':'Pacific/Easter'}],'east':[{'dst':false,'offset':-21600,'timezone_id':'Chile/EasterIsland'},{'dst':false,'offset':-25200,'timezone_id':'Chile/EasterIsland'},{'dst':false,'offset':-21600,'timezone_id':'Pacific/Easter'},{'dst':false,'offset':-25200,'timezone_id':'Pacific/Easter'},{'dst':true,'offset':14400,'timezone_id':'Indian/Antananarivo'}],'eat':[{'dst':false,'offset':10800,'timezone_id':'Africa/Khartoum'},{'dst':false,'offset':10800,'timezone_id':'Africa/Addis_Ababa'},{'dst':false,'offset':10800,'timezone_id':'Africa/Asmara'},{'dst':false,'offset':10800,'timezone_id':'Africa/Asmera'},{'dst':false,'offset':10800,'timezone_id':'Africa/Dar_es_Salaam'},{'dst':false,'offset':10800,'timezone_id':'Africa/Djibouti'},{'dst':false,'offset':10800,'timezone_id':'Africa/Kampala'},{'dst':false,'offset':10800,'timezone_id':'Africa/Mogadishu'},{'dst':false,'offset':10800,'timezone_id':'Africa/Nairobi'},{'dst':false,'offset':10800,'timezone_id':'Indian/Antananarivo'},{'dst':false,'offset':10800,'timezone_id':'Indian/Comoro'},{'dst':false,'offset':10800,'timezone_id':'Indian/Mayotte'}],'ect':[{'dst':false,'offset':-18000,'timezone_id':'America/Guayaquil'},{'dst':false,'offset':-18000,'timezone_id':'Pacific/Galapagos'}],'eddt':[{'dst':true,'offset':-10800,'timezone_id':'America/Iqaluit'}],'edt':[{'dst':true,'offset':-14400,'timezone_id':'America/New_York'},{'dst':true,'offset':-14400,'timezone_id':'America/Cancun'},{'dst':true,'offset':-14400,'timezone_id':'America/Detroit'},{'dst':true,'offset':-14400,'timezone_id':'America/Fort_Wayne'},{'dst':true,'offset':-14400,'timezone_id':'America/Grand_Turk'},{'dst':true,'offset':-14400,'timezone_id':'America/Indiana/Indianapolis'},{'dst':true,'offset':-14400,'timezone_id':'America/Indiana/Marengo'},{'dst':true,'offset':-14400,'timezone_id':'America/Indiana/Vevay'},{'dst':true,'offset':-14400,'timezone_id':'America/Indiana/Vincennes'},{'dst':true,'offset':-14400,'timezone_id':'America/Indiana/Winamac'},{'dst':true,'offset':-14400,'timezone_id':'America/Indianapolis'},{'dst':true,'offset':-14400,'timezone_id':'America/Iqaluit'},{'dst':true,'offset':-14400,'timezone_id':'America/Jamaica'},{'dst':true,'offset':-14400,'timezone_id':'America/Kentucky/Louisville'},{'dst':true,'offset':-14400,'timezone_id':'America/Kentucky/Monticello'},{'dst':true,'offset':-14400,'timezone_id':'America/Louisville'},{'dst':true,'offset':-14400,'timezone_id':'America/Montreal'},{'dst':true,'offset':-14400,'timezone_id':'America/Nassau'},{'dst':true,'offset':-14400,'timezone_id':'America/Nipigon'},{'dst':true,'offset':-14400,'timezone_id':'America/Pangnirtung'},{'dst':true,'offset':-14400,'timezone_id':'America/Port-au-Prince'},{'dst':true,'offset':-14400,'timezone_id':'America/Santo_Domingo'},{'dst':true,'offset':-14400,'timezone_id':'America/Thunder_Bay'},{'dst':true,'offset':-14400,'timezone_id':'America/Toronto'},{'dst':true,'offset':-14400,'timezone_id':'Canada/Eastern'},{'dst':true,'offset':-14400,'timezone_id':'EST'},{'dst':true,'offset':-14400,'timezone_id':'EST5EDT'},{'dst':true,'offset':-14400,'timezone_id':'Jamaica'},{'dst':true,'offset':-14400,'timezone_id':'US/East-Indiana'},{'dst':true,'offset':-14400,'timezone_id':'US/Eastern'},{'dst':true,'offset':-14400,'timezone_id':'US/Michigan'}],'eest':[{'dst':true,'offset':10800,'timezone_id':'Europe/Helsinki'},{'dst':true,'offset':10800,'timezone_id':'Africa/Cairo'},{'dst':true,'offset':10800,'timezone_id':'Asia/Amman'},{'dst':true,'offset':10800,'timezone_id':'Asia/Beirut'},{'dst':true,'offset':10800,'timezone_id':'Asia/Damascus'},{'dst':true,'offset':10800,'timezone_id':'Asia/Gaza'},{'dst':true,'offset':10800,'timezone_id':'Asia/Istanbul'},{'dst':true,'offset':10800,'timezone_id':'Asia/Nicosia'},{'dst':true,'offset':10800,'timezone_id':'EET'},{'dst':true,'offset':10800,'timezone_id':'Egypt'},{'dst':true,'offset':10800,'timezone_id':'Europe/Athens'},{'dst':true,'offset':10800,'timezone_id':'Europe/Bucharest'},{'dst':true,'offset':10800,'timezone_id':'Europe/Chisinau'},{'dst':true,'offset':10800,'timezone_id':'Europe/Istanbul'},{'dst':true,'offset':10800,'timezone_id':'Europe/Kaliningrad'},{'dst':true,'offset':10800,'timezone_id':'Europe/Kiev'},{'dst':true,'offset':10800,'timezone_id':'Europe/Mariehamn'},{'dst':true,'offset':10800,'timezone_id':'Europe/Minsk'},{'dst':true,'offset':10800,'timezone_id':'Europe/Moscow'},{'dst':true,'offset':10800,'timezone_id':'Europe/Nicosia'},{'dst':true,'offset':10800,'timezone_id':'Europe/Riga'},{'dst':true,'offset':10800,'timezone_id':'Europe/Simferopol'},{'dst':true,'offset':10800,'timezone_id':'Europe/Sofia'},{'dst':true,'offset':10800,'timezone_id':'Europe/Tallinn'},{'dst':true,'offset':10800,'timezone_id':'Europe/Tiraspol'},{'dst':true,'offset':10800,'timezone_id':'Europe/Uzhgorod'},{'dst':true,'offset':10800,'timezone_id':'Europe/Vilnius'},{'dst':true,'offset':10800,'timezone_id':'Europe/Warsaw'},{'dst':true,'offset':10800,'timezone_id':'Europe/Zaporozhye'},{'dst':true,'offset':10800,'timezone_id':'Poland'},{'dst':true,'offset':10800,'timezone_id':'Turkey'},{'dst':true,'offset':10800,'timezone_id':'W-SU'}],'eet':[{'dst':false,'offset':7200,'timezone_id':'Europe/Helsinki'},{'dst':true,'offset':10800,'timezone_id':'Asia/Gaza'},{'dst':false,'offset':7200,'timezone_id':'Africa/Cairo'},{'dst':false,'offset':7200,'timezone_id':'Africa/Tripoli'},{'dst':false,'offset':7200,'timezone_id':'Asia/Amman'},{'dst':false,'offset':7200,'timezone_id':'Asia/Beirut'},{'dst':false,'offset':7200,'timezone_id':'Asia/Damascus'},{'dst':false,'offset':7200,'timezone_id':'Asia/Gaza'},{'dst':false,'offset':7200,'timezone_id':'Asia/Istanbul'},{'dst':false,'offset':7200,'timezone_id':'Asia/Nicosia'},{'dst':false,'offset':7200,'timezone_id':'EET'},{'dst':false,'offset':7200,'timezone_id':'Egypt'},{'dst':false,'offset':7200,'timezone_id':'Europe/Athens'},{'dst':false,'offset':7200,'timezone_id':'Europe/Bucharest'},{'dst':false,'offset':7200,'timezone_id':'Europe/Chisinau'},{'dst':false,'offset':7200,'timezone_id':'Europe/Istanbul'},{'dst':false,'offset':7200,'timezone_id':'Europe/Kaliningrad'},{'dst':false,'offset':7200,'timezone_id':'Europe/Kiev'},{'dst':false,'offset':7200,'timezone_id':'Europe/Mariehamn'},{'dst':false,'offset':7200,'timezone_id':'Europe/Minsk'},{'dst':false,'offset':7200,'timezone_id':'Europe/Moscow'},{'dst':false,'offset':7200,'timezone_id':'Europe/Nicosia'},{'dst':false,'offset':7200,'timezone_id':'Europe/Riga'},{'dst':false,'offset':7200,'timezone_id':'Europe/Simferopol'},{'dst':false,'offset':7200,'timezone_id':'Europe/Sofia'},{'dst':false,'offset':7200,'timezone_id':'Europe/Tallinn'},{'dst':false,'offset':7200,'timezone_id':'Europe/Tiraspol'},{'dst':false,'offset':7200,'timezone_id':'Europe/Uzhgorod'},{'dst':false,'offset':7200,'timezone_id':'Europe/Vilnius'},{'dst':false,'offset':7200,'timezone_id':'Europe/Warsaw'},{'dst':false,'offset':7200,'timezone_id':'Europe/Zaporozhye'},{'dst':false,'offset':7200,'timezone_id':'Libya'},{'dst':false,'offset':7200,'timezone_id':'Poland'},{'dst':false,'offset':7200,'timezone_id':'Turkey'},{'dst':false,'offset':7200,'timezone_id':'W-SU'}],'egst':[{'dst':true,'offset':0,'timezone_id':'America/Scoresbysund'}],'egt':[{'dst':false,'offset':-3600,'timezone_id':'America/Scoresbysund'}],'ehdt':[{'dst':true,'offset':-16200,'timezone_id':'America/Santo_Domingo'}],'eit':[{'dst':false,'offset':32400,'timezone_id':'Asia/Jayapura'}],'ept':[{'dst':true,'offset':-14400,'timezone_id':'America/New_York'},{'dst':true,'offset':-14400,'timezone_id':'America/Detroit'},{'dst':true,'offset':-14400,'timezone_id':'America/Iqaluit'},{'dst':true,'offset':-14400,'timezone_id':'America/Montreal'},{'dst':true,'offset':-14400,'timezone_id':'America/Nipigon'},{'dst':true,'offset':-14400,'timezone_id':'America/Thunder_Bay'},{'dst':true,'offset':-14400,'timezone_id':'America/Toronto'},{'dst':true,'offset':-14400,'timezone_id':'Canada/Eastern'},{'dst':true,'offset':-14400,'timezone_id':'EST'},{'dst':true,'offset':-14400,'timezone_id':'EST5EDT'},{'dst':true,'offset':-14400,'timezone_id':'US/Eastern'},{'dst':true,'offset':-14400,'timezone_id':'US/Michigan'}],'est':[{'dst':false,'offset':-18000,'timezone_id':'America/New_York'},{'dst':false,'offset':-18000,'timezone_id':'America/Antigua'},{'dst':false,'offset':-18000,'timezone_id':'America/Atikokan'},{'dst':false,'offset':-18000,'timezone_id':'America/Cambridge_Bay'},{'dst':false,'offset':-18000,'timezone_id':'America/Cancun'},{'dst':false,'offset':-18000,'timezone_id':'America/Cayman'},{'dst':false,'offset':-18000,'timezone_id':'America/Chicago'},{'dst':false,'offset':-18000,'timezone_id':'America/Coral_Harbour'},{'dst':false,'offset':-18000,'timezone_id':'America/Detroit'},{'dst':false,'offset':-18000,'timezone_id':'America/Fort_Wayne'},{'dst':false,'offset':-18000,'timezone_id':'America/Grand_Turk'},{'dst':false,'offset':-18000,'timezone_id':'America/Indiana/Indianapolis'},{'dst':false,'offset':-18000,'timezone_id':'America/Indiana/Knox'},{'dst':false,'offset':-18000,'timezone_id':'America/Indiana/Marengo'},{'dst':false,'offset':-18000,'timezone_id':'America/Indiana/Petersburg'},{'dst':false,'offset':-18000,'timezone_id':'America/Indiana/Vevay'},{'dst':false,'offset':-18000,'timezone_id':'America/Indiana/Vincennes'},{'dst':false,'offset':-18000,'timezone_id':'America/Indiana/Winamac'},{'dst':false,'offset':-18000,'timezone_id':'America/Indianapolis'},{'dst':false,'offset':-18000,'timezone_id':'America/Iqaluit'},{'dst':false,'offset':-18000,'timezone_id':'America/Jamaica'},{'dst':false,'offset':-18000,'timezone_id':'America/Kentucky/Louisville'},{'dst':false,'offset':-18000,'timezone_id':'America/Kentucky/Monticello'},{'dst':false,'offset':-18000,'timezone_id':'America/Knox_IN'},{'dst':false,'offset':-18000,'timezone_id':'America/Louisville'},{'dst':false,'offset':-18000,'timezone_id':'America/Managua'},{'dst':false,'offset':-18000,'timezone_id':'America/Menominee'},{'dst':false,'offset':-18000,'timezone_id':'America/Merida'},{'dst':false,'offset':-18000,'timezone_id':'America/Montreal'},{'dst':false,'offset':-18000,'timezone_id':'America/Nassau'},{'dst':false,'offset':-18000,'timezone_id':'America/Nipigon'},{'dst':false,'offset':-18000,'timezone_id':'America/Panama'},{'dst':false,'offset':-18000,'timezone_id':'America/Pangnirtung'},{'dst':false,'offset':-18000,'timezone_id':'America/Port-au-Prince'},{'dst':false,'offset':-18000,'timezone_id':'America/Rankin_Inlet'},{'dst':false,'offset':-18000,'timezone_id':'America/Santo_Domingo'},{'dst':false,'offset':-18000,'timezone_id':'America/Thunder_Bay'},{'dst':false,'offset':-18000,'timezone_id':'America/Toronto'},{'dst':false,'offset':-18000,'timezone_id':'Canada/Eastern'},{'dst':false,'offset':-18000,'timezone_id':'EST'},{'dst':false,'offset':-18000,'timezone_id':'EST5EDT'},{'dst':false,'offset':-18000,'timezone_id':'Jamaica'},{'dst':false,'offset':-18000,'timezone_id':'US/Central'},{'dst':false,'offset':-18000,'timezone_id':'US/East-Indiana'},{'dst':false,'offset':-18000,'timezone_id':'US/Eastern'},{'dst':false,'offset':-18000,'timezone_id':'US/Indiana-Starke'},{'dst':false,'offset':-18000,'timezone_id':'US/Michigan'},{'dst':false,'offset':36000,'timezone_id':'Australia/ACT'},{'dst':false,'offset':36000,'timezone_id':'Australia/Brisbane'},{'dst':false,'offset':36000,'timezone_id':'Australia/Canberra'},{'dst':false,'offset':36000,'timezone_id':'Australia/Currie'},{'dst':false,'offset':36000,'timezone_id':'Australia/Hobart'},{'dst':false,'offset':36000,'timezone_id':'Australia/Lindeman'},{'dst':false,'offset':36000,'timezone_id':'Australia/Melbourne'},{'dst':false,'offset':36000,'timezone_id':'Australia/NSW'},{'dst':false,'offset':36000,'timezone_id':'Australia/Queensland'},{'dst':false,'offset':36000,'timezone_id':'Australia/Sydney'},{'dst':false,'offset':36000,'timezone_id':'Australia/Tasmania'},{'dst':false,'offset':36000,'timezone_id':'Australia/Victoria'},{'dst':true,'offset':39600,'timezone_id':'Australia/Melbourne'},{'dst':true,'offset':39600,'timezone_id':'Australia/ACT'},{'dst':true,'offset':39600,'timezone_id':'Australia/Brisbane'},{'dst':true,'offset':39600,'timezone_id':'Australia/Canberra'},{'dst':true,'offset':39600,'timezone_id':'Australia/Currie'},{'dst':true,'offset':39600,'timezone_id':'Australia/Hobart'},{'dst':true,'offset':39600,'timezone_id':'Australia/Lindeman'},{'dst':true,'offset':39600,'timezone_id':'Australia/NSW'},{'dst':true,'offset':39600,'timezone_id':'Australia/Queensland'},{'dst':true,'offset':39600,'timezone_id':'Australia/Sydney'},{'dst':true,'offset':39600,'timezone_id':'Australia/Tasmania'},{'dst':true,'offset':39600,'timezone_id':'Australia/Victoria'}],'ewt':[{'dst':true,'offset':-14400,'timezone_id':'America/New_York'},{'dst':true,'offset':-14400,'timezone_id':'America/Detroit'},{'dst':true,'offset':-14400,'timezone_id':'America/Iqaluit'},{'dst':true,'offset':-14400,'timezone_id':'America/Montreal'},{'dst':true,'offset':-14400,'timezone_id':'America/Nipigon'},{'dst':true,'offset':-14400,'timezone_id':'America/Thunder_Bay'},{'dst':true,'offset':-14400,'timezone_id':'America/Toronto'},{'dst':true,'offset':-14400,'timezone_id':'Canada/Eastern'},{'dst':true,'offset':-14400,'timezone_id':'EST'},{'dst':true,'offset':-14400,'timezone_id':'EST5EDT'},{'dst':true,'offset':-14400,'timezone_id':'US/Eastern'},{'dst':true,'offset':-14400,'timezone_id':'US/Michigan'}],'fjst':[{'dst':true,'offset':46800,'timezone_id':'Pacific/Fiji'}],'fjt':[{'dst':false,'offset':43200,'timezone_id':'Pacific/Fiji'}],'fkst':[{'dst':true,'offset':-10800,'timezone_id':'Atlantic/Stanley'},{'dst':true,'offset':-7200,'timezone_id':'Atlantic/Stanley'}],'fkt':[{'dst':false,'offset':-10800,'timezone_id':'Atlantic/Stanley'},{'dst':false,'offset':-14400,'timezone_id':'Atlantic/Stanley'}],'fnst':[{'dst':true,'offset':-3600,'timezone_id':'America/Noronha'},{'dst':true,'offset':-3600,'timezone_id':'Brazil/DeNoronha'}],'fnt':[{'dst':false,'offset':-7200,'timezone_id':'America/Noronha'},{'dst':false,'offset':-7200,'timezone_id':'Brazil/DeNoronha'}],'fort':[{'dst':false,'offset':14400,'timezone_id':'Asia/Aqtau'},{'dst':false,'offset':18000,'timezone_id':'Asia/Aqtau'}],'frust':[{'dst':true,'offset':21600,'timezone_id':'Asia/Bishkek'},{'dst':true,'offset':25200,'timezone_id':'Asia/Bishkek'}],'frut':[{'dst':false,'offset':18000,'timezone_id':'Asia/Bishkek'},{'dst':false,'offset':21600,'timezone_id':'Asia/Bishkek'}],'galt':[{'dst':false,'offset':-21600,'timezone_id':'Pacific/Galapagos'}],'gamt':[{'dst':false,'offset':-32400,'timezone_id':'Pacific/Gambier'}],'gbgt':[{'dst':false,'offset':-13500,'timezone_id':'America/Guyana'}],'gest':[{'dst':true,'offset':14400,'timezone_id':'Asia/Tbilisi'},{'dst':true,'offset':18000,'timezone_id':'Asia/Tbilisi'}],'get':[{'dst':false,'offset':10800,'timezone_id':'Asia/Tbilisi'},{'dst':false,'offset':14400,'timezone_id':'Asia/Tbilisi'}],'gft':[{'dst':false,'offset':-10800,'timezone_id':'America/Cayenne'},{'dst':false,'offset':-14400,'timezone_id':'America/Cayenne'}],'ghst':[{'dst':true,'offset':1200,'timezone_id':'Africa/Accra'}],'gmt':[{'dst':false,'offset':0,'timezone_id':'Africa/Abidjan'},{'dst':false,'offset':0,'timezone_id':'Africa/Accra'},{'dst':false,'offset':0,'timezone_id':'Africa/Bamako'},{'dst':false,'offset':0,'timezone_id':'Africa/Banjul'},{'dst':false,'offset':0,'timezone_id':'Africa/Bissau'},{'dst':false,'offset':0,'timezone_id':'Africa/Conakry'},{'dst':false,'offset':0,'timezone_id':'Africa/Dakar'},{'dst':false,'offset':0,'timezone_id':'Africa/Freetown'},{'dst':false,'offset':0,'timezone_id':'Africa/Malabo'},{'dst':false,'offset':0,'timezone_id':'Africa/Monrovia'},{'dst':false,'offset':0,'timezone_id':'Africa/Niamey'},{'dst':false,'offset':0,'timezone_id':'Africa/Nouakchott'},{'dst':false,'offset':0,'timezone_id':'Africa/Ouagadougou'},{'dst':false,'offset':0,'timezone_id':'Africa/Porto-Novo'},{'dst':false,'offset':0,'timezone_id':'Africa/Sao_Tome'},{'dst':false,'offset':0,'timezone_id':'Africa/Timbuktu'},{'dst':false,'offset':0,'timezone_id':'America/Danmarkshavn'},{'dst':false,'offset':0,'timezone_id':'Atlantic/Reykjavik'},{'dst':false,'offset':0,'timezone_id':'Atlantic/St_Helena'},{'dst':false,'offset':0,'timezone_id':'Eire'},{'dst':false,'offset':0,'timezone_id':'Europe/Belfast'},{'dst':false,'offset':0,'timezone_id':'Europe/Dublin'},{'dst':false,'offset':0,'timezone_id':'Europe/Gibraltar'},{'dst':false,'offset':0,'timezone_id':'Europe/Guernsey'},{'dst':false,'offset':0,'timezone_id':'Europe/Isle_of_Man'},{'dst':false,'offset':0,'timezone_id':'Europe/Jersey'},{'dst':false,'offset':0,'timezone_id':'Europe/London'},{'dst':false,'offset':0,'timezone_id':'GB'},{'dst':false,'offset':0,'timezone_id':'GB-Eire'},{'dst':false,'offset':0,'timezone_id':'Iceland'}],'gst':[{'dst':false,'offset':14400,'timezone_id':'Asia/Dubai'},{'dst':false,'offset':14400,'timezone_id':'Asia/Bahrain'},{'dst':false,'offset':14400,'timezone_id':'Asia/Muscat'},{'dst':false,'offset':14400,'timezone_id':'Asia/Qatar'}],'gyt':[{'dst':false,'offset':-10800,'timezone_id':'America/Guyana'},{'dst':false,'offset':-13500,'timezone_id':'America/Guyana'},{'dst':false,'offset':-14400,'timezone_id':'America/Guyana'}],'hadt':[{'dst':true,'offset':-32400,'timezone_id':'America/Adak'},{'dst':true,'offset':-32400,'timezone_id':'America/Atka'},{'dst':true,'offset':-32400,'timezone_id':'US/Aleutian'}],'hast':[{'dst':false,'offset':-36000,'timezone_id':'America/Adak'},{'dst':false,'offset':-36000,'timezone_id':'America/Atka'},{'dst':false,'offset':-36000,'timezone_id':'US/Aleutian'}],'hdt':[{'dst':true,'offset':-34200,'timezone_id':'Pacific/Honolulu'},{'dst':true,'offset':-34200,'timezone_id':'HST'},{'dst':true,'offset':-34200,'timezone_id':'US/Hawaii'}],'hkst':[{'dst':true,'offset':32400,'timezone_id':'Asia/Hong_Kong'},{'dst':true,'offset':32400,'timezone_id':'Hongkong'}],'hkt':[{'dst':false,'offset':28800,'timezone_id':'Asia/Hong_Kong'},{'dst':false,'offset':28800,'timezone_id':'Hongkong'}],'hovst':[{'dst':true,'offset':28800,'timezone_id':'Asia/Hovd'}],'hovt':[{'dst':false,'offset':21600,'timezone_id':'Asia/Hovd'},{'dst':false,'offset':25200,'timezone_id':'Asia/Hovd'}],'hpt':[{'dst':true,'offset':-34200,'timezone_id':'Pacific/Honolulu'},{'dst':true,'offset':-34200,'timezone_id':'HST'},{'dst':true,'offset':-34200,'timezone_id':'US/Hawaii'}],'hst':[{'dst':false,'offset':-36000,'timezone_id':'Pacific/Honolulu'},{'dst':false,'offset':-37800,'timezone_id':'Pacific/Honolulu'},{'dst':false,'offset':-36000,'timezone_id':'HST'},{'dst':false,'offset':-36000,'timezone_id':'US/Hawaii'},{'dst':false,'offset':-37800,'timezone_id':'HST'},{'dst':false,'offset':-37800,'timezone_id':'US/Hawaii'}],'hwt':[{'dst':true,'offset':-34200,'timezone_id':'Pacific/Honolulu'},{'dst':true,'offset':-34200,'timezone_id':'HST'},{'dst':true,'offset':-34200,'timezone_id':'US/Hawaii'}],'ict':[{'dst':false,'offset':25200,'timezone_id':'Asia/Bangkok'},{'dst':false,'offset':25200,'timezone_id':'Asia/Phnom_Penh'},{'dst':false,'offset':25200,'timezone_id':'Asia/Saigon'},{'dst':false,'offset':25200,'timezone_id':'Asia/Vientiane'},{'dst':false,'offset':28800,'timezone_id':'Asia/Phnom_Penh'},{'dst':false,'offset':28800,'timezone_id':'Asia/Saigon'},{'dst':false,'offset':28800,'timezone_id':'Asia/Vientiane'}],'iddt':[{'dst':true,'offset':14400,'timezone_id':'Asia/Jerusalem'},{'dst':true,'offset':14400,'timezone_id':'Asia/Tel_Aviv'},{'dst':true,'offset':14400,'timezone_id':'Israel'}],'idt':[{'dst':true,'offset':10800,'timezone_id':'Asia/Jerusalem'},{'dst':true,'offset':10800,'timezone_id':'Asia/Gaza'},{'dst':true,'offset':10800,'timezone_id':'Asia/Tel_Aviv'},{'dst':true,'offset':10800,'timezone_id':'Israel'}],'ihst':[{'dst':true,'offset':21600,'timezone_id':'Asia/Colombo'}],'iot':[{'dst':false,'offset':18000,'timezone_id':'Indian/Chagos'},{'dst':false,'offset':21600,'timezone_id':'Indian/Chagos'}],'irdt':[{'dst':true,'offset':16200,'timezone_id':'Asia/Tehran'},{'dst':true,'offset':18000,'timezone_id':'Asia/Tehran'},{'dst':true,'offset':16200,'timezone_id':'Iran'},{'dst':true,'offset':18000,'timezone_id':'Iran'}],'irkst':[{'dst':true,'offset':28800,'timezone_id':'Asia/Irkutsk'},{'dst':true,'offset':32400,'timezone_id':'Asia/Irkutsk'}],'irkt':[{'dst':false,'offset':25200,'timezone_id':'Asia/Irkutsk'},{'dst':false,'offset':28800,'timezone_id':'Asia/Irkutsk'}],'irst':[{'dst':false,'offset':12600,'timezone_id':'Asia/Tehran'},{'dst':false,'offset':14400,'timezone_id':'Asia/Tehran'},{'dst':false,'offset':12600,'timezone_id':'Iran'},{'dst':false,'offset':14400,'timezone_id':'Iran'}],'isst':[{'dst':true,'offset':0,'timezone_id':'Atlantic/Reykjavik'},{'dst':true,'offset':0,'timezone_id':'Iceland'}],'ist':[{'dst':false,'offset':7200,'timezone_id':'Asia/Jerusalem'},{'dst':false,'offset':-3600,'timezone_id':'Atlantic/Reykjavik'},{'dst':false,'offset':-3600,'timezone_id':'Iceland'},{'dst':false,'offset':19800,'timezone_id':'Asia/Calcutta'},{'dst':false,'offset':19800,'timezone_id':'Asia/Colombo'},{'dst':false,'offset':19800,'timezone_id':'Asia/Dacca'},{'dst':false,'offset':19800,'timezone_id':'Asia/Dhaka'},{'dst':false,'offset':19800,'timezone_id':'Asia/Karachi'},{'dst':false,'offset':19800,'timezone_id':'Asia/Katmandu'},{'dst':false,'offset':19800,'timezone_id':'Asia/Thimbu'},{'dst':false,'offset':19800,'timezone_id':'Asia/Thimphu'},{'dst':true,'offset':2079,'timezone_id':'Eire'},{'dst':true,'offset':2079,'timezone_id':'Europe/Dublin'},{'dst':true,'offset':23400,'timezone_id':'Asia/Calcutta'},{'dst':true,'offset':23400,'timezone_id':'Asia/Colombo'},{'dst':true,'offset':23400,'timezone_id':'Asia/Karachi'},{'dst':false,'offset':3600,'timezone_id':'Eire'},{'dst':false,'offset':3600,'timezone_id':'Europe/Dublin'},{'dst':true,'offset':3600,'timezone_id':'Eire'},{'dst':true,'offset':3600,'timezone_id':'Europe/Dublin'},{'dst':false,'offset':7200,'timezone_id':'Asia/Gaza'},{'dst':false,'offset':7200,'timezone_id':'Asia/Tel_Aviv'},{'dst':false,'offset':7200,'timezone_id':'Israel'}],'javt':[{'dst':false,'offset':26400,'timezone_id':'Asia/Jakarta'}],'jdt':[{'dst':true,'offset':36000,'timezone_id':'Asia/Tokyo'},{'dst':true,'offset':36000,'timezone_id':'Japan'}],'jst':[{'dst':false,'offset':32400,'timezone_id':'Asia/Tokyo'},{'dst':false,'offset':32400,'timezone_id':'Asia/Dili'},{'dst':false,'offset':32400,'timezone_id':'Asia/Jakarta'},{'dst':false,'offset':32400,'timezone_id':'Asia/Kuala_Lumpur'},{'dst':false,'offset':32400,'timezone_id':'Asia/Kuching'},{'dst':false,'offset':32400,'timezone_id':'Asia/Makassar'},{'dst':false,'offset':32400,'timezone_id':'Asia/Manila'},{'dst':false,'offset':32400,'timezone_id':'Asia/Pontianak'},{'dst':false,'offset':32400,'timezone_id':'Asia/Rangoon'},{'dst':false,'offset':32400,'timezone_id':'Asia/Sakhalin'},{'dst':false,'offset':32400,'timezone_id':'Asia/Singapore'},{'dst':false,'offset':32400,'timezone_id':'Asia/Ujung_Pandang'},{'dst':false,'offset':32400,'timezone_id':'Japan'},{'dst':false,'offset':32400,'timezone_id':'Pacific/Nauru'},{'dst':false,'offset':32400,'timezone_id':'Singapore'}],'kart':[{'dst':false,'offset':18000,'timezone_id':'Asia/Karachi'}],'kast':[{'dst':false,'offset':18000,'timezone_id':'Asia/Kashgar'},{'dst':false,'offset':19800,'timezone_id':'Asia/Kashgar'}],'kdt':[{'dst':true,'offset':32400,'timezone_id':'Asia/Seoul'},{'dst':true,'offset':36000,'timezone_id':'Asia/Seoul'},{'dst':true,'offset':32400,'timezone_id':'ROK'},{'dst':true,'offset':36000,'timezone_id':'ROK'}],'kgst':[{'dst':true,'offset':21600,'timezone_id':'Asia/Bishkek'}],'kgt':[{'dst':false,'offset':18000,'timezone_id':'Asia/Bishkek'},{'dst':false,'offset':21600,'timezone_id':'Asia/Bishkek'}],'kizst':[{'dst':true,'offset':21600,'timezone_id':'Asia/Qyzylorda'}],'kizt':[{'dst':false,'offset':14400,'timezone_id':'Asia/Qyzylorda'},{'dst':false,'offset':18000,'timezone_id':'Asia/Qyzylorda'},{'dst':false,'offset':21600,'timezone_id':'Asia/Qyzylorda'}],'kmt':[{'dst':false,'offset':5736,'timezone_id':'Europe/Vilnius'}],'kost':[{'dst':false,'offset':39600,'timezone_id':'Pacific/Kosrae'},{'dst':false,'offset':43200,'timezone_id':'Pacific/Kosrae'}],'krast':[{'dst':true,'offset':25200,'timezone_id':'Asia/Krasnoyarsk'},{'dst':true,'offset':28800,'timezone_id':'Asia/Krasnoyarsk'}],'krat':[{'dst':false,'offset':21600,'timezone_id':'Asia/Krasnoyarsk'},{'dst':false,'offset':25200,'timezone_id':'Asia/Krasnoyarsk'}],'kst':[{'dst':false,'offset':28800,'timezone_id':'Asia/Seoul'},{'dst':false,'offset':30600,'timezone_id':'Asia/Seoul'},{'dst':false,'offset':32400,'timezone_id':'Asia/Seoul'},{'dst':false,'offset':28800,'timezone_id':'Asia/Pyongyang'},{'dst':false,'offset':28800,'timezone_id':'ROK'},{'dst':false,'offset':30600,'timezone_id':'Asia/Pyongyang'},{'dst':false,'offset':30600,'timezone_id':'ROK'},{'dst':false,'offset':32400,'timezone_id':'Asia/Pyongyang'},{'dst':false,'offset':32400,'timezone_id':'ROK'}],'kuyst':[{'dst':true,'offset':10800,'timezone_id':'Europe/Samara'},{'dst':true,'offset':14400,'timezone_id':'Europe/Samara'},{'dst':true,'offset':18000,'timezone_id':'Europe/Samara'}],'kuyt':[{'dst':false,'offset':10800,'timezone_id':'Europe/Samara'},{'dst':false,'offset':14400,'timezone_id':'Europe/Samara'}],'kwat':[{'dst':false,'offset':-43200,'timezone_id':'Pacific/Kwajalein'},{'dst':false,'offset':-43200,'timezone_id':'Kwajalein'}],'lhst':[{'dst':false,'offset':37800,'timezone_id':'Australia/Lord_Howe'},{'dst':true,'offset':39600,'timezone_id':'Australia/Lord_Howe'},{'dst':true,'offset':41400,'timezone_id':'Australia/Lord_Howe'},{'dst':false,'offset':37800,'timezone_id':'Australia/LHI'},{'dst':true,'offset':39600,'timezone_id':'Australia/LHI'},{'dst':true,'offset':41400,'timezone_id':'Australia/LHI'}],'lint':[{'dst':false,'offset':-36000,'timezone_id':'Pacific/Kiritimati'},{'dst':false,'offset':50400,'timezone_id':'Pacific/Kiritimati'}],'lkt':[{'dst':false,'offset':21600,'timezone_id':'Asia/Colombo'},{'dst':false,'offset':23400,'timezone_id':'Asia/Colombo'}],'lont':[{'dst':false,'offset':25200,'timezone_id':'Asia/Chongqing'},{'dst':false,'offset':25200,'timezone_id':'Asia/Chungking'}],'lrt':[{'dst':false,'offset':-2670,'timezone_id':'Africa/Monrovia'}],'lst':[{'dst':true,'offset':9384,'timezone_id':'Europe/Riga'}],'madmt':[{'dst':true,'offset':3600,'timezone_id':'Atlantic/Madeira'}],'madst':[{'dst':true,'offset':0,'timezone_id':'Atlantic/Madeira'}],'madt':[{'dst':false,'offset':-3600,'timezone_id':'Atlantic/Madeira'}],'magst':[{'dst':true,'offset':39600,'timezone_id':'Asia/Magadan'},{'dst':true,'offset':43200,'timezone_id':'Asia/Magadan'}],'magt':[{'dst':false,'offset':36000,'timezone_id':'Asia/Magadan'},{'dst':false,'offset':39600,'timezone_id':'Asia/Magadan'}],'malst':[{'dst':true,'offset':26400,'timezone_id':'Asia/Singapore'},{'dst':true,'offset':26400,'timezone_id':'Asia/Kuala_Lumpur'},{'dst':true,'offset':26400,'timezone_id':'Singapore'}],'malt':[{'dst':false,'offset':25200,'timezone_id':'Asia/Singapore'},{'dst':false,'offset':26400,'timezone_id':'Asia/Singapore'},{'dst':false,'offset':27000,'timezone_id':'Asia/Singapore'},{'dst':false,'offset':25200,'timezone_id':'Asia/Kuala_Lumpur'},{'dst':false,'offset':25200,'timezone_id':'Singapore'},{'dst':false,'offset':26400,'timezone_id':'Asia/Kuala_Lumpur'},{'dst':false,'offset':26400,'timezone_id':'Singapore'},{'dst':false,'offset':27000,'timezone_id':'Asia/Kuala_Lumpur'},{'dst':false,'offset':27000,'timezone_id':'Singapore'}],'mart':[{'dst':false,'offset':-34200,'timezone_id':'Pacific/Marquesas'}],'mawt':[{'dst':false,'offset':21600,'timezone_id':'Antarctica/Mawson'}],'mddt':[{'dst':true,'offset':-18000,'timezone_id':'America/Cambridge_Bay'},{'dst':true,'offset':-18000,'timezone_id':'America/Yellowknife'}],'mdst':[{'dst':true,'offset':16248,'timezone_id':'Europe/Moscow'},{'dst':true,'offset':16248,'timezone_id':'W-SU'}],'mdt':[{'dst':true,'offset':-21600,'timezone_id':'America/Denver'},{'dst':true,'offset':-21600,'timezone_id':'America/Boise'},{'dst':true,'offset':-21600,'timezone_id':'America/Cambridge_Bay'},{'dst':true,'offset':-21600,'timezone_id':'America/Chihuahua'},{'dst':true,'offset':-21600,'timezone_id':'America/Edmonton'},{'dst':true,'offset':-21600,'timezone_id':'America/Hermosillo'},{'dst':true,'offset':-21600,'timezone_id':'America/Inuvik'},{'dst':true,'offset':-21600,'timezone_id':'America/Mazatlan'},{'dst':true,'offset':-21600,'timezone_id':'America/North_Dakota/Center'},{'dst':true,'offset':-21600,'timezone_id':'America/North_Dakota/New_Salem'},{'dst':true,'offset':-21600,'timezone_id':'America/Phoenix'},{'dst':true,'offset':-21600,'timezone_id':'America/Regina'},{'dst':true,'offset':-21600,'timezone_id':'America/Shiprock'},{'dst':true,'offset':-21600,'timezone_id':'America/Swift_Current'},{'dst':true,'offset':-21600,'timezone_id':'America/Yellowknife'},{'dst':true,'offset':-21600,'timezone_id':'Canada/East-Saskatchewan'},{'dst':true,'offset':-21600,'timezone_id':'Canada/Mountain'},{'dst':true,'offset':-21600,'timezone_id':'Canada/Saskatchewan'},{'dst':true,'offset':-21600,'timezone_id':'Mexico/BajaSur'},{'dst':true,'offset':-21600,'timezone_id':'MST'},{'dst':true,'offset':-21600,'timezone_id':'MST7MDT'},{'dst':true,'offset':-21600,'timezone_id':'Navajo'},{'dst':true,'offset':-21600,'timezone_id':'US/Arizona'},{'dst':true,'offset':-21600,'timezone_id':'US/Mountain'}],'mest':[{'dst':true,'offset':7200,'timezone_id':'MET'}],'met':[{'dst':false,'offset':3600,'timezone_id':'MET'}],'mht':[{'dst':false,'offset':43200,'timezone_id':'Pacific/Kwajalein'},{'dst':false,'offset':43200,'timezone_id':'Kwajalein'},{'dst':false,'offset':43200,'timezone_id':'Pacific/Majuro'}],'mmt':[{'dst':false,'offset':9048,'timezone_id':'Europe/Moscow'},{'dst':false,'offset':23400,'timezone_id':'Asia/Rangoon'},{'dst':false,'offset':28656,'timezone_id':'Asia/Makassar'},{'dst':false,'offset':28656,'timezone_id':'Asia/Ujung_Pandang'},{'dst':false,'offset':9048,'timezone_id':'W-SU'}],'most':[{'dst':true,'offset':32400,'timezone_id':'Asia/Macao'},{'dst':true,'offset':32400,'timezone_id':'Asia/Macau'}],'mot':[{'dst':false,'offset':28800,'timezone_id':'Asia/Macao'},{'dst':false,'offset':28800,'timezone_id':'Asia/Macau'}],'mpt':[{'dst':true,'offset':-21600,'timezone_id':'America/Denver'},{'dst':true,'offset':-21600,'timezone_id':'America/Boise'},{'dst':true,'offset':-21600,'timezone_id':'America/Cambridge_Bay'},{'dst':true,'offset':-21600,'timezone_id':'America/Edmonton'},{'dst':true,'offset':-21600,'timezone_id':'America/North_Dakota/Center'},{'dst':true,'offset':-21600,'timezone_id':'America/North_Dakota/New_Salem'},{'dst':true,'offset':-21600,'timezone_id':'America/Regina'},{'dst':true,'offset':-21600,'timezone_id':'America/Shiprock'},{'dst':true,'offset':-21600,'timezone_id':'America/Swift_Current'},{'dst':true,'offset':-21600,'timezone_id':'America/Yellowknife'},{'dst':true,'offset':-21600,'timezone_id':'Canada/East-Saskatchewan'},{'dst':true,'offset':-21600,'timezone_id':'Canada/Mountain'},{'dst':true,'offset':-21600,'timezone_id':'Canada/Saskatchewan'},{'dst':true,'offset':-21600,'timezone_id':'MST'},{'dst':true,'offset':-21600,'timezone_id':'MST7MDT'},{'dst':true,'offset':-21600,'timezone_id':'Navajo'},{'dst':true,'offset':-21600,'timezone_id':'US/Mountain'},{'dst':false,'offset':36000,'timezone_id':'Pacific/Saipan'}],'msd':[{'dst':true,'offset':14400,'timezone_id':'Europe/Moscow'},{'dst':true,'offset':18000,'timezone_id':'Europe/Moscow'},{'dst':true,'offset':14400,'timezone_id':'Europe/Chisinau'},{'dst':true,'offset':14400,'timezone_id':'Europe/Kaliningrad'},{'dst':true,'offset':14400,'timezone_id':'Europe/Kiev'},{'dst':true,'offset':14400,'timezone_id':'Europe/Minsk'},{'dst':true,'offset':14400,'timezone_id':'Europe/Riga'},{'dst':true,'offset':14400,'timezone_id':'Europe/Simferopol'},{'dst':true,'offset':14400,'timezone_id':'Europe/Tallinn'},{'dst':true,'offset':14400,'timezone_id':'Europe/Tiraspol'},{'dst':true,'offset':14400,'timezone_id':'Europe/Uzhgorod'},{'dst':true,'offset':14400,'timezone_id':'Europe/Vilnius'},{'dst':true,'offset':14400,'timezone_id':'Europe/Zaporozhye'},{'dst':true,'offset':14400,'timezone_id':'W-SU'},{'dst':true,'offset':18000,'timezone_id':'W-SU'}],'msk':[{'dst':false,'offset':10800,'timezone_id':'Europe/Moscow'},{'dst':false,'offset':10800,'timezone_id':'Europe/Chisinau'},{'dst':false,'offset':10800,'timezone_id':'Europe/Kaliningrad'},{'dst':false,'offset':10800,'timezone_id':'Europe/Kiev'},{'dst':false,'offset':10800,'timezone_id':'Europe/Minsk'},{'dst':false,'offset':10800,'timezone_id':'Europe/Riga'},{'dst':false,'offset':10800,'timezone_id':'Europe/Simferopol'},{'dst':false,'offset':10800,'timezone_id':'Europe/Tallinn'},{'dst':false,'offset':10800,'timezone_id':'Europe/Tiraspol'},{'dst':false,'offset':10800,'timezone_id':'Europe/Uzhgorod'},{'dst':false,'offset':10800,'timezone_id':'Europe/Vilnius'},{'dst':false,'offset':10800,'timezone_id':'Europe/Zaporozhye'},{'dst':false,'offset':10800,'timezone_id':'W-SU'}],'mst':[{'dst':false,'offset':-25200,'timezone_id':'America/Denver'},{'dst':false,'offset':-25200,'timezone_id':'America/Boise'},{'dst':false,'offset':-25200,'timezone_id':'America/Cambridge_Bay'},{'dst':false,'offset':-25200,'timezone_id':'America/Chihuahua'},{'dst':false,'offset':-25200,'timezone_id':'America/Dawson_Creek'},{'dst':false,'offset':-25200,'timezone_id':'America/Edmonton'},{'dst':false,'offset':-25200,'timezone_id':'America/Ensenada'},{'dst':false,'offset':-25200,'timezone_id':'America/Hermosillo'},{'dst':false,'offset':-25200,'timezone_id':'America/Inuvik'},{'dst':false,'offset':-25200,'timezone_id':'America/Mazatlan'},{'dst':false,'offset':-25200,'timezone_id':'America/Mexico_City'},{'dst':false,'offset':-25200,'timezone_id':'America/North_Dakota/Center'},{'dst':false,'offset':-25200,'timezone_id':'America/North_Dakota/New_Salem'},{'dst':false,'offset':-25200,'timezone_id':'America/Phoenix'},{'dst':false,'offset':-25200,'timezone_id':'America/Regina'},{'dst':false,'offset':-25200,'timezone_id':'America/Shiprock'},{'dst':false,'offset':-25200,'timezone_id':'America/Swift_Current'},{'dst':false,'offset':-25200,'timezone_id':'America/Tijuana'},{'dst':false,'offset':-25200,'timezone_id':'America/Yellowknife'},{'dst':false,'offset':-25200,'timezone_id':'Canada/East-Saskatchewan'},{'dst':false,'offset':-25200,'timezone_id':'Canada/Mountain'},{'dst':false,'offset':-25200,'timezone_id':'Canada/Saskatchewan'},{'dst':false,'offset':-25200,'timezone_id':'Mexico/BajaNorte'},{'dst':false,'offset':-25200,'timezone_id':'Mexico/BajaSur'},{'dst':false,'offset':-25200,'timezone_id':'Mexico/General'},{'dst':false,'offset':-25200,'timezone_id':'MST'},{'dst':false,'offset':-25200,'timezone_id':'MST7MDT'},{'dst':false,'offset':-25200,'timezone_id':'Navajo'},{'dst':false,'offset':-25200,'timezone_id':'US/Arizona'},{'dst':false,'offset':-25200,'timezone_id':'US/Mountain'},{'dst':true,'offset':12648,'timezone_id':'Europe/Moscow'},{'dst':true,'offset':12648,'timezone_id':'W-SU'}],'mut':[{'dst':false,'offset':14400,'timezone_id':'Indian/Mauritius'}],'mvt':[{'dst':false,'offset':18000,'timezone_id':'Indian/Maldives'}],'mwt':[{'dst':true,'offset':-21600,'timezone_id':'America/Denver'},{'dst':true,'offset':-21600,'timezone_id':'America/Boise'},{'dst':true,'offset':-21600,'timezone_id':'America/Cambridge_Bay'},{'dst':true,'offset':-21600,'timezone_id':'America/Edmonton'},{'dst':true,'offset':-21600,'timezone_id':'America/North_Dakota/Center'},{'dst':true,'offset':-21600,'timezone_id':'America/North_Dakota/New_Salem'},{'dst':true,'offset':-21600,'timezone_id':'America/Phoenix'},{'dst':true,'offset':-21600,'timezone_id':'America/Regina'},{'dst':true,'offset':-21600,'timezone_id':'America/Shiprock'},{'dst':true,'offset':-21600,'timezone_id':'America/Swift_Current'},{'dst':true,'offset':-21600,'timezone_id':'America/Yellowknife'},{'dst':true,'offset':-21600,'timezone_id':'Canada/East-Saskatchewan'},{'dst':true,'offset':-21600,'timezone_id':'Canada/Mountain'},{'dst':true,'offset':-21600,'timezone_id':'Canada/Saskatchewan'},{'dst':true,'offset':-21600,'timezone_id':'MST'},{'dst':true,'offset':-21600,'timezone_id':'MST7MDT'},{'dst':true,'offset':-21600,'timezone_id':'Navajo'},{'dst':true,'offset':-21600,'timezone_id':'US/Arizona'},{'dst':true,'offset':-21600,'timezone_id':'US/Mountain'}],'myt':[{'dst':false,'offset':28800,'timezone_id':'Asia/Kuala_Lumpur'},{'dst':false,'offset':28800,'timezone_id':'Asia/Kuching'}],'ncst':[{'dst':true,'offset':43200,'timezone_id':'Pacific/Noumea'}],'nct':[{'dst':false,'offset':39600,'timezone_id':'Pacific/Noumea'}],'nddt':[{'dst':true,'offset':-5400,'timezone_id':'America/St_Johns'},{'dst':true,'offset':-5400,'timezone_id':'Canada/Newfoundland'}],'ndt':[{'dst':true,'offset':-9000,'timezone_id':'America/St_Johns'},{'dst':true,'offset':-9052,'timezone_id':'America/St_Johns'},{'dst':true,'offset':-36000,'timezone_id':'Pacific/Midway'},{'dst':true,'offset':-9000,'timezone_id':'America/Goose_Bay'},{'dst':true,'offset':-9000,'timezone_id':'Canada/Newfoundland'},{'dst':true,'offset':-9052,'timezone_id':'America/Goose_Bay'},{'dst':true,'offset':-9052,'timezone_id':'Canada/Newfoundland'}],'negt':[{'dst':false,'offset':-12600,'timezone_id':'America/Paramaribo'}],'nest':[{'dst':true,'offset':4800,'timezone_id':'Europe/Amsterdam'}],'net':[{'dst':false,'offset':1200,'timezone_id':'Europe/Amsterdam'}],'nft':[{'dst':false,'offset':41400,'timezone_id':'Pacific/Norfolk'}],'novst':[{'dst':true,'offset':25200,'timezone_id':'Asia/Novosibirsk'},{'dst':true,'offset':28800,'timezone_id':'Asia/Novosibirsk'}],'novt':[{'dst':false,'offset':21600,'timezone_id':'Asia/Novosibirsk'},{'dst':false,'offset':25200,'timezone_id':'Asia/Novosibirsk'}],'npt':[{'dst':true,'offset':-9000,'timezone_id':'America/St_Johns'},{'dst':true,'offset':-36000,'timezone_id':'America/Adak'},{'dst':true,'offset':-36000,'timezone_id':'America/Atka'},{'dst':true,'offset':-36000,'timezone_id':'America/Nome'},{'dst':true,'offset':-36000,'timezone_id':'US/Aleutian'},{'dst':true,'offset':-9000,'timezone_id':'America/Goose_Bay'},{'dst':true,'offset':-9000,'timezone_id':'Canada/Newfoundland'},{'dst':false,'offset':20700,'timezone_id':'Asia/Katmandu'}],'nrt':[{'dst':false,'offset':41400,'timezone_id':'Pacific/Nauru'},{'dst':false,'offset':43200,'timezone_id':'Pacific/Nauru'}],'nst':[{'dst':false,'offset':-12600,'timezone_id':'America/St_Johns'},{'dst':false,'offset':-12652,'timezone_id':'America/St_Johns'},{'dst':false,'offset':-12600,'timezone_id':'America/Goose_Bay'},{'dst':false,'offset':-12600,'timezone_id':'Canada/Newfoundland'},{'dst':false,'offset':-12652,'timezone_id':'America/Goose_Bay'},{'dst':false,'offset':-12652,'timezone_id':'Canada/Newfoundland'},{'dst':false,'offset':-39600,'timezone_id':'America/Adak'},{'dst':false,'offset':-39600,'timezone_id':'America/Atka'},{'dst':false,'offset':-39600,'timezone_id':'America/Nome'},{'dst':false,'offset':-39600,'timezone_id':'Pacific/Midway'},{'dst':false,'offset':-39600,'timezone_id':'Pacific/Pago_Pago'},{'dst':false,'offset':-39600,'timezone_id':'Pacific/Samoa'},{'dst':false,'offset':-39600,'timezone_id':'US/Aleutian'},{'dst':false,'offset':-39600,'timezone_id':'US/Samoa'},{'dst':true,'offset':4772,'timezone_id':'Europe/Amsterdam'}],'nut':[{'dst':false,'offset':-39600,'timezone_id':'Pacific/Niue'},{'dst':false,'offset':-41400,'timezone_id':'Pacific/Niue'}],'nwt':[{'dst':true,'offset':-9000,'timezone_id':'America/St_Johns'},{'dst':true,'offset':-36000,'timezone_id':'America/Adak'},{'dst':true,'offset':-36000,'timezone_id':'America/Atka'},{'dst':true,'offset':-36000,'timezone_id':'America/Nome'},{'dst':true,'offset':-36000,'timezone_id':'US/Aleutian'},{'dst':true,'offset':-9000,'timezone_id':'America/Goose_Bay'},{'dst':true,'offset':-9000,'timezone_id':'Canada/Newfoundland'}],'nzdt':[{'dst':true,'offset':46800,'timezone_id':'Pacific/Auckland'},{'dst':true,'offset':46800,'timezone_id':'Antarctica/McMurdo'},{'dst':true,'offset':46800,'timezone_id':'Antarctica/South_Pole'},{'dst':true,'offset':46800,'timezone_id':'NZ'}],'nzmt':[{'dst':false,'offset':41400,'timezone_id':'Pacific/Auckland'},{'dst':false,'offset':41400,'timezone_id':'NZ'}],'nzst':[{'dst':false,'offset':43200,'timezone_id':'Pacific/Auckland'},{'dst':true,'offset':43200,'timezone_id':'Pacific/Auckland'},{'dst':true,'offset':45000,'timezone_id':'Pacific/Auckland'},{'dst':false,'offset':43200,'timezone_id':'Antarctica/McMurdo'},{'dst':false,'offset':43200,'timezone_id':'Antarctica/South_Pole'},{'dst':false,'offset':43200,'timezone_id':'NZ'},{'dst':true,'offset':43200,'timezone_id':'NZ'},{'dst':true,'offset':45000,'timezone_id':'NZ'}],'omsst':[{'dst':true,'offset':21600,'timezone_id':'Asia/Omsk'},{'dst':true,'offset':25200,'timezone_id':'Asia/Omsk'}],'omst':[{'dst':false,'offset':18000,'timezone_id':'Asia/Omsk'},{'dst':false,'offset':21600,'timezone_id':'Asia/Omsk'}],'orast':[{'dst':true,'offset':18000,'timezone_id':'Asia/Oral'}],'orat':[{'dst':false,'offset':14400,'timezone_id':'Asia/Oral'},{'dst':false,'offset':18000,'timezone_id':'Asia/Oral'}],'pddt':[{'dst':true,'offset':-21600,'timezone_id':'America/Inuvik'}],'pdt':[{'dst':true,'offset':-25200,'timezone_id':'America/Los_Angeles'},{'dst':true,'offset':-25200,'timezone_id':'America/Boise'},{'dst':true,'offset':-25200,'timezone_id':'America/Dawson'},{'dst':true,'offset':-25200,'timezone_id':'America/Dawson_Creek'},{'dst':true,'offset':-25200,'timezone_id':'America/Ensenada'},{'dst':true,'offset':-25200,'timezone_id':'America/Inuvik'},{'dst':true,'offset':-25200,'timezone_id':'America/Juneau'},{'dst':true,'offset':-25200,'timezone_id':'America/Tijuana'},{'dst':true,'offset':-25200,'timezone_id':'America/Vancouver'},{'dst':true,'offset':-25200,'timezone_id':'America/Whitehorse'},{'dst':true,'offset':-25200,'timezone_id':'Canada/Pacific'},{'dst':true,'offset':-25200,'timezone_id':'Canada/Yukon'},{'dst':true,'offset':-25200,'timezone_id':'Mexico/BajaNorte'},{'dst':true,'offset':-25200,'timezone_id':'PST8PDT'},{'dst':true,'offset':-25200,'timezone_id':'US/Pacific'},{'dst':true,'offset':-25200,'timezone_id':'US/Pacific-New'}],'pest':[{'dst':true,'offset':-14400,'timezone_id':'America/Lima'}],'petst':[{'dst':true,'offset':43200,'timezone_id':'Asia/Kamchatka'},{'dst':true,'offset':46800,'timezone_id':'Asia/Kamchatka'}],'pett':[{'dst':false,'offset':39600,'timezone_id':'Asia/Kamchatka'},{'dst':false,'offset':43200,'timezone_id':'Asia/Kamchatka'}],'pet':[{'dst':false,'offset':-18000,'timezone_id':'America/Lima'}],'phot':[{'dst':false,'offset':-39600,'timezone_id':'Pacific/Enderbury'},{'dst':false,'offset':46800,'timezone_id':'Pacific/Enderbury'}],'phst':[{'dst':true,'offset':32400,'timezone_id':'Asia/Manila'}],'pht':[{'dst':false,'offset':28800,'timezone_id':'Asia/Manila'}],'pkst':[{'dst':true,'offset':21600,'timezone_id':'Asia/Karachi'}],'pkt':[{'dst':false,'offset':18000,'timezone_id':'Asia/Karachi'}],'pmdt':[{'dst':true,'offset':-7200,'timezone_id':'America/Miquelon'}],'pmst':[{'dst':false,'offset':-10800,'timezone_id':'America/Miquelon'}],'pmt':[{'dst':false,'offset':-13236,'timezone_id':'America/Paramaribo'},{'dst':false,'offset':-13252,'timezone_id':'America/Paramaribo'},{'dst':false,'offset':26240,'timezone_id':'Asia/Pontianak'},{'dst':false,'offset':36000,'timezone_id':'Antarctica/DumontDUrville'}],'ppt':[{'dst':true,'offset':-25200,'timezone_id':'America/Los_Angeles'},{'dst':true,'offset':-25200,'timezone_id':'America/Dawson_Creek'},{'dst':true,'offset':-25200,'timezone_id':'America/Ensenada'},{'dst':true,'offset':-25200,'timezone_id':'America/Inuvik'},{'dst':true,'offset':-25200,'timezone_id':'America/Juneau'},{'dst':true,'offset':-25200,'timezone_id':'America/Tijuana'},{'dst':true,'offset':-25200,'timezone_id':'America/Vancouver'},{'dst':true,'offset':-25200,'timezone_id':'Canada/Pacific'},{'dst':true,'offset':-25200,'timezone_id':'Mexico/BajaNorte'},{'dst':true,'offset':-25200,'timezone_id':'PST8PDT'},{'dst':true,'offset':-25200,'timezone_id':'US/Pacific'},{'dst':true,'offset':-25200,'timezone_id':'US/Pacific-New'}],'pst':[{'dst':false,'offset':-28800,'timezone_id':'America/Los_Angeles'},{'dst':false,'offset':-28800,'timezone_id':'America/Boise'},{'dst':false,'offset':-28800,'timezone_id':'America/Dawson'},{'dst':false,'offset':-28800,'timezone_id':'America/Dawson_Creek'},{'dst':false,'offset':-28800,'timezone_id':'America/Ensenada'},{'dst':false,'offset':-28800,'timezone_id':'America/Hermosillo'},{'dst':false,'offset':-28800,'timezone_id':'America/Inuvik'},{'dst':false,'offset':-28800,'timezone_id':'America/Juneau'},{'dst':false,'offset':-28800,'timezone_id':'America/Mazatlan'},{'dst':false,'offset':-28800,'timezone_id':'America/Tijuana'},{'dst':false,'offset':-28800,'timezone_id':'America/Vancouver'},{'dst':false,'offset':-28800,'timezone_id':'America/Whitehorse'},{'dst':false,'offset':-28800,'timezone_id':'Canada/Pacific'},{'dst':false,'offset':-28800,'timezone_id':'Canada/Yukon'},{'dst':false,'offset':-28800,'timezone_id':'Mexico/BajaNorte'},{'dst':false,'offset':-28800,'timezone_id':'Mexico/BajaSur'},{'dst':false,'offset':-28800,'timezone_id':'Pacific/Pitcairn'},{'dst':false,'offset':-28800,'timezone_id':'PST8PDT'},{'dst':false,'offset':-28800,'timezone_id':'US/Pacific'},{'dst':false,'offset':-28800,'timezone_id':'US/Pacific-New'}],'pwt':[{'dst':true,'offset':-25200,'timezone_id':'America/Los_Angeles'},{'dst':true,'offset':-25200,'timezone_id':'America/Dawson_Creek'},{'dst':true,'offset':-25200,'timezone_id':'America/Ensenada'},{'dst':true,'offset':-25200,'timezone_id':'America/Inuvik'},{'dst':true,'offset':-25200,'timezone_id':'America/Juneau'},{'dst':true,'offset':-25200,'timezone_id':'America/Tijuana'},{'dst':true,'offset':-25200,'timezone_id':'America/Vancouver'},{'dst':true,'offset':-25200,'timezone_id':'Canada/Pacific'},{'dst':true,'offset':-25200,'timezone_id':'Mexico/BajaNorte'},{'dst':true,'offset':-25200,'timezone_id':'PST8PDT'},{'dst':true,'offset':-25200,'timezone_id':'US/Pacific'},{'dst':true,'offset':-25200,'timezone_id':'US/Pacific-New'}],'pyst':[{'dst':true,'offset':-10800,'timezone_id':'America/Asuncion'}],'pyt':[{'dst':false,'offset':-10800,'timezone_id':'America/Asuncion'},{'dst':false,'offset':-14400,'timezone_id':'America/Asuncion'}],'qyzst':[{'dst':true,'offset':25200,'timezone_id':'Asia/Qyzylorda'}],'qyzt':[{'dst':false,'offset':18000,'timezone_id':'Asia/Qyzylorda'},{'dst':false,'offset':21600,'timezone_id':'Asia/Qyzylorda'}],'ret':[{'dst':false,'offset':14400,'timezone_id':'Indian/Reunion'}],'rmt':[{'dst':false,'offset':5784,'timezone_id':'Europe/Riga'}],'rott':[{'dst':false,'offset':-10800,'timezone_id':'Antarctica/Rothera'}],'sakst':[{'dst':true,'offset':39600,'timezone_id':'Asia/Sakhalin'},{'dst':true,'offset':43200,'timezone_id':'Asia/Sakhalin'}],'sakt':[{'dst':false,'offset':36000,'timezone_id':'Asia/Sakhalin'},{'dst':false,'offset':39600,'timezone_id':'Asia/Sakhalin'}],'samst':[{'dst':true,'offset':21600,'timezone_id':'Asia/Samarkand'},{'dst':true,'offset':18000,'timezone_id':'Europe/Samara'}],'samt':[{'dst':false,'offset':14400,'timezone_id':'Asia/Samarkand'},{'dst':false,'offset':18000,'timezone_id':'Asia/Samarkand'},{'dst':false,'offset':-41400,'timezone_id':'Pacific/Apia'},{'dst':false,'offset':-41400,'timezone_id':'Pacific/Pago_Pago'},{'dst':false,'offset':-41400,'timezone_id':'Pacific/Samoa'},{'dst':false,'offset':-41400,'timezone_id':'US/Samoa'},{'dst':false,'offset':10800,'timezone_id':'Europe/Samara'},{'dst':false,'offset':14400,'timezone_id':'Europe/Samara'}],'sast':[{'dst':true,'offset':10800,'timezone_id':'Africa/Johannesburg'},{'dst':false,'offset':7200,'timezone_id':'Africa/Johannesburg'},{'dst':true,'offset':10800,'timezone_id':'Africa/Maseru'},{'dst':true,'offset':10800,'timezone_id':'Africa/Windhoek'},{'dst':false,'offset':7200,'timezone_id':'Africa/Maseru'},{'dst':false,'offset':7200,'timezone_id':'Africa/Mbabane'},{'dst':false,'offset':7200,'timezone_id':'Africa/Windhoek'}],'sbt':[{'dst':false,'offset':39600,'timezone_id':'Pacific/Guadalcanal'}],'sct':[{'dst':false,'offset':14400,'timezone_id':'Indian/Mahe'}],'sgt':[{'dst':false,'offset':27000,'timezone_id':'Asia/Singapore'},{'dst':false,'offset':28800,'timezone_id':'Asia/Singapore'},{'dst':false,'offset':27000,'timezone_id':'Singapore'},{'dst':false,'offset':28800,'timezone_id':'Singapore'}],'shest':[{'dst':true,'offset':21600,'timezone_id':'Asia/Aqtau'}],'shet':[{'dst':false,'offset':18000,'timezone_id':'Asia/Aqtau'},{'dst':false,'offset':21600,'timezone_id':'Asia/Aqtau'}],'slst':[{'dst':true,'offset':-1200,'timezone_id':'Africa/Freetown'},{'dst':true,'offset':3600,'timezone_id':'Africa/Freetown'}],'smt':[{'dst':false,'offset':25580,'timezone_id':'Asia/Saigon'},{'dst':false,'offset':-16966,'timezone_id':'America/Santiago'},{'dst':false,'offset':-16966,'timezone_id':'Chile/Continental'},{'dst':false,'offset':25580,'timezone_id':'Asia/Phnom_Penh'},{'dst':false,'offset':25580,'timezone_id':'Asia/Vientiane'}],'srt':[{'dst':false,'offset':-10800,'timezone_id':'America/Paramaribo'},{'dst':false,'offset':-12600,'timezone_id':'America/Paramaribo'}],'sst':[{'dst':false,'offset':-39600,'timezone_id':'Pacific/Samoa'},{'dst':false,'offset':-39600,'timezone_id':'Pacific/Midway'},{'dst':false,'offset':-39600,'timezone_id':'Pacific/Pago_Pago'},{'dst':false,'offset':-39600,'timezone_id':'US/Samoa'}],'stat':[{'dst':false,'offset':10800,'timezone_id':'Europe/Volgograd'},{'dst':false,'offset':14400,'timezone_id':'Europe/Volgograd'}],'svest':[{'dst':true,'offset':18000,'timezone_id':'Asia/Yekaterinburg'},{'dst':true,'offset':21600,'timezone_id':'Asia/Yekaterinburg'}],'svet':[{'dst':false,'offset':14400,'timezone_id':'Asia/Yekaterinburg'},{'dst':false,'offset':18000,'timezone_id':'Asia/Yekaterinburg'}],'syot':[{'dst':false,'offset':10800,'timezone_id':'Antarctica/Syowa'}],'taht':[{'dst':false,'offset':-36000,'timezone_id':'Pacific/Tahiti'}],'tasst':[{'dst':true,'offset':25200,'timezone_id':'Asia/Samarkand'},{'dst':true,'offset':21600,'timezone_id':'Asia/Tashkent'},{'dst':true,'offset':25200,'timezone_id':'Asia/Tashkent'}],'tast':[{'dst':false,'offset':21600,'timezone_id':'Asia/Samarkand'},{'dst':false,'offset':18000,'timezone_id':'Asia/Tashkent'},{'dst':false,'offset':21600,'timezone_id':'Asia/Tashkent'}],'tbist':[{'dst':true,'offset':14400,'timezone_id':'Asia/Tbilisi'},{'dst':true,'offset':18000,'timezone_id':'Asia/Tbilisi'}],'tbit':[{'dst':false,'offset':10800,'timezone_id':'Asia/Tbilisi'},{'dst':false,'offset':14400,'timezone_id':'Asia/Tbilisi'}],'tft':[{'dst':false,'offset':18000,'timezone_id':'Indian/Kerguelen'}],'tjt':[{'dst':false,'offset':18000,'timezone_id':'Asia/Dushanbe'}],'tlt':[{'dst':false,'offset':28800,'timezone_id':'Asia/Dili'},{'dst':false,'offset':32400,'timezone_id':'Asia/Dili'}],'tmt':[{'dst':false,'offset':12344,'timezone_id':'Asia/Tehran'},{'dst':false,'offset':12344,'timezone_id':'Iran'},{'dst':false,'offset':14400,'timezone_id':'Asia/Ashgabat'},{'dst':false,'offset':14400,'timezone_id':'Asia/Ashkhabad'},{'dst':false,'offset':18000,'timezone_id':'Asia/Ashgabat'},{'dst':false,'offset':18000,'timezone_id':'Asia/Ashkhabad'},{'dst':false,'offset':5940,'timezone_id':'Europe/Tallinn'}],'tost':[{'dst':true,'offset':50400,'timezone_id':'Pacific/Tongatapu'}],'tot':[{'dst':false,'offset':46800,'timezone_id':'Pacific/Tongatapu'}],'trst':[{'dst':true,'offset':14400,'timezone_id':'Europe/Istanbul'},{'dst':true,'offset':14400,'timezone_id':'Asia/Istanbul'},{'dst':true,'offset':14400,'timezone_id':'Turkey'}],'trt':[{'dst':false,'offset':10800,'timezone_id':'Europe/Istanbul'},{'dst':false,'offset':10800,'timezone_id':'Asia/Istanbul'},{'dst':false,'offset':10800,'timezone_id':'Turkey'}],'tsat':[{'dst':false,'offset':10800,'timezone_id':'Europe/Volgograd'}],'ulast':[{'dst':true,'offset':32400,'timezone_id':'Asia/Ulaanbaatar'},{'dst':true,'offset':32400,'timezone_id':'Asia/Ulan_Bator'}],'ulat':[{'dst':false,'offset':25200,'timezone_id':'Asia/Ulaanbaatar'},{'dst':false,'offset':28800,'timezone_id':'Asia/Ulaanbaatar'},{'dst':false,'offset':25200,'timezone_id':'Asia/Choibalsan'},{'dst':false,'offset':25200,'timezone_id':'Asia/Ulan_Bator'},{'dst':false,'offset':28800,'timezone_id':'Asia/Choibalsan'},{'dst':false,'offset':28800,'timezone_id':'Asia/Ulan_Bator'}],'urast':[{'dst':true,'offset':18000,'timezone_id':'Asia/Oral'},{'dst':true,'offset':21600,'timezone_id':'Asia/Oral'}],'urat':[{'dst':false,'offset':14400,'timezone_id':'Asia/Oral'},{'dst':false,'offset':18000,'timezone_id':'Asia/Oral'},{'dst':false,'offset':21600,'timezone_id':'Asia/Oral'}],'urut':[{'dst':false,'offset':21600,'timezone_id':'Asia/Urumqi'}],'uyhst':[{'dst':true,'offset':-10800,'timezone_id':'America/Montevideo'},{'dst':true,'offset':-9000,'timezone_id':'America/Montevideo'}],'uyst':[{'dst':true,'offset':-7200,'timezone_id':'America/Montevideo'}],'uyt':[{'dst':false,'offset':-10800,'timezone_id':'America/Montevideo'},{'dst':false,'offset':-12600,'timezone_id':'America/Montevideo'}],'uzst':[{'dst':true,'offset':21600,'timezone_id':'Asia/Samarkand'},{'dst':true,'offset':21600,'timezone_id':'Asia/Tashkent'}],'uzt':[{'dst':false,'offset':18000,'timezone_id':'Asia/Samarkand'},{'dst':false,'offset':18000,'timezone_id':'Asia/Tashkent'}],'vet':[{'dst':false,'offset':-14400,'timezone_id':'America/Caracas'},{'dst':false,'offset':-16200,'timezone_id':'America/Caracas'}],'vlasst':[{'dst':true,'offset':36000,'timezone_id':'Asia/Vladivostok'}],'vlast':[{'dst':false,'offset':32400,'timezone_id':'Asia/Vladivostok'},{'dst':true,'offset':39600,'timezone_id':'Asia/Vladivostok'}],'vlat':[{'dst':false,'offset':32400,'timezone_id':'Asia/Vladivostok'},{'dst':false,'offset':36000,'timezone_id':'Asia/Vladivostok'}],'volst':[{'dst':true,'offset':14400,'timezone_id':'Europe/Volgograd'},{'dst':true,'offset':18000,'timezone_id':'Europe/Volgograd'}],'volt':[{'dst':false,'offset':10800,'timezone_id':'Europe/Volgograd'},{'dst':false,'offset':14400,'timezone_id':'Europe/Volgograd'}],'vost':[{'dst':false,'offset':21600,'timezone_id':'Antarctica/Vostok'}],'vust':[{'dst':true,'offset':43200,'timezone_id':'Pacific/Efate'}],'vut':[{'dst':false,'offset':39600,'timezone_id':'Pacific/Efate'}],'warst':[{'dst':true,'offset':-10800,'timezone_id':'America/Mendoza'},{'dst':true,'offset':-10800,'timezone_id':'America/Argentina/Jujuy'},{'dst':true,'offset':-10800,'timezone_id':'America/Argentina/Mendoza'},{'dst':true,'offset':-10800,'timezone_id':'America/Jujuy'}],'wart':[{'dst':false,'offset':-14400,'timezone_id':'America/Mendoza'},{'dst':false,'offset':-14400,'timezone_id':'America/Argentina/Catamarca'},{'dst':false,'offset':-14400,'timezone_id':'America/Argentina/ComodRivadavia'},{'dst':false,'offset':-14400,'timezone_id':'America/Argentina/Cordoba'},{'dst':false,'offset':-14400,'timezone_id':'America/Argentina/Jujuy'},{'dst':false,'offset':-14400,'timezone_id':'America/Argentina/La_Rioja'},{'dst':false,'offset':-14400,'timezone_id':'America/Argentina/Mendoza'},{'dst':false,'offset':-14400,'timezone_id':'America/Argentina/Rio_Gallegos'},{'dst':false,'offset':-14400,'timezone_id':'America/Argentina/San_Juan'},{'dst':false,'offset':-14400,'timezone_id':'America/Argentina/Tucuman'},{'dst':false,'offset':-14400,'timezone_id':'America/Argentina/Ushuaia'},{'dst':false,'offset':-14400,'timezone_id':'America/Catamarca'},{'dst':false,'offset':-14400,'timezone_id':'America/Cordoba'},{'dst':false,'offset':-14400,'timezone_id':'America/Jujuy'},{'dst':false,'offset':-14400,'timezone_id':'America/Rosario'}],'wast':[{'dst':true,'offset':7200,'timezone_id':'Africa/Windhoek'},{'dst':true,'offset':7200,'timezone_id':'Africa/Ndjamena'}],'wat':[{'dst':false,'offset':-3600,'timezone_id':'Africa/Dakar'},{'dst':false,'offset':-3600,'timezone_id':'Africa/Bamako'},{'dst':false,'offset':-3600,'timezone_id':'Africa/Banjul'},{'dst':false,'offset':-3600,'timezone_id':'Africa/Bissau'},{'dst':false,'offset':-3600,'timezone_id':'Africa/Conakry'},{'dst':false,'offset':-3600,'timezone_id':'Africa/El_Aaiun'},{'dst':false,'offset':-3600,'timezone_id':'Africa/Freetown'},{'dst':false,'offset':-3600,'timezone_id':'Africa/Niamey'},{'dst':false,'offset':-3600,'timezone_id':'Africa/Nouakchott'},{'dst':false,'offset':-3600,'timezone_id':'Africa/Timbuktu'},{'dst':false,'offset':0,'timezone_id':'Africa/Freetown'},{'dst':false,'offset':3600,'timezone_id':'Africa/Brazzaville'},{'dst':false,'offset':3600,'timezone_id':'Africa/Bangui'},{'dst':false,'offset':3600,'timezone_id':'Africa/Douala'},{'dst':false,'offset':3600,'timezone_id':'Africa/Lagos'},{'dst':false,'offset':3600,'timezone_id':'Africa/Libreville'},{'dst':false,'offset':3600,'timezone_id':'Africa/Luanda'},{'dst':false,'offset':3600,'timezone_id':'Africa/Malabo'},{'dst':false,'offset':3600,'timezone_id':'Africa/Ndjamena'},{'dst':false,'offset':3600,'timezone_id':'Africa/Niamey'},{'dst':false,'offset':3600,'timezone_id':'Africa/Porto-Novo'},{'dst':false,'offset':3600,'timezone_id':'Africa/Windhoek'}],'wemt':[{'dst':true,'offset':7200,'timezone_id':'Europe/Lisbon'},{'dst':true,'offset':7200,'timezone_id':'Europe/Madrid'},{'dst':true,'offset':7200,'timezone_id':'Europe/Monaco'},{'dst':true,'offset':7200,'timezone_id':'Europe/Paris'},{'dst':true,'offset':7200,'timezone_id':'Portugal'},{'dst':true,'offset':7200,'timezone_id':'WET'}],'west':[{'dst':true,'offset':3600,'timezone_id':'Europe/Paris'},{'dst':true,'offset':3600,'timezone_id':'Africa/Algiers'},{'dst':true,'offset':3600,'timezone_id':'Africa/Casablanca'},{'dst':true,'offset':3600,'timezone_id':'Africa/Ceuta'},{'dst':true,'offset':3600,'timezone_id':'Atlantic/Canary'},{'dst':true,'offset':3600,'timezone_id':'Atlantic/Faeroe'},{'dst':true,'offset':3600,'timezone_id':'Atlantic/Faroe'},{'dst':true,'offset':3600,'timezone_id':'Atlantic/Madeira'},{'dst':true,'offset':3600,'timezone_id':'Europe/Brussels'},{'dst':true,'offset':3600,'timezone_id':'Europe/Lisbon'},{'dst':true,'offset':3600,'timezone_id':'Europe/Luxembourg'},{'dst':true,'offset':3600,'timezone_id':'Europe/Madrid'},{'dst':true,'offset':3600,'timezone_id':'Europe/Monaco'},{'dst':true,'offset':3600,'timezone_id':'Portugal'},{'dst':true,'offset':3600,'timezone_id':'WET'},{'dst':true,'offset':7200,'timezone_id':'Europe/Luxembourg'}],'wet':[{'dst':false,'offset':0,'timezone_id':'Europe/Paris'},{'dst':false,'offset':0,'timezone_id':'Africa/Algiers'},{'dst':false,'offset':0,'timezone_id':'Africa/Casablanca'},{'dst':false,'offset':0,'timezone_id':'Africa/Ceuta'},{'dst':false,'offset':0,'timezone_id':'Africa/El_Aaiun'},{'dst':false,'offset':0,'timezone_id':'Atlantic/Azores'},{'dst':false,'offset':0,'timezone_id':'Atlantic/Canary'},{'dst':false,'offset':0,'timezone_id':'Atlantic/Faeroe'},{'dst':false,'offset':0,'timezone_id':'Atlantic/Faroe'},{'dst':false,'offset':0,'timezone_id':'Atlantic/Madeira'},{'dst':false,'offset':0,'timezone_id':'Europe/Brussels'},{'dst':false,'offset':0,'timezone_id':'Europe/Lisbon'},{'dst':false,'offset':0,'timezone_id':'Europe/Luxembourg'},{'dst':false,'offset':0,'timezone_id':'Europe/Madrid'},{'dst':false,'offset':0,'timezone_id':'Europe/Monaco'},{'dst':false,'offset':0,'timezone_id':'Portugal'},{'dst':false,'offset':0,'timezone_id':'WET'},{'dst':false,'offset':3600,'timezone_id':'Europe/Luxembourg'}],'wgst':[{'dst':true,'offset':-7200,'timezone_id':'America/Godthab'},{'dst':true,'offset':-7200,'timezone_id':'America/Danmarkshavn'}],'wgt':[{'dst':false,'offset':-10800,'timezone_id':'America/Godthab'},{'dst':false,'offset':-10800,'timezone_id':'America/Danmarkshavn'}],'wit':[{'dst':false,'offset':25200,'timezone_id':'Asia/Jakarta'},{'dst':false,'offset':27000,'timezone_id':'Asia/Jakarta'},{'dst':false,'offset':28800,'timezone_id':'Asia/Jakarta'},{'dst':false,'offset':25200,'timezone_id':'Asia/Pontianak'},{'dst':false,'offset':27000,'timezone_id':'Asia/Pontianak'},{'dst':false,'offset':28800,'timezone_id':'Asia/Pontianak'}],'wst':[{'dst':false,'offset':28800,'timezone_id':'Australia/Perth'},{'dst':true,'offset':32400,'timezone_id':'Australia/Perth'},{'dst':false,'offset':-39600,'timezone_id':'Pacific/Apia'},{'dst':false,'offset':28800,'timezone_id':'Antarctica/Casey'},{'dst':false,'offset':28800,'timezone_id':'Australia/West'},{'dst':true,'offset':32400,'timezone_id':'Australia/West'}],'yakst':[{'dst':true,'offset':32400,'timezone_id':'Asia/Yakutsk'},{'dst':true,'offset':36000,'timezone_id':'Asia/Yakutsk'}],'yakt':[{'dst':false,'offset':28800,'timezone_id':'Asia/Yakutsk'},{'dst':false,'offset':32400,'timezone_id':'Asia/Yakutsk'}],'yddt':[{'dst':true,'offset':-25200,'timezone_id':'America/Dawson'},{'dst':true,'offset':-25200,'timezone_id':'America/Whitehorse'},{'dst':true,'offset':-25200,'timezone_id':'Canada/Yukon'}],'ydt':[{'dst':true,'offset':-28800,'timezone_id':'America/Dawson'},{'dst':true,'offset':-28800,'timezone_id':'America/Whitehorse'},{'dst':true,'offset':-28800,'timezone_id':'America/Yakutat'},{'dst':true,'offset':-28800,'timezone_id':'Canada/Yukon'}],'yekst':[{'dst':true,'offset':21600,'timezone_id':'Asia/Yekaterinburg'}],'yekt':[{'dst':false,'offset':18000,'timezone_id':'Asia/Yekaterinburg'}],'yerst':[{'dst':true,'offset':14400,'timezone_id':'Asia/Yerevan'},{'dst':true,'offset':18000,'timezone_id':'Asia/Yerevan'}],'yert':[{'dst':false,'offset':10800,'timezone_id':'Asia/Yerevan'},{'dst':false,'offset':14400,'timezone_id':'Asia/Yerevan'}],'ypt':[{'dst':true,'offset':-28800,'timezone_id':'America/Dawson'},{'dst':true,'offset':-28800,'timezone_id':'America/Whitehorse'},{'dst':true,'offset':-28800,'timezone_id':'America/Yakutat'},{'dst':true,'offset':-28800,'timezone_id':'Canada/Yukon'}],'yst':[{'dst':false,'offset':-32400,'timezone_id':'America/Anchorage'},{'dst':false,'offset':-32400,'timezone_id':'America/Dawson'},{'dst':false,'offset':-32400,'timezone_id':'America/Juneau'},{'dst':false,'offset':-32400,'timezone_id':'America/Nome'},{'dst':false,'offset':-32400,'timezone_id':'America/Whitehorse'},{'dst':false,'offset':-32400,'timezone_id':'America/Yakutat'},{'dst':false,'offset':-32400,'timezone_id':'Canada/Yukon'},{'dst':false,'offset':-32400,'timezone_id':'US/Alaska'}],'ywt':[{'dst':true,'offset':-28800,'timezone_id':'America/Dawson'},{'dst':true,'offset':-28800,'timezone_id':'America/Whitehorse'},{'dst':true,'offset':-28800,'timezone_id':'America/Yakutat'},{'dst':true,'offset':-28800,'timezone_id':'Canada/Yukon'}],'a':[{'dst':false,'offset':3600,'timezone_id':null}],'b':[{'dst':false,'offset':7200,'timezone_id':null}],'c':[{'dst':false,'offset':10800,'timezone_id':null}],'d':[{'dst':false,'offset':14400,'timezone_id':null}],'e':[{'dst':false,'offset':18000,'timezone_id':null}],'f':[{'dst':false,'offset':21600,'timezone_id':null}],'g':[{'dst':false,'offset':25200,'timezone_id':null}],'h':[{'dst':false,'offset':28800,'timezone_id':null}],'i':[{'dst':false,'offset':32400,'timezone_id':null}],'k':[{'dst':false,'offset':36000,'timezone_id':null}],'l':[{'dst':false,'offset':39600,'timezone_id':null}],'m':[{'dst':false,'offset':43200,'timezone_id':null}],'n':[{'dst':false,'offset':-3600,'timezone_id':null}],'o':[{'dst':false,'offset':-7200,'timezone_id':null}],'p':[{'dst':false,'offset':-10800,'timezone_id':null}],'q':[{'dst':false,'offset':-14400,'timezone_id':null}],'r':[{'dst':false,'offset':-18000,'timezone_id':null}],'s':[{'dst':false,'offset':-21600,'timezone_id':null}],'t':[{'dst':false,'offset':-25200,'timezone_id':null}],'utc':[{'dst':false,'offset':0,'timezone_id':'UTC'}],'u':[{'dst':false,'offset':-28800,'timezone_id':null}],'v':[{'dst':false,'offset':-32400,'timezone_id':null}],'w':[{'dst':false,'offset':-36000,'timezone_id':null}],'x':[{'dst':false,'offset':-39600,'timezone_id':null}],'y':[{'dst':false,'offset':-43200,'timezone_id':null}],'zzz':[{'dst':false,'offset':0,'timezone_id':'Antarctica/Davis'},{'dst':false,'offset':0,'timezone_id':'Antarctica/DumontDUrville'}],'z':[{'dst':false,'offset':0,'timezone_id':null}]};return timezone_abbreviations;}
function timezone_identifiers_list(what,country){var i=0,new_what='',returnArr=[],continents=[],codes=[],identifiers=['Africa/Abidjan','Africa/Accra','Africa/Addis_Ababa','Africa/Algiers','Africa/Asmara','Africa/Asmera','Africa/Bamako','Africa/Bangui','Africa/Banjul','Africa/Bissau','Africa/Blantyre','Africa/Brazzaville','Africa/Bujumbura','Africa/Cairo','Africa/Casablanca','Africa/Ceuta','Africa/Conakry','Africa/Dakar','Africa/Dar_es_Salaam','Africa/Djibouti','Africa/Douala','Africa/El_Aaiun','Africa/Freetown','Africa/Gaborone','Africa/Harare','Africa/Johannesburg','Africa/Kampala','Africa/Khartoum','Africa/Kigali','Africa/Kinshasa','Africa/Lagos','Africa/Libreville','Africa/Lome','Africa/Luanda','Africa/Lubumbashi','Africa/Lusaka','Africa/Malabo','Africa/Maputo','Africa/Maseru','Africa/Mbabane','Africa/Mogadishu','Africa/Monrovia','Africa/Nairobi','Africa/Ndjamena','Africa/Niamey','Africa/Nouakchott','Africa/Ouagadougou','Africa/Porto-Novo','Africa/Sao_Tome','Africa/Timbuktu','Africa/Tripoli','Africa/Tunis','Africa/Windhoek','America/Adak','America/Anchorage','America/Anguilla','America/Antigua','America/Araguaina','America/Argentina/Buenos_Aires','America/Argentina/Catamarca','America/Argentina/ComodRivadavia','America/Argentina/Cordoba','America/Argentina/Jujuy','America/Argentina/La_Rioja','America/Argentina/Mendoza','America/Argentina/Rio_Gallegos','America/Argentina/San_Juan','America/Argentina/San_Luis','America/Argentina/Tucuman','America/Argentina/Ushuaia','America/Aruba','America/Asuncion','America/Atikokan','America/Atka','America/Bahia','America/Barbados','America/Belem','America/Belize','America/Blanc-Sablon','America/Boa_Vista','America/Bogota','America/Boise','America/Buenos_Aires','America/Cambridge_Bay','America/Campo_Grande','America/Cancun','America/Caracas','America/Catamarca','America/Cayenne','America/Cayman','America/Chicago','America/Chihuahua','America/Coral_Harbour','America/Cordoba','America/Costa_Rica','America/Cuiaba','America/Curacao','America/Danmarkshavn','America/Dawson','America/Dawson_Creek','America/Denver','America/Detroit','America/Dominica','America/Edmonton','America/Eirunepe','America/El_Salvador','America/Ensenada','America/Fort_Wayne','America/Fortaleza','America/Glace_Bay','America/Godthab','America/Goose_Bay','America/Grand_Turk','America/Grenada','America/Guadeloupe','America/Guatemala','America/Guayaquil','America/Guyana','America/Halifax','America/Havana','America/Hermosillo','America/Indiana/Indianapolis','America/Indiana/Knox','America/Indiana/Marengo','America/Indiana/Petersburg','America/Indiana/Tell_City','America/Indiana/Vevay','America/Indiana/Vincennes','America/Indiana/Winamac','America/Indianapolis','America/Inuvik','America/Iqaluit','America/Jamaica','America/Jujuy','America/Juneau','America/Kentucky/Louisville','America/Kentucky/Monticello','America/Knox_IN','America/La_Paz','America/Lima','America/Los_Angeles','America/Louisville','America/Maceio','America/Managua','America/Manaus','America/Marigot','America/Martinique','America/Mazatlan','America/Mendoza','America/Menominee','America/Merida','America/Mexico_City','America/Miquelon','America/Moncton','America/Monterrey','America/Montevideo','America/Montreal','America/Montserrat','America/Nassau','America/New_York','America/Nipigon','America/Nome','America/Noronha','America/North_Dakota/Center','America/North_Dakota/New_Salem','America/Panama','America/Pangnirtung','America/Paramaribo','America/Phoenix','America/Port-au-Prince','America/Port_of_Spain','America/Porto_Acre','America/Porto_Velho','America/Puerto_Rico','America/Rainy_River','America/Rankin_Inlet','America/Recife','America/Regina','America/Resolute','America/Rio_Branco','America/Rosario','America/Santiago','America/Santo_Domingo','America/Sao_Paulo','America/Scoresbysund','America/Shiprock','America/St_Barthelemy','America/St_Johns','America/St_Kitts','America/St_Lucia','America/St_Thomas','America/St_Vincent','America/Swift_Current','America/Tegucigalpa','America/Thule','America/Thunder_Bay','America/Tijuana','America/Toronto','America/Tortola','America/Vancouver','America/Virgin','America/Whitehorse','America/Winnipeg','America/Yakutat','America/Yellowknife','Antarctica/Casey','Antarctica/Davis','Antarctica/DumontDUrville','Antarctica/Mawson','Antarctica/McMurdo','Antarctica/Palmer','Antarctica/Rothera','Antarctica/South_Pole','Antarctica/Syowa','Antarctica/Vostok','Arctic/Longyearbyen','Asia/Aden','Asia/Almaty','Asia/Amman','Asia/Anadyr','Asia/Aqtau','Asia/Aqtobe','Asia/Ashgabat','Asia/Ashkhabad','Asia/Baghdad','Asia/Bahrain','Asia/Baku','Asia/Bangkok','Asia/Beirut','Asia/Bishkek','Asia/Brunei','Asia/Calcutta','Asia/Choibalsan','Asia/Chongqing','Asia/Chungking','Asia/Colombo','Asia/Dacca','Asia/Damascus','Asia/Dhaka','Asia/Dili','Asia/Dubai','Asia/Dushanbe','Asia/Gaza','Asia/Harbin','Asia/Ho_Chi_Minh','Asia/Hong_Kong','Asia/Hovd','Asia/Irkutsk','Asia/Istanbul','Asia/Jakarta','Asia/Jayapura','Asia/Jerusalem','Asia/Kabul','Asia/Kamchatka','Asia/Karachi','Asia/Kashgar','Asia/Katmandu','Asia/Kolkata','Asia/Krasnoyarsk','Asia/Kuala_Lumpur','Asia/Kuching','Asia/Kuwait','Asia/Macao','Asia/Macau','Asia/Magadan','Asia/Makassar','Asia/Manila','Asia/Muscat','Asia/Nicosia','Asia/Novosibirsk','Asia/Omsk','Asia/Oral','Asia/Phnom_Penh','Asia/Pontianak','Asia/Pyongyang','Asia/Qatar','Asia/Qyzylorda','Asia/Rangoon','Asia/Riyadh','Asia/Saigon','Asia/Sakhalin','Asia/Samarkand','Asia/Seoul','Asia/Shanghai','Asia/Singapore','Asia/Taipei','Asia/Tashkent','Asia/Tbilisi','Asia/Tehran','Asia/Tel_Aviv','Asia/Thimbu','Asia/Thimphu','Asia/Tokyo','Asia/Ujung_Pandang','Asia/Ulaanbaatar','Asia/Ulan_Bator','Asia/Urumqi','Asia/Vientiane','Asia/Vladivostok','Asia/Yakutsk','Asia/Yekaterinburg','Asia/Yerevan','Atlantic/Azores','Atlantic/Bermuda','Atlantic/Canary','Atlantic/Cape_Verde','Atlantic/Faeroe','Atlantic/Faroe','Atlantic/Jan_Mayen','Atlantic/Madeira','Atlantic/Reykjavik','Atlantic/South_Georgia','Atlantic/St_Helena','Atlantic/Stanley','Australia/ACT','Australia/Adelaide','Australia/Brisbane','Australia/Broken_Hill','Australia/Canberra','Australia/Currie','Australia/Darwin','Australia/Eucla','Australia/Hobart','Australia/LHI','Australia/Lindeman','Australia/Lord_Howe','Australia/Melbourne','Australia/North','Australia/NSW','Australia/Perth','Australia/Queensland','Australia/South','Australia/Sydney','Australia/Tasmania','Australia/Victoria','Australia/West','Australia/Yancowinna','Brazil/Acre','Brazil/DeNoronha','Brazil/East','Brazil/West','Canada/Atlantic','Canada/Central','Canada/East-Saskatchewan','Canada/Eastern','Canada/Mountain','Canada/Newfoundland','Canada/Pacific','Canada/Saskatchewan','Canada/Yukon','CET','Chile/Continental','Chile/EasterIsland','CST6CDT','Cuba','EET','Egypt','Eire','EST','EST5EDT','Etc/GMT','Etc/GMT+0','Etc/GMT+1','Etc/GMT+10','Etc/GMT+11','Etc/GMT+12','Etc/GMT+2','Etc/GMT+3','Etc/GMT+4','Etc/GMT+5','Etc/GMT+6','Etc/GMT+7','Etc/GMT+8','Etc/GMT+9','Etc/GMT-0','Etc/GMT-1','Etc/GMT-10','Etc/GMT-11','Etc/GMT-12','Etc/GMT-13','Etc/GMT-14','Etc/GMT-2','Etc/GMT-3','Etc/GMT-4','Etc/GMT-5','Etc/GMT-6','Etc/GMT-7','Etc/GMT-8','Etc/GMT-9','Etc/GMT0','Etc/Greenwich','Etc/UCT','Etc/Universal','Etc/UTC','Etc/Zulu','Europe/Amsterdam','Europe/Andorra','Europe/Athens','Europe/Belfast','Europe/Belgrade','Europe/Berlin','Europe/Bratislava','Europe/Brussels','Europe/Bucharest','Europe/Budapest','Europe/Chisinau','Europe/Copenhagen','Europe/Dublin','Europe/Gibraltar','Europe/Guernsey','Europe/Helsinki','Europe/Isle_of_Man','Europe/Istanbul','Europe/Jersey','Europe/Kaliningrad','Europe/Kiev','Europe/Lisbon','Europe/Ljubljana','Europe/London','Europe/Luxembourg','Europe/Madrid','Europe/Malta','Europe/Mariehamn','Europe/Minsk','Europe/Monaco','Europe/Moscow','Europe/Nicosia','Europe/Oslo','Europe/Paris','Europe/Podgorica','Europe/Prague','Europe/Riga','Europe/Rome','Europe/Samara','Europe/San_Marino','Europe/Sarajevo','Europe/Simferopol','Europe/Skopje','Europe/Sofia','Europe/Stockholm','Europe/Tallinn','Europe/Tirane','Europe/Tiraspol','Europe/Uzhgorod','Europe/Vaduz','Europe/Vatican','Europe/Vienna','Europe/Vilnius','Europe/Volgograd','Europe/Warsaw','Europe/Zagreb','Europe/Zaporozhye','Europe/Zurich','Factory','GB','GB-Eire','GMT','GMT+0','GMT-0','GMT0','Greenwich','Hongkong','HST','Iceland','Indian/Antananarivo','Indian/Chagos','Indian/Christmas','Indian/Cocos','Indian/Comoro','Indian/Kerguelen','Indian/Mahe','Indian/Maldives','Indian/Mauritius','Indian/Mayotte','Indian/Reunion','Iran','Israel','Jamaica','Japan','Kwajalein','Libya','MET','Mexico/BajaNorte','Mexico/BajaSur','Mexico/General','MST','MST7MDT','Navajo','NZ','NZ-CHAT','Pacific/Apia','Pacific/Auckland','Pacific/Chatham','Pacific/Easter','Pacific/Efate','Pacific/Enderbury','Pacific/Fakaofo','Pacific/Fiji','Pacific/Funafuti','Pacific/Galapagos','Pacific/Gambier','Pacific/Guadalcanal','Pacific/Guam','Pacific/Honolulu','Pacific/Johnston','Pacific/Kiritimati','Pacific/Kosrae','Pacific/Kwajalein','Pacific/Majuro','Pacific/Marquesas','Pacific/Midway','Pacific/Nauru','Pacific/Niue','Pacific/Norfolk','Pacific/Noumea','Pacific/Pago_Pago','Pacific/Palau','Pacific/Pitcairn','Pacific/Ponape','Pacific/Port_Moresby','Pacific/Rarotonga','Pacific/Saipan','Pacific/Samoa','Pacific/Tahiti','Pacific/Tarawa','Pacific/Tongatapu','Pacific/Truk','Pacific/Wake','Pacific/Wallis','Pacific/Yap','Poland','Portugal','PRC','PST8PDT','ROC','ROK','Singapore','Turkey','UCT','Universal','US/Alaska','US/Aleutian','US/Arizona','US/Central','US/East-Indiana','US/Eastern','US/Hawaii','US/Indiana-Starke','US/Michigan','US/Mountain','US/Pacific','US/Pacific-New','US/Samoa','UTC','W-SU','WET','Zulu'];continents=['AFRICA','AMERICA','ANTARCTICA','ARCTIC','ASIA','ATLANTIC','AUSTRALIA','EUROPE','INDIAN','PACIFIC'];codes=[1,2,4,8,16,32,64,128,256,512];if(what){if(codes.indexOf(what)!==-1||continents.indexOf(what)!==-1){if(what&&what===parseInt(what,10)+''){new_what=continents[codes.indexOf(what)];}
if(what){new_what=what[0]+what.slice(1).toLowerCase();}
for(i=0;i<identifiers.length;i++){if(identifiers[i].indexOf(new_what+'/')!==-1){returnArr.push(identifiers[i]);}}
return returnArr;}else if(what==='UTC'||what===1024){throw'Unknown implementation';}else if(what==='ALL_WITH_BC'||what===4095){throw'Unknown implementation';}else if(what==='PER_COUNTRY'||what===4096){throw'Unknown implementation';}else if(what==='ALL'||what===2047){return identifiers;}}
return identifiers;}
function trim(str,charlist){var whitespace,l=0,i=0;str+='';if(!charlist){whitespace=" \n\r\t\f\x0b\xa0\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u200b\u2028\u2029\u3000";}else{charlist+='';whitespace=charlist.replace(/([\[\]\(\)\.\?\/\*\{\}\+\$\^\:])/g,'\$1');}
l=str.length;for(i=0;i<l;i++){if(whitespace.indexOf(str.charAt(i))===-1){str=str.substring(i);break;}}
l=str.length;for(i=l-1;i>=0;i--){if(whitespace.indexOf(str.charAt(i))===-1){str=str.substring(0,i+1);break;}}
return whitespace.indexOf(str.charAt(0))===-1?str:'';}
function uasort(inputArr,sorter){if(typeof sorter==='string'){sorter=this[sorter];}else if(sorter instanceof Array){sorter=this[sorter[0]][sorter[1]];}
var valArr=[],keyArr=[],tempKeyVal,tempValue,ret;var k='',i=0;var sorterNew=function(keyArr,valArr){for(var i=valArr.length-2;i>=0;i--){for(var j=0;j<=i;j++){ret=sorter(valArr[j+1],valArr[j]);if(ret<0){tempValue=valArr[j];valArr[j]=valArr[j+1];valArr[j+1]=tempValue;tempKeyVal=keyArr[j];keyArr[j]=keyArr[j+1];keyArr[j+1]=tempKeyVal;}}}}
for(k in inputArr){valArr.push(inputArr[k]);keyArr.push(k);delete inputArr[k];}
try{sorterNew(keyArr,valArr);}catch(e){return false;}
for(i=0;i<valArr.length;i++){inputArr[keyArr[i]]=valArr[i];}
return true;}
function ucfirst(str){str+='';var f=str.charAt(0).toUpperCase();return f+str.substr(1);}
function ucwords(str){return(str+'').replace(/^(.)|\s(.)/g,function($1){return $1.toUpperCase();});}
function uksort(array,sorter){if(typeof sorter==='string'){sorter=window[sorter];}
var tmp_arr={},keys=[],i=0,key='';for(key in array){keys.push(key);}
try{if(sorter){keys.sort(sorter);}else{keys.sort();}}catch(e){return false;}
for(i=0;i<keys.length;i++){key=keys[i];tmp_arr[key]=array[key];delete array[key];}
for(i in tmp_arr){array[i]=tmp_arr[i]}
return true;}
function uniqid(){if(!this.php_js){this.php_js={};}
if(!this.php_js['uniqid']){var date=new Date;this.php_js['uniqid']=date.getTime()/1000;}
this.php_js['uniqid']++;return dechex(this.php_js['uniqid'])+dechex('10243256');}
function unserialize(data){var error=function(type,msg,filename,line){throw new window[type](msg,filename,line);};var read_until=function(data,offset,stopchr){var buf=[];var chr=data.slice(offset,offset+1);var i=2;while(chr!=stopchr){if((i+offset)>data.length){error('Error','Invalid');}
buf.push(chr);chr=data.slice(offset+(i-1),offset+i);i+=1;}
return[buf.length,buf.join('')];};var read_chrs=function(data,offset,length){var buf;buf=[];for(var i=0;i<length;i++){var chr=data.slice(offset+(i-1),offset+i);buf.push(chr);}
return[buf.length,buf.join('')];};var _unserialize=function(data,offset){var readdata;var readData;var chrs=0;var ccount;var stringlength;var keyandchrs;var keys;if(!offset)offset=0;var dtype=(data.slice(offset,offset+1)).toLowerCase();var dataoffset=offset+2;var typeconvert=new Function('x','return x');switch(dtype){case"i":typeconvert=new Function('x','return parseInt(x)');readData=read_until(data,dataoffset,';');chrs=readData[0];readdata=readData[1];dataoffset+=chrs+1;break;case"b":typeconvert=new Function('x','return (parseInt(x) == 1)');readData=read_until(data,dataoffset,';');chrs=readData[0];readdata=readData[1];dataoffset+=chrs+1;break;case"d":typeconvert=new Function('x','return parseFloat(x)');readData=read_until(data,dataoffset,';');chrs=readData[0];readdata=readData[1];dataoffset+=chrs+1;break;case"n":readdata=null;break;case"s":ccount=read_until(data,dataoffset,':');chrs=ccount[0];stringlength=ccount[1];dataoffset+=chrs+2;readData=read_chrs(data,dataoffset+1,parseInt(stringlength));chrs=readData[0];readdata=readData[1];dataoffset+=chrs+2;if(chrs!=parseInt(stringlength)&&chrs!=readdata.length){error('SyntaxError','String length mismatch');}
break;case"a":readdata={};keyandchrs=read_until(data,dataoffset,':');chrs=keyandchrs[0];keys=keyandchrs[1];dataoffset+=chrs+2;for(var i=0;i<parseInt(keys);i++){var kprops=_unserialize(data,dataoffset);var kchrs=kprops[1];var key=kprops[2];dataoffset+=kchrs;var vprops=_unserialize(data,dataoffset);var vchrs=vprops[1];var value=vprops[2];dataoffset+=vchrs;readdata[key]=value;}
dataoffset+=1;break;default:error('SyntaxError','Unknown / Unhandled data type(s): '+dtype);break;}
return[dtype,dataoffset-offset,typeconvert(readdata)];};return _unserialize(data,0)[2];}
function urldecode(str){var histogram={};var ret=str.toString();var replacer=function(search,replace,str){var tmp_arr=[];tmp_arr=str.split(search);return tmp_arr.join(replace);};histogram["'"]='%27';histogram['(']='%28';histogram[')']='%29';histogram['*']='%2A';histogram['~']='%7E';histogram['!']='%21';histogram['%20']='+';histogram['\u00DC']='%DC';histogram['\u00FC']='%FC';histogram['\u00C4']='%D4';histogram['\u00E4']='%E4';histogram['\u00D6']='%D6';histogram['\u00F6']='%F6';histogram['\u00DF']='%DF';histogram['\u20AC']='%80';histogram['\u0081']='%81';histogram['\u201A']='%82';histogram['\u0192']='%83';histogram['\u201E']='%84';histogram['\u2026']='%85';histogram['\u2020']='%86';histogram['\u2021']='%87';histogram['\u02C6']='%88';histogram['\u2030']='%89';histogram['\u0160']='%8A';histogram['\u2039']='%8B';histogram['\u0152']='%8C';histogram['\u008D']='%8D';histogram['\u017D']='%8E';histogram['\u008F']='%8F';histogram['\u0090']='%90';histogram['\u2018']='%91';histogram['\u2019']='%92';histogram['\u201C']='%93';histogram['\u201D']='%94';histogram['\u2022']='%95';histogram['\u2013']='%96';histogram['\u2014']='%97';histogram['\u02DC']='%98';histogram['\u2122']='%99';histogram['\u0161']='%9A';histogram['\u203A']='%9B';histogram['\u0153']='%9C';histogram['\u009D']='%9D';histogram['\u017E']='%9E';histogram['\u0178']='%9F';for(replace in histogram){search=histogram[replace];ret=replacer(search,replace,ret)}
ret=decodeURIComponent(ret);return ret;}
function urlencode(str){var histogram={},tmp_arr=[];var ret=(str+'').toString();var replacer=function(search,replace,str){var tmp_arr=[];tmp_arr=str.split(search);return tmp_arr.join(replace);};histogram["'"]='%27';histogram['(']='%28';histogram[')']='%29';histogram['*']='%2A';histogram['~']='%7E';histogram['!']='%21';histogram['%20']='+';histogram['\u00DC']='%DC';histogram['\u00FC']='%FC';histogram['\u00C4']='%D4';histogram['\u00E4']='%E4';histogram['\u00D6']='%D6';histogram['\u00F6']='%F6';histogram['\u00DF']='%DF';histogram['\u20AC']='%80';histogram['\u0081']='%81';histogram['\u201A']='%82';histogram['\u0192']='%83';histogram['\u201E']='%84';histogram['\u2026']='%85';histogram['\u2020']='%86';histogram['\u2021']='%87';histogram['\u02C6']='%88';histogram['\u2030']='%89';histogram['\u0160']='%8A';histogram['\u2039']='%8B';histogram['\u0152']='%8C';histogram['\u008D']='%8D';histogram['\u017D']='%8E';histogram['\u008F']='%8F';histogram['\u0090']='%90';histogram['\u2018']='%91';histogram['\u2019']='%92';histogram['\u201C']='%93';histogram['\u201D']='%94';histogram['\u2022']='%95';histogram['\u2013']='%96';histogram['\u2014']='%97';histogram['\u02DC']='%98';histogram['\u2122']='%99';histogram['\u0161']='%9A';histogram['\u203A']='%9B';histogram['\u0153']='%9C';histogram['\u009D']='%9D';histogram['\u017E']='%9E';histogram['\u0178']='%9F';ret=encodeURIComponent(ret);for(search in histogram){replace=histogram[search];ret=replacer(search,replace,ret)}
return ret.replace(/(\%([a-z0-9]{2}))/g,function(full,m1,m2){return"%"+m2.toUpperCase();});return ret;}
function usleep(microseconds){var start=new Date().getTime();while(new Date()<(start+microseconds/1000));return true;}
function usort(inputArr,sorter){var valArr=[],keyArr=[];var k='',i=0;if(typeof sorter==='string'){sorter=this[sorter];}else if(sorter instanceof Array){sorter=this[sorter[0]][sorter[1]];}
for(k in inputArr){valArr.push(inputArr[k]);delete inputArr[k];}
try{valArr.sort(sorter);}catch(e){return false;}
for(i=0;i<valArr.length;i++){inputArr[i]=valArr[i];}
return true;}
function utf8_decode(str_data){var tmp_arr=[],i=0,ac=0,c1=0,c2=0,c3=0;str_data+='';while(i<str_data.length){c1=str_data.charCodeAt(i);if(c1<128){tmp_arr[ac++]=String.fromCharCode(c1);i++;}else if((c1>191)&&(c1<224)){c2=str_data.charCodeAt(i+1);tmp_arr[ac++]=String.fromCharCode(((c1&31)<<6)|(c2&63));i+=2;}else{c2=str_data.charCodeAt(i+1);c3=str_data.charCodeAt(i+2);tmp_arr[ac++]=String.fromCharCode(((c1&15)<<12)|((c2&63)<<6)|(c3&63));i+=3;}}
return tmp_arr.join('');}
function utf8_encode(string){string=(string+'').replace(/\r\n/g,"\n").replace(/\r/g,"\n");var utftext="";var start,end;var stringl=0;start=end=0;stringl=string.length;for(var n=0;n<stringl;n++){var c1=string.charCodeAt(n);var enc=null;if(c1<128){end++;}else if((c1>127)&&(c1<2048)){enc=String.fromCharCode((c1>>6)|192)+String.fromCharCode((c1&63)|128);}else{enc=String.fromCharCode((c1>>12)|224)+String.fromCharCode(((c1>>6)&63)|128)+String.fromCharCode((c1&63)|128);}
if(enc!=null){if(end>start){utftext+=string.substring(start,end);}
utftext+=enc;start=end=n+1;}}
if(end>start){utftext+=string.substring(start,string.length);}
return utftext;}
function var_dump(){var output="",pad_char=" ",pad_val=4,p='',lgth=0,i=0;var getScalarVal=function(val){var ret='';if(val===null){ret='NULL';}
else if(typeof val==='boolean'){ret='bool('+val+')';}
else if(typeof val==='string'){ret='string('+val.length+') "'+val+'"';}
else if(typeof val==='number'){if(parseFloat(val)==parseInt(val)){ret='int('+val+')';}
else{ret='float('+val+')';}}
else if(val===undefined){ret='UNDEFINED';}
else if(typeof val==='function'){ret='FUNCTION';}
return ret;};var formatArray=function(obj,cur_depth,pad_val,pad_char){if(cur_depth>0){cur_depth++;}
var base_pad=repeat_char(pad_val*(cur_depth-1),pad_char);var thick_pad=repeat_char(pad_val*(cur_depth+1),pad_char);var str="";var val='';if(typeof obj==='object'&&obj!==null){if(obj.constructor&&obj.constructor.name==='PHPJS_Resource'){return obj.var_dump();}
lgth=0;for(p in obj){lgth++;}
str+="array("+lgth+") {\n";for(var key in obj){if(typeof obj[key]==='object'&&obj[key]!==null){str+=thick_pad+"["+key+"] =>\n"+thick_pad+formatArray(obj[key],cur_depth+1,pad_val,pad_char);}else{val=getScalarVal(obj[key]);str+=thick_pad+"["+key+"] =>\n"+thick_pad+val+"\n";}}
str+=base_pad+"}\n";}else{str=getScalarVal(obj);}
return str;};var repeat_char=function(len,pad_char){var str="";for(var i=0;i<len;i++){str+=pad_char;}
return str;};output=formatArray(arguments[0],0,pad_val,pad_char);for(i=1;i<arguments.length;i++){output+='\n'+formatArray(arguments[i],0,pad_val,pad_char);}
if(document.body){echo(output);}
else{try{XULDocument;echo('<pre xmlns="http://www.w3.org/1999/xhtml" style="white-space:pre;">'+output+'</pre>');}
catch(e){echo(output);}}}
function var_export(mixed_expression,bool_return){var retstr="";var iret="";var cnt=0;var x=[];var key='',i=0;var __getType=function(inp){var match,type=typeof inp;if(type=='object'&&inp.constructor&&inp.constructor.name==='PHPJS_Resource'){return'resource';}
if(type=='object'&&!inp){return'null';}
if(type=="object"){if(!inp.constructor){return'object';}
var cons=inp.constructor.toString();if(match=cons.match(/(\w+)\(/)){cons=match[1].toLowerCase();}
var types=["boolean","number","string","array"];for(key in types){if(cons==types[key]){type=types[key];break;}}}
return type;};var type=__getType(mixed_expression);if(type===null){retstr="NULL";}else if(type=='array'||type=='object'){for(i in mixed_expression){x[cnt++]=var_export(i,true)+" => "+var_export(mixed_expression[i],true);}
iret=x.join(',\n  ');retstr="array (\n  "+iret+"\n)";}
else if(type==='resource'){retstr='NULL';}else{retstr=(!isNaN(mixed_expression))?mixed_expression:"'"+mixed_expression.replace('/(["\'\])/g',"\\$1").replace('/\0/g',"\\0")+"'";}
if(bool_return!=true){echo(retstr);return null;}else{return retstr;}}
function vprintf(format,args){var body,elmt;var ret='';var HTMLNS='http://www.w3.org/1999/xhtml';body=document.getElementsByTagNameNS?(document.getElementsByTagNameNS(HTMLNS,'body')[0]?document.getElementsByTagNameNS(HTMLNS,'body')[0]:document.documentElement.lastChild):document.getElementsByTagName('body')[0];if(!body){return false;}
ret=sprintf.apply(this,[format].concat(args));elmt=document.createTextNode(ret);body.appendChild(elmt);return ret.length;}
function vsprintf(format,args){return sprintf.apply(this,[format].concat(args));}
function wordwrap(str,int_width,str_break,cut){var m=((arguments.length>=2)?arguments[1]:75);var b=((arguments.length>=3)?arguments[2]:"\n");var c=((arguments.length>=4)?arguments[3]:false);var i,j,l,s,r;str+='';if(m<1){return str;}
for(i=-1,l=(r=str.split("\n")).length;++i<l;r[i]+=s){for(s=r[i],r[i]="";s.length>m;r[i]+=s.slice(0,j)+((s=s.slice(j)).length?b:"")){j=c==2||(j=s.slice(0,m+1).match(/\S*(\s)?$/))[1]?m:j.input.length-j[0].length||c==1&&m||j.input.length+(j=s.slice(m).match(/^\S*/)).input.length;}}
return r.join("\n");};if(typeof console=="undefined")
{console={log:function(){},info:function(){},debug:function(){},error:function(){}};}
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 setCookie(c_name,value,expiretime)
{var now=new Date();var exdate=new Date(now.getTime()+expiretime);document.cookie=c_name+"="+escape(value)+";expires="+((expiretime<1)?"Thu, 01-Jan-1970 00:00:01 GMT":exdate.toUTCString());}
function moveCaretToEnd(el){if(typeof el.selectionStart=="number")
{el.selectionStart=el.selectionEnd=el.value.length;}else if(typeof el.createTextRange!="undefined"){el.focus();var range=el.createTextRange();range.collapse(false);range.select();}}
function render_formatUnixTimestamp(value)
{value=1*value;return date("Y.m.d",value);}
function render_formatNumeric(value)
{value=1*value;return value;}
Ext.Ajax.timeout=300000;Ext.Ajax.on('requestcomplete',function(conn,resp,obj)
{if(strpos(obj.url,'notime')===false)
{window.timeout=time();}
if(strpos(obj.url,'processQuery')===false)
{return true;}
var check=getCookie('PHPSESSID');if(check!==null&&check!='')
{if(strpos(resp.responseText,'nodecrypt')===false)
{resp.responseText=AesCtr.decrypt(resp.responseText,check,256);}
var jsonData=Ext.util.JSON.decode(resp.responseText);for(var y in jsonData)
{if(is_numeric(jsonData[y]))
{jsonData[y]=jsonData[y]*1;}}
var form=false;for(var i in obj.params)
{if(i=='fsms')
{form=true;}}
if(form===false)
{for(i in obj.params)
{if(obj.params[i]!==null&&obj.params[i]!='')
{obj.params[i]=AesCtr.decrypt(obj.params[i],check,256);if(is_numeric(obj.params[i]))
{obj.params[i]=obj.params[i]*1;}}}}
resp.responseText=Ext.util.JSON.encode(jsonData);if(jsonData.newip==true)
{logout('duplicate',jsonData.newipaddress);resp.responseText='{}';}
else if(jsonData.loggedout==true)
{logout('lout');resp.responseText='{}';}
else if((jsonData.nc!=check||typeof(jsonData.nc)=='undefined')&&strpos(obj.url,'patHistory')===false)
{logout('encrypt');resp.responseText='{}';}}
else
{logout('encrypt');resp.responseText='{}';}});Ext.Ajax.on('beforerequest',function(conn,obj)
{var check=getCookie('PHPSESSID');if(strpos(obj.url,'patHistory')!==false)
{var a=str_replace('node=','',obj.params);obj.params=[];obj.params.node=a;}
if(check!==null&&check!=''&&(strpos(obj.url,'processQuery')!==false))
{for(var i in obj.params)
{if(obj.params[i]!==null&&obj.params[i]!='')
{obj.params[i]=AesCtr.encrypt(obj.params[i],check,256);}}
if(typeof(obj.params)=='undefined')
{obj.params=[];obj.params.fsms='cS4WOrq';}
obj.params.nc=AesCtr.encrypt(check,check,256);}});function fail(result)
{var jsonData=Ext.util.JSON.decode(result.responseText);if(typeof(jsonData)!='undefined')
{Ext.Msg.alert('Error','There was an error trying to process your last request.<br/><br /><span class="bold">Error Message:</span><br />'+jsonData.reason);}
else if(typeof(result.reason)!='undefined')
{Ext.Msg.alert('Error','There was an error trying to process your last request.<br/><br /><span class="bold">Error Message:</span><br />'+result.reason);}}
Ext.form.ColorField=function(config){Ext.form.ColorField.superclass.constructor.call(this,config);};Ext.extend(Ext.form.ColorField,Ext.form.TriggerField,{invalidText:"{0} is not a valid color - it must be in a the hex format {1}",triggerClass:'x-form-color-trigger',defaultAutoCreate:{tag:"input",type:"text",size:"10",maxlength:"7",autocomplete:"off"},maskRe:/[a-f0-9]/i,regex:/[a-f0-9]/i,validateValue:function(value){if(!Ext.form.ColorField.superclass.validateValue.call(this,value)){return false;}
if(value.length<1){return true;}
var parseOK=this.parseColor(value);if(!value||(parseOK==false)){this.markInvalid(String.format(this.invalidText,value,'#AABBCC'));return false;}
return true;},validateBlur:function(){return!this.menu||!this.menu.isVisible();},getValue:function(){return Ext.form.ColorField.superclass.getValue.call(this)||"";},setValue:function(color){Ext.form.ColorField.superclass.setValue.call(this,this.formatColor(color));},parseColor:function(value){return(!value||(value.substring(0,1)!='#'))?false:true;},formatColor:function(value){if(value&&(this.parseColor(value)==false)){value='#'+value;}
return value;},menuListeners:{select:function(e,c){this.setValue(c);},show:function(){this.onFocus();},hide:function(){this.focus();var ml=this.menuListeners;this.menu.un("select",ml.select,this);this.menu.un("show",ml.show,this);this.menu.un("hide",ml.hide,this);}},onTriggerClick:function(){if(this.disabled){return;}
if(this.menu==null){this.menu=new Ext.menu.ColorMenu();}
this.menu.on(Ext.apply({},this.menuListeners,{scope:this}));this.menu.show(this.el,"tl-bl?");}});;var Aes={};Aes.Cipher=function(input,w){var Nb=4;var Nr=w.length/Nb-1;var state=[[],[],[],[]];for(var i=0;i<4*Nb;i++)state[i%4][Math.floor(i/4)]=input[i];state=Aes.AddRoundKey(state,w,0,Nb);for(var round=1;round<Nr;round++){state=Aes.SubBytes(state,Nb);state=Aes.ShiftRows(state,Nb);state=Aes.MixColumns(state,Nb);state=Aes.AddRoundKey(state,w,round,Nb);}
state=Aes.SubBytes(state,Nb);state=Aes.ShiftRows(state,Nb);state=Aes.AddRoundKey(state,w,Nr,Nb);var output=new Array(4*Nb);for(var i=0;i<4*Nb;i++)output[i]=state[i%4][Math.floor(i/4)];return output;}
Aes.KeyExpansion=function(key){var Nb=4;var Nk=key.length/4
var Nr=Nk+6;var w=new Array(Nb*(Nr+1));var temp=new Array(4);for(var i=0;i<Nk;i++){var r=[key[4*i],key[4*i+1],key[4*i+2],key[4*i+3]];w[i]=r;}
for(var i=Nk;i<(Nb*(Nr+1));i++){w[i]=new Array(4);for(var t=0;t<4;t++)temp[t]=w[i-1][t];if(i%Nk==0){temp=Aes.SubWord(Aes.RotWord(temp));for(var t=0;t<4;t++)temp[t]^=Aes.Rcon[i/Nk][t];}else if(Nk>6&&i%Nk==4){temp=Aes.SubWord(temp);}
for(var t=0;t<4;t++)w[i][t]=w[i-Nk][t]^temp[t];}
return w;}
Aes.SubBytes=function(s,Nb){for(var r=0;r<4;r++){for(var c=0;c<Nb;c++)s[r][c]=Aes.Sbox[s[r][c]];}
return s;}
Aes.ShiftRows=function(s,Nb){var t=new Array(4);for(var r=1;r<4;r++){for(var c=0;c<4;c++)t[c]=s[r][(c+r)%Nb];for(var c=0;c<4;c++)s[r][c]=t[c];}
return s;}
Aes.MixColumns=function(s,Nb){for(var c=0;c<4;c++){var a=new Array(4);var b=new Array(4);for(var i=0;i<4;i++){a[i]=s[i][c];b[i]=s[i][c]&0x80?s[i][c]<<1^0x011b:s[i][c]<<1;}
s[0][c]=b[0]^a[1]^b[1]^a[2]^a[3];s[1][c]=a[0]^b[1]^a[2]^b[2]^a[3];s[2][c]=a[0]^a[1]^b[2]^a[3]^b[3];s[3][c]=a[0]^b[0]^a[1]^a[2]^b[3];}
return s;}
Aes.AddRoundKey=function(state,w,rnd,Nb){for(var r=0;r<4;r++){for(var c=0;c<Nb;c++)state[r][c]^=w[rnd*4+c][r];}
return state;}
Aes.SubWord=function(w){for(var i=0;i<4;i++)w[i]=Aes.Sbox[w[i]];return w;}
Aes.RotWord=function(w){var tmp=w[0];for(var i=0;i<3;i++)w[i]=w[i+1];w[3]=tmp;return w;}
Aes.Sbox=[0x63,0x7c,0x77,0x7b,0xf2,0x6b,0x6f,0xc5,0x30,0x01,0x67,0x2b,0xfe,0xd7,0xab,0x76,0xca,0x82,0xc9,0x7d,0xfa,0x59,0x47,0xf0,0xad,0xd4,0xa2,0xaf,0x9c,0xa4,0x72,0xc0,0xb7,0xfd,0x93,0x26,0x36,0x3f,0xf7,0xcc,0x34,0xa5,0xe5,0xf1,0x71,0xd8,0x31,0x15,0x04,0xc7,0x23,0xc3,0x18,0x96,0x05,0x9a,0x07,0x12,0x80,0xe2,0xeb,0x27,0xb2,0x75,0x09,0x83,0x2c,0x1a,0x1b,0x6e,0x5a,0xa0,0x52,0x3b,0xd6,0xb3,0x29,0xe3,0x2f,0x84,0x53,0xd1,0x00,0xed,0x20,0xfc,0xb1,0x5b,0x6a,0xcb,0xbe,0x39,0x4a,0x4c,0x58,0xcf,0xd0,0xef,0xaa,0xfb,0x43,0x4d,0x33,0x85,0x45,0xf9,0x02,0x7f,0x50,0x3c,0x9f,0xa8,0x51,0xa3,0x40,0x8f,0x92,0x9d,0x38,0xf5,0xbc,0xb6,0xda,0x21,0x10,0xff,0xf3,0xd2,0xcd,0x0c,0x13,0xec,0x5f,0x97,0x44,0x17,0xc4,0xa7,0x7e,0x3d,0x64,0x5d,0x19,0x73,0x60,0x81,0x4f,0xdc,0x22,0x2a,0x90,0x88,0x46,0xee,0xb8,0x14,0xde,0x5e,0x0b,0xdb,0xe0,0x32,0x3a,0x0a,0x49,0x06,0x24,0x5c,0xc2,0xd3,0xac,0x62,0x91,0x95,0xe4,0x79,0xe7,0xc8,0x37,0x6d,0x8d,0xd5,0x4e,0xa9,0x6c,0x56,0xf4,0xea,0x65,0x7a,0xae,0x08,0xba,0x78,0x25,0x2e,0x1c,0xa6,0xb4,0xc6,0xe8,0xdd,0x74,0x1f,0x4b,0xbd,0x8b,0x8a,0x70,0x3e,0xb5,0x66,0x48,0x03,0xf6,0x0e,0x61,0x35,0x57,0xb9,0x86,0xc1,0x1d,0x9e,0xe1,0xf8,0x98,0x11,0x69,0xd9,0x8e,0x94,0x9b,0x1e,0x87,0xe9,0xce,0x55,0x28,0xdf,0x8c,0xa1,0x89,0x0d,0xbf,0xe6,0x42,0x68,0x41,0x99,0x2d,0x0f,0xb0,0x54,0xbb,0x16];Aes.Rcon=[[0x00,0x00,0x00,0x00],[0x01,0x00,0x00,0x00],[0x02,0x00,0x00,0x00],[0x04,0x00,0x00,0x00],[0x08,0x00,0x00,0x00],[0x10,0x00,0x00,0x00],[0x20,0x00,0x00,0x00],[0x40,0x00,0x00,0x00],[0x80,0x00,0x00,0x00],[0x1b,0x00,0x00,0x00],[0x36,0x00,0x00,0x00]];var AesCtr={};AesCtr.encrypt=function(plaintext,password,nBits){var blockSize=16;if(!(nBits==128||nBits==192||nBits==256))return'';if(typeof(plaintext)=='undefined')
{plaintext='';}
plaintext=plaintext.toString();plaintext=Utf8.encode(plaintext);password=Utf8.encode(password);var nBytes=nBits/8;var pwBytes=new Array(nBytes);for(var i=0;i<nBytes;i++){pwBytes[i]=isNaN(password.charCodeAt(i))?0:password.charCodeAt(i);}
var key=Aes.Cipher(pwBytes,Aes.KeyExpansion(pwBytes));key=key.concat(key.slice(0,nBytes-16));var counterBlock=new Array(blockSize);var nonce=(new Date()).getTime();var nonceSec=Math.floor(nonce/1000);var nonceMs=nonce%1000;for(var i=0;i<4;i++)counterBlock[i]=(nonceSec>>>i*8)&0xff;for(var i=0;i<4;i++)counterBlock[i+4]=nonceMs&0xff;var ctrTxt='';for(var i=0;i<8;i++)ctrTxt+=String.fromCharCode(counterBlock[i]);var keySchedule=Aes.KeyExpansion(key);var blockCount=Math.ceil(plaintext.length/blockSize);var ciphertxt=new Array(blockCount);for(var b=0;b<blockCount;b++){for(var c=0;c<4;c++)counterBlock[15-c]=(b>>>c*8)&0xff;for(var c=0;c<4;c++)counterBlock[15-c-4]=(b/0x100000000>>>c*8)
var cipherCntr=Aes.Cipher(counterBlock,keySchedule);var blockLength=b<blockCount-1?blockSize:(plaintext.length-1)%blockSize+1;var cipherChar=new Array(blockLength);for(var i=0;i<blockLength;i++){cipherChar[i]=cipherCntr[i]^plaintext.charCodeAt(b*blockSize+i);cipherChar[i]=String.fromCharCode(cipherChar[i]);}
ciphertxt[b]=cipherChar.join('');}
var ciphertext=ctrTxt+ciphertxt.join('');ciphertext=Base64.encode(ciphertext);return ciphertext;}
AesCtr.decrypt=function(ciphertext,password,nBits){var blockSize=16;if(!(nBits==128||nBits==192||nBits==256))return'';ciphertext=Base64.decode(ciphertext);password=Utf8.encode(password);var nBytes=nBits/8;var pwBytes=new Array(nBytes);for(var i=0;i<nBytes;i++){pwBytes[i]=isNaN(password.charCodeAt(i))?0:password.charCodeAt(i);}
var key=Aes.Cipher(pwBytes,Aes.KeyExpansion(pwBytes));key=key.concat(key.slice(0,nBytes-16));var counterBlock=new Array(8);ctrTxt=ciphertext.slice(0,8);for(var i=0;i<8;i++)counterBlock[i]=ctrTxt.charCodeAt(i);var keySchedule=Aes.KeyExpansion(key);var nBlocks=Math.ceil((ciphertext.length-8)/blockSize);var ct=new Array(nBlocks);for(var b=0;b<nBlocks;b++)ct[b]=ciphertext.slice(8+b*blockSize,8+b*blockSize+blockSize);ciphertext=ct;var plaintxt=new Array(ciphertext.length);for(var b=0;b<nBlocks;b++){for(var c=0;c<4;c++)counterBlock[15-c]=((b)>>>c*8)&0xff;for(var c=0;c<4;c++)counterBlock[15-c-4]=(((b+1)/0x100000000-1)>>>c*8)&0xff;var cipherCntr=Aes.Cipher(counterBlock,keySchedule);var plaintxtByte=new Array(ciphertext[b].length);for(var i=0;i<ciphertext[b].length;i++){plaintxtByte[i]=cipherCntr[i]^ciphertext[b].charCodeAt(i);plaintxtByte[i]=String.fromCharCode(plaintxtByte[i]);}
plaintxt[b]=plaintxtByte.join('');}
var plaintext=plaintxt.join('');plaintext=Utf8.decode(plaintext);return plaintext;}
var Base64={};Base64.code="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";Base64.encode=function(str,utf8encode){utf8encode=(typeof utf8encode=='undefined')?false:utf8encode;var o1,o2,o3,bits,h1,h2,h3,h4,e=[],pad='',c,plain,coded;var b64=Base64.code;plain=utf8encode?str.encodeUTF8():str;c=plain.length%3;if(c>0){while(c++<3){pad+='=';plain+='\0';}}
for(c=0;c<plain.length;c+=3){o1=plain.charCodeAt(c);o2=plain.charCodeAt(c+1);o3=plain.charCodeAt(c+2);bits=o1<<16|o2<<8|o3;h1=bits>>18&0x3f;h2=bits>>12&0x3f;h3=bits>>6&0x3f;h4=bits&0x3f;e[c/3]=b64.charAt(h1)+b64.charAt(h2)+b64.charAt(h3)+b64.charAt(h4);}
coded=e.join('');coded=coded.slice(0,coded.length-pad.length)+pad;return coded;}
Base64.decode=function(str,utf8decode){utf8decode=(typeof utf8decode=='undefined')?false:utf8decode;var o1,o2,o3,h1,h2,h3,h4,bits,d=[],plain,coded;var b64=Base64.code;coded=utf8decode?str.decodeUTF8():str;for(var c=0;c<coded.length;c+=4){h1=b64.indexOf(coded.charAt(c));h2=b64.indexOf(coded.charAt(c+1));h3=b64.indexOf(coded.charAt(c+2));h4=b64.indexOf(coded.charAt(c+3));bits=h1<<18|h2<<12|h3<<6|h4;o1=bits>>>16&0xff;o2=bits>>>8&0xff;o3=bits&0xff;d[c/4]=String.fromCharCode(o1,o2,o3);if(h4==0x40)d[c/4]=String.fromCharCode(o1,o2);if(h3==0x40)d[c/4]=String.fromCharCode(o1);}
plain=d.join('');return utf8decode?plain.decodeUTF8():plain;}
var Utf8={};Utf8.encode=function(strUni){var strUtf=strUni.replace(/[\u0080-\u07ff]/g,function(c){var cc=c.charCodeAt(0);return String.fromCharCode(0xc0|cc>>6,0x80|cc&0x3f);});strUtf=strUtf.replace(/[\u0800-\uffff]/g,function(c){var cc=c.charCodeAt(0);return String.fromCharCode(0xe0|cc>>12,0x80|cc>>6&0x3F,0x80|cc&0x3f);});return strUtf;}
Utf8.decode=function(strUtf){var strUni=strUtf.replace(/[\u00c0-\u00df][\u0080-\u00bf]/g,function(c){var cc=(c.charCodeAt(0)&0x1f)<<6|c.charCodeAt(1)&0x3f;return String.fromCharCode(cc);});strUni=strUni.replace(/[\u00e0-\u00ef][\u0080-\u00bf][\u0080-\u00bf]/g,function(c){var cc=((c.charCodeAt(0)&0x0f)<<12)|((c.charCodeAt(1)&0x3f)<<6)|(c.charCodeAt(2)&0x3f);return String.fromCharCode(cc);});return strUni;};Ext.namespace("Ext.ux.plugin");Ext.onReady(function(){var a=Ext.util.CSS;if(a){a.getRule(".x-hide-nosize")||a.createStyleSheet(".x-hide-nosize{height:0px!important;width:0px!important;border:none!important;zoom:1;}.x-hide-nosize * {height:0px!important;width:0px!important;border:none!important;zoom:1;}");a.refreshCache()}});(function(){var g=Ext.Element,b=Ext.lib.Anim,a=g.prototype;var f="visibility",d="display",c="hidden",h="none";var e={};e.El={setDisplayed:function(j){var i=this;i.visibilityCls?(i[j!==false?"removeClass":"addClass"](i.visibilityCls)):a.setDisplayed.call(i,j);return i},isDisplayed:function(){return!(this.hasClass(this.visibilityCls)||this.isStyle(d,h))},fixDisplay:function(){var i=this;a.fixDisplay.call(i);i.visibilityCls&&i.removeClass(i.visibilityCls)},isVisible:function(j){var k=this.visible||(!this.isStyle(f,c)&&(this.visibilityCls?!this.hasClass(this.visibilityCls):!this.isStyle(d,h)));if(j!==true||!k){return k}var l=this.dom.parentNode,i=/body/i;while(l&&!i.test(l.tagName)){if(!Ext.fly(l,"_isVisible").isVisible()){return false}l=l.parentNode}return true},isStyle:a.isStyle||function(i,j){return this.getStyle(i)==j}};Ext.override(g.Flyweight,e.El);Ext.ux.plugin.VisibilityMode=function(j){Ext.apply(this,j||{});var i=Ext.util.CSS;if(i&&!Ext.isIE&&this.fixMaximizedWindow!==false&&!Ext.ux.plugin.VisibilityMode.MaxWinFixed){i.updateRule(".x-window-maximized-ct","overflow","");Ext.ux.plugin.VisibilityMode.MaxWinFixed=true}};Ext.extend(Ext.ux.plugin.VisibilityMode,Object,{bubble:true,fixMaximizedWindow:true,elements:null,visibilityCls:"x-hide-nosize",hideMode:"nosize",ptype:"uxvismode",init:function(m){var j=this.hideMode||m.hideMode,l=this,i=Ext.Container.prototype.bubble,k=function(){var p=[this.collapseEl,this.actionMode].concat(l.elements||[]);Ext.each(p,function(q){l.extend(this[q]||q)},this);var n={visFixed:true,animCollapse:false,animFloat:false,hideMode:j,defaults:this.defaults||{}};n.defaults.hideMode=j;Ext.apply(this,n);Ext.apply(this.initialConfig||{},n)};m.on("render",function(){if(l.bubble!==false&&this.ownerCt){i.call(this.ownerCt,function(){this.visFixed||this.on("afterlayout",k,this,{single:true})})}k.call(this)},m,{single:true})},extend:function(i,j){i&&Ext.each([].concat(i),function(k){if(k&&k.dom){if("visibilityCls"in k){return}Ext.apply(k,e.El);k.visibilityCls=j||this.visibilityCls}},this);return this}});Ext.preg&&Ext.preg("uxvismode",Ext.ux.plugin.VisibilityMode);Ext.provide&&Ext.provide("uxvismode")})();(function(){var w=Ext.Element,ac,Q=Ext.lib.Dom,r=Ext.lib.Anim,y=Ext.EventManager,m=Ext.lib.Event,Y=document,M=function(){},C=Object.prototype,h=C.toString,S="[object HTMLDocument]";if(!Ext.elCache){throw"Ext Release is not supported"}Ext._documents={};Ext._documents[Ext.id(document,"_doc")]=Ext.elCache;var W=Q.resolveDocumentCache=function(E,aA){var ay=ao(E),aB=Ext.isDocument(ay)?Ext.id(ay):aA,A=Ext._documents[aB]||null,az,ax;if(!A&&ay&&(ax=ay.parentWindow||ay.defaultView)){if(az=ax.frameElement){aB=az.id||az.name}}return A||Ext._documents[aB]||(aB?Ext._documents[aB]={}:null)},T=Q.clearDocumentCache=function(A){delete Ext._documents[A]};w.addMethods||(w.addMethods=function(A){Ext.apply(w.prototype,A||{})});Ext.removeNode=function(aA){var az=aA?aA.dom||aA:null;if(az&&az.tagName!="BODY"){var ax,ay,A=W(az),E;if((ay=A[az.id])&&(ax=ay.el)){if(ax.dom){Ext.enableNestedListenerRemoval?y.purgeElement(ax.dom,true):y.removeAll(ax.dom)}delete A[az.id];delete ax.dom;delete ax._context;ax=null}(E=az.parentElement||az.parentNode)&&E.removeChild(az);az=null}};var ae=function(aB,az){var aA=typeof aB==="function"?aB:function ay(){};var ax=aA._ovl;if(!ax){ax={base:aA};ax[aA.length||0]=aA;aA=function ay(){var aE=arguments.callee._ovl;var aD=aE[arguments.length]||aE.base;return aD&&aD!=arguments.callee?aD.apply(this,arguments):undefined}}var aC=[].concat(az);for(var E=0,A=aC.length;E<A;++E){ax[aC[E].length]=aC[E]}aA._ovl=ax;var ay=null;return aA};Ext.applyIf(Ext,{overload:ae(ae,[function(A){return ae(null,A)},function(ax,E,A){return ax[E]=ae(ax[E],A)}]),isArray:function(A){return!!A&&h.apply(A)=="[object Array]"},isObject:function(A){return!!A&&typeof A=="object"},isDocument:function(E,A){var az=E?E.dom||E:null;var ay=h.apply(az)==S||(az&&az.nodeType==9);if(ay&&A){try{ay=!!az.location}catch(ax){return false}}return ay},isWindow:function(A){var E=A?A.dom||A:null;return E?!!E.navigator||h.apply(E)=="[object Window]":false},isIterable:function(A){if(Ext.isArray(A)||A.callee){return true}if(/NodeList|HTMLCollection/.test(h.call(A))){return true}return((typeof A.nextNode!="undefined"||A.item)&&Ext.isNumber(A.length))},isElement:function(A){return A&&Ext.type(A)=="element"},isEvent:function(A){return h.apply(A)=="[object Event]"||(Ext.isObject(A)&&!Ext.type(o.constructor)&&(window.event&&A.clientX&&A.clientX==window.event.clientX))},isFunction:function(A){return!!A&&typeof A=="function"},isEventSupported:function(ay,az){var ax={select:"input",change:"input",submit:"form",reset:"form",load:"img",error:"img",abort:"img"},A={},aA=/^on/i,E=function(aD,aC){var aB=Ext.getDom(aC);return(aB?(Ext.isElement(aB)||Ext.isDocument(aB)?aB.nodeName.toLowerCase():aC.self?"#window":aC||"#object"):aC||"div")+":"+aD};return function(aF,aH){aF=(aF||"").replace(aA,"");var aG,aE=false;var aC="on"+aF;var aB=(aH?aH:ax[aF])||"div";var aD=E(aF,aB);if(aD in A){return A[aD]}aG=Ext.isString(aB)?Y.createElement(aB):aH;aE=(!!aG&&(aC in aG));aE||(aE=window.Event&&!!(String(aF).toUpperCase()in window.Event));if(!aE&&aG){aG.setAttribute&&aG.setAttribute(aC,"return;");aE=Ext.isFunction(aG[aC])}A[aD]=aE;aG=null;return aE}}()});var u=function(A){return w[(A.tagName||"-").toUpperCase()]||w};var ak;function ab(A,E){if(!ak){ak=new Ext.Element.Flyweight()}ak.dom=Ext.getDom(A,E);return ak}Ext.apply(Ext,{get:w.get=function(ax,az){if(!ax){return null}Ext.isDocument(az)||(az=Y);var E,aC,aB,A=W(az);if(typeof ax=="string"){aC=Ext.getDom(ax,az);if(!aC){return null}if(A[ax]&&A[ax].el){E=A[ax].el;E.dom=aC}else{E=w.addToCache(new(u(aC))(aC,null,az))}return E}else{if(ax.tagName||Ext.isWindow(ax)){A=W(ax);aB=ax.id||(aB=Ext.id(ax));if(A[aB]&&(E=A[aB].el)){E.dom=ax}else{E=w.addToCache(new(u(ax))(ax,null,az),null,A);ax.navigator&&(A[aB].skipGC=true)}return E}else{if(ax instanceof w){A=W(ax);ax.dom=ax.getDocument().getElementById(ax.id)||ax.dom;if(ax.dom){(A[ax.id]||(A[ax.id]={data:{},events:{}})).el=ax}return ax}else{if(Ext.isDocument(ax)){if(!Ext.isDocument(ax,true)){return false}A=W(ax);if(A[Ext.id(ax)]&&A[ax.id].el){return A[ax.id].el}var ay=function(){};ay.prototype=w.prototype;var aA=new ay();aA.dom=ax;aA.id=Ext.id(ax,"_doc");aA._isDoc=true;w.addToCache(aA,null,A);A[aA.id].skipGC=true;return aA}else{if(ax.isComposite){return ax}else{if(Ext.isArray(ax)){return Ext.get(az,az).select(ax)}}}}}}return null},getDom:function(A,ax){if(!A){return null}var E=ax||Y;return A.dom?A.dom:(typeof A=="string"&&E.getElementById?E.getElementById(A):A)},getBody:function(E){var A=Q.getDocument(E)||Y;return Ext.get(A.body||A.documentElement)},getDoc:Ext.overload([Ext.getDoc,function(A){return Ext.get(A,A)}])});w.data=function(E,A,ax){E=w.get(E);if(!E){return null}var ay=W(E)[E.id].data;if(arguments.length==2){return ay[A]}else{return(ay[A]=ax)}};w.addToCache=function(E,ay,A){ay=ay||E.id;var ax=A||W(E);ax[ay]={el:E,data:{},events:{}};return E};var ag={},X=/(-[a-z])/gi,L=function(A,E){return E.charAt(1).toUpperCase()},I=/alpha\(opacity=(.*)\)/i,t=/^\s+|\s+$/g,aq=/marginRight/,j=Ext.isIE?"styleFloat":"cssFloat",c=Y.defaultView,af="visibilityMode",x=w.DISPLAY,q="originalDisplay",D="padding",ai="margin",an="border",P="-left",au="-right",Z="-top",V="-bottom",e="-width",at=Math,F="opacity",g="visibility",a="display",ap="hidden",ad="none",v="isClipped",am="overflow",K="overflow-x",H="overflow-y",O="originalClip",s="x-masked",U="x-masked-relative",p={l:an+P+e,r:an+au+e,t:an+Z+e,b:an+V+e},al={l:D+P,r:D+au,t:D+Z,b:D+V},i={l:ai+P,r:ai+au,t:ai+Z,b:ai+V},aw=w.data,ah=Ext.getDom,B=Ext.get,b=Ext.DomHelper,z=/^(?:scope|delay|buffer|single|stopEvent|preventDefault|stopPropagation|normalized|args|delegate)$/,n=Ext.util.CSS,av=function(E){var A=aw(E,q);if(A===undefined){aw(E,q,A="")}return A},N=function(E){var A=aw(E,af);if(A===undefined){aw(E,af,A=1)}return A};function k(A){return ag[A]||(ag[A]=A=="float"?j:A.replace(X,L))}w.addMethods({getDocument:function(){return this._context||(this._context=ao(this))},remove:function(E,A){var ax=this.dom;this.isMasked()&&this.unmask();if(ax){E&&this.cleanse(true,A);Ext.removeNode(ax);delete this._context;delete this.dom}},cleanse:function(E,ax){if(this.isCleansed&&E!==true){return this}var ay=this.dom,az=ay.firstChild,A;while(ay&&az){A=az.nextSibling;ax&&Ext.fly(az,"_cleanser").cleanse(E,ax);Ext.removeNode(az);az=A}delete w._flyweights._cleanser;this.isCleansed=true;return this},appendChild:function(A,E){return B(A,E||this.getDocument()).appendTo(this)},appendTo:function(A,E){ah(A,E||this.getDocument()).appendChild(this.dom);return this},insertBefore:function(A,E){(A=ah(A,E||this.getDocument())).parentNode.insertBefore(this.dom,A);return this},insertAfter:function(A,E){(A=ah(A,E||this.getDocument())).parentNode.insertBefore(this.dom,A.nextSibling);return this},insertFirst:function(E,A){E=E||{};if(E.nodeType||E.dom||typeof E=="string"){E=ah(E);this.dom.insertBefore(E,this.dom.firstChild);return!A?B(E):E}else{return this.createChild(E,this.dom.firstChild,A)}},replace:function(A,E){A=B(A,E||this.getDocument());this.insertBefore(A);A.remove();return this},replaceWith:function(A,ax){var E=this;if(A.nodeType||A.dom||typeof A=="string"){A=ah(A,ax||E.getDocument());E.dom.parentNode.insertBefore(A,E.dom)}else{A=b.insertBefore(E.dom,A)}var ay=W(E);Ext.removeNode(E.dom);E.id=Ext.id(E.dom=A);w.addToCache(E.isFlyweight?new(u(E.dom))(E.dom,null,ay):E);return E},insertHtml:function(E,ax,A){var ay=b.insertHtml(E,this.dom,ax);return A?Ext.get(ay,ao(ay)):ay},setVisibilityMode:function(A){aw(this.dom,af,A);return this},setVisible:function(az,E){var ax=this,ay=ax.dom,A=N(this.dom)==x;if(!E||!ax.anim){if(A){ax.setDisplayed(az)}else{ax.fixDisplay();ay.style.visibility=az?"visible":ap}}else{if(az){ax.setOpacity(0.01);ax.setVisible(true)}ax.anim({opacity:{to:(az?1:0)}},ax.preanim(arguments,1),null,0.35,"easeIn",function(){if(!az){ay.style[A?a:g]=(A)?ad:ap;Ext.fly(ay).setOpacity(1)}})}return ax},setDisplayed:function(A){if(typeof A=="boolean"){A=A?av(this.dom):ad}this.setStyle(a,A);return this},fixDisplay:function(){var A=this;if(A.isStyle(a,ad)){A.setStyle(g,ap);A.setStyle(a,av(this.dom));if(A.isStyle(a,ad)){A.setStyle(a,"block")}}},enableDisplayMode:function(A){this.setVisibilityMode(w.DISPLAY);if(!Ext.isEmpty(A)){aw(this.dom,q,A)}return this},scrollIntoView:function(ax,aA){var aF=this.getDocument();var aG=Ext.getDom(ax,aF)||Ext.getBody(aF).dom;var az=this.dom;var ay=this.getOffsetsTo(aG),aK=this.getScroll(),aC=ay[0]+aK.left,aJ=ay[1]+aK.top,aH=aJ+az.offsetHeight,E=aC+az.offsetWidth;var A=aG.clientHeight;var aD=parseInt(aG.scrollTop,10);var aI=parseInt(aG.scrollLeft,10);var aB=aD+A;var aE=aI+aG.clientWidth;if(az.offsetHeight>A||aJ<aD){aG.scrollTop=aJ}else{if(aH>aB){aG.scrollTop=aH-A}}aG.scrollTop=aG.scrollTop;if(aA!==false){if(az.offsetWidth>aG.clientWidth||aC<aI){aG.scrollLeft=aC}else{if(E>aE){aG.scrollLeft=E-aG.clientWidth}}aG.scrollLeft=aG.scrollLeft}return this},contains:function(A){try{return!A?false:Q.isAncestor(this.dom,A.dom?A.dom:A)}catch(E){return false}},getScroll:function(){var aB=this.dom,aA=this.getDocument(),A=aA.body,ax=aA.documentElement,E,az,ay;if(Ext.isDocument(aB)||aB==A){if(Ext.isIE&&Q.docIsStrict(aA)){E=ax.scrollLeft;az=ax.scrollTop}else{E=window.pageXOffset;az=window.pageYOffset}ay={left:E||(A?A.scrollLeft:0),top:az||(A?A.scrollTop:0)}}else{ay={left:aB.scrollLeft,top:aB.scrollTop}}return ay},getStyle:function(){var A=c&&c.getComputedStyle?function E(aD){var aA=!this._isDoc?this.dom:null,ax,az,ay,aB,aC=Ext.isWebKit,aB;if(!aA||!aA.style){return null}aD=k(aD);if(aC&&aq.test(aD)){aB=this.getStyle(a);aA.style.display="inline-block"}ay=(ax=aA.style[aD])?ax:(az=c.getComputedStyle(aA,""))?az[aD]:null;if(aC){if(ay=="rgba(0, 0, 0, 0)"){ay="transparent"}else{if(aB){aA.style.display=aB}}}return ay}:function E(aB){var az=!this._isDoc?this.dom:null,ax,ay;if(!az||!az.style){return null}if(aB==F){if(az.style.filter.match){if(ax=az.style.filter.match(I)){var aA=parseFloat(ax[1]);if(!isNaN(aA)){return aA?aA/100:0}}}return 1}aB=k(aB);return az.style[aB]||((ay=az.currentStyle)?ay[aB]:null)};var E=null;return A}(),setStyle:function(az,ay){if(this._isDoc||Ext.isDocument(this.dom)){return this}var E,ax,A;if(!Ext.isObject(az)){E={};E[az]=ay;az=E}for(ax in az){ay=az[ax];ax==F?this.setOpacity(ay):this.dom.style[k(ax)]=ay}return this},center:function(A){return this.alignTo(A||this.getDocument(),"c-c")},mask:function(E,aA){var aC=this,ay=aC.dom,aB=Ext.DomHelper,az="ext-el-mask-msg",A,aD;if(aC.getStyle("position")=="static"){aC.addClass(U)}if((A=aw(ay,"maskMsg"))){A.remove()}if((A=aw(ay,"mask"))){A.remove()}aD=aB.append(ay,{cls:"ext-el-mask"},true);aw(ay,"mask",aD);aC.addClass(s);aD.setDisplayed(true);if(typeof E=="string"){var ax=aB.append(ay,{cls:az,cn:{tag:"div"}},true);aw(ay,"maskMsg",ax);ax.dom.className=aA?az+" "+aA:az;ax.dom.firstChild.innerHTML=E;ax.setDisplayed(true);ax.center(aC)}if(Ext.isIE&&!(Ext.isIE7&&Ext.isStrict)&&aC.getStyle("height")=="auto"){aD.setSize(undefined,aC.getHeight())}return aD},unmask:function(){var ax=this,ay=ax.dom,A=aw(ay,"mask"),E=aw(ay,"maskMsg");if(A){if(E){E.remove();aw(ay,"maskMsg",undefined)}A.remove();aw(ay,"mask",undefined)}ax.removeClass([s,U])},isMasked:function(){var A=aw(this.dom,"mask");return A&&A.isVisible()},getCenterXY:function(){return this.getAlignToXY(this.getDocument(),"c-c")},getAnchorXY:function(az,aE,aJ){az=(az||"tl").toLowerCase();aJ=aJ||{};var aD=this,aG=this.getDocument(),E=aD.dom==aG.body||aD.dom==aG,aH=aJ.width||E?Q.getViewWidth(false,aG):aD.getWidth(),aB=aJ.height||E?Q.getViewHeight(false,aG):aD.getHeight(),aI,A=Math.round,ax=aD.getXY(),aF=aD.getScroll(),aC=E?aF.left:!aE?ax[0]:0,aA=E?aF.top:!aE?ax[1]:0,ay={c:[A(aH*0.5),A(aB*0.5)],t:[A(aH*0.5),0],l:[0,A(aB*0.5)],r:[aH,A(aB*0.5)],b:[A(aH*0.5),aB],tl:[0,0],bl:[0,aB],br:[aH,aB],tr:[aH,0]};aI=ay[az];return[aI[0]+aC,aI[1]+aA]},anchorTo:function(E,aA,ax,A,aC,aD){var aB=this,az=aB.dom;function ay(){ab(az).alignTo(E,aA,ax,A);Ext.callback(aD,ab(az))}Ext.EventManager.onWindowResize(ay,aB);if(!Ext.isEmpty(aC)){Ext.EventManager.on(window,"scroll",ay,aB,{buffer:!isNaN(aC)?aC:50})}ay.call(aB);return aB},getScroll:function(){var aB=this.dom,aA=this.getDocument(),A=aA.body,ax=aA.documentElement,E,az,ay;if(aB==aA||aB==A){if(Ext.isIE&&Q.docIsStrict(aA)){E=ax.scrollLeft;az=ax.scrollTop}else{E=window.pageXOffset;az=window.pageYOffset}ay={left:E||(A?A.scrollLeft:0),top:az||(A?A.scrollTop:0)}}else{ay={left:aB.scrollLeft,top:aB.scrollTop}}return ay},getAlignToXY:function(ay,aK,aL){var aX;ay=Ext.get(ay,aX=this.getDocument());if(!ay||!ay.dom){throw"Element.getAlignToXY with an element that doesn't exist"}aL=aL||[0,0];aK=(aK=="?"?"tl-bl?":(!/-/.test(aK)&&aK!=""?"tl-"+aK:aK||"tl-bl")).toLowerCase();var aU=this,aR=aU.dom,aW,aV,aD,aC,aF,aP,aI,aG=Q.getViewWidth(false,aX)-10,aQ=Q.getViewHeight(false,aX)-10,E,az,aA,aB,aH,aJ,aT=aX.documentElement,aE=aX.body,aO=(aT.scrollLeft||aE.scrollLeft||0)+5,aN=(aT.scrollTop||aE.scrollTop||0)+5,aS=false,ax="",A="",aM=aK.match(/^([a-z]+)-([a-z]+)(\?)?$/);if(!aM){throw"Element.getAlignToXY with an invalid alignment "+aK}ax=aM[1];A=aM[2];aS=!!aM[3];aW=aU.getAnchorXY(ax,true);aV=ay.getAnchorXY(A,false);aD=aV[0]-aW[0]+aL[0];aC=aV[1]-aW[1]+aL[1];if(aS){aF=aU.getWidth();aP=aU.getHeight();aI=ay.getRegion();E=ax.charAt(0);az=ax.charAt(ax.length-1);aA=A.charAt(0);aB=A.charAt(A.length-1);aH=((E=="t"&&aA=="b")||(E=="b"&&aA=="t"));aJ=((az=="r"&&aB=="l")||(az=="l"&&aB=="r"));if(aD+aF>aG+aO){aD=aJ?aI.left-aF:aG+aO-aF}if(aD<aO){aD=aJ?aI.right:aO}if(aC+aP>aQ+aN){aC=aH?aI.top-aP:aQ+aN-aP}if(aC<aN){aC=aH?aI.bottom:aN}}return[aD,aC]},adjustForConstraints:function(ax,A,E){return this.getConstrainToXY(A||this.getDocument(),false,E,ax)||ax},getConstrainToXY:function(E,A,ax,az){var ay={top:0,left:0,bottom:0,right:0};return function(aB,aO,aD,aF){var aS=this.getDocument();aB=Ext.get(aB,aS);aD=aD?Ext.applyIf(aD,ay):ay;var aN,aR,aM=0,aL=0;if(aB.dom==aS.body||aB.dom==aS){aN=Q.getViewWidth(false,aS);aR=Q.getViewHeight(false,aS)}else{aN=aB.dom.clientWidth;aR=aB.dom.clientHeight;if(!aO){var aK=aB.getXY();aM=aK[0];aL=aK[1]}}var aJ=aB.getScroll();aM+=aD.left+aJ.left;aL+=aD.top+aJ.top;aN-=aD.right;aR-=aD.bottom;var aP=aM+aN;var aA=aL+aR;var aC=aF||(!aO?this.getXY():[this.getLeft(true),this.getTop(true)]);var aH=aC[0],aG=aC[1];var aI=this.dom.offsetWidth,aQ=this.dom.offsetHeight;var aE=false;if((aH+aI)>aP){aH=aP-aI;aE=true}if((aG+aQ)>aA){aG=aA-aQ;aE=true}if(aH<aM){aH=aM;aE=true}if(aG<aL){aG=aL;aE=true}return aE?[aH,aG]:false}}(),getCenterXY:function(){return this.getAlignToXY(Ext.getBody(this.getDocument()),"c-c")},center:function(A){return this.alignTo(A||Ext.getBody(this.getDocument()),"c-c")},findParent:function(aC,aB,E){var az=this.dom,ay=this.getDocument(),A=ay.body,aA=0,ax;if(Ext.isGecko&&h.call(az)=="[object XULElement]"){return null}aB=aB||50;if(isNaN(aB)){ax=Ext.getDom(aB,ay);aB=Number.MAX_VALUE}while(az&&az.nodeType==1&&aA<aB&&az!=A&&az!=ax){if(Ext.DomQuery.is(az,aC)){return E?Ext.get(az,ay):az}aA++;az=az.parentNode}return null},clip:function(){var A=this,E=A.dom;if(!aw(E,v)){aw(E,v,true);aw(E,O,{o:A.getStyle(am),x:A.getStyle(K),y:A.getStyle(H)});A.setStyle(am,ap);A.setStyle(K,ap);A.setStyle(H,ap)}return A},unclip:function(){var A=this,ax=A.dom;if(aw(ax,v)){aw(ax,v,false);var E=aw(ax,O);if(E.o){A.setStyle(am,E.o)}if(E.x){A.setStyle(K,E.x)}if(E.y){A.setStyle(H,E.y)}}return A}});Ext.isDefined(w.collectorThreadId)&&clearInterval(w.collectorThreadId);function l(){if(!Ext.enableGarbageCollector){clearInterval(w.collectorThreadId)}else{var A,ay,aA,az,ax=Ext.elCache;for(A in ax){az=ax[A];if(az.skipGC){continue}ay=az.el;aA=ay.dom;if(!aA||!aA.parentNode||(!aA.offsetParent&&!Y.getElementById(A))){if(Ext.enableListenerCollection){Ext.EventManager.removeAll(aA)}delete ax[A]}if(Ext.isIE){var E={};for(A in ax){E[A]=ax[A]}Ext.elCache=Ext._documents[Ext.id(document)]=E;E=null}}}}if(Ext.enableGarbageCollector){w.collectorThreadId=setInterval(l,30000)}Ext.apply(Q,{getDocument:function(ax,ay){var az=null;try{az=Ext.getDom(ax,null)}catch(E){}var A=Ext.isDocument(az);if(A){if(ay){return Ext.isDocument(az,ay)?az:null}return az}return az?az.ownerDocument||az.document:null},docIsStrict:function(A){return(Ext.isDocument(A)?A:this.getDocument(A)).compatMode=="CSS1Compat"},getViewWidth:Ext.overload([Q.getViewWidth||function(A){},function(){return this.getViewWidth(false)},function(A,E){return A?this.getDocumentWidth(E):this.getViewportWidth(E)}]),getViewHeight:Ext.overload([Q.getViewHeight||function(A){},function(){return this.getViewHeight(false)},function(A,E){return A?this.getDocumentHeight(E):this.getViewportHeight(E)}]),getDocumentHeight:Ext.overload([Q.getDocumentHeight||M,function(A){if(A=this.getDocument(A)){return Math.max(!this.docIsStrict(A)?A.body.scrollHeight:A.documentElement.scrollHeight,this.getViewportHeight(A))}return undefined}]),getDocumentWidth:Ext.overload([Q.getDocumentWidth||M,function(A){if(A=this.getDocument(A)){return Math.max(!this.docIsStrict(A)?A.body.scrollWidth:A.documentElement.scrollWidth,this.getViewportWidth(A))}return undefined}]),getViewportHeight:Ext.overload([Q.getViewportHeight||M,function(A){if(A=this.getDocument(A)){if(Ext.isIE){return this.docIsStrict(A)?A.documentElement.clientHeight:A.body.clientHeight}else{return A.defaultView.innerHeight}}return undefined}]),getViewportWidth:Ext.overload([Q.getViewportWidth||M,function(A){if(A=this.getDocument(A)){return!this.docIsStrict(A)&&!Ext.isOpera?A.body.clientWidth:Ext.isIE?A.documentElement.clientWidth:A.defaultView.innerWidth}return undefined}]),getXY:Ext.overload([Q.getXY||M,function(A,ay){A=Ext.getDom(A,ay);var ax=this.getDocument(A),E=ax?(ax.body||ax.documentElement):null;if(!A||!E||A==E){return[0,0]}return this.getXY(A)}])});var ao=Q.getDocument,d=w._flyweights;Ext.fly=w.fly=function(ax,A,ay){var E=null;A=A||"_global";if(ax=Ext.getDom(ax,ay)){(E=d[A]=(d[A]||new w.Flyweight())).dom=ax;Ext.isDocument(ax)&&(E._isDoc=true)}return E};var G=function(){};G.prototype=w.prototype;w.Flyweight=function(A){this.dom=A};w.Flyweight.prototype=new G();w.Flyweight.prototype.isFlyweight=true;function f(ax,az,aC,ay,E,aE){ax=Ext.getDom(ax);if(!ax){return}var A=Ext.get(ax).id,aD=(W(ax)[A]||{}).events||{},aA;aA=m.on(ax,az,E);aD[az]=aD[az]||[];aD[az].push([aC,E,aE,aA,ay]);if(az=="mousewheel"&&ax.addEventListener){var aB=["DOMMouseScroll",E,false];ax.addEventListener.apply(ax,aB);Ext.EventManager.addListener(window,"unload",function(){ax.removeEventListener.apply(ax,aB)})}if(az=="mousedown"&&Ext.isDocument(ax)){Ext.EventManager.stoppedMouseDownEvent.addListener(E)}}function R(A,E){return function(){var ax=Ext.toArray(arguments);if(E.target==Ext.EventObject.setEvent(ax[0]).target){A.apply(this,ax)}}}function J(E,ax,A){return function(ay){A.delay(ax.buffer,E,null,[new Ext.EventObjectImpl(ay)])}}function aj(az,ay,A,ax,E){return function(aA){Ext.EventManager.removeListener(ay,A,ax,E);az(aA)}}function ar(E,ax,A){return function(az){var ay=new Ext.util.DelayedTask(E);(A.tasks||(A.tasks=[])).push(ay);ay.delay(ax.delay||10,E,null,[new Ext.EventObjectImpl(az)])}}function aa(aA,az,A,aC,aD){var E=!Ext.isObject(A)?{}:A,ax=Ext.getDom(aA),ay;aC=aC||E.fn;aD=aD||E.scope;if(!ax){throw'Error listening for "'+az+'". Element "'+aA+"\" doesn't exist."}function aB(aF){if(!window.Ext){return}aF=Ext.EventObject.setEvent(aF);var aE;if(E.delegate){if(!(aE=aF.getTarget(E.delegate,ax))){return}}else{aE=aF.target}if(E.stopEvent){aF.stopEvent()}if(E.preventDefault){aF.preventDefault()}if(E.stopPropagation){aF.stopPropagation()}if(E.normalized){aF=aF.browserEvent}aC.call(aD||ax,aF,aE,E)}if(E.target){aB=R(aB,E)}if(E.delay){aB=ar(aB,E,aC)}if(E.single){aB=aj(aB,ax,az,aC,aD)}if(E.buffer){ay=new Ext.util.DelayedTask(aB);aB=J(aB,E,ay)}f(ax,az,aC,ay,aB,aD);return aB}Ext.apply(y,{addListener:y.on=function(ax,A,az,ay,E){if(Ext.isObject(A)){var aC=A,aA,aB;for(aA in aC){aB=aC[aA];if(!z.test(aA)){if(Ext.isFunction(aB)){aa(ax,aA,aC,aB,aC.scope)}else{aa(ax,aA,aB)}}}}else{aa(ax,A,E,az,ay)}},removeListener:y.un=function(aB,aC,aG,aI){var ax=Ext.getDom(aB);ax&&Ext.get(ax);var aH=ax?W(ax):{},aE=ax&&((aH[ax.id]||{events:{}}).events)[aC]||[],A,aA,ay,az,E,aD,aF;for(aA=0,aD=aE.length;aA<aD;aA++){if(Ext.isArray(aF=aE[aA])&&aF[0]==aG&&(!aI||aF[2]==aI)){aF[4]&&aF[4].cancel();az=aG.tasks&&aG.tasks.length;if(az){while(az--){aG.tasks[az].cancel()}delete aG.tasks}E=A=aF[1];if(m.extAdapter){E=aF[3]}m.un(ax,aC,E);aE.splice(aA,1);if(aE.length===0){delete aH[ax.id].events[aC]}for(az in aH[ax.id].events){return false}aH[ax.id].events={};return false}}if(aC=="mousewheel"&&ax.addEventListener&&A){ax.removeEventListener("DOMMouseScroll",A,false)}if(aC=="mousedown"&&ax==Y&&A){Ext.EventManager.stoppedMouseDownEvent.removeListener(A)}},removeAll:function(E){if(!(E=Ext.getDom(E))){return}var A=E.id,aE=W(E)||{},aF=aE[A]||{},aD=aF.events||{},aA,az,aB,ax,aC,ay;for(ax in aD){if(aD.hasOwnProperty(ax)){aA=aD[ax];for(az=0,aB=aA.length;az<aB;az++){aC=aA[az];aC[4]&&aC[4].cancel();if(aC[0].tasks&&(ay=aC[0].tasks.length)){while(ay--){aC[0].tasks[ay].cancel()}delete aC.tasks}m.un(E,ax,m.extAdapter?aC[3]:aC[1])}}}aE[A]&&(aE[A].events={})},getListeners:function(ax,E){ax=Ext.getDom(ax);if(!ax){return}var az=(Ext.get(ax)||{}).id,A=W(ax),ay=(A[az]||{}).events||{};return ay[E]||null},purgeElement:function(ax,A,az){ax=Ext.getDom(ax);var E=ax.id,aC=W(ax),aD=(aC[E]||{}).events||{},ay,aB,aA;if(az){if(aD.hasOwnProperty(az)){aB=aD[az];for(ay=0,aA=aB.length;ay<aA;ay++){y.removeListener(ax,az,aB[ay][0])}}}else{y.removeAll(ax)}if(A&&ax&&ax.childNodes){for(ay=0,aA=ax.childNodes.length;ay<aA;ay++){y.purgeElement(ax.childNodes[ay],A,az)}}}});m.getListeners=function(E,A){return Ext.EventManager.getListeners(E,A)};Ext.provide&&Ext.provide("multidom")})();(function(){var El=Ext.Element,ElFrame,ELD=Ext.lib.Dom,EMPTYFN=function(){},OP=Object.prototype,addListener=function(){var handler;if(window.addEventListener){handler=function F(el,eventName,fn,capture){el.addEventListener(eventName,fn,!!capture)}}else{if(window.attachEvent){handler=function F(el,eventName,fn,capture){el.attachEvent("on"+eventName,fn)}}else{handler=function F(){}}}var F=null;return handler}(),removeListener=function(){var handler;if(window.removeEventListener){handler=function F(el,eventName,fn,capture){el.removeEventListener(eventName,fn,(capture))}}else{if(window.detachEvent){handler=function F(el,eventName,fn){el.detachEvent("on"+eventName,fn)}}else{handler=function F(){}}}var F=null;return handler}();if(typeof ELD.getDocument!="function"){throw"MIF 2.1 requires multidom support"}if(!Ext.isDefined(Ext.elCache)){throw"MIF 2.1 requires Ext 3.1 or higher."}Ext.ns("Ext.ux.ManagedIFrame","Ext.ux.plugin");var MIM,MIF=Ext.ux.ManagedIFrame,MIFC;var frameEvents=["documentloaded","domready","focus","blur","resize","scroll","unload","scroll","exception","message","reset"];var reSynthEvents=new RegExp("^("+frameEvents.join("|")+")","i");Ext.ux.ManagedIFrame.Element=Ext.extend(Ext.Element,{constructor:function(element,forceNew,doc){var d=doc||document;var elCache=ELD.resolveDocumentCache(d);var dom=Ext.getDom(element,d);if(!dom||!(/^(iframe|frame)/i).test(dom.tagName)){return null}var id=Ext.id(dom);this.dom=dom;this.id=id;(elCache[id]||(elCache[id]={el:this,events:{},data:{}})).el=this;this.dom.name||(this.dom.name=this.id);if(Ext.isIE){document.frames&&(document.frames[this.dom.name]||(document.frames[this.dom.name]=this.dom))}this.dom.ownerCt=this;MIM.register(this);if(!this._observable){(this._observable=new Ext.util.Observable()).addEvents("documentloaded","domready","exception","resize","message","blur","focus","unload","scroll","reset");this._observable.addEvents("_docready","_docload")}this.dom[Ext.isIE?"onreadystatechange":"onload"]=this.dom.onerror=this.loadHandler.createDelegate(this)},destructor:function(){this.dom[Ext.isIE?"onreadystatechange":"onload"]=this.dom.onerror=EMPTYFN;MIM.deRegister(this);this.removeAllListeners();Ext.destroy(this.frameShim,this.DDM);this.hideMask(true);delete this.loadMask;this.reset();this.manager=null;this.dom.ownerCt=null},cleanse:function(forceReclean,deep){if(this.isCleansed&&forceReclean!==true){return this}var d=this.dom,n=d.firstChild,nx;while(d&&n){nx=n.nextSibling;deep&&Ext.fly(n).cleanse(forceReclean,deep);Ext.removeNode(n);n=nx}this.isCleansed=true;return this},src:null,CSS:null,manager:null,disableMessaging:true,domReadyRetries:7500,focusOnLoad:Ext.isIE,eventsFollowFrameLinks:true,_domCache:null,remove:function(){this.destructor.apply(this,arguments);ElFrame.superclass.remove.apply(this,arguments)},getDocument:function(){return this.dom?this.dom.ownerDocument:document},submitAsTarget:function(submitCfg){var opt=submitCfg||{},D=this.getDocument(),form=Ext.getDom(opt.form?opt.form.form||opt.form:null,D)||Ext.DomHelper.append(D.body,{tag:"form",cls:"x-hidden x-mif-form",encoding:"multipart/form-data"}),formFly=Ext.fly(form,"_dynaForm"),formState={target:form.target||"",method:form.method||"",encoding:form.encoding||"",enctype:form.enctype||"",action:form.action||""},encoding=opt.encoding||form.encoding,method=opt.method||form.method||"POST";formFly.set({target:this.dom.name,method:method,encoding:encoding,action:opt.url||opt.action||form.action});if(method=="POST"||!!opt.enctype){formFly.set({enctype:opt.enctype||form.enctype||encoding})}var hiddens,hd,ps;if(opt.params&&(ps=Ext.isFunction(opt.params)?opt.params():opt.params)){hiddens=[];Ext.iterate(ps=typeof ps=="string"?Ext.urlDecode(ps,false):ps,function(n,v){Ext.fly(hd=D.createElement("input")).set({type:"hidden",name:n,value:v});form.appendChild(hd);hiddens.push(hd)})}opt.callback&&this._observable.addListener("_docready",opt.callback,opt.scope,{single:true});this._frameAction=true;this._targetURI=location.href;this.showMask();(function(){form.submit();hiddens&&Ext.each(hiddens,Ext.removeNode,Ext);if(formFly.hasClass("x-mif-form")){formFly.remove()}else{formFly.set(formState)}delete El._flyweights._dynaForm;formFly=null;this.hideMask(true)}).defer(100,this);return this},resetUrl:(function(){return Ext.isIE&&Ext.isSecure?Ext.SSL_SECURE_URL:"about:blank"})(),setSrc:function(url,discardUrl,callback,scope){var src=url||this.src||this.resetUrl;var O=this._observable;this._unHook();Ext.isFunction(callback)&&O.addListener("_docload",callback,scope||this,{single:true});this.showMask();(discardUrl!==true)&&(this.src=src);var s=this._targetURI=(Ext.isFunction(src)?src()||"":src);try{this._frameAction=true;this.dom.src=s;this.checkDOM()}catch(ex){O.fireEvent.call(O,"exception",this,ex)}return this},setLocation:function(url,discardUrl,callback,scope){var src=url||this.src||this.resetUrl;var O=this._observable;this._unHook();Ext.isFunction(callback)&&O.addListener("_docload",callback,scope||this,{single:true});this.showMask();var s=this._targetURI=(Ext.isFunction(src)?src()||"":src);if(discardUrl!==true){this.src=src}try{this._frameAction=true;this.getWindow().location.replace(s);this.checkDOM()}catch(ex){O.fireEvent.call(O,"exception",this,ex)}return this},reset:function(src,callback,scope){this._unHook();var loadMaskOff=false,s=src,win=this.getWindow(),O=this._observable;if(this.loadMask){loadMaskOff=this.loadMask.disabled;this.loadMask.disabled=false}this.hideMask(true);if(win){this.isReset=true;var cb=callback;O.addListener("_docload",function(frame){if(this.loadMask){this.loadMask.disabled=loadMaskOff}Ext.isFunction(cb)&&(cb=cb.apply(scope||this,arguments));O.fireEvent("reset",this)},this,{single:true});Ext.isFunction(s)&&(s=src());s=this._targetURI=Ext.isEmpty(s,true)?this.resetUrl:s;win.location?(win.location.href=s):O.fireEvent("_docload",this)}return this},scriptRE:/(?:<script.*?>)((\n|\r|.)*?)(?:<\/script>)/gi,update:function(content,loadScripts,callback,scope){loadScripts=loadScripts||this.getUpdater().loadScripts||false;content=Ext.DomHelper.markup(content||"");content=loadScripts===true?content:content.replace(this.scriptRE,"");var doc;if((doc=this.getFrameDocument())&&!!content.length){this._unHook();this.src=null;this.showMask();Ext.isFunction(callback)&&this._observable.addListener("_docload",callback,scope||this,{single:true});this._targetURI=location.href;doc.open();this._frameAction=true;doc.write(content);doc.close();this.checkDOM()}else{this.hideMask(true);Ext.isFunction(callback)&&callback.call(scope,this)}return this},execCommand:function(command,userInterface,value,validate){var doc,assert;if((doc=this.getFrameDocument())&&!!command){try{Ext.isIE&&this.getWindow().focus();assert=validate&&Ext.isFunction(doc.queryCommandEnabled)?doc.queryCommandEnabled(command):true;return assert&&doc.execCommand(command,!!userInterface,value)}catch(eex){return false}}return false},setDesignMode:function(active){var doc;(doc=this.getFrameDocument())&&(doc.designMode=(/on|true/i).test(String(active))?"on":"off")},getUpdater:function(){return this.updateManager||(this.updateManager=new MIF.Updater(this))},getHistory:function(){var h=null;try{h=this.getWindow().history}catch(eh){}return h},get:function(el){var doc=this.getFrameDocument();return doc?Ext.get(el,doc):doc=null},fly:function(el,named){var doc=this.getFrameDocument();return doc?Ext.fly(el,named,doc):null},getDom:function(el){var d;if(!el||!(d=this.getFrameDocument())){return(d=null)}return Ext.getDom(el,d)},select:function(selector,unique){var d;return(d=this.getFrameDocument())?Ext.Element.select(selector,unique,d):d=null},query:function(selector){var d;return(d=this.getFrameDocument())?Ext.DomQuery.select(selector,d):null},removeNode:Ext.removeNode,_renderHook:function(){this._windowContext=null;this.CSS=this.CSS?this.CSS.destroy():null;this._hooked=false;try{if(this.writeScript('(function(){(window.hostMIF = parent.document.getElementById("'+this.id+'").ownerCt)._windowContext='+(Ext.isIE?"window":'{eval:function(s){return new Function("return ("+s+")")();}}')+";})()")){var w,p=this._frameProxy,D=this.getFrameDocument();if(w=this.getWindow()){p||(p=this._frameProxy=this._eventProxy.createDelegate(this));addListener(w,"focus",p);addListener(w,"blur",p);addListener(w,"resize",p);addListener(w,"unload",p);D&&addListener(Ext.isIE?w:D,"scroll",p)}D&&(this.CSS=new Ext.ux.ManagedIFrame.CSS(D))}}catch(ex){}return this.domWritable()},_unHook:function(){if(this._hooked){var id,el,c=this._domCache;if(c){for(id in c){el=c[id].el;el&&el.removeAllListeners&&el.removeAllListeners();el&&(c[id].el=el=null);delete c[id].data;delete c[id]}}this._windowContext&&(this._windowContext.hostMIF=null);this._windowContext=null;var w,p=this._frameProxy;if(p&&this.domWritable()&&(w=this.getWindow())){removeListener(w,"focus",p);removeListener(w,"blur",p);removeListener(w,"resize",p);removeListener(w,"unload",p);removeListener(Ext.isIE?w:this.getFrameDocument(),"scroll",p)}}MIM._flyweights={};this._domCache=null;ELD.clearDocumentCache&&ELD.clearDocumentCache(this.id);this.CSS=this.CSS?this.CSS.destroy():null;this.domFired=this._frameAction=this.domReady=this._hooked=false},_windowContext:null,getFrameDocument:function(){var win=this.getWindow(),doc=null;try{doc=(Ext.isIE&&win?win.document:null)||this.dom.contentDocument||window.frames[this.dom.name].document||null}catch(gdEx){this._domCache=null;ELD.clearDocumentCache&&ELD.clearDocumentCache(this.id);return false}doc=(doc&&Ext.isFunction(ELD.getDocument))?ELD.getDocument(doc,true):doc;if(doc){this._domCache||(this._domCache=ELD.resolveDocumentCache(doc,this.id))}return doc},getDoc:function(){var D=this.getFrameDocument();return Ext.get(D,D)},getBody:function(){var d;return(d=this.getFrameDocument())?this.get(d.body||d.documentElement):null},getDocumentURI:function(){var URI,d;try{URI=this.src&&(d=this.getFrameDocument())?d.location.href:null}catch(ex){}return URI||(Ext.isFunction(this.src)?this.src():this.src)},getWindowURI:function(){var URI,w;try{URI=(w=this.getWindow())?w.location.href:null}catch(ex){}return URI||(Ext.isFunction(this.src)?this.src():this.src)},getWindow:function(){var dom=this.dom,win=null;try{win=dom.contentWindow||window.frames[dom.name]||null}catch(gwEx){}return win},scrollChildIntoView:function(child,container,hscroll){this.fly(child,"_scrollChildIntoView").scrollIntoView(this.getDom(container)||this.getBody().dom,hscroll);return this},print:function(){try{var win;if(win=this.getWindow()){Ext.isIE&&win.focus();win.print()}}catch(ex){throw new MIF.Error("printexception",ex.description||ex.message||ex)}return this},domWritable:function(){return!!Ext.isDocument(this.getFrameDocument(),true)&&!!this._windowContext},execScript:function(block,useDOM){try{if(this.domWritable()){if(useDOM){this.writeScript(block)}else{return this._windowContext.eval(block)}}else{throw new MIF.Error("execscript-secure-context")}}catch(ex){this._observable.fireEvent.call(this._observable,"exception",this,ex);return false}return true},writeScript:function(block,attributes){attributes=Ext.apply({},attributes||{},{type:"text/javascript",text:block});try{var head,script,doc=this.getFrameDocument();if(doc&&typeof doc.getElementsByTagName!="undefined"){if(!(head=doc.getElementsByTagName("head")[0])){head=doc.createElement("head");doc.getElementsByTagName("html")[0].appendChild(head)}if(head&&(script=doc.createElement("script"))){for(var attrib in attributes){if(attributes.hasOwnProperty(attrib)&&attrib in script){script[attrib]=attributes[attrib]}}return!!head.appendChild(script)}}}catch(ex){this._observable.fireEvent.call(this._observable,"exception",this,ex)}finally{script=head=null}return false},loadFunction:function(fn,useDOM,invokeIt){var name=fn.name||fn;var fnSrc=fn.fn||window[fn];name&&fnSrc&&this.execScript(name+"="+fnSrc,useDOM);invokeIt&&this.execScript(name+"()")},loadHandler:function(e,target){var rstatus=(e&&typeof e.type!=="undefined"?e.type:this.dom.readyState);if(this.eventsFollowFrameLinks||this._frameAction||this.isReset){switch(rstatus){case"domready":case"DOMFrameContentLoaded":case"domfail":this._onDocReady(rstatus);break;case"load":case"complete":this._onDocLoaded(rstatus);break;case"error":this._observable.fireEvent.apply(this._observable,["exception",this].concat(arguments));break;default:}}this.frameState=rstatus},_onDocReady:function(eventName){var w,obv=this._observable,D;if(!this.isReset&&this.focusOnLoad&&(w=this.getWindow())){w.focus()}obv.fireEvent("_docready",this);(D=this.getDoc())&&(D.isReady=true);if(!this.domFired&&(this._hooked=this._renderHook())){this.domFired=true;this.isReset||obv.fireEvent.call(obv,"domready",this)}this.domReady=true;this.hideMask()},_onDocLoaded:function(eventName){var obv=this._observable,w;this.domReady||this._onDocReady("domready");obv.fireEvent("_docload",this);this.isReset||obv.fireEvent("documentloaded",this);this.hideMask(true);this._frameAction=this.isReset=false},checkDOM:function(win){if(Ext.isGecko){return}var n=0,frame=this,domReady=false,b,l,d,max=this.domReadyRetries||2500,polling=false,startLocation=(this.getFrameDocument()||{location:{}}).location.href;(function(){d=frame.getFrameDocument()||{location:{}};polling=(d.location.href!==startLocation||d.location.href===frame._targetURI);if(frame.domReady){return}domReady=polling&&((b=frame.getBody())&&!!(b.dom.innerHTML||"").length)||false;if(d.location.href&&!domReady&&(++n<max)){setTimeout(arguments.callee,2);return}frame.loadHandler({type:domReady?"domready":"domfail"})})()},filterEventOptionsRe:/^(?:scope|delay|buffer|single|stopEvent|preventDefault|stopPropagation|normalized|args|delegate)$/,addListener:function(eventName,fn,scope,options){if(typeof eventName=="object"){var o=eventName;for(var e in o){if(this.filterEventOptionsRe.test(e)){continue}if(typeof o[e]=="function"){this.addListener(e,o[e],o.scope,o)}else{this.addListener(e,o[e].fn,o[e].scope,o[e])}}return}if(reSynthEvents.test(eventName)){var O=this._observable;if(O){O.events[eventName]||(O.addEvents(eventName));O.addListener.call(O,eventName,fn,scope||this,options)}}else{ElFrame.superclass.addListener.call(this,eventName,fn,scope||this,options)}return this},removeListener:function(eventName,fn,scope){var O=this._observable;if(reSynthEvents.test(eventName)){O&&O.removeListener.call(O,eventName,fn,scope||this,options)}else{ElFrame.superclass.removeListener.call(this,eventName,fn,scope||this)}return this},removeAllListeners:function(){Ext.EventManager.removeAll(this.dom);var O=this._observable;O&&O.purgeListeners.call(this._observable);return this},showMask:function(msg,msgCls,maskCls){var lmask=this.loadMask;if(lmask&&!lmask.disabled){this.mask(msg||lmask.msg,msgCls||lmask.msgCls,maskCls||lmask.maskCls,lmask.maskEl)}},hideMask:function(forced){var tlm=this.loadMask||{};if(forced||(tlm.hideOnReady&&this.domReady)){this.unmask()}},mask:function(msg,msgCls,maskCls,maskEl){this._mask&&this.unmask();var p=Ext.get(maskEl)||this.parent(".ux-mif-mask-target")||this.parent();if(p.getStyle("position")=="static"&&!p.select("iframe,frame,object,embed").elements.length){p.addClass("x-masked-relative")}p.addClass("x-masked");this._mask=Ext.DomHelper.append(p,{cls:maskCls||"ux-mif-el-mask"},true);this._mask.setDisplayed(true);this._mask._agent=p;if(typeof msg=="string"){this._maskMsg=Ext.DomHelper.append(p,{cls:msgCls||"ux-mif-el-mask-msg",style:{visibility:"hidden"},cn:{tag:"div",html:msg}},true);this._maskMsg.setVisibilityMode(Ext.Element.VISIBILITY).center(p).setVisible(true)}if(Ext.isIE&&!(Ext.isIE7&&Ext.isStrict)&&this.getStyle("height")=="auto"){this._mask.setSize(undefined,this._mask.getHeight())}return this._mask},unmask:function(){var a;if(this._mask){(a=this._mask._agent)&&a.removeClass(["x-masked-relative","x-masked"]);if(this._maskMsg){this._maskMsg.remove();delete this._maskMsg}this._mask.remove();delete this._mask}},createFrameShim:function(imgUrl,shimCls){this.shimCls=shimCls||this.shimCls||"ux-mif-shim";this.frameShim||(this.frameShim=this.next("."+this.shimCls)||Ext.DomHelper.append(this.dom.parentNode,{tag:"img",src:imgUrl||Ext.BLANK_IMAGE_URL,cls:this.shimCls,galleryimg:"no"},true));this.frameShim&&(this.frameShim.autoBoxAdjust=false);return this.frameShim},toggleShim:function(show){var shim=this.frameShim||this.createFrameShim();var cls=this.shimCls+"-on";!show&&shim.removeClass(cls);show&&!shim.hasClass(cls)&&shim.addClass(cls)},load:function(loadCfg){var um;if(um=this.getUpdater()){if(loadCfg&&loadCfg.renderer){um.setRenderer(loadCfg.renderer);delete loadCfg.renderer}um.update.apply(um,arguments)}return this},_eventProxy:function(e){if(!e){return}e=Ext.EventObject.setEvent(e);var be=e.browserEvent||e,er,args=[e.type,this];if(!be.eventPhase||(be.eventPhase==(be.AT_TARGET||2))){if(e.type=="resize"){var doc=this.getFrameDocument();doc&&(args.push({height:ELD.getDocumentHeight(doc),width:ELD.getDocumentWidth(doc)},{height:ELD.getViewportHeight(doc),width:ELD.getViewportWidth(doc)},{height:ELD.getViewHeight(false,doc),width:ELD.getViewWidth(false,doc)}))}er=this._observable?this._observable.fireEvent.apply(this._observable,args.concat(Array.prototype.slice.call(arguments,0))):null;(e.type=="unload")&&this._unHook()}return er},sendMessage:function(message,tag,origin){},postMessage:function(message,ports,origin){}});ElFrame=Ext.Element.IFRAME=Ext.Element.FRAME=Ext.ux.ManagedIFrame.Element;var fp=ElFrame.prototype;Ext.override(ElFrame,{on:fp.addListener,un:fp.removeListener,getUpdateManager:fp.getUpdater});Ext.ux.ManagedIFrame.ComponentAdapter=function(){};Ext.ux.ManagedIFrame.ComponentAdapter.prototype={version:2.01,defaultSrc:null,title:"&#160;",unsupportedText:"Inline frames are NOT enabled/supported by your browser.",hideMode:!Ext.isIE&&!!Ext.ux.plugin.VisibilityMode?"nosize":"display",animCollapse:Ext.isIE,animFloat:Ext.isIE,frameConfig:null,focusOnLoad:false,frameEl:null,useShim:false,autoScroll:true,autoLoad:null,getId:function(){return this.id||(this.id="mif-comp-"+(++Ext.Component.AUTO_ID))},stateEvents:["documentloaded"],stateful:false,setAutoScroll:function(auto){var scroll=Ext.value(auto,this.autoScroll===true);this.rendered&&this.getFrame()&&this.frameEl.setOverflow((this.autoScroll=scroll)?"auto":"hidden");return this},getContentTarget:function(){return this.getFrame()},getFrame:function(){if(this.rendered){if(this.frameEl){return this.frameEl}var f=this.items&&this.items.first?this.items.first():null;f&&(this.frameEl=f.frameEl);return this.frameEl}return null},getFrameWindow:function(){return this.getFrame()?this.frameEl.getWindow():null},getFrameDocument:function(){return this.getFrame()?this.frameEl.getFrameDocument():null},getFrameDoc:function(){return this.getFrame()?this.frameEl.getDoc():null},getFrameBody:function(){return this.getFrame()?this.frameEl.getBody():null},resetFrame:function(){this.getFrame()&&this.frameEl.reset.apply(this.frameEl,arguments);return this},submitAsTarget:function(submitCfg){this.getFrame()&&this.frameEl.submitAsTarget.apply(this.frameEl,arguments);return this},load:function(loadCfg){if(loadCfg&&this.getFrame()){var args=arguments;this.resetFrame(null,function(){loadCfg.submitAsTarget?this.submitAsTarget.apply(this,args):this.frameEl.load.apply(this.frameEl,args)},this)}this.autoLoad=loadCfg;return this},doAutoLoad:function(){this.autoLoad&&this.load(typeof this.autoLoad=="object"?this.autoLoad:{url:this.autoLoad})},getUpdater:function(){return this.getFrame()?this.frameEl.getUpdater():null},setSrc:function(url,discardUrl,callback,scope){this.getFrame()&&this.frameEl.setSrc.apply(this.frameEl,arguments);return this},setLocation:function(url,discardUrl,callback,scope){this.getFrame()&&this.frameEl.setLocation.apply(this.frameEl,arguments);return this},getState:function(){var URI=this.getFrame()?this.frameEl.getDocumentURI()||null:null;var state=this.supr().getState.call(this);state=Ext.apply(state||{},{defaultSrc:Ext.isFunction(URI)?URI():URI,autoLoad:this.autoLoad});return state},setMIFEvents:function(){this.addEvents("documentloaded","domready","exception","message","blur","focus","scroll","resize","unload","reset")},sendMessage:function(message,tag,origin){},onAdd:function(C){C.relayTarget&&this.suspendEvents(true)},initRef:function(){if(this.ref){var t=this,levels=this.ref.split("/"),l=levels.length,i;for(i=0;i<l;i++){if(t.ownerCt){t=t.ownerCt}}this.refName=levels[--i];t[this.refName]||(t[this.refName]=this);this.refOwner=t}}};Ext.ux.ManagedIFrame.Component=Ext.extend(Ext.BoxComponent,{ctype:"Ext.ux.ManagedIFrame.Component",initComponent:function(){var C={monitorResize:this.monitorResize||(this.monitorResize=!!this.fitToParent),plugins:(this.plugins||[]).concat(this.hideMode==="nosize"&&Ext.ux.plugin.VisibilityMode?[new Ext.ux.plugin.VisibilityMode({hideMode:"nosize",elements:["bwrap"]})]:[])};MIF.Component.superclass.initComponent.call(Ext.apply(this,Ext.apply(this.initialConfig,C)));this.setMIFEvents()},onRender:function(ct,position){var frCfg=this.frameCfg||this.frameConfig||(this.relayTarget?{name:this.relayTarget.id}:{})||{};var frDOM=frCfg.autoCreate||frCfg;frDOM=Ext.apply({tag:"iframe",id:Ext.id()},frDOM);var el=Ext.getDom(this.el);(el&&el.tagName=="iframe")||(this.autoEl=Ext.apply({name:frDOM.id,frameborder:0},frDOM));MIF.Component.superclass.onRender.apply(this,arguments);if(this.unsupportedText){ct.child("noframes")||ct.createChild({tag:"noframes",html:this.unsupportedText||null})}var frame=this.el;var F;if(F=this.frameEl=(this.el?new MIF.Element(this.el.dom,true):null)){(F.ownerCt=(this.relayTarget||this)).frameEl=F;F.addClass("ux-mif");if(this.loadMask){var mEl=this.loadMask.maskEl;F.loadMask=Ext.apply({disabled:false,hideOnReady:false,msgCls:"ext-el-mask-msg x-mask-loading",maskCls:"ext-el-mask"},{maskEl:F.ownerCt[String(mEl)]||F.parent("."+String(mEl))||F.parent(".ux-mif-mask-target")||mEl},Ext.isString(this.loadMask)?{msg:this.loadMask}:this.loadMask);Ext.get(F.loadMask.maskEl)&&Ext.get(F.loadMask.maskEl).addClass("ux-mif-mask-target")}F.disableMessaging=Ext.value(frCfg.disableMessaging,true);F._observable&&(this.relayTarget||this).relayEvents(F._observable,frameEvents.concat(this._msgTagHandlers||[]));delete this.contentEl}},afterRender:function(container){MIF.Component.superclass.afterRender.apply(this,arguments);if(this.fitToParent&&!this.ownerCt){var pos=this.getPosition(),size=(Ext.get(this.fitToParent)||this.getEl().parent()).getViewSize();this.setSize(size.width-pos[0],size.height-pos[1])}this.getEl().setOverflow("hidden");this.setAutoScroll();var F;if(F=this.frameEl){var ownerCt=this.ownerCt;while(ownerCt){ownerCt.on("afterlayout",function(container,layout){Ext.each(["north","south","east","west"],function(region){var reg;if((reg=layout[region])&&reg.split&&reg.split.dd&&!reg._splitTrapped){reg.split.dd.endDrag=reg.split.dd.endDrag.createSequence(MIM.hideShims,MIM);reg.split.on("beforeresize",MIM.showShims,MIM);reg._splitTrapped=MIM._splitTrapped=true}},this)},this,{single:true});ownerCt=ownerCt.ownerCt}if(!!this.ownerCt||this.useShim){this.frameShim=F.createFrameShim()}this.getUpdater().showLoadIndicator=this.showLoadIndicator||false;var resumeEvents=this.relayTarget&&this.ownerCt?this.ownerCt.resumeEvents.createDelegate(this.ownerCt):null;if(this.autoload){this.doAutoLoad()}else{if(this.frameMarkup||this.html){F.update(this.frameMarkup||this.html,true,resumeEvents);delete this.html;delete this.frameMarkup;return}else{if(this.defaultSrc){F.setSrc(this.defaultSrc,false)}else{F.reset(null,resumeEvents);return}}}resumeEvents&&resumeEvents()}},beforeDestroy:function(){var F;if(F=this.getFrame()){F.remove();this.frameEl=this.frameShim=null}this.relayTarget&&(this.relayTarget.frameEl=null);MIF.Component.superclass.beforeDestroy.call(this)}});Ext.override(MIF.Component,MIF.ComponentAdapter.prototype);Ext.reg("mif",MIF.Component);function embed_MIF(config){config||(config={});config.layout="fit";config.items={xtype:"mif",ref:"mifChild",useShim:true,autoScroll:Ext.value(config.autoScroll,this.autoScroll),defaultSrc:Ext.value(config.defaultSrc,this.defaultSrc),frameMarkup:Ext.value(config.html,this.html),loadMask:Ext.value(config.loadMask,this.loadMask),focusOnLoad:Ext.value(config.focusOnLoad,this.focusOnLoad),frameConfig:Ext.value(config.frameConfig||config.frameCfg,this.frameConfig),relayTarget:this};delete config.html;this.setMIFEvents();return config}Ext.ux.ManagedIFrame.Panel=Ext.extend(Ext.Panel,{ctype:"Ext.ux.ManagedIFrame.Panel",bodyCssClass:"ux-mif-mask-target",constructor:function(config){MIF.Panel.superclass.constructor.call(this,embed_MIF.call(this,config))}});Ext.override(MIF.Panel,MIF.ComponentAdapter.prototype);Ext.reg("iframepanel",MIF.Panel);Ext.ux.ManagedIFrame.Portlet=Ext.extend(Ext.ux.ManagedIFrame.Panel,{ctype:"Ext.ux.ManagedIFrame.Portlet",anchor:"100%",frame:true,collapseEl:"bwrap",collapsible:true,draggable:true,cls:"x-portlet"});Ext.reg("iframeportlet",MIF.Portlet);Ext.ux.ManagedIFrame.Window=Ext.extend(Ext.Window,{ctype:"Ext.ux.ManagedIFrame.Window",bodyCssClass:"ux-mif-mask-target",constructor:function(config){MIF.Window.superclass.constructor.call(this,embed_MIF.call(this,config))}});Ext.override(MIF.Window,MIF.ComponentAdapter.prototype);Ext.reg("iframewindow",MIF.Window);Ext.ux.ManagedIFrame.Updater=Ext.extend(Ext.Updater,{showLoading:function(){this.showLoadIndicator&&this.el&&this.el.mask(this.indicatorText)},hideLoading:function(){this.showLoadIndicator&&this.el&&this.el.unmask()},updateComplete:function(response){MIF.Updater.superclass.updateComplete.apply(this,arguments);this.hideLoading()},processFailure:function(response){MIF.Updater.superclass.processFailure.apply(this,arguments);this.hideLoading()}});var styleCamelRe=/(-[a-z])/gi;var styleCamelFn=function(m,a){return a.charAt(1).toUpperCase()};Ext.ux.ManagedIFrame.CSS=function(hostDocument){var doc;if(hostDocument){doc=hostDocument;return{rules:null,destroy:function(){return doc=null},createStyleSheet:function(cssText,id){var ss;if(!doc){return}var head=doc.getElementsByTagName("head")[0];var rules=doc.createElement("style");rules.setAttribute("type","text/css");Ext.isString(id)&&rules.setAttribute("id",id);if(Ext.isIE){head.appendChild(rules);ss=rules.styleSheet;ss.cssText=cssText}else{try{rules.appendChild(doc.createTextNode(cssText))}catch(e){rules.cssText=cssText}head.appendChild(rules);ss=rules.styleSheet?rules.styleSheet:(rules.sheet||doc.styleSheets[doc.styleSheets.length-1])}this.cacheStyleSheet(ss);return ss},removeStyleSheet:function(id){if(!doc||!id){return}var existing=doc.getElementById(id);if(existing){existing.parentNode.removeChild(existing)}},swapStyleSheet:function(id,url){if(!doc){return}this.removeStyleSheet(id);var ss=doc.createElement("link");ss.setAttribute("rel","stylesheet");ss.setAttribute("type","text/css");Ext.isString(id)&&ss.setAttribute("id",id);ss.setAttribute("href",url);doc.getElementsByTagName("head")[0].appendChild(ss)},refreshCache:function(){return this.getRules(true)},cacheStyleSheet:function(ss,media){this.rules||(this.rules={});try{Ext.each(ss.cssRules||ss.rules||[],function(rule){this.hashRule(rule,ss,media)},this);Ext.each(ss.imports||[],function(sheet){sheet&&this.cacheStyleSheet(sheet,this.resolveMedia([sheet,sheet.parentStyleSheet]))},this)}catch(e){}},hashRule:function(rule,sheet,mediaOverride){var mediaSelector=mediaOverride||this.resolveMedia(rule);if(rule.cssRules||rule.rules){this.cacheStyleSheet(rule,this.resolveMedia([rule,rule.parentRule]))}if(rule.styleSheet){this.cacheStyleSheet(rule.styleSheet,this.resolveMedia([rule,rule.ownerRule,rule.parentStyleSheet]))}rule.selectorText&&Ext.each((mediaSelector||"").split(","),function(media){this.rules[((media?media.trim()+":":"")+rule.selectorText).toLowerCase()]=rule},this)},resolveMedia:function(rule){var media;Ext.each([].concat(rule),function(r){if(r&&r.media&&r.media.length){media=r.media;return false}});return media?(Ext.isIE?String(media):media.mediaText):""},getRules:function(refreshCache){if(!this.rules||refreshCache){this.rules={};if(doc){var ds=doc.styleSheets;for(var i=0,len=ds.length;i<len;i++){try{this.cacheStyleSheet(ds[i])}catch(e){}}}}return this.rules},getRule:function(selector,refreshCache,mediaSelector){var rs=this.getRules(refreshCache);if(Ext.type(mediaSelector)=="string"){mediaSelector=mediaSelector.trim()+":"}else{mediaSelector=""}if(!Ext.isArray(selector)){return rs[(mediaSelector+selector).toLowerCase()]}var select;for(var i=0;i<selector.length;i++){select=(mediaSelector+selector[i]).toLowerCase();if(rs[select]){return rs[select]}}return null},updateRule:function(selector,property,value,mediaSelector){Ext.each((mediaSelector||"").split(","),function(mediaSelect){if(!Ext.isArray(selector)){var rule=this.getRule(selector,false,mediaSelect);if(rule){rule.style[property.replace(camelRe,camelFn)]=value;return true}}else{for(var i=0;i<selector.length;i++){if(this.updateRule(selector[i],property,value,mediaSelect)){return true}}}return false},this)}}}};Ext.ux.ManagedIFrame.Manager=function(){var frames={};var implementation={_DOMFrameReadyHandler:function(e){try{var $frame;if($frame=e.target.ownerCt){$frame.loadHandler.call($frame,e)}}catch(rhEx){}},shimCls:"ux-mif-shim",register:function(frame){frame.manager=this;frames[frame.id]=frames[frame.name]={ref:frame};return frame},deRegister:function(frame){delete frames[frame.id];delete frames[frame.name]},hideShims:function(){var mm=MIF.Manager;mm.shimsApplied&&Ext.select("."+mm.shimCls,true).removeClass(mm.shimCls+"-on");mm.shimsApplied=false},showShims:function(){var mm=MIF.Manager;!mm.shimsApplied&&Ext.select("."+mm.shimCls,true).addClass(mm.shimCls+"-on");mm.shimsApplied=true},getFrameById:function(id){return typeof id=="string"?(frames[id]?frames[id].ref||null:null):null},getFrameByName:function(name){return this.getFrameById(name)},getFrameHash:function(frame){return frames[frame.id]||frames[frame.id]||null},_flyweights:{},destroy:function(){if(document.addEventListener&&!Ext.isOpera){window.removeEventListener("DOMFrameContentLoaded",this._DOMFrameReadyHandler,false)}delete this._flyweights}};document.addEventListener&&!Ext.isOpera&&window.addEventListener("DOMFrameContentLoaded",implementation._DOMFrameReadyHandler,false);Ext.EventManager.on(window,"beforeunload",implementation.destroy,implementation);return implementation}();MIM=MIF.Manager;MIM.showDragMask=MIM.showShims;MIM.hideDragMask=MIM.hideShims;var winDD=Ext.Window.DD;Ext.override(winDD,{startDrag:winDD.prototype.startDrag.createInterceptor(MIM.showShims),endDrag:winDD.prototype.endDrag.createInterceptor(MIM.hideShims)});Ext.ux.ManagedIFramePanel=MIF.Panel;Ext.ux.ManagedIFramePortlet=MIF.Portlet;Ext.ux.ManagedIframe=function(el,opt){var args=Array.prototype.slice.call(arguments,0),el=Ext.get(args[0]),config=args[0];if(el&&el.dom&&el.dom.tagName=="IFRAME"){config=args[1]||{}}else{config=args[0]||args[1]||{};el=config.autoCreate?Ext.get(Ext.DomHelper.append(config.autoCreate.parent||Ext.getBody(),Ext.apply({tag:"iframe",frameborder:0,cls:"x-mif",src:(Ext.isIE&&Ext.isSecure)?Ext.SSL_SECURE_URL:"about:blank"},config.autoCreate))):null;if(el&&config.unsupportedText){Ext.DomHelper.append(el.dom.parentNode,{tag:"noframes",html:config.unsupportedText})}}var mif=new MIF.Element(el,true);if(mif){Ext.apply(mif,{disableMessaging:Ext.value(config.disableMessaging,true),loadMask:!!config.loadMask?Ext.apply({msg:"Loading..",msgCls:"x-mask-loading",maskEl:null,hideOnReady:false,disabled:false},config.loadMask):false,_windowContext:null,eventsFollowFrameLinks:Ext.value(config.eventsFollowFrameLinks,true)});config.listeners&&mif.on(config.listeners);if(!!config.html){mif.update(config.html)}else{!!config.src&&mif.setSrc(config.src)}}return mif};Ext.ux.ManagedIFrame.Error=Ext.extend(Ext.Error,{constructor:function(message,arg){this.arg=arg;Ext.Error.call(this,message)},name:"Ext.ux.ManagedIFrame"});Ext.apply(Ext.ux.ManagedIFrame.Error.prototype,{lang:{"documentcontext-remove":"An attempt was made to remove an Element from the wrong document context.","execscript-secure-context":"An attempt was made at script execution within a document context with limited access permissions.",printexception:"An Error was encountered attempting the print the frame contents (document access is likely restricted)."}});Ext.onReady(function(){var CSS=new Ext.ux.ManagedIFrame.CSS(document),rules=[];CSS.getRule(".ux-mif-fill")||(rules.push(".ux-mif-fill{height:100%;width:100%;}"));CSS.getRule(".ux-mif-mask-target")||(rules.push(".ux-mif-mask-target{position:relative;zoom:1;}"));CSS.getRule(".ux-mif-el-mask")||(rules.push(".ux-mif-el-mask {z-index: 100;position: absolute;top:0;left:0;-moz-opacity: 0.5;opacity: .50;*filter: alpha(opacity=50);width: 100%;height: 100%;zoom: 1;} ",".ux-mif-el-mask-msg {z-index: 1;position: absolute;top: 0;left: 0;border:1px solid;background:repeat-x 0 -16px;padding:2px;} ",".ux-mif-el-mask-msg div {padding:5px 10px 5px 10px;border:1px solid;cursor:wait;} "));if(!CSS.getRule(".ux-mif-shim")){rules.push(".ux-mif-shim {z-index:8500;position:absolute;top:0px;left:0px;background:transparent!important;overflow:hidden;display:none;}");rules.push(".ux-mif-shim-on{width:100%;height:100%;display:block;zoom:1;}");rules.push(".ext-ie6 .ux-mif-shim{margin-left:5px;margin-top:3px;}")}!!rules.length&&CSS.createStyleSheet(rules.join(" "),"mifCSS")});Ext.provide&&Ext.provide("mif")})();
