
if (parent.location.href == self.location.href) {
window.location.href = "../index.htm";
}

//Hover-up Menu Bar: By Dynamicdrive.com
//Credit must stay intact for use
//Visit http://www.dynamicdrive.com for this script and more


//CSS stylesheet for menu bar
//Customize background color (#FFF2BF) and link color (black):
var cssdefinition='<style>\n.menuitems{\nborder:3px solid #003366;\n}\n\n.menuitems a{\ntext-decoration:none;\ncolor:Yellow;\npadding-left:5px;\npadding-right:5px;\nfont-size:normal;\n}\n<\/style>'

//No need to edit beyond here
if (document.all||document.getElementById)
document.write(cssdefinition)

function over_effect(e,state, bgcolor){
   if (document.all)
      source4=event.srcElement
   else if (document.getElementById)
      source4=e.target
   if (source4.className=="menuitems"){
	    source4.style.borderStyle=state
	    source4.style.backgroundColor=bgcolor
	 }
	 else{
	 			while(source4.tagName!="DIV"){
				   source4=document.getElementById? source4.parentNode : source4.parentElement
					 if (source4.className=="menuitems"){
					 		source4.style.borderStyle=state
							source4.style.backgroundColor=bgcolor
					 }
			 }
	 }
}


function sizePhoto(){	
	 pix = document.getElementsByTagName("IMG");
	 for(var j=0; j< pix.length; j++) {
	    if (pix[j].id="Photo") {
		 	 pix[j].style.width = 0.40*(0.43*document.body.clientWidth);
		 	 pix[j].style.height = 0.48*(0.43*document.body.clientWidth);
		}
	}
}

function showRightDiv(divID)
{
   divArray = document.getElementsByTagName("DIV");
	 for(var i= 0; i<divArray.length; i++){		
	    if (divArray[i].className=="rightDiv") {		 
	       if (divArray[i].id != divID) {
		        divArray[i].style.display="none";
		     } else {
			     divArray[i].style.display="block";
			 }
	    }
	 }
}