<!---

//-----------------mouseover nav------------------

// defines the images (on and off)

navoff= new Array();
for (i = 1; i <= 6; i++) {
	navoff[i] = new Image() ;
	navoff[i].src = "../_navpics/nav" + i +"off.gif";  
}
navover= new Array();
for (i = 1; i <= 6; i++) {
	navover[i] = new Image() ;
	navover[i].src = "../_navpics/nav" + i +"over.gif";  
}

subnavoff= new Array();
for (i = 1; i <= 17; i++) {
	subnavoff[i] = new Image() ;
	subnavoff[i].src = "../_navpics/subnav" + i +"off.gif";  
}
subnavover= new Array();
for (i = 1; i <= 17; i++) {
	subnavover[i] = new Image() ;
	subnavover[i].src = "../_navpics/subnav" + i +"over.gif";  
}

topnavoff= new Array();
for (i = 1; i <= 9; i++) {
	topnavoff[i] = new Image() ;
	topnavoff[i].src = "../_navpics/topnav" + i +"off.gif";  
}
topnavover= new Array();
for (i = 1; i <= 9; i++) {
	topnavover[i] = new Image() ;
	topnavover[i].src = "../_navpics/topnav" + i +"on.gif";  
}

//activates image

function navActivate(nav_name) {
	document.images[nav_name].src = navover[nav_name.substring(7,nav_name.length)].src;
}

function subNavActivate(nav_name) {
	document.images[nav_name].src = subnavover[nav_name.substring(10,nav_name.length)].src;
}

function topNavActivate(nav_name) {
	document.images[nav_name].src = topnavover[nav_name.substring(10,nav_name.length)].src;
}

//deactivates image

function navDeactivate(nav_name) {
	document.images[nav_name].src = navoff[nav_name.substring(7,nav_name.length)].src;
}

function subNavDeactivate(nav_name) {
	document.images[nav_name].src = subnavoff[nav_name.substring(10,nav_name.length)].src;
}

function topNavDeactivate(nav_name) {
	document.images[nav_name].src = topnavoff[nav_name.substring(10,nav_name.length)].src;
}


//-----------------random------------------

//   randomgif: Inserts code for a 'random' gif. For example, if we have
//   10 pictures, "images/cover1." through "images/cover10.jpg",
//   one would say 'randomgif("images/cover", 10)'
//   Maximum of 60 pictures.

var numPics = 5;
var numPicsAll = 20;
var now = new Date();
var sec = now.getSeconds();

function randomAll() {
	document.write("<img src=" + "../_randompics/all/" + (sec%numPicsAll+1) + ".jpg height='280' width='280'>");
}

function randomClassic() {
	document.write("<img src=" + "../_randompics/classic/" + (sec%numPics+1) + ".jpg height='280' width='280'>");
}

function randomFolk() {
	document.write("<img src=" + "../_randompics/folk/" + (sec%numPics+1) + ".jpg height='280' width='280'>");
}

function randomJazz() {
	document.write("<img src=" + "../_randompics/jazz/" + (sec%numPics+1) + ".jpg height='280' width='280'>");
}

function randomPop() {
	document.write("<img src=" + "../_randompics/pop/" + (sec%numPics+1) + ".jpg height='280' width='280'>");
}


//-----------------function window handler------------------
function openwinLanguage(){
	window.open('../popup/language_it.htm','popup','scrollbars=yes,toolbar=no,location=no,status=1,menubar=no,resizable=yes,width=420,height=300,top=70,left=70');
}

//--->