var rainbow:Array = new Array("0xff0000","0xff0200","0xff0300","0xff0500","0xff0600","0xff0800","0xff0900","0xff0b00","0xff0c00","0xff0e00","0xff0f00","0xff1100","0xff1300","0xff1400","0xff1600","0xff1700","0xff1900","0xff1a00","0xff1c00","0xff1d00","0xff1f00","0xff2100","0xff2200","0xff2400","0xff2500","0xff2700","0xff2800","0xff2a00","0xff2b00","0xff2d00","0xff2e00","0xff3000","0xff3200","0xff3300","0xff3500","0xff3600","0xff3800","0xff3900","0xff3b00","0xff3c00","0xff3e00","0xff3f00","0xff4100","0xff4300","0xff4400","0xff4600","0xff4700","0xff4900","0xff4a00","0xff4c00","0xff4d00","0xff4f00","0xff5000","0xff5200","0xff5400","0xff5500","0xff5700","0xff5800","0xff5a00","0xff5b00","0xff5d00","0xff5e00","0xff6000","0xff6200","0xff6300","0xff6500","0xff6600","0xff6800","0xff6900","0xff6b00","0xff6c00","0xff6e00","0xff6f00","0xff7100","0xff7200","0xff7300","0xff7300","0xff7400","0xff7500","0xff7600","0xff7600","0xff7700","0xff7800","0xff7900","0xff7900","0xff7a00","0xff7b00","0xff7c00","0xff7d00","0xff7d00","0xff7e00","0xff7f00","0xff8000","0xff8000","0xff8100","0xff8200","0xff8300","0xff8300","0xff8400","0xff8500","0xff8600","0xff8600","0xff8700","0xff8800","0xff8900","0xff8a00","0xff8a00","0xff8b00","0xff8c00","0xff8d00","0xff8d00","0xff8e00","0xff8f00","0xff9000","0xff9000","0xff9100","0xff9200","0xff9300","0xff9400","0xff9400","0xff9500","0xff9600","0xff9700","0xff9700","0xff9800","0xff9900","0xff9a00","0xff9a00","0xff9b00","0xff9c00","0xff9d00","0xff9d00","0xff9e00","0xff9f00","0xffa000","0xffa100","0xffa100","0xffa200","0xffa300","0xffa400","0xffa400","0xffa500","0xffa600","0xffa700","0xffa700","0xffa800","0xffa900","0xffaa00","0xffab00","0xffac00","0xffad00","0xffae00","0xffaf00","0xffb100","0xffb200","0xffb300","0xffb400","0xffb500","0xffb600","0xffb700","0xffb800","0xffb900","0xffba00","0xffbb00","0xffbc00","0xffbe00","0xffbf00","0xffc000","0xffc100","0xffc200","0xffc300","0xffc400","0xffc500","0xffc600","0xffc700","0xffc800","0xffc900","0xffcb00","0xffcc00","0xffcd00","0xffce00","0xffcf00","0xffd000","0xffd100","0xffd200","0xffd300","0xffd400","0xffd500","0xffd600","0xffd800","0xffd900","0xffda00","0xffdb00","0xffdc00","0xffdd00","0xffde00","0xffdf00","0xffe000","0xffe100","0xffe200","0xffe300","0xffe500","0xffe600","0xffe700","0xffe800","0xffe900","0xffea00","0xffeb00","0xffec00","0xffed00","0xffee00","0xffef00","0xfff000","0xfff200","0xfff300","0xfff400","0xfff500","0xfff600","0xfff700","0xfff800","0xfdf800","0xfcf800","0xfaf800","0xf9f800","0xf7f800","0xf5f900","0xf4f900","0xf2f900","0xf1f900","0xeff900","0xeef900","0xecf900","0xeaf900","0xe9f900","0xe7f900","0xe6fa00","0xe4fa00","0xe2fa00","0xe1fa00","0xdffa00","0xdefa00","0xdcfa00","0xdafa00","0xd9fa00","0xd7fa00","0xd6fa00","0xd4fb00","0xd3fb00","0xd1fb00","0xcffb00","0xcefb00","0xccfb00","0xcbfb00","0xc9fb00","0xc7fb00","0xc6fb00","0xc4fc00","0xc3fc00","0xc1fc00","0xbffc00","0xbefc00","0xbcfc00","0xbbfc00","0xb9fc00","0xb7fc00","0xb6fc00","0xb4fd00","0xb3fd00","0xb1fd00","0xb0fd00","0xaefd00","0xacfd00","0xabfd00","0xa9fd00","0xa8fd00","0xa6fd00","0xa4fd00","0xa3fe00","0xa1fe00","0xa0fe00","0x9efe00","0x9cfe00","0x9bfe00","0x99fe00","0x98fe00","0x96fe00","0x95fe00","0x93ff00","0x91ff00","0x90ff00","0x8eff00","0x8dff00","0x8bff00","0x89ff00","0x87ff00","0x85ff00","0x83ff00","0x81ff00","0x80ff01","0x7eff01","0x7cff01","0x7aff01","0x78ff01","0x76ff01","0x74ff01","0x72ff01","0x70ff01","0x6eff01","0x6dff02","0x6bff02","0x69ff02","0x67ff02","0x65ff02","0x63ff02","0x61ff02","0x5fff02","0x5dff02","0x5bff02","0x59ff02","0x58ff03","0x56ff03","0x54ff03","0x52ff03","0x50ff03","0x4eff03","0x4cff03","0x4aff03","0x48ff03","0x46ff03","0x45ff04","0x43ff04","0x41ff04","0x3fff04","0x3dff04","0x3bff04","0x39ff04","0x37ff04","0x35ff04","0x33ff04","0x32ff05","0x30ff05","0x2eff05","0x2cff05","0x2aff05","0x28ff05","0x26ff05","0x24ff05","0x22ff05","0x20ff05","0x1eff05","0x1dff06","0x1bff06","0x19ff06","0x17ff06","0x15ff06","0x13ff06","0x11ff06","0x0fff06","0x0dff06","0x0bff06","0x0aff07","0x08ff07","0x06ff07","0x04ff07","0x02ff07","0x00ff07","0x00ff09","0x00ff0b","0x00ff0d","0x00ff0f","0x00ff11","0x00ff13","0x00ff15","0x00ff17","0x00ff19","0x00ff1b","0x00ff1d","0x00ff1f","0x00ff21","0x00ff23","0x00ff25","0x00ff27","0x00ff29","0x00ff2b","0x00ff2d","0x00ff2f","0x00ff31","0x00ff33","0x00ff35","0x00ff37","0x00ff39","0x00ff3b","0x00ff3d","0x00ff3f","0x00ff41","0x00ff43","0x00ff45","0x00ff47","0x00ff49","0x00ff4b","0x00ff4d","0x00ff4f","0x00ff52","0x00ff54","0x00ff56","0x00ff58","0x00ff5a","0x00ff5c","0x00ff5e","0x00ff60","0x00ff62","0x00ff64","0x00ff66","0x00ff68","0x00ff6a","0x00ff6c","0x00ff6e","0x00ff70","0x00ff72","0x00ff74","0x00ff76","0x00ff78","0x00ff7a","0x00ff7c","0x00ff7e","0x00ff80","0x00ff82","0x00ff84","0x00ff86","0x00ff88","0x00ff8a","0x00ff8c","0x00ff8e","0x00ff90","0x00ff92","0x00ff94","0x00ff96","0x00ff98","0x00ff9a","0x00ff9b","0x00ff9c","0x00ff9d","0x00ff9e","0x00ff9f","0x00ffa0","0x00ffa1","0x00ffa2","0x00ffa3","0x00ffa5","0x00ffa6","0x00ffa7","0x00ffa8","0x00ffa9","0x00ffaa","0x00ffab","0x00ffac","0x00ffad","0x00ffae","0x00ffaf","0x00ffb0","0x00ffb1","0x00ffb2","0x00ffb3","0x00ffb4","0x00ffb5","0x00ffb6","0x00ffb8","0x00ffb9","0x00ffba","0x00ffbb","0x00ffbc","0x00ffbd","0x00ffbe","0x00ffbf","0x00ffc0","0x00ffc1","0x00ffc2","0x00ffc3","0x00ffc4","0x00ffc5","0x00ffc6","0x00ffc7","0x00ffc8","0x00ffc9","0x00ffca","0x00ffcc","0x00ffcd","0x00ffce","0x00ffcf","0x00ffd0","0x00ffd1","0x00ffd2","0x00ffd3","0x00ffd4","0x00ffd5","0x00ffd6","0x00ffd7","0x00ffd8","0x00ffd9","0x00ffda","0x00ffdb","0x00ffdc","0x00ffdd","0x00ffdf","0x00ffe0","0x00ffe1","0x00ffe2","0x00ffe3","0x00ffe4","0x00ffe5","0x00ffe6","0x00ffe7","0x00ffe8","0x00ffe8","0x00fee9","0x00fee9","0x00fde9","0x00fdea","0x00fcea","0x00fcea","0x00fbeb","0x00fbeb","0x00faeb","0x00faeb","0x00f9ec","0x00f9ec","0x00f8ec","0x00f8ed","0x00f8ed","0x00f7ed","0x00f7ee","0x00f6ee","0x00f6ee","0x00f5ef","0x00f5ef","0x00f4ef","0x00f4f0","0x00f3f0","0x00f3f0","0x00f2f1","0x00f2f1","0x00f1f1","0x00f1f1","0x00f1f2","0x00f0f2","0x00f0f2","0x00eff3","0x00eff3","0x00eef3","0x00eef4","0x00edf4","0x00edf4","0x00ecf5","0x00ecf5","0x00ebf5","0x00ebf6","0x00ebf6","0x00eaf6","0x00eaf6","0x00e9f7","0x00e9f7","0x00e8f7","0x00e8f8","0x00e7f8","0x00e7f8","0x00e6f9","0x00e6f9","0x00e5f9","0x00e5fa","0x00e4fa","0x00e4fa","0x00e4fb","0x00e3fb","0x00e3fb","0x00e2fc","0x00e2fc","0x00e1fc","0x00e1fc","0x00e0fd","0x00e0fd","0x00dffd","0x00dffe","0x00defe","0x00defe","0x00ddff","0x00ddff","0x00dbff","0x00d9ff","0x00d7ff","0x00d4ff","0x00d2ff","0x00d0ff","0x00ceff","0x00ccff","0x00caff","0x00c7ff","0x00c5ff","0x00c3ff","0x00c1ff","0x00bfff","0x00bdff","0x00bbff","0x00b8ff","0x00b6ff","0x00b4ff","0x00b2ff","0x00b0ff","0x00aeff","0x00acff","0x00a9ff","0x00a7ff","0x00a5ff","0x00a3ff","0x00a1ff","0x009fff","0x009cff","0x009aff","0x0098ff","0x0096ff","0x0094ff","0x0092ff","0x0090ff","0x008dff","0x008bff","0x0089ff","0x0087ff","0x0085ff","0x0083ff","0x0081ff","0x007eff","0x007cff","0x007aff","0x0078ff","0x0076ff","0x0074ff","0x0071ff","0x006fff","0x006dff","0x006bff","0x0069ff","0x0067ff","0x0065ff","0x0062ff","0x0060ff","0x005eff","0x005cff","0x005aff","0x0058ff","0x0056ff","0x0053ff","0x0051ff","0x004fff","0x004dff","0x004bff","0x0049ff","0x0046ff","0x0044ff","0x0042ff","0x0040ff","0x013fff","0x013eff","0x023dff","0x033cff","0x033cff","0x043bff","0x053aff","0x0539ff","0x0638ff","0x0737ff","0x0736ff","0x0835ff","0x0935ff","0x0934ff","0x0a33ff","0x0b32ff","0x0b31ff","0x0c30ff","0x0d2fff","0x0d2eff","0x0e2eff","0x0f2dff","0x0f2cff","0x102bff","0x112aff","0x1129ff","0x1228ff","0x1327ff","0x1327ff","0x1426ff","0x1525ff","0x1524ff","0x1623ff","0x1722ff","0x1721ff","0x1820ff","0x1920ff","0x1a1fff","0x1a1eff","0x1b1dff","0x1c1cff","0x1c1bff","0x1d1aff","0x1e19ff","0x1e19ff","0x1f18ff","0x2017ff","0x2016ff","0x2115ff","0x2214ff","0x2213ff","0x2312ff","0x2412ff","0x2411ff","0x2510ff","0x260fff","0x260eff","0x270dff","0x280cff","0x280bff","0x290bff","0x2a0aff","0x2a09ff","0x2b08ff","0x2c07ff","0x2c06ff","0x2d05ff","0x2e04ff","0x2e04ff","0x2f03ff","0x3002ff","0x3001ff","0x3100ff","0x3200ff","0x3300ff","0x3300ff","0x3400ff","0x3500ff","0x3600ff","0x3600ff","0x3700ff","0x3800ff","0x3900ff","0x3900ff","0x3a00ff","0x3b00ff","0x3c00ff","0x3d00ff","0x3d00ff","0x3e00ff","0x3f00ff","0x4000ff","0x4000ff","0x4100ff","0x4200ff","0x4300ff","0x4300ff","0x4400ff","0x4500ff","0x4600ff","0x4600ff","0x4700ff","0x4800ff","0x4900ff","0x4a00ff","0x4a00ff","0x4b00ff","0x4c00ff","0x4d00ff","0x4d00ff","0x4e00ff","0x4f00ff","0x5000ff","0x5000ff","0x5100ff","0x5200ff","0x5300ff","0x5400ff","0x5400ff","0x5500ff","0x5600ff","0x5700ff","0x5700ff","0x5800ff","0x5900ff","0x5a00ff","0x5a00ff","0x5b00ff","0x5c00ff","0x5d00ff","0x5d00ff","0x5e00ff","0x5f00ff","0x6000ff","0x6100ff","0x6100ff","0x6200ff","0x6300ff","0x6400ff","0x6400ff","0x6500ff","0x6600ff","0x6700ff","0x6700ff","0x6800ff","0x6900ff","0x6a00ff","0x6b00ff","0x6c00ff","0x6d00ff","0x6e00ff","0x6f00ff","0x7100ff","0x7200ff","0x7300ff","0x7400ff","0x7500ff","0x7600ff","0x7700ff","0x7800ff","0x7900ff","0x7a00ff","0x7b00ff","0x7c00ff","0x7e00ff","0x7f00ff","0x8000ff","0x8100ff","0x8200ff","0x8300ff","0x8400ff","0x8500ff","0x8600ff","0x8700ff","0x8800ff","0x8900ff","0x8b00ff","0x8c00ff","0x8d00ff","0x8e00ff","0x8f00ff","0x9000ff","0x9100ff","0x9200ff","0x9300ff","0x9400ff","0x9500ff","0x9600ff","0x9800ff","0x9900ff","0x9a00ff","0x9b00ff","0x9c00ff","0x9d00ff","0x9e00ff","0x9f00ff","0xa000ff","0xa100ff","0xa200ff","0xa300ff","0xa500ff","0xa600ff","0xa700ff","0xa800ff","0xa900ff","0xaa00ff","0xab00ff","0xac00ff","0xad00ff","0xae00ff","0xaf00ff","0xb000ff","0xb200ff","0xb300ff","0xb400ff","0xb500ff","0xb600ff","0xb700ff","0xb800ff","0xb900ff","0xba00fe","0xbb00fe","0xbc00fe","0xbd00fe","0xbe00fd","0xbf00fd","0xc000fd","0xc100fd","0xc200fc","0xc300fc","0xc400fc","0xc500fc","0xc600fb","0xc700fb","0xc800fb","0xc900fb","0xca00fa","0xca00fa","0xcb00fa","0xcc00fa","0xcd00f9","0xce00f9","0xcf00f9","0xd000f8","0xd100f8","0xd200f8","0xd300f8","0xd400f7","0xd500f7","0xd600f7","0xd700f7","0xd800f6","0xd900f6","0xda00f6","0xdb00f6","0xdc00f5","0xdd00f5","0xde00f5","0xdf00f5","0xe000f4","0xe100f4","0xe200f4","0xe300f4","0xe400f3","0xe500f3","0xe600f3","0xe700f3","0xe800f2","0xe900f2","0xea00f2","0xeb00f1","0xec00f1","0xed00f1","0xed00f1","0xee00f0","0xef00f0","0xf000f0","0xf100f0","0xf200ef","0xf300ef","0xf400ef","0xf500ef","0xf600ee","0xf700ee","0xf800ee","0xf900ee","0xfa00ed","0xfb00ed","0xfc00ed","0xfd00ed","0xfe00ec","0xff00ec","0xff00eb","0xff00ea","0xff00e9","0xff00e8","0xff00e7","0xff00e6","0xff00e4","0xff00e3","0xff00e2","0xff00e1","0xff00e0","0xff00df","0xff00de","0xff00dd","0xff00dc","0xff00db","0xff00da","0xff00d9","0xff00d7","0xff00d6","0xff00d5","0xff00d4","0xff00d3","0xff00d2","0xff00d1","0xff00d0","0xff00cf","0xff00ce","0xff00cd","0xff00cc","0xff00ca","0xff00c9","0xff00c8","0xff00c7","0xff00c6","0xff00c5","0xff00c4","0xff00c3","0xff00c2","0xff00c1","0xff00c0","0xff00bf","0xff00bd","0xff00bc","0xff00bb","0xff00ba","0xff00b9","0xff00b8","0xff00b7","0xff00b6","0xff00b5","0xff00b4","0xff00b3","0xff00b2","0xff00b0","0xff00af","0xff00ae","0xff00ad","0xff00ac","0xff00ab","0xff00aa","0xff00a9","0xff00a8","0xff00a7","0xff00a6","0xff00a5","0xff00a3","0xff00a2","0xff00a1","0xff00a0","0xff009f","0xff009e","0xff009d");