//Servidor Central

var DR_SERVER = 'http://www.mercuriovalpo.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.mercuriovalpo.cl" target="_parent">PORTADA</a> | </div>';



//headInf += '<div class="boton"><a href="'+DR_SERVER+'/prontus4_noticias/site/edic/'+EDICION_DIA+'/port/ciudades.html'+'">REGI&Oacute;N</a> | </div>';
//headInf += '<div class="boton"><a href="'+DR_SERVER+'/prontus4_noticias/site/edic/'+EDICION_DIA+'/port/deportes.html">DEPORTES</a> | </div>';
//headInf += '<div class="boton"><a href="'+DR_SERVER+'/prontus4_noticias/site/edic/'+EDICION_DIA+'/port/mundo.html">EL PA&Iacute;S Y EL MUNDO</a> | </div>';
//headInf += '<div class="boton"><a href="'+DR_SERVER+'/prontus4_noticias/site/edic/'+EDICION_DIA+'/port/vialibre.html">V&Iacute;A LIBRE</a> | </div>';
//headInf += '<div class="boton"><a href="'+DR_SERVER+'/prontus4_noticias/site/edic/base/port/redaccion.html">REDACCION</a> | </div>';



headInf += '<div class="boton"><a href="'+CENTRAL_SERVER+'/prontus_multimedia/site/edic/base/port/videos_valpo.html" target="_parent">VIDEOS</a> | </div>';
headInf += '<div class="boton"><a href="'+CENTRAL_SERVER+'/prontus_multimedia/site/edic/base/port/fotos_valpo.html" target="_parent">FOTOS</a> | </div>';
headInf += '<div class="boton"><a href="http://www.emvalparaiso.cl"  target="_parent">MULTIMEDIA</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_sube/site/edic/base/port/multimedia.html">TU NOTICIA</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="'+DR_SERVER+'/prontus3_club/site/edic/base/port/portada.html">CLUB DE LECTORES</a> | </div>';

headInf += '<div class="boton"><a href="http://www.mercuriovalpo.cl/prontus4_noticias/site/artic/20081124/pags/20081124134654.html" target="_parent">CONTACTO</a> | </div>';

headInf += '<div class="boton"><a href="http://www.mercuriovalpo.cl/clasificados/stat/general/index.html" target="_parent">ECONOMICOS</a> | </div>';
//headInf += '<div class="boton"><a href="http://www.meteochile.cl/reg05.html" target="_parent">EL TIEMPO</a> |</div>';
headInf += '<div class="boton"><a href="http://www.mercuriovalpo.cl/prontus4_noticias/site/artic/20081119/pags/20081119082948.html" target="_parent">EDICIONES ANTERIORES</a>|</div>';
headInf += '<div class="boton"><a href="http://www.regiontv.cl" target="_parent">REGIÓN TV</a>|</div>';
headInf += '<div class="boton"><a href="http://prontus.mediosregionales.cl/clublectoresvalparaiso/site/edic/base/port/portada.html" target="_parent">CLUB LECTORES</a> | </div>';
headInf += '<div class="boton"><a href="http://www.diariosregionales.cl/valparaiso/mercuriovalpo/guia_invite/intro.html" target="_parent">GUIA GASTRONOMICA</a> | </div>';
headInf += '</div>';
headInf += '<!--/botonera-->';
writeHeadInf(headInf);