/* php.min.js (98%) */
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;var getFuncName=function(fn){var name=(/\W*function\s+([\w\$]+)\s*\(/).exec(fn);if(!name){return'(Anonymous)';}
return name[1];};if(typeof class_name==='string'){class_name=this.window[class_name];}
this.php_js=this.php_js||{};this.php_js.aggregateKeys=this.php_js.aggregateKeys||[];this.php_js.aggregateRecords=this.php_js.aggregateRecords||[];this.php_js.aggregateClasses=this.php_js.aggregateClasses||[];this.php_js.aggregateClasses.push(getFuncName(class_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(getFuncName(class_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(getFuncName(class_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;var getFuncName=function(fn){var name=(/\W*function\s+([\w\$]+)\s*\(/).exec(fn);if(!name){return'(Anonymous)';}
return name[1];};if(typeof class_name==='string'){class_name=this.window[class_name];}
this.php_js=this.php_js||{};this.php_js.aggregateKeys=this.php_js.aggregateKeys||[];this.php_js.aggregateRecords=this.php_js.aggregateRecords||[];this.php_js.aggregateClasses=this.php_js.aggregateClasses||[];this.php_js.aggregateClasses.push(getFuncName(class_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(getFuncName(class_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(getFuncName(class_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=this.window[class_name];}
this.php_js=this.php_js||{};this.php_js.aggregateKeys=this.php_js.aggregateKeys||[];this.php_js.aggregateRecords=this.php_js.aggregateRecords||[];this.php_js.aggregateClasses=this.php_js.aggregateClasses||[];var getFuncName=function(fn){var name=(/\W*function\s+([\w\$]+)\s*\(/).exec(fn);if(!name){return'(Anonymous)';}
return name[1];};this.php_js.aggregateClasses.push(getFuncName(class_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(getFuncName(class_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(getFuncName(class_name));}}
function aggregate_methods_by_regexp(obj,class_name,regexp,exclude){var p='',test=false,record={},pos=-1;var getFuncName=function(fn){var name=(/\W*function\s+([\w\$]+)\s*\(/).exec(fn);if(!name){return'(Anonymous)';}
return name[1];};if(typeof regexp==='string'){regexp=eval(regexp);}
if(typeof class_name==='string'){class_name=this.window[class_name];}
this.php_js=this.php_js||{};this.php_js.aggregateKeys=this.php_js.aggregateKeys||[];this.php_js.aggregateRecords=this.php_js.aggregateRecords||[];this.php_js.aggregateClasses=this.php_js.aggregateClasses||[];var getFuncName=function(fn){var name=(/\W*function\s+([\w\$]+)\s*\(/).exec(fn);if(!name){return'(Anonymous)';}
return name[1];};this.php_js.aggregateClasses.push(getFuncName(class_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(getFuncName(class_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(getFuncName(class_name));}}
function aggregate_properties(obj,class_name){var p='',record={},pos=-1;if(typeof class_name==='string'){class_name=this.window[class_name];}
this.php_js=this.php_js||{};this.php_js.aggregateKeys=this.php_js.aggregateKeys||[];this.php_js.aggregateRecords=this.php_js.aggregateRecords||[];this.php_js.aggregateClasses=this.php_js.aggregateClasses||[];var getFuncName=function(fn){var name=(/\W*function\s+([\w\$]+)\s*\(/).exec(fn);if(!name){return'(Anonymous)';}
return name[1];};this.php_js.aggregateClasses.push(getFuncName(class_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(getFuncName(class_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(getFuncName(class_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=this.window[class_name];}
this.php_js=this.php_js||{};this.php_js.aggregateKeys=this.php_js.aggregateKeys||[];this.php_js.aggregateRecords=this.php_js.aggregateRecords||[];this.php_js.aggregateClasses=this.php_js.aggregateClasses||[];var getFuncName=function(fn){var name=(/\W*function\s+([\w\$]+)\s*\(/).exec(fn);if(!name){return'(Anonymous)';}
return name[1];};this.php_js.aggregateClasses.push(getFuncName(class_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(getFuncName(class_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(getFuncName(class_name));}}
function aggregate_properties_by_regexp(obj,class_name,regexp,exclude){var p='',test=false,record={},pos=-1;if(typeof regexp==='string'){regexp=eval(regexp);}
if(typeof class_name==='string'){class_name=this.window[class_name];}
this.php_js=this.php_js||{};this.php_js.aggregateKeys=this.php_js.aggregateKeys||[];this.php_js.aggregateRecords=this.php_js.aggregateRecords||[];this.php_js.aggregateClasses=this.php_js.aggregateClasses||[];var getFuncName=function(fn){var name=(/\W*function\s+([\w\$]+)\s*\(/).exec(fn);if(!name){return'(Anonymous)';}
return name[1];};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(getFuncName(class_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(getFuncName(class_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={},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')?this.window[cb]:(cb instanceof Array)?this.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')?this.window[cb]:(cb instanceof Array)?this.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')?this.window[cb]:(cb instanceof Array)?this.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')?this.window[cb]:(cb instanceof Array)?this.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){if(typeof callback==='string'){callback=this.window[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(this.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_multisort(arr){var flags={'SORT_REGULAR':16,'SORT_NUMERIC':17,'SORT_STRING':18,'SORT_ASC':32,'SORT_DESC':40},sortArrs=[[]],sortFlag=[0],sortKeys=[[]],g=0,i=0,j=0,k='',l=0,thingsToSort=[],vkey=0,zlast=null,args=arguments,nLastSort=[],lastSort=[],lastSorts=[],tmpArray=[],elIndex=0,sortDuplicator=function(a,b){return nLastSort.shift();};var sortFunctions=[[function(a,b){lastSort.push(a>b?1:(a<b?-1:0));return a>b?1:(a<b?-1:0);},function(a,b){lastSort.push(b>a?1:(b<a?-1:0));return b>a?1:(b<a?-1:0);}],[function(a,b){lastSort.push(a-b);return a-b;},function(a,b){lastSort.push(b-a);return b-a;}],[function(a,b){lastSort.push((a+'')>(b+'')?1:((a+'')<(b+'')?-1:0));return(a+'')>(b+'')?1:((a+'')<(b+'')?-1:0);},function(a,b){lastSort.push((b+'')>(a+'')?1:((b+'')<(a+'')?-1:0));return(b+'')>(a+'')?1:((b+'')<(a+'')?-1:0);}]];if(arr instanceof Array){sortArrs[0]=arr;}
else if(arr instanceof Object){for(i in arr){if(arr.hasOwnProperty(i)){sortKeys[0].push(i);sortArrs[0].push(arr[i]);}}}
else{return false;}
var arrMainLength=sortArrs[0].length,sortComponents=[0,arrMainLength];for(j=1;j<arguments.length;j++){if(arguments[j]instanceof Array){sortArrs[j]=arguments[j];sortFlag[j]=0;if(arguments[j].length!==arrMainLength){return false;}}else if(arguments[j]instanceof Object){sortKeys[j]=[];sortArrs[j]=[];sortFlag[j]=0;for(i in arguments[j]){if(arguments[j].hasOwnProperty(i)){sortKeys[j].push(i);sortArrs[j].push(arguments[j][i]);}}
if(sortArrs[j].length!==arrMainLength){return false;}}else if(typeof arguments[j]==='string'){var lFlag=sortFlag.pop();if(typeof flags[arguments[j]]==='undefined'||((((flags[arguments[j]])>>>4)&(lFlag>>>4))>0)){return false;}
sortFlag.push(lFlag+flags[arguments[j]]);}else{return false;}}
for(i=0;i!==arrMainLength;i++){thingsToSort.push(true);}
for(i in sortArrs){if(sortArrs.hasOwnProperty(i)){lastSorts=[];tmpArray=[];elIndex=0;nLastSort=[];lastSort=[];if(sortComponents.length===0){if(arguments[i]instanceof Array){args[i]=sortArrs[i];}
else{for(k in arguments[i]){if(arguments[i].hasOwnProperty(k)){delete arguments[i][k];}}
for(j=0,vkey=0;j<sortArrs[i].length;j++){vkey=sortKeys[i][j];args[i][vkey]=sortArrs[i][j];}}
delete sortArrs[i];delete sortKeys[i];continue;}
var sFunction=sortFunctions[(sortFlag[i]&3)][((sortFlag[i]&8)>0)?1:0];for(l=0;l!==sortComponents.length;l+=2){tmpArray=sortArrs[i].slice(sortComponents[l],sortComponents[l+1]+1);tmpArray.sort(sFunction);lastSorts[l]=[].concat(lastSort);elIndex=sortComponents[l];for(g in tmpArray){if(tmpArray.hasOwnProperty(g)){sortArrs[i][elIndex]=tmpArray[g];elIndex++;}}}
sFunction=sortDuplicator;for(j in sortArrs){if(sortArrs.hasOwnProperty(j)){if(sortArrs[j]===sortArrs[i]){continue;}
for(l=0;l!==sortComponents.length;l+=2){tmpArray=sortArrs[j].slice(sortComponents[l],sortComponents[l+1]+1);nLastSort=[].concat(lastSorts[l]);tmpArray.sort(sFunction);elIndex=sortComponents[l];for(g in tmpArray){if(tmpArray.hasOwnProperty(g)){sortArrs[j][elIndex]=tmpArray[g];elIndex++;}}}}}
for(j in sortKeys){if(sortKeys.hasOwnProperty(j)){for(l=0;l!==sortComponents.length;l+=2){tmpArray=sortKeys[j].slice(sortComponents[l],sortComponents[l+1]+1);nLastSort=[].concat(lastSorts[l]);tmpArray.sort(sFunction);elIndex=sortComponents[l];for(g in tmpArray){if(tmpArray.hasOwnProperty(g)){sortKeys[j][elIndex]=tmpArray[g];elIndex++;}}}}}
zlast=null;sortComponents=[];for(j in sortArrs[i]){if(sortArrs[i].hasOwnProperty(j)){if(!thingsToSort[j]){if((sortComponents.length&1)){sortComponents.push(j-1);}
zlast=null;continue;}
if(!(sortComponents.length&1)){if(zlast!==null){if(sortArrs[i][j]===zlast){sortComponents.push(j-1);}
else{thingsToSort[j]=false;}}
zlast=sortArrs[i][j];}else{if(sortArrs[i][j]!==zlast){sortComponents.push(j-1);zlast=sortArrs[i][j];}}}}
if(sortComponents.length&1){sortComponents.push(j);}
if(arguments[i]instanceof Array){args[i]=sortArrs[i];}
else{for(j in arguments[i]){if(arguments[i].hasOwnProperty(j)){delete arguments[i][j];}}
for(j=0,vkey=0;j<sortArrs[i].length;j++){vkey=sortKeys[i][j];args[i][vkey]=sortArrs[i][j];}}
delete sortArrs[i];delete sortKeys[i];}}
return true;}
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(this.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(this.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&&this.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')?this.window[cb]:(cb instanceof Array)?this.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')?this.window[cb]:(cb instanceof Array)?this.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')?this.window[cb]:(cb instanceof Array)?this.window[cb[0]][cb[1]]:cb;cb0=(typeof cb0==='string')?this.window[cb0]:(cb0 instanceof Array)?this.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')?this.window[cb]:(cb instanceof Array)?this.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')?this.window[cb]:(cb instanceof Array)?this.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')?this.window[cb]:(cb instanceof Array)?this.window[cb[0]][cb[1]]:cb;cb0=(typeof cb0==='string')?this.window[cb0]:(cb0 instanceof Array)?this.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 this.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,that=this;switch(sort_flags){case'SORT_STRING':sorter=function(a,b){return that.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,that=this;switch(sort_flags){case'SORT_STRING':sorter=function(a,b){return that.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 assert(assertion){var result=false,callback,retVal,err=undefined;this.php_js=this.php_js||{};this.php_js.ini=this.php_js.ini||{};this.php_js.assert_values=this.php_js.assert_values||{};var getOption=function(value){if(this.php_js.assert_values[value]){return this.php_js.assert_values[value];}
if(this.php_js.ini[value]){return this.php_js.ini[value].local_value;}
switch(value){case'assert.active':return 1;case'assert.warning':throw'We have not yet implemented warnings in JavaScript (assert())';case'assert.bail':return 0;case'assert.quiet_eval':return 0;case'assert.callback':return null;default:throw'There was some problem';}};if(!getOption('assert.active')){return false;}
try{result=typeof assertion==='string'?eval(assertion):assertion;}
catch(e){if(!getOption('assert.quiet_eval')){throw e;}
err=e;result=false;}
retVal=result!==false;if(retVal===false){if(getOption('assert.bail')){throw'Assertion bailed';}
callback=getOption('assert.callback');if(typeof callback==='string'){callback=this.window[callback];}
callback(this.window.location.href,err&&err.lineNumber,(typeof assertion==='string'?assertion:''));}
return retVal;}
function assert_options(what,value){this.php_js=this.php_js||{};this.php_js.ini=this.php_js.ini||{};this.php_js.assert_values=this.php_js.assert_values||{};var ini,dflt;switch(what){case'ASSERT_ACTIVE':ini='assert.active';dflt=1;break;case'ASSERT_WARNING':ini='assert.warning';dflt=1;throw'We have not yet implemented warnings for us to throw in JavaScript (assert_options())';case'ASSERT_BAIL':ini='assert.bail';dflt=0;break;case'ASSERT_QUIET_EVAL':ini='assert.quiet_eval';dflt=0;break;case'ASSERT_CALLBACK':ini='assert.callback';dflt=null;break;default:throw'Improper type for assert_options()';}
var originalValue=this.php_js.assert_values[ini]||(this.php_js.ini[ini]&&this.php_js.ini[ini].local_value)||dflt;if(value){this.php_js.assert_values[ini]=value;}
return originalValue;}
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=this.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=this.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 Error(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 Error(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 month>=1&&month<=12&&year>=1&&year<=32767&&((myDate.getMonth()+1)==month&&day<32);}
function chop(str,charlist){return this.rtrim(str,charlist);}
function chr(codePt){if(codePt>0xFFFF){codePt-=0x10000;return String.fromCharCode(0xD800+(codePt>>10),0xDC00+(codePt&0x3FF));}
else{return String.fromCharCode(codePt);}}
function chunk_split(body,argChunklen,argEnd){var result='',chunklen=argChunklen||76,end=argEnd||'\r\n';if(chunklen<1){return false;}
while(body.length>chunklen){result+=body.substring(0,chunklen)+end;body=body.substring(chunklen);}
return result+body+end;}
function class_alias(clss,alias,autoload){var getFuncName=function(fn){var name=(/\W*function\s+([\w\$]+)\s*\(/).exec(fn);if(!name){return'(Anonymous)';}
return name[1];};if(autoload&&typeof this.window.__autoload==='function'){this.window.__autoload(clss);}
if(typeof clss==='string'){clss=this.window[clss];}
if(typeof clss==='undefined'){throw"Class '"+getFuncName(clss)+"' not found";return false;}
if(typeof clss!=='function'){throw'First argument of class_alias() must be a name of user defined class';return false;}
if(typeof this.window[alias]==='function'){throw'Cannot redeclare class '+alias;return false;}
this.window[alias]=clss;return true;}
function class_exists(cls){var i='';cls=this.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(this.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=this.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=this.window[dClass];}
if(typeof sClass==='string'){sClass=this.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=this.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=this.window[classname];}
delete classname.prototype[methodname];return true;}
function classkit_method_rename(classname,methodname,newname){if(typeof classname==='string'){classname=this.window[classname];}
var method=classname.prototype[methodname];classname.prototype[newname]=method;delete classname.prototype[methodname];return true;}
function compact(){var matrix={},that=this;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 that.window[key_value]!=='undefined'){matrix[key_value]=that.window[key_value];}}}
return true;};process(arguments);return matrix;}
function constant(name){var clssPos=0,clssCnst=null;if((clssPos=name.indexOf('::'))!==-1){clssCnst=name.slice(clssPos+2);name=name.slice(0,clssPos);}
if(this.window[name]===undefined){return null;}
if(clssCnst){return this.window[name][clssCnst];}
return this.window[name];}
function convert_uuencode(str){var chr=function(c){return String.fromCharCode(c);};if(!str||str==""){return chr(0);}else if(!this.is_scalar(str)){return false;}
var c=0,u=0,i=0,a=0;var encoded="",tmp1="",tmp2="",bytes={};var chunk=function(){bytes=str.substr(u,45);for(i in bytes){bytes[i]=bytes[i].charCodeAt(0);}
if(bytes.length!=0){return bytes.length;}else{return 0;}};while(chunk()!==0){c=chunk();u+=45;encoded+=chr(c+32);for(i in bytes){tmp1=bytes[i].charCodeAt(0).toString(2);while(tmp1.length<8){tmp1="0"+tmp1;}
tmp2+=tmp1;}
while(tmp2.length%6){tmp2=tmp2+"0";}
for(i=0;i<=(tmp2.length/6)-1;i++){tmp1=tmp2.substr(a,6);if(tmp1=="000000"){encoded+=chr(96);}else{encoded+=chr(parseInt(tmp1,2)+32);}
a+=6;}
a=0;tmp2="";encoded+="\n";}
encoded+=chr(96)+"\n";return encoded;}
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(mixed_var===null){return 0;}else if(mixed_var.constructor!==Array&&mixed_var.constructor!==Object){return 1;}
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=this.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;}
this.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;}
this.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;}
this.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;}
this.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;}
this.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;}
this.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;}
this.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;}
this.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;}
this.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;}
this.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;}
this.setlocale('LC_ALL',0);return this.php_js.locales[this.php_js.localeCategories.LC_CTYPE].LC_CTYPE.xd.test(text);}
function current(arr){this.php_js=this.php_js||{};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 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 _dst=function(t){var dst=0;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 dst;};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;}
if(a<=2&&nd>=4&&a>=(6-nd)){nd2=new Date(jsdate.getFullYear()-1+"/12/31");return date("W",Math.round(nd2.getTime()/1000));}
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=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();}
if(n&1&&n<8||!(n&1)&&n>7){return 31;}
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(){return _dst(jsdate);},O:function(){var t=pad(Math.abs(jsdate.getTimezoneOffset()/60*100),4);t=(jsdate.getTimezoneOffset()>0)?"-"+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(){return-jsdate.getTimezoneOffset()*60;},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=this.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;this.php_js=this.php_js||{};tal=this.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 date_parse(date){this.php_js=this.php_js||{};var warningsOffset=this.php_js.warnings?this.php_js.warnings.length:null;var errorsOffset=this.php_js.errors?this.php_js.errors.length:null;try{var ts=this.strtotime(date);}
finally{if(!ts){return false;}}
var dt=new Date(ts*1000);var retObj={warning_count:warningsOffset!==null?this.php_js.warnings.slice(warningsOffset).length:0,warnings:warningsOffset!==null?this.php_js.warnings.slice(warningsOffset):[],error_count:errorsOffset!==null?this.php_js.errors.slice(errorsOffset).length:0,errors:errorsOffset!==null?this.php_js.errors.slice(errorsOffset):[]};retObj.year=dt.getFullYear();retObj.month=dt.getMonth()+1;retObj.day=dt.getDate();retObj.hour=dt.getHours();retObj.minute=dt.getMinutes();retObj.second=dt.getSeconds();retObj.fraction=parseFloat('0.'+dt.getMilliseconds());retObj.is_localtime=dt.getTimezoneOffset!==0;return retObj;}
function deaggregate(obj,class_name){var p='',idx=-1,pos=-1,i=0;var getFuncName=function(fn){var name=(/\W*function\s+([\w\$]+)\s*\(/).exec(fn);if(!name){return'(Anonymous)';}
return name[1];};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=this.window[class_name];}
pos=this.php_js.aggregateClasses[idx].indexOf(getFuncName(class_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,10).toString(2);}
function dechex(number){if(number<0){return(0xFFFFFFFF+number+1).toString(16);}
return parseInt(number,10).toString(16);}
function decoct(number){return parseInt(number,10).toString(8);}
function define(name,value){var defn,replace,script,that=this,d=this.window.document;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];});};defn=function(name,value){if(d.createElementNS){script=d.createElementNS('http://www.w3.org/1999/xhtml','script');}else{script=d.createElement('script');}
script.type='text/javascript';script.appendChild(d.createTextNode(toString(name,value)));d.documentElement.appendChild(script);d.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];});};defn=(this.execScript?function(name,value){that.execScript(toString(name,value),'VBScript');}:function(name,value){eval(toString(name,value).substring(6));});}
defn(name,value);}
function defined(constant_name){var tmp=this.window[constant_name];this.window[constant_name]=this.window[constant_name]?'changed'+this.window[constant_name].toString():'changed';var returnval=this.window[constant_name]===tmp;if(!returnval){this.window[constant_name]=tmp;}
return returnval;}
function deg2rad(angle){return(angle/180)*Math.PI;}
function die(status){return this.exit(status);}
function dirname(path){return path.replace(/\\/g,'/').replace(/\/[^\/]*\/?$/,'');}
function doubleval(mixed_var){return this.floatval(mixed_var);}
function each(arr){this.php_js=this.php_js||{};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 win=this.window;var d=win.document;var ns_xhtml='http://www.w3.org/1999/xhtml';var ns_xul='http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul';var holder;var stringToDOM=function(str,parent,ns,container){var extraNSs='';if(ns===ns_xul){extraNSs=' xmlns:html="'+ns_xhtml+'"';}
var stringContainer='<'+container+' xmlns="'+ns+'"'+extraNSs+'>'+str+'</'+container+'>';if(win.DOMImplementationLS&&win.DOMImplementationLS.createLSInput&&win.DOMImplementationLS.createLSParser){var lsInput=DOMImplementationLS.createLSInput();lsInput.stringData=stringContainer;var lsParser=DOMImplementationLS.createLSParser(1,null);return lsParser.parse(lsInput).firstChild;}
else if(win.DOMParser){return new DOMParser().parseFromString(stringContainer,'text/xml').documentElement.firstChild;}
else if(win.ActiveXObject){var d=new ActiveXObject('MSXML2.DOMDocument');d.loadXML(str);return d.documentElement;}
else{if(d.createElementNS&&d.documentElement.namespaceURI&&(d.documentElement.namespaceURI!==null||d.documentElement.nodeName.toLowerCase()!=='html'||(d.contentType&&d.contentType!=='text/html'))){holder=d.createElementNS(ns,container);}
else{holder=d.createElement(container);}
holder.innerHTML=str;while(holder.firstChild){parent.appendChild(holder.firstChild);}
return false;}};var ieFix=function(node){if(node.nodeType===1){var newNode=d.createElement(node.nodeName);var i,len;if(node.attributes&&node.attributes.length>0){for(i=0,len=node.attributes.length;i<len;i++){newNode.setAttribute(node.attributes[i].nodeName,node.getAttribute(node.attributes[i].nodeName));}}
if(node.childNodes&&node.childNodes.length>0){for(i=0,len=node.childNodes.length;i<len;i++){newNode.appendChild(ieFix(node.childNodes[i]));}}
return newNode;}
else{return d.createTextNode(node.nodeValue);}};for(i=0;i<argc;i++){arg=argv[i];if(this.php_js&&this.php_js.ini&&this.php_js.ini['phpjs.echo_embedded_vars']){arg=arg.replace(/(.?)\{\$(.*?)\}/g,function(s,m1,m2){if(m1!=='\\'){return m1+eval(m2);}
else{return s;}});}
if(d.appendChild){if(d.body){if(win.navigator.appName=='Microsoft Internet Explorer'){d.body.appendChild(ieFix(stringToDOM(arg)));}
else{var unappendedLeft=stringToDOM(arg,d.body,ns_xhtml,'div').cloneNode(true);if(unappendedLeft){d.body.appendChild(unappendedLeft);}}}else{d.documentElement.appendChild(stringToDOM(arg,d.documentElement,ns_xul,'description'));}}else if(d.write){d.write(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){this.php_js=this.php_js||{};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 error_get_last(){return this.php_js&&this.php_js.last_error?this.php_js.last_error:null;}
function error_reporting(level){return this.ini_set('error_reporting',level);}
function exit(status){var i;if(typeof status==='string'){alert(status);}
this.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++){this.window.addEventListener(handlers[i],function(e){stopPropagation(e);},true);}
if(this.window.stop){this.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 targetObj=this.window;if(this.php_js&&this.php_js.ini&&this.php_js.ini['phpjs.extractTargetObj']&&this.php_js.ini['phpjs.extractTargetObj'].local_value){targetObj=this.php_js.ini['phpjs.extractTargetObj'].local_value;}
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(targetObj[i]!==undefined){if(prefixed.match(validIdent)!==null){targetObj[prefixed]=arr[i];++chng;}}
else{targetObj[i]=arr[i];++chng;}
break;case'EXTR_SKIP'||1:if(targetObj[i]===undefined){targetObj[i]=arr[i];++chng;}
break;case'EXTR_PREFIX_ALL'||3:if(prefixed.match(validIdent)!==null){targetObj[prefixed]=arr[i];++chng;}
break;case'EXTR_PREFIX_INVALID'||4:if(i.match(validIdent)!==null){if(prefixed.match(validIdent)!==null){targetObj[prefixed]=arr[i];++chng;}}
else{targetObj[i]=arr[i];++chng;}
break;case'EXTR_IF_EXISTS'||6:if(targetObj[i]!==undefined){targetObj[i]=arr[i];++chng;}
break;case'EXTR_PREFIX_IF_EXISTS'||5:if(targetObj[i]!==undefined&&prefixed.match(validIdent)!==null){targetObj[prefixed]=arr[i];++chng;}
break;case'EXTR_REFS'||256:throw'The EXTR_REFS type will not work in JavaScript';case'EXTR_OVERWRITE'||0:default:targetObj[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 this.str_getcsv(this.php_js.resourceData[handle.id].substr(start,length),delimiter,enclosure,escape);}
function fgets(handle,length){var start=0,fullline='',endlinePos=-1,content='';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;}
content=this.php_js.resourceData[handle.id].slice(start);endlinePos=content.search(/\r\n?|\n/)+start+1;fullline=this.php_js.resourceData[handle.id].slice(start,endlinePos+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 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 this.strip_tags(this.php_js.resourceData[handle.id].substr(start,length),allowable_tags);}
function file(url){var req=this.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=this.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,flags,context,offset,maxLen){var tmp,headers=[],newTmp=[],k=0,i=0,href='',pathPos=-1,flagNames='',content=null,http_stream=false;var func=function(value){return value.substring(1)!=='';};this.php_js=this.php_js||{};this.php_js.ini=this.php_js.ini||{};context=context||this.php_js.default_streams_context||null;if(!flags){flags=0;}
var OPTS={PHP_FILE_USE_INCLUDE_PATH:1,PHP_FILE_TEXT:32,PHP_FILE_BINARY:64};if(typeof flags==='number'){flagNames=flags;}
else{flags=[].concat(flags);for(i=0;i<flags.length;i++){if(OPTS[flags[i]]){flagNames=flagNames|OPTS[flags[i]];}}}
if((flagNames&OPTS.PHP_FILE_USE_INCLUDE_PATH)&&this.php_js.ini.include_path&&this.php_js.ini.include_path.local_value){var slash=this.php_js.ini.include_path.local_value.indexOf('/')!==-1?'/':'\\';url=this.php_js.ini.include_path.local_value+slash+url;}
else if(!/^(https?|file):/.test(url)){href=this.window.location.href;pathPos=url.indexOf('/')===0?href.indexOf('/',8)-1:href.lastIndexOf('/');url=href.slice(0,pathPos+1)+url;}
if(context){var http_options=context.stream_options&&context.stream_options.http;http_stream=!!http_options;}
if(!context||http_stream){var req=this.window.ActiveXObject?new ActiveXObject('Microsoft.XMLHTTP'):new XMLHttpRequest();if(!req){throw new Error('XMLHttpRequest not supported');}
var method=http_stream?http_options.method:'GET';var async=!!(context&&context.stream_params&&context.stream_params['phpjs.async']);req.open(method,url,async);if(async){var notification=context.stream_params.notification;if(typeof notification==='function'){req.onreadystatechange=function(aEvt){var objContext={};objContext.responseText=req.responseText;objContext.responseXML=req.responseXML;objContext.status=req.status;objContext.statusText=req.statusText;objContext.readyState=req.readyState;objContext.evt=aEvt;var bytes_transferred;switch(req.readyState){case 0:notification.call(objContext,0,0,'',0,0,0);break;case 1:notification.call(objContext,0,0,'',0,0,0);break;case 2:notification.call(objContext,0,0,'',0,0,0);break;case 3:bytes_transferred=Math.floor(req.responseText.length/2);notification.call(objContext,7,0,'',0,bytes_transferred,0);break;case 4:if(req.status>=200&&req.status<400){bytes_transferred=Math.floor(req.responseText.length/2);notification.call(objContext,8,0,'',req.status,bytes_transferred,0);}
else if(req.status===403){notification.call(objContext,10,2,'',req.status,0,0);}
else{notification.call(objContext,9,2,'',req.status,0,0);}
break;default:throw'Unrecognized ready state for file_get_contents()';}}}}
if(http_stream){var sendHeaders=http_options.header&&http_options.header.split(/\r?\n/);var userAgentSent=false;for(i=0;i<sendHeaders.length;i++){var sendHeader=sendHeaders[i];var breakPos=sendHeader.search(/:\s*/);var sendHeaderName=sendHeader.substring(0,breakPos);req.setRequestHeader(sendHeaderName,sendHeader.substring(breakPos+1));if(sendHeaderName==='User-Agent'){userAgentSent=true;}}
if(!userAgentSent){var user_agent=http_options.user_agent||(this.php_js.ini.user_agent&&this.php_js.ini.user_agent.local_value);if(user_agent){req.setRequestHeader('User-Agent',user_agent);}}
content=http_options.content||null;}
if(flagNames&OPTS.PHP_FILE_BINARY&&!(flagNames&OPTS.PHP_FILE_TEXT)){req.sendAsBinary(content);}
else{req.send(content);}
tmp=req.getAllResponseHeaders();if(tmp){tmp=tmp.split('\n');for(k=0;k<tmp.length;k++){if(func(tmp[k])){newTmp.push(tmp[k]);}}
tmp=newTmp;for(i=0;i<tmp.length;i++){headers[i]=tmp[i];}
this.$http_response_header=headers;}
if(offset||maxLen){if(maxLen){return req.responseText.substr(offset||0,maxLen);}
return req.responseText.substr(offset);}
return req.responseText;}
return false;}
function filemtime(file){var headers={};headers=this.get_headers(file,1);return(headers&&headers['Last-Modified']&&Date.parse(headers['Last-Modified'])/1000)||false;}
function filesize(url){var req=this.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],10)-(tmp[1]+'').length;tmp=y.toExponential().match(/^.\.?(.*)e(.+)$/);pY=parseInt(tmp[2],10)-(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,that=this;var getFuncName=function(fn){var name=(/\W*function\s+([\w\$]+)\s*\(/).exec(fn);if(!name){return'(Anonymous)';}
return name[1];};var file_get_contents=function(url){var req=that.window.ActiveXObject?new ActiveXObject("Microsoft.XMLHTTP"):new XMLHttpRequest();if(!req){throw new Error('XMLHttpRequest not supported');}
if(!/^http/.test(url)){url=that.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++){if(mode[i]==='r'&&(!mode[i+1]||mode[i+1]!=='+')){continue;}
switch(mode[i]){case'r':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 '+getFuncName(arguments.caller)+'()';}}
this.php_js=this.php_js||{};this.php_js.resourceData=this.php_js.resourceData||{};this.php_js.resourceDataPointer=this.php_js.resourceDataPointer||{};this.php_js.resourceIdCounter=this.php_js.resourceIdCounter||0;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.resourceIdCounter++;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]);this.echo(chrs);this.php_js.resourceDataPointer[handle.id]=this.php_js.resourceData[handle.id].length;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){var getFuncName=function(fn){var name=(/\W*function\s+([\w\$]+)\s*\(/).exec(fn);if(!name){return'(Anonymous)';}
return name[1];};if(!this.php_js||!this.php_js.resourceData||!this.php_js.resourceDataPointer||!handle||!handle.constructor||getFuncName(handle.constructor)!=='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()';}
return 0;}
function ftell(handle){var getFuncName=function(fn){var name=(/\W*function\s+([\w\$]+)\s*\(/).exec(fn);if(!name){return'(Anonymous)';}
return name[1];};if(!this.php_js||!this.php_js.resourceData||!this.php_js.resourceDataPointer||!handle||!handle.constructor||getFuncName(handle.constructor)!=='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');}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');}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');}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');}catch(e){return false;}}
return arguments.callee.caller.arguments.length;}
function function_exists(function_name){if(typeof function_name=='string'){return(typeof this.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!=this.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=this.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=this.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='',j='',arr=[],already={};for(i in this.window){try{if(typeof this.window[i]==='function'){if(!already[i]&&this.class_exists(i)){already[i]=1;arr.push(i);}}else if(typeof this.window[i]==='object'){for(j in this.window[i]){if(typeof this.window[j]==='function'&&this.window[j]&&!already[j]&&this.class_exists(j)){already[j]=1;arr.push(j);}}}}catch(e){}}
return arr;}
function get_defined_constants(categorize){var ext='',cnst='',constObj={},flatConstObj={},win,thisExt=false;constObj={'internal':{'E_ERROR':1,'E_RECOVERABLE_ERROR':4096,'E_WARNING':2,'E_PARSE':4,'E_NOTICE':8,'E_STRICT':2048,'E_CORE_ERROR':16,'E_CORE_WARNING':32,'E_COMPILE_ERROR':64,'E_COMPILE_WARNING':128,'E_USER_ERROR':256,'E_USER_WARNING':512,'E_USER_NOTICE':1024,'E_ALL':6143,'ZEND_THREAD_SAFE':true,'PHP_VERSION':'5.2.6','PHP_OS':'WINNT','PHP_SAPI':'apache2handler','DEFAULT_INCLUDE_PATH':'.;C:\\php5\\pear','PEAR_INSTALL_DIR':'C:\\php5\\pear','PEAR_EXTENSION_DIR':'C:\\php5','PHP_EXTENSION_DIR':'C:\\php5','PHP_PREFIX':'C:\\php5','PHP_BINDIR':'C:\\php5','PHP_LIBDIR':'C:\\php5','PHP_DATADIR':'C:\\php5','PHP_SYSCONFDIR':'C:\\php5','PHP_LOCALSTATEDIR':'C:\\php5','PHP_CONFIG_FILE_PATH':'C:\\Windows','PHP_CONFIG_FILE_SCAN_DIR':'','PHP_SHLIB_SUFFIX':'dll','PHP_EOL':'\n','PHP_INT_MAX':2147483647,'PHP_INT_SIZE':4,'PHP_OUTPUT_HANDLER_START':1,'PHP_OUTPUT_HANDLER_CONT':2,'PHP_OUTPUT_HANDLER_END':4,'UPLOAD_ERR_OK':0,'UPLOAD_ERR_INI_SIZE':1,'UPLOAD_ERR_FORM_SIZE':2,'UPLOAD_ERR_PARTIAL':3,'UPLOAD_ERR_NO_FILE':4,'UPLOAD_ERR_NO_TMP_DIR':6,'UPLOAD_ERR_CANT_WRITE':7,'UPLOAD_ERR_EXTENSION':8},'pcre':{'PREG_PATTERN_ORDER':1,'PREG_SET_ORDER':2,'PREG_OFFSET_CAPTURE':256,'PREG_SPLIT_NO_EMPTY':1,'PREG_SPLIT_DELIM_CAPTURE':2,'PREG_SPLIT_OFFSET_CAPTURE':4,'PREG_GREP_INVERT':1,'PREG_NO_ERROR':0,'PREG_INTERNAL_ERROR':1,'PREG_BACKTRACK_LIMIT_ERROR':2,'PREG_RECURSION_LIMIT_ERROR':3,'PREG_BAD_UTF8_ERROR':4,'PCRE_VERSION':'7.6 2008-01-28'},'session':{'DATE_ATOM':'Y-m-d\\TH:i:sP','DATE_COOKIE':'l, d-M-y H:i:s T','DATE_ISO8601':'Y-m-d\\TH:i:sO','DATE_RFC822':'D, d M y H:i:s O','DATE_RFC850':'l, d-M-y H:i:s T','DATE_RFC1036':'D, d M y H:i:s O','DATE_RFC1123':'D, d M Y H:i:s O','DATE_RFC2822':'D, d M Y H:i:s O','DATE_RFC3339':'Y-m-d\\TH:i:sP','DATE_RSS':'D, d M Y H:i:s O','DATE_W3C':'Y-m-d\\TH:i:sP','SUNFUNCS_RET_TIMESTAMP':0,'SUNFUNCS_RET_STRING':1,'SUNFUNCS_RET_DOUBLE':2},'standard':{'CONNECTION_ABORTED':1,'CONNECTION_NORMAL':0,'CONNECTION_TIMEOUT':2,'INI_USER':1,'INI_PERDIR':2,'INI_SYSTEM':4,'INI_ALL':7,'PHP_URL_SCHEME':0,'PHP_URL_HOST':1,'PHP_URL_PORT':2,'PHP_URL_USER':3,'PHP_URL_PASS':4,'PHP_URL_PATH':5,'PHP_URL_QUERY':6,'PHP_URL_FRAGMENT':7,'M_E':2.718281828459,'M_LOG2E':1.442695040889,'M_LOG10E':0.43429448190325,'M_LN2':0.69314718055995,'M_LN10':2.302585092994,'M_PI':3.1415926535898,'M_PI_2':1.5707963267949,'M_PI_4':0.78539816339745,'M_1_PI':0.31830988618379,'M_2_PI':0.63661977236758,'M_SQRTPI':1.7724538509055,'M_2_SQRTPI':1.1283791670955,'M_LNPI':1.1447298858494,'M_EULER':0.57721566490153,'M_SQRT2':1.4142135623731,'M_SQRT1_2':0.70710678118655,'M_SQRT3':1.7320508075689,'INF':Number.POSITIVE_INFINITY,'NAN':0,'INFO_GENERAL':1,'INFO_CREDITS':2,'INFO_CONFIGURATION':4,'INFO_MODULES':8,'INFO_ENVIRONMENT':16,'INFO_VARIABLES':32,'INFO_LICENSE':64,'INFO_ALL':-1,'CREDITS_GROUP':1,'CREDITS_GENERAL':2,'CREDITS_SAPI':4,'CREDITS_MODULES':8,'CREDITS_DOCS':16,'CREDITS_FULLPAGE':32,'CREDITS_QA':64,'CREDITS_ALL':-1,'HTML_SPECIALCHARS':0,'HTML_ENTITIES':1,'ENT_COMPAT':2,'ENT_QUOTES':3,'ENT_NOQUOTES':0,'STR_PAD_LEFT':0,'STR_PAD_RIGHT':1,'STR_PAD_BOTH':2,'PATHINFO_DIRNAME':1,'PATHINFO_BASENAME':2,'PATHINFO_EXTENSION':4,'PATHINFO_FILENAME':8,'CHAR_MAX':127,'LC_CTYPE':2,'LC_NUMERIC':4,'LC_TIME':5,'LC_COLLATE':1,'LC_MONETARY':3,'LC_ALL':0,'SEEK_SET':0,'SEEK_CUR':1,'SEEK_END':2,'LOCK_SH':1,'LOCK_EX':2,'LOCK_UN':3,'LOCK_NB':4,'STREAM_NOTIFY_CONNECT':2,'STREAM_NOTIFY_AUTH_REQUIRED':3,'STREAM_NOTIFY_AUTH_RESULT':10,'STREAM_NOTIFY_MIME_TYPE_IS':4,'STREAM_NOTIFY_FILE_SIZE_IS':5,'STREAM_NOTIFY_REDIRECTED':6,'STREAM_NOTIFY_PROGRESS':7,'STREAM_NOTIFY_FAILURE':9,'STREAM_NOTIFY_COMPLETED':8,'STREAM_NOTIFY_RESOLVE':1,'STREAM_NOTIFY_SEVERITY_INFO':0,'STREAM_NOTIFY_SEVERITY_WARN':1,'STREAM_NOTIFY_SEVERITY_ERR':2,'STREAM_FILTER_READ':1,'STREAM_FILTER_WRITE':2,'STREAM_FILTER_ALL':3,'STREAM_CLIENT_PERSISTENT':1,'STREAM_CLIENT_ASYNC_CONNECT':2,'STREAM_CLIENT_CONNECT':4,'STREAM_CRYPTO_METHOD_SSLv2_CLIENT':0,'STREAM_CRYPTO_METHOD_SSLv3_CLIENT':1,'STREAM_CRYPTO_METHOD_SSLv23_CLIENT':2,'STREAM_CRYPTO_METHOD_TLS_CLIENT':3,'STREAM_CRYPTO_METHOD_SSLv2_SERVER':4,'STREAM_CRYPTO_METHOD_SSLv3_SERVER':5,'STREAM_CRYPTO_METHOD_SSLv23_SERVER':6,'STREAM_CRYPTO_METHOD_TLS_SERVER':7,'STREAM_SHUT_RD':0,'STREAM_SHUT_WR':1,'STREAM_SHUT_RDWR':2,'STREAM_PF_INET':2,'STREAM_PF_INET6':23,'STREAM_PF_UNIX':1,'STREAM_IPPROTO_IP':0,'STREAM_IPPROTO_TCP':6,'STREAM_IPPROTO_UDP':17,'STREAM_IPPROTO_ICMP':1,'STREAM_IPPROTO_RAW':255,'STREAM_SOCK_STREAM':1,'STREAM_SOCK_DGRAM':2,'STREAM_SOCK_RAW':3,'STREAM_SOCK_SEQPACKET':5,'STREAM_SOCK_RDM':4,'STREAM_PEEK':2,'STREAM_OOB':1,'STREAM_SERVER_BIND':4,'STREAM_SERVER_LISTEN':8,'FILE_USE_INCLUDE_PATH':1,'FILE_IGNORE_NEW_LINES':2,'FILE_SKIP_EMPTY_LINES':4,'FILE_APPEND':8,'FILE_NO_DEFAULT_CONTEXT':16,'PSFS_PASS_ON':2,'PSFS_FEED_ME':1,'PSFS_ERR_FATAL':0,'PSFS_FLAG_NORMAL':0,'PSFS_FLAG_FLUSH_INC':1,'PSFS_FLAG_FLUSH_CLOSE':2,'CRYPT_SALT_LENGTH':12,'CRYPT_STD_DES':1,'CRYPT_EXT_DES':0,'CRYPT_MD5':1,'CRYPT_BLOWFISH':0,'DIRECTORY_SEPARATOR':'\\','PATH_SEPARATOR':';','GLOB_BRACE':128,'GLOB_MARK':8,'GLOB_NOSORT':32,'GLOB_NOCHECK':16,'GLOB_NOESCAPE':4096,'GLOB_ERR':4,'GLOB_ONLYDIR':1073741824,'GLOB_AVAILABLE_FLAGS':1073746108,'LOG_EMERG':1,'LOG_ALERT':1,'LOG_CRIT':1,'LOG_ERR':4,'LOG_WARNING':5,'LOG_NOTICE':6,'LOG_INFO':6,'LOG_DEBUG':6,'LOG_KERN':0,'LOG_USER':8,'LOG_MAIL':16,'LOG_DAEMON':24,'LOG_AUTH':32,'LOG_SYSLOG':40,'LOG_LPR':48,'LOG_NEWS':56,'LOG_UUCP':64,'LOG_CRON':72,'LOG_AUTHPRIV':80,'LOG_PID':1,'LOG_CONS':2,'LOG_ODELAY':4,'LOG_NDELAY':8,'LOG_NOWAIT':16,'LOG_PERROR':32,'EXTR_OVERWRITE':0,'EXTR_SKIP':1,'EXTR_PREFIX_SAME':2,'EXTR_PREFIX_ALL':3,'EXTR_PREFIX_INVALID':4,'EXTR_PREFIX_IF_EXISTS':5,'EXTR_IF_EXISTS':6,'EXTR_REFS':256,'SORT_ASC':4,'SORT_DESC':3,'SORT_REGULAR':0,'SORT_NUMERIC':1,'SORT_STRING':2,'SORT_LOCALE_STRING':5,'CASE_LOWER':0,'CASE_UPPER':1,'COUNT_NORMAL':0,'COUNT_RECURSIVE':1,'ASSERT_ACTIVE':1,'ASSERT_CALLBACK':2,'ASSERT_BAIL':3,'ASSERT_WARNING':4,'ASSERT_QUIET_EVAL':5,'STREAM_USE_PATH':1,'STREAM_IGNORE_URL':2,'STREAM_ENFORCE_SAFE_MODE':4,'STREAM_REPORT_ERRORS':8,'STREAM_MUST_SEEK':16,'STREAM_URL_STAT_LINK':1,'STREAM_URL_STAT_QUIET':2,'STREAM_MKDIR_RECURSIVE':1,'STREAM_IS_URL':1,'IMAGETYPE_GIF':1,'IMAGETYPE_JPEG':2,'IMAGETYPE_PNG':3,'IMAGETYPE_SWF':4,'IMAGETYPE_PSD':5,'IMAGETYPE_BMP':6,'IMAGETYPE_TIFF_II':7,'IMAGETYPE_TIFF_MM':8,'IMAGETYPE_JPC':9,'IMAGETYPE_JP2':10,'IMAGETYPE_JPX':11,'IMAGETYPE_JB2':12,'IMAGETYPE_SWC':13,'IMAGETYPE_IFF':14,'IMAGETYPE_WBMP':15,'IMAGETYPE_JPEG2000':9,'IMAGETYPE_XBM':16}};if(this.php_js&&this.php_js.ini&&this.php_js.ini['phpjs.get_defined_constants.setConstants']&&this.php_js.ini['phpjs.get_defined_constants.setConstants'].local_value){if(this.php_js.ini['phpjs.get_defined_constants.setConstants'].local_value==='this'){win=this;}
else if(this.php_js.ini['phpjs.get_defined_constants.setConstants'].local_value==='thisExt'){win=this;thisExt=true;}
else{win=this.window;}
for(ext in constObj){if(thisExt){for(cnst in constObj[ext]){if(!win[ext]){win[ext]={};}
win[ext][cnst]=constObj[ext][cnst];}}
else{for(cnst in constObj[ext]){if(this===this.window){this.define(cnst,constObj[ext][cnst]);}
else{win[cnst]=constObj[ext][cnst];}}}}}
if(typeof categorize!=='undefined'){return constObj;}
for(ext in constObj){for(cnst in constObj[ext]){flatConstObj[cnst]=constObj[ext][cnst];}}
return flatConstObj;}
function get_defined_functions(){var i='',arr=[],already={};for(i in this.window){try{if(typeof this.window[i]==='function'){if(!already[i]){already[i]=1;arr.push(i);}}
else if(typeof this.window[i]==='object'){for(var j in this.window[i]){if(typeof this.window[j]==='function'&&this.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 this.window){try{if(typeof this.window[i]==='function'){if(!already[i]){already[i]=1;arr.push(i);}}
else if(typeof this.window[i]==='object'){for(var j in this.window[i]){if(typeof this.window[j]==='function'&&this.window[j]&&!already[j]){already[j]=1;arr.push(j);}}}}
catch(e){}}
return arr;}
function get_headers(url,format){var req=this.window.ActiveXObject?new ActiveXObject("Microsoft.XMLHTTP"):new XMLHttpRequest();if(!req){throw new Error('XMLHttpRequest not supported');}
var tmp,headers,pair,i,j=0;req.open('HEAD',url,false);req.send(null);if(req.readyState<3){return false;}
tmp=req.getAllResponseHeaders();tmp=tmp.split('\n');tmp=this.array_filter(tmp,function(value){return value.substring(1)!=='';});headers=format?{}:[];for(i in tmp){if(format){pair=tmp[i].split(':');headers[pair.splice(0,1)]=pair.join(':').substring(1);}else{headers[j++]=tmp[i];}}
return headers;}
function get_html_translation_table(table,quote_style){var entities={},histogram={},decimal=0,symbol='';var constMappingTable={},constMappingQuoteStyle={};var useTable={},useQuoteStyle={};constMappingTable[0]='HTML_SPECIALCHARS';constMappingTable[1]='HTML_ENTITIES';constMappingQuoteStyle[0]='ENT_NOQUOTES';constMappingQuoteStyle[2]='ENT_COMPAT';constMappingQuoteStyle[3]='ENT_QUOTES';useTable=!isNaN(table)?constMappingTable[table]:table?table.toUpperCase():'HTML_SPECIALCHARS';useQuoteStyle=!isNaN(quote_style)?constMappingQuoteStyle[quote_style]:quote_style?quote_style.toUpperCase():'ENT_COMPAT';if(useTable!=='HTML_SPECIALCHARS'&&useTable!=='HTML_ENTITIES'){throw new Error("Table: "+useTable+' not supported');}
if(useTable==='HTML_ENTITIES'){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;';}
if(useQuoteStyle!=='ENT_NOQUOTES'){entities['34']='&quot;';}
if(useQuoteStyle==='ENT_QUOTES'){entities['39']='&#39;';}
entities['60']='&lt;';entities['62']='&gt;';entities['38']='&amp;';for(decimal in entities){symbol=String.fromCharCode(decimal);histogram[symbol]=entities[decimal];}
return histogram;}
function get_include_path(){if(this.php_js&&this.php_js.ini&&this.php_js.ini.include_path&&this.php_js.ini.include_path.local_value){return this.php_js.ini.include_path.local_value;}
return'';}
function get_included_files(){var cur_file={};cur_file[this.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{fulltxt=this.file_get_contents(file).match(/^[\s\S]*<\/head>/i);}
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 this.get_included_files();}
function get_resource_type(handle){var getFuncName=function(fn){var name=(/\W*function\s+([\w\$]+)\s*\(/).exec(fn);if(!name){return'(Anonymous)';}
return name[1];};if(!handle||typeof handle!=='object'||!handle.constructor||getFuncName(handle.constructor)!=='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,10);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(this.window.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 s=typeof mixed_var,name;var getFuncName=function(fn){var name=(/\W*function\s+([\w\$]+)\s*\(/).exec(fn);if(!name){return'(Anonymous)';}
return name[1];};if(s==='object'){if(mixed_var!==null){if(typeof mixed_var.length==='number'&&!(mixed_var.propertyIsEnumerable('length'))&&typeof mixed_var.splice==='function'){s='array';}
else if(mixed_var.constructor&&getFuncName(mixed_var.constructor)){name=getFuncName(mixed_var.constructor);if(name==='Date'){s='date';}
else if(name==='RegExp'){s='regexp';}
else if(name==='PHPJS_Resource'){s='resource';}}}else{s='null';}}
else if(s==='number'){s=this.is_float(mixed_var)?'double':'integer';}
return s;}
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 this.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,10)-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,10);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 this.strftime(format,timestamp);}
function gopher_parsedir(dirent){var entryPattern=/^(.)(.*?)\t(.*?)\t(.*?)\t(.*?)\u000d\u000a$/;var entry=dirent.match(entryPattern);if(entry===null){throw'Could not parse the directory entry';}
var type=entry[1];switch(type){case'i':type=255;break;case'1':type=1;break;case'0':type=0;break;case'4':type=4;break;case'5':type=5;break;case'6':type=6;break;case'9':type=9;break;case'h':type=254;break;default:return{type:-1,data:dirent};}
return{type:type,title:entry[2],path:entry[3],host:entry[4],port:entry[5]};}
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=this.get_html_translation_table('HTML_ENTITIES',quote_style))){return false;}
for(symbol in histogram){entity=histogram[symbol];tmp_str=tmp_str.split(entity).join(symbol);}
tmp_str=tmp_str.split('&#039;').join("'");return tmp_str;}
function htmlentities(string,quote_style){var histogram={},symbol='',tmp_str='',entity='';tmp_str=string.toString();if(false===(histogram=this.get_html_translation_table('HTML_ENTITIES',quote_style))){return false;}
histogram["'"]='&#039;';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=this.get_html_translation_table('HTML_SPECIALCHARS',quote_style))){return false;}
histogram["'"]='&#039;';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=this.get_html_translation_table('HTML_SPECIALCHARS',quote_style))){return false;}
for(symbol in histogram){entity=histogram[symbol];tmp_str=tmp_str.split(entity).join(symbol);}
tmp_str=tmp_str.split('&#039;').join("'");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 this.urlencode(key)+"="+this.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 idate(format,timestamp){if(format===undefined){throw'idate() expects at least 1 parameter, 0 given';}
if(!format.length||format.length>1){throw'idate format is one char';}
var date=((typeof(timestamp)==='undefined')?new Date():(typeof(timestamp)==='number')?new Date(timestamp*1000):new Date(timestamp));var _L=function(date){var y=date.getFullYear();return(!(y&3)&&(y%1e2||!(y%4e2)))?1:0;};var _z=function(date){return(date-new Date(date.getFullYear()+"/1/1"))/864e5>>0;};var _dst=function(t){var dst=0;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 dst;};switch(format){case'B':var off=(date.getTimezoneOffset()+60)*60;var theSeconds=(date.getHours()*3600)+
(date.getMinutes()*60)+
date.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;case'd':return date.getDate();case'h':return date.getHours()%12||12;case'H':return date.getHours();case'i':return date.getMinutes();case'I':return _dst(date);case'L':return _L(date);case'm':return date.getMonth()+1;case's':return date.getSeconds();case't':var n;if((n=date.getMonth()+1)===2){return 28+_L(date);}
if(n&1&&n<8||!(n&1)&&n>7){return 31;}
return 30;case'U':return Math.round(date.getTime()/1000);case'w':return date.getDay();case'W':var a=_z(date),b=364+_L(date)-a;var nd2,nd=(new Date(date.getFullYear()+'/1/1').getDay()||7)-1;if(b<=2&&((date.getDay()||7)-1)<=2-b){return 1;}
if(a<=2&&nd>=4&&a>=(6-nd)){nd2=new Date(date.getFullYear()-1+'/12/31');return idate('W',Math.round(nd2.getTime()/1000));}
return(1+(nd<=3?((a+nd)/7):(a-(7-nd))/7)>>0);case'y':return parseInt((date.getFullYear()+'').slice(2),10);case'Y':return date.getFullYear();case'z':return _z(date);case'Z':return-date.getTimezoneOffset()*60;default:throw'Unrecognized date format token';}}
function implode(glue,pieces){return((pieces instanceof Array)?pieces.join(glue):pieces);}
function import_request_variables(types,prefix){var i=0,current='',url='',vars='',arrayBracketPos=-1,arrName='',win=this.window,targetObj=this.window;prefix=prefix||'';if(this.php_js&&this.php_js.ini&&this.php_js.ini['phpjs.requestVarsObj']&&this.php_js.ini['phpjs.requestVarsObj'].local_value){targetObj=this.php_js.ini['phpjs.requestVarsObj'].local_value;}
if(/g/i.test(types)){for(i=0,url=win.location.href,vars=url.substring(url.lastIndexOf("?")+1,url.length).split("&");i<vars.length;i++){current=vars[i].split("=");current[1]=decodeURIComponent(current[1]);arrayBracketPos=current[0].indexOf('[');if(arrayBracketPos!==-1){arrName=current[0].substring(0,arrayBracketPos);arrName=decodeURIComponent(arrName);if(!targetObj[prefix+arrName]){targetObj[prefix+arrName]=[];}
targetObj[prefix+arrName].push(current[1]||null);}
else{current[0]=decodeURIComponent(current[0]);targetObj[prefix+current[0]]=current[1]||null;}}}
if(/c/i.test(types)){for(i=0,vars=win.document.cookie.split("&");i<vars.length;i++){current=vars[i].split("=");targetObj[prefix+current[0]]=current[1].split(";")[0]||null;}}}
function in_array(needle,haystack,argStrict){var key='',strict=!!argStrict;if(strict){for(key in haystack){if(haystack[key]===needle){return true;}}}else{for(key in haystack){if(haystack[key]==needle){return true;}}}
return false;}
function include(filename){var d=this.window.document;var js=d.createElementNS?d.createElementNS('http://www.w3.org/1999/xhtml','script'):d.createElement('script');js.setAttribute('type','text/javascript');js.setAttribute('src',filename);js.setAttribute('defer','defer');d.getElementsByTagNameNS?d.getElementsByTagNameNS('http://www.w3.org/1999/xhtml','head')[0].appendChild(js):d.getElementsByTagName('head')[0].appendChild(js);var cur_file={};cur_file[this.window.location.href]=1;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[this.window.location.href]=1;php_js_shared=php_js_shared||{};if(!php_js_shared.includes){php_js_shared.includes=cur_file;}
if(!php_js_shared.includes[filename]){if(this.include(filename)){return true;}}else{return true;}
return false;}
function ini_alter(varname,newvalue){return this.ini_set(varname,newvalue);}
function ini_get(varname){if(this.php_js&&this.php_js.ini&&this.php_js.ini[varname]&&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;this.php_js=this.php_js||{};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]){this.php_js.ini[varname].local_value=this.php_js.ini[varname].global_value;}}
function ini_set(varname,newvalue){var oldval='';this.php_js=this.php_js||{};this.php_js.ini=this.php_js.ini||{};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,10);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='';var getFuncName=function(fn){var name=(/\W*function\s+([\w\$]+)\s*\(/).exec(fn);if(!name){return'(Anonymous)';}
return name[1];};if(!mixed_var){return false;}
this.php_js=this.php_js||{};this.php_js.ini=this.php_js.ini||{};if(typeof mixed_var==='object'){if(this.php_js.ini['phpjs.objectsAsArrays']&&((this.php_js.ini['phpjs.objectsAsArrays'].local_value.toLowerCase&&this.php_js.ini['phpjs.objectsAsArrays'].local_value.toLowerCase()==='off')||parseInt(this.php_js.ini['phpjs.objectsAsArrays'].local_value,10)===0)){return mixed_var.hasOwnProperty('length')&&!mixed_var.propertyIsEnumerable('length')&&getFuncName(mixed_var.constructor)!=='String';}
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='';var getFuncName=function(fn){var name=(/\W*function\s+([\w\$]+)\s*\(/).exec(fn);if(!name){return'(Anonymous)';}
return name[1];};if(typeof v==='string'){obj=this.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&&getFuncName(obj.constructor))+'::'+method;}
else{return false;}
if(syntax_only||typeof obj[method]==='function'){if(callable_name){this.window[callable_name]=name;}
return true;}
return false;}
function is_double(mixed_var){return this.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,10);}
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,10)){return false;}
return true;}
function is_integer(mixed_var){return this.is_int(mixed_var);}
function is_long(mixed_var){return this.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 this.is_float(mixed_var);}
function is_resource(handle){var getFuncName=function(fn){var name=(/\W*function\s+([\w\$]+)\s*\(/).exec(fn);if(!name){return'(Anonymous)';}
return name[1];};return!(!handle||typeof handle!=='object'||!handle.constructor||getFuncName(handle.constructor)!=='PHPJS_Resource');}
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,l=a.length,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 this.implode(glue,pieces);}
function json_decode(str_json){var json=this.window.JSON;if(typeof json==='object'&&typeof json.parse==='function'){return json.parse(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;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 j;}
throw new SyntaxError('json_decode');}
function json_encode(mixed_val){var json=this.window.JSON;if(typeof json==='object'&&typeof json.stringify==='function'){return json.stringify(mixed_val);}
var value=mixed_val;var quote=function(string){var escapable=/[\\\"\u0000-\u001f\u007f-\u009f\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){this.php_js=this.php_js||{};this.php_js.pointers=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,that=this;switch(sort_flags){case'SORT_STRING':sorter=function(a,b){return that.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,that=this;switch(sort_flags){case'SORT_STRING':sorter=function(a,b){return that.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(e){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='';this.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\u00A0':(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=new 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=[],k,AA,BB,CC,DD,a,b,c,d,S11=7,S12=12,S13=17,S14=22,S21=5,S22=9,S23=14,S24=20,S31=4,S32=11,S33=16,S34=23,S41=6,S42=10,S43=15,S44=21;str=this.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=this.file_get_contents(str_filename);if(!buf){return false;}
return this.md5(buf);}
function method_exists(obj,method){if(typeof obj==='string'){return this.window[obj]&&typeof this.window[obj][method]==='function';}
return typeof obj[method]==='function';}
function microtime(get_as_float){var now=new Date().getTime()/1000;var s=parseInt(now,10);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,10)-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,10);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,that=this;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=that.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,that=this;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=that.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){this.php_js=this.php_js||{};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){this.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];if(item==='CRNCYSTR'){item='CURRENCY_SYMBOL';}
switch(item){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];if(item==='CODESET'){return loc.LC_CTYPE[item];}
return false;}}
function number_format(number,decimals,dec_point,thousands_sep){var n=number,prec=decimals;var toFixedFix=function(n,prec){var k=Math.pow(10,prec);return(Math.round(n*k)/k).toString();};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)?toFixedFix(n,prec):toFixedFix(Math.round(n),prec);var abs=toFixedFix(Math.abs(n),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);}
var decPos=s.indexOf(dec);if(prec>=1&&decPos!==-1&&(s.length-decPos-1)<prec){s+=new Array(prec-(s.length-decPos-1)).join(0)+'0';}
else if(prec>=1&&decPos===-1){s+=dec+new Array(prec).join(0)+'0';}
return s;}
function octdec(oct_string){oct_string=(oct_string+'').replace(/[^0-7]/gi,'');return parseInt(oct_string,8);}
function ord(string){var str=string+'';var code=str.charCodeAt(0);if(0xD800<=code&&code<=0xDBFF){var hi=code;if(str.length===1){return code;}
var low=str.charCodeAt(1);if(!low){}
return((hi-0xD800)*0x400)+(low-0xDC00)+0x10000;}
if(0xDC00<=code&&code<=0xDFFF){return code;}
return code;}
function parse_str(str,array){var glue1='=',glue2='&',array2=String(str).split(glue2),i,j,chr,tmp,key,value,bracket,keys,evalStr,fixStr=function(str)
{return urldecode(str).replace(/([\\"'])/g,'\\$1').replace(/\n/g,'\\n').replace(/\r/g,'\\r');};if(!array)
{array=this.window;}
for(i=0;i<array2.length;i++)
{tmp=array2[i].split(glue1);if(tmp.length<2)
{tmp=[tmp,''];}
key=fixStr(tmp[0]);value=fixStr(tmp[1]);while(key.charAt(0)===' ')
{key=key.substr(1);}
if(key.indexOf('\0')!==-1)
{key=key.substr(0,key.indexOf('\0'));}
if(key&&key.charAt(0)!=='[')
{keys=[];bracket=0;for(j=0;j<key.length;j++)
{if(key.charAt(j)==='['&&!bracket)
{bracket=j+1;}
else if(key.charAt(j)===']')
{if(bracket)
{if(!keys.length)
{keys.push(key.substr(0,bracket-1));}
keys.push(key.substr(bracket,j-bracket));bracket=0;if(key.charAt(j+1)!=='[')
{break;}}}}
if(!keys.length)
{keys=[key];}
for(j=0;j<keys[0].length;j++)
{chr=keys[0].charAt(j);if(chr===' '||chr==='.'||chr==='[')
{keys[0]=keys[0].substr(0,j)+'_'+keys[0].substr(j+1);}
if(chr==='[')
{break;}}
evalStr='array';for(j=0;j<keys.length;j++)
{key=keys[j];if((key!==''&&key!==' ')||j===0)
{key="'"+key+"'";}
else
{key=eval(evalStr+'.push([]);')-1;}
evalStr+='['+key+']';if(j!==keys.length-1&&eval('typeof '+evalStr)==='undefined')
{eval(evalStr+' = [];');}}
evalStr+=" = '"+value+"';\n";eval(evalStr);}}}
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 opt='',optName='',tmp_arr={},cnt=0,i=0,options=0;var have_basename=false,have_extension=false,have_filename=false;if(!path){return false;}
if(!options){options='PATHINFO_ALL';}
var OPTS={'PATHINFO_DIRNAME':1,'PATHINFO_BASENAME':2,'PATHINFO_EXTENSION':4,'PATHINFO_FILENAME':8,'PATHINFO_ALL':0};for(optName in OPTS){OPTS.PATHINFO_ALL=OPTS.PATHINFO_ALL|OPTS[optName];}
if(typeof options!=='number'){options=[].concat(options);for(i=0;i<options.length;i++){if(OPTS[options[i]]){options=options|OPTS[options[i]];}}}
var __getExt=function(path){var str=path+'';var dotP=str.lastIndexOf('.')+1;return str.substr(dotP);};if(options&OPTS.PATHINFO_DIRNAME){tmp_arr.dirname=this.dirname(path);}
if(options&OPTS.PATHINFO_BASENAME){if(false===have_basename){have_basename=this.basename(path);}
tmp_arr.basename=have_basename;}
if(options&OPTS.PATHINFO_EXTENSION){if(false===have_basename){have_basename=this.basename(path);}
if(false===have_extension){have_extension=__getExt(have_basename);}
tmp_arr.extension=have_extension;}
if(options&OPTS.PATHINFO_FILENAME){if(false===have_basename){have_basename=this.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(opt in tmp_arr){cnt++;}
if(cnt==1){return tmp_arr[opt];}
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=this.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=this.window.document,c='createElement',cn='createElementNS',xn='http://www.w3.org/1999/xhtml',g='getElementsByTagName',gn='getElementsByTagNameNS';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,that=this;var getFuncName=function(fn){var name=(/\W*function\s+([\w\$]+)\s*\(/).exec(fn);if(!name){return'(Anonymous)';}
return name[1];};var file_get_contents=function(url){var req=that.window.ActiveXObject?new ActiveXObject("Microsoft.XMLHTTP"):new XMLHttpRequest();if(!req){throw new Error('XMLHttpRequest not supported');}
if(!/^http/.test(url)){url=that.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 '+getFuncName(arguments.caller)+'()';}}
this.php_js=this.php_js||{};this.php_js.resourceData=this.php_js.resourceData||{};this.php_js.resourceDataPointer=this.php_js.resourceDataPointer||{};this.php_js.resourceIdCounter=this.php_js.resourceIdCounter||0;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 this.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){this.php_js=this.php_js||{};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,d=this.window.document;var getFuncName=function(fn){var name=(/\W*function\s+([\w\$]+)\s*\(/).exec(fn);if(!name){return'(Anonymous)';}
return name[1];};var repeat_char=function(len,pad_char){var str="";for(var i=0;i<len;i++){str+=pad_char;}
return str;};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&&getFuncName(obj.constructor)!=='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;};output=formatArray(array,0,pad_val,pad_char);if(return_val!==true){if(d.body){this.echo(output);}
else{try{d=XULDocument;this.echo('<pre xmlns="http://www.w3.org/1999/xhtml" style="white-space:pre;">'+output+'</pre>');}
catch(e){this.echo(output);}}
return true;}else{return output;}}
function printf(){var body,elmt,d=this.window.document;var ret='';var HTMLNS='http://www.w3.org/1999/xhtml';body=d.getElementsByTagNameNS?(d.getElementsByTagNameNS(HTMLNS,'body')[0]?d.getElementsByTagNameNS(HTMLNS,'body')[0]:d.documentElement.lastChild):d.getElementsByTagName('body')[0];if(!body){return false;}
ret=this.sprintf.apply(this,arguments);elmt=d.createTextNode(ret);body.appendChild(elmt);return ret.length;}
function property_exists(cls,prop){cls=(typeof cls==='string')?this.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){this.php_js=this.php_js||{};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 quoted_printable_decode(str){var RFC2045Decode1=/=\r\n/gm,RFC2045Decode2IN=/=([0-9A-F]{2})/gim,RFC2045Decode2OUT=function(sMatch,sHex){return String.fromCharCode(parseInt(sHex,16));};return str.replace(RFC2045Decode1,'').replace(RFC2045Decode2IN,RFC2045Decode2OUT);}
function quoted_printable_encode(str){var hexChars=['0','1','2','3','4','5','6','7','8','9','A','B','C','D','E','F'],RFC2045Encode1IN=/ \r\n|\r\n|[^!-<>-~ ]/gm,RFC2045Encode1OUT=function(sMatch){if(sMatch.length>1){return sMatch.replace(' ','=20');}
var chr=sMatch.charCodeAt(0);return'='+hexChars[((chr>>>4)&15)]+hexChars[(chr&15)];},RFC2045Encode2IN=/.{1,72}(?!\r\n)[^=]{0,3}/g,RFC2045Encode2OUT=function(sMatch){if(sMatch.substr(sMatch.length-2)==='\r\n'){return sMatch;}
return sMatch+'=\r\n';};str=str.replace(RFC2045Encode1IN,RFC2045Encode1OUT).replace(RFC2045Encode2IN,RFC2045Encode2OUT);return str.substr(0,str.length-3);}
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={},ret=str.toString(),unicodeStr='',hexEscStr='';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(unicodeStr in histogram){hexEscStr=histogram[unicodeStr];ret=replacer(hexEscStr,unicodeStr,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={},unicodeStr='',hexEscStr='';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);for(unicodeStr in histogram){hexEscStr=histogram[unicodeStr];ret=replacer(unicodeStr,hexEscStr,ret);}
return ret.replace(/(\%([a-z0-9]{2}))/g,function(full,m1,m2){return"%"+m2.toUpperCase();});}
function readfile(filename,use_include_path,context){var read_data=this.file_get_contents(filename,use_include_path,context);this.echo(read_data);return read_data;}
function realpath(path){var p=0,arr=[];var r=this.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);this.window.addEventListener('unload',function(){cb.apply(null,args);},false);}
function require(filename){var d=this.window.document;var js_code=this.file_get_contents(filename);var script_block=d.createElementNS?d.createElementNS('http://www.w3.org/1999/xhtml','script'):d.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(d.createTextNode(js_code));}
if(typeof(script_block)!="undefined"){d.getElementsByTagNameNS?d.getElementsByTagNameNS('http://www.w3.org/1999/xhtml','head')[0].appendChild(script_block):d.getElementsByTagName('head')[0].appendChild(script_block);var cur_file={};cur_file[this.window.location.href]=1;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];}}
return 0;}
function require_once(filename){var cur_file={};cur_file[this.window.location.href]=1;php_js_shared=php_js_shared||{};if(!php_js_shared.includes){php_js_shared.includes=cur_file;}
if(!php_js_shared.includes[filename]){if(this.require(filename)){return true;}}else{return true;}
return false;}
function reset(arr){this.php_js=this.php_js||{};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 restore_exception_handler(){if(!this.php_js||!this.php_js.previous_exception_handler){return true;}
this.php_js.exception_handler=this.php_js.previous_exception_handler;return true;}
function restore_include_path(){if(this.php_js&&this.php_js.ini&&this.php_js.ini.include_path){this.php_js.ini.include_path.local_value=this.php_js.ini.include_path.global_value;}}
function rewind(handle){var getFuncName=function(fn){var name=(/\W*function\s+([\w\$]+)\s*\(/).exec(fn);if(!name){return'(Anonymous)';}
return name[1];};if(!this.php_js||!this.php_js.resourceData||!this.php_js.resourceDataPointer||!handle||!handle.constructor||getFuncName(handle.constructor)!=='PHPJS_Resource'){return false;}
this.php_js.resourceDataPointer[handle.id]=0;return true;}
function round(val,precision,mode){return parseFloat(parseFloat(val).toFixed(precision));}
function rsort(inputArr,sort_flags){var valArr=[],k='',i=0,sorter=false,that=this;for(k in inputArr){valArr.push(inputArr[k]);delete inputArr[k];}
switch(sort_flags){case'SORT_STRING':sorter=function(a,b){return that.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\u00A0':(charlist+'').replace(/([\[\]\(\)\.\?\/\*\{\}\+\$\^\:])/g,'$1');var re=new RegExp('['+charlist+']+$','g');return(str+'').replace(re,'');}
function runkit_class_adopt(classname,parentname){if(typeof this.window[classname]!=='function'||typeof this.window[parentname]!=='function'){return false;}
this.window[classname].prototype=new this.window[parentname]();this.window[classname].constructor=this.window[classname];return true;}
function runkit_class_emancipate(classname){if(typeof this.window[classname]!=='function'){return false;}
for(var p in this.window[classname].prototype){delete this.window[classname].prototype[p];}
return true;}
function runkit_function_add(funcname,arglist,code){if(this.window[funcname]!==undefined){return false;}
try{this.window[funcname]=Function.apply(null,arglist.split(',').concat(code));return true;}
catch(e){return false;}}
function runkit_function_copy(funcname,targetname){if(typeof this.window[funcname]!=='function'||this.window[targetname]!==undefined){return false;}
this.window[targetname]=this.window[funcname];return true;}
function runkit_function_redefine(funcname,arglist,code){if(this.window[funcname]===undefined){return false;}
try{this.window[funcname]=Function.apply(null,arglist.split(',').concat(code));return true;}
catch(e){return false;}}
function runkit_function_remove(funcname){if(this.window[funcname]===undefined){return false;}
try{this.window[funcname]=undefined;return true;}
catch(e){return false;}}
function runkit_function_rename(funcname,newname){if(typeof this.window[newname]!=='function'||this.window[funcname]!==undefined){return false;}
this.window[newname]=this.window[funcname];this.window[funcname]=undefined;return true;}
function runkit_import(file,flags){if(flags){throw'Flags not supported for runkit_import';}
eval(this.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=this.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=this.window[dClass];}
if(typeof sClass==='string'){sClass=this.window[sClass];}
dClass.prototype[dMethod]=sClass.prototype[sMethod];return true;}
function runkit_method_redefine(classname,methodname,args,code,flags){var argmnts=[],func;var getFuncName=function(fn){var name=(/\W*function\s+([\w\$]+)\s*\(/).exec(fn);if(!name){return'(Anonymous)';}
return name[1];};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=this.window[classname];}
if(getFuncName(classname)!=='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=this.window[classname];}
if(getFuncName(classname)!=='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){var getFuncName=function(fn){var name=(/\W*function\s+([\w\$]+)\s*\(/).exec(fn);if(!name){return'(Anonymous)';}
return name[1];};if(typeof classname==='string'){classname=this.window[classname];}
if(getFuncName(classname)!=='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 runkit_superglobals(){var superglobal={},p='',arr=[];var superglobals=['$_GET','$_POST','$_REQUEST','$_COOKIE','$_SESSION','$_SERVER','$_ENV','$_FILES'];for(var i=0;i<superglobals.length;i++){superglobal=this.window[superglobals[i]];for(p in superglobal){arr.push(superglobal[p]);}}
return arr;}
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();match=cons.match(/(\w+)\(/);if(match){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"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:"+encodeURIComponent(mixed_value).replace(/%../g,'x').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,10):key);vals+=serialize(okey)+
serialize(mixed_value[key]);count++;}
val+=":"+count+":{"+vals+"}";break;case"undefined":default:val="N";break;}
if(type!="object"&&type!="array"){val+=";";}
return val;}
function set_exception_handler(callback){var that=this,oldHandlerName='';var getFuncName=function(fn){var name=(/\W*function\s+([\w\$]+)\s*\(/).exec(fn);if(!name){return'(Anonymous)';}
return name[1];};if(typeof callback==='string'){callback=this.window[callback];}
this.php_js=this.php_js||{};oldHandlerName=this.php_js.exception_handler?getFuncName(this.php_js.exception_handler):null;if(this.php_js.exception_handler){this.php_js.previous_exception_handler=this.php_js.exception_handler;}
this.php_js.exception_handler=callback;if(!this.window.Exception){this.window.Exception=function(message,code){this.message=message||'';this.code=code||0;this.file=this.window.href.location;this.line=0;this.string='Exception';this.name='Exception';that.php_js.exception_handler(this);};this.window.Exception.prototype={constructor:this.window.Exception,getMessage:function(){return this.message;},getCode:function(){return this.code;},getFile:function(){return this.file;},getLine:function(){return this.line;},getTrace:function(){var ret='';for(var i=0;i<this.trace.length;i++){ret+='\n#'+i+' '+this.trace[i];}
return ret.slice(1);},getTraceAsString:function(){return this.trace.toString();},__toString:function(){return"exception '"+this.string+"' with message '"+this.getMessage()+"' in "+
this.getFile()+":"+this.getLine()+"\nStack trace:\n"+this.getTraceAsString();},toString:function(){return this.__toString();},__clone:function(){throw'Fatal exception: exceptions are not clonable';}};}
return oldHandlerName;}
function set_include_path(new_include_path){this.php_js=this.php_js||{};this.php_js.ini=this.php_js.ini||{};var old_path=this.php_js.ini.include_path&&this.php_js.ini.include_path.local_value;if(!old_path){this.php_js.ini.include_path={global_value:new_include_path,local_value:new_include_path};}
else{this.php_js.ini.include_path.global_value=new_include_path;this.php_js.ini.include_path.local_value=new_include_path;}
return old_path;}
function set_time_limit(seconds){this.php_js=this.php_js||{};this.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 this.setrawcookie(name,encodeURIComponent(value),expires,path,domain,secure);}
function setlocale(category,locale){var categ='',cats=[],i=0,d=this.window.document;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(d.getElementsByTagNameNS&&d.getElementsByTagNameNS(NS_XHTML,'html')[0]){if(d.getElementsByTagNameNS(NS_XHTML,'html')[0].getAttributeNS&&d.getElementsByTagNameNS(NS_XHTML,'html')[0].getAttributeNS(NS_XML,'lang')){phpjs.locale=d.getElementsByTagName(NS_XHTML,'html')[0].getAttributeNS(NS_XML,'lang');}else if(d.getElementsByTagNameNS(NS_XHTML,'html')[0].lang){phpjs.locale=d.getElementsByTagNameNS(NS_XHTML,'html')[0].lang;}}else if(d.getElementsByTagName('html')[0]&&d.getElementsByTagName('html')[0].lang){phpjs.locale=d.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=this.getenv(category)||this.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='';s={expires:expires,path:path,domain:domain};for(i in s){s[i]&&r.push(i+"="+s[i]);}
return secure&&r.push("secure"),this.window.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 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=this.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=this.file_get_contents(str_filename);return this.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 this.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,that=this;for(k in inputArr){valArr.push(inputArr[k]);delete inputArr[k];}
switch(sort_flags){case'SORT_STRING':sorter=function(a,b){return that.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 this.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:undefined;}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,10);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){this.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.charAt(i)))!==-1)||((pos=lower.indexOf(str.charAt(i)))!==-1)){retStr+='['+upper[pos]+lower[pos]+']';}
else{retStr+=str.charAt(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,count){var i=0,j=0,temp='',repl='',sl=0,fl=0,f=[].concat(search),r=[].concat(replace),s=subject,ra=r instanceof Array,sa=s instanceof Array;s=[].concat(s);if(count){this.window[count]=0;}
for(i=0,sl=s.length;i<sl;i++){if(s[i]===''){continue;}
for(j=0,fl=f.length;j<fl;j++){temp=s[i]+'';repl=ra?(r[j]!==undefined?r[j]:''):r[0];s[i]=(temp).split(f[j]).join(repl);if(count&&s[i]!==temp){this.window[count]+=(temp.length-s[i].length)/f[j].length;}}}
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.charAt(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,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 this.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.charAt(i).indexOf(mask[j])!==-1){continue strct;}}
++lgth;}
return lgth;}
function stream_context_create(options,params){var resource={};options=options||{};this.php_js=this.php_js||{};this.php_js.resourceIdCounter=this.php_js.resourceIdCounter||0;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.resourceIdCounter++;resource=new PHPJS_Resource('stream-context',this.php_js.resourceIdCounter,'stream_context_create');resource.stream_options=options;resource.stream_params=params;return resource;}
function stream_context_get_default(options){this.php_js=this.php_js||{};if(!this.php_js.default_streams_context){this.php_js.default_streams_context=this.stream_context_create(options);}
if(options){this.php_js.default_streams_context.stream_options=options;}
return this.php_js.default_streams_context;}
function stream_context_get_options(stream_or_context){return stream_or_context.stream_options;}
function stream_context_get_params(stream_or_context){return stream_or_context.stream_params;}
function stream_context_set_default(options){this.php_js=this.php_js||{};if(!this.php_js.default_streams_context){this.php_js.default_streams_context=this.stream_context_create(options);}
this.php_js.default_streams_context.stream_options=options;return this.php_js.default_streams_context;}
function stream_context_set_option(stream_or_context,optionsOrWrapper,option,value){if(option){if(!stream_or_context.stream_options[optionsOrWrapper]){stream_or_context.stream_options[optionsOrWrapper]={};}
stream_or_context.stream_options[optionsOrWrapper][option]=value;}
else{stream_or_context.stream_options=optionsOrWrapper;}
return true;}
function stream_context_set_params(stream_or_context,params){var param='';for(param in params){if(param==='options'){stream_or_context.stream_options=params[param];}
else{stream_or_context.stream_params[param]=params[param];}}
return true;}
function stream_get_contents(handle,maxLength,offset){if(!this.php_js||!this.php_js.resourceData||!this.php_js.resourceDataPointer||!handle||!handle.id){return false;}
offset=offset||0;this.php_js.resourceDataPointer[handle.id]+=offset;var chrs=this.php_js.resourceData[handle.id].slice(this.php_js.resourceDataPointer[handle.id]);chrs=maxLength>=0?chrs.substr(0,maxLength):chrs;this.echo(chrs);this.php_js.resourceDataPointer[handle.id]+=chrs.length;return chrs;}
function stream_get_line(handle,length,ending){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(ending,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 this.php_js.resourceData[handle.id].substr(start,length-(fullline&&ending&&ending.length?ending.length:0));}
function stream_is_local(stream_or_url){if(typeof stream_or_url==='string'){return(/^(https?|ftps?|ssl|tls):/.test(stream_or_url))?false:true;}
return stream_or_url.is_local?true:false;}
function strftime(fmt,timestamp){this.php_js=this.php_js||{};var phpjs=this.php_js;this.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(/\\(.?)/g,function(s,n1){switch(n1){case'\\':return'\\';case'0':return'\0';case'':return'';default:return n1;}});}
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.charAt(i)+str.charAt(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.charAt(i);};for(i=0,lgth=0;i<str.length;i++){if((chr=getWholeChar(str,i))===false){continue;}
lgth++;}
return lgth;}
function strnatcasecmp(str1,str2){var a=(str1+'').toLowerCase();var 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){var i=0;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,10);buffer='';}
text=true;}
buffer+=chr;}}
if(buffer.length>0){if(text){result[result.length]=buffer;}else{result[result.length]=parseInt(buffer,10);}}
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=this.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=this.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?offset:0));return i===-1?false:i;}
function strrchr(haystack,needle){var pos=0;if(typeof needle!=='string'){needle=String.fromCharCode(parseInt(needle,10));}
needle=needle.charAt(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){this.php_js=this.php_js||{};if(tokens===undefined){tokens=str;str=this.php_js.strtokleftOver;}
if(str.length===0){return false;}
if(tokens.indexOf(str.charAt(0))!==-1){return this.strtok(str.substr(1),tokens);}
for(var i=0;i<str.length;i++){if(tokens.indexOf(str.charAt(i))!==-1){break;}}
this.php_js.strtokleftOver=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()/1000;}else if(!isNaN(parse=Date.parse(strTmp))){return(parse/1000);}else if(now){now=new Date(now*1000);}else{now=new Date();}
strTmp=strTmp.toLowerCase();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}};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],10);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;};match=strTmp.match(/^(\d{2,4}-\d{2}-\d{2})(?:\s(\d{1,2}:\d{2}(:\d{2})?)?(?:\.(\d+))?)?$/);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;}}
s[0]=parseInt(s[0],10);s[0]=(s[0]>=0&&s[0]<=69)?'20'+(s[0]<10?'0'+s[0]:s[0]+''):(s[0]>=70&&s[0]<=99)?'19'+s[0]:s[0]+'';return parseInt(this.strtotime(s[2]+' '+s[1]+' '+s[0]+' '+match[2])+(match[4]?match[4]/1000:''),10);}
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.getTime()/1000);}
function strtoupper(str){return(str+'').toUpperCase();}
function strtr(str,from,to){var fr='',i=0,j=0,lenStr=0,lenFrom=0;var tmpFrom=[];var tmpTo=[];var ret='';var match=false;if(typeof from==='object'){for(fr in from){tmpFrom.push(fr);tmpTo.push(from[fr]);}
from=tmpFrom;to=tmpTo;}
lenStr=str.length;lenFrom=from.length;for(i=0;i<lenStr;i++){match=false;for(j=0;j<lenFrom;j++){if(str.substr(i,from[j].length)==from[j]){match=true;i=(i+from[j].length)-1;break;}}
if(false!==match){ret+=to[j];}else{ret+=str[i];}}
return ret;}
function strval(str){var type='';if(str===null){return'';}
type=this.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 trigger_error(error_msg,error_type){var type=0,i=0,that=this,prepend='',append='';if(!error_type){error_type='E_USER_NOTICE';}
var ini_on=function(ini){return that.php_js.ini[ini]&&that.php_js.ini[ini].local_value&&((that.php_js.ini[ini].local_value.toString&&that.php_js.ini[ini].local_value.toString().toLowerCase&&(that.php_js.ini[ini].local_value.toString().toLowerCase()==='on'||that.php_js.ini[ini].local_value.toString().toLowerCase()==='true'))||parseInt(that.php_js.ini[ini].local_value,10)===1);};var display_errors=function(type){return that.php_js.ini.error_reporting&&(type&that.php_js.ini.error_reporting.local_value)&&ini_on('display_errors');};var TYPES={E_ERROR:1,E_WARNING:2,E_PARSE:4,E_NOTICE:8,E_CORE_ERROR:16,E_CORE_WARNING:32,E_COMPILE_ERROR:64,E_COMPILE_WARNING:128,E_USER_ERROR:256,E_USER_WARNING:512,E_USER_NOTICE:1024,E_STRICT:2048,E_RECOVERABLE_ERROR:4096,E_DEPRECATED:8192,E_USER_DEPRECATED:16384,E_ALL:30719};if(typeof error_type==='number'){type=error_type;}
else{error_type=[].concat(error_type);for(i=0;i<error_type.length;i++){if(TYPES[error_type[i]]){type=type|TYPES[error_type[i]];}}}
this.php_js=this.php_js||{};this.php_js.ini=this.php_js.ini||{};if(type&TYPES.E_USER_ERROR||type&TYPES.E_ERROR||type&TYPES.E_CORE_ERROR||type&TYPES.E_COMPILE_ERROR||type&TYPES.E_RECOVERABLE_ERROR||type&TYPES.E_PARSE){if(ini_on('track_errors')){this.$php_errormsg=error_msg;}
if(display_errors(type)){prepend=this.php_js.ini.error_prepend_string?this.php_js.ini.error_prepend_string:'';append=this.php_js.ini.error_append_string?this.php_js.ini.error_append_string:'';this.echo(prepend+'Error: '+error_msg+' '+append);}
var e=new Error(error_msg);e.type=type;this.php_js.last_error={message:e.message,file:e.fileName,line:e.lineNumber,type:e.type};throw e;}
if(display_errors(type)){switch(type){case TYPES.E_USER_WARNING:case TYPES.E_WARNING:case TYPES.E_CORE_WARNING:case TYPES.E_COMPILE_WARNING:this.echo('Warning: '+error_msg);break;case TYPES.E_USER_NOTICE:case TYPES.E_NOTICE:this.echo('Notice: '+error_msg);break;case TYPES.E_DEPRECATED:case TYPES.E_USER_DEPRECATED:this.echo('Deprecated: '+error_msg);break;default:throw'Unrecognized error type';}}
return true;}
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=this.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(prefix,more_entropy){if(typeof prefix=='undefined'){prefix="";}
var retId;var formatSeed=function(seed,reqWidth){seed=parseInt(seed,10).toString(16);if(reqWidth<seed.length){return seed.slice(seed.length-reqWidth);}
if(reqWidth>seed.length){return Array(1+(reqWidth-seed.length)).join('0')+seed;}
return seed;};if(!this.php_js){this.php_js={};}
if(!this.php_js.uniqidSeed){this.php_js.uniqidSeed=Math.floor(Math.random()*0x75bcd15);}
this.php_js.uniqidSeed++;retId=prefix;retId+=formatSeed(parseInt(new Date().getTime()/1000,10),8);retId+=formatSeed(this.php_js.uniqidSeed,5);if(more_entropy){retId+=(Math.random()*10).toFixed(8).toString();}
return retId;}
function unserialize(data){var error=function(type,msg,filename,line){throw new this.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=function(x){return parseInt(x,10);};readData=read_until(data,dataoffset,';');chrs=readData[0];readdata=readData[1];dataoffset+=chrs+1;break;case'b':typeconvert=function(x){return parseInt(x,10)==1;};readData=read_until(data,dataoffset,';');chrs=readData[0];readdata=readData[1];dataoffset+=chrs+1;break;case'd':typeconvert=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,10));chrs=readData[0];readdata=readData[1];dataoffset+=chrs+2;if(chrs!=parseInt(stringlength,10)&&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,10);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={},ret=str.toString(),unicodeStr='',hexEscStr='';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(unicodeStr in histogram){hexEscStr=histogram[unicodeStr];ret=replacer(hexEscStr,unicodeStr,ret);}
ret=decodeURIComponent(ret);return ret;}
function urlencode(str){var histogram={},unicodeStr='',hexEscStr='';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(unicodeStr in histogram){hexEscStr=histogram[unicodeStr];ret=replacer(unicodeStr,hexEscStr,ret);}
return ret.replace(/(\%([a-z0-9]{2}))/g,function(full,m1,m2){return"%"+m2.toUpperCase();});}
function user_error(error_msg,error_type){return this.trigger_error(error_msg,error_type);}
function usleep(microseconds){var start=new Date().getTime();while(new Date()<(start+microseconds/1000)){}
return true;}
function usort(inputArr,sorter){var valArr=[];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(argString){var string=(argString+'').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,lgth=0,i=0,d=this.window.document;var getFuncName=function(fn){var name=(/\W*function\s+([\w\$]+)\s*\(/).exec(fn);if(!name){return'(Anonymous)';}
return name[1];};var repeat_char=function(len,pad_char){var str="";for(var i=0;i<len;i++){str+=pad_char;}
return str;};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,10)){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){var someProp='';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&&getFuncName(obj.constructor)==='PHPJS_Resource'){return obj.var_dump();}
lgth=0;for(someProp 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;};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(d.body){this.echo(output);}
else{try{d=XULDocument;this.echo('<pre xmlns="http://www.w3.org/1999/xhtml" style="white-space:pre;">'+output+'</pre>');}
catch(e){this.echo(output);}}}
function var_export(mixed_expression,bool_return){var retstr='',iret='',cnt=0,x=[],i=0,funcParts=[];var getFuncName=function(fn){var name=(/\W*function\s+([\w\$]+)\s*\(/).exec(fn);if(!name){return'(Anonymous)';}
return name[1];};var __getType=function(inp){var i=0;var match,type=typeof inp;if(type==='object'&&inp.constructor&&getFuncName(inp.constructor)==='PHPJS_Resource'){return'resource';}
if(type==='function'){return'function';}
if(type==='object'&&!inp){return'null';}
if(type==="object"){if(!inp.constructor){return'object';}
var cons=inp.constructor.toString();match=cons.match(/(\w+)\(/);if(match){cons=match[1].toLowerCase();}
var types=["boolean","number","string","array"];for(i=0;i<types.length;i++){if(cons===types[i]){type=types[i];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++]=this.var_export(i,true)+" => "+this.var_export(mixed_expression[i],true);}
iret=x.join(',\n  ');retstr="array (\n  "+iret+"\n)";}
else if(type==='function'){}
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){this.echo(retstr);return null;}else{return retstr;}}
function version_compare(version1,version2,operator){this.php_js=this.php_js||{};this.php_js.ENV=this.php_js.ENV||{};if(!version1){return;}
if(!version2){return;}
var v1,v2,compare=0,i=0,x=0;var i1,i2;var parseVersionString=function(v){v=v.replace(/(^\s*)|(\s*$)/g,"").replace(/[-|_|+]/g,'.').replace(/([^0-9\.]+)/g,'.$1.');v=v.replace(/\.\.*/g,'.').toLowerCase().split('.');while(!v[0]){v.shift();}
while(!v[v.length-1]){v.pop();}
return v;};var versions={'dev':-1,'alpha':1,'a':1,'beta':2,'b':2,'rc':3,'#':4,'p':5,'pl':5};v1=parseVersionString(version1);v2=parseVersionString(version2);x=(v1.length>v2.length)?v2.length:v1.length;for(i=0;i<x;i++){if(v1[i]==v2[i]){continue;}
compare=0;i1=v1[i];i2=v2[i];if(!isNaN(i1)&&!isNaN(i2)){if(parseInt(i1,10)<parseInt(i2,10)){compare=-1;}else if(parseInt(i1,10)>parseInt(i2,10)){compare=1;}
break;}
if(i1=='#'){i1='';}else if(!isNaN(i1)){i1='#';}
if(i2=='#'){i2='';}else if(!isNaN(i2)){i2='#';}
if(versions[i1]&&versions[i2]){if(versions[i1]<versions[i2])
compare=-1;else if(versions[i1]>versions[i2])
compare=1;}else if(versions[i1]){compare=1;}else if(versions[i2]){compare=-1;}
break;}
if(compare==0&&v1.length!=v2.length){if(v2.length>v1.length){if(versions[v2[i]]){compare=(versions[v2[i]]<4)?1:-1;}else{compare=-1;}}else{if(versions[v1[i]]){compare=(versions[v1[i]]<4)?-1:1;}else{compare=1;}}}
if(operator){switch(operator.toLowerCase()){case'>':case'gt':return(compare>0);case'>=':case'ge':return(compare>=0);case'<=':case'le':return(compare<=0);case'==':case'=':case'eq':return(compare==0);case'<>':case'!=':case'ne':return(compare!=0);case'':case'<':case'lt':default:return(compare<0);}}
return compare;}
function vprintf(format,args){var body,elmt;var ret='',d=this.window.document;var HTMLNS='http://www.w3.org/1999/xhtml';body=d.getElementsByTagNameNS?(d.getElementsByTagNameNS(HTMLNS,'body')[0]?d.getElementsByTagNameNS(HTMLNS,'body')[0]:d.documentElement.lastChild):d.getElementsByTagName('body')[0];if(!body){return false;}
ret=this.sprintf.apply(this,[format].concat(args));elmt=d.createTextNode(ret);body.appendChild(elmt);return ret.length;}
function vsprintf(format,args){return this.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(/\r\n|\n|\r/)).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");}

/* customFormElements.js (69%) */
var checkboxHeight="25";var radioHeight="25";var selectWidth="190";document.write('<style type="text/css">input.styled { display: none; } select.styled { position: relative; width: '+selectWidth+'px; opacity: 0; filter: alpha(opacity=0); z-index: 5; }</style>');var Custom={init:function(){var inputs=document.getElementsByTagName("input"),span=Array(),textnode,option,active;for(a=0;a<inputs.length;a++){if((inputs[a].type=="checkbox"||inputs[a].type=="radio")&&inputs[a].className=="styled"){span[a]=document.createElement("span");span[a].className=inputs[a].type;if(inputs[a].checked==true){if(inputs[a].type=="checkbox"){position="0 -"+(checkboxHeight*2)+"px";span[a].style.backgroundPosition=position;}else{position="0 -"+(radioHeight*2)+"px";span[a].style.backgroundPosition=position;}}
inputs[a].parentNode.insertBefore(span[a],inputs[a]);inputs[a].onchange=Custom.clear;span[a].onmousedown=Custom.pushed;span[a].onmouseup=Custom.check;document.onmouseup=Custom.clear;}}
inputs=document.getElementsByTagName("select");for(a=0;a<inputs.length;a++){if(inputs[a].className=="styled"){option=inputs[a].getElementsByTagName("option");active=option[0].childNodes[0].nodeValue;textnode=document.createTextNode(active);for(b=0;b<option.length;b++){if(option[b].selected==true){textnode=document.createTextNode(option[b].childNodes[0].nodeValue);}}
span[a]=document.createElement("span");span[a].className="select";span[a].id="select"+inputs[a].name;span[a].appendChild(textnode);inputs[a].parentNode.insertBefore(span[a],inputs[a]);inputs[a].onchange=Custom.choose;}}},pushed:function(){element=this.nextSibling;if(element.checked==true&&element.type=="checkbox"){this.style.backgroundPosition="0 -"+checkboxHeight*3+"px";}else if(element.checked==true&&element.type=="radio"){this.style.backgroundPosition="0 -"+radioHeight*3+"px";}else if(element.checked!=true&&element.type=="checkbox"){this.style.backgroundPosition="0 -"+checkboxHeight+"px";}else{this.style.backgroundPosition="0 -"+radioHeight+"px";}},check:function(){element=this.nextSibling;if(element.checked==true&&element.type=="checkbox"){this.style.backgroundPosition="0 0";element.checked=false;}else{if(element.type=="checkbox"){this.style.backgroundPosition="0 -"+checkboxHeight*2+"px";}else{this.style.backgroundPosition="0 -"+radioHeight*2+"px";group=this.nextSibling.name;inputs=document.getElementsByTagName("input");for(a=0;a<inputs.length;a++){if(inputs[a].name==group&&inputs[a]!=this.nextSibling){inputs[a].previousSibling.style.backgroundPosition="0 0";}}}
element.checked=true;}},clear:function(){inputs=document.getElementsByTagName("input");for(var b=0;b<inputs.length;b++){if(inputs[b].type=="checkbox"&&inputs[b].checked==true&&inputs[b].className=="styled"){inputs[b].previousSibling.style.backgroundPosition="0 -"+checkboxHeight*2+"px";}else if(inputs[b].type=="checkbox"&&inputs[b].className=="styled"){inputs[b].previousSibling.style.backgroundPosition="0 0";}else if(inputs[b].type=="radio"&&inputs[b].checked==true&&inputs[b].className=="styled"){inputs[b].previousSibling.style.backgroundPosition="0 -"+radioHeight*2+"px";}else if(inputs[b].type=="radio"&&inputs[b].className=="styled"){inputs[b].previousSibling.style.backgroundPosition="0 0";}}},choose:function(){option=this.getElementsByTagName("option");for(d=0;d<option.length;d++){if(option[d].selected==true){document.getElementById("select"+this.name).childNodes[0].nodeValue=option[d].childNodes[0].nodeValue;}}}}
window.onload=Custom.init;

/* prototype.js (72%) */
var Prototype={Version:'1.6.0.2',Browser:{IE:!!(window.attachEvent&&navigator.userAgent.indexOf('Opera')===-1),Opera:navigator.userAgent.indexOf('Opera')>-1,WebKit:navigator.userAgent.indexOf('AppleWebKit/')>-1,Gecko:navigator.userAgent.indexOf('Gecko')>-1&&navigator.userAgent.indexOf('KHTML')===-1,MobileSafari:!!navigator.userAgent.match(/Apple.*Mobile.*Safari/)},BrowserFeatures:{XPath:!!document.evaluate,SelectorsAPI:!!document.querySelector,ElementExtensions:!!window.HTMLElement,SpecificElementExtensions:document.createElement('div')['__proto__']&&document.createElement('div')['__proto__']!==document.createElement('form')['__proto__']},ScriptFragment:'<script[^>]*>([^\\x00]*?)<\/script>',JSONFilter:/^\/\*-secure-([\s\S]*)\*\/\s*$/,emptyFunction:function(){},K:function(x){return x}};if(Prototype.Browser.MobileSafari)
Prototype.BrowserFeatures.SpecificElementExtensions=false;var Class={create:function(){var parent=null,properties=$A(arguments);if(Object.isFunction(properties[0]))
parent=properties.shift();function klass(){this.initialize.apply(this,arguments);}
Object.extend(klass,Class.Methods);klass.superclass=parent;klass.subclasses=[];if(parent){var subclass=function(){};subclass.prototype=parent.prototype;klass.prototype=new subclass;parent.subclasses.push(klass);}
for(var i=0;i<properties.length;i++)
klass.addMethods(properties[i]);if(!klass.prototype.initialize)
klass.prototype.initialize=Prototype.emptyFunction;klass.prototype.constructor=klass;return klass;}};Class.Methods={addMethods:function(source){var ancestor=this.superclass&&this.superclass.prototype;var properties=Object.keys(source);if(!Object.keys({toString:true}).length)
properties.push("toString","valueOf");for(var i=0,length=properties.length;i<length;i++){var property=properties[i],value=source[property];if(ancestor&&Object.isFunction(value)&&value.argumentNames().first()=="$super"){var method=value,value=(function(m){return function(){return ancestor[m].apply(this,arguments)};})(property).wrap(method);value.valueOf=method.valueOf.bind(method);value.toString=method.toString.bind(method);}
this.prototype[property]=value;}
return this;}};var Abstract={};Object.extend=function(destination,source){for(var property in source)
destination[property]=source[property];return destination;};Object.extend(Object,{inspect:function(object){try{if(Object.isUndefined(object))return'undefined';if(object===null)return'null';return object.inspect?object.inspect():String(object);}catch(e){if(e instanceof RangeError)return'...';throw e;}},toJSON:function(object){var type=typeof object;switch(type){case'undefined':case'function':case'unknown':return;case'boolean':return object.toString();}
if(object===null)return'null';if(object.toJSON)return object.toJSON();if(Object.isElement(object))return;var results=[];for(var property in object){var value=Object.toJSON(object[property]);if(!Object.isUndefined(value))
results.push(property.toJSON()+': '+value);}
return'{'+results.join(', ')+'}';},toQueryString:function(object){return $H(object).toQueryString();},toHTML:function(object){return object&&object.toHTML?object.toHTML():String.interpret(object);},keys:function(object){var keys=[];for(var property in object)
keys.push(property);return keys;},values:function(object){var values=[];for(var property in object)
values.push(object[property]);return values;},clone:function(object){return Object.extend({},object);},isElement:function(object){return!!(object&&object.nodeType==1);},isArray:function(object){return object!=null&&typeof object=="object"&&'splice'in object&&'join'in object;},isHash:function(object){return!!(object&&object instanceof Hash);},isFunction:function(object){return typeof object=="function"&&typeof object.call=="function";},isString:function(object){return typeof object=="string";},isNumber:function(object){return typeof object=="number"&&isFinite(object);},isUndefined:function(object){return typeof object=="undefined";}});Object.extend(Function.prototype,{argumentNames:function(){var names=Function.prototype.toString.call(this).match(/^[\s\(]*function[^(]*\(([^\)]*)\)/)[1].replace(/\s+/g,'').split(',');return names.length==1&&!names[0]?[]:names;},bind:function(){if(arguments.length<2&&Object.isUndefined(arguments[0]))return this;var __method=this,args=$A(arguments),object=args.shift();if(args.length){return function(){return __method.apply(object,args.concat($A(arguments)));};}
return function(){return __method.apply(object,arguments);};},bindAsEventListener:function(){var __method=this,args=$A(arguments),object=args.shift();if(args.length){return function(event){return __method.apply(object,[event||window.event].concat(args));};}
return function(event){return __method.apply(object,[event||window.event]);};},curry:function(){if(!arguments.length)return this;var __method=this,args=$A(arguments);return function(){return __method.apply(this,args.concat($A(arguments)));}},delay:function(){var __method=this,args=$A(arguments),timeout=args.shift()*1000;return window.setTimeout(function(){return __method.apply(__method,args);},timeout);},defer:function(){var args=[0.01].concat($A(arguments));return this.delay.apply(this,args);},wrap:function(wrapper){var __method=this;return function(){return wrapper.apply(this,[__method.bind(this)].concat($A(arguments)));}},methodize:function(){if(this._methodized)return this._methodized;var __method=this;return this._methodized=function(){return __method.apply(null,[this].concat($A(arguments)));};}});Date.prototype.toJSON=function(){return'"'+this.getUTCFullYear()+'-'+
(this.getUTCMonth()+1).toPaddedString(2)+'-'+
this.getUTCDate().toPaddedString(2)+'T'+
this.getUTCHours().toPaddedString(2)+':'+
this.getUTCMinutes().toPaddedString(2)+':'+
this.getUTCSeconds().toPaddedString(2)+'Z"';};var Try={these:function(){var returnValue;for(var i=0,length=arguments.length;i<length;i++){var lambda=arguments[i];try{returnValue=lambda();break;}catch(e){}}
return returnValue;}};RegExp.prototype.match=RegExp.prototype.test;RegExp.escape=function(str){return String(str).replace(/([.*+?^=!:${}()|[\]\/\\])/g,'\\$1');};var PeriodicalExecuter=Class.create({initialize:function(callback,frequency){this.callback=callback;this.frequency=frequency;this.currentlyExecuting=false;this.registerCallback();},registerCallback:function(){this.timer=setInterval(this.onTimerEvent.bind(this),this.frequency*1000);},execute:function(){this.callback(this);},stop:function(){if(!this.timer)return;clearInterval(this.timer);this.timer=null;},onTimerEvent:function(){if(!this.currentlyExecuting){try{this.currentlyExecuting=true;this.execute();}finally{this.currentlyExecuting=false;}}}});Object.extend(String,{interpret:function(value){return value==null?'':String(value);},specialChar:{'\b':'\\b','\t':'\\t','\n':'\\n','\f':'\\f','\r':'\\r','\\':'\\\\'}});Object.extend(String.prototype,{gsub:function(pattern,replacement){var result='',source=this,match;replacement=arguments.callee.prepareReplacement(replacement);while(source.length>0){if(match=source.match(pattern)){result+=source.slice(0,match.index);result+=String.interpret(replacement(match));source=source.slice(match.index+match[0].length);}else{result+=source,source='';}}
return result;},sub:function(pattern,replacement,count){replacement=this.gsub.prepareReplacement(replacement);count=Object.isUndefined(count)?1:count;return this.gsub(pattern,function(match){if(--count<0)return match[0];return replacement(match);});},scan:function(pattern,iterator){this.gsub(pattern,iterator);return String(this);},truncate:function(length,truncation){length=length||30;truncation=Object.isUndefined(truncation)?'...':truncation;return this.length>length?this.slice(0,length-truncation.length)+truncation:String(this);},strip:function(){return this.replace(/^\s+/,'').replace(/\s+$/,'');},stripTags:function(){return this.replace(/<\/?[^>]+>/gi,'');},stripScripts:function(){return this.replace(new RegExp(Prototype.ScriptFragment,'img'),'');},extractScripts:(function(){var matchAll=new RegExp(Prototype.ScriptFragment,'ig');var matchOne=new RegExp(Prototype.ScriptFragment,'i');var matchComments=new RegExp('<!--\\s*'+Prototype.ScriptFragment+'\\s*-->','i');return function(){if(this.indexOf('<script')==-1)return[];return(this.replace(matchComments,'').match(matchAll)||[]).map(function(scriptTag){return(scriptTag.match(matchOne)||['',''])[1];});}})(),evalScripts:function(){return this.extractScripts().map(function(script){return eval(script)});},escapeHTML:function(){var self=arguments.callee;self.text.data=this;return self.container.innerHTML.replace(/"/g,'&quot;');},unescapeHTML:function(){var div=document.createElement('div');div.innerHTML='<pre>'+this.stripTags()+'</pre>';div=div.firstChild;return div.childNodes[0]?(div.childNodes.length>1?$A(div.childNodes).inject('',function(memo,node){return memo+node.nodeValue}):div.childNodes[0].nodeValue):'';},toQueryParams:function(separator){var match=this.strip().match(/([^?#]*)(#.*)?$/);if(!match)return{};return match[1].split(separator||'&').inject({},function(hash,pair){if((pair=pair.split('='))[0]){var key=decodeURIComponent(pair.shift());var value=pair.length>1?pair.join('='):pair[0];if(value!=undefined)value=decodeURIComponent(value);if(key in hash){if(!Object.isArray(hash[key]))hash[key]=[hash[key]];hash[key].push(value);}
else hash[key]=value;}
return hash;});},toArray:function(){return this.split('');},succ:function(){return this.slice(0,this.length-1)+
String.fromCharCode(this.charCodeAt(this.length-1)+1);},times:function(count){return count<1?'':new Array(count+1).join(this);},camelize:function(){var parts=this.split('-'),len=parts.length;if(len==1)return parts[0];var camelized=this.charAt(0)=='-'?parts[0].charAt(0).toUpperCase()+parts[0].substring(1):parts[0];for(var i=1;i<len;i++)
camelized+=parts[i].charAt(0).toUpperCase()+parts[i].substring(1);return camelized;},capitalize:function(){return this.charAt(0).toUpperCase()+this.substring(1).toLowerCase();},underscore:function(){return this.gsub(/::/,'/').gsub(/([A-Z]+)([A-Z][a-z])/,'#{1}_#{2}').gsub(/([a-z\d])([A-Z])/,'#{1}_#{2}').gsub(/-/,'_').toLowerCase();},dasherize:function(){return this.gsub(/_/,'-');},inspect:function(useDoubleQuotes){var escapedString=this.gsub(/[\x00-\x1f\\]/,function(match){var character=String.specialChar[match[0]];return character?character:'\\u00'+match[0].charCodeAt().toPaddedString(2,16);});if(useDoubleQuotes)return'"'+escapedString.replace(/"/g,'\\"')+'"';return"'"+escapedString.replace(/'/g,'\\\'')+"'";},toJSON:function(){return this.inspect(true);},unfilterJSON:function(filter){return this.sub(filter||Prototype.JSONFilter,'#{1}');},isJSON:function(){var str=this;if(str.blank())return false;str=this.replace(/\\./g,'@').replace(/"[^"\\\n\r]*"/g,'');return(/^[,:{}\[\]0-9.\-+Eaeflnr-u \n\r\t]*$/).test(str);},evalJSON:function(sanitize){var json=this.unfilterJSON();try{if(!sanitize||json.isJSON())return eval('('+json+')');}catch(e){}
throw new SyntaxError('Badly formed JSON string: '+this.inspect());},include:function(pattern){return this.indexOf(pattern)>-1;},startsWith:function(pattern){return this.indexOf(pattern)===0;},endsWith:function(pattern){var d=this.length-pattern.length;return d>=0&&this.lastIndexOf(pattern)===d;},empty:function(){return this=='';},blank:function(){return/^\s*$/.test(this);},interpolate:function(object,pattern){return new Template(this,pattern).evaluate(object);}});String.prototype.gsub.prepareReplacement=function(replacement){if(Object.isFunction(replacement))return replacement;var template=new Template(replacement);return function(match){return template.evaluate(match)};};String.prototype.parseQuery=String.prototype.toQueryParams;Object.extend(String.prototype.escapeHTML,{container:document.createElement('pre'),text:document.createTextNode('')});String.prototype.escapeHTML.container.appendChild(String.prototype.escapeHTML.text);if('1\n2'.unescapeHTML()==='1\r2'){String.prototype.unescapeHTML=String.prototype.unescapeHTML.wrap(function(proceed){return proceed().replace(/\r/g,'\n')});}
if('>'.escapeHTML()!=='&gt;'){(function(){var escapeHTML=String.prototype.escapeHTML;Object.extend(String.prototype.escapeHTML=escapeHTML.wrap(function(proceed){return proceed().replace(/>/g,"&gt;")}),{container:escapeHTML.container,text:escapeHTML.text})})();}
if('&'.escapeHTML()!=='&amp;'){Object.extend(String.prototype.escapeHTML,{container:document.createElement('xmp'),text:document.createTextNode('')});String.prototype.escapeHTML.container.appendChild(String.prototype.escapeHTML.text);}
var Template=Class.create({initialize:function(template,pattern){this.template=template.toString();this.pattern=pattern||Template.Pattern;},evaluate:function(object){if(Object.isFunction(object.toTemplateReplacements))
object=object.toTemplateReplacements();return this.template.gsub(this.pattern,function(match){if(object==null)return'';var before=match[1]||'';if(before=='\\')return match[2];var ctx=object,expr=match[3];var pattern=/^([^.[]+|\[((?:.*?[^\\])?)\])(\.|\[|$)/;match=pattern.exec(expr);if(match==null)return before;while(match!=null){var comp=match[1].startsWith('[')?match[2].gsub('\\\\]',']'):match[1];ctx=ctx[comp];if(null==ctx||''==match[3])break;expr=expr.substring('['==match[3]?match[1].length:match[0].length);match=pattern.exec(expr);}
return before+String.interpret(ctx);});}});Template.Pattern=/(^|.|\r|\n)(#\{(.*?)\})/;var $break={};var Enumerable={each:function(iterator,context){var index=0;try{this._each(function(value){iterator.call(context,value,index++);});}catch(e){if(e!=$break)throw e;}
return this;},eachSlice:function(number,iterator,context){var index=-number,slices=[],array=this.toArray();if(number<1)return array;while((index+=number)<array.length)
slices.push(array.slice(index,index+number));return slices.collect(iterator,context);},all:function(iterator,context){iterator=iterator||Prototype.K;var result=true;this.each(function(value,index){result=result&&!!iterator.call(context,value,index);if(!result)throw $break;});return result;},any:function(iterator,context){iterator=iterator||Prototype.K;var result=false;this.each(function(value,index){if(result=!!iterator.call(context,value,index))
throw $break;});return result;},collect:function(iterator,context){iterator=iterator||Prototype.K;var results=[];this.each(function(value,index){results.push(iterator.call(context,value,index));});return results;},detect:function(iterator,context){var result;this.each(function(value,index){if(iterator.call(context,value,index)){result=value;throw $break;}});return result;},findAll:function(iterator,context){var results=[];this.each(function(value,index){if(iterator.call(context,value,index))
results.push(value);});return results;},grep:function(filter,iterator,context){iterator=iterator||Prototype.K;var results=[];if(Object.isString(filter))
filter=new RegExp(filter);this.each(function(value,index){if(filter.match(value))
results.push(iterator.call(context,value,index));});return results;},include:function(object){if(Object.isFunction(this.indexOf))
if(this.indexOf(object)!=-1)return true;var found=false;this.each(function(value){if(value==object){found=true;throw $break;}});return found;},inGroupsOf:function(number,fillWith){fillWith=Object.isUndefined(fillWith)?null:fillWith;return this.eachSlice(number,function(slice){while(slice.length<number)slice.push(fillWith);return slice;});},inject:function(memo,iterator,context){this.each(function(value,index){memo=iterator.call(context,memo,value,index);});return memo;},invoke:function(method){var args=$A(arguments).slice(1);return this.map(function(value){return value[method].apply(value,args);});},max:function(iterator,context){iterator=iterator||Prototype.K;var result;this.each(function(value,index){value=iterator.call(context,value,index);if(result==null||value>=result)
result=value;});return result;},min:function(iterator,context){iterator=iterator||Prototype.K;var result;this.each(function(value,index){value=iterator.call(context,value,index);if(result==null||value<result)
result=value;});return result;},partition:function(iterator,context){iterator=iterator||Prototype.K;var trues=[],falses=[];this.each(function(value,index){(iterator.call(context,value,index)?trues:falses).push(value);});return[trues,falses];},pluck:function(property){var results=[];this.each(function(value){results.push(value[property]);});return results;},reject:function(iterator,context){var results=[];this.each(function(value,index){if(!iterator.call(context,value,index))
results.push(value);});return results;},sortBy:function(iterator,context){return this.map(function(value,index){return{value:value,criteria:iterator.call(context,value,index)};}).sort(function(left,right){var a=left.criteria,b=right.criteria;return a<b?-1:a>b?1:0;}).pluck('value');},toArray:function(){return this.map();},zip:function(){var iterator=Prototype.K,args=$A(arguments);if(Object.isFunction(args.last()))
iterator=args.pop();var collections=[this].concat(args).map($A);return this.map(function(value,index){return iterator(collections.pluck(index));});},size:function(){return this.toArray().length;},inspect:function(){return'#<Enumerable:'+this.toArray().inspect()+'>';}};Object.extend(Enumerable,{map:Enumerable.collect,find:Enumerable.detect,select:Enumerable.findAll,filter:Enumerable.findAll,member:Enumerable.include,entries:Enumerable.toArray,every:Enumerable.all,some:Enumerable.any});function $A(iterable){if(!iterable)return[];if(iterable.toArray)return iterable.toArray();var length=iterable.length||0,results=new Array(length);while(length--)results[length]=iterable[length];return results;}
if(Prototype.Browser.WebKit){$A=function(iterable){if(!iterable)return[];if(!(typeof iterable==='function'&&typeof iterable.length==='number'&&typeof iterable.item==='function')&&iterable.toArray)
return iterable.toArray();var length=iterable.length||0,results=new Array(length);while(length--)results[length]=iterable[length];return results;};}
Array.from=$A;Object.extend(Array.prototype,Enumerable);if(!Array.prototype._reverse)Array.prototype._reverse=Array.prototype.reverse;Object.extend(Array.prototype,{_each:function(iterator){for(var i=0,length=this.length;i<length;i++)
iterator(this[i]);},clear:function(){this.length=0;return this;},first:function(){return this[0];},last:function(){return this[this.length-1];},compact:function(){return this.select(function(value){return value!=null;});},flatten:function(){return this.inject([],function(array,value){return array.concat(Object.isArray(value)?value.flatten():[value]);});},without:function(){var values=$A(arguments);return this.select(function(value){return!values.include(value);});},reverse:function(inline){return(inline!==false?this:this.toArray())._reverse();},reduce:function(){return this.length>1?this:this[0];},uniq:function(sorted){return this.inject([],function(array,value,index){if(0==index||(sorted?array.last()!=value:!array.include(value)))
array.push(value);return array;});},intersect:function(array){var length=array.length,i;return this.uniq().findAll(function(item){i=length;while(i--)if(item===array[i])return true;return false;});},clone:function(){return[].concat(this);},size:function(){return this.length;},inspect:function(){return'['+this.map(Object.inspect).join(', ')+']';},toJSON:function(){var results=[];this.each(function(object){var value=Object.toJSON(object);if(!Object.isUndefined(value))results.push(value);});return'['+results.join(', ')+']';}});if(Object.isFunction(Array.prototype.forEach))
Array.prototype._each=Array.prototype.forEach;if(!Array.prototype.indexOf)Array.prototype.indexOf=function(item,i){i||(i=0);var length=this.length;if(i<0)i=length+i;for(;i<length;i++)
if(this[i]===item)return i;return-1;};if(!Array.prototype.lastIndexOf)Array.prototype.lastIndexOf=function(item,i){i=isNaN(i)?this.length:(i<0?this.length+i:i)+1;var n=this.slice(0,i).reverse().indexOf(item);return(n<0)?n:i-n-1;};Array.prototype.toArray=Array.prototype.clone;function $w(string){if(!Object.isString(string))return[];string=string.strip();return string?string.split(/\s+/):[];}
if(Prototype.Browser.Opera){Array.prototype.concat=function(){var array=[];for(var i=0,length=this.length;i<length;i++)array.push(this[i]);for(var i=0,length=arguments.length;i<length;i++){if(Object.isArray(arguments[i])){for(var j=0,arrayLength=arguments[i].length;j<arrayLength;j++)
array.push(arguments[i][j]);}else{array.push(arguments[i]);}}
return array;};}
Object.extend(Number.prototype,{toColorPart:function(){return this.toPaddedString(2,16);},succ:function(){return this+1;},times:function(iterator,context){$R(0,this,true).each(iterator,context);return this;},toPaddedString:function(length,radix){var string=this.toString(radix||10);return'0'.times(length-string.length)+string;},toJSON:function(){return isFinite(this)?this.toString():'null';}});$w('abs round ceil floor').each(function(method){Number.prototype[method]=Math[method].methodize();});function $H(object){return new Hash(object);};var Hash=Class.create(Enumerable,(function(){function toQueryPair(key,value){if(Object.isUndefined(value))return key;return key+'='+encodeURIComponent(String.interpret(value));}
return{initialize:function(object){this._object=Object.isHash(object)?object.toObject():Object.clone(object);},_each:function(iterator){for(var key in this._object){var value=this._object[key],pair=[key,value];pair.key=key;pair.value=value;iterator(pair);}},set:function(key,value){return this._object[key]=value;},get:function(key){if(this._object[key]!==Object.prototype[key])
return this._object[key];},unset:function(key){var value=this._object[key];delete this._object[key];return value;},toObject:function(){return Object.clone(this._object);},keys:function(){return this.pluck('key');},values:function(){return this.pluck('value');},index:function(value){var match=this.detect(function(pair){return pair.value===value;});return match&&match.key;},merge:function(object){return this.clone().update(object);},update:function(object){return new Hash(object).inject(this,function(result,pair){result.set(pair.key,pair.value);return result;});},toQueryString:function(){return this.inject([],function(results,pair){var key=encodeURIComponent(pair.key),values=pair.value;if(values&&typeof values=='object'){if(Object.isArray(values))
return results.concat(values.map(toQueryPair.curry(key)));}else results.push(toQueryPair(key,values));return results;}).join('&');},inspect:function(){return'#<Hash:{'+this.map(function(pair){return pair.map(Object.inspect).join(': ');}).join(', ')+'}>';},toJSON:function(){return Object.toJSON(this.toObject());},clone:function(){return new Hash(this);}}})());Hash.prototype.toTemplateReplacements=Hash.prototype.toObject;Hash.from=$H;var ObjectRange=Class.create(Enumerable,{initialize:function(start,end,exclusive){this.start=start;this.end=end;this.exclusive=exclusive;},_each:function(iterator){var value=this.start;while(this.include(value)){iterator(value);value=value.succ();}},include:function(value){if(value<this.start)
return false;if(this.exclusive)
return value<this.end;return value<=this.end;}});var $R=function(start,end,exclusive){return new ObjectRange(start,end,exclusive);};var Ajax={getTransport:function(){return Try.these(function(){return new ActiveXObject('Msxml2.XMLHTTP')},function(){return new XMLHttpRequest()},function(){return new ActiveXObject('Microsoft.XMLHTTP')})||false;},activeRequestCount:0};Ajax.Responders={responders:[],_each:function(iterator){this.responders._each(iterator);},register:function(responder){if(!this.include(responder))
this.responders.push(responder);},unregister:function(responder){this.responders=this.responders.without(responder);},dispatch:function(callback,request,transport,json){this.each(function(responder){if(Object.isFunction(responder[callback])){try{responder[callback].apply(responder,[request,transport,json]);}catch(e){}}});}};Object.extend(Ajax.Responders,Enumerable);Ajax.Responders.register({onCreate:function(){Ajax.activeRequestCount++},onComplete:function(){Ajax.activeRequestCount--}});Ajax.Base=Class.create({initialize:function(options){this.options={method:'post',asynchronous:true,contentType:'application/x-www-form-urlencoded',encoding:'UTF-8',parameters:'',evalJSON:true,evalJS:true};Object.extend(this.options,options||{});this.options.method=this.options.method.toLowerCase();if(Object.isString(this.options.parameters))
this.options.parameters=this.options.parameters.toQueryParams();else if(Object.isHash(this.options.parameters))
this.options.parameters=this.options.parameters.toObject();}});Ajax.Request=Class.create(Ajax.Base,{_complete:false,initialize:function($super,url,options){$super(options);this.transport=Ajax.getTransport();this.request(url);},request:function(url){this.url=url;this.method=this.options.method;var params=Object.clone(this.options.parameters);if(!['get','post'].include(this.method)){params['_method']=this.method;this.method='post';}
this.parameters=params;if(params=Object.toQueryString(params)){if(this.method=='get')
this.url+=(this.url.include('?')?'&':'?')+params;else if(/Konqueror|Safari|KHTML/.test(navigator.userAgent))
params+='&_=';}
try{var response=new Ajax.Response(this);if(this.options.onCreate)this.options.onCreate(response);Ajax.Responders.dispatch('onCreate',this,response);this.transport.open(this.method.toUpperCase(),this.url,this.options.asynchronous);if(this.options.asynchronous)this.respondToReadyState.bind(this).defer(1);this.transport.onreadystatechange=this.onStateChange.bind(this);this.setRequestHeaders();this.body=this.method=='post'?(this.options.postBody||params):null;this.transport.send(this.body);if(!this.options.asynchronous&&this.transport.overrideMimeType)
this.onStateChange();}
catch(e){this.dispatchException(e);}},onStateChange:function(){var readyState=this.transport.readyState;if(readyState>1&&!((readyState==4)&&this._complete))
this.respondToReadyState(this.transport.readyState);},setRequestHeaders:function(){var headers={'X-Requested-With':'XMLHttpRequest','X-Prototype-Version':Prototype.Version,'Accept':'text/javascript, text/html, application/xml, text/xml, */*'};if(this.method=='post'){headers['Content-type']=this.options.contentType+
(this.options.encoding?'; charset='+this.options.encoding:'');if(this.transport.overrideMimeType&&(navigator.userAgent.match(/Gecko\/(\d{4})/)||[0,2005])[1]<2005)
headers['Connection']='close';}
if(typeof this.options.requestHeaders=='object'){var extras=this.options.requestHeaders;if(Object.isFunction(extras.push))
for(var i=0,length=extras.length;i<length;i+=2)
headers[extras[i]]=extras[i+1];else
$H(extras).each(function(pair){headers[pair.key]=pair.value});}
for(var name in headers)
this.transport.setRequestHeader(name,headers[name]);},success:function(){var status=this.getStatus();return!status||(status>=200&&status<300);},getStatus:function(){try{return this.transport.status||0;}catch(e){return 0}},respondToReadyState:function(readyState){var state=Ajax.Request.Events[readyState],response=new Ajax.Response(this);if(state=='Complete'){try{this._complete=true;(this.options['on'+response.status]||this.options['on'+(this.success()?'Success':'Failure')]||Prototype.emptyFunction)(response,response.headerJSON);}catch(e){this.dispatchException(e);}
var contentType=response.getHeader('Content-type');if(this.options.evalJS=='force'||(this.options.evalJS&&this.isSameOrigin()&&contentType&&contentType.match(/^\s*(text|application)\/(x-)?(java|ecma)script(;.*)?\s*$/i)))
this.evalResponse();}
try{(this.options['on'+state]||Prototype.emptyFunction)(response,response.headerJSON);Ajax.Responders.dispatch('on'+state,this,response,response.headerJSON);}catch(e){this.dispatchException(e);}
if(state=='Complete'){this.transport.onreadystatechange=Prototype.emptyFunction;}},isSameOrigin:function(){var m=this.url.match(/^\s*https?:\/\/[^\/]*/);return!m||(m[0]=='#{protocol}//#{domain}#{port}'.interpolate({protocol:location.protocol,domain:document.domain,port:location.port?':'+location.port:''}));},getHeader:function(name){try{return this.transport.getResponseHeader(name)||null;}catch(e){return null}},evalResponse:function(){try{return eval((this.transport.responseText||'').unfilterJSON());}catch(e){this.dispatchException(e);}},dispatchException:function(exception){(this.options.onException||Prototype.emptyFunction)(this,exception);Ajax.Responders.dispatch('onException',this,exception);}});Ajax.Request.Events=['Uninitialized','Loading','Loaded','Interactive','Complete'];Ajax.Response=Class.create({initialize:function(request){this.request=request;var transport=this.transport=request.transport,readyState=this.readyState=transport.readyState;if((readyState>2&&!Prototype.Browser.IE)||readyState==4){this.status=this.getStatus();this.statusText=this.getStatusText();this.responseText=String.interpret(transport.responseText);this.headerJSON=this._getHeaderJSON();}
if(readyState==4){var xml=transport.responseXML;this.responseXML=Object.isUndefined(xml)?null:xml;this.responseJSON=this._getResponseJSON();}},status:0,statusText:'',getStatus:Ajax.Request.prototype.getStatus,getStatusText:function(){try{return this.transport.statusText||'';}catch(e){return''}},getHeader:Ajax.Request.prototype.getHeader,getAllHeaders:function(){try{return this.getAllResponseHeaders();}catch(e){return null}},getResponseHeader:function(name){return this.transport.getResponseHeader(name);},getAllResponseHeaders:function(){return this.transport.getAllResponseHeaders();},_getHeaderJSON:function(){var json=this.getHeader('X-JSON');if(!json)return null;json=decodeURIComponent(escape(json));try{return json.evalJSON(this.request.options.sanitizeJSON||!this.request.isSameOrigin());}catch(e){this.request.dispatchException(e);}},_getResponseJSON:function(){var options=this.request.options;if(!options.evalJSON||(options.evalJSON!='force'&&!(this.getHeader('Content-type')||'').include('application/json'))||this.responseText.blank())
return null;try{return this.responseText.evalJSON(options.sanitizeJSON||!this.request.isSameOrigin());}catch(e){this.request.dispatchException(e);}}});Ajax.Updater=Class.create(Ajax.Request,{initialize:function($super,container,url,options){this.container={success:(container.success||container),failure:(container.failure||(container.success?null:container))};options=Object.clone(options);var onComplete=options.onComplete;options.onComplete=(function(response,json){this.updateContent(response.responseText);if(Object.isFunction(onComplete))onComplete(response,json);}).bind(this);$super(url,options);if(container&&!options.onLoading){var loaderIMG;if(options.loadingAnimation){loaderIMG="<div class='ajaxLoader' width='16' height='16'><img src='/images/elmnt/"+options.loadingAnimation+"' /></div>";}else{loaderIMG="<div class='ajaxLoader' width='16' height='16'><img src='/images/elmnt/ajax-loader.gif' /></div>";}
$(container).innerHTML=loaderIMG;}},updateContent:function(responseText){var receiver=this.container[this.success()?'success':'failure'],options=this.options;if(!options.evalScripts)responseText=responseText.stripScripts();if(receiver=$(receiver)){if(options.insertion){if(Object.isString(options.insertion)){var insertion={};insertion[options.insertion]=responseText;receiver.insert(insertion);}
else options.insertion(receiver,responseText);}
else receiver.update(responseText);}}});Ajax.PeriodicalUpdater=Class.create(Ajax.Base,{initialize:function($super,container,url,options){$super(options);this.onComplete=this.options.onComplete;this.frequency=(this.options.frequency||2);this.decay=(this.options.decay||1);this.updater={};this.container=container;this.url=url;this.start();},start:function(){this.options.onComplete=this.updateComplete.bind(this);this.onTimerEvent();},stop:function(){this.updater.options.onComplete=undefined;clearTimeout(this.timer);(this.onComplete||Prototype.emptyFunction).apply(this,arguments);},updateComplete:function(response){if(this.options.decay){this.decay=(response.responseText==this.lastText?this.decay*this.options.decay:1);this.lastText=response.responseText;}
this.timer=this.onTimerEvent.bind(this).delay(this.decay*this.frequency);},onTimerEvent:function(){this.updater=new Ajax.Updater(this.container,this.url,this.options);}});function $(element){if(arguments.length>1){for(var i=0,elements=[],length=arguments.length;i<length;i++)
elements.push($(arguments[i]));return elements;}
if(Object.isString(element))
element=document.getElementById(element);return Element.extend(element);}
if(Prototype.BrowserFeatures.XPath){document._getElementsByXPath=function(expression,parentElement){var results=[];var query=document.evaluate(expression,$(parentElement)||document,null,XPathResult.ORDERED_NODE_SNAPSHOT_TYPE,null);for(var i=0,length=query.snapshotLength;i<length;i++)
results.push(Element.extend(query.snapshotItem(i)));return results;};}
if(!window.Node)var Node={};if(!Node.ELEMENT_NODE){Object.extend(Node,{ELEMENT_NODE:1,ATTRIBUTE_NODE:2,TEXT_NODE:3,CDATA_SECTION_NODE:4,ENTITY_REFERENCE_NODE:5,ENTITY_NODE:6,PROCESSING_INSTRUCTION_NODE:7,COMMENT_NODE:8,DOCUMENT_NODE:9,DOCUMENT_TYPE_NODE:10,DOCUMENT_FRAGMENT_NODE:11,NOTATION_NODE:12});}
(function(){var element=this.Element;this.Element=function(tagName,attributes){attributes=attributes||{};tagName=tagName.toLowerCase();var cache=Element.cache;if(Prototype.Browser.IE&&(attributes.name||attributes.type)){tagName='<'+tagName+
(attributes.name?' name="'+attributes.name+'"':'')+
(attributes.type?' type="'+attributes.type+'"':'')+'>';delete attributes.name;delete attributes.type;return Element.writeAttribute(document.createElement(tagName),attributes);}
if(!cache[tagName])cache[tagName]=Element.extend(document.createElement(tagName));return Element.writeAttribute(cache[tagName].cloneNode(false),attributes);};Object.extend(this.Element,element||{});if(element)this.Element.prototype=element.prototype;}).call(window);Element.cache={};Element.Methods={visible:function(element){return $(element).style.display!='none';},toggle:function(element){element=$(element);Element[Element.visible(element)?'hide':'show'](element);return element;},hide:function(element){(element=$(element)).style.display='none';return element;},show:function(element){(element=$(element)).style.display='';return element;},remove:function(element){element=$(element);element.parentNode.removeChild(element);return element;},update:function(element,content){element=$(element);if(content&&content.toElement)content=content.toElement();if(Object.isElement(content))return element.update().insert(content);content=Object.toHTML(content);element.innerHTML=content.stripScripts();content.evalScripts.bind(content).defer();return element;},replace:function(element,content){element=$(element);if(content&&content.toElement)content=content.toElement();else if(!Object.isElement(content)){content=Object.toHTML(content);var range=element.ownerDocument.createRange();range.selectNode(element);content.evalScripts.bind(content).defer();content=range.createContextualFragment(content.stripScripts());}
element.parentNode.replaceChild(content,element);return element;},insert:function(element,insertions){element=$(element);if(Object.isString(insertions)||Object.isNumber(insertions)||Object.isElement(insertions)||(insertions&&(insertions.toElement||insertions.toHTML)))
insertions={bottom:insertions};var content,insert,tagName,childNodes;for(var position in insertions){content=insertions[position];position=position.toLowerCase();insert=Element._insertionTranslations[position];if(content&&content.toElement)content=content.toElement();if(Object.isElement(content)){insert(element,content);continue;}
content=Object.toHTML(content);tagName=((position=='before'||position=='after')?element.parentNode:element).tagName.toUpperCase();childNodes=Element._getContentFromAnonymousElement(tagName,content.stripScripts());if(position=='top'||position=='after')childNodes.reverse();childNodes.each(insert.curry(element));content.evalScripts.bind(content).defer();}
return element;},wrap:function(element,wrapper,attributes){element=$(element);if(Object.isElement(wrapper))
$(wrapper).writeAttribute(attributes||{});else if(Object.isString(wrapper))wrapper=new Element(wrapper,attributes);else wrapper=new Element('div',wrapper);if(element.parentNode)
element.parentNode.replaceChild(wrapper,element);wrapper.appendChild(element);return wrapper;},inspect:function(element){element=$(element);var result='<'+element.tagName.toLowerCase();$H({'id':'id','className':'class'}).each(function(pair){var property=pair.first(),attribute=pair.last();var value=(element[property]||'').toString();if(value)result+=' '+attribute+'='+value.inspect(true);});return result+'>';},recursivelyCollect:function(element,property){element=$(element);var elements=[];while(element=element[property])
if(element.nodeType==1)
elements.push(Element.extend(element));return elements;},ancestors:function(element){return $(element).recursivelyCollect('parentNode');},descendants:function(element){return $(element).select("*");},firstDescendant:function(element){element=$(element).firstChild;while(element&&element.nodeType!=1)element=element.nextSibling;return $(element);},immediateDescendants:function(element){if(!(element=$(element).firstChild))return[];while(element&&element.nodeType!=1)element=element.nextSibling;if(element)return[element].concat($(element).nextSiblings());return[];},previousSiblings:function(element){return $(element).recursivelyCollect('previousSibling');},nextSiblings:function(element){return $(element).recursivelyCollect('nextSibling');},siblings:function(element){element=$(element);return element.previousSiblings().reverse().concat(element.nextSiblings());},match:function(element,selector){if(Object.isString(selector))
selector=new Selector(selector);return selector.match($(element));},up:function(element,expression,index){element=$(element);if(arguments.length==1)return $(element.parentNode);var ancestors=element.ancestors();return Object.isNumber(expression)?ancestors[expression]:Selector.findElement(ancestors,expression,index);},down:function(element,expression,index){element=$(element);if(arguments.length==1)return element.firstDescendant();return Object.isNumber(expression)?element.descendants()[expression]:Element.select(element,expression)[index||0];},previous:function(element,expression,index){element=$(element);if(arguments.length==1)return $(Selector.handlers.previousElementSibling(element));var previousSiblings=element.previousSiblings();return Object.isNumber(expression)?previousSiblings[expression]:Selector.findElement(previousSiblings,expression,index);},next:function(element,expression,index){element=$(element);if(arguments.length==1)return $(Selector.handlers.nextElementSibling(element));var nextSiblings=element.nextSiblings();return Object.isNumber(expression)?nextSiblings[expression]:Selector.findElement(nextSiblings,expression,index);},select:function(){var args=$A(arguments),element=$(args.shift());return Selector.findChildElements(element,args);},adjacent:function(){var args=$A(arguments),element=$(args.shift());return Selector.findChildElements(element.parentNode,args).without(element);},identify:function(element){element=$(element);var id=element.readAttribute('id'),self=arguments.callee;if(id)return id;do{id='anonymous_element_'+self.counter++}while($(id));element.writeAttribute('id',id);return id;},readAttribute:function(element,name){element=$(element);var t=Element._attributeTranslations.read;if(t.names[name])name=t.names[name];if(Prototype.Browser.IE){var tagName=element.tagName.toUpperCase();if(tagName=='FORM'&&!/^((child|parent)Node|(next|previous)Sibling)$/.test(name)&&element.children[name]){element=$(element.cloneNode(false));}
if(tagName=='IFRAME'&&name=='type')
return element.getAttribute(name,1);if(t.values[name])
return t.values[name](element,name);if(name.include(':')){return(!element.attributes||!element.attributes[name])?null:element.attributes[name].value;}}else if(t.values[name])return t.values[name](element,name);return element.getAttribute(name);},writeAttribute:function(element,name,value){element=$(element);var attributes={},t=Element._attributeTranslations.write;if(typeof name=='object')attributes=name;else attributes[name]=Object.isUndefined(value)?true:value;for(var attr in attributes){name=t.names[attr]||attr;value=attributes[attr];if(t.values[name])name=t.values[name](element,value);if(value===false||value===null)
element.removeAttribute(name);else if(value===true)
element.setAttribute(name,name);else element.setAttribute(name,value);}
return element;},getHeight:function(element){return $(element).getDimensions().height;},getWidth:function(element){return $(element).getDimensions().width;},classNames:function(element){return new Element.ClassNames(element);},hasClassName:function(element,className){if(!(element=$(element)))return;var elementClassName=element.className;return(elementClassName.length>0&&(elementClassName==className||new RegExp("(^|\\s)"+className+"(\\s|$)").test(elementClassName)));},addClassName:function(element,className){if(!(element=$(element)))return;if(!element.hasClassName(className))
element.className+=(element.className?' ':'')+className;return element;},removeClassName:function(element,className){if(!(element=$(element)))return;element.className=element.className.replace(new RegExp("(^|\\s+)"+className+"(\\s+|$)"),' ').strip();return element;},toggleClassName:function(element,className){if(!(element=$(element)))return;return element[element.hasClassName(className)?'removeClassName':'addClassName'](className);},cleanWhitespace:function(element){element=$(element);var node=element.firstChild;while(node){var nextNode=node.nextSibling;if(node.nodeType==3&&!/\S/.test(node.nodeValue))
element.removeChild(node);node=nextNode;}
return element;},empty:function(element){return $(element).innerHTML.blank();},descendantOf:function(element,ancestor){element=$(element),ancestor=$(ancestor);if(element.compareDocumentPosition)
return(element.compareDocumentPosition(ancestor)&8)===8;if(ancestor.contains)
return ancestor.contains(element)&&ancestor!==element;while(element=element.parentNode)
if(element==ancestor)return true;return false;},scrollTo:function(element){element=$(element);var pos=element.cumulativeOffset();window.scrollTo(pos[0],pos[1]);return element;},getStyle:function(element,style){element=$(element);style=style=='float'?'cssFloat':style.camelize();var value=element.style[style];if(!value||value=='auto'){var css=document.defaultView.getComputedStyle(element,null);value=css?css[style]:null;}
if(style=='opacity')return value?parseFloat(value):1.0;return value=='auto'?null:value;},getOpacity:function(element){return $(element).getStyle('opacity');},setStyle:function(element,styles){element=$(element);var elementStyle=element.style,match;if(Object.isString(styles)){element.style.cssText+=';'+styles;return styles.include('opacity')?element.setOpacity(styles.match(/opacity:\s*(\d?\.?\d*)/)[1]):element;}
for(var property in styles)
if(property=='opacity')element.setOpacity(styles[property]);else
elementStyle[(property=='float'||property=='cssFloat')?(Object.isUndefined(elementStyle.styleFloat)?'cssFloat':'styleFloat'):property]=styles[property];return element;},setOpacity:function(element,value){element=$(element);element.style.opacity=(value==1||value==='')?'':(value<0.00001)?0:value;return element;},getDimensions:function(element){element=$(element);var display=element.getStyle('display'),dimensions={width:element.offsetWidth,height:element.offsetHeight};if(display==="none"||display===null||dimensions.width===0||dimensions.height===0){var els=element.style,originalVisibility=els.visibility,originalPosition=els.position,originalDisplay=els.display;els.visibility='hidden';els.position='absolute';els.display='block';dimensions={width:element.offsetWidth,height:element.offsetHeight};els.display=originalDisplay;els.position=originalPosition;els.visibility=originalVisibility;}
return dimensions;},makePositioned:function(element){element=$(element);var pos=Element.getStyle(element,'position');if(pos=='static'||!pos){element._madePositioned=true;element.style.position='relative';if(Prototype.Browser.Opera){element.style.top=0;element.style.left=0;}}
return element;},undoPositioned:function(element){element=$(element);if(element._madePositioned){element._madePositioned=undefined;element.style.position=element.style.top=element.style.left=element.style.bottom=element.style.right='';}
return element;},makeClipping:function(element){element=$(element);if(element._overflow)return element;element._overflow=Element.getStyle(element,'overflow')||'auto';if(element._overflow!=='hidden')
element.style.overflow='hidden';return element;},undoClipping:function(element){element=$(element);if(!element._overflow)return element;element.style.overflow=element._overflow=='auto'?'':element._overflow;element._overflow=null;return element;},absolutize:function(element){element=$(element);if(Element.getStyle(element,'position')=='absolute')return element;var offsets=Element.positionedOffset(element),dimensions=Element.getDimensions(element),top=offsets.top,left=offsets.left,width=dimensions.width,height=dimensions.height;Object.extend(element,{_originalLeft:left-parseFloat(element.style.left||0),_originalTop:top-parseFloat(element.style.top||0),_originalWidth:Element.getStyle(element,'width'),_originalHeight:Element.getStyle(element,'height'),_originalMarginTop:Element.getStyle(element,'marginTop'),_originalMarginLeft:Element.getStyle(element,'marginLeft')});Element.setStyle(element,{position:'absolute',top:top+'px',left:left+'px',width:width+'px',height:height+'px',marginTop:'0px',marginLeft:'0px'});return element;},relativize:function(element){element=$(element);if(Element.getStyle(element,'position')==='relative')
return element;if(!element._originalTop){var isBuggy=element.outerHTML&&element.innerHTML.blank();if(isBuggy)element.innerHTML='\x00';Object.extend(element,{_originalTop:element.offsetTop||0,_originalLeft:element.offsetLeft||0,_originalWidth:Element.getStyle(element,'width'),_originalHeight:Element.getStyle(element,'height'),_originalMarginTop:Element.getStyle(element,'marginTop'),_originalMarginLeft:Element.getStyle(element,'marginLeft')});if(isBuggy)element.innerHTML='';}
Element.setStyle(element,{position:'relative',width:element._originalWidth,height:element._originalHeight,marginTop:element._originalMarginTop,marginLeft:element._originalMarginLeft});var offsets=element.positionedOffset(),top=element._originalTop-offsets.top,left=element._originalLeft-offsets.left;var isAuto=/^(auto|)$/;if(!isAuto.test(element.style.top))top+=element._originalTop;if(!isAuto.test(element.style.left))left+=element._originalLeft;Element.setStyle(element,{top:top+'px',left:left+'px'});return element;},getOffsetParent:function(element){element=$(element);if(element.sourceIndex<1)return $(document.body);var op=element.offsetParent,docElement=document.documentElement;if(op&&op!==docElement&&Element.getStyle(op,'position')!=='static'){return $(op);}
while((element=element.parentNode)&&element!==docElement&&element!==document){if(Element.getStyle(element,'position')!=='static')
return $(element);}
return $(document.body);}};Object.extend(Element.Methods,(function(){function getNumericStyle(element,style){return parseFloat(Element.getStyle(element,style))||0;}
function getOffsetParent(element){var op=Element.getOffsetParent(element);if(op===document.body&&(element.sourceIndex<1||!element.offsetParent||element.offsetParent===document.documentElement)){return false;}
if(element.sourceIndex>0&&element.offsetParent===document.documentElement){return element.offsetParent;}
return op;}
function cloneDimension(element,source,dimension){var style={},properties;if(dimension==='height'){properties=$w('borderTopWidth marginTop paddingTop '+'borderBottomWidth marginBottom paddingBottom');}else{properties=$w('borderLeftWidth marginLeft paddingLeft '+'borderRightWidth marginRight paddingRight');}
style[dimension]=Element.getDimensions(source)[dimension];for(var i=0,property,value;property=properties[i];i++){if(property.include('margin')){value=getNumericStyle(element,property);style[property]=value+(getNumericStyle(source,property)-
value)+'px';}else{value=getNumericStyle(source,property);style[property]=value+'px';style[dimension]-=value;}}
style[dimension]+='px';Element.setStyle(element,style);}
return{cumulativeScrollOffset:function(element){element=$(element);var valueT=0,valueL=0,end=document;if(Prototype.Browser.Opera&&parseFloat(window.opera.version())<9.5&&element!==document.body){end=document.documentElement;}
if(Element.getStyle(element,'position')!=='fixed'){while((element=element.parentNode)&&element.nodeType===1&&element!==end){if(Element.getStyle(element,'position')==='fixed')break;valueT+=element.scrollTop||0;valueL+=element.scrollLeft||0;}}
return Element._returnOffset(valueL,valueT);},cumulativeOffset:function(element){element=$(element);var valueT=0,valueL=0;do{valueT+=element.offsetTop||0;valueL+=element.offsetLeft||0;}while(element=getOffsetParent(element));return Element._returnOffset(valueL,valueT);},positionedOffset:function(element){element=$(element);var valueT=0,valueL=0;do{valueT+=element.offsetTop||0;valueL+=element.offsetLeft||0;element=getOffsetParent(element);}while(element&&element!==document.body&&Element.getStyle(element,'position')==='static');return Element._returnOffset(valueL,valueT);},viewportOffset:function(forElement){forElement=$(forElement);var op,element=forElement,valueT=0,valueL=0;do{valueT+=element.offsetTop||0;valueL+=element.offsetLeft||0;op=getOffsetParent(element);if(op===document.body&&Element.getStyle(element,'position')==='absolute')break;}while(element=op);var scrollOffset=Element.cumulativeScrollOffset(forElement);valueT-=scrollOffset.top;valueL-=scrollOffset.left;return Element._returnOffset(valueL,valueT);},clonePosition:function(element,source){element=$(element);source=$(source);var options=Object.extend({setLeft:true,setTop:true,setWidth:true,setHeight:true,offsetTop:0,offsetLeft:0},arguments[2]||{});var parent,delta=[0,0];if(Element.getStyle(element,'position')=='absolute'){parent=Element.getOffsetParent(element);delta=Element.viewportOffset(parent);}
if(parent==document.body){delta[0]-=document.body.offsetLeft;delta[1]-=document.body.offsetTop;}
var p=Element.viewportOffset(source);if(options.setWidth)cloneDimension(element,source,'width');if(options.setHeight)cloneDimension(element,source,'height');if(options.setLeft)
element.style.left=(p[0]-delta[0]+options.offsetLeft+'px');if(options.setTop)
element.style.top=(p[1]-delta[1]+options.offsetTop+'px');return element;}};})());Element.Methods.identify.counter=1;Object.extend(Element.Methods,{getElementsBySelector:Element.Methods.select,childElements:Element.Methods.immediateDescendants});Element._attributeTranslations={write:{names:{className:'class',htmlFor:'for'},values:{}},read:{names:{},values:{_flag:function(element,attribute){return $(element).hasAttribute(attribute)?attribute:null;}}}};(function(v){Object.extend(v,{disabled:v._flag,checked:v._flag,readonly:v._flag,multiple:v._flag});})(Element._attributeTranslations.read.values);if(Prototype.Browser.Opera){Element.Methods.getStyle=Element.Methods.getStyle.wrap(function(proceed,element,style){switch(style){case'left':case'top':case'right':case'bottom':if(proceed(element,'position')==='static')return null;case'height':case'width':if(!Element.visible(element))return null;var dim=parseInt(proceed(element,style),10);if(dim!==element['offset'+style.capitalize()])
return dim+'px';var properties;if(style==='height'){properties=['border-top-width','padding-top','padding-bottom','border-bottom-width'];}
else{properties=['border-left-width','padding-left','padding-right','border-right-width'];}
return properties.inject(dim,function(memo,property){var val=proceed(element,property);return val===null?memo:memo-parseInt(val,10);})+'px';default:return proceed(element,style);}});Element.Methods.readAttribute=Element.Methods.readAttribute.wrap(function(proceed,element,attribute){if(attribute==='title')return $(element).title;return proceed(element,attribute);});}
else if(Prototype.Browser.IE){$w('positionedOffset viewportOffset').each(function(method){Element.Methods[method]=Element.Methods[method].wrap(function(proceed,element){element=$(element);var position=Element.getStyle(element,'position');if(position!=='static')return proceed(element);var offsetParent=Element.getOffsetParent(element),style={position:'relative'};if(Element.getStyle(offsetParent,'position')==='fixed'&&!offsetParent.currentStyle.hasLayout)
style.zoom='1';Element.setStyle(element,style);var value=proceed(element);element.style.position=position;return value;});});Element.Methods.getStyle=function(element,style){element=$(element);style=(style=='float'||style=='cssFloat')?'styleFloat':style.camelize();var value=element.style[style];if(!value&&element.currentStyle)value=element.currentStyle[style];if(style=='opacity'){if(value=(element.getStyle('filter')||'').match(/alpha\(opacity=(.*)\)/))
if(value[1])return parseFloat(value[1])/100;return 1.0;}
if(value=='auto'){if((style=='width'||style=='height')&&(element.getStyle('display')!='none'))
return element['offset'+style.capitalize()]+'px';return null;}
return value;};Element.Methods.setOpacity=function(element,value){function stripAlpha(filter){return filter.replace(/alpha\([^\)]*\)/gi,'');}
element=$(element);var currentStyle=element.currentStyle;if((currentStyle&&!currentStyle.hasLayout)||(!currentStyle&&element.style.zoom=='normal'))
element.style.zoom=1;var filter=element.getStyle('filter'),style=element.style;if(value==1||value===''){(filter=stripAlpha(filter))?style.filter=filter:style.removeAttribute('filter');return element;}else if(value<0.00001)value=0;style.filter=stripAlpha(filter)+'alpha(opacity='+(value*100)+')';return element;};(function(t){t.has={};t.write.names={};$w('cellPadding cellSpacing colSpan rowSpan vAlign dateTime accessKey '+'tabIndex encType maxLength readOnly longDesc frameBorder').each(function(attr){var lower=attr.toLowerCase();t.has[lower]=attr;t.read.names[lower]=attr;t.write.names[lower]=attr;});[t.write.names,t.read.names].each(function(n){Object.extend(n,{'class':'className','for':'htmlFor'});});})(Element._attributeTranslations);Object.extend(Element._attributeTranslations.read.values,{_getAttr:function(element,attribute){return element.getAttribute(attribute,2);},_getAttrNode:function(element,attribute){var node=element.getAttributeNode(attribute);return node?node.value:"";},_getEv:function(element,attribute){attribute=element.getAttribute(attribute);return attribute?attribute.toString().slice(23,-2):null;},style:function(element){return element.style.cssText.toLowerCase();},title:function(element){return element.title;}});Object.extend(Element._attributeTranslations.write.values,{checked:function(element,value){element.checked=!!value;},encType:function(element,value){element.getAttributeNode('encType').value=value;},style:function(element,value){element.style.cssText=value?value:'';}});(function(v){delete v.readonly;Object.extend(v,{href:v._getAttr,src:v._getAttr,type:v._getAttr,action:v._getAttrNode,onload:v._getEv,onunload:v._getEv,onclick:v._getEv,ondblclick:v._getEv,onmousedown:v._getEv,onmouseup:v._getEv,onmouseover:v._getEv,onmousemove:v._getEv,onmouseout:v._getEv,onfocus:v._getEv,onblur:v._getEv,onkeypress:v._getEv,onkeydown:v._getEv,onkeyup:v._getEv,onsubmit:v._getEv,onreset:v._getEv,onselect:v._getEv,onchange:v._getEv,readOnly:v._flag.wrap(function(proceed,element,attribute){attribute=proceed(element,attribute);return attribute?'readonly':null;})});})(Element._attributeTranslations.read.values);}
else if(Prototype.Browser.Gecko&&/rv:1\.8\.0/.test(navigator.userAgent)){Element.Methods.setOpacity=function(element,value){element=$(element);element.style.opacity=(value==1)?0.999999:(value==='')?'':(value<0.00001)?0:value;return element;};}
else if(Prototype.Browser.WebKit){Element.Methods.setOpacity=function(element,value){element=$(element);element.style.opacity=(value==1||value==='')?'':(value<0.00001)?0:value;if(value==1)
if(element.tagName.toUpperCase()=='IMG'&&element.width){element.width++;element.width--;}else try{var n=document.createTextNode(' ');element.appendChild(n);element.removeChild(n);}catch(e){}
return element;};Element.Methods.cumulativeOffset=function(element){element=$(element);var valueT=0,valueL=0;do{valueT+=element.offsetTop||0;valueL+=element.offsetLeft||0;if(element.offsetParent==document.body)
if(Element.getStyle(element,'position')=='absolute')break;element=element.offsetParent;}while(element);return Element._returnOffset(valueL,valueT);};}
if(Prototype.Browser.IE||Prototype.Browser.Opera){Element.Methods.update=function(element,content){element=$(element);if(content&&content.toElement)content=content.toElement();if(Object.isElement(content))return element.update().insert(content);content=Object.toHTML(content);var tagName=element.tagName.toUpperCase();if(tagName in Element._insertionTranslations.tags){$A(element.childNodes).each(function(node){element.removeChild(node)});Element._getContentFromAnonymousElement(tagName,content.stripScripts()).each(function(node){element.appendChild(node)});}
else element.innerHTML=content.stripScripts();content.evalScripts.bind(content).defer();return element;};}
if(Prototype.Browser.IE){Element.Methods.update=Element.Methods.update.wrap(function(proceed,element,contents){Element.select(element,'*').each(Event.stopObserving);return proceed(element,contents);});}
if('outerHTML'in document.createElement('div')){Element.Methods.replace=function(element,content){element=$(element);if(content&&content.toElement)content=content.toElement();if(Object.isElement(content)){element.parentNode.replaceChild(content,element);return element;}
content=Object.toHTML(content);var parent=element.parentNode,tagName=parent.tagName.toUpperCase();if(Element._insertionTranslations.tags[tagName]||Prototype.Browser.IE){var nextSibling=element.next();var fragments=Element._getContentFromAnonymousElement(tagName,content.stripScripts());parent.removeChild(element);if(nextSibling)
fragments.each(function(node){parent.insertBefore(node,nextSibling)});else
fragments.each(function(node){parent.appendChild(node)});}
else element.outerHTML=content.stripScripts();content.evalScripts.bind(content).defer();return element;};}
Element._returnOffset=function(l,t){var result=[l,t];result.left=l;result.top=t;return result;};Element._getContentFromAnonymousElement=function(tagName,html){var div=new Element('div'),t=Element._insertionTranslations.tags[tagName];if(t){div.innerHTML=t[0]+html+t[1];t[2].times(function(){div=div.firstChild});}else div.innerHTML=html;return $A(div.childNodes);};Element._insertionTranslations={before:function(element,node){element.parentNode.insertBefore(node,element);},top:function(element,node){element.insertBefore(node,element.firstChild);},bottom:function(element,node){element.appendChild(node);},after:function(element,node){element.parentNode.insertBefore(node,element.nextSibling);},tags:{TABLE:['<table>','</table>',1],TBODY:['<table><tbody>','</tbody></table>',2],TR:['<table><tbody><tr>','</tr></tbody></table>',3],TD:['<table><tbody><tr><td>','</td></tr></tbody></table>',4],SELECT:['<select>','</select>',1]}};(function(){Object.extend(this.tags,{THEAD:this.tags.TBODY,TFOOT:this.tags.TBODY,TH:this.tags.TD});}).call(Element._insertionTranslations);Element.Methods.Simulated={hasAttribute:function(element,attribute){attribute=Element._attributeTranslations.has[attribute]||attribute;var node=element.getAttributeNode(attribute);return!!(node&&node.specified);}};Element.Methods.ByTag={};Object.extend(Element,Element.Methods);if(!Prototype.BrowserFeatures.ElementExtensions&&document.createElement('div')['__proto__']){window.HTMLElement={};window.HTMLElement.prototype=document.createElement('div')['__proto__'];Prototype.BrowserFeatures.ElementExtensions=true;}
Element.extend=(function(){if(Prototype.BrowserFeatures.SpecificElementExtensions)
return Prototype.K;var Methods={},ByTag=Element.Methods.ByTag;var extend=Object.extend(function(element){if(!element||element._extendedByPrototype||element.nodeType!=1||element===window)return element;if(!(element.ownerDocument||element).body)return element;var methods=Object.clone(Methods),tagName=element.tagName.toUpperCase(),property,value;if(ByTag[tagName])Object.extend(methods,ByTag[tagName]);for(property in methods){value=methods[property];if(Object.isFunction(value)&&!(property in element))
element[property]=value.methodize();}
element._extendedByPrototype=Prototype.emptyFunction;return element;},{refresh:function(){if(!Prototype.BrowserFeatures.ElementExtensions){Object.extend(Methods,Element.Methods);Object.extend(Methods,Element.Methods.Simulated);}}});extend.refresh();return extend;})();Element.hasAttribute=function(element,attribute){if(element.hasAttribute)return element.hasAttribute(attribute);return Element.Methods.Simulated.hasAttribute(element,attribute);};Element.addMethods=function(methods){var F=Prototype.BrowserFeatures,T=Element.Methods.ByTag;if(!methods){Object.extend(Form,Form.Methods);Object.extend(Form.Element,Form.Element.Methods);Object.extend(Element.Methods.ByTag,{"BUTTON":Object.clone(Form.Element.Methods),"FORM":Object.clone(Form.Methods),"INPUT":Object.clone(Form.Element.Methods),"SELECT":Object.clone(Form.Element.Methods),"TEXTAREA":Object.clone(Form.Element.Methods)});}
if(arguments.length==2){var tagName=methods;methods=arguments[1];}
if(!tagName)Object.extend(Element.Methods,methods||{});else{if(Object.isArray(tagName))tagName.each(extend);else extend(tagName);}
function extend(tagName){tagName=tagName.toUpperCase();if(!Element.Methods.ByTag[tagName])
Element.Methods.ByTag[tagName]={};Object.extend(Element.Methods.ByTag[tagName],methods);}
function copy(methods,destination,onlyIfAbsent){onlyIfAbsent=onlyIfAbsent||false;for(var property in methods){var value=methods[property];if(!Object.isFunction(value))continue;if(!onlyIfAbsent||!(property in destination))
destination[property]=value.methodize();}}
function findDOMClass(tagName){var klass;var trans={"OPTGROUP":"OptGroup","TEXTAREA":"TextArea","P":"Paragraph","FIELDSET":"FieldSet","UL":"UList","OL":"OList","DL":"DList","DIR":"Directory","H1":"Heading","H2":"Heading","H3":"Heading","H4":"Heading","H5":"Heading","H6":"Heading","Q":"Quote","INS":"Mod","DEL":"Mod","A":"Anchor","IMG":"Image","CAPTION":"TableCaption","COL":"TableCol","COLGROUP":"TableCol","THEAD":"TableSection","TFOOT":"TableSection","TBODY":"TableSection","TR":"TableRow","TH":"TableCell","TD":"TableCell","FRAMESET":"FrameSet","IFRAME":"IFrame"};if(trans[tagName])klass='HTML'+trans[tagName]+'Element';if(window[klass])return window[klass];klass='HTML'+tagName+'Element';if(window[klass])return window[klass];klass='HTML'+tagName.capitalize()+'Element';if(window[klass])return window[klass];window[klass]={};window[klass].prototype=document.createElement(tagName)['__proto__'];return window[klass];}
if(F.ElementExtensions){copy(Element.Methods,HTMLElement.prototype);copy(Element.Methods.Simulated,HTMLElement.prototype,true);}
if(F.SpecificElementExtensions){for(var tag in Element.Methods.ByTag){var klass=findDOMClass(tag);if(Object.isUndefined(klass))continue;copy(T[tag],klass.prototype);}}
Object.extend(Element,Element.Methods);delete Element.ByTag;if(Element.extend.refresh)Element.extend.refresh();Element.cache={};};document.viewport={getDimensions:function(){var dimensions={},B=Prototype.Browser;$w('width height').each(function(d){var D=d.capitalize();if(B.WebKit&&!document.evaluate){dimensions[d]=self['inner'+D];}else if(B.Opera&&parseFloat(window.opera.version())<9.5){dimensions[d]=document.body['client'+D]}else{dimensions[d]=document.documentElement['client'+D];}});return dimensions;},getWidth:function(){return this.getDimensions().width;},getHeight:function(){return this.getDimensions().height;},getScrollOffsets:function(){return Element._returnOffset(window.pageXOffset||document.documentElement.scrollLeft||document.body.scrollLeft,window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop);}};var Selector=Class.create({initialize:function(expression){this.expression=expression.strip();if(this.shouldUseSelectorsAPI()){this.mode='selectorsAPI';}else if(this.shouldUseXPath()){this.mode='xpath';this.compileXPathMatcher();}else{this.mode="normal";this.compileMatcher();}},shouldUseXPath:function(){if(!Prototype.BrowserFeatures.XPath)return false;var e=this.expression;if(Prototype.Browser.Opera&&parseFloat(window.opera.version())===9.5)
return false;if(Prototype.Browser.WebKit&&(e.include("-of-type")||e.include(":empty")))
return false;if((/(\[[\w-]*?:|:checked)/).test(e))
return false;return true;},shouldUseSelectorsAPI:function(){if(!Prototype.BrowserFeatures.SelectorsAPI)return false;if(!Selector._div)Selector._div=new Element('div');try{Selector._div.querySelector(this.expression);}catch(e){return false;}
return true;},compileMatcher:function(){var e=this.expression,ps=Selector.patterns,h=Selector.handlers,c=Selector.criteria,le,p,m;if(Selector._cache[e]){this.matcher=Selector._cache[e];return;}
this.matcher=["this.matcher = function(root) {","var r = root, h = Selector.handlers, c = false, n;"];while(e&&le!=e&&(/\S/).test(e)){le=e;for(var i in ps){p=ps[i];if(m=e.match(p)){this.matcher.push(Object.isFunction(c[i])?c[i](m):new Template(c[i]).evaluate(m));e=e.replace(m[0],'');break;}}}
this.matcher.push("return h.unique(n);\n}");eval(this.matcher.join('\n'));Selector._cache[this.expression]=this.matcher;},compileXPathMatcher:function(){var e=this.expression,ps=Selector.patterns,x=Selector.xpath,le,m;if(Selector._cache[e]){this.xpath=Selector._cache[e];return;}
this.matcher=['.//*'];while(e&&le!=e&&(/\S/).test(e)){le=e;for(var i in ps){if(m=e.match(ps[i])){this.matcher.push(Object.isFunction(x[i])?x[i](m):new Template(x[i]).evaluate(m));e=e.replace(m[0],'');break;}}}
this.xpath=this.matcher.join('');Selector._cache[this.expression]=this.xpath;},findElements:function(root){root=root||document;var e=this.expression,results;switch(this.mode){case'selectorsAPI':if(root!==document){var oldId=root.id,id=$(root).identify();e="#"+id+" "+e;}
results=$A(root.querySelectorAll(e)).map(Element.extend);root.id=oldId;return results;case'xpath':return document._getElementsByXPath(this.xpath,root);default:return this.matcher(root);}},match:function(element){this.tokens=[];var e=this.expression,ps=Selector.patterns,as=Selector.assertions;var le,p,m;while(e&&le!==e&&(/\S/).test(e)){le=e;for(var i in ps){p=ps[i];if(m=e.match(p)){if(as[i]){this.tokens.push([i,Object.clone(m)]);e=e.replace(m[0],'');}else{return this.findElements(document).include(element);}}}}
var match=true,name,matches;for(var i=0,token;token=this.tokens[i];i++){name=token[0],matches=token[1];if(!Selector.assertions[name](element,matches)){match=false;break;}}
return match;},toString:function(){return this.expression;},inspect:function(){return"#<Selector:"+this.expression.inspect()+">";}});Object.extend(Selector,{_cache:{},xpath:{descendant:"//*",child:"/*",adjacent:"/following-sibling::*[1]",laterSibling:'/following-sibling::*',tagName:function(m){if(m[1]=='*')return'';return"[local-name()='"+m[1].toLowerCase()+"' or local-name()='"+m[1].toUpperCase()+"']";},className:"[contains(concat(' ', @class, ' '), ' #{1} ')]",id:"[@id='#{1}']",attrPresence:function(m){m[1]=m[1].toLowerCase();return new Template("[@#{1}]").evaluate(m);},attr:function(m){m[1]=m[1].toLowerCase();m[3]=m[5]||m[6];return new Template(Selector.xpath.operators[m[2]]).evaluate(m);},pseudo:function(m){var h=Selector.xpath.pseudos[m[1]];if(!h)return'';if(Object.isFunction(h))return h(m);return new Template(Selector.xpath.pseudos[m[1]]).evaluate(m);},operators:{'=':"[@#{1}='#{3}']",'!=':"[@#{1}!='#{3}']",'^=':"[starts-with(@#{1}, '#{3}')]",'$=':"[substring(@#{1}, (string-length(@#{1}) - string-length('#{3}') + 1))='#{3}']",'*=':"[contains(@#{1}, '#{3}')]",'~=':"[contains(concat(' ', @#{1}, ' '), ' #{3} ')]",'|=':"[contains(concat('-', @#{1}, '-'), '-#{3}-')]"},pseudos:{'first-child':'[not(preceding-sibling::*)]','last-child':'[not(following-sibling::*)]','only-child':'[not(preceding-sibling::* or following-sibling::*)]','empty':"[count(*) = 0 and (count(text()) = 0)]",'checked':"[@checked]",'disabled':"[(@disabled) and (@type!='hidden')]",'enabled':"[not(@disabled) and (@type!='hidden')]",'not':function(m){var e=m[6],p=Selector.patterns,x=Selector.xpath,le,v;var exclusion=[];while(e&&le!=e&&(/\S/).test(e)){le=e;for(var i in p){if(m=e.match(p[i])){v=Object.isFunction(x[i])?x[i](m):new Template(x[i]).evaluate(m);exclusion.push("("+v.substring(1,v.length-1)+")");e=e.replace(m[0],'');break;}}}
return"[not("+exclusion.join(" and ")+")]";},'nth-child':function(m){return Selector.xpath.pseudos.nth("(count(./preceding-sibling::*) + 1) ",m);},'nth-last-child':function(m){return Selector.xpath.pseudos.nth("(count(./following-sibling::*) + 1) ",m);},'nth-of-type':function(m){return Selector.xpath.pseudos.nth("position() ",m);},'nth-last-of-type':function(m){return Selector.xpath.pseudos.nth("(last() + 1 - position()) ",m);},'first-of-type':function(m){m[6]="1";return Selector.xpath.pseudos['nth-of-type'](m);},'last-of-type':function(m){m[6]="1";return Selector.xpath.pseudos['nth-last-of-type'](m);},'only-of-type':function(m){var p=Selector.xpath.pseudos;return p['first-of-type'](m)+p['last-of-type'](m);},nth:function(fragment,m){var mm,formula=m[6],predicate;if(formula=='even')formula='2n+0';if(formula=='odd')formula='2n+1';if(mm=formula.match(/^(\d+)$/))
return'['+fragment+"= "+mm[1]+']';if(mm=formula.match(/^(-?\d*)?n(([+-])(\d+))?/)){if(mm[1]=="-")mm[1]=-1;var a=mm[1]?Number(mm[1]):1;var b=mm[2]?Number(mm[2]):0;predicate="[((#{fragment} - #{b}) mod #{a} = 0) and "+"((#{fragment} - #{b}) div #{a} >= 0)]";return new Template(predicate).evaluate({fragment:fragment,a:a,b:b});}}}},criteria:{tagName:'n = h.tagName(n, r, "#{1}", c);      c = false;',className:'n = h.className(n, r, "#{1}", c);    c = false;',id:'n = h.id(n, r, "#{1}", c);           c = false;',attrPresence:'n = h.attrPresence(n, r, "#{1}", c); c = false;',attr:function(m){m[3]=(m[5]||m[6]);return new Template('n = h.attr(n, r, "#{1}", "#{3}", "#{2}", c); c = false;').evaluate(m);},pseudo:function(m){if(m[6])m[6]=m[6].replace(/"/g,'\\"');return new Template('n = h.pseudo(n, "#{1}", "#{6}", r, c); c = false;').evaluate(m);},descendant:'c = "descendant";',child:'c = "child";',adjacent:'c = "adjacent";',laterSibling:'c = "laterSibling";'},patterns:{laterSibling:/^\s*~\s*/,child:/^\s*>\s*/,adjacent:/^\s*\+\s*/,descendant:/^\s/,tagName:/^\s*(\*|[\w\-]+)(\b|$)?/,id:/^#([\w\-\*]+)(\b|$)/,className:/^\.([\w\-\*]+)(\b|$)/,pseudo:/^:((first|last|nth|nth-last|only)(-child|-of-type)|empty|checked|(en|dis)abled|not)(\((.*?)\))?(\b|$|(?=\s|[:+~>]))/,attrPresence:/^\[((?:[\w]+:)?[\w]+)\]/,attr:/\[((?:[\w-]*:)?[\w-]+)\s*(?:([!^$*~|]?=)\s*((['"])([^\4]*?)\4|([^'"][^\]]*?)))?\]/},assertions:{tagName:function(element,matches){return matches[1].toUpperCase()==element.tagName.toUpperCase();},className:function(element,matches){return Element.hasClassName(element,matches[1]);},id:function(element,matches){return element.id===matches[1];},attrPresence:function(element,matches){return Element.hasAttribute(element,matches[1]);},attr:function(element,matches){var nodeValue=Element.readAttribute(element,matches[1]);return nodeValue&&Selector.operators[matches[2]](nodeValue,matches[5]||matches[6]);}},handlers:{concat:function(a,b){for(var i=0,node;node=b[i];i++)
a.push(node);return a;},mark:function(nodes){var _true=Prototype.emptyFunction;for(var i=0,node;node=nodes[i];i++)
node._countedByPrototype=_true;return nodes;},unmark:function(nodes){for(var i=0,node;node=nodes[i];i++)
node._countedByPrototype=undefined;return nodes;},index:function(parentNode,reverse,ofType){parentNode._countedByPrototype=Prototype.emptyFunction;if(reverse){for(var nodes=parentNode.childNodes,i=nodes.length-1,j=1;i>=0;i--){var node=nodes[i];if(node.nodeType==1&&(!ofType||node._countedByPrototype))node.nodeIndex=j++;}}else{for(var i=0,j=1,nodes=parentNode.childNodes;node=nodes[i];i++)
if(node.nodeType==1&&(!ofType||node._countedByPrototype))node.nodeIndex=j++;}},unique:function(nodes){if(nodes.length==0)return nodes;var results=[],n;for(var i=0,l=nodes.length;i<l;i++)
if(!(n=nodes[i])._countedByPrototype){n._countedByPrototype=Prototype.emptyFunction;results.push(Element.extend(n));}
return Selector.handlers.unmark(results);},descendant:function(nodes){var h=Selector.handlers;for(var i=0,results=[],node;node=nodes[i];i++)
h.concat(results,node.getElementsByTagName('*'));return results;},child:function(nodes){var h=Selector.handlers;for(var i=0,results=[],node;node=nodes[i];i++){for(var j=0,child;child=node.childNodes[j];j++)
if(child.nodeType==1&&child.tagName!='!')results.push(child);}
return results;},adjacent:function(nodes){for(var i=0,results=[],node;node=nodes[i];i++){var next=this.nextElementSibling(node);if(next)results.push(next);}
return results;},laterSibling:function(nodes){var h=Selector.handlers;for(var i=0,results=[],node;node=nodes[i];i++)
h.concat(results,Element.nextSiblings(node));return results;},nextElementSibling:function(node){while(node=node.nextSibling)
if(node.nodeType==1)return node;return null;},previousElementSibling:function(node){while(node=node.previousSibling)
if(node.nodeType==1)return node;return null;},tagName:function(nodes,root,tagName,combinator){var uTagName=tagName.toUpperCase();var results=[],h=Selector.handlers;if(nodes){if(combinator){if(combinator=="descendant"){for(var i=0,node;node=nodes[i];i++)
h.concat(results,node.getElementsByTagName(tagName));return results;}else nodes=this[combinator](nodes);if(tagName=="*")return nodes;}
for(var i=0,node;node=nodes[i];i++)
if(node.tagName.toUpperCase()===uTagName)results.push(node);return results;}else return root.getElementsByTagName(tagName);},id:function(nodes,root,id,combinator){var targetNode=$(id),h=Selector.handlers;if(!targetNode){var needsToSearch=root===document||root.sourceIndex<1||!Element.descendantOf(root,document.documentElement);if(needsToSearch){var nodes=root.getElementsByTagName('*');for(var i=0,node;node=nodes[i];i++){if(node.id===id){targetNode=node;break;}}if(!targetNode)return[];}else return[];}
if(!nodes&&root===document)return[targetNode];if(nodes){if(combinator){if(combinator=='child'){for(var i=0,node;node=nodes[i];i++)
if(targetNode.parentNode==node)return[targetNode];}else if(combinator=='descendant'){for(var i=0,node;node=nodes[i];i++)
if(Element.descendantOf(targetNode,node))return[targetNode];}else if(combinator=='adjacent'){for(var i=0,node;node=nodes[i];i++)
if(Selector.handlers.previousElementSibling(targetNode)==node)
return[targetNode];}else nodes=h[combinator](nodes);}
for(var i=0,node;node=nodes[i];i++)
if(node==targetNode)return[targetNode];return[];}
return(targetNode&&Element.descendantOf(targetNode,root))?[targetNode]:[];},className:function(nodes,root,className,combinator){if(nodes&&combinator)nodes=this[combinator](nodes);return Selector.handlers.byClassName(nodes,root,className);},byClassName:function(nodes,root,className){if(!nodes)nodes=Selector.handlers.descendant([root]);var needle=' '+className+' ';for(var i=0,results=[],node,nodeClassName;node=nodes[i];i++){nodeClassName=node.className;if(nodeClassName.length==0)continue;if(nodeClassName==className||(' '+nodeClassName+' ').include(needle))
results.push(node);}
return results;},attrPresence:function(nodes,root,attr,combinator){if(!nodes)nodes=root.getElementsByTagName("*");if(nodes&&combinator)nodes=this[combinator](nodes);var results=[];for(var i=0,node;node=nodes[i];i++)
if(Element.hasAttribute(node,attr))results.push(node);return results;},attr:function(nodes,root,attr,value,operator,combinator){if(!nodes)nodes=root.getElementsByTagName("*");if(nodes&&combinator)nodes=this[combinator](nodes);var handler=Selector.operators[operator],results=[];for(var i=0,node;node=nodes[i];i++){var nodeValue=Element.readAttribute(node,attr);if(nodeValue===null)continue;if(handler(nodeValue,value))results.push(node);}
return results;},pseudo:function(nodes,name,value,root,combinator){if(nodes&&combinator)nodes=this[combinator](nodes);if(!nodes)nodes=root.getElementsByTagName("*");return Selector.pseudos[name](nodes,value,root);}},pseudos:{'first-child':function(nodes,value,root){for(var i=0,results=[],node;node=nodes[i];i++){if(Selector.handlers.previousElementSibling(node))continue;results.push(node);}
return results;},'last-child':function(nodes,value,root){for(var i=0,results=[],node;node=nodes[i];i++){if(Selector.handlers.nextElementSibling(node))continue;results.push(node);}
return results;},'only-child':function(nodes,value,root){var h=Selector.handlers;for(var i=0,results=[],node;node=nodes[i];i++)
if(!h.previousElementSibling(node)&&!h.nextElementSibling(node))
results.push(node);return results;},'nth-child':function(nodes,formula,root){return Selector.pseudos.nth(nodes,formula,root);},'nth-last-child':function(nodes,formula,root){return Selector.pseudos.nth(nodes,formula,root,true);},'nth-of-type':function(nodes,formula,root){return Selector.pseudos.nth(nodes,formula,root,false,true);},'nth-last-of-type':function(nodes,formula,root){return Selector.pseudos.nth(nodes,formula,root,true,true);},'first-of-type':function(nodes,formula,root){return Selector.pseudos.nth(nodes,"1",root,false,true);},'last-of-type':function(nodes,formula,root){return Selector.pseudos.nth(nodes,"1",root,true,true);},'only-of-type':function(nodes,formula,root){var p=Selector.pseudos;return p['last-of-type'](p['first-of-type'](nodes,formula,root),formula,root);},getIndices:function(a,b,total){if(a==0)return b>0?[b]:[];return $R(1,total).inject([],function(memo,i){if(0==(i-b)%a&&(i-b)/a>=0)memo.push(i);return memo;});},nth:function(nodes,formula,root,reverse,ofType){if(nodes.length==0)return[];if(formula=='even')formula='2n+0';if(formula=='odd')formula='2n+1';var h=Selector.handlers,results=[],indexed=[],m;h.mark(nodes);for(var i=0,node;node=nodes[i];i++){if(!node.parentNode._countedByPrototype){h.index(node.parentNode,reverse,ofType);indexed.push(node.parentNode);}}
if(formula.match(/^\d+$/)){formula=Number(formula);for(var i=0,node;node=nodes[i];i++)
if(node.nodeIndex==formula)results.push(node);}else if(m=formula.match(/^(-?\d*)?n(([+-])(\d+))?/)){if(m[1]=="-")m[1]=-1;var a=m[1]?Number(m[1]):1;var b=m[2]?Number(m[2]):0;var indices=Selector.pseudos.getIndices(a,b,nodes.length);for(var i=0,node,l=indices.length;node=nodes[i];i++){for(var j=0;j<l;j++)
if(node.nodeIndex==indices[j])results.push(node);}}
h.unmark(nodes);h.unmark(indexed);return results;},'empty':function(nodes,value,root){for(var i=0,results=[],node;node=nodes[i];i++){if(node.tagName=='!'||node.firstChild)continue;results.push(node);}
return results;},'not':function(nodes,selector,root){var h=Selector.handlers,selectorType,m;var exclusions=new Selector(selector).findElements(root);h.mark(exclusions);for(var i=0,results=[],node;node=nodes[i];i++)
if(!node._countedByPrototype)results.push(node);h.unmark(exclusions);return results;},'enabled':function(nodes,value,root){for(var i=0,results=[],node;node=nodes[i];i++)
if(!node.disabled&&(!node.type||node.type!=='hidden'))
results.push(node);return results;},'disabled':function(nodes,value,root){for(var i=0,results=[],node;node=nodes[i];i++)
if(node.disabled)results.push(node);return results;},'checked':function(nodes,value,root){for(var i=0,results=[],node;node=nodes[i];i++)
if(node.checked)results.push(node);return results;}},operators:{'=':function(nv,v){return nv==v;},'!=':function(nv,v){return nv!=v;},'^=':function(nv,v){return nv==v||nv&&nv.startsWith(v);},'$=':function(nv,v){return nv==v||nv&&nv.endsWith(v);},'*=':function(nv,v){return nv==v||nv&&nv.include(v);},'~=':function(nv,v){return(' '+nv+' ').include(' '+v+' ');},'|=':function(nv,v){return('-'+(nv||"").toUpperCase()+'-').include('-'+(v||"").toUpperCase()+'-');}},split:function(expression){var expressions=[];expression.scan(/(([\w#:.~>+()\s-]+|\*|\[.*?\])+)\s*(,|$)/,function(m){expressions.push(m[1].strip());});return expressions;},matchElements:function(elements,expression){var matches=$$(expression),h=Selector.handlers;h.mark(matches);for(var i=0,results=[],element;element=elements[i];i++)
if(element._countedByPrototype)results.push(element);h.unmark(matches);return results;},findElement:function(elements,expression,index){if(Object.isNumber(expression)){index=expression;expression=false;}
return Selector.matchElements(elements,expression||'*')[index||0];},findChildElements:function(element,expressions){expressions=Selector.split(expressions.join(','));var results=[],h=Selector.handlers;for(var i=0,l=expressions.length,selector;i<l;i++){selector=new Selector(expressions[i].strip());h.concat(results,selector.findElements(element));}
return(l>1)?h.unique(results):results;}});if(Prototype.Browser.IE){Object.extend(Selector.handlers,{concat:function(a,b){for(var i=0,node;node=b[i];i++)
if(node.tagName!=="!")a.push(node);return a;},unmark:function(nodes){for(var i=0,node;node=nodes[i];i++)
node.removeAttribute('_countedByPrototype');return nodes;}});}
function $$(){return Selector.findChildElements(document,$A(arguments));}
var Form={reset:function(form){$(form).reset();return form;},serializeElements:function(elements,options){if(typeof options!=='object')options={hash:!!options};else if(Object.isUndefined(options.hash))options.hash=true;var key,value,type,isImageType,isSubmitButton,submitSerialized;var submit=options.submit;var data=elements.inject({},function(result,element){element=$(element);key=element.name;value=element.getValue();type=element.type;isImageType=type==='image';isSubmitButton=type==='submit'||isImageType;if(value===null)return result;if(element.disabled)return result;if(type==='file'||type==='reset')return result;if(isSubmitButton&&(submit===false||submitSerialized||(submit&&!(key===submit||element===submit))))
return result;if(isSubmitButton){submitSerialized=true;if(isImageType){var prefix=key?key+'.':'',x=options.x||0,y=options.y||0;result[prefix+'x']=x;result[prefix+'y']=y;return result;}}else if(!key)return result;if(key in result){if(!Object.isArray(result[key]))result[key]=[result[key]];result[key].push(value);}else result[key]=value;return result;});return options.hash?data:Object.toQueryString(data);}};Form.Methods={serialize:function(form,options){return Form.serializeElements(Form.getElements(form),options);},getElements:function(form){return $A($(form).getElementsByTagName('*')).inject([],function(elements,child){if(Form.Element.Serializers[child.tagName.toLowerCase()])
elements.push(Element.extend(child));return elements;});},getInputs:function(form,typeName,name){form=$(form);var inputs=form.getElementsByTagName('input');if(!typeName&&!name)return $A(inputs).map(Element.extend);for(var i=0,matchingInputs=[],length=inputs.length;i<length;i++){var input=inputs[i];if((typeName&&input.type!=typeName)||(name&&input.name!=name))
continue;matchingInputs.push(Element.extend(input));}
return matchingInputs;},disable:function(form){form=$(form);Form.getElements(form).invoke('disable');return form;},enable:function(form){form=$(form);Form.getElements(form).invoke('enable');return form;},findFirstElement:function(form){var elements=$(form).getElements().findAll(function(element){return'hidden'!=element.type&&!element.disabled;});var firstByIndex=elements.findAll(function(element){return element.hasAttribute('tabIndex')&&element.tabIndex>=0;}).sortBy(function(element){return element.tabIndex}).first();return firstByIndex?firstByIndex:elements.find(function(element){return['button','input','select','textarea'].include(element.tagName.toLowerCase());});},focusFirstElement:function(form){form=$(form);form.findFirstElement().activate();return form;},request:function(form,options){form=$(form),options=Object.clone(options||{});var params=options.parameters,action=form.readAttribute('action')||'';if(action.blank())action=window.location.href;var submit=options.submit;delete options.submit;options.parameters=form.serialize({submit:submit,hash:true});if(params){if(Object.isString(params))params=params.toQueryParams();Object.extend(options.parameters,params);}
if(form.hasAttribute('method')&&!options.method)
options.method=form.method;return new Ajax.Request(action,options);}};Form.Element={focus:function(element){$(element).focus();return element;},select:function(element){$(element).select();return element;}};Form.Element.Methods={serialize:function(element){element=$(element);if(!element.disabled&&element.name){var value=element.getValue();if(value!=undefined){var pair={};pair[element.name]=value;return Object.toQueryString(pair);}}
return'';},getValue:function(element){if(!(element=$(element)))return null;var method=element.tagName.toLowerCase(),s=Form.Element.Serializers;return s[method]?s[method](element):null;},setValue:function(element,value){if(!(element=$(element)))return null;var method=element.tagName.toLowerCase(),s=Form.Element.Serializers;if(s[method])s[method](element,value);return element;},clear:function(element){$(element).value='';return element;},present:function(element){return $(element).value!='';},activate:function(element){element=$(element);try{element.focus();if(element.select&&(element.tagName.toLowerCase()!='input'||!['button','image','reset','submit'].include(element.type)))
element.select();}catch(e){}
return element;},disable:function(element){element=$(element);element.disabled=true;return element;},enable:function(element){element=$(element);element.disabled=false;return element;}};var Field=Form.Element;var $F=Form.Element.Methods.getValue;Form.Element.Serializers={input:function(element,value){switch(element.type.toLowerCase()){case'checkbox':case'radio':return Form.Element.Serializers.inputSelector(element,value);default:return Form.Element.Serializers.textarea(element,value);}},inputSelector:function(element,value){if(Object.isUndefined(value))return element.checked?element.value:null;else element.checked=!!value;},button:function(element,value){if(Object.isUndefined(value))return element.innerHTML;else element.innerHTML=value;},textarea:function(element,value){if(Object.isUndefined(value))return element.value;else element.value=value;},select:function(element,value){if(Object.isUndefined(value))
return this[element.type=='select-one'?'selectOne':'selectMany'](element);else{var opt,currentValue,single=!Object.isArray(value);for(var i=0,length=element.length;i<length;i++){opt=element.options[i];currentValue=this.optionValue(opt);if(single){if(currentValue==value){opt.selected=true;return;}}
else opt.selected=value.include(currentValue);}}},selectOne:function(element){var index=element.selectedIndex;return index>=0?this.optionValue(element.options[index]):null;},selectMany:function(element){var values,length=element.length;if(!length)return null;for(var i=0,values=[];i<length;i++){var opt=element.options[i];if(opt.selected)values.push(this.optionValue(opt));}
return values;},optionValue:function(opt){return Element.extend(opt).hasAttribute('value')?opt.value:opt.text;}};Abstract.TimedObserver=Class.create(PeriodicalExecuter,{initialize:function($super,element,frequency,callback){$super(callback,frequency);this.element=$(element);this.lastValue=this.getValue();},execute:function(){var value=this.getValue();if(Object.isString(this.lastValue)&&Object.isString(value)?this.lastValue!=value:String(this.lastValue)!=String(value)){this.callback(this.element,value);this.lastValue=value;}}});Form.Element.Observer=Class.create(Abstract.TimedObserver,{getValue:function(){return Form.Element.getValue(this.element);}});Form.Observer=Class.create(Abstract.TimedObserver,{getValue:function(){return Form.serialize(this.element);}});Abstract.EventObserver=Class.create({initialize:function(element,callback){this.element=$(element);this.callback=callback;this.lastValue=this.getValue();if(this.element.tagName.toLowerCase()=='form')
this.registerFormCallbacks();else
this.registerCallback(this.element);},onElementEvent:function(){var value=this.getValue();if(this.lastValue!=value){this.callback(this.element,value);this.lastValue=value;}},registerFormCallbacks:function(){Form.getElements(this.element).each(this.registerCallback,this);},registerCallback:function(element){if(element.type){switch(element.type.toLowerCase()){case'checkbox':case'radio':Event.observe(element,'click',this.onElementEvent.bind(this));break;default:Event.observe(element,'change',this.onElementEvent.bind(this));break;}}}});Form.Element.EventObserver=Class.create(Abstract.EventObserver,{getValue:function(){return Form.Element.getValue(this.element);}});Form.EventObserver=Class.create(Abstract.EventObserver,{getValue:function(){return Form.serialize(this.element);}});if(!window.Event)var Event={};Object.extend(Event,{KEY_BACKSPACE:8,KEY_TAB:9,KEY_RETURN:13,KEY_ESC:27,KEY_LEFT:37,KEY_UP:38,KEY_RIGHT:39,KEY_DOWN:40,KEY_DELETE:46,KEY_HOME:36,KEY_END:35,KEY_PAGEUP:33,KEY_PAGEDOWN:34,KEY_INSERT:45,cache:{},relatedTarget:function(event){var element;switch(event.type){case'mouseover':element=event.fromElement;break;case'mouseout':element=event.toElement;break;default:return null;}
return Element.extend(element);}});Event.Methods=(function(){var isButton;if(Prototype.Browser.IE){var buttonMap={0:1,1:4,2:2};isButton=function(event,code){return event.button==buttonMap[code];};}else if(Prototype.Browser.WebKit){isButton=function(event,code){switch(code){case 0:return event.which==1&&!event.metaKey;case 1:return event.which==1&&event.metaKey;default:return false;}};}else{isButton=function(event,code){return event.which?(event.which===code+1):(event.button===code);};}
return{isLeftClick:function(event){return isButton(event,0)},isMiddleClick:function(event){return isButton(event,1)},isRightClick:function(event){return isButton(event,2)},element:function(event){event=Event.extend(event);var node=event.target,currentTarget=event.currentTarget,type=event.type;if(currentTarget&&currentTarget.tagName){if(['load','error'].include(type)||(currentTarget.tagName.toUpperCase()==="INPUT"&&currentTarget.type==="radio"&&type==="click"))
node=currentTarget;}
return Element.extend(node&&node.nodeType==Node.TEXT_NODE?node.parentNode:node);},findElement:function(event,expression){var element=Event.element(event);if(!expression)return element;var elements=[element].concat(element.ancestors());return Selector.findElement(elements,expression,0);},pointer:function(event){var docElement=document.documentElement,body=document.body||{scrollLeft:0,scrollTop:0};return{x:event.pageX||(event.clientX+
(docElement.scrollLeft||body.scrollLeft)-
(docElement.clientLeft||0)),y:event.pageY||(event.clientY+
(docElement.scrollTop||body.scrollTop)-
(docElement.clientTop||0))};},pointerX:function(event){return Event.pointer(event).x},pointerY:function(event){return Event.pointer(event).y},stop:function(event){Event.extend(event);event.preventDefault();event.stopPropagation();event.stopped=true;}};})();Event.extend=(function(){var methods=Object.keys(Event.Methods).inject({},function(m,name){m[name]=Event.Methods[name].methodize();return m;});if(Prototype.Browser.IE){Object.extend(methods,{stopPropagation:function(){this.cancelBubble=true},preventDefault:function(){this.returnValue=false},inspect:function(){return"[object Event]"}});return function(event){if(!event)return false;if(event._extendedByPrototype)return event;var pointer=Event.pointer(event);Object.extend(event,{_extendedByPrototype:Prototype.emptyFunction,target:Element.extend(event.srcElement),relatedTarget:Event.relatedTarget(event),pageX:pointer.x,pageY:pointer.y});return Object.extend(event,methods);};}else{Event.prototype=Event.prototype||document.createEvent("HTMLEvents")['__proto__'];Object.extend(Event.prototype,methods);return Prototype.K;}})();Object.extend(Event,(function(){var cache=Event.cache;function getEventID(element){if(element===window)return 1;if(element._prototypeEventID)return element._prototypeEventID[0];return(element._prototypeEventID=[arguments.callee.id++])[0];}
getEventID.id=2;function getDOMEventName(eventName){if(eventName&&eventName.include(':'))return"dataavailable";return eventName;}
function createWrapperFunction(element,eventName,handler){return function(event){if(!Event||!Event.extend||(event.eventName&&event.eventName!=eventName))
return false;handler.call(element,Event.extend(event));};}
if(!Prototype.Browser.IE){var events={enter:'over',leave:'out'},isEnterLeave=/^mouse(enter|leave)$/;getDOMEventName=getDOMEventName.wrap(function(proceed,eventName){var EL=isEnterLeave.exec(eventName);if(EL)eventName='mouse'+events[EL[1]];return proceed(eventName);});createWrapperFunction=createWrapperFunction.wrap(function(proceed,element,eventName,handler){var wrapper=proceed(element,eventName,handler);if(isEnterLeave.test(eventName)){wrapper=wrapper.wrap(function(proceed,event){var parent=event.relatedTarget;while(parent&&parent!=element){try{parent=parent.parentNode;}
catch(e){parent=element;}}
if(parent==element)return;proceed(event);});}
return wrapper;});}
function getCacheForID(id){return cache[id]=cache[id]||{};}
function getWrappersForEventName(id,eventName){var c=getCacheForID(id);return c[eventName]=c[eventName]||[];}
function createWrapper(element,eventName,handler){var id=getEventID(element),c=getCacheForID(id);if(!c.element)c.element=element;var w=getWrappersForEventName(id,eventName);if(w.pluck("handler").include(handler))return false;var wrapper=createWrapperFunction(element,eventName,handler);wrapper.handler=handler;w.push(wrapper);return wrapper;}
function findWrapper(id,eventName,handler){var w=getWrappersForEventName(id,eventName);return w.find(function(wrapper){return wrapper.handler==handler});}
function destroyWrapper(id,eventName,handler){var c=getCacheForID(id);if(!c[eventName])return false;c[eventName]=c[eventName].without(findWrapper(id,eventName,handler));}
function purgeListeners(){var element,entry;for(var i in Event.cache){entry=Event.cache[i];Event.stopObserving(entry.element);entry.element=null;}}
function onStop(){document.detachEvent("onstop",onStop);purgeListeners();}
function onBeforeUnload(){if(document.readyState==="interactive"){document.attachEvent("onstop",onStop);(function(){document.detachEvent("onstop",onStop);}).defer();}}
if(window.attachEvent&&!window.addEventListener){window.attachEvent("onunload",purgeListeners);window.attachEvent("onbeforeunload",onBeforeUnload);}
else if(Prototype.Browser.WebKit){window.addEventListener("unload",Prototype.emptyFunction,false);}
return{observe:function(element,eventName,handler){element=$(element);var name=getDOMEventName(eventName);var wrapper=createWrapper(element,eventName,handler);if(!wrapper)return element;if(element.addEventListener){element.addEventListener(name,wrapper,false);}else{element.attachEvent("on"+name,wrapper);}
return element;},stopObserving:function(element,eventName,handler){element=$(element);eventName=Object.isString(eventName)?eventName:null;var id=getEventID(element),c=cache[id];if(!c){return element;}
else if(!handler&&eventName){getWrappersForEventName(id,eventName).each(function(wrapper){Event.stopObserving(element,eventName,wrapper.handler);});return element;}
else if(!eventName){Object.keys(c).without("element").each(function(eventName){Event.stopObserving(element,eventName);});return element;}
var wrapper=findWrapper(id,eventName,handler);if(!wrapper)return element;var name=getDOMEventName(eventName);if(element.removeEventListener){element.removeEventListener(name,wrapper,false);}else{element.detachEvent("on"+name,wrapper);}
destroyWrapper(id,eventName,handler);return element;},fire:function(element,eventName,memo){element=$(element);if(element==document&&document.createEvent&&!element.dispatchEvent)
element=document.documentElement;var event;if(document.createEvent){event=document.createEvent("HTMLEvents");event.initEvent("dataavailable",true,true);}else{event=document.createEventObject();event.eventType="ondataavailable";}
event.eventName=eventName;event.memo=memo||{};if(document.createEvent){element.dispatchEvent(event);}else{element.fireEvent(event.eventType,event);}
return Event.extend(event);}};})());Object.extend(Event,Event.Methods);Element.addMethods({fire:Event.fire,observe:Event.observe,stopObserving:Event.stopObserving});Object.extend(document,{fire:Element.Methods.fire.methodize(),observe:Element.Methods.observe.methodize(),stopObserving:Element.Methods.stopObserving.methodize(),loaded:false});(function(){var timer;function fireContentLoadedEvent(){if(document.loaded)return;if(timer)window.clearInterval(timer);document.loaded=true;document.fire("dom:loaded");}
function isCssLoaded(){return true;}
if(document.addEventListener){if(Prototype.Browser.Opera){isCssLoaded=function(){var sheets=document.styleSheets,length=sheets.length;while(length--)if(sheets[length].disabled)return false;return true;};Event.observe(window,"load",function(){isCssLoaded=function(){return true}});}
else if(Prototype.Browser.WebKit){isCssLoaded=function(){var length=document.getElementsByTagName('style').length,links=document.getElementsByTagName('link');for(var i=0,link;link=links[i];i++)
if(link.getAttribute('rel')=="stylesheet")length++;return document.styleSheets.length>=length;};}
document.addEventListener("DOMContentLoaded",function(){if(!isCssLoaded())return arguments.callee.defer();fireContentLoadedEvent();},false);}else{document.attachEvent("onreadystatechange",function(){if(document.readyState=="complete"){document.detachEvent("onreadystatechange",arguments.callee);fireContentLoadedEvent();}});if(window==top){timer=setInterval(function(){try{document.documentElement.doScroll("left");}catch(e){return}
fireContentLoadedEvent();},10);}}
if(Prototype.Browser.WebKit&&(navigator.userAgent.match(/AppleWebKit\/(\d+)/)[1]<525)){timer=setInterval(function(){if(/loaded|complete/.test(document.readyState)&&isCssLoaded())
fireContentLoadedEvent();},10);}
Event.observe(window,"load",fireContentLoadedEvent);})();Hash.toQueryString=Object.toQueryString;var Toggle={display:Element.toggle};Element.Methods.childOf=Element.Methods.descendantOf;var Insertion={Before:function(element,content){return Element.insert(element,{before:content});},Top:function(element,content){return Element.insert(element,{top:content});},Bottom:function(element,content){return Element.insert(element,{bottom:content});},After:function(element,content){return Element.insert(element,{after:content});}};var $continue=new Error('"throw $continue" is deprecated, use "return" instead');var Position={includeScrollOffsets:false,prepare:function(){this.deltaX=window.pageXOffset||document.documentElement.scrollLeft||document.body.scrollLeft||0;this.deltaY=window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0;},within:function(element,x,y){if(this.includeScrollOffsets)
return this.withinIncludingScrolloffsets(element,x,y);var dimensions=Element.getDimensions(element);this.xcomp=x;this.ycomp=y;this.offset=Element.cumulativeOffset(element);return(y>=this.offset[1]&&y<this.offset[1]+dimensions.height&&x>=this.offset[0]&&x<this.offset[0]+dimensions.width);},withinIncludingScrolloffsets:function(element,x,y){var offsetcache=Element.cumulativeScrollOffset(element),dimensions=Element.getDimensions(element);this.xcomp=x+offsetcache[0]-this.deltaX;this.ycomp=y+offsetcache[1]-this.deltaY;this.offset=Element.cumulativeOffset(element);return(this.ycomp>=this.offset[1]&&this.ycomp<this.offset[1]+dimensions.height&&this.xcomp>=this.offset[0]&&this.xcomp<this.offset[0]+dimensions.width);},overlap:function(mode,element){var dimensions=Element.getDimensions(element);if(!mode)return 0;if(mode=='vertical')
return((this.offset[1]+dimensions.height)-this.ycomp)/dimensions.height;if(mode=='horizontal')
return((this.offset[0]+dimensions.width)-this.xcomp)/dimensions.width;},cumulativeOffset:Element.Methods.cumulativeOffset,positionedOffset:Element.Methods.positionedOffset,absolutize:function(element){Position.prepare();return Element.absolutize(element);},relativize:function(element){Position.prepare();return Element.relativize(element);},realOffset:Element.Methods.cumulativeScrollOffset,offsetParent:Element.Methods.getOffsetParent,page:Element.Methods.viewportOffset,clone:function(source,target,options){options=options||{};return Element.clonePosition(target,source,options);}};if(!document.getElementsByClassName)document.getElementsByClassName=function(instanceMethods){function iter(name){return name.blank()?null:"[contains(concat(' ', @class, ' '), ' "+name+" ')]";}
instanceMethods.getElementsByClassName=Prototype.BrowserFeatures.XPath?function(element,className){className=className.toString().strip();var cond=/\s/.test(className)?$w(className).map(iter).join(''):iter(className);return cond?document._getElementsByXPath('.//*'+cond,element):[];}:function(element,className){className=className.toString().strip();var elements=[],classNames=(/\s/.test(className)?$w(className):null);if(!classNames&&!className)return elements;var nodes=$(element).getElementsByTagName('*');className=' '+className+' ';for(var i=0,child,cn;child=nodes[i];i++){if(child.className&&(cn=' '+child.className+' ')&&(cn.include(className)||(classNames&&classNames.all(function(name){return!name.toString().blank()&&cn.include(' '+name+' ');}))))
elements.push(Element.extend(child));}
return elements;};return function(className,parentElement){return $(parentElement||document.body).getElementsByClassName(className);};}(Element.Methods);Element.ClassNames=Class.create();Element.ClassNames.prototype={initialize:function(element){this.element=$(element);},_each:function(iterator){this.element.className.split(/\s+/).select(function(name){return name.length>0;})._each(iterator);},set:function(className){this.element.className=className;},add:function(classNameToAdd){if(this.include(classNameToAdd))return;this.set($A(this).concat(classNameToAdd).join(' '));},remove:function(classNameToRemove){if(!this.include(classNameToRemove))return;this.set($A(this).without(classNameToRemove).join(' '));},toString:function(){return $A(this).join(' ');}};Object.extend(Element.ClassNames.prototype,Enumerable);Element.addMethods();Object.extend(Element.ClassNames.prototype,Enumerable);Element.addMethods();Object.extend(Event,{_domReady:function(){if(arguments.callee.done)return;arguments.callee.done=true;if(this._timer)clearInterval(this._timer);this._readyCallbacks.each(function(f){f()});this._readyCallbacks=null;},onDOMReady:function(f){if(!this._readyCallbacks){var domReady=this._domReady.bind(this);if(document.addEventListener)
document.addEventListener("DOMContentLoaded",domReady,false);if(/WebKit/i.test(navigator.userAgent)){this._timer=setInterval(function(){if(/loaded|complete/.test(document.readyState))domReady();},10);}
Event.observe(window,'load',domReady);Event._readyCallbacks=[];}
Event._readyCallbacks.push(f);}});Element.addMethods({onmouseenter:function(element,observer){element=$(element);element.observe('mouseover',function(evt,currentTarget){var relatedTarget=$(evt.relatedTarget||evt.fromElement);if(relatedTarget!=currentTarget&&relatedTarget.childOf(currentTarget)==false)
observer(element);}.bindAsEventListener({},element));return element;},onmouseleave:function(element,observer){element=$(element);element.observe('mouseout',function(evt,currentTarget){var relatedTarget=$(evt.relatedTarget||evt.toElement);if(relatedTarget!=currentTarget&&relatedTarget.childOf(currentTarget)==false)observer(element);}.bindAsEventListener({},element));return element;}});