var trate_time='2017,10,17,14,22(New York)';var tttime=new Date(2017,10,17,14,22);var tttime2='(New York)';var tformat=1; var trate_vvv=document.getElementById("forex2_linkc1"),trate_ok=false;if(typeof(trate_vvv)=="object")if((trate_vvv.getAttribute("href")).toLowerCase().indexOf("exchangerateusd")!=-1)trate_ok=true;if(trate_ok==false)alert("link error, please get full code from http://www.exchangerateusd.com");function curr_cal(){var A=document.getElementById("curr_fromvalue").value,_=document.getElementById("curr_from").value,$=document.getElementById("curr_to").value;document.getElementById("curr_tovalue").value=Math.round(A*$/_*100)/100}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+"
Amount:
From:
To:
Result:
")