/* Contents based on general descriptions from Http://www.w3c.org and the following:   */
/* http://positioniseverything.net provided several ideas or fixes                     */
/* http://en.wikipedia.org/wiki/Cascading_Style_Sheets provided several ideas.         */
/*    in particular color schemes and box showing and closing content index            */ 
/* http://www.mozilla.org    (top menu - since the jello mold was not working          */
/* The various parts of the contents of style sheet and function library is a mixture  */
/* of the above and extensions by experimentation                                      */
/*                                                                                     */
/* Revision history for EpiData.dk : Created by Jens M.Lauritsen                       */

/* contents of this are javascript routines for epidata.dk                             */
/* Version 1.0     Date: Jan. 17th 2006                                                */
/* Version 1.01     Date: Jan. 17th 2007 (year changed)                                */
/*                                                                                     */


function popup(url,name,h,w,l) {
  window.open(url,name,'top=25 , left= ' + l + ', Height=' + h + 'px,Width='+w +'px, alwaysRaised=yes,innerHeight=0,outerHeight=0,dependent=yes');
	}

function s(tekst) {
	document.write(tekst);
}


function showdate (dt) {
  var d1 =new Date(dt).toUTCString();
  document.write(d1); 
}

function foot(pdf) {
        s('<div id="foot"><hr>');  
	if (pdf=="pdf") {
	s('<p class="center">Leas los archivos PDF con Acrobat Reader (V4/o posterior) <A HREF="http://www.adobe.com/products/acrobat/readstep.html">disponible aquí(gratuito)</A></p>');
	}
	s('<p class="center">Todo el material copyright por la Asociación EpiData 2000-2008 excepto otras especificaciones. <A HREF="about.htm#disclaim">Renuncia de Responsablidades y Licencia GNU</A><br>Revisado ');
        showdate(document.lastModified);
        s('</p></div>'); 
}

/*  place for a fixed red square      s('<div id="construction">In construction</div>');  */


