var form_colors_ar = new Array; form_colors_ar['ok'] = '#cfc'; form_colors_ar['empty'] = '#fff'; form_colors_ar['warning'] = '#ffc'; form_colors_ar['error'] = '#fcc'; form_colors_ar['bg_ok'] = '#ffee5d'; form_colors_ar['bg_error'] = '#f66'; var fields_ar = new Array; fields_ar['first_name'] = 'Имя'; fields_ar['last_name'] = 'Фамилию'; fields_ar['title'] = 'Заголовок'; fields_ar['content'] = 'Описание'; fields_ar['cost'] = 'Бюджет'; var S = { feedback_thanx_msg: 'Спасибо за участие! Ваше сообщение отправлено администратору сайта.', forms_submit_error_msg: 'Проверьте правильность введенных данных', only_logged_in_error_msg: 'Вы должны войти в систему', user_details_flag_team_text: ['Не является Вашим Другом','Ваш Друг'], user_details_flag_team_action: ['Добавить во Френдленту','Удалить из Френдленты'] } var user_ftp_in_portfolio = ["Показывать в портфолио","Удалить из портфолио"]; var user_ftp_in_photobank = ["Участвовать в поиске по Фотобанку","Участвовать в поиске по Фотобанку"]; var user_ftp_comments_enabled = ["Комментарии запрещены","Комментарии разрешены"]; var user_ftp_to_sell = ["Продавать фото","Не продавать фото"]; var cms_paths_ar = new Array; cms_paths_ar['blogs'] = 'blogs'; cms_paths_ar['user_ftp'] = 'ftp'; cms_paths_ar['user_blog_post'] = 'post-to-blog'; cms_paths_ar['user_print'] = 'order-print'; cms_paths_ar['client_print'] = 'client-order-print'; cms_paths_ar['buy_photos'] = 'okupka-fotografiy'; var http_host = 'photopro.ru'; /* MM_preloadImages( '/i/btn_add_project_wait.gif', '/i/btn_apply_project_filter_wait.gif', '/i/btn_change_wait.gif', '/i/btn_choose_tags_wait.gif', '/i/btn_job_offer_wait.gif', '/i/btn_login_wait.gif', '/i/btn_logout_wait.gif', '/i/btn_register_wait.gif', '/i/btn_reply_wait.gif', '/i/btn_search_wait.gif', '/i/btn_send_wait.gif', '/i/btn_send2_wait.gif' ); */ var logged_in = false; var print_prices_ar = new Array(); print_prices_ar[1] = new Array(); print_prices_ar[1][2] = new Array(); print_prices_ar[1][2][1] = 38 print_prices_ar[1][2][2] = 25.5 print_prices_ar[1][2][3] = 30 print_prices_ar[1][2][4] = 0 print_prices_ar[1][2][5] = 0 print_prices_ar[1][2][6] = 0 print_prices_ar[1][2][7] = 1 print_prices_ar[1][2][8] = 1 print_prices_ar[1][2][9] = 1 print_prices_ar[1][2][10] = 1 print_prices_ar[1][12] = new Array(); print_prices_ar[1][12][1] = 338 print_prices_ar[1][12][2] = 230 print_prices_ar[1][12][3] = 257 print_prices_ar[1][12][4] = 1215 print_prices_ar[1][12][5] = 0 print_prices_ar[1][12][6] = 0 print_prices_ar[1][12][7] = 1 print_prices_ar[1][12][8] = 1 print_prices_ar[1][12][9] = 1 print_prices_ar[1][12][10] = 1 print_prices_ar[1][17] = new Array(); print_prices_ar[1][17][1] = 57 print_prices_ar[1][17][2] = 40 print_prices_ar[1][17][3] = 43 print_prices_ar[1][17][4] = 0 print_prices_ar[1][17][5] = 0 print_prices_ar[1][17][6] = 0 print_prices_ar[1][17][7] = 1 print_prices_ar[1][17][8] = 1 print_prices_ar[1][17][9] = 1 print_prices_ar[1][17][10] = 1 print_prices_ar[1][16] = new Array(); print_prices_ar[1][16][1] = 675 print_prices_ar[1][16][2] = 460 print_prices_ar[1][16][3] = 515 print_prices_ar[1][16][4] = 0 print_prices_ar[1][16][5] = 0 print_prices_ar[1][16][6] = 0 print_prices_ar[1][16][7] = 1 print_prices_ar[1][16][8] = 1 print_prices_ar[1][16][9] = 1 print_prices_ar[1][16][10] = 1 print_prices_ar[1][15] = new Array(); print_prices_ar[1][15][1] = 450 print_prices_ar[1][15][2] = 306 print_prices_ar[1][15][3] = 345 print_prices_ar[1][15][4] = 0 print_prices_ar[1][15][5] = 0 print_prices_ar[1][15][6] = 0 print_prices_ar[1][15][7] = 1 print_prices_ar[1][15][8] = 1 print_prices_ar[1][15][9] = 1 print_prices_ar[1][15][10] = 1 print_prices_ar[1][14] = new Array(); print_prices_ar[1][14][1] = 113 print_prices_ar[1][14][2] = 77 print_prices_ar[1][14][3] = 85 print_prices_ar[1][14][4] = 0 print_prices_ar[1][14][5] = 0 print_prices_ar[1][14][6] = 0 print_prices_ar[1][14][7] = 1 print_prices_ar[1][14][8] = 1 print_prices_ar[1][14][9] = 1 print_prices_ar[1][14][10] = 1 print_prices_ar[1][13] = new Array(); print_prices_ar[1][13][1] = 2500 print_prices_ar[1][13][2] = 1800 print_prices_ar[1][13][3] = 2000 print_prices_ar[1][13][4] = 9000 print_prices_ar[1][13][5] = 9000 print_prices_ar[1][13][6] = 0 print_prices_ar[1][13][7] = 1 print_prices_ar[1][13][8] = 1 print_prices_ar[1][13][9] = 1 print_prices_ar[1][13][10] = 1 print_prices_ar[1][11] = new Array(); print_prices_ar[1][11][1] = 300 print_prices_ar[1][11][2] = 205 print_prices_ar[1][11][3] = 230 print_prices_ar[1][11][4] = 1080 print_prices_ar[1][11][5] = 0 print_prices_ar[1][11][6] = 0 print_prices_ar[1][11][7] = 1 print_prices_ar[1][11][8] = 1 print_prices_ar[1][11][9] = 1 print_prices_ar[1][11][10] = 1 print_prices_ar[1][10] = new Array(); print_prices_ar[1][10][1] = 180 print_prices_ar[1][10][2] = 125 print_prices_ar[1][10][3] = 137 print_prices_ar[1][10][4] = 0 print_prices_ar[1][10][5] = 0 print_prices_ar[1][10][6] = 0 print_prices_ar[1][10][7] = 1 print_prices_ar[1][10][8] = 1 print_prices_ar[1][10][9] = 1 print_prices_ar[1][10][10] = 1 print_prices_ar[1][9] = new Array(); print_prices_ar[1][9][1] = 150 print_prices_ar[1][9][2] = 105 print_prices_ar[1][9][3] = 115 print_prices_ar[1][9][4] = 0 print_prices_ar[1][9][5] = 0 print_prices_ar[1][9][6] = 0 print_prices_ar[1][9][7] = 1 print_prices_ar[1][9][8] = 1 print_prices_ar[1][9][9] = 1 print_prices_ar[1][9][10] = 1 print_prices_ar[1][8] = new Array(); print_prices_ar[1][8][1] = 0 print_prices_ar[1][8][2] = 95 print_prices_ar[1][8][3] = 107 print_prices_ar[1][8][4] = 0 print_prices_ar[1][8][5] = 0 print_prices_ar[1][8][6] = 0 print_prices_ar[1][8][7] = 1 print_prices_ar[1][8][8] = 1 print_prices_ar[1][8][9] = 1 print_prices_ar[1][8][10] = 1 print_prices_ar[1][7] = new Array(); print_prices_ar[1][7][1] = 90 print_prices_ar[1][7][2] = 62 print_prices_ar[1][7][3] = 69 print_prices_ar[1][7][4] = 0 print_prices_ar[1][7][5] = 0 print_prices_ar[1][7][6] = 0 print_prices_ar[1][7][7] = 1 print_prices_ar[1][7][8] = 1 print_prices_ar[1][7][9] = 1 print_prices_ar[1][7][10] = 1 print_prices_ar[1][4] = new Array(); print_prices_ar[1][4][1] = 75 print_prices_ar[1][4][2] = 51 print_prices_ar[1][4][3] = 57 print_prices_ar[1][4][4] = 0 print_prices_ar[1][4][5] = 0 print_prices_ar[1][4][6] = 0 print_prices_ar[1][4][7] = 1 print_prices_ar[1][4][8] = 1 print_prices_ar[1][4][9] = 1 print_prices_ar[1][4][10] = 1 print_prices_ar[1][3] = new Array(); print_prices_ar[1][3][1] = 90 print_prices_ar[1][3][2] = 54 print_prices_ar[1][3][3] = 60 print_prices_ar[1][3][4] = 0 print_prices_ar[1][3][5] = 0 print_prices_ar[1][3][6] = 0 print_prices_ar[1][3][7] = 1 print_prices_ar[1][3][8] = 1 print_prices_ar[1][3][9] = 1 print_prices_ar[1][3][10] = 1 print_prices_ar[1][18] = new Array(); print_prices_ar[1][18][1] = 600 print_prices_ar[1][18][2] = 410 print_prices_ar[1][18][3] = 456 print_prices_ar[1][18][4] = 2160 print_prices_ar[1][18][5] = 0 print_prices_ar[1][18][6] = 0 print_prices_ar[1][18][7] = 1 print_prices_ar[1][18][8] = 1 print_prices_ar[1][18][9] = 1 print_prices_ar[1][18][10] = 1 print_prices_ar[2] = new Array(); print_prices_ar[2][2] = new Array(); print_prices_ar[2][2][1] = 38 print_prices_ar[2][2][2] = 38 print_prices_ar[2][2][3] = 47 print_prices_ar[2][2][4] = 1 print_prices_ar[2][2][5] = 1 print_prices_ar[2][2][6] = 41 print_prices_ar[2][2][7] = 38 print_prices_ar[2][2][8] = 38 print_prices_ar[2][2][9] = 1 print_prices_ar[2][2][10] = 0 print_prices_ar[2][12] = new Array(); print_prices_ar[2][12][1] = 338 print_prices_ar[2][12][2] = 338 print_prices_ar[2][12][3] = 419 print_prices_ar[2][12][4] = 1 print_prices_ar[2][12][5] = 1 print_prices_ar[2][12][6] = 365 print_prices_ar[2][12][7] = 338 print_prices_ar[2][12][8] = 338 print_prices_ar[2][12][9] = 1 print_prices_ar[2][12][10] = 0 print_prices_ar[2][17] = new Array(); print_prices_ar[2][17][1] = 57 print_prices_ar[2][17][2] = 57 print_prices_ar[2][17][3] = 70 print_prices_ar[2][17][4] = 1 print_prices_ar[2][17][5] = 1 print_prices_ar[2][17][6] = 61 print_prices_ar[2][17][7] = 57 print_prices_ar[2][17][8] = 57 print_prices_ar[2][17][9] = 1 print_prices_ar[2][17][10] = 0 print_prices_ar[2][16] = new Array(); print_prices_ar[2][16][1] = 675 print_prices_ar[2][16][2] = 675 print_prices_ar[2][16][3] = 837 print_prices_ar[2][16][4] = 1 print_prices_ar[2][16][5] = 1 print_prices_ar[2][16][6] = 729 print_prices_ar[2][16][7] = 675 print_prices_ar[2][16][8] = 675 print_prices_ar[2][16][9] = 1 print_prices_ar[2][16][10] = 0 print_prices_ar[2][15] = new Array(); print_prices_ar[2][15][1] = 450 print_prices_ar[2][15][2] = 450 print_prices_ar[2][15][3] = 558 print_prices_ar[2][15][4] = 1 print_prices_ar[2][15][5] = 1 print_prices_ar[2][15][6] = 486 print_prices_ar[2][15][7] = 450 print_prices_ar[2][15][8] = 450 print_prices_ar[2][15][9] = 1 print_prices_ar[2][15][10] = 0 print_prices_ar[2][14] = new Array(); print_prices_ar[2][14][1] = 113 print_prices_ar[2][14][2] = 113 print_prices_ar[2][14][3] = 140 print_prices_ar[2][14][4] = 1 print_prices_ar[2][14][5] = 1 print_prices_ar[2][14][6] = 122 print_prices_ar[2][14][7] = 113 print_prices_ar[2][14][8] = 113 print_prices_ar[2][14][9] = 1 print_prices_ar[2][14][10] = 0 print_prices_ar[2][13] = new Array(); print_prices_ar[2][13][1] = 2500 print_prices_ar[2][13][2] = 2500 print_prices_ar[2][13][3] = 3100 print_prices_ar[2][13][4] = 1 print_prices_ar[2][13][5] = 1 print_prices_ar[2][13][6] = 2700 print_prices_ar[2][13][7] = 2500 print_prices_ar[2][13][8] = 2500 print_prices_ar[2][13][9] = 1 print_prices_ar[2][13][10] = 0 print_prices_ar[2][11] = new Array(); print_prices_ar[2][11][1] = 300 print_prices_ar[2][11][2] = 300 print_prices_ar[2][11][3] = 372 print_prices_ar[2][11][4] = 1 print_prices_ar[2][11][5] = 1 print_prices_ar[2][11][6] = 324 print_prices_ar[2][11][7] = 300 print_prices_ar[2][11][8] = 300 print_prices_ar[2][11][9] = 1 print_prices_ar[2][11][10] = 0 print_prices_ar[2][10] = new Array(); print_prices_ar[2][10][1] = 180 print_prices_ar[2][10][2] = 180 print_prices_ar[2][10][3] = 223 print_prices_ar[2][10][4] = 1 print_prices_ar[2][10][5] = 1 print_prices_ar[2][10][6] = 194 print_prices_ar[2][10][7] = 180 print_prices_ar[2][10][8] = 180 print_prices_ar[2][10][9] = 1 print_prices_ar[2][10][10] = 0 print_prices_ar[2][9] = new Array(); print_prices_ar[2][9][1] = 150 print_prices_ar[2][9][2] = 150 print_prices_ar[2][9][3] = 186 print_prices_ar[2][9][4] = 1 print_prices_ar[2][9][5] = 1 print_prices_ar[2][9][6] = 162 print_prices_ar[2][9][7] = 150 print_prices_ar[2][9][8] = 150 print_prices_ar[2][9][9] = 1 print_prices_ar[2][9][10] = 0 print_prices_ar[2][8] = new Array(); print_prices_ar[2][8][1] = 0 print_prices_ar[2][8][2] = 0 print_prices_ar[2][8][3] = 172 print_prices_ar[2][8][4] = 1 print_prices_ar[2][8][5] = 1 print_prices_ar[2][8][6] = 150 print_prices_ar[2][8][7] = 139 print_prices_ar[2][8][8] = 139 print_prices_ar[2][8][9] = 1 print_prices_ar[2][8][10] = 0 print_prices_ar[2][7] = new Array(); print_prices_ar[2][7][1] = 90 print_prices_ar[2][7][2] = 90 print_prices_ar[2][7][3] = 112 print_prices_ar[2][7][4] = 1 print_prices_ar[2][7][5] = 1 print_prices_ar[2][7][6] = 97 print_prices_ar[2][7][7] = 90 print_prices_ar[2][7][8] = 90 print_prices_ar[2][7][9] = 1 print_prices_ar[2][7][10] = 0 print_prices_ar[2][4] = new Array(); print_prices_ar[2][4][1] = 75 print_prices_ar[2][4][2] = 75 print_prices_ar[2][4][3] = 93 print_prices_ar[2][4][4] = 1 print_prices_ar[2][4][5] = 1 print_prices_ar[2][4][6] = 81 print_prices_ar[2][4][7] = 75 print_prices_ar[2][4][8] = 75 print_prices_ar[2][4][9] = 1 print_prices_ar[2][4][10] = 0 print_prices_ar[2][3] = new Array(); print_prices_ar[2][3][1] = 90 print_prices_ar[2][3][2] = 90 print_prices_ar[2][3][3] = 98 print_prices_ar[2][3][4] = 1 print_prices_ar[2][3][5] = 1 print_prices_ar[2][3][6] = 85 print_prices_ar[2][3][7] = 90 print_prices_ar[2][3][8] = 90 print_prices_ar[2][3][9] = 1 print_prices_ar[2][3][10] = 0 print_prices_ar[2][18] = new Array(); print_prices_ar[2][18][1] = 600 print_prices_ar[2][18][2] = 600 print_prices_ar[2][18][3] = 744 print_prices_ar[2][18][4] = 1 print_prices_ar[2][18][5] = 1 print_prices_ar[2][18][6] = 648 print_prices_ar[2][18][7] = 600 print_prices_ar[2][18][8] = 600 print_prices_ar[2][18][9] = 1 print_prices_ar[2][18][10] = 0 print_prices_ar[3] = new Array(); print_prices_ar[3][2] = new Array(); print_prices_ar[3][2][1] = 0 print_prices_ar[3][2][2] = 0 print_prices_ar[3][2][3] = 0 print_prices_ar[3][2][4] = 1 print_prices_ar[3][2][5] = 1 print_prices_ar[3][2][6] = 0 print_prices_ar[3][2][7] = 11 print_prices_ar[3][2][8] = 11 print_prices_ar[3][2][9] = 1 print_prices_ar[3][2][10] = 1 print_prices_ar[3][12] = new Array(); print_prices_ar[3][12][1] = 0 print_prices_ar[3][12][2] = 0 print_prices_ar[3][12][3] = 270 print_prices_ar[3][12][4] = 1 print_prices_ar[3][12][5] = 1 print_prices_ar[3][12][6] = 210 print_prices_ar[3][12][7] = 135 print_prices_ar[3][12][8] = 135 print_prices_ar[3][12][9] = 1 print_prices_ar[3][12][10] = 1 print_prices_ar[3][17] = new Array(); print_prices_ar[3][17][1] = 0 print_prices_ar[3][17][2] = 0 print_prices_ar[3][17][3] = 0 print_prices_ar[3][17][4] = 1 print_prices_ar[3][17][5] = 1 print_prices_ar[3][17][6] = 0 print_prices_ar[3][17][7] = 0 print_prices_ar[3][17][8] = 0 print_prices_ar[3][17][9] = 1 print_prices_ar[3][17][10] = 1 print_prices_ar[3][16] = new Array(); print_prices_ar[3][16][1] = 0 print_prices_ar[3][16][2] = 0 print_prices_ar[3][16][3] = 550 print_prices_ar[3][16][4] = 1 print_prices_ar[3][16][5] = 1 print_prices_ar[3][16][6] = 390 print_prices_ar[3][16][7] = 255 print_prices_ar[3][16][8] = 255 print_prices_ar[3][16][9] = 1 print_prices_ar[3][16][10] = 1 print_prices_ar[3][15] = new Array(); print_prices_ar[3][15][1] = 0 print_prices_ar[3][15][2] = 0 print_prices_ar[3][15][3] = 440 print_prices_ar[3][15][4] = 1 print_prices_ar[3][15][5] = 1 print_prices_ar[3][15][6] = 310 print_prices_ar[3][15][7] = 180 print_prices_ar[3][15][8] = 180 print_prices_ar[3][15][9] = 1 print_prices_ar[3][15][10] = 1 print_prices_ar[3][14] = new Array(); print_prices_ar[3][14][1] = 0 print_prices_ar[3][14][2] = 0 print_prices_ar[3][14][3] = 0 print_prices_ar[3][14][4] = 1 print_prices_ar[3][14][5] = 1 print_prices_ar[3][14][6] = 0 print_prices_ar[3][14][7] = 0 print_prices_ar[3][14][8] = 0 print_prices_ar[3][14][9] = 1 print_prices_ar[3][14][10] = 1 print_prices_ar[3][13] = new Array(); print_prices_ar[3][13][1] = 0 print_prices_ar[3][13][2] = 0 print_prices_ar[3][13][3] = 0 print_prices_ar[3][13][4] = 1 print_prices_ar[3][13][5] = 1 print_prices_ar[3][13][6] = 0 print_prices_ar[3][13][7] = 0 print_prices_ar[3][13][8] = 0 print_prices_ar[3][13][9] = 1 print_prices_ar[3][13][10] = 1 print_prices_ar[3][11] = new Array(); print_prices_ar[3][11][1] = 0 print_prices_ar[3][11][2] = 0 print_prices_ar[3][11][3] = 250 print_prices_ar[3][11][4] = 1 print_prices_ar[3][11][5] = 1 print_prices_ar[3][11][6] = 170 print_prices_ar[3][11][7] = 130 print_prices_ar[3][11][8] = 130 print_prices_ar[3][11][9] = 1 print_prices_ar[3][11][10] = 1 print_prices_ar[3][10] = new Array(); print_prices_ar[3][10][1] = 0 print_prices_ar[3][10][2] = 0 print_prices_ar[3][10][3] = 150 print_prices_ar[3][10][4] = 1 print_prices_ar[3][10][5] = 1 print_prices_ar[3][10][6] = 100 print_prices_ar[3][10][7] = 80 print_prices_ar[3][10][8] = 80 print_prices_ar[3][10][9] = 1 print_prices_ar[3][10][10] = 1 print_prices_ar[3][9] = new Array(); print_prices_ar[3][9][1] = 0 print_prices_ar[3][9][2] = 0 print_prices_ar[3][9][3] = 130 print_prices_ar[3][9][4] = 1 print_prices_ar[3][9][5] = 1 print_prices_ar[3][9][6] = 90 print_prices_ar[3][9][7] = 75 print_prices_ar[3][9][8] = 75 print_prices_ar[3][9][9] = 1 print_prices_ar[3][9][10] = 1 print_prices_ar[3][8] = new Array(); print_prices_ar[3][8][1] = 0 print_prices_ar[3][8][2] = 0 print_prices_ar[3][8][3] = 0 print_prices_ar[3][8][4] = 1 print_prices_ar[3][8][5] = 1 print_prices_ar[3][8][6] = 0 print_prices_ar[3][8][7] = 50 print_prices_ar[3][8][8] = 50 print_prices_ar[3][8][9] = 1 print_prices_ar[3][8][10] = 1 print_prices_ar[3][7] = new Array(); print_prices_ar[3][7][1] = 0 print_prices_ar[3][7][2] = 0 print_prices_ar[3][7][3] = 0 print_prices_ar[3][7][4] = 1 print_prices_ar[3][7][5] = 1 print_prices_ar[3][7][6] = 0 print_prices_ar[3][7][7] = 26 print_prices_ar[3][7][8] = 26 print_prices_ar[3][7][9] = 1 print_prices_ar[3][7][10] = 1 print_prices_ar[3][4] = new Array(); print_prices_ar[3][4][1] = 0 print_prices_ar[3][4][2] = 0 print_prices_ar[3][4][3] = 0 print_prices_ar[3][4][4] = 1 print_prices_ar[3][4][5] = 1 print_prices_ar[3][4][6] = 0 print_prices_ar[3][4][7] = 24 print_prices_ar[3][4][8] = 24 print_prices_ar[3][4][9] = 1 print_prices_ar[3][4][10] = 1 print_prices_ar[3][3] = new Array(); print_prices_ar[3][3][1] = 0 print_prices_ar[3][3][2] = 0 print_prices_ar[3][3][3] = 0 print_prices_ar[3][3][4] = 1 print_prices_ar[3][3][5] = 1 print_prices_ar[3][3][6] = 0 print_prices_ar[3][3][7] = 25 print_prices_ar[3][3][8] = 25 print_prices_ar[3][3][9] = 1 print_prices_ar[3][3][10] = 1 print_prices_ar[3][18] = new Array(); print_prices_ar[3][18][1] = 1 print_prices_ar[3][18][2] = 1 print_prices_ar[3][18][3] = 0 print_prices_ar[3][18][4] = 1 print_prices_ar[3][18][5] = 1 print_prices_ar[3][18][6] = 0 print_prices_ar[3][18][7] = 0 print_prices_ar[3][18][8] = 0 print_prices_ar[3][18][9] = 1 print_prices_ar[3][18][10] = 1 print_prices_ar[4] = new Array(); print_prices_ar[4][2] = new Array(); print_prices_ar[4][2][1] = 0 print_prices_ar[4][2][2] = 0 print_prices_ar[4][2][3] = 0 print_prices_ar[4][2][4] = 1 print_prices_ar[4][2][5] = 1 print_prices_ar[4][2][6] = 0 print_prices_ar[4][2][7] = 1 print_prices_ar[4][2][8] = 1 print_prices_ar[4][2][9] = 0 print_prices_ar[4][2][10] = 1 print_prices_ar[4][12] = new Array(); print_prices_ar[4][12][1] = 0 print_prices_ar[4][12][2] = 0 print_prices_ar[4][12][3] = 0 print_prices_ar[4][12][4] = 1 print_prices_ar[4][12][5] = 1 print_prices_ar[4][12][6] = 0 print_prices_ar[4][12][7] = 1 print_prices_ar[4][12][8] = 1 print_prices_ar[4][12][9] = 450 print_prices_ar[4][12][10] = 1 print_prices_ar[4][17] = new Array(); print_prices_ar[4][17][1] = 0 print_prices_ar[4][17][2] = 0 print_prices_ar[4][17][3] = 0 print_prices_ar[4][17][4] = 1 print_prices_ar[4][17][5] = 1 print_prices_ar[4][17][6] = 0 print_prices_ar[4][17][7] = 1 print_prices_ar[4][17][8] = 1 print_prices_ar[4][17][9] = 0 print_prices_ar[4][17][10] = 1 print_prices_ar[4][16] = new Array(); print_prices_ar[4][16][1] = 0 print_prices_ar[4][16][2] = 0 print_prices_ar[4][16][3] = 0 print_prices_ar[4][16][4] = 1 print_prices_ar[4][16][5] = 1 print_prices_ar[4][16][6] = 0 print_prices_ar[4][16][7] = 1 print_prices_ar[4][16][8] = 1 print_prices_ar[4][16][9] = 0 print_prices_ar[4][16][10] = 1 print_prices_ar[4][15] = new Array(); print_prices_ar[4][15][1] = 0 print_prices_ar[4][15][2] = 0 print_prices_ar[4][15][3] = 0 print_prices_ar[4][15][4] = 1 print_prices_ar[4][15][5] = 1 print_prices_ar[4][15][6] = 0 print_prices_ar[4][15][7] = 1 print_prices_ar[4][15][8] = 1 print_prices_ar[4][15][9] = 0 print_prices_ar[4][15][10] = 1 print_prices_ar[4][14] = new Array(); print_prices_ar[4][14][1] = 0 print_prices_ar[4][14][2] = 0 print_prices_ar[4][14][3] = 0 print_prices_ar[4][14][4] = 1 print_prices_ar[4][14][5] = 1 print_prices_ar[4][14][6] = 0 print_prices_ar[4][14][7] = 1 print_prices_ar[4][14][8] = 1 print_prices_ar[4][14][9] = 0 print_prices_ar[4][14][10] = 1 print_prices_ar[4][13] = new Array(); print_prices_ar[4][13][1] = 3340 print_prices_ar[4][13][2] = 3340 print_prices_ar[4][13][3] = 0 print_prices_ar[4][13][4] = 1 print_prices_ar[4][13][5] = 1 print_prices_ar[4][13][6] = 0 print_prices_ar[4][13][7] = 1 print_prices_ar[4][13][8] = 1 print_prices_ar[4][13][9] = 2950 print_prices_ar[4][13][10] = 1 print_prices_ar[4][11] = new Array(); print_prices_ar[4][11][1] = 0 print_prices_ar[4][11][2] = 0 print_prices_ar[4][11][3] = 0 print_prices_ar[4][11][4] = 1 print_prices_ar[4][11][5] = 1 print_prices_ar[4][11][6] = 0 print_prices_ar[4][11][7] = 1 print_prices_ar[4][11][8] = 1 print_prices_ar[4][11][9] = 400 print_prices_ar[4][11][10] = 1 print_prices_ar[4][10] = new Array(); print_prices_ar[4][10][1] = 0 print_prices_ar[4][10][2] = 0 print_prices_ar[4][10][3] = 0 print_prices_ar[4][10][4] = 1 print_prices_ar[4][10][5] = 1 print_prices_ar[4][10][6] = 0 print_prices_ar[4][10][7] = 1 print_prices_ar[4][10][8] = 1 print_prices_ar[4][10][9] = 0 print_prices_ar[4][10][10] = 1 print_prices_ar[4][9] = new Array(); print_prices_ar[4][9][1] = 0 print_prices_ar[4][9][2] = 0 print_prices_ar[4][9][3] = 0 print_prices_ar[4][9][4] = 1 print_prices_ar[4][9][5] = 1 print_prices_ar[4][9][6] = 0 print_prices_ar[4][9][7] = 1 print_prices_ar[4][9][8] = 1 print_prices_ar[4][9][9] = 200 print_prices_ar[4][9][10] = 1 print_prices_ar[4][8] = new Array(); print_prices_ar[4][8][1] = 0 print_prices_ar[4][8][2] = 0 print_prices_ar[4][8][3] = 0 print_prices_ar[4][8][4] = 1 print_prices_ar[4][8][5] = 1 print_prices_ar[4][8][6] = 0 print_prices_ar[4][8][7] = 1 print_prices_ar[4][8][8] = 1 print_prices_ar[4][8][9] = 0 print_prices_ar[4][8][10] = 1 print_prices_ar[4][7] = new Array(); print_prices_ar[4][7][1] = 0 print_prices_ar[4][7][2] = 0 print_prices_ar[4][7][3] = 0 print_prices_ar[4][7][4] = 1 print_prices_ar[4][7][5] = 1 print_prices_ar[4][7][6] = 0 print_prices_ar[4][7][7] = 1 print_prices_ar[4][7][8] = 1 print_prices_ar[4][7][9] = 0 print_prices_ar[4][7][10] = 1 print_prices_ar[4][4] = new Array(); print_prices_ar[4][4][1] = 0 print_prices_ar[4][4][2] = 0 print_prices_ar[4][4][3] = 0 print_prices_ar[4][4][4] = 1 print_prices_ar[4][4][5] = 1 print_prices_ar[4][4][6] = 0 print_prices_ar[4][4][7] = 1 print_prices_ar[4][4][8] = 1 print_prices_ar[4][4][9] = 0 print_prices_ar[4][4][10] = 1 print_prices_ar[4][3] = new Array(); print_prices_ar[4][3][1] = 0 print_prices_ar[4][3][2] = 0 print_prices_ar[4][3][3] = 0 print_prices_ar[4][3][4] = 1 print_prices_ar[4][3][5] = 1 print_prices_ar[4][3][6] = 0 print_prices_ar[4][3][7] = 1 print_prices_ar[4][3][8] = 1 print_prices_ar[4][3][9] = 0 print_prices_ar[4][3][10] = 1 print_prices_ar[4][18] = new Array(); print_prices_ar[4][18][1] = 1 print_prices_ar[4][18][2] = 1 print_prices_ar[4][18][3] = 1 print_prices_ar[4][18][4] = 1 print_prices_ar[4][18][5] = 1 print_prices_ar[4][18][6] = 0 print_prices_ar[4][18][7] = 1 print_prices_ar[4][18][8] = 1 print_prices_ar[4][18][9] = 802 print_prices_ar[4][18][10] = 1 var print_format_prices_ar = new Array(); print_format_prices_ar[2] = 0.009333; print_format_prices_ar[12] = 0.133333; print_format_prices_ar[3] = 0.017333; print_format_prices_ar[4] = 0.021333; print_format_prices_ar[7] = 0.017333; print_format_prices_ar[8] = 6.364; print_format_prices_ar[9] = 0.06; print_format_prices_ar[10] = 0.066667; print_format_prices_ar[11] = 0.12; print_format_prices_ar[13] = 1; print_format_prices_ar[14] = 0.046667; print_format_prices_ar[15] = 0.18; print_format_prices_ar[16] = 0.266667; print_format_prices_ar[17] = 1; print_format_prices_ar[18] = 1; var print_paper_prices_ar = new Array(); print_paper_prices_ar[1] = 740.741; print_paper_prices_ar[2] = 1500; print_paper_prices_ar[3] = 1140; print_paper_prices_ar[4] = 3000; print_paper_prices_ar[5] = 3000; print_paper_prices_ar[6] = 1500; print_paper_prices_ar[7] = 750; print_paper_prices_ar[8] = 750; print_paper_prices_ar[9] = 0; var print_printer_prices_ar = new Array(); print_printer_prices_ar[1] = 1; print_printer_prices_ar[2] = 1; print_printer_prices_ar[3] = 1; print_printer_prices_ar[4] = 1; var photomoney_amount = 0; var print_printer_papers_ar = new Array(); print_printer_papers_ar[1] = [2]; print_printer_papers_ar[2] = [2]; print_printer_papers_ar[3] = [2,3]; print_printer_papers_ar[4] = [1]; print_printer_papers_ar[5] = [1]; print_printer_papers_ar[6] = [2,3]; print_printer_papers_ar[7] = [2,3]; print_printer_papers_ar[8] = [2,3]; print_printer_papers_ar[9] = [4]; var last_printer_id = 1; var last_paper_id = 1;