var tgju_params = { type: "simple", items: ["geram24","sekeb","price_dollar_rl","price_eur"], columns: [], placeholder: "tgju-data1", token: "webservice" };var tgju_data = {"price_gel":{"title":"\u0644\u0627\u0631\u06cc \u06af\u0631\u062c\u0633\u062a\u0627\u0646","p":"228,400","h":"232,600","l":"228,300","d":"3,800","dp":1.66,"dt":"low","t":"\u06f1\u06f9:\u06f1\u06f6:\u06f1\u06f1"},"price_amd":{"title":"\u062f\u0631\u0627\u0645 \u0627\u0631\u0645\u0646\u0633\u062a\u0627\u0646","p":"1,560","h":"1,580","l":"1,560","d":"30","dp":1.92,"dt":"low","t":"\u06f1\u06f9:\u06f0\u06f8:\u06f4\u06f9"},"price_nzd":{"title":"\u062f\u0644\u0627\u0631 \u0646\u06cc\u0648\u0632\u06cc\u0644\u0646\u062f","p":"359,900","h":"366,400","l":"359,700","d":"5,900","dp":1.64,"dt":"low","t":"\u06f1\u06f9:\u06f1\u06f6:\u06f3\u06f2"},"price_qar":{"title":"\u0631\u06cc\u0627\u0644 \u0642\u0637\u0631","p":"166,600","h":"169,600","l":"166,500","d":"2,700","dp":1.62,"dt":"low","t":"\u06f1\u06f9:\u06f1\u06f6:\u06f3\u06f2"},"price_bhd":{"title":"\u062f\u06cc\u0646\u0627\u0631 \u0628\u062d\u0631\u06cc\u0646","p":"1,619,900","h":"1,649,600","l":"1,619,300","d":"26,500","dp":1.64,"dt":"low","t":"\u06f1\u06f9:\u06f1\u06f7:\u06f2\u06f3"},"price_pkr":{"title":"\u0631\u0648\u067e\u06cc\u0647 \u067e\u0627\u06a9\u0633\u062a\u0627\u0646","p":"2,189","h":"2,229","l":"2,188","d":"36","dp":1.64,"dt":"low","t":"\u06f1\u06f9:\u06f1\u06f6:\u06f1\u06f1"},"price_hkd":{"title":"\u062f\u0644\u0627\u0631 \u0647\u0646\u06af \u06a9\u0646\u06af","p":"77,400","h":"78,800","l":"77,400","d":"1,300","dp":1.68,"dt":"low","t":"\u06f1\u06f9:\u06f0\u06f8:\u06f4\u06f9"},"price_afn":{"title":"\u0627\u0641\u063a\u0627\u0646\u06cc","p":"8,390","h":"8,620","l":"8,390","d":"210","dp":2.5,"dt":"low","t":"\u06f1\u06f9:\u06f1\u06f6:\u06f1\u06f0"},"price_iqd":{"title":"\u062f\u06cc\u0646\u0627\u0631 \u0639\u0631\u0627\u0642","p":"472","h":"481","l":"472","d":"8","dp":1.69,"dt":"low","t":"\u06f1\u06f9:\u06f1\u06f1:\u06f1\u06f6"},"price_sgd":{"title":"\u062f\u0644\u0627\u0631 \u0633\u0646\u06af\u0627\u067e\u0648\u0631","p":"444,700","h":"452,900","l":"444,500","d":"7,300","dp":1.64,"dt":"low","t":"\u06f1\u06f9:\u06f1\u06f6:\u06f1\u06f6"},"price_omr":{"title":"\u0631\u06cc\u0627\u0644 \u0639\u0645\u0627\u0646","p":"1,580,200","h":"1,609,100","l":"1,579,600","d":"26,300","dp":1.66,"dt":"low","t":"\u06f1\u06f9:\u06f1\u06f7:\u06f2\u06f2"},"price_rub":{"title":"\u0631\u0648\u0628\u0644 \u0631\u0648\u0633\u06cc\u0647","p":"6,560","h":"6,680","l":"6,560","d":"110","dp":1.68,"dt":"low","t":"\u06f1\u06f9:\u06f0\u06f8:\u06f4\u06f9"},"price_syp":{"title":"\u0644\u06cc\u0631 \u0633\u0648\u0631\u06cc\u0647","p":"241","h":"244","l":"241","d":"4","dp":1.66,"dt":"low","t":"\u06f1\u06f8:\u06f5\u06f2:\u06f0\u06f2"},"price_kwd":{"title":"\u062f\u06cc\u0646\u0627\u0631 \u06a9\u0648\u06cc\u062a","p":"1,970,200","h":"2,006,200","l":"1,969,300","d":"32,300","dp":1.64,"dt":"low","t":"\u06f1\u06f9:\u06f1\u06f7:\u06f2\u06f2"},"price_jpy":{"title":"\u06cc\u0646 \u0698\u0627\u067e\u0646","p":"382,760","h":"389,760","l":"382,600","d":"6,290","dp":1.64,"dt":"low","t":"\u06f1\u06f9:\u06f1\u06f7:\u06f2\u06f2"},"price_cny":{"title":"\u06cc\u0648\u0627\u0646 \u0686\u06cc\u0646","p":"83,600","h":"85,200","l":"83,600","d":"1,400","dp":1.67,"dt":"low","t":"\u06f1\u06f9:\u06f0\u06f8:\u06f4\u06f9"},"price_nok":{"title":"\u06a9\u0631\u0648\u0646 \u0646\u0631\u0648\u0698","p":"55,000","h":"56,000","l":"55,000","d":"900","dp":1.64,"dt":"low","t":"\u06f1\u06f8:\u06f5\u06f9:\u06f5\u06f2"},"price_inr":{"title":"\u0631\u0648\u067e\u06cc\u0647 \u0647\u0646\u062f","p":"7,270","h":"7,400","l":"7,260","d":"120","dp":1.65,"dt":"low","t":"\u06f1\u06f9:\u06f1\u06f6:\u06f1\u06f0"},"price_myr":{"title":"\u0631\u06cc\u0646\u06af\u06cc\u062a \u0645\u0627\u0644\u0632\u06cc","p":"127,200","h":"129,500","l":"127,100","d":"2,100","dp":1.65,"dt":"low","t":"\u06f1\u06f9:\u06f1\u06f6:\u06f1\u06f0"},"price_eur":{"title":"\u06cc\u0648\u0631\u0648","p":"648,140","h":"659,990","l":"647,870","d":"10,570","dp":1.63,"dt":"low","t":"\u06f1\u06f9:\u06f1\u06f7:\u06f2\u06f2"},"price_sar":{"title":"\u0631\u06cc\u0627\u0644 \u0639\u0631\u0628\u0633\u062a\u0627\u0646","p":"161,790","h":"164,750","l":"161,720","d":"2,660","dp":1.64,"dt":"low","t":"\u06f1\u06f9:\u06f1\u06f7:\u06f2\u06f2"},"price_azn":{"title":"\u0645\u0646\u0627\u062a \u0622\u0630\u0631\u0628\u0627\u06cc\u062c\u0627\u0646","p":"356,500","h":"363,000","l":"356,300","d":"5,800","dp":1.63,"dt":"low","t":"\u06f1\u06f9:\u06f1\u06f6:\u06f3\u06f2"},"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":"63,000,000","h":"64,000,000","l":"63,000,000","d":"1,000,000","dp":1.59,"dt":"low","t":"\u06f1\u06f7:\u06f5\u06f0:\u06f2\u06f4"},"sekeb":{"title":"\u0633\u06a9\u0647 \u0628\u0647\u0627\u0631 \u0622\u0632\u0627\u062f\u06cc","p":"370,200,000","h":"375,300,000","l":"369,900,000","d":"9,750,000","dp":2.63,"dt":"low","t":"\u06f1\u06f9:\u06f1\u06f7:\u06f4\u06f1"},"price_try":{"title":"\u0644\u06cc\u0631 \u062a\u0631\u06a9\u06cc\u0647","p":"18,850","h":"19,050","l":"18,850","d":"300","dp":1.59,"dt":"low","t":"\u06f1\u06f8:\u06f2\u06f3:\u06f2\u06f3"},"price_cad":{"title":"\u062f\u0644\u0627\u0631 \u06a9\u0627\u0646\u0627\u062f\u0627","p":"444,800","h":"452,900","l":"444,600","d":"7,200","dp":1.62,"dt":"low","t":"\u06f1\u06f9:\u06f1\u06f6:\u06f1\u06f7"},"price_aud":{"title":"\u062f\u0644\u0627\u0631 \u0627\u0633\u062a\u0631\u0627\u0644\u06cc\u0627","p":"395,900","h":"403,200","l":"395,800","d":"6,500","dp":1.64,"dt":"low","t":"\u06f1\u06f9:\u06f1\u06f6:\u06f1\u06f7"},"price_aed":{"title":"\u062f\u0631\u0647\u0645 \u0627\u0645\u0627\u0631\u0627\u062a","p":"165,810","h":"168,820","l":"165,740","d":"2,710","dp":1.63,"dt":"low","t":"\u06f1\u06f9:\u06f1\u06f7:\u06f2\u06f2"},"price_gbp":{"title":"\u067e\u0648\u0646\u062f","p":"756,980","h":"770,820","l":"756,670","d":"12,340","dp":1.63,"dt":"low","t":"\u06f1\u06f9:\u06f1\u06f7:\u06f2\u06f2"},"rob":{"title":"\u0631\u0628\u0639 \u0633\u06a9\u0647","p":"143,000,000","h":"145,000,000","l":"143,000,000","d":"1,000,000","dp":0.7,"dt":"low","t":"\u06f1\u06f7:\u06f5\u06f0:\u06f2\u06f4"},"nim":{"title":"\u0646\u06cc\u0645 \u0633\u06a9\u0647","p":"235,000,000","h":"240,000,000","l":"235,000,000","d":"7,000,000","dp":2.98,"dt":"low","t":"\u06f1\u06f7:\u06f5\u06f0:\u06f2\u06f4"},"sekee":{"title":"\u0633\u06a9\u0647 \u0627\u0645\u0627\u0645\u06cc","p":"403,080,000","h":"410,100,000","l":"402,800,000","d":"8,930,000","dp":2.22,"dt":"low","t":"\u06f1\u06f9:\u06f1\u06f7:\u06f4\u06f1"},"price_thb":{"title":"\u0628\u0627\u062a \u062a\u0627\u06cc\u0644\u0646\u062f","p":"16,360","h":"16,660","l":"16,360","d":"270","dp":1.65,"dt":"low","t":"\u06f1\u06f9:\u06f1\u06f1:\u06f1\u06f0"},"price_dkk":{"title":"\u06a9\u0631\u0648\u0646 \u062f\u0627\u0646\u0645\u0627\u0631\u06a9","p":"86,800","h":"88,400","l":"86,800","d":"1,500","dp":1.73,"dt":"low","t":"\u06f1\u06f9:\u06f1\u06f1:\u06f1\u06f6"},"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":"55,500","h":"56,500","l":"55,500","d":"900","dp":1.62,"dt":"low","t":"\u06f1\u06f9:\u06f0\u06f8:\u06f4\u06f9"},"price_chf":{"title":"\u0641\u0631\u0627\u0646\u06a9 \u0633\u0648\u0626\u06cc\u0633","p":"662,600","h":"674,700","l":"662,300","d":"10,900","dp":1.65,"dt":"low","t":"\u06f1\u06f9:\u06f1\u06f6:\u06f3\u06f2"},"geram24":{"title":"\u06af\u0631\u0645 \u0637\u0644\u0627\u06cc \u06f2\u06f4","p":"44,686,000","h":"46,000,000","l":"44,175,000","d":"1,127,000","dp":2.52,"dt":"low","t":"\u06f1\u06f9:\u06f1\u06f7:\u06f2\u06f0"},"geram18":{"title":"\u06af\u0631\u0645 \u0637\u0644\u0627\u06cc \u06f1\u06f8","p":"33,515,000","h":"34,501,000","l":"33,132,000","d":"845,000","dp":2.52,"dt":"low","t":"\u06f1\u06f9:\u06f1\u06f7:\u06f2\u06f0"},"mesghal":{"title":"\u0645\u062b\u0642\u0627\u0644 \u0637\u0644\u0627","p":"145,170,000","h":"149,446,900","l":"143,480,000","d":"3,700,000","dp":2.55,"dt":"low","t":"\u06f1\u06f9:\u06f1\u06f7:\u06f5\u06f5"},"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","dp":0,"dt":"","t":"\u06f8 \u0627\u0631\u062f\u06cc\u0628\u0647\u0634\u062a"},"oil_brent":{"title":"\u0646\u0641\u062a \u0628\u0631\u0646\u062a","p":"88.21","h":"88.21","l":"88.21","d":"1.17","dp":1.33,"dt":"low","t":"\u06f1\u06f2:\u06f1\u06f9:\u06f0\u06f6"},"silver":{"title":"\u0627\u0646\u0633 \u0646\u0642\u0631\u0647","p":"27.22","h":"27.22","l":"27.22","d":"0","dp":0,"dt":"","t":"\u06f8 \u0627\u0631\u062f\u06cc\u0628\u0647\u0634\u062a"},"platinum":{"title":"\u0627\u0646\u0633 \u067e\u0644\u0627\u062a\u06cc\u0646","p":"924.40","h":"936.20","l":"924.40","d":"11.80","dp":1.28,"dt":"low","t":"\u06f1\u06f3:\u06f0\u06f6:\u06f3\u06f4"},"palladium":{"title":"\u0627\u0646\u0633 \u067e\u0627\u0644\u0627\u062f\u06cc\u0648\u0645","p":"959.50","h":"959.50","l":"959.50","d":"0","dp":0,"dt":"","t":"\u06f8 \u0627\u0631\u062f\u06cc\u0628\u0647\u0634\u062a"},"ons":{"title":"\u0627\u0648\u0646\u0633 \u0637\u0644\u0627","p":"2,338.12","h":"2,338.12","l":"2,338.12","d":"0","dp":0,"dt":"","t":"\u06f8 \u0627\u0631\u062f\u06cc\u0628\u0647\u0634\u062a"}}; 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+'
'; }