//*****         Copyright 2005-2011 by Markus Mueller, www.s4a.ch, Switzerland        *****
//-----------------------------------------------------------------------------------------
//   All source codes, data, texts, pictures and graphs and their arrangements are subject 
//   to copyright and are the intellectual property of Solution for All Markus Müller. 
//   They may neither be copied for forwarding nor used in an amended form or on other 
//   websites or servers or any kind of electronic device.
//
//   *** (c) This Source-Code might NOT be used without any permission from M. Mueller *** 
//

var _0xd5b5=["\x56\x20\x46\x35\x2E\x31\x35\x20\x30\x37\x2E\x31\x31\x2E\x31\x31","\x20\x2F\x20","\x20\x77\x69\x74\x68\x20","\x6C\x65\x6E\x67\x74\x68","\x20\x4D\x6F\x74\x6F\x72\x73","\x61\x70\x70\x4E\x61\x6D\x65","\x73\x65\x61\x72\x63\x68","\x3F\x65\x76\x61\x6C\x75\x61\x74\x65\x45\x44\x46","\x41\x65\x72\x6F\x6E\x61\x75\x74\x20\x54\x75\x72\x62\x6F\x46\x61\x6E\x20\x34\x30\x30\x30\x20\x28\x31\x32\x30\x6D\x6D\x29","\x2A\x2A\x41\x65\x72\x6F\x6E\x61\x75\x74\x20\x54\x75\x72\x62\x6F\x46\x61\x6E\x20\x38\x30\x30\x30\x20\x28\x31\x34\x35\x6D\x6D\x29","\x2A\x2A\x41\x6C\x66\x61\x20\x45\x44\x46\x20\x36\x30\x2F\x32\x35\x20\x28\x36\x30\x6D\x6D\x29","\x41\x6C\x66\x61\x20\x45\x44\x46\x20\x36\x30\x2F\x20\x4D\x6B\x2E\x20\x49\x49\x20\x28\x36\x30\x6D\x6D\x29","\x2A\x2A\x41\x6D\x61\x63\x6B\x65\x72\x20\x39\x30\x2F\x38\x2F\x35\x32\x20\x28\x39\x30\x6D\x6D\x29","\x41\x6D\x61\x63\x6B\x65\x72\x20\x31\x32\x30\x2F\x34\x2F\x35\x32\x20\x28\x31\x32\x30\x6D\x6D\x29","\x2A\x2A\x20\x44\x65\x69\x73\x73\x20\x4A\x44\x39\x30\x20\x28\x39\x30\x6D\x6D\x29","\x2A\x2A\x20\x44\x65\x69\x73\x73\x20\x4A\x44\x31\x30\x30\x20\x28\x31\x30\x30\x6D\x6D\x29","\x2A\x2A\x20\x44\x65\x69\x73\x73\x20\x4A\x44\x31\x32\x30\x20\x28\x31\x32\x30\x6D\x6D\x29","\x2A\x2A\x20\x44\x79\x6E\x61\x6D\x61\x78\x20\x28\x31\x32\x37\x6D\x6D\x29","\x2A\x2A\x20\x48\x45\x54\x20\x46\x61\x6E\x20\x36\x39\x30\x34\x20\x28\x36\x39\x6D\x6D\x29","\x2A\x2A\x20\x4B\x79\x6F\x73\x68\x6F\x20\x46\x61\x6E\x20\x28\x37\x30\x6D\x6D\x29","\x53\x63\x68\x75\x65\x62\x65\x6C\x65\x72\x20\x44\x53\x2D\x33\x30\x20\x48\x44\x54\x20\x28\x36\x39\x6D\x6D\x29","\x53\x63\x68\x75\x65\x62\x65\x6C\x65\x72\x20\x44\x53\x2D\x33\x30\x2D\x33\x70\x68\x20\x28\x36\x39\x6D\x6D\x29","\x53\x63\x68\x75\x65\x62\x65\x6C\x65\x72\x20\x44\x53\x2D\x35\x31\x20\x48\x44\x54\x20\x28\x39\x30\x6D\x6D\x29","\x53\x63\x68\x75\x65\x62\x65\x6C\x65\x72\x20\x44\x53\x2D\x35\x31\x2D\x33\x70\x68\x20\x28\x39\x30\x6D\x6D\x29","\x53\x63\x68\x75\x65\x62\x65\x6C\x65\x72\x20\x44\x53\x2D\x37\x35\x20\x48\x44\x54\x20\x28\x31\x31\x30\x6D\x6D\x29","\x53\x63\x68\x75\x65\x62\x65\x6C\x65\x72\x20\x44\x53\x2D\x39\x34\x20\x48\x44\x54\x20\x28\x31\x32\x30\x6D\x6D\x29","\x53\x63\x68\x75\x65\x62\x65\x6C\x65\x72\x20\x44\x53\x2D\x39\x34\x2D\x33\x70\x68\x20\x28\x31\x32\x30\x6D\x6D\x29","\x2A\x2A\x20\x53\x63\x68\x75\x65\x62\x65\x6C\x65\x72\x20\x44\x53\x2D\x39\x34\x20\x48\x53\x54\x20\x28\x31\x32\x38\x6D\x6D\x29","\x2A\x2A\x20\x53\x63\x6F\x72\x70\x69\x6F\x20\x46\x61\x6E\x74\x65\x78\x20\x34\x78\x78\x20\x28\x36\x30\x6D\x6D\x29","\x2A\x2A\x20\x53\x63\x6F\x72\x70\x69\x6F\x20\x46\x61\x6E\x74\x65\x78\x20\x36\x78\x78\x20\x28\x37\x36\x6D\x6D\x29","\x53\x74\x75\x4D\x61\x78\x20\x53\x4D\x31\x31\x30\x2D\x35\x32\x20\x28\x31\x31\x30\x6D\x6D\x29","\x2A\x2A\x53\x74\x75\x4D\x61\x78\x20\x53\x4D\x31\x31\x30\x2D\x34\x35\x20\x28\x31\x31\x30\x6D\x6D\x29","\x2A\x2A\x54\x61\x6D\x6A\x65\x74\x73\x20\x54\x4A\x31\x30\x30\x20\x28\x31\x30\x30\x6D\x6D\x29","\x56\x61\x73\x61\x20\x36\x35\x20\x28\x36\x35\x6D\x6D\x29","\x56\x65\x6C\x6F\x63\x69\x74\x79\x2D\x52\x43\x20\x57\x4D\x34\x30\x30\x20\x28\x36\x39\x6D\x6D\x29","\x2A\x2A\x57\x65\x6D\x6F\x54\x65\x63\x20\x4D\x69\x6E\x69\x46\x61\x6E\x20\x50\x72\x6F\x20\x28\x36\x39\x6D\x6D\x29","\x57\x65\x6D\x6F\x54\x65\x63\x20\x4D\x69\x6E\x69\x46\x61\x6E\x20\x34\x38\x30\x20\x28\x36\x39\x6D\x6D\x29","\x57\x65\x6D\x6F\x54\x65\x63\x20\x4D\x69\x64\x69\x46\x61\x6E\x20\x28\x39\x30\x6D\x6D\x29","\x2A\x2A\x20\x57\x65\x6D\x6F\x54\x65\x63\x20\x48\x57\x36\x30\x39\x20\x28\x37\x35\x6D\x6D\x29","\x2A\x2A\x20\x57\x65\x6D\x6F\x54\x65\x63\x20\x48\x57\x36\x32\x30\x20\x28\x38\x35\x6D\x6D\x29","\x2A\x2A\x20\x57\x65\x6D\x6F\x54\x65\x63\x20\x48\x57\x37\x33\x30\x20\x28\x31\x30\x36\x6D\x6D\x29","\x57\x65\x6D\x6F\x54\x65\x63\x20\x48\x57\x37\x35\x30\x20\x28\x31\x32\x35\x6D\x6D\x29","\x63\x65\x6C\x6C\x74\x79\x70\x65","\x6F\x70\x74\x69\x6F\x6E\x73","\x20\x2D\x20","\x2F","\x43","\x63\x6F\x6E\x74\x74\x79\x70\x65","\x76\x61\x6C\x75\x65","\x73\x65\x6C\x65\x63\x74\x65\x64\x49\x6E\x64\x65\x78","\x68\x65\x72\x73\x74\x65\x6C\x6C\x65\x72","\x70\x72\x6F\x70\x74\x79\x70\x65","","\x74\x65\x78\x74","\x20","\x6D\x65\x74\x72\x69\x63","\x41","\x57","\x73\x71\x72\x74","\x69\x6E\x70\x75\x74\x66\x6F\x72\x6D","\x70\x6F\x77","\x75\x6E\x64\x65\x66\x2E","\x6F\x75\x74\x49\x6D\x6F\x74\x6F\x72","\x6F\x75\x74\x50\x72\x6F\x70\x53\x54\x68\x72\x75\x73\x74\x49\x6D\x70","\x6F\x75\x74\x50\x72\x6F\x70\x53\x54\x68\x72\x75\x73\x74\x46\x6C\x69\x67\x68\x74\x49\x6D\x70","\x6F\x75\x74\x50\x69\x74\x63\x68\x53\x70\x65\x65\x64\x49\x6D\x70","\x6F\x75\x74\x50\x69\x74\x63\x68\x53\x70\x65\x65\x64\x6D\x73\x49\x6D\x70","\x6F\x75\x74\x46\x61\x6E\x45\x66\x66\x49\x6D\x70","\x63\x6F\x6C\x6F\x72","\x73\x74\x79\x6C\x65","\x69\x6D\x70\x65\x72\x69\x61\x6C","\x52\x65\x73\x49\x4D\x61\x78","\x75\x6E\x69\x74\x73","\x69\x6E\x6E\x65\x72\x48\x54\x4D\x4C","\x6C\x62\x53\x65\x61\x4C\x65\x76\x65\x6C","\x67\x65\x74\x45\x6C\x65\x6D\x65\x6E\x74\x42\x79\x49\x64","\x66\x74\x20\x41\x53\x4C","\x6C\x62\x54\x65\x6D\x70","\xB0\x46","\x6C\x62\x50\x72\x65\x73\x73","\x69\x6E\x48\x67","\x6C\x62\x43\x65\x6C\x6C\x57\x74","\x6F\x7A","\x6C\x62\x52\x65\x73\x57\x74","\x6C\x62\x4D\x6F\x74\x6F\x72\x4C\x65\x6E","\x69\x6E","\x6C\x62\x4D\x6F\x74\x6F\x72\x57\x74","\x6C\x62\x46\x6C\x69\x67\x68\x74\x53\x70\x65\x65\x64","\x6D\x70\x68","\x6C\x62\x42\x61\x74\x57\x74","\x6C\x62\x44\x72\x69\x76\x65\x57\x74","\x65\x6C\x65\x76\x61\x74\x69\x6F\x6E","\x74\x65\x6D\x70","\x71\x6E\x68","\x66\x6C\x69\x67\x68\x74\x73\x70\x65\x65\x64","\x6D\x20\x41\x53\x4C","\xB0\x43","\x68\x50\x61","\x67","\x6D\x6D","\x6B\x6D\x2F\x68","\x3C\x74\x72\x3E","\x77\x72\x69\x74\x65\x6C\x6E","\x3C\x74\x64\x20\x63\x6C\x61\x73\x73\x3D\x27\x69\x6E\x70\x75\x74\x27\x20\x76\x61\x6C\x69\x67\x6E\x3D\x27\x74\x6F\x70\x27\x20\x61\x6C\x69\x67\x6E\x3D\x27\x6C\x65\x66\x74\x27\x20\x6E\x6F\x77\x72\x61\x70\x3E\x3C\x2F\x74\x64\x3E","\x3C\x74\x64\x20\x63\x6C\x61\x73\x73\x3D\x27\x69\x6E\x70\x75\x74\x27\x20\x76\x61\x6C\x69\x67\x6E\x3D\x27\x74\x6F\x70\x27\x20\x61\x6C\x69\x67\x6E\x3D\x27\x6C\x65\x66\x74\x27\x20\x6E\x6F\x77\x72\x61\x70\x3E\x44\x75\x72\x63\x68\x6D\x65\x73\x73\x65\x72\x3A\x3C\x62\x72\x3E\x3C\x49\x4E\x50\x55\x54\x20\x6F\x6E\x63\x68\x61\x6E\x67\x65\x3D\x6D\x6F\x74\x6F\x72\x63\x61\x6C\x63\x73\x28\x29\x20\x73\x69\x7A\x65\x3D\x35\x20\x6E\x61\x6D\x65\x3D\x70\x72\x6F\x70\x64\x69\x61\x6D\x65\x74\x65\x72\x3E\x20\x69\x6E\x63\x68\x65\x73\x20\x3C\x2F\x74\x64\x3E","\x3C\x74\x64\x20\x63\x6C\x61\x73\x73\x3D\x27\x69\x6E\x70\x75\x74\x27\x20\x76\x61\x6C\x69\x67\x6E\x3D\x27\x74\x6F\x70\x27\x20\x61\x6C\x69\x67\x6E\x3D\x27\x6C\x65\x66\x74\x27\x20\x6E\x6F\x77\x72\x61\x70\x3E\x50\x69\x74\x63\x68\x3A\x3C\x62\x72\x3E\x3C\x49\x4E\x50\x55\x54\x20\x6F\x6E\x63\x68\x61\x6E\x67\x65\x3D\x6D\x6F\x74\x6F\x72\x63\x61\x6C\x63\x73\x28\x29\x20\x73\x69\x7A\x65\x3D\x35\x20\x6E\x61\x6D\x65\x3D\x70\x72\x6F\x70\x70\x69\x74\x63\x68\x3E\x20\x69\x6E\x63\x68\x65\x73\x3C\x2F\x74\x64\x3E","\x3C\x74\x64\x20\x63\x6C\x61\x73\x73\x3D\x27\x69\x6E\x70\x75\x74\x27\x20\x76\x61\x6C\x69\x67\x6E\x3D\x27\x74\x6F\x70\x27\x20\x61\x6C\x69\x67\x6E\x3D\x27\x6C\x65\x66\x74\x27\x20\x6E\x6F\x77\x72\x61\x70\x3E\x41\x6E\x7A\x61\x68\x6C\x20\x42\x6C\xE4\x74\x74\x65\x72\x3A\x3C\x62\x72\x3E\x3C\x49\x4E\x50\x55\x54\x20\x6F\x6E\x63\x68\x61\x6E\x67\x65\x3D\x6D\x6F\x74\x6F\x72\x63\x61\x6C\x63\x73\x28\x29\x20\x73\x69\x7A\x65\x3D\x35\x20\x76\x61\x6C\x75\x65\x3D\x32\x20\x6E\x61\x6D\x65\x3D\x70\x72\x6F\x70\x62\x6C\x61\x64\x65\x73\x3E\x20\x3C\x2F\x74\x64\x3E","\x3C\x74\x64\x20\x63\x6C\x61\x73\x73\x3D\x27\x69\x6E\x70\x75\x74\x27\x20\x76\x61\x6C\x69\x67\x6E\x3D\x27\x74\x6F\x70\x27\x20\x61\x6C\x69\x67\x6E\x3D\x27\x6C\x65\x66\x74\x27\x20\x6E\x6F\x77\x72\x61\x70\x3E\x50\x72\x6F\x70\x20\x4B\x6F\x6E\x73\x74\x2E\x3C\x62\x72\x3E\x3C\x49\x4E\x50\x55\x54\x20\x6F\x6E\x63\x68\x61\x6E\x67\x65\x3D\x6D\x6F\x74\x6F\x72\x63\x61\x6C\x63\x73\x28\x29\x20\x73\x69\x7A\x65\x3D\x35\x20\x76\x61\x6C\x75\x65\x3D\x31\x2E\x33\x31\x20\x6E\x61\x6D\x65\x3D\x70\x72\x6F\x70\x63\x6F\x6E\x73\x74\x3E\x20\x3C\x2F\x74\x64\x3E","\x3C\x74\x64\x20\x63\x6C\x61\x73\x73\x3D\x27\x69\x6E\x70\x75\x74\x27\x20\x76\x61\x6C\x69\x67\x6E\x3D\x27\x74\x6F\x70\x27\x20\x61\x6C\x69\x67\x6E\x3D\x27\x6C\x65\x66\x74\x27\x20\x6E\x6F\x77\x72\x61\x70\x3E\x45\x66\x66\x69\x7A\x65\x6E\x7A\x3A\x3C\x62\x72\x3E\x3C\x49\x4E\x50\x55\x54\x20\x6F\x6E\x63\x68\x61\x6E\x67\x65\x3D\x6D\x6F\x74\x6F\x72\x63\x61\x6C\x63\x73\x28\x29\x20\x73\x69\x7A\x65\x3D\x35\x20\x76\x61\x6C\x75\x65\x3D\x30\x2E\x37\x20\x6E\x61\x6D\x65\x3D\x70\x72\x6F\x70\x45\x66\x66\x3E\x20\x3C\x2F\x74\x64\x3E","\x3C\x74\x64\x20\x63\x6C\x61\x73\x73\x3D\x27\x69\x6E\x70\x75\x74\x27\x20\x76\x61\x6C\x69\x67\x6E\x3D\x27\x62\x6F\x74\x74\x6F\x6D\x27\x20\x61\x6C\x69\x67\x6E\x3D\x27\x6C\x65\x66\x74\x27\x20\x6E\x6F\x77\x72\x61\x70\x3E\x31\x30\x30\x25\x20\x46\x53\x41\x3A\x3C\x62\x72\x3E\x3C\x49\x4E\x50\x55\x54\x20\x6F\x6E\x63\x68\x61\x6E\x67\x65\x3D\x6D\x6F\x74\x6F\x72\x63\x61\x6C\x63\x73\x28\x29\x20\x73\x69\x7A\x65\x3D\x35\x20\x76\x61\x6C\x75\x65\x3D\x30\x20\x6E\x61\x6D\x65\x3D\x46\x53\x41\x3E\x20\x63\x6D\x3C\x73\x75\x70\x3E\x32\x3C\x2F\x73\x75\x70\x3E\x20\x3C\x2F\x74\x64\x3E","\x3C\x2F\x74\x72\x3E","\x3C\x49\x4E\x50\x55\x54\x20\x74\x79\x70\x65\x3D\x68\x69\x64\x64\x65\x6E\x20\x73\x69\x7A\x65\x3D\x35\x20\x6E\x61\x6D\x65\x3D\x70\x72\x6F\x70\x64\x69\x61\x6D\x65\x74\x65\x72\x3E","\x3C\x49\x4E\x50\x55\x54\x20\x74\x79\x70\x65\x3D\x68\x69\x64\x64\x65\x6E\x20\x73\x69\x7A\x65\x3D\x35\x20\x6E\x61\x6D\x65\x3D\x70\x72\x6F\x70\x70\x69\x74\x63\x68\x3E","\x3C\x49\x4E\x50\x55\x54\x20\x74\x79\x70\x65\x3D\x68\x69\x64\x64\x65\x6E\x20\x73\x69\x7A\x65\x3D\x35\x20\x76\x61\x6C\x75\x65\x3D\x32\x20\x6E\x61\x6D\x65\x3D\x70\x72\x6F\x70\x62\x6C\x61\x64\x65\x73\x3E","\x3C\x49\x4E\x50\x55\x54\x20\x74\x79\x70\x65\x3D\x68\x69\x64\x64\x65\x6E\x20\x73\x69\x7A\x65\x3D\x35\x20\x76\x61\x6C\x75\x65\x3D\x31\x2E\x33\x31\x20\x6E\x61\x6D\x65\x3D\x70\x72\x6F\x70\x63\x6F\x6E\x73\x74\x3E","\x3C\x49\x4E\x50\x55\x54\x20\x74\x79\x70\x65\x3D\x68\x69\x64\x64\x65\x6E\x20\x73\x69\x7A\x65\x3D\x35\x20\x76\x61\x6C\x75\x65\x3D\x30\x2E\x37\x20\x6E\x61\x6D\x65\x3D\x70\x72\x6F\x70\x45\x66\x66\x3E","\x3C\x49\x4E\x50\x55\x54\x20\x74\x79\x70\x65\x3D\x68\x69\x64\x64\x65\x6E\x20\x73\x69\x7A\x65\x3D\x35\x20\x76\x61\x6C\x75\x65\x3D\x30\x20\x6E\x61\x6D\x65\x3D\x46\x53\x41\x3E"];var theVersion=_0xd5b5[0]+_0xd5b5[1]+dataVersion+_0xd5b5[2]+motorArray[_0xd5b5[3]]+_0xd5b5[4];var evaluateEDF=false;var withAirData=true;var browserName=navigator[_0xd5b5[5]];var actFSA;var FSAerror;var accuChargeState=1;var maxTkg1Iteration;if(location[_0xd5b5[6]]==_0xd5b5[7]){evaluateEDF=true;} ;var fanArray=[[_0xd5b5[8],5.23,14.1,5,1.32,0.71,88.50],[_0xd5b5[9],6.9,15,5,1.2,0.72,131.90],[_0xd5b5[10],2.9,4.4,5,1.1,0.65,21.21],[_0xd5b5[11],2.7,4,3,1.3,0.65,21.21],[_0xd5b5[12],4.45,7.5,8,1.27,0.7,51],[_0xd5b5[13],5.95,10.3,5,1.16,0.67,90.19],[_0xd5b5[14],4.4,7.8,4,1.22,0.66,52.27],[_0xd5b5[15],4.77,9.7,4,1.32,0.68,67.20],[_0xd5b5[16],5.25,12.8,6,1.32,0.66,94.05],[_0xd5b5[17],7.15,4.12,11,1.2,0.72,98.1],[_0xd5b5[18],3.21,6.3,4,1.32,0.66,29.23],[_0xd5b5[19],3.05,7.7,5,1.5,0.60,36.05],[_0xd5b5[20],3.4,6.3,3,1.32,0.69,29.58],[_0xd5b5[21],3.4,6.3,3,1.32,0.69,29.58],[_0xd5b5[22],4.45,8,4,1.3,0.74,50.93],[_0xd5b5[23],4.45,8,4,1.3,0.74,50.93],[_0xd5b5[24],5.6,9.5,4,1.25,0.74,75.39],[_0xd5b5[25],5.78,10,4,1.25,0.76,92.78],[_0xd5b5[26],5.78,10,4,1.25,0.76,92.78],[_0xd5b5[27],7,6.3,12,1.18,0.71,94],[_0xd5b5[28],2.6,6.9,5,1.85,0.56,0],[_0xd5b5[29],3.2,8.12,5,1.3,0.58,41.24],[_0xd5b5[30],6.83,4,12,1.05,0.72,73.80],[_0xd5b5[31],5.6,9.5,4,1.25,0.72,73.13],[_0xd5b5[32],5.45,4.7,4,1.02,0.74,61.42],[_0xd5b5[33],2.71,7.12,6,1.45,0.64,25.92],[_0xd5b5[34],5.28,1.5,3,1.07,0.82,30.44],[_0xd5b5[35],2.82,6.88,5,1.28,0.67,29.16],[_0xd5b5[36],2.9,6.88,5,1.5,0.64,29.16],[_0xd5b5[37],4.45,6.1,6,1.3,0.63,51.74],[_0xd5b5[38],3.96,5,6,1.65,0.63,31.94],[_0xd5b5[39],4.35,5.55,6,1.4,0.63,45.50],[_0xd5b5[40],5.4,12,5,1.3,0.51,67.0],[_0xd5b5[41],6.25,12,5,1.21,0.55,98.23]];function loadDropDown(_0x3f29xb){var _0x3f29xc=_0x3f29xb[_0xd5b5[42]];var _0x3f29xd,_0x3f29xe;for(_0x3f29xd=0;_0x3f29xd<cellArray[_0xd5b5[3]];_0x3f29xd++){_0x3f29xe=cellArray[_0x3f29xd];_0x3f29xc[_0xd5b5[43]][_0x3f29xd+1]= new Option(_0x3f29xe[0]+_0xd5b5[44]+_0x3f29xe[4]+_0xd5b5[45]+_0x3f29xe[5]+_0xd5b5[46],_0x3f29xd+1,false,false);} ;_0x3f29xc=_0x3f29xb[_0xd5b5[47]];for(_0x3f29xd=0;_0x3f29xd<controlerArray[_0xd5b5[3]];_0x3f29xd++){_0x3f29xe=controlerArray[_0x3f29xd];_0x3f29xc[_0xd5b5[43]][_0x3f29xd+1]= new Option(_0x3f29xe[0],_0x3f29xd+1,false,false);} ;if(_0x3f29xb[_0xd5b5[50]][_0x3f29xb[_0xd5b5[50]][_0xd5b5[49]]][_0xd5b5[48]]>=0){loadMotorTyps(_0x3f29xb);} ;_0x3f29xc=_0x3f29xb[_0xd5b5[51]];for(_0x3f29xd=0;_0x3f29xd<fanArray[_0xd5b5[3]];_0x3f29xd++){_0x3f29xe=fanArray[_0x3f29xd];_0x3f29xc[_0xd5b5[43]][_0x3f29xd+1]= new Option(_0x3f29xe[0],_0x3f29xd+1,false,false);} ;} ;function electriccalcs(){with(document[_0xd5b5[59]]){if(celltype[_0xd5b5[49]]>0){Akku[_0xd5b5[48]]=cellArray[celltype[_0xd5b5[49]]-1][0];} else {Akku[_0xd5b5[48]]=_0xd5b5[52];} ;Regler[_0xd5b5[48]]=conttype[_0xd5b5[43]][conttype[_0xd5b5[49]]][_0xd5b5[53]];Motor[_0xd5b5[48]]=hersteller[_0xd5b5[43]][hersteller[_0xd5b5[49]]][_0xd5b5[53]]+_0xd5b5[54]+motortyp[_0xd5b5[43]][motortyp[_0xd5b5[49]]][_0xd5b5[53]];Prop[_0xd5b5[48]]=proptype[_0xd5b5[43]][proptype[_0xd5b5[49]]][_0xd5b5[53]];if(numcells[_0xd5b5[48]]<=1){numcells[_0xd5b5[48]]=1;} ;if(cellsparallel[_0xd5b5[48]]<=1){cellsparallel[_0xd5b5[48]]=1;} ;if(Vcell[_0xd5b5[48]]<=0.5){Vcell[_0xd5b5[48]]=0.5;} ;if(Resc[_0xd5b5[48]]<=0){Resc[_0xd5b5[48]]=0;} ;if((1*outLimit[_0xd5b5[48]])<(1*outIo[_0xd5b5[48]])){outLimit[_0xd5b5[48]]=outIo[_0xd5b5[48]];} ;TheCellNum=GetSelectValue(celltype)-1;if(TheCellNum>=0){TheCellRc=cellArray[TheCellNum][2];TheCellCap=cellArray[TheCellNum][1];TheCellWeight=cellArray[TheCellNum][3];TheCellMaxC=cellArray[TheCellNum][5];TheCellV=cellArray[TheCellNum][6];outRc[_0xd5b5[48]]=TheCellRc;outCellCap[_0xd5b5[48]]=TheCellCap*cellsparallel[_0xd5b5[48]];if(TheUnits==_0xd5b5[55]){outCellOz[_0xd5b5[48]]=TheCellWeight;} else {outCellOz[_0xd5b5[48]]=round(TheCellWeight/28.35,2);} ;Vcell[_0xd5b5[48]]=TheCellV;} ;TheContNum=GetSelectValue(conttype)-1;if(TheContNum>=0){Resc[_0xd5b5[48]]=controlerArray[TheContNum][1];if(TheUnits==_0xd5b5[55]){ResWt[_0xd5b5[48]]=controlerArray[TheContNum][2];} else {ResWt[_0xd5b5[48]]=round(controlerArray[TheContNum][2]/28.35,2);} ;ResI[_0xd5b5[48]]=controlerArray[TheContNum][3];ResIMax[_0xd5b5[48]]=controlerArray[TheContNum][4];} ;TheCellCap=outCellCap[_0xd5b5[48]];TheCellWeight=outCellOz[_0xd5b5[48]];outPackOz[_0xd5b5[48]]=round(TheCellWeight*numcells[_0xd5b5[48]]*cellsparallel[_0xd5b5[48]],3);outPackV[_0xd5b5[48]]=round(Vcell[_0xd5b5[48]]*numcells[_0xd5b5[48]],2);TheMotorNum=GetSelectValue(motortyp);if(TheMotorNum>0){TheMotorNoLoad=MotorNoLoad[TheMotorNum];TheMotorNoLoadVoltage=MotorNoLoadVoltage[TheMotorNum];TheMotorPols=MotorPols[TheMotorNum];TheMotorKv=MotorConsts[TheMotorNum];if(hersteller[_0xd5b5[43]][hersteller[_0xd5b5[49]]][_0xd5b5[48]]==20){TheMotorKv=round((TheMotorKv/0.95),0);} ;TheMotorRes=round(MotorRes[TheMotorNum]/1000,5);TheMotorLength=MotorLength[TheMotorNum];TheMotorLimit=MotorLimit[TheMotorNum];TheMotorLimitTyp=MotorLimitTyp[TheMotorNum];TheMotorKt=1352/TheMotorKv;if(TheUnits==_0xd5b5[55]){outMotoroz[_0xd5b5[48]]=MotorWeight[TheMotorNum];} else {outMotoroz[_0xd5b5[48]]=round(MotorWeight[TheMotorNum]/28.35,2);} ;} else {TheMotorNoLoad=outIo[_0xd5b5[48]];TheMotorNoLoadVoltage=1*outUIo[_0xd5b5[48]];TheMotorPols=1*outPols[_0xd5b5[48]];TheMotorKv=outKv[_0xd5b5[48]];TheMotorRes=outRm[_0xd5b5[48]];if(TheUnits==_0xd5b5[55]){TheMotorLength=outLength[_0xd5b5[48]];} else {TheMotorLength=25.4*outLength[_0xd5b5[48]];} ;TheMotorLimit=outLimit[_0xd5b5[48]];TheMotorLimitTyp=outLimitTyp[_0xd5b5[43]][outLimitTyp[_0xd5b5[49]]][_0xd5b5[48]];TheMotorKt=1352/TheMotorKv;} ;outKv[_0xd5b5[48]]=TheMotorKv;outKt[_0xd5b5[48]]=TheMotorKt;outRm[_0xd5b5[48]]=TheMotorRes;outIo[_0xd5b5[48]]=TheMotorNoLoad;outUIo[_0xd5b5[48]]=TheMotorNoLoadVoltage;outPols[_0xd5b5[48]]=TheMotorPols;outLimit[_0xd5b5[48]]=TheMotorLimit;if(TheMotorLimitTyp==_0xd5b5[56]){outLimitTyp[_0xd5b5[49]]=0;} ;if(TheMotorLimitTyp==_0xd5b5[57]){outLimitTyp[_0xd5b5[49]]=1;} ;if(TheUnits==_0xd5b5[55]){outLength[_0xd5b5[48]]=TheMotorLength;} else {outLength[_0xd5b5[48]]=round(TheMotorLength/25.4,2);} ;TempFELoss=(accuChargeState*Vcell[_0xd5b5[48]]*numcells[_0xd5b5[48]]*TheMotorNoLoad);TempIMaxEff=round(Math[_0xd5b5[58]](TempFELoss/TheMotorRes),2);TempVoltsToMotorMaxEff=(accuChargeState*Vcell[_0xd5b5[48]]*numcells[_0xd5b5[48]])-((outRc[_0xd5b5[48]]*numcells[_0xd5b5[48]]/cellsparallel[_0xd5b5[48]]*TempIMaxEff)+(Resc[_0xd5b5[48]]*TempIMaxEff));TempIoEstimate=GetIo(TempVoltsToMotorMaxEff,TempIMaxEff);FELoss=TempVoltsToMotorMaxEff*TempIoEstimate;IMaxEff=round(Math[_0xd5b5[58]](FELoss/TheMotorRes),2);VoltsToMotorMaxEff=(accuChargeState*Vcell[_0xd5b5[48]]*numcells[_0xd5b5[48]])-((outRc[_0xd5b5[48]]*numcells[_0xd5b5[48]]/cellsparallel[_0xd5b5[48]]*IMaxEff)+(Resc[_0xd5b5[48]]*IMaxEff));IoEstimate=GetIo(VoltsToMotorMaxEff,IMaxEff);WInMaxEff=round(VoltsToMotorMaxEff*IMaxEff,2);WOutMaxEff=round((VoltsToMotorMaxEff-TheMotorRes*IMaxEff)*(IMaxEff-IoEstimate),2);PctMaxEff=round((WOutMaxEff/WInMaxEff)*100,1);outIEff[_0xd5b5[48]]=IMaxEff;outVEff[_0xd5b5[48]]=round(VoltsToMotorMaxEff,2);outRPMEff[_0xd5b5[48]]=round(TheMotorKv*(VoltsToMotorMaxEff-(IMaxEff*TheMotorRes)),0);outWinEff[_0xd5b5[48]]=WInMaxEff;outWoutEff[_0xd5b5[48]]=WOutMaxEff;outPctMaxEff[_0xd5b5[48]]=PctMaxEff;} ;} ;function propcalcs(){with(document[_0xd5b5[59]]){ThePropNum=GetSelectValue(proptype)-1;if(ThePropNum>=0){propdiameter[_0xd5b5[48]]=fanArray[ThePropNum][1];proppitch[_0xd5b5[48]]=fanArray[ThePropNum][2];propblades[_0xd5b5[48]]=fanArray[ThePropNum][3];propconst[_0xd5b5[48]]=fanArray[ThePropNum][4];propEff[_0xd5b5[48]]=fanArray[ThePropNum][5];FSA[_0xd5b5[48]]=fanArray[ThePropNum][6];} ;if(propconst[_0xd5b5[48]]<=0){propconst[_0xd5b5[48]]=1.31;} ;if(propblades[_0xd5b5[48]]<=0){propblades[_0xd5b5[48]]=2;} ;effdiameter=propdiameter[_0xd5b5[48]]*Math[_0xd5b5[60]](propblades[_0xd5b5[48]]/2,0.2);outEffDiameter[_0xd5b5[48]]=round(effdiameter,2);TheDuctTyp=GetSelectValue(ducttyp);if(TheDuctTyp==0){actFSA=1*duct[_0xd5b5[48]];} ;if(TheDuctTyp==1){actFSA=(100*duct[_0xd5b5[48]])/20*duct[_0xd5b5[48]]/20*3.1416/FSA[_0xd5b5[48]];} ;if(TheDuctTyp==2){actFSA=(100*duct[_0xd5b5[48]])/FSA[_0xd5b5[48]];} ;if(TheDuctTyp==3){actFSA=(100*duct[_0xd5b5[48]]*25.4)/20*duct[_0xd5b5[48]]*25.4/20*3.1416/FSA[_0xd5b5[48]];} ;if(TheDuctTyp==4){actFSA=(100*duct[_0xd5b5[48]]*6.4516)/FSA[_0xd5b5[48]];} ;FSAerror=actFSA;if(actFSA>100){actFSA=100;} ;if(actFSA<60){actFSA=60;} ;} ;} ;function CalcPropMotorCurrent(_0x3f29x12){with(document[_0xd5b5[59]]){effdiameter=1*outEffDiameter[_0xd5b5[48]];MotorIo=1*outIo[_0xd5b5[48]];MotorIoVoltage=1*outUIo[_0xd5b5[48]];MotorKv=1*outKv[_0xd5b5[48]];MotorRm=1*outRm[_0xd5b5[48]];if(_0x3f29x12==0){if(effdiameter<=0||proppitch[_0xd5b5[48]]<=0){VoltsToMotor=(accuChargeState*Vcell[_0xd5b5[48]]*numcells[_0xd5b5[48]])-((1*outRc[_0xd5b5[48]]*numcells[_0xd5b5[48]]/cellsparallel[_0xd5b5[48]]*MotorIo)+(Resc[_0xd5b5[48]]*MotorIo));_0x3f29x12=GetIo(VoltsToMotor,MotorIo);} else {tempg=propconst[_0xd5b5[48]]*Math[_0xd5b5[60]](effdiameter,4)*proppitch[_0xd5b5[48]]*(Math[_0xd5b5[60]](12,-5)*1E-9)*Math[_0xd5b5[60]]((MotorKv/gearratio[_0xd5b5[48]]),3);tempr=(outRc[_0xd5b5[48]]*numcells[_0xd5b5[48]]/cellsparallel[_0xd5b5[48]])+(1*Resc[_0xd5b5[48]])+(1*MotorRm);Vbatt=accuChargeState*Vcell[_0xd5b5[48]]*numcells[_0xd5b5[48]];IoEstimate=GetIo(1*outVEff[_0xd5b5[48]],1*outIEff[_0xd5b5[48]]);tempb=(-2*tempr*Vbatt-1/tempg)/(tempr*tempr);tempc=(Math[_0xd5b5[60]](Vbatt,2)+IoEstimate/tempg)/(tempr*tempr);if(tempb*tempb/4>tempc){tempz=Math[_0xd5b5[58]](Math[_0xd5b5[60]](tempb,2)/4-tempc);tempi1=-tempb/2+tempz;tempi2=-tempb/2-tempz;if(tempi2>0){_0x3f29x12=tempi2;} else {_0x3f29x12=tempi1;} ;} else {_0x3f29x12=0;} ;} ;} ;outImotor[_0xd5b5[48]]=round(_0x3f29x12,2);outMaxC[_0xd5b5[48]]=round((_0x3f29x12/outCellCap[_0xd5b5[48]]*1000),1);outPackVeff[_0xd5b5[48]]=round((accuChargeState*outPackV[_0xd5b5[48]])-(_0x3f29x12*outRc[_0xd5b5[48]]*numcells[_0xd5b5[48]]/cellsparallel[_0xd5b5[48]]),2);outDuration[_0xd5b5[48]]=round(((outCellCap[_0xd5b5[48]]/1000)/_0x3f29x12)*60,2);outDurationMix[_0xd5b5[48]]=round(((outCellCap[_0xd5b5[48]]/1000)*0.85*120/_0x3f29x12),2);} ;} ;function CalcMotorValues(_0x3f29x14){with(document[_0xd5b5[59]]){MotorIo=1*outIo[_0xd5b5[48]];MotorIoVoltage=1*outUIo[_0xd5b5[48]];MotorKv=1*outKv[_0xd5b5[48]];MotorRm=1*outRm[_0xd5b5[48]];VoltsToMotor=(accuChargeState*Vcell[_0xd5b5[48]]*numcells[_0xd5b5[48]])-((1*outRc[_0xd5b5[48]]*numcells[_0xd5b5[48]]/cellsparallel[_0xd5b5[48]]*outImotor[_0xd5b5[48]])+(Resc[_0xd5b5[48]]*outImotor[_0xd5b5[48]]));MotorRPM=MotorKv*(VoltsToMotor-(outImotor[_0xd5b5[48]]*MotorRm));IoEstimate=GetIo(VoltsToMotor,1*outImotor[_0xd5b5[48]]);WattsIn=round(VoltsToMotor*outImotor[_0xd5b5[48]],2);WattsOut=round((VoltsToMotor-MotorRm*outImotor[_0xd5b5[48]])*(1*outImotor[_0xd5b5[48]]-IoEstimate),2);PctEff=round((WattsOut/WattsIn)*100,1);Pin=1*outImotor[_0xd5b5[48]]*accuChargeState*outPackV[_0xd5b5[48]];Pout=WattsOut;TotEff=Pout/Pin;outVmotor[_0xd5b5[48]]=round(VoltsToMotor,2);outWin[_0xd5b5[48]]=WattsIn;outWout[_0xd5b5[48]]=WattsOut;outPctEff[_0xd5b5[48]]=PctEff;outRPM[_0xd5b5[48]]=round(MotorRPM,0);outPin[_0xd5b5[48]]=round(Pin,2);outPout[_0xd5b5[48]]=round(Pout,2);outTotEff[_0xd5b5[48]]=round((PctEff*propEff[_0xd5b5[48]]),1);effdiameter=outEffDiameter[_0xd5b5[48]];if(gearratio[_0xd5b5[48]]<=0){gearratio[_0xd5b5[48]]=1;} ;proprpm=MotorRPM/gearratio[_0xd5b5[48]];Propwatts=propconst[_0xd5b5[48]]*Math[_0xd5b5[60]](effdiameter/12,4)*(proppitch[_0xd5b5[48]]/12)*Math[_0xd5b5[60]](proprpm/1000,3);HP=Propwatts/745.699871582;Pitchspeed=proprpm*proppitch[_0xd5b5[48]]/1056;ThrustatSpeed=16*375*Propwatts/(746*Pitchspeed);Tgrams=proppitch[_0xd5b5[48]]*Math[_0xd5b5[60]](effdiameter,3)*Math[_0xd5b5[60]](proprpm/1000,2)*28.3*0.981/10000;Tkg=Tgrams/1000;Tn=Tkg*9.81;maxTkg=Tgrams*propEff[_0xd5b5[48]]/1000;if(_0x3f29x14==1){maxTkg1Iteration=maxTkg;} else {maxTkg=maxTkg1Iteration;} ;maxTn=maxTkg*9.81;vs100FSA=Math[_0xd5b5[58]](maxTn*10000/airdensity/FSA[_0xd5b5[48]]);vsActFSA=Math[_0xd5b5[58]](maxTn*10000/airdensity/FSA[_0xd5b5[48]]/actFSA*100);actTkg=maxTkg*vs100FSA/Math[_0xd5b5[58]](maxTn*10000/airdensity/FSA[_0xd5b5[48]]/actFSA*100)*airdensity/stdAirdensity;actMassendurchsatz=actTkg*1000/vsActFSA;Tlbs=Tn/4.44822161526;StaticToz=Tlbs*16;outPropRpm[_0xd5b5[48]]=round(proprpm,0);outPropThrust[_0xd5b5[48]]=round((ThrustatSpeed*28.35),1);ThePropNum=GetSelectValue(proptype)-1;if((1*FSA[_0xd5b5[48]])>0){outPropSThrust[_0xd5b5[48]]=round(actTkg*1000,0);outPropSThrustN[_0xd5b5[48]]=round(actTkg*9.81,2);outPitchSpeed[_0xd5b5[48]]=round((vsActFSA*3.6),0);outPitchSpeedms[_0xd5b5[48]]=round((vsActFSA),1);outPropSThrustFlight[_0xd5b5[48]]=round((actMassendurchsatz*(vsActFSA-(flightspeed[_0xd5b5[48]]/3.6))),0);if((1*outPropSThrustFlight[_0xd5b5[48]])<0){outPropSThrustFlight[_0xd5b5[48]]=0;} ;if(_0x3f29x14==1){outImotor[_0xd5b5[48]]=round((outImotor[_0xd5b5[48]]*Math[_0xd5b5[58]](maxTn*10000/airdensity/FSA[_0xd5b5[48]]/actFSA*100)/vs100FSA*airdensity/stdAirdensity),3);} ;} else {outPropSThrust[_0xd5b5[48]]=round(maxTkg*1000,0);outPropSThrustN[_0xd5b5[48]]=round(maxTkg*9.81,2);outPitchSpeed[_0xd5b5[48]]=_0xd5b5[61];outPitchSpeedms[_0xd5b5[48]]=_0xd5b5[61];outPropSThrustFlight[_0xd5b5[48]]=_0xd5b5[61];} ;outPowersys[_0xd5b5[48]]=round(((1*outMotoroz[_0xd5b5[48]])+(1*ResWt[_0xd5b5[48]])+(1*outPackOz[_0xd5b5[48]]))*1.1,3);outFanEff[_0xd5b5[48]]=round(outPropSThrust[_0xd5b5[48]]/outWin[_0xd5b5[48]],2);} ;} ;function motorcalcs(){with(document[_0xd5b5[59]]){if(TheUnits==_0xd5b5[55]){TheElevation=1*elevation[_0xd5b5[48]];TheTemp=1*temp[_0xd5b5[48]];TheQNH=1*qnh[_0xd5b5[48]];} else {TheElevation=1/3.281*elevation[_0xd5b5[48]];TheTemp=(1*temp[_0xd5b5[48]]-32)/9*5;TheQNH=33.864*qnh[_0xd5b5[48]];} ;replaceComma();outWarning[_0xd5b5[48]]=_0xd5b5[52];resetInputFontColor();if(userStatementAccepted==false){outWarning[_0xd5b5[48]]=msgUserStatementNotAccepted;return ;} ;accuChargeState=1.0*GetSelectValue(chargeState);airdensity=100*TheQNH*Math[_0xd5b5[60]]((1-(0.0065*TheElevation/288.15)),5.255)/287.05/(1*TheTemp+273.15);electriccalcs();propcalcs();CalcPropMotorCurrent(0);CalcMotorValues(1);CalcPropMotorCurrent((1*document[_0xd5b5[59]][_0xd5b5[62]][_0xd5b5[48]]));CalcMotorValues(2);if(document[_0xd5b5[59]][_0xd5b5[63]]!=null){outPropSThrustImp[_0xd5b5[48]]=round(0.035274*outPropSThrust[_0xd5b5[48]],2);} ;if(document[_0xd5b5[59]][_0xd5b5[64]]!=null){outPropSThrustFlightImp[_0xd5b5[48]]=round(0.035274*outPropSThrustFlight[_0xd5b5[48]],2);} ;if(document[_0xd5b5[59]][_0xd5b5[65]]!=null){outPitchSpeedImp[_0xd5b5[48]]=round(0.6214*outPitchSpeed[_0xd5b5[48]],0);} ;if(document[_0xd5b5[59]][_0xd5b5[66]]!=null){outPitchSpeedmsImp[_0xd5b5[48]]=round(3.28*outPitchSpeedms[_0xd5b5[48]],1);} ;if(document[_0xd5b5[59]][_0xd5b5[67]]!=null){outFanEffImp[_0xd5b5[48]]=round(0.035274*outFanEff[_0xd5b5[48]],2);} ;if(1*outPropSThrust[_0xd5b5[48]]>0){plotMotorGraph(false);} ;if(numcells[_0xd5b5[48]]<2){outWarning[_0xd5b5[48]]=outWarning[_0xd5b5[48]]+msgTwoCells;numcells[_0xd5b5[69]][_0xd5b5[68]]=fontErrorColor;} ;if((outLimitTyp[_0xd5b5[43]][outLimitTyp[_0xd5b5[49]]][_0xd5b5[53]]==_0xd5b5[56])&&(outLimit[_0xd5b5[48]]!=_0xd5b5[52])&&(1*outIEff[_0xd5b5[48]]>0.9*outLimit[_0xd5b5[48]])){outWarning[_0xd5b5[48]]=outWarning[_0xd5b5[48]]+msgUMotorHigh;outVmotor[_0xd5b5[69]][_0xd5b5[68]]=fontErrorColor;} ;if((outLimitTyp[_0xd5b5[43]][outLimitTyp[_0xd5b5[49]]][_0xd5b5[53]]==_0xd5b5[57])&&(outLimit[_0xd5b5[48]]!=_0xd5b5[52])&&(1*outIEff[_0xd5b5[48]]*outVEff[_0xd5b5[48]]>0.9*outLimit[_0xd5b5[48]])){outWarning[_0xd5b5[48]]=outWarning[_0xd5b5[48]]+msgUMotorHigh;outVmotor[_0xd5b5[69]][_0xd5b5[68]]=fontErrorColor;} ;if((1*outIEff[_0xd5b5[48]])>(1*outImotor[_0xd5b5[48]])&&1*outPctMaxEff[_0xd5b5[48]]-1*outPctEff[_0xd5b5[48]]>3){outWarning[_0xd5b5[48]]=outWarning[_0xd5b5[48]]+msgBelowIOpt;outImotor[_0xd5b5[69]][_0xd5b5[68]]=fontErrorColor;outIEff[_0xd5b5[69]][_0xd5b5[68]]=fontErrorColor;} ;if((1*FSA[_0xd5b5[48]])==0){outWarning[_0xd5b5[48]]=outWarning[_0xd5b5[48]]+msgThrustDuct;} ;if((FSAerror>100)||FSAerror<60){outWarning[_0xd5b5[48]]=outWarning[_0xd5b5[48]]+msgFSA;duct[_0xd5b5[69]][_0xd5b5[68]]=fontErrorColor;} ;if((outLimitTyp[_0xd5b5[43]][outLimitTyp[_0xd5b5[49]]][_0xd5b5[53]]==_0xd5b5[56])&&(outLimit[_0xd5b5[48]]!=_0xd5b5[52])&&(1*outImotor[_0xd5b5[48]]>1*outLimit[_0xd5b5[48]])){outWarning[_0xd5b5[48]]=outWarning[_0xd5b5[48]]+msgMaxCurrentMotor;outLimit[_0xd5b5[69]][_0xd5b5[68]]=fontErrorColor;outImotor[_0xd5b5[69]][_0xd5b5[68]]=fontErrorColor;} ;if((outLimitTyp[_0xd5b5[43]][outLimitTyp[_0xd5b5[49]]][_0xd5b5[53]]==_0xd5b5[57])&&(outLimit[_0xd5b5[48]]!=_0xd5b5[52])&&(1*outWin[_0xd5b5[48]]>1*outLimit[_0xd5b5[48]])){outWarning[_0xd5b5[48]]=outWarning[_0xd5b5[48]]+msgMaxPowerMotor;outWin[_0xd5b5[69]][_0xd5b5[68]]=fontErrorColor;outLimit[_0xd5b5[69]][_0xd5b5[68]]=fontErrorColor;} ;if((1*outMaxC[_0xd5b5[48]])>(1*TheCellMaxC)){outWarning[_0xd5b5[48]]=outWarning[_0xd5b5[48]]+msgMaxCuttentBattery;outMaxC[_0xd5b5[69]][_0xd5b5[68]]=fontErrorColor;} ;if(1*outPropSThrust[_0xd5b5[48]]>0){if(((TheUnits==_0xd5b5[55])&&((1*outPropSThrust[_0xd5b5[48]])<=(1*outPowersys[_0xd5b5[48]])))||((TheUnits==_0xd5b5[70])&&((1*outPropSThrust[_0xd5b5[48]])<=(28.35*outPowersys[_0xd5b5[48]])))){outWarning[_0xd5b5[48]]=outWarning[_0xd5b5[48]]+msgStaticThrust;outPropSThrust[_0xd5b5[69]][_0xd5b5[68]]=fontErrorColor;if(document[_0xd5b5[59]][_0xd5b5[63]]!=null){outPropSThrustImp[_0xd5b5[69]][_0xd5b5[68]]=fontErrorColor;} ;outPowersys[_0xd5b5[69]][_0xd5b5[68]]=fontErrorColor;} ;} ;if((ResIMax[_0xd5b5[48]]!=_0xd5b5[52])&&((1*document[_0xd5b5[59]][_0xd5b5[62]][_0xd5b5[48]])>(1*document[_0xd5b5[59]][_0xd5b5[71]][_0xd5b5[48]]))){outWarning[_0xd5b5[48]]=outWarning[_0xd5b5[48]]+msgMaxCurrentESC;ResIMax[_0xd5b5[69]][_0xd5b5[68]]=fontErrorColor;outImotor[_0xd5b5[69]][_0xd5b5[68]]=fontErrorColor;} ;var _0x3f29x16=0;_0x3f29x16=TheTemp+(1*outWin[_0xd5b5[48]]-1*outWout[_0xd5b5[48]])*2.718*GetSelectValue(cooling)/6.283186/(TheMotorLength/1000)/(-0.024*(273.15+1*TheTemp)+65.552);if(_0x3f29x16>80){outWarning[_0xd5b5[48]]=outWarning[_0xd5b5[48]]+msgOverTemp;} ;if((1*outPctMaxEff[_0xd5b5[48]]<=0)||((1*outImotor[_0xd5b5[48]]>1*outIEff[_0xd5b5[48]])&&(1*outPctEff[_0xd5b5[48]]<40))){outWarning[_0xd5b5[48]]=msgUnrealsisticSetup;} ;} ;} ;function changeUnits(_0x3f29xb){if(GetSelectValue(_0x3f29xb[_0xd5b5[72]])==_0xd5b5[70]){TheUnits=_0xd5b5[70];document[_0xd5b5[75]](_0xd5b5[74])[_0xd5b5[73]]=_0xd5b5[76];document[_0xd5b5[75]](_0xd5b5[77])[_0xd5b5[73]]=_0xd5b5[78];document[_0xd5b5[75]](_0xd5b5[79])[_0xd5b5[73]]=_0xd5b5[80];document[_0xd5b5[75]](_0xd5b5[81])[_0xd5b5[73]]=_0xd5b5[82];document[_0xd5b5[75]](_0xd5b5[83])[_0xd5b5[73]]=_0xd5b5[82];document[_0xd5b5[75]](_0xd5b5[84])[_0xd5b5[73]]=_0xd5b5[85];document[_0xd5b5[75]](_0xd5b5[86])[_0xd5b5[73]]=_0xd5b5[82];document[_0xd5b5[75]](_0xd5b5[87])[_0xd5b5[73]]=_0xd5b5[88];document[_0xd5b5[75]](_0xd5b5[89])[_0xd5b5[73]]=_0xd5b5[82];document[_0xd5b5[75]](_0xd5b5[90])[_0xd5b5[73]]=_0xd5b5[82];_0x3f29xb[_0xd5b5[91]][_0xd5b5[48]]=round(3.281*_0x3f29xb[_0xd5b5[91]][_0xd5b5[48]],0);_0x3f29xb[_0xd5b5[92]][_0xd5b5[48]]=round(32+9/5*_0x3f29xb[_0xd5b5[92]][_0xd5b5[48]],0);_0x3f29xb[_0xd5b5[93]][_0xd5b5[48]]=round(1/33.864*_0x3f29xb[_0xd5b5[93]][_0xd5b5[48]],2);_0x3f29xb[_0xd5b5[94]][_0xd5b5[48]]=round(1*_0x3f29xb[_0xd5b5[94]][_0xd5b5[48]]/1.609,0);} else {TheUnits=_0xd5b5[55];document[_0xd5b5[75]](_0xd5b5[74])[_0xd5b5[73]]=_0xd5b5[95];document[_0xd5b5[75]](_0xd5b5[77])[_0xd5b5[73]]=_0xd5b5[96];document[_0xd5b5[75]](_0xd5b5[79])[_0xd5b5[73]]=_0xd5b5[97];document[_0xd5b5[75]](_0xd5b5[81])[_0xd5b5[73]]=_0xd5b5[98];document[_0xd5b5[75]](_0xd5b5[83])[_0xd5b5[73]]=_0xd5b5[98];document[_0xd5b5[75]](_0xd5b5[84])[_0xd5b5[73]]=_0xd5b5[99];document[_0xd5b5[75]](_0xd5b5[86])[_0xd5b5[73]]=_0xd5b5[98];document[_0xd5b5[75]](_0xd5b5[87])[_0xd5b5[73]]=_0xd5b5[100];document[_0xd5b5[75]](_0xd5b5[89])[_0xd5b5[73]]=_0xd5b5[98];document[_0xd5b5[75]](_0xd5b5[90])[_0xd5b5[73]]=_0xd5b5[98];_0x3f29xb[_0xd5b5[91]][_0xd5b5[48]]=round(0.3048*_0x3f29xb[_0xd5b5[91]][_0xd5b5[48]],0);_0x3f29xb[_0xd5b5[92]][_0xd5b5[48]]=round((1*_0x3f29xb[_0xd5b5[92]][_0xd5b5[48]]-32)/9*5,0);_0x3f29xb[_0xd5b5[93]][_0xd5b5[48]]=round(33.864*_0x3f29xb[_0xd5b5[93]][_0xd5b5[48]],0);_0x3f29xb[_0xd5b5[94]][_0xd5b5[48]]=round(1.609*_0x3f29xb[_0xd5b5[94]][_0xd5b5[48]],0);} ;motorcalcs();} ;function writeEDFData(_0x3f29x19){if(_0x3f29x19){document[_0xd5b5[102]](_0xd5b5[101]);document[_0xd5b5[102]](_0xd5b5[103]);document[_0xd5b5[102]](_0xd5b5[103]);document[_0xd5b5[102]](_0xd5b5[104]);document[_0xd5b5[102]](_0xd5b5[103]);document[_0xd5b5[102]](_0xd5b5[105]);document[_0xd5b5[102]](_0xd5b5[103]);document[_0xd5b5[102]](_0xd5b5[106]);document[_0xd5b5[102]](_0xd5b5[103]);document[_0xd5b5[102]](_0xd5b5[107]);document[_0xd5b5[102]](_0xd5b5[103]);document[_0xd5b5[102]](_0xd5b5[108]);document[_0xd5b5[102]](_0xd5b5[103]);document[_0xd5b5[102]](_0xd5b5[109]);document[_0xd5b5[102]](_0xd5b5[110]);} else {document[_0xd5b5[102]](_0xd5b5[111]);document[_0xd5b5[102]](_0xd5b5[112]);document[_0xd5b5[102]](_0xd5b5[113]);document[_0xd5b5[102]](_0xd5b5[114]);document[_0xd5b5[102]](_0xd5b5[115]);document[_0xd5b5[102]](_0xd5b5[116]);} ;} ;

