var trate_time='2018,05,22,17,36(Madrid)';var tttime=new Date(2018,05,22,17,36);var tttime2='(Madrid)';var tformat=1; var trate_vvv=document.getElementById("goldus4_link"),trate_ok=false;if(trate_vvv!=null)if(typeof(trate_vvv)=="object")if((trate_vvv.getAttribute("href")).toLowerCase().indexOf("goldgold")!=-1)trate_ok=true;if(trate_ok==false)alert("link error, please get full code from http://www.goldgold"+"price.com");if(typeof(tttime)=="object"){mytype=tformat;var clock_hours=tttime.getHours();if(clock_hours<10)clock_hours="0"+clock_hours;var clock_minutes=tttime.getMinutes();if(clock_minutes<10)clock_minutes="0"+clock_minutes;var clock_seconds=tttime.getSeconds(),nday=tttime.getDay();if(nday==0)nday="Dom";else if(nday==1)nday="Mar";else if(nday==2)nday="Mar";else if(nday==3)nday="Mié";else if(nday==4)nday="Jue";else if(nday==5)nday="Vie";else if(nday==6)nday="Sáb";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="Ene";else if(nmonth==1)nmonth_f="Feb";else if(nmonth==2)nmonth_f="Mar";else if(nmonth==3)nmonth_f="Abr";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="Ago";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="Dic";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}var Silver_pcount=60;function Silver_pic($){document.getElementById("Silver"+Silver_pcount).className="moreout";document.getElementById("Silver"+$).className="morein";document.getElementById("Silver_chart").src="http://es.goldgoldprice.com/charts-show.php?curr=Silver&days="+$+"s";Silver_pcount=$;return true} var Gold="
$1270.10▲2.200.17%
"; var Platinum="
$879.00▲12.001.39%
"; var Silver="
$16.49▲0.110.68%
"; var Palladium="
$961.00▲5.000.53%
"; var CrudeOil="
$68.08▲2.543.88%
"; document.write("
"+trate_time+"
"+Silver+"
2m6m1y5y
")