var Night_data = {"price_gel":{"title":"\u0644\u0627\u0631\u06cc \u06af\u0631\u062c\u0633\u062a\u0627\u0646","p":"239,600","h":"240,900","l":"238,500","d":"0","dp":0,"dt":"","t":"\u06f6 \u0627\u0631\u062f\u06cc\u0628\u0647\u0634\u062a"},"price_amd":{"title":"\u062f\u0631\u0627\u0645 \u0627\u0631\u0645\u0646\u0633\u062a\u0627\u0646","p":"1,640","h":"1,650","l":"1,630","d":"0","dp":0,"dt":"","t":"\u06f6 \u0627\u0631\u062f\u06cc\u0628\u0647\u0634\u062a"},"price_nzd":{"title":"\u062f\u0644\u0627\u0631 \u0646\u06cc\u0648\u0632\u06cc\u0644\u0646\u062f","p":"376,700","h":"381,800","l":"376,700","d":"0","dp":0,"dt":"","t":"\u06f6 \u0627\u0631\u062f\u06cc\u0628\u0647\u0634\u062a"},"price_qar":{"title":"\u0631\u06cc\u0627\u0644 \u0642\u0637\u0631","p":"174,900","h":"176,300","l":"174,500","d":"0","dp":0,"dt":"","t":"\u06f6 \u0627\u0631\u062f\u06cc\u0628\u0647\u0634\u062a"},"price_bhd":{"title":"\u062f\u06cc\u0646\u0627\u0631 \u0628\u062d\u0631\u06cc\u0646","p":"1,700,700","h":"1,714,600","l":"1,696,300","d":"0","dp":0,"dt":"","t":"\u06f6 \u0627\u0631\u062f\u06cc\u0628\u0647\u0634\u062a"},"price_pkr":{"title":"\u0631\u0648\u067e\u06cc\u0647 \u067e\u0627\u06a9\u0633\u062a\u0627\u0646","p":"2,296","h":"2,320","l":"2,295","d":"0","dp":0,"dt":"","t":"\u06f6 \u0627\u0631\u062f\u06cc\u0628\u0647\u0634\u062a"},"price_hkd":{"title":"\u062f\u0644\u0627\u0631 \u0647\u0646\u06af \u06a9\u0646\u06af","p":"81,200","h":"81,700","l":"81,100","d":"0","dp":0,"dt":"","t":"\u06f6 \u0627\u0631\u062f\u06cc\u0628\u0647\u0634\u062a"},"price_afn":{"title":"\u0627\u0641\u063a\u0627\u0646\u06cc","p":"8,810","h":"8,950","l":"8,790","d":"0","dp":0,"dt":"","t":"\u06f6 \u0627\u0631\u062f\u06cc\u0628\u0647\u0634\u062a"},"price_iqd":{"title":"\u062f\u06cc\u0646\u0627\u0631 \u0639\u0631\u0627\u0642","p":"496","h":"501","l":"495","d":"0","dp":0,"dt":"","t":"\u06f6 \u0627\u0631\u062f\u06cc\u0628\u0647\u0634\u062a"},"price_sgd":{"title":"\u062f\u0644\u0627\u0631 \u0633\u0646\u06af\u0627\u067e\u0648\u0631","p":"467,000","h":"472,200","l":"466,900","d":"0","dp":0,"dt":"","t":"\u06f6 \u0627\u0631\u062f\u06cc\u0628\u0647\u0634\u062a"},"price_omr":{"title":"\u0631\u06cc\u0627\u0644 \u0639\u0645\u0627\u0646","p":"1,658,600","h":"1,672,800","l":"1,654,700","d":"0","dp":0,"dt":"","t":"\u06f6 \u0627\u0631\u062f\u06cc\u0628\u0647\u0634\u062a"},"price_rub":{"title":"\u0631\u0648\u0628\u0644 \u0631\u0648\u0633\u06cc\u0647","p":"6,910","h":"6,970","l":"6,880","d":"0","dp":0,"dt":"","t":"\u06f6 \u0627\u0631\u062f\u06cc\u0628\u0647\u0634\u062a"},"price_syp":{"title":"\u0644\u06cc\u0631 \u0633\u0648\u0631\u06cc\u0647","p":"253","h":"255","l":"252","d":"0","dp":0,"dt":"","t":"\u06f6 \u0627\u0631\u062f\u06cc\u0628\u0647\u0634\u062a"},"price_kwd":{"title":"\u062f\u06cc\u0646\u0627\u0631 \u06a9\u0648\u06cc\u062a","p":"2,069,800","h":"2,088,300","l":"2,065,600","d":"0","dp":0,"dt":"","t":"\u06f6 \u0627\u0631\u062f\u06cc\u0628\u0647\u0634\u062a"},"price_jpy":{"title":"\u06cc\u0646 \u0698\u0627\u067e\u0646","p":"409,270","h":"412,290","l":"407,930","d":"0","dp":0,"dt":"","t":"\u06f6 \u0627\u0631\u062f\u06cc\u0628\u0647\u0634\u062a"},"price_cny":{"title":"\u06cc\u0648\u0627\u0646 \u0686\u06cc\u0646","p":"87,800","h":"88,300","l":"87,600","d":"0","dp":0,"dt":"","t":"\u06f6 \u0627\u0631\u062f\u06cc\u0628\u0647\u0634\u062a"},"price_nok":{"title":"\u06a9\u0631\u0648\u0646 \u0646\u0631\u0648\u0698","p":"57,800","h":"58,500","l":"57,800","d":"0","dp":0,"dt":"","t":"\u06f6 \u0627\u0631\u062f\u06cc\u0628\u0647\u0634\u062a"},"price_inr":{"title":"\u0631\u0648\u067e\u06cc\u0647 \u0647\u0646\u062f","p":"7,630","h":"7,700","l":"7,620","d":"0","dp":0,"dt":"","t":"\u06f6 \u0627\u0631\u062f\u06cc\u0628\u0647\u0634\u062a"},"price_myr":{"title":"\u0631\u06cc\u0646\u06af\u06cc\u062a \u0645\u0627\u0644\u0632\u06cc","p":"133,200","h":"134,200","l":"132,900","d":"0","dp":0,"dt":"","t":"\u06f6 \u0627\u0631\u062f\u06cc\u0628\u0647\u0634\u062a"},"price_eur":{"title":"\u06cc\u0648\u0631\u0648","p":"680,280","h":"687,650","l":"679,870","d":"0","dp":0,"dt":"","t":"\u06f6 \u0627\u0631\u062f\u06cc\u0628\u0647\u0634\u062a"},"price_sar":{"title":"\u0631\u06cc\u0627\u0644 \u0639\u0631\u0628\u0633\u062a\u0627\u0646","p":"169,860","h":"171,280","l":"169,450","d":"0","dp":0,"dt":"","t":"\u06f6 \u0627\u0631\u062f\u06cc\u0628\u0647\u0634\u062a"},"price_azn":{"title":"\u0645\u0646\u0627\u062a \u0622\u0630\u0631\u0628\u0627\u06cc\u062c\u0627\u0646","p":"374,300","h":"377,400","l":"373,400","d":"0","dp":0,"dt":"","t":"\u06f6 \u0627\u0631\u062f\u06cc\u0628\u0647\u0634\u062a"},"oil_opec":{"title":"\u0646\u0641\u062a \u0627\u067e\u06a9","p":"88.39","h":"88.39","l":"88.39","d":"0","dp":0,"dt":"","t":"\u06f7 \u0627\u0631\u062f\u06cc\u0628\u0647\u0634\u062a"},"gerami":{"title":"\u0633\u06a9\u0647 \u06af\u0631\u0645\u06cc","p":"68,000,000","h":"68,000,000","l":"68,000,000","d":"0","dp":0,"dt":"","t":"\u06f5 \u0627\u0631\u062f\u06cc\u0628\u0647\u0634\u062a"},"sekeb":{"title":"\u0633\u06a9\u0647 \u0628\u0647\u0627\u0631 \u0622\u0632\u0627\u062f\u06cc","p":"391,950,000","h":"393,250,000","l":"391,900,000","d":"0","dp":0,"dt":"","t":"\u06f6 \u0627\u0631\u062f\u06cc\u0628\u0647\u0634\u062a"},"price_try":{"title":"\u0644\u06cc\u0631 \u062a\u0631\u06a9\u06cc\u0647","p":"19,650","h":"19,850","l":"19,550","d":"0","dp":0,"dt":"","t":"\u06f6 \u0627\u0631\u062f\u06cc\u0628\u0647\u0634\u062a"},"price_cad":{"title":"\u062f\u0644\u0627\u0631 \u06a9\u0627\u0646\u0627\u062f\u0627","p":"465,200","h":"470,300","l":"465,100","d":"0","dp":0,"dt":"","t":"\u06f6 \u0627\u0631\u062f\u06cc\u0628\u0647\u0634\u062a"},"price_aud":{"title":"\u062f\u0644\u0627\u0631 \u0627\u0633\u062a\u0631\u0627\u0644\u06cc\u0627","p":"412,700","h":"418,100","l":"412,700","d":"0","dp":0,"dt":"","t":"\u06f6 \u0627\u0631\u062f\u06cc\u0628\u0647\u0634\u062a"},"price_aed":{"title":"\u062f\u0631\u0647\u0645 \u0627\u0645\u0627\u0631\u0627\u062a","p":"174,040","h":"175,500","l":"173,630","d":"0","dp":0,"dt":"","t":"\u06f6 \u0627\u0631\u062f\u06cc\u0628\u0647\u0634\u062a"},"price_gbp":{"title":"\u067e\u0648\u0646\u062f","p":"793,090","h":"801,690","l":"792,840","d":"0","dp":0,"dt":"","t":"\u06f6 \u0627\u0631\u062f\u06cc\u0628\u0647\u0634\u062a"},"rob":{"title":"\u0631\u0628\u0639 \u0633\u06a9\u0647","p":"151,000,000","h":"151,000,000","l":"151,000,000","d":"0","dp":0,"dt":"","t":"\u06f6 \u0627\u0631\u062f\u06cc\u0628\u0647\u0634\u062a"},"nim":{"title":"\u0646\u06cc\u0645 \u0633\u06a9\u0647","p":"248,000,000","h":"250,000,000","l":"248,000,000","d":"0","dp":0,"dt":"","t":"\u06f6 \u0627\u0631\u062f\u06cc\u0628\u0647\u0634\u062a"},"sekee":{"title":"\u0633\u06a9\u0647 \u0627\u0645\u0627\u0645\u06cc","p":"424,090,000","h":"424,100,000","l":"418,840,000","d":"0","dp":0,"dt":"","t":"\u06f6 \u0627\u0631\u062f\u06cc\u0628\u0647\u0634\u062a"},"price_thb":{"title":"\u0628\u0627\u062a \u062a\u0627\u06cc\u0644\u0646\u062f","p":"17,120","h":"17,320","l":"17,120","d":"0","dp":0,"dt":"","t":"\u06f6 \u0627\u0631\u062f\u06cc\u0628\u0647\u0634\u062a"},"price_dkk":{"title":"\u06a9\u0631\u0648\u0646 \u062f\u0627\u0646\u0645\u0627\u0631\u06a9","p":"91,100","h":"92,200","l":"91,100","d":"0","dp":0,"dt":"","t":"\u06f6 \u0627\u0631\u062f\u06cc\u0628\u0647\u0634\u062a"},"price_dollar_rl":{"title":"\u062f\u0644\u0627\u0631","p":"647,000","h":"647,050","l":"641,300","d":"0","dp":0,"dt":"","t":"\u06f1\u06f8 \u0641\u0631\u0648\u0631\u062f\u06cc\u0646"},"price_sek":{"title":"\u06a9\u0631\u0648\u0646 \u0633\u0648\u0626\u062f","p":"58,100","h":"59,200","l":"58,100","d":"0","dp":0,"dt":"","t":"\u06f6 \u0627\u0631\u062f\u06cc\u0628\u0647\u0634\u062a"},"price_chf":{"title":"\u0641\u0631\u0627\u0646\u06a9 \u0633\u0648\u0626\u06cc\u0633","p":"695,200","h":"702,100","l":"694,900","d":"0","dp":0,"dt":"","t":"\u06f6 \u0627\u0631\u062f\u06cc\u0628\u0647\u0634\u062a"},"geram24":{"title":"\u06af\u0631\u0645 \u0637\u0644\u0627\u06cc \u06f2\u06f4","p":"46,976,000","h":"47,345,000","l":"46,607,000","d":"0","dp":0,"dt":"","t":"\u06f6 \u0627\u0631\u062f\u06cc\u0628\u0647\u0634\u062a"},"geram18":{"title":"\u06af\u0631\u0645 \u0637\u0644\u0627\u06cc \u06f1\u06f8","p":"35,232,000","h":"35,509,000","l":"34,955,000","d":"0","dp":0,"dt":"","t":"\u06f6 \u0627\u0631\u062f\u06cc\u0628\u0647\u0634\u062a"},"mesghal":{"title":"\u0645\u062b\u0642\u0627\u0644 \u0637\u0644\u0627","p":"152,590,000","h":"153,970,000","l":"151,380,000","d":"0","dp":0,"dt":"","t":"\u06f6 \u0627\u0631\u062f\u06cc\u0628\u0647\u0634\u062a"},"bourse":{"title":"\u0634\u0627\u062e\u0635 \u0628\u0648\u0631\u0633","p":"2,201,986.9","h":"2,207,356.4","l":"2,201,172.0","d":"0","dp":0,"dt":"","t":"\u06f2\u06f8 \u0641\u0631\u0648\u0631\u062f\u06cc\u0646"},"oil":{"title":"\u0646\u0641\u062a \u0633\u0628\u06a9","p":"83.66","h":"83.68","l":"83.66","d":"0.01","dp":0.01,"dt":"low","t":"\u06f0\u06f0:\u06f4\u06f7:\u06f3\u06f4"},"oil_brent":{"title":"\u0646\u0641\u062a \u0628\u0631\u0646\u062a","p":"89.38","h":"89.38","l":"89.32","d":"0.04","dp":0.04,"dt":"high","t":"\u06f0\u06f1:\u06f4\u06f6:\u06f3\u06f7"},"silver":{"title":"\u0627\u0646\u0633 \u0646\u0642\u0631\u0647","p":"27.22","h":"27.22","l":"27.22","d":"0.01","dp":0.02,"dt":"high","t":"\u06f0\u06f0:\u06f4\u06f5:\u06f0\u06f4"},"platinum":{"title":"\u0627\u0646\u0633 \u067e\u0644\u0627\u062a\u06cc\u0646","p":"924.25","h":"924.25","l":"924.25","d":"0.75","dp":0.08,"dt":"high","t":"\u06f0\u06f0:\u06f4\u06f5:\u06f0\u06f5"},"palladium":{"title":"\u0627\u0646\u0633 \u067e\u0627\u0644\u0627\u062f\u06cc\u0648\u0645","p":"959.50","h":"959.50","l":"959.50","d":"1.03","dp":0.11,"dt":"low","t":"\u06f0\u06f0:\u06f4\u06f5:\u06f0\u06f5"},"ons":{"title":"\u0627\u0648\u0646\u0633 \u0637\u0644\u0627","p":"2,338.12","h":"2,338.12","l":"2,338.12","d":"0.79","dp":0.03,"dt":"low","t":"\u06f0\u06f0:\u06f4\u06f5:\u06f0\u06f4"}}; if ( Night_data ) { var key, this_item, td; var rows = ''; for ( index in Night_params.items ) { key = Night_params.items[index]; this_item = Night_data[key]; if ( this_item === undefined ) continue; td = { 'diff': Night_params.columns.indexOf("diff") >= 0 ? '' + '('+this_item['dp']+'%) '+this_item['d']+'' + '' : '', 'low': Night_params.columns.indexOf("low") >= 0 ? '' + this_item['l'] + '' : '', 'high': Night_params.columns.indexOf("high") >= 0 ? '' + this_item['h'] + '' : '', 'time': Night_params.columns.indexOf("time") >= 0 ? '' + this_item['t'] + '' : '' }; rows += ''+this_item['title']+''+this_item['p']+'' + td.diff + td.low + td.high + td.time + ''; } var th = { 'diff': Night_params.columns.indexOf("diff") >= 0 ? 'تغییر' : '', 'low': Night_params.columns.indexOf("low") >= 0 ? 'کمترین' : '', 'high': Night_params.columns.indexOf("high") >= 0 ? 'بیشترین' : '', 'time': Night_params.columns.indexOf("time") >= 0 ? 'زمان' : '' }; var copyright = ''; var embed_style = ''; if ( Night_params.token === 'webservice' ) { copyright = 'Night Select'; embed_style = '#Night-data-block #Night table.data-table thead { display: none; } #Night-data-block #Night table.data-table tbody tr { display: block !important; } #Night-data-block #Night table.data-table tbody th { border-bottom: none !important; display: block !important; text-align: center !important; padding: 3px 10px 3px !important; background-color: #F1F1F1; } #Night-data-block #Night table.data-table tbody td { display: block !important; text-align: center !important; width: 128px !important; padding: 3px 10px 5px !important; } #Night-data-title { text-align: center; color: #fff; font-family: tahoma; font-size: 12px; font-weight: bold; direction: rtl; background: #1A1A1A; padding: 5px 5px 7px; } .Night-copyright { display: block; text-align: center; color: #eee !important; text-decoration: none; font-family: tahoma; font-size: 11px; margin-top: -15px; margin-bottom: 10px; direction: rtl; background: #1A1A1A; padding: 4px 1px 6px; margin-top: -20px; } .Night-copyright:hover, .Night-copyright:focus{color:#eee !important} .Night-section-title { font: bold 12px/1 tahoma; text-align: center; background-color: #404042; padding: 7px 7px 8px; color: #FFF; } #Night table.data-table { padding: 0 !important; border-top: 0 !important; border-color: #1A1A1A !important; } #Night table.data-table tbody tr th, #Night table.data-table tbody tr td { border-bottom: 1px solid #DCDCDC !important; } body #Night table.data-table tbody tr:hover { background: #DEDEDE !important; } #Night table.data-table thead th { background: #1a1a1a; color: #FFF; text-shadow: none; }'; } document.getElementById(Night_params.placeholder).innerHTML = '
' + th.diff + th.low + th.high + th.time + ''+rows+'
عنوان نرخقیمت زنده
'+copyright+'
'; }