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":"784,100,000","h":"798,100,000","l":"783,800,000","d":"2,000,000","dp":0.26,"dt":"high","t":"\u06f1\u06f4:\u06f4\u06f9:\u06f0\u06f1"},"sekeb":{"title":"\u0633\u06a9\u0647 \u0628\u0647\u0627\u0631 \u0622\u0632\u0627\u062f\u06cc","p":"740,150,000","h":"745,300,000","l":"729,700,000","d":"8,900,000","dp":1.22,"dt":"high","t":"\u06f1\u06f4:\u06f4\u06f9:\u06f0\u06f7"},"rob":{"title":"\u0631\u0628\u0639 \u0633\u06a9\u0647","p":"227,000,000","h":"230,000,000","l":"223,000,000","d":"3,000,000","dp":1.34,"dt":"high","t":"\u06f1\u06f4:\u06f0\u06f0:\u06f3\u06f6"},"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\u06f4:\u06f4\u06f7:\u06f3\u06f1"},"price_thb":{"title":"\u0628\u0627\u062a \u062a\u0627\u06cc\u0644\u0646\u062f","p":"28,120","h":"28,300","l":"27,860","d":"210","dp":0.75,"dt":"high","t":"\u06f1\u06f4:\u06f4\u06f9:\u06f0\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":"706,700","h":"711,300","l":"700,700","d":"5,400","dp":0.77,"dt":"high","t":"\u06f1\u06f4:\u06f4\u06f8:\u06f4\u06f4"},"price_sek":{"title":"\u06a9\u0631\u0648\u0646 \u0633\u0648\u0626\u062f","p":"88,700","h":"89,300","l":"88,000","d":"1,100","dp":1.26,"dt":"high","t":"\u06f1\u06f4:\u06f4\u06f1:\u06f3\u06f2"},"price_sar":{"title":"\u0631\u06cc\u0627\u0644 \u0639\u0631\u0628\u0633\u062a\u0627\u0646","p":"251,920","h":"253,560","l":"249,800","d":"1,840","dp":0.74,"dt":"high","t":"\u06f1\u06f4:\u06f4\u06f8:\u06f5\u06f2"},"price_rub":{"title":"\u0631\u0648\u0628\u0644 \u0631\u0648\u0633\u06cc\u0647","p":"10,660","h":"10,730","l":"10,570","d":"60","dp":0.57,"dt":"high","t":"\u06f1\u06f4:\u06f4\u06f1:\u06f3\u06f2"},"price_qar":{"title":"\u0631\u06cc\u0627\u0644 \u0642\u0637\u0631","p":"259,300","h":"261,000","l":"257,100","d":"8,300","dp":3.2,"dt":"low","t":"\u06f1\u06f4:\u06f4\u06f8:\u06f4\u06f4"},"price_pkr":{"title":"\u0631\u0648\u067e\u06cc\u0647 \u067e\u0627\u06a9\u0633\u062a\u0627\u0646","p":"3,377","h":"3,399","l":"3,348","d":"9","dp":0.27,"dt":"high","t":"\u06f1\u06f4:\u06f4\u06f7:\u06f3\u06f1"},"price_omr":{"title":"\u0631\u06cc\u0627\u0644 \u0639\u0645\u0627\u0646","p":"2,459,700","h":"2,475,800","l":"2,439,000","d":"18,100","dp":0.74,"dt":"high","t":"\u06f1\u06f4:\u06f4\u06f8:\u06f5\u06f2"},"price_nzd":{"title":"\u062f\u0644\u0627\u0631 \u0646\u06cc\u0648\u0632\u06cc\u0644\u0646\u062f","p":"541,500","h":"545,000","l":"536,900","d":"4,400","dp":0.82,"dt":"high","t":"\u06f1\u06f4:\u06f4\u06f8:\u06f4\u06f4"},"price_nok":{"title":"\u06a9\u0631\u0648\u0646 \u0646\u0631\u0648\u0698","p":"84,900","h":"85,400","l":"84,200","d":"600","dp":0.71,"dt":"high","t":"\u06f1\u06f4:\u06f4\u06f6:\u06f4\u06f6"},"price_myr":{"title":"\u0631\u06cc\u0646\u06af\u06cc\u062a \u0645\u0627\u0644\u0632\u06cc","p":"213,700","h":"215,100","l":"211,900","d":"2,200","dp":1.04,"dt":"high","t":"\u06f1\u06f4:\u06f4\u06f7:\u06f3\u06f1"},"price_kwd":{"title":"\u062f\u06cc\u0646\u0627\u0631 \u06a9\u0648\u06cc\u062a","p":"3,061,500","h":"3,081,400","l":"3,035,700","d":"22,600","dp":0.74,"dt":"high","t":"\u06f1\u06f4:\u06f4\u06f8:\u06f5\u06f2"},"price_jpy":{"title":"\u06cc\u0646 \u0698\u0627\u067e\u0646","p":"632,180","h":"636,490","l":"626,850","d":"4,660","dp":0.74,"dt":"high","t":"\u06f1\u06f4:\u06f4\u06f9:\u06f0\u06f0"},"price_iqd":{"title":"\u062f\u06cc\u0646\u0627\u0631 \u0639\u0631\u0627\u0642","p":"651","h":"676","l":"651","d":"40","dp":6.14,"dt":"low","t":"\u06f1\u06f4:\u06f0\u06f6:\u06f5\u06f9"},"price_inr":{"title":"\u0631\u0648\u067e\u06cc\u0647 \u0647\u0646\u062f","p":"10,910","h":"10,980","l":"10,820","d":"70","dp":0.65,"dt":"high","t":"\u06f1\u06f4:\u06f4\u06f1:\u06f1\u06f8"},"price_hkd":{"title":"\u062f\u0644\u0627\u0631 \u0647\u0646\u06af \u06a9\u0646\u06af","p":"121,400","h":"122,200","l":"120,400","d":"1,000","dp":0.83,"dt":"high","t":"\u06f1\u06f4:\u06f4\u06f8:\u06f4\u06f4"},"price_gel":{"title":"\u0644\u0627\u0631\u06cc \u06af\u0631\u062c\u0633\u062a\u0627\u0646","p":"340,600","h":"342,900","l":"337,800","d":"4,900","dp":1.46,"dt":"high","t":"\u06f1\u06f4:\u06f4\u06f8:\u06f5\u06f2"},"price_gbp":{"title":"\u067e\u0648\u0646\u062f","p":"1,191,800","h":"1,199,600","l":"1,181,800","d":"10,100","dp":0.85,"dt":"high","t":"\u06f1\u06f4:\u06f4\u06f9:\u06f0\u06f0"},"price_eur":{"title":"\u06cc\u0648\u0631\u0648","p":"987,200","h":"993,700","l":"978,900","d":"8,400","dp":0.86,"dt":"high","t":"\u06f1\u06f4:\u06f4\u06f9:\u06f0\u06f0"},"price_dollar_rl":{"title":"\u062f\u0644\u0627\u0631","p":"937,400","h":"943,700","l":"929,600","d":"6,700","dp":0.72,"dt":"high","t":"\u06f1\u06f4:\u06f4\u06f9:\u06f5\u06f4"},"price_dkk":{"title":"\u06a9\u0631\u0648\u0646 \u062f\u0627\u0646\u0645\u0627\u0631\u06a9","p":"132,200","h":"133,100","l":"131,100","d":"1,000","dp":0.76,"dt":"high","t":"\u06f1\u06f4:\u06f4\u06f1:\u06f1\u06f8"},"price_cny":{"title":"\u06cc\u0648\u0627\u0646 \u0686\u06cc\u0646","p":"130,100","h":"131,000","l":"129,000","d":"1,500","dp":1.17,"dt":"high","t":"\u06f1\u06f4:\u06f4\u06f8:\u06f5\u06f2"},"price_chf":{"title":"\u0641\u0631\u0627\u0646\u06a9 \u0633\u0648\u0626\u06cc\u0633","p":"1,050,400","h":"1,057,200","l":"1,041,500","d":"11,700","dp":1.13,"dt":"high","t":"\u06f1\u06f4:\u06f4\u06f8:\u06f4\u06f4"},"price_cad":{"title":"\u062f\u0644\u0627\u0631 \u06a9\u0627\u0646\u0627\u062f\u0627","p":"664,700","h":"669,100","l":"659,100","d":"4,300","dp":0.65,"dt":"high","t":"\u06f1\u06f4:\u06f4\u06f9:\u06f0\u06f0"},"price_bhd":{"title":"\u062f\u06cc\u0646\u0627\u0631 \u0628\u062d\u0631\u06cc\u0646","p":"2,522,900","h":"2,539,300","l":"2,501,600","d":"18,000","dp":0.72,"dt":"high","t":"\u06f1\u06f4:\u06f4\u06f8:\u06f5\u06f2"},"price_azn":{"title":"\u0645\u0646\u0627\u062a \u0622\u0630\u0631\u0628\u0627\u06cc\u062c\u0627\u0646","p":"555,000","h":"558,600","l":"550,400","d":"4,100","dp":0.74,"dt":"high","t":"\u06f1\u06f4:\u06f4\u06f8:\u06f5\u06f2"},"price_aud":{"title":"\u062f\u0644\u0627\u0631 \u0627\u0633\u062a\u0631\u0627\u0644\u06cc\u0627","p":"599,400","h":"603,300","l":"594,400","d":"1,900","dp":0.32,"dt":"high","t":"\u06f1\u06f4:\u06f4\u06f9:\u06f0\u06f0"},"price_amd":{"title":"\u062f\u0631\u0627\u0645 \u0627\u0631\u0645\u0646\u0633\u062a\u0627\u0646","p":"2,400","h":"2,410","l":"2,380","d":"10","dp":0.42,"dt":"high","t":"\u06f1\u06f3:\u06f0\u06f7:\u06f2\u06f5"},"price_afn":{"title":"\u0627\u0641\u063a\u0627\u0646\u06cc","p":"13,530","h":"13,620","l":"13,300","d":"710","dp":5.54,"dt":"high","t":"\u06f1\u06f4:\u06f4\u06f8:\u06f5\u06f6"},"price_aed":{"title":"\u062f\u0631\u0647\u0645 \u0627\u0645\u0627\u0631\u0627\u062a","p":"257,900","h":"259,570","l":"255,730","d":"1,880","dp":0.73,"dt":"high","t":"\u06f1\u06f4:\u06f4\u06f8:\u06f5\u06f2"},"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":"434,000,000","h":"437,000,000","l":"429,000,000","d":"5,000,000","dp":1.17,"dt":"high","t":"\u06f1\u06f4:\u06f0\u06f0:\u06f3\u06f6"},"mesghal":{"title":"\u0645\u062b\u0642\u0627\u0644 \u0637\u0644\u0627","p":"298,030,000","h":"303,650,000","l":"296,750,000","d":"990,000","dp":0.33,"dt":"low","t":"\u06f1\u06f4:\u06f4\u06f9:\u06f5\u06f8"},"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":"91,656,000","h":"93,457,000","l":"91,345,000","d":"388,000","dp":0.42,"dt":"low","t":"\u06f1\u06f4:\u06f4\u06f9:\u06f0\u06f0"},"geram18":{"title":"\u06af\u0631\u0645 \u0637\u0644\u0627\u06cc \u06f1\u06f8","p":"68,743,000","h":"70,093,000","l":"68,509,000","d":"291,000","dp":0.42,"dt":"low","t":"\u06f1\u06f4:\u06f4\u06f9:\u06f0\u06f0"},"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\u06f3:\u06f1\u06f5:\u06f0\u06f7"}}; 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+'
'; }