//  Copyright (c) 2002 Filip Zapaśnik. All Rights Reserved.
//
//	by Filip Zapasnik. v 1.00 
//	last modified 06.05.2003

var nav = new Array;
var nav_o = new Array();
var name = new Array();

function takeImg (){                 
	for (i=0; i<elements; i++){
			name[i] = eval('Menu_'+i+'[0]');
			img = eval('Menu_'+i+'[1]');
			img_o = eval('Menu_'+i+'[2]');

			nav[i] = new Image; nav[i].src = img;
			nav_o[i] = new Image; nav_o[i].src = img_o;
			}
}

function imageOn (nr){
	if (document.images){
	document [name[nr]].src=nav_o[nr].src;
	}
}

function imageOff (nr){
	if (document.images){
	document [name[nr]].src=nav[nr].src;
	}
}

function MM_jumpMenu(targ,selObj,restore){ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}

function openNew (name){
	options = 'toolbar=no,location=no,directories=no,menubar=no,status=no,resizable=no,scrolbars=no,width=550,height=780';
	win = window.open (name,'win',options);
}

takeImg();