var tgju_params = { type: "simple", items: ["geram24","sekeb","price_dollar_rl","price_eur"], columns: [], placeholder: "tgju-data1", token: "webservice" };var tgju_data = {"silver":{"title":"\u0627\u0646\u0633 \u0646\u0642\u0631\u0647","p":"32.54","h":"32.72","l":"32.49","d":"0.00","dp":0.01,"dt":"low","t":"\u06f0\u06f9:\u06f3\u06f7:\u06f2\u06f4"},"sekee":{"title":"\u0633\u06a9\u0647 \u0627\u0645\u0627\u0645\u06cc","p":"792,850,000","h":"798,100,000","l":"784,850,000","d":"10,750,000","dp":1.37,"dt":"high","t":"\u06f1\u06f2:\u06f5\u06f8:\u06f4\u06f7"},"sekeb":{"title":"\u0633\u06a9\u0647 \u0628\u0647\u0627\u0631 \u0622\u0632\u0627\u062f\u06cc","p":"744,900,000","h":"745,300,000","l":"729,700,000","d":"13,650,000","dp":1.87,"dt":"high","t":"\u06f1\u06f2:\u06f5\u06f8:\u06f4\u06f6"},"rob":{"title":"\u0631\u0628\u0639 \u0633\u06a9\u0647","p":"230,000,000","h":"230,000,000","l":"223,000,000","d":"6,000,000","dp":2.68,"dt":"high","t":"\u06f1\u06f2:\u06f3\u06f1:\u06f3\u06f7"},"price_try":{"title":"\u0644\u06cc\u0631 \u062a\u0631\u06a9\u06cc\u0647","p":"25,900","h":"26,000","l":"25,600","d":"100","dp":0.39,"dt":"high","t":"\u06f1\u06f2:\u06f3\u06f6:\u06f2\u06f9"},"price_thb":{"title":"\u0628\u0627\u062a \u062a\u0627\u06cc\u0644\u0646\u062f","p":"28,170","h":"28,300","l":"27,860","d":"260","dp":0.93,"dt":"high","t":"\u06f1\u06f2:\u06f5\u06f8:\u06f5\u06f0"},"price_syp":{"title":"\u0644\u06cc\u0631 \u0633\u0648\u0631\u06cc\u0647","p":"72","h":"73","l":"71","d":"0","dp":0,"dt":"","t":"\u06f1\u06f2:\u06f2\u06f2:\u06f5\u06f7"},"price_sgd":{"title":"\u062f\u0644\u0627\u0631 \u0633\u0646\u06af\u0627\u067e\u0648\u0631","p":"708,700","h":"711,300","l":"700,700","d":"7,400","dp":1.06,"dt":"high","t":"\u06f1\u06f2:\u06f5\u06f8:\u06f4\u06f7"},"price_sek":{"title":"\u06a9\u0631\u0648\u0646 \u0633\u0648\u0626\u062f","p":"89,000","h":"89,300","l":"88,000","d":"1,400","dp":1.6,"dt":"high","t":"\u06f1\u06f2:\u06f5\u06f8:\u06f1\u06f2"},"price_sar":{"title":"\u0631\u06cc\u0627\u0644 \u0639\u0631\u0628\u0633\u062a\u0627\u0646","p":"252,630","h":"253,560","l":"249,800","d":"2,550","dp":1.02,"dt":"high","t":"\u06f1\u06f2:\u06f5\u06f8:\u06f4\u06f7"},"price_rub":{"title":"\u0631\u0648\u0628\u0644 \u0631\u0648\u0633\u06cc\u0647","p":"10,690","h":"10,730","l":"10,570","d":"90","dp":0.85,"dt":"high","t":"\u06f1\u06f2:\u06f5\u06f6:\u06f2\u06f5"},"price_qar":{"title":"\u0631\u06cc\u0627\u0644 \u0642\u0637\u0631","p":"260,000","h":"261,000","l":"257,100","d":"7,600","dp":2.92,"dt":"low","t":"\u06f1\u06f2:\u06f5\u06f8:\u06f1\u06f3"},"price_pkr":{"title":"\u0631\u0648\u067e\u06cc\u0647 \u067e\u0627\u06a9\u0633\u062a\u0627\u0646","p":"3,386","h":"3,399","l":"3,348","d":"18","dp":0.53,"dt":"high","t":"\u06f1\u06f2:\u06f5\u06f8:\u06f3\u06f8"},"price_omr":{"title":"\u0631\u06cc\u0627\u0644 \u0639\u0645\u0627\u0646","p":"2,466,200","h":"2,475,800","l":"2,439,000","d":"24,600","dp":1.01,"dt":"high","t":"\u06f1\u06f2:\u06f5\u06f8:\u06f4\u06f5"},"price_nzd":{"title":"\u062f\u0644\u0627\u0631 \u0646\u06cc\u0648\u0632\u06cc\u0644\u0646\u062f","p":"543,000","h":"545,000","l":"536,900","d":"5,900","dp":1.1,"dt":"high","t":"\u06f1\u06f2:\u06f5\u06f8:\u06f4\u06f6"},"price_nok":{"title":"\u06a9\u0631\u0648\u0646 \u0646\u0631\u0648\u0698","p":"85,100","h":"85,400","l":"84,200","d":"800","dp":0.95,"dt":"high","t":"\u06f1\u06f2:\u06f5\u06f6:\u06f2\u06f4"},"price_myr":{"title":"\u0631\u06cc\u0646\u06af\u06cc\u062a \u0645\u0627\u0644\u0632\u06cc","p":"214,200","h":"215,100","l":"211,900","d":"2,700","dp":1.28,"dt":"high","t":"\u06f1\u06f2:\u06f5\u06f8:\u06f3\u06f2"},"price_kwd":{"title":"\u062f\u06cc\u0646\u0627\u0631 \u06a9\u0648\u06cc\u062a","p":"3,070,100","h":"3,081,400","l":"3,035,700","d":"31,200","dp":1.03,"dt":"high","t":"\u06f1\u06f2:\u06f5\u06f8:\u06f4\u06f7"},"price_jpy":{"title":"\u06cc\u0646 \u0698\u0627\u067e\u0646","p":"634,140","h":"636,490","l":"626,850","d":"6,620","dp":1.05,"dt":"high","t":"\u06f1\u06f2:\u06f5\u06f8:\u06f4\u06f7"},"price_iqd":{"title":"\u062f\u06cc\u0646\u0627\u0631 \u0639\u0631\u0627\u0642","p":"673","h":"676","l":"665","d":"18","dp":2.67,"dt":"low","t":"\u06f1\u06f2:\u06f5\u06f6:\u06f1\u06f8"},"price_inr":{"title":"\u0631\u0648\u067e\u06cc\u0647 \u0647\u0646\u062f","p":"10,940","h":"10,980","l":"10,820","d":"100","dp":0.92,"dt":"high","t":"\u06f1\u06f2:\u06f5\u06f8:\u06f1\u06f3"},"price_hkd":{"title":"\u062f\u0644\u0627\u0631 \u0647\u0646\u06af \u06a9\u0646\u06af","p":"121,800","h":"122,200","l":"120,400","d":"1,400","dp":1.16,"dt":"high","t":"\u06f1\u06f2:\u06f5\u06f8:\u06f3\u06f8"},"price_gel":{"title":"\u0644\u0627\u0631\u06cc \u06af\u0631\u062c\u0633\u062a\u0627\u0646","p":"341,500","h":"342,900","l":"337,800","d":"5,800","dp":1.73,"dt":"high","t":"\u06f1\u06f2:\u06f5\u06f8:\u06f4\u06f6"},"price_gbp":{"title":"\u067e\u0648\u0646\u062f","p":"1,195,000","h":"1,199,600","l":"1,181,800","d":"13,300","dp":1.13,"dt":"high","t":"\u06f1\u06f2:\u06f5\u06f8:\u06f3\u06f8"},"price_eur":{"title":"\u06cc\u0648\u0631\u0648","p":"989,900","h":"993,700","l":"978,900","d":"11,100","dp":1.13,"dt":"high","t":"\u06f1\u06f2:\u06f5\u06f8:\u06f3\u06f8"},"price_dollar_rl":{"title":"\u062f\u0644\u0627\u0631","p":"940,150","h":"943,700","l":"929,600","d":"9,450","dp":1.02,"dt":"high","t":"\u06f1\u06f2:\u06f5\u06f8:\u06f5\u06f1"},"price_dkk":{"title":"\u06a9\u0631\u0648\u0646 \u062f\u0627\u0646\u0645\u0627\u0631\u06a9","p":"132,500","h":"133,100","l":"131,100","d":"1,300","dp":0.99,"dt":"high","t":"\u06f1\u06f2:\u06f5\u06f8:\u06f3\u06f2"},"price_cny":{"title":"\u06cc\u0648\u0627\u0646 \u0686\u06cc\u0646","p":"130,500","h":"131,000","l":"129,000","d":"1,900","dp":1.48,"dt":"high","t":"\u06f1\u06f2:\u06f5\u06f6:\u06f1\u06f8"},"price_chf":{"title":"\u0641\u0631\u0627\u0646\u06a9 \u0633\u0648\u0626\u06cc\u0633","p":"1,053,100","h":"1,057,200","l":"1,041,500","d":"14,400","dp":1.39,"dt":"high","t":"\u06f1\u06f2:\u06f5\u06f8:\u06f4\u06f6"},"price_cad":{"title":"\u062f\u0644\u0627\u0631 \u06a9\u0627\u0646\u0627\u062f\u0627","p":"666,500","h":"669,100","l":"659,100","d":"6,100","dp":0.92,"dt":"high","t":"\u06f1\u06f2:\u06f5\u06f8:\u06f3\u06f8"},"price_bhd":{"title":"\u062f\u06cc\u0646\u0627\u0631 \u0628\u062d\u0631\u06cc\u0646","p":"2,529,900","h":"2,539,300","l":"2,501,600","d":"25,000","dp":1,"dt":"high","t":"\u06f1\u06f2:\u06f5\u06f8:\u06f4\u06f7"},"price_azn":{"title":"\u0645\u0646\u0627\u062a \u0622\u0630\u0631\u0628\u0627\u06cc\u062c\u0627\u0646","p":"556,500","h":"558,600","l":"550,400","d":"5,600","dp":1.02,"dt":"high","t":"\u06f1\u06f2:\u06f5\u06f8:\u06f3\u06f8"},"price_aud":{"title":"\u062f\u0644\u0627\u0631 \u0627\u0633\u062a\u0631\u0627\u0644\u06cc\u0627","p":"601,000","h":"603,300","l":"594,400","d":"3,500","dp":0.59,"dt":"high","t":"\u06f1\u06f2:\u06f5\u06f8:\u06f4\u06f5"},"price_amd":{"title":"\u062f\u0631\u0627\u0645 \u0627\u0631\u0645\u0646\u0633\u062a\u0627\u0646","p":"2,410","h":"2,410","l":"2,380","d":"20","dp":0.84,"dt":"high","t":"\u06f1\u06f2:\u06f5\u06f8:\u06f3\u06f8"},"price_afn":{"title":"\u0627\u0641\u063a\u0627\u0646\u06cc","p":"13,570","h":"13,620","l":"13,300","d":"750","dp":5.85,"dt":"high","t":"\u06f1\u06f2:\u06f5\u06f8:\u06f5\u06f1"},"price_aed":{"title":"\u062f\u0631\u0647\u0645 \u0627\u0645\u0627\u0631\u0627\u062a","p":"258,620","h":"259,570","l":"255,730","d":"2,600","dp":1.02,"dt":"high","t":"\u06f1\u06f2:\u06f5\u06f8:\u06f4\u06f7"},"platinum":{"title":"\u0627\u0646\u0633 \u067e\u0644\u0627\u062a\u06cc\u0646","p":"987.70","h":"988.50","l":"984.35","d":"2.55","dp":0.26,"dt":"high","t":"\u06f0\u06f6:\u06f5\u06f0:\u06f0\u06f8"},"palladium":{"title":"\u0627\u0646\u0633 \u067e\u0627\u0644\u0627\u062f\u06cc\u0648\u0645","p":"990.90","h":"990.90","l":"981.00","d":"3.90","dp":0.4,"dt":"high","t":"\u06f0\u06f6:\u06f5\u06f0:\u06f0\u06f8"},"ons":{"title":"\u0627\u0648\u0646\u0633 \u0637\u0644\u0627","p":"2,936.03","h":"2,942.26","l":"2,932.40","d":"1.72","dp":0.06,"dt":"high","t":"\u06f0\u06f9:\u06f3\u06f7:\u06f2\u06f3"},"oil_opec":{"title":"\u0646\u0641\u062a \u0627\u067e\u06a9","p":"78.19","h":"78.19","l":"78.19","d":"0","dp":0,"dt":"","t":"\u06f3 \u0627\u0633\u0641\u0646\u062f"},"oil_brent":{"title":"\u0646\u0641\u062a \u0628\u0631\u0646\u062a","p":"74.43","h":"75","l":"74.21","d":"0.14","dp":0.19,"dt":"high","t":"\u06f0\u06f9:\u06f1\u06f0:\u06f5\u06f0"},"oil":{"title":"\u0646\u0641\u062a \u0633\u0628\u06a9","p":"70.22","h":"70.99","l":"70.06","d":"0.06","dp":0.09,"dt":"low","t":"\u06f0\u06f3:\u06f3\u06f2:\u06f5\u06f8"},"nim":{"title":"\u0646\u06cc\u0645 \u0633\u06a9\u0647","p":"437,000,000","h":"437,000,000","l":"429,000,000","d":"8,000,000","dp":1.86,"dt":"high","t":"\u06f1\u06f2:\u06f3\u06f1:\u06f3\u06f7"},"mesghal":{"title":"\u0645\u062b\u0642\u0627\u0644 \u0637\u0644\u0627","p":"300,350,000","h":"303,650,000","l":"296,750,000","d":"1,330,000","dp":0.44,"dt":"high","t":"\u06f1\u06f2:\u06f5\u06f8:\u06f5\u06f1"},"gerami":{"title":"\u0633\u06a9\u0647 \u06af\u0631\u0645\u06cc","p":"114,000,000","h":"114,000,000","l":"110,000,000","d":"3,000,000","dp":2.7,"dt":"high","t":"\u06f1\u06f2:\u06f3\u06f1:\u06f3\u06f5"},"geram24":{"title":"\u06af\u0631\u0645 \u0637\u0644\u0627\u06cc \u06f2\u06f4","p":"92,450,000","h":"93,457,000","l":"91,345,000","d":"406,000","dp":0.44,"dt":"high","t":"\u06f1\u06f2:\u06f5\u06f8:\u06f4\u06f5"},"geram18":{"title":"\u06af\u0631\u0645 \u0637\u0644\u0627\u06cc \u06f1\u06f8","p":"69,338,000","h":"70,093,000","l":"68,509,000","d":"304,000","dp":0.44,"dt":"high","t":"\u06f1\u06f2:\u06f5\u06f8:\u06f4\u06f5"},"bourse":{"title":"\u0634\u0627\u062e\u0635 \u0628\u0648\u0631\u0633","p":"2,714,122.7","h":"2,719,269.0","l":"2,714,122.7","d":"18,105.6","dp":0.67,"dt":"low","t":"\u06f1\u06f2:\u06f5\u06f7:\u06f0\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 = ''; 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+'
'; }