{source}
<!-- You can place html anywhere within the source tags -->
<h1 style="text-align: justify;">Jornada actual</h1>
<p style="text-align: justify;">
<script language="javascript" type="text/javascript">
var from = new Date();
var to = new Date();
from.setDate(from.getDate() - 3);
to.setDate(to.getDate() + 3);
var from_day = from.getDate();
var from_month= from.getMonth()+1;
var from_year = from.getFullYear();
var to_day = to.getDate();
var to_month = to.getMonth()+1;
var to_year = to.getFullYear();
var part1 = "<iframe src=\"https://fusiontables.google.com/embedviz?viz=GVIZ&t=TABLE&q=select+col0%2C+col1%2C+col2%2C+col3%2C+col4%2C+col5+from+1WB2FSNNreXgroVM74nH1Vs24x9oX-AgZm7WInd3u+where+col0+%3E%3D+'";
var part2 = "+00%3A00%3A00'+and+col0+%3C%3D+'";
var part3 = "+23%3A59%3A00'+order+by+col0+asc&containerId=googft-gviz-canvas\" width=\"100%\" height=\"650\" frameborder=\"no\" scrolling=\"yes\"></iframe></p>";
function url(){
u = part1 + from_year + "-" + from_month + "-" + from_day + part2 + to_year + "-" + to_month + "-" + to_day + part3;
return u;
}
document.write(url());
</script>
{/source}