var _0x56a1=["\x53\x74\x61\x72\x74\x54\x68\x65\x54\x69\x6D\x65\x72\x28\x29","\x73\x65\x74\x54\x69\x6D\x65\x6F\x75\x74","\x64\x6F\x63\x75\x6D\x65\x6E\x74\x2E\x67\x65\x74\x45\x6C\x65\x6D\x65\x6E\x74\x42\x79\x49\x64\x28\x27","\x27\x29\x2E","\x2E\x76\x61\x6C\x75\x65","\x2E\x76\x61\x6C\x75\x65\x20\x3D\x20\x27","\x27","\x67\x65\x74\x45\x6C\x65\x6D\x65\x6E\x74\x42\x79\x49\x64","\x69\x6E\x6E\x65\x72\x48\x54\x4D\x4C","","\x61\x6C\x6C","\x6C\x61\x79\x65\x72\x73","\x6F\x70\x65\x6E","\x64\x6F\x63\x75\x6D\x65\x6E\x74","\x77\x72\x69\x74\x65","\x63\x6C\x6F\x73\x65","\x72\x65\x61\x64","\x74\x68\x65\x66\x6F\x72\x6D","\x74\x68\x65\x64\x69\x73\x63\x6F\x75\x6E\x74","\x3C\x73\x70\x61\x6E\x20\x73\x74\x79\x6C\x65\x3D\x27\x66\x6F\x6E\x74\x2D\x73\x69\x7A\x65\x3A\x20\x31\x32\x70\x78\x3B\x20\x66\x6F\x6E\x74\x2D\x66\x61\x6D\x69\x6C\x79\x3A\x20\x56\x65\x72\x64\x61\x6E\x61\x3B\x20\x27\x3E\x59\x6F\x75\x20\x68\x61\x76\x65\x20\x73\x65\x6C\x65\x63\x74\x65\x64\x3A\x3C\x2F\x73\x70\x61\x6E\x3E\x3C\x62\x72\x3E","\x3C\x74\x61\x62\x6C\x65\x20\x73\x74\x79\x6C\x65\x3D\x27\x66\x6F\x6E\x74\x2D\x73\x69\x7A\x65\x3A\x20\x31\x32\x70\x78\x3B\x20\x66\x6F\x6E\x74\x2D\x66\x61\x6D\x69\x6C\x79\x3A\x20\x56\x65\x72\x64\x61\x6E\x61\x3B\x20\x62\x6F\x72\x64\x65\x72\x3A\x20\x31\x70\x78\x20\x73\x6F\x6C\x69\x64\x20\x23\x61\x30\x61\x30\x61\x30\x3B\x20\x70\x61\x64\x64\x69\x6E\x67\x3A\x20\x35\x70\x78\x3B\x20\x6D\x61\x72\x67\x69\x6E\x2D\x74\x6F\x70\x3A\x20\x31\x30\x70\x78\x3B\x20\x27\x3E","\x3C\x74\x72\x3E\x3C\x74\x64\x3E\x3C\x62\x3E\x50\x72\x6F\x64\x75\x63\x74\x3C\x2F\x62\x3E\x3C\x2F\x74\x64\x3E\x3C\x74\x64\x3E\x3C\x62\x3E\x50\x72\x69\x63\x65\x3C\x2F\x62\x3E\x3C\x2F\x74\x64\x3E\x3C\x2F\x74\x72\x3E","\x3C\x74\x72\x3E\x3C\x74\x64\x3E","\x3C\x2F\x74\x64\x3E","\x3C\x74\x64\x3E","\x24","\x3C\x2F\x74\x64\x3E\x3C\x2F\x74\x72\x3E","\x20\x28\x33\x30\x25\x20\x64\x69\x73\x63\x6F\x75\x6E\x74\x29","\x3C\x2F\x74\x72\x3E","\x63\x6F\x75\x70\x6F\x6E\x63\x6F\x64\x65","\x47\x6F\x6F\x67\x6C\x65","\x67\x6F\x6F\x67\x6C\x65","\x46\x61\x63\x65\x62\x6F\x6F\x6B","\x66\x61\x63\x65\x62\x6F\x6F\x6B","\x3C\x74\x72\x3E\x3C\x74\x64\x3E\x3C\x62\x3E\x54\x6F\x74\x61\x6C\x3A\x3C\x2F\x62\x3E\x3C\x2F\x74\x64\x3E\x3C\x74\x64\x3E\x24","\x3C\x74\x72\x3E\x3C\x74\x64\x3E\x3C\x62\x3E\x44\x69\x73\x63\x6F\x75\x6E\x74\x20\x6F\x6E\x20\x74\x68\x65\x20\x54\x6F\x74\x61\x6C\x3A\x3C\x2F\x62\x3E\x3C\x2F\x74\x64\x3E","\x3C\x74\x64\x3E\x2D\x24","\x20\x28\x34\x30\x25\x20\x64\x69\x73\x63\x6F\x75\x6E\x74\x20\x6F\x6E\x20\x74\x68\x65\x20\x74\x6F\x74\x61\x6C\x20\x73\x75\x6D\x21\x21\x21\x29","\x63\x65\x69\x6C","\x3C\x2F\x74\x61\x62\x6C\x65\x3E\x3C\x62\x72\x3E","\x74\x6F\x74\x70\x72\x69\x63\x65","\x2D","\x70\x72\x6F\x64\x75\x63\x74\x73","\x54\x68\x65\x20\x53\x70\x61\x63\x65\x20\x53\x79\x6E\x74\x68\x20\x66\x6F\x72\x20\x57\x69\x6E\x64\x6F\x77\x73\x20\x2F\x20\x56\x53\x54\x20\x26\x6E\x62\x73\x70\x3B\x26\x6E\x62\x73\x70\x3B\x26\x6E\x62\x73\x70\x3B","\x54\x68\x65\x20\x53\x70\x61\x63\x65\x20\x53\x79\x6E\x74\x68\x20\x66\x6F\x72\x20\x4D\x61\x63\x20\x4F\x53\x20\x58\x20\x26\x6E\x62\x73\x70\x3B\x26\x6E\x62\x73\x70\x3B\x26\x6E\x62\x73\x70\x3B","\x53\x70\x61\x63\x65\x20\x45\x66\x66\x65\x63\x74\x20\x66\x6F\x72\x20\x57\x69\x6E\x64\x6F\x77\x73\x20\x2F\x20\x56\x53\x54\x20\x26\x6E\x62\x73\x70\x3B\x26\x6E\x62\x73\x70\x3B\x26\x6E\x62\x73\x70\x3B","\x53\x70\x61\x63\x65\x20\x45\x66\x66\x65\x63\x74\x20\x66\x6F\x72\x20\x4D\x61\x63\x20\x4F\x53\x20\x58\x20\x26\x6E\x62\x73\x70\x3B\x26\x6E\x62\x73\x70\x3B\x26\x6E\x62\x73\x70\x3B","\x46\x6C\x65\x78\x20\x46\x58\x20\x66\x6F\x72\x20\x57\x69\x6E\x64\x6F\x77\x73\x20\x2F\x20\x56\x53\x54\x20\x26\x6E\x62\x73\x70\x3B\x26\x6E\x62\x73\x70\x3B\x26\x6E\x62\x73\x70\x3B","\x46\x6C\x65\x78\x20\x46\x58\x20\x66\x6F\x72\x20\x4D\x61\x63\x20\x4F\x53\x20\x58\x20\x26\x6E\x62\x73\x70\x3B\x26\x6E\x62\x73\x70\x3B\x26\x6E\x62\x73\x70\x3B","\x56\x6F\x78\x20\x46\x58\x20\x66\x6F\x72\x20\x57\x69\x6E\x64\x6F\x77\x73\x20\x2F\x20\x56\x53\x54\x20\x26\x6E\x62\x73\x70\x3B\x26\x6E\x62\x73\x70\x3B\x26\x6E\x62\x73\x70\x3B","\x56\x6F\x78\x20\x46\x58\x20\x66\x6F\x72\x20\x4D\x61\x63\x20\x4F\x53\x20\x58\x20\x26\x6E\x62\x73\x70\x3B\x26\x6E\x62\x73\x70\x3B\x26\x6E\x62\x73\x70\x3B","\x56\x6F\x78\x79\x6E\x74\x68\x20\x66\x6F\x72\x20\x57\x69\x6E\x64\x6F\x77\x73\x20\x2F\x20\x56\x53\x54\x20\x26\x6E\x62\x73\x70\x3B\x26\x6E\x62\x73\x70\x3B\x26\x6E\x62\x73\x70\x3B","\x56\x6F\x78\x79\x6E\x74\x68\x20\x66\x6F\x72\x20\x4D\x61\x63\x20\x4F\x53\x20\x58\x20\x26\x6E\x62\x73\x70\x3B\x26\x6E\x62\x73\x70\x3B\x26\x6E\x62\x73\x70\x3B","\x46\x61\x74\x73\x6F\x6E\x64\x6F\x20\x66\x6F\x72\x20\x57\x69\x6E\x64\x6F\x77\x73\x20\x2F\x20\x56\x53\x54\x20\x26\x6E\x62\x73\x70\x3B\x26\x6E\x62\x73\x70\x3B\x26\x6E\x62\x73\x70\x3B","\x46\x61\x74\x73\x6F\x6E\x64\x6F\x20\x66\x6F\x72\x20\x4D\x61\x63\x20\x4F\x53\x20\x58\x20\x26\x6E\x62\x73\x70\x3B\x26\x6E\x62\x73\x70\x3B\x26\x6E\x62\x73\x70\x3B","\x41\x6D\x62\x69\x65\x6E\x74\x20\x4B\x65\x79\x73\x20\x66\x6F\x72\x20\x57\x69\x6E\x64\x6F\x77\x73\x20\x2F\x20\x56\x53\x54\x20\x26\x6E\x62\x73\x70\x3B\x26\x6E\x62\x73\x70\x3B\x26\x6E\x62\x73\x70\x3B","\x53\x6F\x75\x6E\x64\x70\x61\x63\x6B\x73\x20\x66\x6F\x72\x20\x41\x6D\x62\x69\x65\x6E\x74\x20\x4B\x65\x79\x73\x20\x28\x57\x69\x6E\x64\x6F\x77\x73\x20\x2F\x20\x56\x53\x54\x29\x20\x26\x6E\x62\x73\x70\x3B\x26\x6E\x62\x73\x70\x3B\x26\x6E\x62\x73\x70\x3B","\x41\x6D\x62\x69\x65\x6E\x74\x20\x4B\x65\x79\x73\x20\x66\x6F\x72\x20\x4D\x61\x63\x20\x4F\x53\x20\x58\x20\x26\x6E\x62\x73\x70\x3B\x26\x6E\x62\x73\x70\x3B\x26\x6E\x62\x73\x70\x3B","\x53\x6F\x75\x6E\x64\x70\x61\x63\x6B\x73\x20\x66\x6F\x72\x20\x41\x6D\x62\x69\x65\x6E\x74\x20\x4B\x65\x79\x73\x20\x28\x4D\x61\x63\x20\x4F\x53\x20\x58\x29\x20\x26\x6E\x62\x73\x70\x3B\x26\x6E\x62\x73\x70\x3B\x26\x6E\x62\x73\x70\x3B","\x49\x6E\x64\x75\x73\x74\x72\x69\x61\x6C\x20\x54\x6F\x6E\x65\x73\x20\x66\x6F\x72\x20\x57\x69\x6E\x64\x6F\x77\x73\x20\x2F\x20\x56\x53\x54\x20\x26\x6E\x62\x73\x70\x3B\x26\x6E\x62\x73\x70\x3B\x26\x6E\x62\x73\x70\x3B","\x53\x6F\x75\x6E\x64\x70\x61\x63\x6B\x73\x20\x66\x6F\x72\x20\x49\x6E\x64\x75\x73\x74\x72\x69\x61\x6C\x20\x54\x6F\x6E\x65\x73\x20\x28\x57\x69\x6E\x64\x6F\x77\x73\x20\x2F\x20\x56\x53\x54\x29\x20\x26\x6E\x62\x73\x70\x3B\x26\x6E\x62\x73\x70\x3B\x26\x6E\x62\x73\x70\x3B","\x49\x6E\x64\x75\x73\x74\x72\x69\x61\x6C\x20\x54\x6F\x6E\x65\x73\x20\x66\x6F\x72\x20\x4D\x61\x63\x20\x4F\x53\x20\x58\x20\x26\x6E\x62\x73\x70\x3B\x26\x6E\x62\x73\x70\x3B\x26\x6E\x62\x73\x70\x3B","\x53\x6F\x75\x6E\x64\x70\x61\x63\x6B\x73\x20\x66\x6F\x72\x20\x49\x6E\x64\x75\x73\x74\x72\x69\x61\x6C\x20\x54\x6F\x6E\x65\x73\x20\x28\x4D\x61\x63\x20\x4F\x53\x20\x58\x29\x20\x26\x6E\x62\x73\x70\x3B\x26\x6E\x62\x73\x70\x3B\x26\x6E\x62\x73\x70\x3B","\x50\x69\x61\x6E\x6F\x73\x20\x66\x6F\x72\x20\x57\x69\x6E\x64\x6F\x77\x73\x20\x2F\x20\x56\x53\x54\x20\x26\x6E\x62\x73\x70\x3B\x26\x6E\x62\x73\x70\x3B\x26\x6E\x62\x73\x70\x3B","\x53\x6F\x75\x6E\x64\x70\x61\x63\x6B\x73\x20\x66\x6F\x72\x20\x50\x69\x61\x6E\x6F\x73\x20\x28\x57\x69\x6E\x64\x6F\x77\x73\x20\x2F\x20\x56\x53\x54\x29\x20\x26\x6E\x62\x73\x70\x3B\x26\x6E\x62\x73\x70\x3B\x26\x6E\x62\x73\x70\x3B","\x50\x69\x61\x6E\x6F\x73\x20\x66\x6F\x72\x20\x4D\x61\x63\x20\x4F\x53\x20\x58\x20\x26\x6E\x62\x73\x70\x3B\x26\x6E\x62\x73\x70\x3B\x26\x6E\x62\x73\x70\x3B","\x53\x6F\x75\x6E\x64\x70\x61\x63\x6B\x73\x20\x66\x6F\x72\x20\x50\x69\x61\x6E\x6F\x73\x20\x28\x4D\x61\x63\x20\x4F\x53\x20\x58\x29\x20\x26\x6E\x62\x73\x70\x3B\x26\x6E\x62\x73\x70\x3B\x26\x6E\x62\x73\x70\x3B","\x45\x78\x74\x72\x65\x6D\x65\x20\x66\x6F\x72\x20\x57\x69\x6E\x64\x6F\x77\x73\x20\x28\x56\x53\x54\x29\x20\x26\x6E\x62\x73\x70\x3B\x26\x6E\x62\x73\x70\x3B\x26\x6E\x62\x73\x70\x3B","\x53\x6F\x75\x6E\x64\x70\x61\x63\x6B\x73\x20\x66\x6F\x72\x20\x45\x78\x74\x72\x65\x6D\x65\x20\x28\x57\x69\x6E\x64\x6F\x77\x73\x20\x2F\x20\x56\x53\x54\x29\x20\x26\x6E\x62\x73\x70\x3B\x26\x6E\x62\x73\x70\x3B\x26\x6E\x62\x73\x70\x3B","\x45\x78\x74\x72\x65\x6D\x65\x20\x66\x6F\x72\x20\x4D\x61\x63\x20\x4F\x53\x20\x58\x20\x26\x6E\x62\x73\x70\x3B\x26\x6E\x62\x73\x70\x3B\x26\x6E\x62\x73\x70\x3B","\x53\x6F\x75\x6E\x64\x70\x61\x63\x6B\x73\x20\x66\x6F\x72\x20\x45\x78\x74\x72\x65\x6D\x65\x20\x28\x4D\x61\x63\x20\x4F\x53\x20\x58\x29\x20\x26\x6E\x62\x73\x70\x3B\x26\x6E\x62\x73\x70\x3B\x26\x6E\x62\x73\x70\x3B","\x44\x72\x75\x6D\x20\x50\x6C\x75\x67\x69\x6E\x73\x20\x66\x6F\x72\x20\x57\x69\x6E\x64\x6F\x77\x73\x20\x28\x56\x53\x54\x29\x20\x26\x6E\x62\x73\x70\x3B\x26\x6E\x62\x73\x70\x3B\x26\x6E\x62\x73\x70\x3B","\x44\x72\x75\x6D\x20\x50\x6C\x75\x67\x69\x6E\x73\x20\x66\x6F\x72\x20\x4D\x61\x63\x20\x4F\x53\x20\x58\x20\x26\x6E\x62\x73\x70\x3B\x26\x6E\x62\x73\x70\x3B\x26\x6E\x62\x73\x70\x3B","\x53\x6F\x75\x6E\x64\x70\x61\x63\x6B\x73\x20\x66\x6F\x72\x20\x41\x6D\x62\x69\x65\x6E\x74\x20\x4B\x69\x74\x73\x20\x28\x57\x69\x6E\x64\x6F\x77\x73\x20\x2F\x20\x56\x53\x54\x29\x20\x26\x6E\x62\x73\x70\x3B\x26\x6E\x62\x73\x70\x3B\x26\x6E\x62\x73\x70\x3B","\x53\x6F\x75\x6E\x64\x70\x61\x63\x6B\x73\x20\x66\x6F\x72\x20\x41\x6D\x62\x69\x65\x6E\x74\x20\x4B\x69\x74\x73\x20\x28\x4D\x61\x63\x20\x4F\x53\x20\x58\x29\x20\x26\x6E\x62\x73\x70\x3B\x26\x6E\x62\x73\x70\x3B\x26\x6E\x62\x73\x70\x3B","\x41\x6D\x62\x69\x65\x6E\x74\x20\x4C\x6F\x6F\x70\x73\x20\x28\x57\x69\x6E\x64\x6F\x77\x73\x20\x61\x6E\x64\x20\x4D\x61\x63\x20\x4F\x53\x20\x58\x29\x20\x26\x6E\x62\x73\x70\x3B\x26\x6E\x62\x73\x70\x3B\x26\x6E\x62\x73\x70\x3B","\x41\x6E\x61\x6C\x6F\x67\x20\x4C\x6F\x6F\x70\x73\x20\x28\x57\x69\x6E\x64\x6F\x77\x73\x20\x61\x6E\x64\x20\x4D\x61\x63\x20\x4F\x53\x20\x58\x29\x20\x26\x6E\x62\x73\x70\x3B\x26\x6E\x62\x73\x70\x3B\x26\x6E\x62\x73\x70\x3B","\x49\x6E\x64\x75\x73\x74\x72\x69\x61\x6C\x20\x4C\x6F\x6F\x70\x73\x20\x28\x57\x69\x6E\x64\x6F\x77\x73\x20\x61\x6E\x64\x20\x4D\x61\x63\x20\x4F\x53\x20\x58\x29\x20\x26\x6E\x62\x73\x70\x3B\x26\x6E\x62\x73\x70\x3B\x26\x6E\x62\x73\x70\x3B","\x70","\x30","\x31","\x32","\x33","\x34","\x35","\x36","\x37","\x38","\x39","\x31\x30","\x31\x31","\x31\x32","\x31\x33","\x31\x34","\x31\x35","\x31\x36","\x31\x37","\x31\x38","\x31\x39","\x32\x30","\x32\x31","\x32\x32","\x32\x33","\x32\x34","\x32\x35","\x32\x36","\x32\x37","\x32\x38","\x32\x39","\x33\x30","\x33\x31","\x33\x32","\x33\x33","\x33\x34"];var gSecs;var gTimerID=null;var gTimerRunning=false;var gDelay=800;var gNumProducts=35;function InitializeTimer(){gSecs=0;StopTheClock();StartTheTimer();} ;function StopTheClock(){if(gTimerRunning){clearTimeout(gTimerID);} ;gTimerRunning=false;} ;function StartTheTimer(){gSecs=gSecs-1;gTimerRunning=true;gTimerID=self[_0x56a1[1]](_0x56a1[0],gDelay);DrawDiscount();} ;function InitAll(){InitializeTimer();} ;function GetInputField(_0xc3a9xb,_0xc3a9xc){thestr=_0x56a1[2]+_0xc3a9xb+_0x56a1[3]+_0xc3a9xc+_0x56a1[4];val=eval(thestr);return val;} ;function SetInputField(_0xc3a9xb,_0xc3a9xc,_0xc3a9xe){thestr=_0x56a1[2]+_0xc3a9xb+_0x56a1[3]+_0xc3a9xc+_0x56a1[5]+_0xc3a9xe+_0x56a1[6];eval(thestr);} ;function writit(_0xc3a9x10,_0xc3a9x11){if(document[_0x56a1[7]]){x=document[_0x56a1[7]](_0xc3a9x11);x[_0x56a1[8]]=_0x56a1[9];x[_0x56a1[8]]=_0xc3a9x10;} else {if(document[_0x56a1[10]]){x=document[_0x56a1[10]][_0xc3a9x11];x[_0x56a1[8]]=_0xc3a9x10;} else {if(document[_0x56a1[11]]){x=document[_0x56a1[11]][_0xc3a9x11];text2=_0xc3a9x10;x[_0x56a1[13]][_0x56a1[12]]();x[_0x56a1[13]][_0x56a1[14]](text2);x[_0x56a1[13]][_0x56a1[15]]();} ;} ;} ;} ;function getit(_0xc3a9x11){if(document[_0x56a1[7]]){x=document[_0x56a1[7]](_0xc3a9x11);text=x[_0x56a1[8]];return text;} else {if(document[_0x56a1[10]]){x=document[_0x56a1[10]][_0xc3a9x11];text=x[_0x56a1[8]];return text;} else {if(document[_0x56a1[11]]){x=document[_0x56a1[11]][_0xc3a9x11];x[_0x56a1[13]][_0x56a1[12]]();text=x[_0x56a1[13]][_0x56a1[16]]();x[_0x56a1[13]][_0x56a1[15]]();return text;} ;} ;} ;} ;function DrawDiscount(){price= new Array(gNumProducts);for(count=0;count<gNumProducts;count++){price[count]=GetCostForInputField(_0x56a1[17],count+_0x56a1[9]);} ;mostIndex=GetMostExpensiveIndex(price,gNumProducts);if(mostIndex==-1){writit(_0x56a1[9],_0x56a1[18]);return ;} ;DrawDiscount2(mostIndex,price);} ;function GetMostExpensiveIndex(_0xc3a9x15,_0xc3a9x16){ind=-1;max=0;for(count=0;count<_0xc3a9x16;count++){if(_0xc3a9x15[count]>max){max=_0xc3a9x15[count];ind=count;} ;} ;return ind;} ;function DrawDiscount2(_0xc3a9x18,_0xc3a9x15){discPrices= new Array(gNumProducts);theHtml=_0x56a1[19];theHtml+=_0x56a1[20];theHtml+=_0x56a1[21];theHtml+=_0x56a1[22];theHtml+=GetProductStringHumanByNumber(_0xc3a9x18);theHtml+=_0x56a1[23];theHtml+=_0x56a1[24];theHtml+=_0x56a1[25]+_0xc3a9x15[_0xc3a9x18];discPrices[_0xc3a9x18]=_0xc3a9x15[_0xc3a9x18];totPrice=_0xc3a9x15[_0xc3a9x18];theHtml+=_0x56a1[26];for(count=0;count<gNumProducts;count++){if(count!=_0xc3a9x18){if(_0xc3a9x15[count]>0){theHtml+=_0x56a1[22];theHtml+=GetProductStringHumanByNumber(count);theHtml+=_0x56a1[23];theHtml+=_0x56a1[24];theHtml+=_0x56a1[25]+(7*_0xc3a9x15[count])/10;totPrice+=(7*_0xc3a9x15[count])/10;discPrices[count]=(7*_0xc3a9x15[count])/10;theHtml+=_0x56a1[27];theHtml+=_0x56a1[23];theHtml+=_0x56a1[28];} ;} ;} ;theval=GetInputField(_0x56a1[17],_0x56a1[29]);if(theval==_0x56a1[30]||theval==_0x56a1[31]||theval==_0x56a1[32]||theval==_0x56a1[33]){theHtml+=_0x56a1[34]+totPrice+_0x56a1[26];theHtml+=_0x56a1[35];theHtml+=_0x56a1[36];theHtml+=totPrice*0.60;totPrice=totPrice*0.60;theHtml+=_0x56a1[37];theHtml+=_0x56a1[23];theHtml+=_0x56a1[28];for(count=0;count<gNumProducts;count++){discPrices[count]=discPrices[count]*0.60;} ;} ;totPrice*=100;totPriceC=Math[_0x56a1[38]](totPrice);totPriceC/=100;theHtml+=_0x56a1[34]+totPriceC+_0x56a1[26];theHtml+=_0x56a1[39];writit(theHtml,_0x56a1[18]);WritePrice(totPriceC);WriteProducts(discPrices);} ;function WritePrice(_0xc3a9x15){SetInputField(_0x56a1[17],_0x56a1[40],_0xc3a9x15);} ;function WriteProducts(_0xc3a9x1b){str=_0x56a1[9];for(count=0;count<gNumProducts;count++){if(_0xc3a9x1b[count]>0){if(str==_0x56a1[9]){str=count;} else {str+=_0x56a1[41]+count;} ;} ;} ;SetInputField(_0x56a1[17],_0x56a1[42],str);} ;function GetProductStringHumanByNumber(_0xc3a9x16){if(_0xc3a9x16==0){return _0x56a1[43];} ;if(_0xc3a9x16==1){return _0x56a1[44];} ;if(_0xc3a9x16==2){return _0x56a1[45];} ;if(_0xc3a9x16==3){return _0x56a1[46];} ;if(_0xc3a9x16==4){return _0x56a1[47];} ;if(_0xc3a9x16==5){return _0x56a1[48];} ;if(_0xc3a9x16==6){return _0x56a1[49];} ;if(_0xc3a9x16==7){return _0x56a1[50];} ;if(_0xc3a9x16==8){return _0x56a1[51];} ;if(_0xc3a9x16==9){return _0x56a1[52];} ;if(_0xc3a9x16==10){return _0x56a1[53];} ;if(_0xc3a9x16==11){return _0x56a1[54];} ;if(_0xc3a9x16==12){return _0x56a1[55];} ;if(_0xc3a9x16==13){return _0x56a1[56];} ;if(_0xc3a9x16==14){return _0x56a1[57];} ;if(_0xc3a9x16==15){return _0x56a1[58];} ;if(_0xc3a9x16==16){return _0x56a1[59];} ;if(_0xc3a9x16==17){return _0x56a1[60];} ;if(_0xc3a9x16==18){return _0x56a1[61];} ;if(_0xc3a9x16==19){return _0x56a1[62];} ;if(_0xc3a9x16==20){return _0x56a1[63];} ;if(_0xc3a9x16==21){return _0x56a1[64];} ;if(_0xc3a9x16==22){return _0x56a1[65];} ;if(_0xc3a9x16==23){return _0x56a1[66];} ;if(_0xc3a9x16==24){return _0x56a1[67];} ;if(_0xc3a9x16==25){return _0x56a1[68];} ;if(_0xc3a9x16==26){return _0x56a1[69];} ;if(_0xc3a9x16==27){return _0x56a1[70];} ;if(_0xc3a9x16==28){return _0x56a1[71];} ;if(_0xc3a9x16==29){return _0x56a1[72];} ;if(_0xc3a9x16==30){return _0x56a1[73];} ;if(_0xc3a9x16==31){return _0x56a1[74];} ;if(_0xc3a9x16==32){return _0x56a1[75];} ;if(_0xc3a9x16==33){return _0x56a1[76];} ;if(_0xc3a9x16==34){return _0x56a1[77];} ;return _0x56a1[9];} ;function GetCostForInputField(_0xc3a9xb,_0xc3a9xc){theval=GetInputField(_0xc3a9xb,_0x56a1[78]+_0xc3a9xc);if(theval==_0x56a1[9]){theval=0;} ;cop=GetInputField(_0x56a1[17],_0x56a1[29]);if(_0xc3a9xc==_0x56a1[79]){return theval*299;} ;if(_0xc3a9xc==_0x56a1[80]){return theval*299;} ;if(_0xc3a9xc==_0x56a1[81]){return theval*299;} ;if(_0xc3a9xc==_0x56a1[82]){return theval*299;} ;if(_0xc3a9xc==_0x56a1[83]){return theval*299;} ;if(_0xc3a9xc==_0x56a1[84]){return theval*299;} ;if(_0xc3a9xc==_0x56a1[85]){return theval*299;} ;if(_0xc3a9xc==_0x56a1[86]){return theval*299;} ;if(_0xc3a9xc==_0x56a1[87]){return theval*299;} ;if(_0xc3a9xc==_0x56a1[88]){return theval*299;} ;if(_0xc3a9xc==_0x56a1[89]){return theval*299;} ;if(_0xc3a9xc==_0x56a1[90]){return theval*299;} ;if(_0xc3a9xc==_0x56a1[91]){return theval*299;} ;if(_0xc3a9xc==_0x56a1[92]){return theval*59;} ;if(_0xc3a9xc==_0x56a1[93]){return theval*299;} ;if(_0xc3a9xc==_0x56a1[94]){return theval*59;} ;if(_0xc3a9xc==_0x56a1[95]){return theval*299;} ;if(_0xc3a9xc==_0x56a1[96]){return theval*59;} ;if(_0xc3a9xc==_0x56a1[97]){return theval*299;} ;if(_0xc3a9xc==_0x56a1[98]){return theval*59;} ;if(_0xc3a9xc==_0x56a1[99]){return theval*299;} ;if(_0xc3a9xc==_0x56a1[100]){return theval*59;} ;if(_0xc3a9xc==_0x56a1[101]){return theval*299;} ;if(_0xc3a9xc==_0x56a1[102]){return theval*59;} ;if(_0xc3a9xc==_0x56a1[103]){return theval*299;} ;if(_0xc3a9xc==_0x56a1[104]){return theval*59;} ;if(_0xc3a9xc==_0x56a1[105]){return theval*299;} ;if(_0xc3a9xc==_0x56a1[106]){return theval*59;} ;if(_0xc3a9xc==_0x56a1[107]){return theval*299;} ;if(_0xc3a9xc==_0x56a1[108]){return theval*59;} ;if(_0xc3a9xc==_0x56a1[109]){return theval*299;} ;if(_0xc3a9xc==_0x56a1[110]){return theval*59;} ;if(_0xc3a9xc==_0x56a1[111]){return theval*59;} ;if(_0xc3a9xc==_0x56a1[112]){return theval*59;} ;if(_0xc3a9xc==_0x56a1[113]){return theval*59;} ;return 0;} ;

