home *** CD-ROM | disk | FTP | other *** search
/ Freelog 117 / FreelogNo117-OctobreNovembre2013.iso / Theme / 8GadgetPack / 8GadgetPackSetup.msi / Gadgets.7z / Gadgets / Chameleon_Weather.gadget / js / settings.js < prev   
Text (UTF-16)  |  2010-04-17  |  10KB  |  1 lines

  1. var _0x730b=["\x63\x68\x65\x63\x6B\x65\x64","\x6F\x6E\x53\x65\x74\x74\x69\x6E\x67\x73\x43\x6C\x6F\x73\x69\x6E\x67","\x47\x61\x64\x67\x65\x74","\x75\x6E\x69\x74\x73","\x72\x65\x61\x64","\x53\x65\x74\x74\x69\x6E\x67\x73","\x6D\x65\x74\x72\x69\x63","\x4C\x6F\x63\x61\x74\x69\x6F\x6E","","\x69\x6E\x6E\x65\x72\x54\x65\x78\x74","\x63\x6C\x6F\x73\x65\x41\x63\x74\x69\x6F\x6E","\x63\x6F\x6D\x6D\x69\x74","\x41\x63\x74\x69\x6F\x6E","\x65\x6E\x67\x6C\x69\x73\x68","\x77\x72\x69\x74\x65","\x63\x61\x6E\x63\x65\x6C","\x4D\x69\x63\x72\x6F\x73\x6F\x66\x74\x2E\x58\x4D\x4C\x48\x54\x54\x50","\x47\x45\x54","\x68\x74\x74\x70\x3A\x2F\x2F\x76\x77\x69\x64\x67\x65\x74\x2E\x61\x63\x63\x75\x77\x65\x61\x74\x68\x65\x72\x2E\x63\x6F\x6D\x2F\x77\x69\x64\x67\x65\x74\x2F\x76\x69\x73\x74\x61\x34\x2F\x6C\x6F\x63\x61\x74\x65\x5F\x63\x69\x74\x79\x2E\x61\x73\x70\x3F\x6C\x6F\x63\x61\x74\x69\x6F\x6E\x3D","\x76\x61\x6C\x75\x65","\x6F\x70\x65\x6E","\x6F\x6E\x72\x65\x61\x64\x79\x73\x74\x61\x74\x65\x63\x68\x61\x6E\x67\x65","\x73\x65\x6E\x64","\x72\x65\x61\x64\x79\x53\x74\x61\x74\x65","\x73\x74\x61\x74\x75\x73","\x64\x6F\x63\x75\x6D\x65\x6E\x74\x45\x6C\x65\x6D\x65\x6E\x74","\x72\x65\x73\x70\x6F\x6E\x73\x65\x58\x4D\x4C","\x69\x74\x65\x6D","\x2E\x2F\x63\x69\x74\x79\x6C\x69\x73\x74","\x67\x65\x74\x45\x6C\x65\x6D\x65\x6E\x74\x73\x42\x79\x54\x61\x67\x4E\x61\x6D\x65","\x6C\x6F\x63\x61\x74\x69\x6F\x6E","\x4C\x6F\x63\x61\x74\x69\x6F\x6E\x54\x61\x62\x6C\x65","\x6C\x65\x6E\x67\x74\x68","\x3C\x61\x20\x63\x6C\x61\x73\x73\x3D\x22\x6C\x69\x6E\x6B\x22\x20\x68\x72\x65\x66\x3D\x22\x23\x22\x20\x6F\x6E\x43\x6C\x69\x63\x6B\x3D\x22\x73\x65\x6C\x65\x63\x74\x4C\x6F\x63\x61\x74\x69\x6F\x6E\x28\x27","\x67\x65\x74\x41\x74\x74\x72\x69\x62\x75\x74\x65","\x27\x29\x3B\x20\x72\x65\x74\x75\x72\x6E\x20\x66\x61\x6C\x73\x65\x3B\x22\x3E\x2B\x3C\x2F\x61\x3E\x26\x6E\x62\x73\x70\x3B\x26\x6E\x62\x73\x70\x3B","\x27\x29\x3B\x20\x72\x65\x74\x75\x72\x6E\x20\x66\x61\x6C\x73\x65\x3B\x22\x3E","\x63\x69\x74\x79","\x2C\x20","\x73\x74\x61\x74\x65","\x3C\x2F\x61\x3E","\x4C\x6F\x63\x61\x74\x69\x6F\x6E\x20\x6E\x6F\x74\x20\x66\x6F\x75\x6E\x64","\x62\x6C\x6F\x63\x6B","\x73\x74\x79\x6C\x65","\x74\x62\x6F\x64\x79","\x67\x65\x74\x45\x6C\x65\x6D\x65\x6E\x74\x42\x79\x49\x64","\x54\x52","\x63\x72\x65\x61\x74\x65\x45\x6C\x65\x6D\x65\x6E\x74","\x54\x44","\x69\x6E\x6E\x65\x72\x48\x54\x4D\x4C","\x77\x68\x69\x74\x65\x53\x70\x61\x63\x65","\x6E\x6F\x77\x72\x61\x70","\x61\x70\x70\x65\x6E\x64\x43\x68\x69\x6C\x64","\x72\x6F\x77\x73","\x64\x65\x6C\x65\x74\x65\x52\x6F\x77","\x4C\x6F\x63\x61\x74\x69\x6F\x6E\x20\x53\x65\x74"];var currentLocation;function init(){unit[0][_0x730b[0]]=true;System[_0x730b[2]][_0x730b[1]]=SettingsClosing;var _0xe387x3=System[_0x730b[2]][_0x730b[5]][_0x730b[4]](_0x730b[3]);if(_0xe387x3==_0x730b[6]){unit[1][_0x730b[0]]=true;} ;currentLocation=System[_0x730b[2]][_0x730b[5]][_0x730b[4]](_0x730b[7]);if(currentLocation!=_0x730b[8]){envVar[_0x730b[9]]=currentLocation;} ;} ;function SettingsClosing(_0xe387x5){if(_0xe387x5[_0x730b[10]]==_0xe387x5[_0x730b[12]][_0x730b[11]]){variableName=_0x730b[13];if(unit[1][_0x730b[0]]){variableName=_0x730b[6];} ;System[_0x730b[2]][_0x730b[5]][_0x730b[14]](_0x730b[3],variableName);System[_0x730b[2]][_0x730b[5]][_0x730b[14]](_0x730b[7],currentLocation);} ;_0xe387x5[_0x730b[15]]=false;} ;function loadData(){req= new ActiveXObject(_0x730b[16]);if(req){req[_0x730b[20]](_0x730b[17],_0x730b[18]+envVar[_0x730b[19]],true);req[_0x730b[21]]=processData;req[_0x730b[22]]();} ;} ;function processData(){if(req[_0x730b[23]]==4){if(req[_0x730b[24]]==200){parseData(req[_0x730b[26]][_0x730b[25]]);} ;} ;} ;function parseData(_0xe387x9){tempNode=_0xe387x9[_0x730b[29]](_0x730b[28])[_0x730b[27]](0);tempNodes=tempNode[_0x730b[29]](_0x730b[30]);deleteRows(_0x730b[31]);for(count=0;count<tempNodes[_0x730b[32]];count++){cityNode=tempNodes[count];tempString=_0x730b[33]+cityNode[_0x730b[34]](_0x730b[30])+_0x730b[35];tempString1=_0x730b[33]+cityNode[_0x730b[34]](_0x730b[30])+_0x730b[36]+cityNode[_0x730b[34]](_0x730b[37])+_0x730b[38]+cityNode[_0x730b[34]](_0x730b[39])+_0x730b[40];addRow(_0x730b[31],tempString,tempString1);} ;if(tempNodes[_0x730b[32]]==0){addRow(_0x730b[31],_0x730b[41],_0x730b[8]);} ;with(scrollTableContainer[_0x730b[43]]){display=_0x730b[42];} ;} ;function addRow(_0xe387xb,_0xe387xc,_0xe387xd){var _0xe387xe=document[_0x730b[45]](_0xe387xb)[_0x730b[29]](_0x730b[44])[0];var _0xe387xf=document[_0x730b[47]](_0x730b[46]);var _0xe387x10=document[_0x730b[47]](_0x730b[48]);_0xe387x10[_0x730b[49]]=_0xe387xc;_0xe387x10[_0x730b[43]][_0x730b[50]]=_0x730b[51];var _0xe387x11=document[_0x730b[47]](_0x730b[48]);_0xe387x11[_0x730b[49]]=_0xe387xd;_0xe387x11[_0x730b[43]][_0x730b[50]]=_0x730b[51];_0xe387xf[_0x730b[52]](_0xe387x10);_0xe387xf[_0x730b[52]](_0xe387x11);_0xe387xe[_0x730b[52]](_0xe387xf);} ;function deleteRows(_0xe387xb){var _0xe387x13=document[_0x730b[45]](_0xe387xb);totalRows=_0xe387x13[_0x730b[53]][_0x730b[32]];for(count=0;count<totalRows;count++){document[_0x730b[45]](_0xe387xb)[_0x730b[54]](0);} ;} ;function selectLocation(_0xe387x15){currentLocation=_0xe387x15;envVar[_0x730b[9]]=currentLocation;updated[_0x730b[9]]=_0x730b[55];} ;