//Servidor Central

var DR_SERVER = 'http://www.australtemuco.cl';
//var CENTRAL_SERVER = 'http://192.168.6.55';
var CENTRAL_SERVER = 'http://portadadiariosregionales.altavoz.net';

//alert('host:'+window.location.host);
//alert('host:'+window.location.);

//Genera edicion correspondiente al dia actual.
var currentTime = new Date();
var month = currentTime.getMonth() + 1;
if  ( month <= 9 ){
    var monthT = '0'+ month;
    month = monthT;
};
var day = currentTime.getDate();
if  ( day <= 9 ){
    var dayT = '0'+ day;
    day = dayT;
};
var year = currentTime.getFullYear();
var EDICION_DIA = year +'_'+ month +'_'+ day + '_1';

var headInf = '<!--botonera-->';
headInf += '<div class="botonera">';
headInf += '<div class="boton"><a href="http://www.australtemuco.cl" target="_parent">PORTADA</a></div>';

//headInf += '<div class="boton"><a href="'+CENTRAL_SERVER+'/prontus_sube/site/edic/base/port/multimedia.html">NOTICIAS</a></div>';

//headInf += '<div class="boton"><a href="'+CENTRAL_SERVER+'/prontus_blogs/site/edic/base/port/blogs.html">BLOGS</a></div>';

//headInf += '<div class="boton"><a href="'+CENTRAL_SERVER+'/prontus_multimedia/site/edic/base/port/multimedia.html">MULTIMEDIA</a></div>';

headInf += '<div class="boton"><a href="'+CENTRAL_SERVER+'/prontus_multimedia/site/edic/base/port/fotos_temuco.html" target="_parent">FOTOS</a></div>';

headInf += '<div class="boton"><a href="http://portadadiariosregionales.altavoz.net/prontus_multimedia/site/edic/base/port/videos_temuco.html" target="_parent">VIDEOS</a></div>';

headInf += '<div class="boton"><a href="http://www.sparaucania.cl/temuco/obituarios/redireccionar.html">OBITUARIOS</a></div>';
headInf += '<div class="boton"><a href="http://www.sparaucania.cl/temuco/guiaprotemuco/" target="_parent">GUIAS</a></div>'


headInf += '<div class="boton"><a href="http://www.meteochile.cl/reg09.html" target="_parent">EL TIEMPO</a></div>';

headInf += '<div class="boton"><a href="http://www.australtemuco.cl/prontus4_noticias/site/artic/20090908/pags/20090908194841.html" target="_parent">CARTAS</a></div>';

headInf += '<div class="boton"><a href="http://www.australtemuco.cl/clasificados/stat/general/index.html?s=www.australtemuco.cl" target="_parent">ECONÓMICOS</a></div>';
headInf += '<div class="boton"><a href="http://www.sparaucania.cl/temuco/edicionespecial/index.html?s=www.australtemuco.cl" target="_parent">ESPECIALES</a></div>';

headInf += '</div>';
headInf += '<!--/botonera-->';
writeHeadInf(headInf);

