//scroller width
var swidth=100;
//scroller height
var sheight=100;
//background color 
var sbcolor='#FFF7BC';
//scroller's speed
var sspeed=1;
// ACUERDATE DE HACER LA COPIA EN UTF-8 PARA QUE LO LEA BIOCANCER!!!
var msg='';
//Your messages go below:
				
msg=	
		'<p><span class="NewsHeader">Boletín 67:</span> <a href="http://www.icic.es/boletin_icic/boletin_icic_67/boletin67_7.php" class="NewsLinks">Oportunidades de publicación científica favorecidas por el ICIC.</a></p>'+		
				
		'<p><span class="NewsHeader">Boletín 67:</span> <a href="http://www.icic.es/boletin_icic/boletin_icic_67/boletin67_2.php" class="NewsLinks">V Meeting of the Young Cancer Investigators of the Canary Islands.</a></p>'
		
;		
		
//End of your messages

//-- end Parameters-->
//-- begin: Scroller's Algorithm -->

var resumesspeed=sspeed
function start(){
  // para asegurar el refresco, tiene pinta de redundancia...
  var elemento = document.getElementById('jstablero');
  elemento.src = '/tablero-ref.js';
  // fin
  if (document.all) iemarquee(slider);
  else if (document.getElementById)
    ns6marquee(document.getElementById('slider'));
    else if(document.layers)
      ns4marquee(document.slider1.document.slider2);
}

function iemarquee(whichdiv){
  iediv=eval(whichdiv);
  iediv.style.pixelTop=sheight;
  iediv.innerHTML=msg;
  sizeup=iediv.offsetHeight;
  ieslide();
}

function ieslide(){
  if (iediv.style.pixelTop>=sizeup*(-1)){
    iediv.style.pixelTop-=sspeed;
    setTimeout("ieslide()",100);
  }
  else{
    iediv.style.pixelTop=sheight;
    ieslide();
  }
}

function ns4marquee(whichlayer){
  ns4layer=eval(whichlayer);
  ns4layer.top=sheight;
  ns4layer.document.write(msg);
  ns4layer.document.close();
  sizeup=ns4layer.document.height;
  ns4slide();
}

function ns4slide(){
  if (ns4layer.top>=sizeup*(-1)){
    ns4layer.top-=sspeed;
    setTimeout("ns4slide()",100);
  }
  else{
    ns4layer.top=sheight;
    ns4slide();
  }
}

function ns6marquee(whichdiv){
  ns6div=eval(whichdiv);
  ns6div.style.top=sheight+'px;';
  ns6div.innerHTML=msg;
  sizeup=ns6div.offsetHeight;
  ns6slide();
}

function ns6slide(){
  if (parseInt(ns6div.style.top)>=sizeup*(-1)){
    ns6div.style.top=parseInt(ns6div.style.top)-sspeed+'px;';
    setTimeout("ns6slide()",100);
  }
  else{
    ns6div.style.top=sheight+'px;';
    ns6slide();
  }
}

/*-- Emails sin spam --*/
function showAddress(user, domain) {
  if (domain == undefined) { domain = 'icic.es'; } 
  document.write('<a href="mailto:'+ user + '@' + domain + '">' + user + "@" + domain + '</a>'); 
}

