// JavaScript Document
var NS,IE,N06
NS   = (document.layers) ? true:false;                 // NETSCAPE 4 ******************
IE   = (document.all) ? true:false;                    // IE 4Up  *********************
N06 = ((document.getElementById)&&(!IE))?true:false;   // NETSCAPE 6 etc. *************
// END BROWSER VARIABLES **************************************************************
// mouseover scripts including fix for NS complete path *******************************
function preload(imgObj,imgSrc) {
	if (document.images) {
		eval(imgObj+' = new Image()');
		eval(imgObj+'.src = "'+imgSrc+'"');
	}
}

function changeImage(i,imgName,imgObj) {
	if (NS && i!=null){
		eval('document.'+i+'.document.images["'+imgName+'"].src = '+imgObj+'.src');
	}else if (NS && i==null){
		document.images[imgName].src = eval(imgObj+".src");
	}else if (IE){
		document.images[imgName].src = eval(imgObj+".src");
	}else if (N06){
		document.images[imgName].src = eval(imgObj+".src");
	}
}
// At your Service preloading all rollover images
preload('londonbtlo','images/mapukbthi.gif');
preload('mapukbthi','images/mapukbthi.gif');
preload('mapirelandbthi','images/mapirelandbthi.gif');
preload('mapfrancebthi','images/mapfrancebthi.gif');
preload('mapspainbthi','images/mapspainbthi.gif');
preload('mapgermanybthi','images/mapgermanybthi.gif');
preload('mapitalybthi','images/mapitalybthi.gif');
preload('mapslovakiabthi','images/mapslovakiabthi.gif');
preload('maprussiabthi','images/maprussiabthi.gif');
preload('mapromaniabthi','images/mapromaniabthi.gif');
preload('mappolandbthi','images/mappolandbthi.gif');
preload('maphungarybthi','images/maphungarybthi.gif');
preload('mapaustriabthi','images/mapaustriabthi.gif');
preload('mapczechbthi','images/mapczechbthi.gif');


function show(id) {
        if (NS){
                document.driftingNav.layers[id].visibility = "show"
                document.driftingNav.layers[id].zIndex = "200"
        } else if (IE){
                document.all[id].style.visibility = "visible"
                document.all[id].style.zIndex = "200"
        } else if (N06){
                document.getElementById(id).style.visibility = "visible"
                document.getElementById(id).style.zIndex = "200"
        }
}
// setting the visibility of an object to hidden
function hide(id) {
        if (NS) {
                document.driftingNav.layers[id].visibility = "hide"
                document.driftingNav.layers[id].zIndex = "0"
        } else if (IE){
                document.all[id].style.visibility = "hidden"
                document.all[id].style.zIndex = "0"
        } else if (N06){
                document.getElementById(id).style.visibility = "hidden"
                document.getElementById(id).style.zIndex = "0"
        }
}

function hideAllButFrance(){
	hide('infoBoxLondon');
	hide('infoBoxIreland');
	hide('infoBoxSpain');
	hide('infoBoxGermany');
	hide('infoBoxItaly');
	hide('infoBoxSlovakia');
	hide('infoBoxRussia');
	hide('infoBoxRomania');
	hide('infoBoxPoland');
	hide('infoBoxHungary');
	hide('infoBoxAustria');
	hide('infoBoxCzech');
}

