
function writeTopMenu(){

// 1. href = name of page to open
// 2. put the word(s) you want to appear just before the </a>
//
document.write('       ' +
			   '<a class="top" href="intro.html" target="_parent">Home</a>' +
			   '  ·  ' +
			   '<a class="top" href="everymonth.html" target="_parent">Every Month</a>' +
			   '  ·  ' +
			   '<a class="top" href="everyyear.html" target="_parent">Every Year</a>' +
			   '  ·  ' +
			   '<a class="top" href="TheTenthYear.html" target="_parent">The Tenth Year</a>' +
			   '  ·  ' +
			   '<a class="top" href="myeveryday.html" target="_parent">Journals</a>' +
			   '  ·  ' +
			   '<a class="top" href="baddays.html" target="_parent">Bad Days Made Beautiful</a>' +
			   '  ·  ' +
			   '<a class="top"  href="contact.html" target="_parent">Contact and info</a>'
			   );

}


function writeChapters(){
document.write('<br><ul class="leftlist"><li class="smenu"><a href="dance.html" class="sublink"> In Motion</a><li class="smenu"><a href="intimate.html" class="sublink"> Faces and Intimate Moments</a><li class="smenu"><a href="africa.html" class="sublink"> Traveling</a><li class="smenu"><a href="landscape.html" class="sublink"> Landscapes</a><li class="smenu"><a href="inTheNight.html" class="sublink"> In the Dark</a><li class="smenu"><a href="inTheLight.html" class="sublink"> In the Light</a><!--<li class="smenu"><a href="faces.html" class="sublink">&nbsp;Faces and Features</a>//--><!--<li class="smenu"><a href="word.html" class="sublink">&nbsp;Word On The Street</a>//--><li class="smenu"><!--SPACER TO PUT BOTTOM LINE//--><br /><br /></ul>');
}



function ShowPic (whichpic, whichtit) {
// update big picture with the right picture.
// update its title with the right title
document.showcaseimg.src = whichpic;
document.showcaseimg.alt = whichtit;
// showcasetit is the title to display
var showcasetit = whichtit;
// point to the right paragraph
var para = document.getElementById("thistit");
// get rid of old text
for (i=0;i<para.childNodes.length;i++){
para.removeChild(para.childNodes[i]);
}
// set the style for the new paragraph
para.style.fontFamily = "Geneva, Verdana,  Arial, Helvetica, sans-serif";
para.style.fontSize = 13;
para.style.fontWeight="normal";
para.style.textAlign = "center";
para.style.fontColor="#708090";

// put the text in a node
var newText = document.createTextNode(showcasetit);
// put the node in the right paragraph
para.appendChild(newText);
}


function writePrivacy(){
document.write('<div class="privacy">The images and content on this website are copyrighted properties of Migdalia Valdes. Any images or any part of this website  may not be used for commercial purposes, reproduced, copied or altered in any way, by use of computer or other electronic means, without specific permission and consent in any evidenciary form from the owner. All images are protected under United States and international copyrights law. Any unauthorized use is a violation of copyright laws.</div>');
}

function mover(id) {
document.getElementById(id).style.display='block';
}

function mout(id) {
document.getElementById(id).style.display='none';
}



function pop() {
  popupWin = window.open('pop.html', 'remote',  'menubar=0,toolbar=0,location=0,directories=0,status=0,scrollbars=0,resizable=0,dependent=0,width=970,height=470,left=0,top=0');
}


function pop() {
popupWin = window.open('pop.html', 'remote',  'menubar=0,toolbar=0,location=0,directories=0,status=0,scrollbars=0,resizable=0,dependent=0,width=970,height=470,left=0,top=0');
}


