var trate_time='2017,10,18,00,55(New York)';var tttime=new Date(2017,10,18,00,55);var tttime2='(New York)';var tformat=1; var trate_vvv=document.getElementById("forex_link2"),trate_ok=false;if(typeof(trate_vvv)=="object")if((trate_vvv.getAttribute("href")).toLowerCase().indexOf("forex-quote")!=-1)trate_ok=true;if(trate_ok==false)alert("link error, please get full code from http://www.forex-quote.org");if(typeof(tttime)=="object"){mytype=tformat;var clock_hours=tttime.getHours(),clock_minutes=tttime.getMinutes(),clock_seconds=tttime.getSeconds(),nday=tttime.getDay();if(nday==0)nday="Sun";else if(nday==1)nday="Mon";else if(nday==2)nday="Tue";else if(nday==3)nday="Wed";else if(nday==4)nday="Thu";else if(nday==5)nday="Fri";else if(nday==6)nday="Sat";var nmonth=tttime.getMonth(),ntoday=tttime.getDate(),nyear=tttime.getYear();if(nyear<=99)nyear="19"+nyear;if((nyear>99)&&(nyear<2000))nyear+=1900;var nmonth_f="";if(nmonth==0)nmonth_f="Jan";else if(nmonth==1)nmonth_f="Feb";else if(nmonth==2)nmonth_f="Mar";else if(nmonth==3)nmonth_f="Apr";else if(nmonth==4)nmonth_f="May";else if(nmonth==5)nmonth_f="Jun";else if(nmonth==6)nmonth_f="Jul";else if(nmonth==7)nmonth_f="Aug";else if(nmonth==8)nmonth_f="Sep";else if(nmonth==9)nmonth_f="Oct";else if(nmonth==10)nmonth_f="Nov";else if(nmonth==11)nmonth_f="Dec";nmonth=nmonth+1;var tmp="",chi_day=" "+""+"",chi_month=" "+""+"",chi_year=" "+""+"";if(mytype==1)tmp=nmonth_f+" "+ntoday+chi_day+" "+nyear+" "+clock_hours+":"+clock_minutes;else if(mytype==2)tmp=ntoday+chi_day+""+nmonth_f+" "+nyear+" "+clock_hours+":"+clock_minutes;else if(mytype==3)tmp=nmonth+"/"+ntoday+"/"+nyear+" "+clock_hours+":"+clock_minutes;else if(mytype==4)tmp=ntoday+"/"+nmonth+"/"+nyear+" "+clock_hours+":"+clock_minutes;else if(mytype==5)tmp=nyear+"/"+nmonth+"/"+ntoday+" "+clock_hours+":"+clock_minutes;else if(mytype==6)tmp=nyear+"-"+nmonth+"-"+ntoday+" "+clock_hours+":"+clock_minutes;else if(mytype==7)tmp=nmonth_f+" "+ntoday+chi_day+""+nyear+" "+nday+" "+clock_hours+":"+clock_minutes;else if(mytype==8)tmp=ntoday+chi_day+""+nmonth_f+" "+nyear+" "+nday+" "+clock_hours+":"+clock_minutes;else if(mytype==9)tmp=nmonth+"/"+ntoday+"/"+nyear+" "+nday+" "+clock_hours+":"+clock_minutes;else if(mytype==10)tmp=ntoday+"/"+nmonth+"/"+nyear+" "+nday+" "+clock_hours+":"+clock_minutes;else if(mytype==11)tmp=nyear+"/"+nmonth+"/"+ntoday+" "+nday+" "+clock_hours+":"+clock_minutes;else if(mytype==12)tmp=nyear+"-"+nmonth+"-"+ntoday+" "+nday+" "+clock_hours+":"+clock_minutes;else if(mytype==13)tmp=nyear+chi_year+""+nmonth+chi_month+""+ntoday+chi_day+""+nday+" "+clock_hours+":"+clock_minutes;else if(mytype==14)tmp=nday+", "+nmonth_f+" "+ntoday+chi_day+""+nyear+" "+clock_hours+":"+clock_minutes;else if(mytype==15)tmp=nday+", "+ntoday+chi_day+""+nmonth_f+" "+nyear+" "+clock_hours+":"+clock_minutes;else if(mytype==16)tmp=nday+" "+nmonth_f+" "+ntoday+chi_day+""+nyear+" "+clock_hours+":"+clock_minutes;else if(mytype==17)tmp=nday+" "+ntoday+chi_day+""+nmonth_f+" "+nyear+" "+clock_hours+":"+clock_minutes;trate_time=tmp+tttime2}document.write("
"+trate_time+"
ForexBidAsk
EURUSD1.17891.1794
GBPUSD1.32111.3214
USDCHF0.98830.9900
USDJPY112.07112.10
USDCAD1.27611.2771
AUDUSD0.75640.7568
NZDUSD0.68150.6820
EURGBP0.89170.8957
EURCHF1.16591.1662
EURJPY132.15132.18
GBPCHF1.30461.3093
GBPJPY147.88147.91
")