var Night_data = {"price_gel":{"title":"\u0644\u0627\u0631\u06cc \u06af\u0631\u062c\u0633\u062a\u0627\u0646","p":"230,000","h":"231,600","l":"229,700","d":"1,500","dp":0.65,"dt":"low","t":"\u06f1\u06f4:\u06f0\u06f2:\u06f0\u06f4"},"price_amd":{"title":"\u062f\u0631\u0627\u0645 \u0627\u0631\u0645\u0646\u0633\u062a\u0627\u0646","p":"1,580","h":"1,590","l":"1,580","d":"10","dp":0.63,"dt":"low","t":"\u06f1\u06f2:\u06f4\u06f6:\u06f1\u06f7"},"price_nzd":{"title":"\u062f\u0644\u0627\u0631 \u0646\u06cc\u0648\u0632\u06cc\u0644\u0646\u062f","p":"365,700","h":"368,300","l":"365,100","d":"3,600","dp":0.98,"dt":"low","t":"\u06f1\u06f4:\u06f0\u06f2:\u06f0\u06f4"},"price_qar":{"title":"\u0631\u06cc\u0627\u0644 \u0642\u0637\u0631","p":"167,800","h":"168,900","l":"167,600","d":"1,000","dp":0.6,"dt":"low","t":"\u06f1\u06f4:\u06f0\u06f2:\u06f0\u06f4"},"price_bhd":{"title":"\u062f\u06cc\u0646\u0627\u0631 \u0628\u062d\u0631\u06cc\u0646","p":"1,632,800","h":"1,643,300","l":"1,630,300","d":"8,800","dp":0.54,"dt":"low","t":"\u06f1\u06f4:\u06f0\u06f2:\u06f0\u06f3"},"price_pkr":{"title":"\u0631\u0648\u067e\u06cc\u0647 \u067e\u0627\u06a9\u0633\u062a\u0627\u0646","p":"2,203","h":"2,217","l":"2,200","d":"6","dp":0.27,"dt":"low","t":"\u06f1\u06f4:\u06f0\u06f2:\u06f0\u06f3"},"price_hkd":{"title":"\u062f\u0644\u0627\u0631 \u0647\u0646\u06af \u06a9\u0646\u06af","p":"78,100","h":"78,600","l":"78,000","d":"500","dp":0.64,"dt":"low","t":"\u06f1\u06f4:\u06f0\u06f1:\u06f3\u06f4"},"price_afn":{"title":"\u0627\u0641\u063a\u0627\u0646\u06cc","p":"8,450","h":"8,570","l":"8,440","d":"50","dp":0.59,"dt":"low","t":"\u06f1\u06f4:\u06f0\u06f1:\u06f3\u06f4"},"price_iqd":{"title":"\u062f\u06cc\u0646\u0627\u0631 \u0639\u0631\u0627\u0642","p":"475","h":"478","l":"474","d":"6","dp":1.28,"dt":"high","t":"\u06f1\u06f3:\u06f4\u06f7:\u06f1\u06f4"},"price_sgd":{"title":"\u062f\u0644\u0627\u0631 \u0633\u0646\u06af\u0627\u067e\u0648\u0631","p":"450,600","h":"453,800","l":"449,900","d":"3,500","dp":0.78,"dt":"low","t":"\u06f1\u06f4:\u06f0\u06f2:\u06f0\u06f2"},"price_omr":{"title":"\u0631\u06cc\u0627\u0644 \u0639\u0645\u0627\u0646","p":"1,591,100","h":"1,602,200","l":"1,588,700","d":"10,700","dp":0.67,"dt":"low","t":"\u06f1\u06f4:\u06f0\u06f2:\u06f0\u06f2"},"price_rub":{"title":"\u0631\u0648\u0628\u0644 \u0631\u0648\u0633\u06cc\u0647","p":"6,640","h":"6,710","l":"6,640","d":"100","dp":1.51,"dt":"low","t":"\u06f1\u06f3:\u06f5\u06f9:\u06f4\u06f7"},"price_syp":{"title":"\u0644\u06cc\u0631 \u0633\u0648\u0631\u06cc\u0647","p":"243","h":"243","l":"242","d":"1","dp":0.41,"dt":"low","t":"\u06f1\u06f3:\u06f4\u06f3:\u06f5\u06f1"},"price_kwd":{"title":"\u062f\u06cc\u0646\u0627\u0631 \u06a9\u0648\u06cc\u062a","p":"1,988,500","h":"2,001,300","l":"1,986,200","d":"12,400","dp":0.62,"dt":"low","t":"\u06f1\u06f4:\u06f0\u06f2:\u06f0\u06f2"},"price_jpy":{"title":"\u06cc\u0646 \u0698\u0627\u067e\u0646","p":"393,080","h":"395,930","l":"392,370","d":"4,490","dp":1.14,"dt":"low","t":"\u06f1\u06f4:\u06f0\u06f2:\u06f0\u06f2"},"price_cny":{"title":"\u06cc\u0648\u0627\u0646 \u0686\u06cc\u0646","p":"84,500","h":"85,100","l":"84,400","d":"600","dp":0.71,"dt":"low","t":"\u06f1\u06f4:\u06f0\u06f1:\u06f3\u06f4"},"price_nok":{"title":"\u06a9\u0631\u0648\u0646 \u0646\u0631\u0648\u0698","p":"56,000","h":"56,300","l":"55,800","d":"500","dp":0.89,"dt":"low","t":"\u06f1\u06f3:\u06f5\u06f9:\u06f0\u06f1"},"price_inr":{"title":"\u0631\u0648\u067e\u06cc\u0647 \u0647\u0646\u062f","p":"7,310","h":"7,360","l":"7,300","d":"50","dp":0.68,"dt":"low","t":"\u06f1\u06f4:\u06f0\u06f2:\u06f0\u06f3"},"price_myr":{"title":"\u0631\u06cc\u0646\u06af\u06cc\u062a \u0645\u0627\u0644\u0632\u06cc","p":"128,800","h":"129,500","l":"128,600","d":"900","dp":0.7,"dt":"low","t":"\u06f1\u06f4:\u06f0\u06f2:\u06f0\u06f2"},"price_eur":{"title":"\u06cc\u0648\u0631\u0648","p":"656,580","h":"660,450","l":"655,590","d":"5,320","dp":0.81,"dt":"low","t":"\u06f1\u06f4:\u06f0\u06f2:\u06f0\u06f1"},"price_sar":{"title":"\u0631\u06cc\u0627\u0644 \u0639\u0631\u0628\u0633\u062a\u0627\u0646","p":"163,020","h":"164,080","l":"162,790","d":"980","dp":0.6,"dt":"low","t":"\u06f1\u06f4:\u06f0\u06f2:\u06f0\u06f3"},"price_azn":{"title":"\u0645\u0646\u0627\u062a \u0622\u0630\u0631\u0628\u0627\u06cc\u062c\u0627\u0646","p":"359,200","h":"361,500","l":"358,700","d":"2,100","dp":0.58,"dt":"low","t":"\u06f1\u06f4:\u06f0\u06f2:\u06f0\u06f2"},"oil_opec":{"title":"\u0646\u0641\u062a \u0627\u067e\u06a9","p":"83.74","h":"83.74","l":"83.74","d":"0","dp":0,"dt":"","t":"\u06f1\u06f8 \u0627\u0631\u062f\u06cc\u0628\u0647\u0634\u062a"},"gerami":{"title":"\u0633\u06a9\u0647 \u06af\u0631\u0645\u06cc","p":"65,000,000","h":"65,000,000","l":"65,000,000","d":"0","dp":0,"dt":"","t":"\u06f1\u06f3:\u06f3\u06f4:\u06f5\u06f2"},"sekeb":{"title":"\u0633\u06a9\u0647 \u0628\u0647\u0627\u0631 \u0622\u0632\u0627\u062f\u06cc","p":"380,100,000","h":"380,300,000","l":"379,900,000","d":"150,000","dp":0.04,"dt":"high","t":"\u06f1\u06f4:\u06f0\u06f2:\u06f0\u06f8"},"price_try":{"title":"\u0644\u06cc\u0631 \u062a\u0631\u06a9\u06cc\u0647","p":"19,050","h":"19,250","l":"19,050","d":"100","dp":0.52,"dt":"low","t":"\u06f1\u06f3:\u06f1\u06f4:\u06f0\u06f5"},"price_cad":{"title":"\u062f\u0644\u0627\u0631 \u06a9\u0627\u0646\u0627\u062f\u0627","p":"445,700","h":"448,400","l":"445,000","d":"3,800","dp":0.85,"dt":"low","t":"\u06f1\u06f4:\u06f0\u06f2:\u06f0\u06f3"},"price_aud":{"title":"\u062f\u0644\u0627\u0631 \u0627\u0633\u062a\u0631\u0627\u0644\u06cc\u0627","p":"401,100","h":"404,200","l":"400,500","d":"4,800","dp":1.2,"dt":"low","t":"\u06f1\u06f4:\u06f0\u06f2:\u06f0\u06f3"},"price_aed":{"title":"\u062f\u0631\u0647\u0645 \u0627\u0645\u0627\u0631\u0627\u062a","p":"167,100","h":"168,180","l":"166,850","d":"960","dp":0.57,"dt":"low","t":"\u06f1\u06f4:\u06f0\u06f2:\u06f0\u06f1"},"price_gbp":{"title":"\u067e\u0648\u0646\u062f","p":"762,780","h":"767,330","l":"761,500","d":"7,110","dp":0.93,"dt":"low","t":"\u06f1\u06f4:\u06f0\u06f2:\u06f0\u06f2"},"rob":{"title":"\u0631\u0628\u0639 \u0633\u06a9\u0647","p":"150,000,000","h":"151,000,000","l":"150,000,000","d":"0","dp":0,"dt":"","t":"\u06f1\u06f1:\u06f1\u06f4:\u06f0\u06f8"},"nim":{"title":"\u0646\u06cc\u0645 \u0633\u06a9\u0647","p":"236,000,000","h":"237,000,000","l":"236,000,000","d":"0","dp":0,"dt":"","t":"\u06f1\u06f1:\u06f1\u06f4:\u06f0\u06f8"},"sekee":{"title":"\u0633\u06a9\u0647 \u0627\u0645\u0627\u0645\u06cc","p":"412,900,000","h":"415,100,000","l":"411,830,000","d":"200,000","dp":0.05,"dt":"low","t":"\u06f1\u06f4:\u06f0\u06f2:\u06f0\u06f8"},"price_thb":{"title":"\u0628\u0627\u062a \u062a\u0627\u06cc\u0644\u0646\u062f","p":"16,490","h":"16,590","l":"16,460","d":"160","dp":0.97,"dt":"low","t":"\u06f1\u06f4:\u06f0\u06f1:\u06f3\u06f5"},"price_dkk":{"title":"\u06a9\u0631\u0648\u0646 \u062f\u0627\u0646\u0645\u0627\u0631\u06a9","p":"88,000","h":"88,500","l":"87,900","d":"700","dp":0.8,"dt":"low","t":"\u06f1\u06f4:\u06f0\u06f1:\u06f3\u06f4"},"price_dollar_rl":{"title":"\u062f\u0644\u0627\u0631","p":"647,000","h":"647,000","l":"647,000","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":"56,100","h":"56,600","l":"55,900","d":"600","dp":1.07,"dt":"low","t":"\u06f1\u06f4:\u06f0\u06f2:\u06f0\u06f2"},"price_chf":{"title":"\u0641\u0631\u0627\u0646\u06a9 \u0633\u0648\u0626\u06cc\u0633","p":"672,200","h":"676,500","l":"670,900","d":"4,700","dp":0.7,"dt":"low","t":"\u06f1\u06f4:\u06f0\u06f2:\u06f0\u06f3"},"geram24":{"title":"\u06af\u0631\u0645 \u0637\u0644\u0627\u06cc \u06f2\u06f4","p":"45,151,000","h":"45,763,000","l":"45,000,000","d":"554,000","dp":1.23,"dt":"low","t":"\u06f1\u06f4:\u06f0\u06f2:\u06f0\u06f0"},"geram18":{"title":"\u06af\u0631\u0645 \u0637\u0644\u0627\u06cc \u06f1\u06f8","p":"33,863,000","h":"34,323,000","l":"33,750,000","d":"416,000","dp":1.23,"dt":"low","t":"\u06f1\u06f4:\u06f0\u06f2:\u06f0\u06f0"},"mesghal":{"title":"\u0645\u062b\u0642\u0627\u0644 \u0637\u0644\u0627","p":"147,740,000","h":"148,670,000","l":"146,180,000","d":"770,000","dp":0.52,"dt":"low","t":"\u06f1\u06f4:\u06f0\u06f2:\u06f1\u06f6"},"bourse":{"title":"\u0634\u0627\u062e\u0635 \u0628\u0648\u0631\u0633","p":"2,219,092.6","h":"2,231,357.0","l":"2,219,092.6","d":"12,331.4","dp":0.56,"dt":"low","t":"\u06f1\u06f3:\u06f5\u06f9:\u06f0\u06f6"},"oil":{"title":"\u0646\u0641\u062a \u0633\u0628\u06a9","p":"77.61","h":"78.4","l":"76.94","d":"0.96","dp":1.24,"dt":"low","t":"\u06f1\u06f4:\u06f0\u06f0:\u06f5\u06f9"},"oil_brent":{"title":"\u0646\u0641\u062a \u0628\u0631\u0646\u062a","p":"82.38","h":"83.1","l":"81.76","d":"0.89","dp":1.08,"dt":"low","t":"\u06f1\u06f3:\u06f5\u06f8:\u06f0\u06f1"},"silver":{"title":"\u0627\u0646\u0633 \u0646\u0642\u0631\u0647","p":"27.21","h":"27.44","l":"27.02","d":"0.06","dp":0.21,"dt":"low","t":"\u06f1\u06f4:\u06f0\u06f2:\u06f2\u06f0"},"platinum":{"title":"\u0627\u0646\u0633 \u067e\u0644\u0627\u062a\u06cc\u0646","p":"978.95","h":"991.40","l":"975.75","d":"9.60","dp":0.98,"dt":"low","t":"\u06f1\u06f4:\u06f0\u06f1:\u06f1\u06f4"},"palladium":{"title":"\u0627\u0646\u0633 \u067e\u0627\u0644\u0627\u062f\u06cc\u0648\u0645","p":"973.53","h":"980.78","l":"966.25","d":"2.50","dp":0.26,"dt":"low","t":"\u06f1\u06f4:\u06f0\u06f1:\u06f1\u06f4"},"ons":{"title":"\u0627\u0648\u0646\u0633 \u0637\u0644\u0627","p":"2,315.59","h":"2,321.35","l":"2,304.36","d":"1.73","dp":0.07,"dt":"high","t":"\u06f1\u06f4:\u06f0\u06f1:\u06f1\u06f2"}}; 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+'
'; }