//Función que se ejecuta al cargar la página

function cargar(){
	alert("salud");
	FotosRndTitle();
}


//Fotos Rnd
function FotosRndTitle(){

alert("salud");
}



function AbrirPagina2(pagina,ancho,alto){
	var izquierda = (screen.availWidth - ancho) / 2; 
    var arriba = (screen.availHeight - alto) / 2; 
	var parametros=" resizable = no, menubar = no, width= " + ancho +", height= "+alto+", left= " +izquierda +", top= "+arriba;
	Ventana = window.open(pagina, "PaginaNew", parametros);
	Ventana.focus();
}


function AbrirPagina(pagina){
	var izquierda = (screen.availWidth - 344) / 2; 
    var arriba = (screen.availHeight - 645) / 2; 
	var parametros=" resizable = no, menubar = no, width= 344, height= 645, left= " +izquierda +", top= "+arriba;
	Ventana = window.open(pagina, "PaginaNew", parametros);
	Ventana.focus();
}


function AbrirVentana(ImagenGrande,Ancho,Alto)
{
	Ventana = window.open(ImagenGrande, "VentanaNueva", " width=" +Ancho+ " height=" +Alto +" Top = 2 Left = 2" );

	Ventana.focus();
}
	
var monthNames = new makeArray(12);
	monthNames[0] = "Enero";
	monthNames[1] = "Febrero";
	monthNames[2] = "Marzo";
	monthNames[3] = "Abril";
	monthNames[4] = "Mayo";
	monthNames[5] = "Junio";
	monthNames[6] = "Julio";
	monthNames[7] = "Agosto";
	monthNames[8] = "Septiembre";
	monthNames[9] = "Octubre";
	monthNames[10] = "Noviembre";
	monthNames[11] = "Diciembre";

// Array of day names

var dayNames = new makeArray(7);
	dayNames[0] = "Domingo";
	dayNames[1] = "Lunes";
	dayNames[2] = "Martes";
	dayNames[3] = "MiErcoles";
	dayNames[4] = "Jueves";
	dayNames[5] = "Viernes";
	dayNames[6] = "SAbado";

var now = new Date();
var year = now.getYear();
var spacio = " ";

if (year < 2000) year = year + 1900;

function makeArray(len) 
{
    for (var i = 0; i < len; i++) this[i] = null;
    this.length = len;
}

function agregar(){
   if ((navigator.appName=="Microsoft Internet Explorer") && 
         (parseInt(navigator.appVersion)>=4)) {
      var url="http://www.viandardelavera.com/Blog/BlogViandar.html"; 
      var titulo="Blog de Viandar";
      window.external.AddFavorite(url,titulo);
   } else { 
      if(navigator.appName == "Netscape") 
         alert("Presione Crtl+D para agregar este sitio en sus Bookmarks"); 
   }
} 

window.moveTo (0,0);
window.resizeTo (screen.availWidth, screen.availHeight);



//<!-- Menu volador
var menuwidth=110
var offsetleft=10
var offsettop=90

function makeStatic() {
if (document.all) {object1.style.pixelTop=document.body.scrollTop+offsettop}
else{eval(document.object1.top=eval(window.pageYOffset+offsettop));}
setTimeout("makeStatic()",0);
}
if (document.all) {document.write('<DIV ALIGN="CENTER" ID="object1" STYLE="Position:absolute; Top:20; Left:'+offsetleft+'; Z-Index:5;cursor:hand;background-color:black"><TABLE BORDER="2" width="'+menuwidth+'" CELLPADDING="0" CELLSPACING="0" BORDERCOLOR="black" bgcolor="white">')}
else if (document.layers){ document.write('<LAYER top="20" name="object1" left="'+offsetleft+'" BGCOLOR=black><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="1"><TR><TD><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" width="'+menuwidth+'">')}
if (document.all||document.layers)
document.write('<TR><TD BGCOLOR="#c0c0c0" BORDERCOLORDARK="#99CCFF" BORDERCOLORLIGHT="#003399"><P ALIGN=CENTER><FONT SIZE="4" FACE=ARIAL>Enlaces</FONT></TD></TR>')
var menui = new Array();
var menul = new Array();

menui[0]="&nbsp;&nbsp;Incio.";
menui[1]="&nbsp;&nbsp;Sabañones.";
menui[2]="&nbsp;&nbsp;Arsenopirita.";
menui[3]="&nbsp;&nbsp;Horas Extras.";
menui[4]="&nbsp;&nbsp;Asesinato.";
menui[5]="&nbsp;&nbsp;El Zapatero.";
menui[6]="&nbsp;&nbsp;Travels.";
menui[7]="&nbsp;&nbsp;Mapa.";
menui[8]="&nbsp;&nbsp;El Toro.";
menui[9]="&nbsp;&nbsp;Principito.";
menui[10]="&nbsp;&nbsp;Perrunillas.";
menui[11]="&nbsp;&nbsp;Guitarvera'07.";
menui[12]="&nbsp;&nbsp;National.";

menui[13]="&nbsp;&nbsp;";
menui[14]="&nbsp;&nbsp;Comentar.";
menui[15]="&nbsp;&nbsp;Web Viandar";


menul[0]="#Inicio";
menul[1]="#Saba";
menul[2]="#Arsenopirita";
menul[3]="#HorasExtras";
menul[4]="#Asesinado";
menul[5]="#ZapateroReal";
menul[6]="#Travels";
menul[7]="#";
menul[8]="#ToroViandar";
menul[9]="#Principito";
menul[10]="#Perrunillas";
menul[11]="#Guitarvera07";
menul[12]="#National";

menul[13]="#Inicio";
menul[14]="Comentar.html";
menul[15]="../index.html";

for (i=0;i<=menui.length-1;i++)
if (document.all) {document.write('<TR><TD BORDERCOLOR="white" ONCLICK="location=\''+menul[i]+'\'" onmouseover="className=\'menuh\'" onMouseout="className=\'menu\'"><FONT>'+menui[i]+'</FONT></TD></TR>')}
else if (document.layers){document.write('<TR><TD BGCOLOR="white"><ILAYER><LAYER width="'+menuwidth+'" onmouseover="bgColor=\'yellow\'" onmouseout="bgColor=\'white\'"><CENTER><A HREF="'+menul[i]+'" class=menulinks>'+menui[i]+'</A></CENTER></LAYER></ILAYER></TD></TR>')}
if (document.all) {document.write('</TABLE></DIV>')}
else if (document.layers){document.write('</TABLE></TD></TR></TABLE></LAYER>')}
function menu3(){
if (document.all||document.layers)
makeStatic()
}
window.onload=menu3

//-->








