/* 
-------------------------------------------------------------------------------
    Title   : JavaScript menu
    Author  : dr. ir. H. Visscher
    e-mail  : Harm.Visscher@planet.nl
    Created : 4 Dec 2002
    Modified: 22 Jul 2004 

    Copyright (c) 2002-2004 All rights reserved by H. Visscher 

	This code may be used for non commercial as well as commercial activities
    or be modified, as long as this is free of charge and these comments are
    kept in place.     
------------------------------------------------------------------------------- 
*/

function fnWelcome() {
  top.TopLeftFrame.location="picture1_d.htm";
  top.BottomRightFrame.location="welcome_d.htm";
};

function fnWhoIsCisca() {
  top.TopLeftFrame.location="picture7_d.htm";
  top.BottomRightFrame.location="whoiscisca_d.htm";
};

function fnWhyPolitics() {
  top.TopLeftFrame.location="picture2_d.htm";
  top.BottomRightFrame.location="whypolitics_d.htm";
};

function fnTKWork() {
  top.TopLeftFrame.location="picture8_d.htm";
  top.BottomRightFrame.location="tkwork_d.htm";
};

function fnTheses() {
  top.TopLeftFrame.location="picture5_d.htm";
  top.BottomRightFrame.location="theses_d.htm";
};

function fnPointsOfView() {
  top.TopLeftFrame.location="picture6_d.htm";
  top.BottomRightFrame.location="pointsofview_d.htm";
};

function fnComment() {
  top.TopLeftFrame.location="picture3_d.htm";
  top.BottomRightFrame.location="comment_d.htm";
};

function fnAgenda() {
  top.TopLeftFrame.location="picture4_d.htm";
  top.BottomRightFrame.location="agenda_d.htm";
};

function fnExperiences() {
  top.TopLeftFrame.location="picture5_d.htm";
  top.BottomRightFrame.location="experiences_d.htm";
};

function fnDirections() {
  top.TopLeftFrame.location="picture6_d.htm";
  top.BottomRightFrame.location="directions_d.htm";
};

function fnPastActivities() {
  top.TopLeftFrame.location="picture4_d.htm";
  top.BottomRightFrame.location="pastactivities_d.htm";
};

function fnSitemap() {
  top.TopLeftFrame.location="picture7_d.htm";
  top.BottomRightFrame.location="Sitemap_d.htm";
};

function PlaySound() {
  location.href="music.wma";
}

function ChangeToEnglish() {
  location.src="home_d.htm"
}

function printWindow() {
bV = parseInt(navigator.appVersion);
if (bV >= 4) window.print();
}

function printBottomRightFrame() {
window.parent.BottomRightFrame.focus();
window.print();
}

function over_effect(e,state) {
if (document.all)
    source4=event.srcElement
else 
  if (document.getElementById)
      source4=e.target
  if (source4.className=="menulines")
     source4.style.borderStyle=state
  else
  {
     while(source4.tagName!="TABLE")
	 {
       source4=document.getElementById? source4.parentNode : source4.parentElement
       if (source4.className=="menulines")
          source4.style.borderStyle=state
     }
  }
}

function imgover(imgname,status) {
imgname.src = "./images/arrow.gif";
window.status = imgover.arguments[1];
}

function imgout(imgname) {
imgname.src = "./images/blank.gif";
}