function hideAllButEngland(){
	hide('infoBoxIreland');
	hide('infoBoxFrance');
	hide('infoBoxSpain');
	hide('infoBoxGermany');
	hide('infoBoxItaly');
	hide('infoBoxSlovakia');
	hide('infoBoxRussia');
	hide('infoBoxRomania');
	hide('infoBoxPoland');
	hide('infoBoxHungary');
	hide('infoBoxAustria');
	hide('infoBoxCzech');
}
function hideAllButIreland(){
	hide('infoBoxLondon');
	hide('infoBoxFrance');
	hide('infoBoxSpain');
	hide('infoBoxGermany');
	hide('infoBoxItaly');
	hide('infoBoxSlovakia');
	hide('infoBoxRussia');
	hide('infoBoxRomania');
	hide('infoBoxPoland');
	hide('infoBoxHungary');
	hide('infoBoxAustria');
	hide('infoBoxCzech');
}
function hideAllButSpain(){
	hide('infoBoxLondon');
	hide('infoBoxIreland');
	hide('infoBoxFrance');
	hide('infoBoxGermany');
	hide('infoBoxItaly');
	hide('infoBoxSlovakia');
	hide('infoBoxRussia');
	hide('infoBoxRomania');
	hide('infoBoxPoland');
	hide('infoBoxHungary');
	hide('infoBoxAustria');
	hide('infoBoxCzech');
}
function hideAllButGermany(){
	hide('infoBoxLondon');
	hide('infoBoxIreland');
	hide('infoBoxFrance');
	hide('infoBoxSpain');
	hide('infoBoxItaly');
	hide('infoBoxSlovakia');
	hide('infoBoxRussia');
	hide('infoBoxRomania');
	hide('infoBoxPoland');
	hide('infoBoxHungary');
	hide('infoBoxAustria');
	hide('infoBoxCzech');
}
function hideAllButItaly(){
	hide('infoBoxLondon');
	hide('infoBoxIreland');
	hide('infoBoxFrance');
	hide('infoBoxSpain');
	hide('infoBoxGermany');
	hide('infoBoxSlovakia');
	hide('infoBoxRussia');
	hide('infoBoxRomania');
	hide('infoBoxPoland');
	hide('infoBoxHungary');
	hide('infoBoxAustria');
	hide('infoBoxCzech');
}
function hideAllButSlovakia(){
	hide('infoBoxLondon');
	hide('infoBoxIreland');
	hide('infoBoxFrance');
	hide('infoBoxSpain');
	hide('infoBoxGermany');
	hide('infoBoxItaly');
	hide('infoBoxRussia');
	hide('infoBoxRomania');
	hide('infoBoxPoland');
	hide('infoBoxHungary');
	hide('infoBoxAustria');
	hide('infoBoxCzech');
}
function hideAllButRussia(){
	hide('infoBoxLondon');
	hide('infoBoxIreland');
	hide('infoBoxFrance');
	hide('infoBoxSpain');
	hide('infoBoxGermany');
	hide('infoBoxItaly');
	hide('infoBoxSlovakia');
	hide('infoBoxRomania');
	hide('infoBoxPoland');
	hide('infoBoxHungary');
	hide('infoBoxAustria');
	hide('infoBoxCzech');
}
function hideAllButRomania(){
	hide('infoBoxLondon');
	hide('infoBoxIreland');
	hide('infoBoxFrance');
	hide('infoBoxSpain');
	hide('infoBoxGermany');
	hide('infoBoxItaly');
	hide('infoBoxSlovakia');
	hide('infoBoxRussia');
	hide('infoBoxPoland');
	hide('infoBoxHungary');
	hide('infoBoxAustria');
	hide('infoBoxCzech');
}
function hideAllButPoland(){
	hide('infoBoxLondon');
	hide('infoBoxIreland');
	hide('infoBoxFrance');
	hide('infoBoxSpain');
	hide('infoBoxGermany');
	hide('infoBoxItaly');
	hide('infoBoxSlovakia');
	hide('infoBoxRussia');
	hide('infoBoxRomania');
	hide('infoBoxHungary');
	hide('infoBoxAustria');
	hide('infoBoxCzech');
}
function hideAllButHungary(){
	hide('infoBoxLondon');
	hide('infoBoxIreland');
	hide('infoBoxFrance');
	hide('infoBoxSpain');
	hide('infoBoxGermany');
	hide('infoBoxItaly');
	hide('infoBoxSlovakia');
	hide('infoBoxRussia');
	hide('infoBoxRomania');
	hide('infoBoxPoland');
	hide('infoBoxAustria');
	hide('infoBoxCzech');
}
function hideAllButAustria(){
	hide('infoBoxLondon');
	hide('infoBoxIreland');
	hide('infoBoxFrance');
	hide('infoBoxSpain');
	hide('infoBoxGermany');
	hide('infoBoxItaly');
	hide('infoBoxSlovakia');
	hide('infoBoxRussia');
	hide('infoBoxRomania');
	hide('infoBoxPoland');
	hide('infoBoxHungary');
	hide('infoBoxCzech');
}
function hideAllButCzech(){
	hide('infoBoxLondon');
	hide('infoBoxIreland');
	hide('infoBoxFrance');
	hide('infoBoxSpain');
	hide('infoBoxGermany');
	hide('infoBoxItaly');
	hide('infoBoxSlovakia');
	hide('infoBoxRussia');
	hide('infoBoxRomania');
	hide('infoBoxPoland');
	hide('infoBoxHungary');
	hide('infoBoxAustria');
}



