var tgju_data = {"ons":{"title":"\u0627\u0648\u0646\u0633 \u0637\u0644\u0627","p":"1,848.67","h":"1,852.05","l":"1,837.15","d":"10.63","dp":0.58,"dt":"high","t":"\u06f2\u06f0:\u06f4\u06f2:\u06f0\u06f0"},"mesghal":{"title":"\u0645\u062b\u0642\u0627\u0644 \u0637\u0644\u0627","p":"53,670,000","h":"53,860,000","l":"53,320,000","d":"130,000","dp":0.24,"dt":"low","t":"\u06f1\u06f9:\u06f5\u06f9:\u06f5\u06f6"},"geram18":{"title":"\u06af\u0631\u0645 \u0637\u0644\u0627\u06cc \u06f1\u06f8","p":"12,397,000","h":"12,434,000","l":"12,314,000","d":"19,000","dp":0.15,"dt":"low","t":"\u06f1\u06f9:\u06f5\u06f9:\u06f5\u06f6"},"geram24":{"title":"\u06af\u0631\u0645 \u0637\u0644\u0627\u06cc \u06f2\u06f4","p":"16,530,000","h":"16,579,000","l":"16,419,000","d":"24,000","dp":0.15,"dt":"low","t":"\u06f1\u06f9:\u06f5\u06f9:\u06f5\u06f6"},"silver":{"title":"\u0627\u0646\u0633 \u0646\u0642\u0631\u0647","p":"23.82","h":"24.01","l":"23.61","d":"0.01","dp":0.04,"dt":"low","t":"\u06f2\u06f0:\u06f4\u06f2:\u06f0\u06f0"},"platinum":{"title":"\u0627\u0646\u0633 \u067e\u0644\u0627\u062a\u06cc\u0646","p":"1,024.85","h":"1,029.70","l":"1,007.00","d":"3.45","dp":0.34,"dt":"high","t":"\u06f2\u06f0:\u06f4\u06f1:\u06f5\u06f9"},"palladium":{"title":"\u0627\u0646\u0633 \u067e\u0627\u0644\u0627\u062f\u06cc\u0648\u0645","p":"2,181.52","h":"2,181.52","l":"2,127.52","d":"40.52","dp":1.89,"dt":"high","t":"\u06f2\u06f0:\u06f4\u06f1:\u06f5\u06f9"},"oil":{"title":"\u0646\u0641\u062a \u0633\u0628\u06a9","p":"85","h":"85.14","l":"83.02","d":"1.53","dp":1.83,"dt":"high","t":"\u06f2\u06f0:\u06f4\u06f1:\u06f5\u06f9"},"oil_brent":{"title":"\u0646\u0641\u062a \u0628\u0631\u0646\u062a","p":"86.84","h":"86.98","l":"85.28","d":"1.18","dp":1.38,"dt":"high","t":"\u06f2\u06f0:\u06f4\u06f1:\u06f5\u06f9"},"oil_opec":{"title":"\u0646\u0641\u062a \u0627\u067e\u06a9","p":"87.98","h":"87.98","l":"87.98","d":"0.52","dp":0.59,"dt":"high","t":"\u06f1\u06f6:\u06f0\u06f0:\u06f0\u06f7"},"sekeb":{"title":"\u0633\u06a9\u0647 \u0628\u0647\u0627\u0631 \u0622\u0632\u0627\u062f\u06cc","p":"121,480,000","h":"122,050,000","l":"121,250,000","d":"470,000","dp":0.39,"dt":"low","t":"\u06f1\u06f9:\u06f5\u06f9:\u06f5\u06f7"},"sekee":{"title":"\u0633\u06a9\u0647 \u0627\u0645\u0627\u0645\u06cc","p":"122,920,000","h":"123,920,000","l":"122,630,000","d":"920,000","dp":0.75,"dt":"low","t":"\u06f1\u06f9:\u06f5\u06f9:\u06f5\u06f7"},"nim":{"title":"\u0646\u06cc\u0645 \u0633\u06a9\u0647","p":"68,000,000","h":"68,700,000","l":"68,000,000","d":"900,000","dp":1.32,"dt":"low","t":"\u06f1\u06f6:\u06f0\u06f3:\u06f2\u06f2"},"rob":{"title":"\u0631\u0628\u0639 \u0633\u06a9\u0647","p":"38,000,000","h":"38,830,000","l":"38,000,000","d":"900,000","dp":2.37,"dt":"low","t":"\u06f1\u06f6:\u06f0\u06f3:\u06f2\u06f2"},"gerami":{"title":"\u0633\u06a9\u0647 \u06af\u0631\u0645\u06cc","p":"22,475,000","h":"22,480,000","l":"22,475,000","d":"25,000","dp":0.11,"dt":"low","t":"\u06f1\u06f1:\u06f3\u06f7:\u06f1\u06f0"},"bourse":{"title":"\u0634\u0627\u062e\u0635 \u0628\u0648\u0631\u0633","p":"1,208,047.3","h":"1,229,171.4","l":"1,208,035.5","d":"26,660.4","dp":2.21,"dt":"low","t":"\u06f1\u06f2:\u06f3\u06f9:\u06f0\u06f8"},"price_dollar_rl":{"title":"\u062f\u0644\u0627\u0631","p":"277,760","h":"278,800","l":"277,350","d":"2,030","dp":0.73,"dt":"low","t":"\u06f1\u06f9:\u06f5\u06f9:\u06f5\u06f6"},"price_eur":{"title":"\u06cc\u0648\u0631\u0648","p":"315,870","h":"317,730","l":"315,470","d":"3,180","dp":1.01,"dt":"low","t":"\u06f1\u06f9:\u06f5\u06f9:\u06f5\u06f6"},"price_aed":{"title":"\u062f\u0631\u0647\u0645 \u0627\u0645\u0627\u0631\u0627\u062a","p":"76,210","h":"76,490","l":"76,100","d":"550","dp":0.72,"dt":"low","t":"\u06f1\u06f9:\u06f5\u06f9:\u06f4\u06f9"},"price_gbp":{"title":"\u067e\u0648\u0646\u062f","p":"378,170","h":"379,030","l":"377,080","d":"1,680","dp":0.44,"dt":"low","t":"\u06f1\u06f9:\u06f5\u06f9:\u06f5\u06f6"},"price_sek":{"title":"\u06a9\u0631\u0648\u0646 \u0633\u0648\u0626\u062f","p":"30,000","h":"30,200","l":"29,900","d":"200","dp":0.67,"dt":"low","t":"\u06f1\u06f9:\u06f4\u06f6:\u06f5\u06f5"},"price_dkk":{"title":"\u06a9\u0631\u0648\u0646 \u062f\u0627\u0646\u0645\u0627\u0631\u06a9","p":"42,100","h":"42,300","l":"42,000","d":"400","dp":0.95,"dt":"low","t":"\u06f1\u06f9:\u06f4\u06f6:\u06f5\u06f5"},"price_jpy":{"title":"\u06cc\u0646 \u0698\u0627\u067e\u0646","p":"244,870","h":"245,840","l":"244,000","d":"1,870","dp":0.76,"dt":"low","t":"\u06f1\u06f9:\u06f5\u06f9:\u06f5\u06f6"},"price_myr":{"title":"\u0631\u06cc\u0646\u06af\u06cc\u062a \u0645\u0627\u0644\u0632\u06cc","p":"67,300","h":"67,500","l":"67,200","d":"500","dp":0.74,"dt":"low","t":"\u06f1\u06f9:\u06f5\u06f8:\u06f3\u06f2"},"price_kwd":{"title":"\u062f\u06cc\u0646\u0627\u0631 \u06a9\u0648\u06cc\u062a","p":"926,900","h":"930,600","l":"925,600","d":"6,800","dp":0.73,"dt":"low","t":"\u06f1\u06f9:\u06f5\u06f9:\u06f5\u06f6"},"price_syp":{"title":"\u0644\u06cc\u0631 \u0633\u0648\u0631\u06cc\u0647","p":"110","h":"111","l":"110","d":"1","dp":0.91,"dt":"low","t":"\u06f1\u06f6:\u06f4\u06f4:\u06f3\u06f4"},"price_rub":{"title":"\u0631\u0648\u0628\u0644 \u0631\u0648\u0633\u06cc\u0647","p":"3,500","h":"3,550","l":"3,500","d":"20","dp":0.57,"dt":"low","t":"\u06f1\u06f9:\u06f5\u06f9:\u06f2\u06f8"},"price_omr":{"title":"\u0631\u06cc\u0627\u0644 \u0639\u0645\u0627\u0646","p":"728,500","h":"733,000","l":"728,200","d":"5,400","dp":0.74,"dt":"low","t":"\u06f1\u06f9:\u06f5\u06f9:\u06f4\u06f9"},"price_sgd":{"title":"\u062f\u0644\u0627\u0631 \u0633\u0646\u06af\u0627\u067e\u0648\u0631","p":"208,500","h":"209,300","l":"208,100","d":"1,100","dp":0.53,"dt":"low","t":"\u06f1\u06f9:\u06f5\u06f9:\u06f4\u06f9"},"price_iqd":{"title":"\u062f\u06cc\u0646\u0627\u0631 \u0639\u0631\u0627\u0642","p":"190","h":"191","l":"190","d":"1","dp":0.53,"dt":"low","t":"\u06f1\u06f6:\u06f4\u06f6:\u06f1\u06f2"},"price_afn":{"title":"\u0627\u0641\u063a\u0627\u0646\u06cc","p":"2,690","h":"2,700","l":"2,690","d":"20","dp":0.75,"dt":"high","t":"\u06f1\u06f9:\u06f0\u06f8:\u06f2\u06f6"},"price_azn":{"title":"\u0645\u0646\u0627\u062a \u0622\u0630\u0631\u0628\u0627\u06cc\u062c\u0627\u0646","p":"164,950","h":"165,550","l":"164,650","d":"1,200","dp":0.73,"dt":"low","t":"\u06f1\u06f9:\u06f5\u06f9:\u06f2\u06f8"},"price_aud":{"title":"\u062f\u0644\u0627\u0631 \u0627\u0633\u062a\u0631\u0627\u0644\u06cc\u0627","p":"201,400","h":"202,000","l":"200,800","d":"400","dp":0.2,"dt":"low","t":"\u06f1\u06f9:\u06f5\u06f9:\u06f4\u06f9"},"price_cad":{"title":"\u062f\u0644\u0627\u0631 \u06a9\u0627\u0646\u0627\u062f\u0627","p":"224,400","h":"224,900","l":"223,600","d":"600","dp":0.27,"dt":"low","t":"\u06f1\u06f9:\u06f5\u06f9:\u06f4\u06f3"},"price_cny":{"title":"\u06cc\u0648\u0627\u0646 \u0686\u06cc\u0646","p":"44,400","h":"44,600","l":"44,300","d":"300","dp":0.68,"dt":"low","t":"\u06f1\u06f8:\u06f2\u06f6:\u06f2\u06f3"},"price_chf":{"title":"\u0641\u0631\u0627\u0646\u06a9 \u0633\u0648\u0626\u06cc\u0633","p":"305,200","h":"307,100","l":"304,400","d":"3,600","dp":1.18,"dt":"low","t":"\u06f1\u06f9:\u06f5\u06f9:\u06f5\u06f6"},"price_nok":{"title":"\u06a9\u0631\u0648\u0646 \u0646\u0631\u0648\u0698","p":"31,100","h":"31,100","l":"30,900","d":"0","dp":0,"dt":"","t":"\u06f1\u06f9:\u06f5\u06f8:\u06f3\u06f2"},"price_try":{"title":"\u0644\u06cc\u0631 \u062a\u0631\u06a9\u06cc\u0647","p":"20,600","h":"20,600","l":"20,400","d":"100","dp":0.49,"dt":"low","t":"\u06f1\u06f9:\u06f5\u06f2:\u06f5\u06f7"},"price_hkd":{"title":"\u062f\u0644\u0627\u0631 \u0647\u0646\u06af \u06a9\u0646\u06af","p":"36,500","h":"36,600","l":"36,400","d":"200","dp":0.55,"dt":"low","t":"\u06f1\u06f6:\u06f4\u06f6:\u06f5\u06f3"},"price_sar":{"title":"\u0631\u06cc\u0627\u0644 \u0639\u0631\u0628\u0633\u062a\u0627\u0646","p":"81,240","h":"81,520","l":"81,130","d":"530","dp":0.65,"dt":"low","t":"\u06f1\u06f9:\u06f5\u06f9:\u06f5\u06f6"},"price_inr":{"title":"\u0631\u0648\u067e\u06cc\u0647 \u0647\u0646\u062f","p":"3,720","h":"3,730","l":"3,710","d":"30","dp":0.81,"dt":"low","t":"\u06f1\u06f9:\u06f5\u06f9:\u06f2\u06f8"},"price_pkr":{"title":"\u0631\u0648\u067e\u06cc\u0647 \u067e\u0627\u06a9\u0633\u062a\u0627\u0646","p":"1,628","h":"1,634","l":"1,623","d":"11","dp":0.68,"dt":"low","t":"\u06f1\u06f9:\u06f5\u06f9:\u06f4\u06f9"},"price_bhd":{"title":"\u062f\u06cc\u0646\u0627\u0631 \u0628\u062d\u0631\u06cc\u0646","p":"741,700","h":"744,400","l":"740,600","d":"5,300","dp":0.71,"dt":"low","t":"\u06f1\u06f9:\u06f5\u06f9:\u06f4\u06f9"},"price_qar":{"title":"\u0631\u06cc\u0627\u0644 \u0642\u0637\u0631","p":"77,800","h":"78,100","l":"77,500","d":"600","dp":0.77,"dt":"low","t":"\u06f1\u06f8:\u06f5\u06f9:\u06f0\u06f0"},"price_nzd":{"title":"\u062f\u0644\u0627\u0631 \u0646\u06cc\u0648\u0632\u06cc\u0644\u0646\u062f","p":"188,900","h":"189,500","l":"188,500","d":"1,200","dp":0.64,"dt":"low","t":"\u06f1\u06f9:\u06f5\u06f9:\u06f4\u06f9"},"price_thb":{"title":"\u0628\u0627\u062a \u062a\u0627\u06cc\u0644\u0646\u062f","p":"8,420","h":"8,430","l":"8,380","d":"30","dp":0.36,"dt":"low","t":"\u06f1\u06f9:\u06f5\u06f9:\u06f2\u06f8"},"price_amd":{"title":"\u062f\u0631\u0627\u0645 \u0627\u0631\u0645\u0646\u0633\u062a\u0627\u0646","p":"580","h":"590","l":"580","d":"0","dp":0,"dt":"","t":"\u06f4 \u0628\u0647\u0645\u0646"},"price_gel":{"title":"\u0644\u0627\u0631\u06cc \u06af\u0631\u062c\u0633\u062a\u0627\u0646","p":"91,100","h":"91,500","l":"91,000","d":"600","dp":0.66,"dt":"low","t":"\u06f1\u06f9:\u06f5\u06f9:\u06f4\u06f9"}}; if ( tgju_data ) { var key, this_item, td; var rows = ''; for ( index in tgju_params.items ) { key = tgju_params.items[index]; this_item = tgju_data[key]; if ( this_item === undefined ) continue; td = { 'diff': tgju_params.columns.indexOf("diff") >= 0 ? '' + '('+this_item['dp']+'%) '+this_item['d']+'' + '' : '', 'low': tgju_params.columns.indexOf("low") >= 0 ? '' + this_item['l'] + '' : '', 'high': tgju_params.columns.indexOf("high") >= 0 ? '' + this_item['h'] + '' : '', 'time': tgju_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': tgju_params.columns.indexOf("diff") >= 0 ? 'تغییر' : '', 'low': tgju_params.columns.indexOf("low") >= 0 ? 'کمترین' : '', 'high': tgju_params.columns.indexOf("high") >= 0 ? 'بیشترین' : '', 'time': tgju_params.columns.indexOf("time") >= 0 ? 'زمان' : '' }; var copyright = ''; var embed_style = ''; if ( tgju_params.token === 'webservice' ) { copyright = 'WWW.TGJU.ORG'; embed_style = '#tgju-data-block #tgju table.data-table thead { display: none; } #tgju-data-block #tgju table.data-table tbody tr { display: block !important; } #tgju-data-block #tgju table.data-table tbody th { border-bottom: none !important; display: block !important; text-align: center !important; padding: 3px 10px 3px !important; background-color: #F1F1F1; } #tgju-data-block #tgju table.data-table tbody td { display: block !important; text-align: center !important; width: 128px !important; padding: 3px 10px 5px !important; } #tgju-data-title { text-align: center; color: #fff; font-family: tahoma; font-size: 12px; font-weight: bold; direction: rtl; background: #1A1A1A; padding: 5px 5px 7px; } .tgju-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; } .tgju-copyright:hover, .tgju-copyright:focus{color:#eee !important} .tgju-section-title { font: bold 12px/1 tahoma; text-align: center; background-color: #404042; padding: 7px 7px 8px; color: #FFF; } #tgju table.data-table { padding: 0 !important; border-top: 0 !important; border-color: #1A1A1A !important; } #tgju table.data-table tbody tr th, #tgju table.data-table tbody tr td { border-bottom: 1px solid #DCDCDC !important; } body #tgju table.data-table tbody tr:hover { background: #DEDEDE !important; } #tgju table.data-table thead th { background: #1a1a1a; color: #FFF; text-shadow: none; }'; } document.getElementById(tgju_params.placeholder).innerHTML = '
' + th.diff + th.low + th.high + th.time + ''+rows+'
عنوان نرخقیمت زنده
'+copyright+'
'; }