this.name = "details";
window.focus();

/* imagesmenu */
var iloaded=0;
var showimg=0;

var barm=new Array();
var ib=new Array();

barm[0]='alsi_00.jpg';
barm[1]='alsi_01.jpg';
barm[2]='alsi_02.jpg';
barm[3]='alsi_03.jpg';
barm[4]='alsi_04.jpg';
barm[5]='alsi_05.jpg';
barm[6]='alsi_06.jpg';
barm[7]='alsi_07.jpg';
barm[8]='alsi_08.jpg';
barm[9]='alsi_09.jpg';
barm[10]='alsi_10.jpg';
barm[11]='alsi_11.jpg';

	for(i=0;i<barm.length;i++){
		ib[i]=null;
//		ib[i] = new Image();
//		ib[i].src = "images/" + barm[i];
	}

/* Change menu when mouseover/out */
function idisp(i){
	if(iloaded==1){
		document.images["img"].src = ib[i].src;
		document.location = "#Top";
	}
}

function iidisp(i){
	if(iloaded==1){
		showimg = showimg + i;
		if(showimg >= ib.length){showimg = 0;}
		if(showimg < 0){showimg = ib.length-1;}
		document.images["img"].src = ib[showimg].src;
		document.location = "#Top";
	}
}

/*
function objWrite(objName,objText){
	if(document.layers) {
		TextObj = document[objName];
		TextObj.document.open();
		TextObj.document.write(objText);
	}
	if(!document.all && document.getElementById) {
		TextObj = document.getElementById(objName);
		TextObj.innerHTML = objText;
	}
	if(document.all) {
		TextObj = document.getElementById(objName);
		TextObj.innerHTML = objText;
	}
}
*/
function checkimage(i){
	ib[i] = new Image();
	ib[i].src = "images/" + barm[i];
	for(i=0;i<ib.length;i++){
		if(ib[i]==null){
			return "";
		}
	}
	iloaded=1;
	
	swapdiv("wait","hidden");
	swapdiv("vimages","visible");
}

function swapdiv(name,hideshow){
	if (document.all) {
		document.all(name).style.visibility=hideshow;
	}else {
		if (document.getElementById){
			document.getElementById(name).style.visibility=hideshow;
		}else {
			if (document.layers) {
				document.layers[name].visibility=hideshow;
			}
		}
	}
}

function printthis(lang){
var e_msg = "Your browser doesn't support this print icon.\n" +
		      "If you want to print this page, please press \n" +
		      "simultanuously the keys Ctrl + P \n" +
		      "on your keyboard."
if(lang=='es'){
	e_msg = "Your browser doesn't support this print icon.\n" +
		      "If you want to print this page, please press \n" +
		      "simultanuously the keys Ctrl + P \n" +
		      "on your keyboard."
}
if(lang=='da'){
	e_msg = "Deres browser understøtter ikke dette print ikon.\n" +
		      "Hvis De vil udskrive denne side, så klik venligst \n" +
		      "på print ikonet i værktøjsbjælken foroven eller \n" +
		      "brug print-funktionen i menubjælken."
}
if(lang=='de'){
	e_msg = "Your browser doesn't support this print icon.\n" +
		      "If you want to print this page, please press \n" +
		      "simultanuously the keys Ctrl + P \n" +
		      "on your keyboard."
}

	if(window.print) { 
		window.print() ;
	}else {
		alert(e_msg);
	}
}



/*
function CurrencyPopup(v,curr){
 	var QueryString = "Amount=" + v + "&From=EUR";
	if(arguments.length>1){
 		QueryString = QueryString + "&To=" + curr;
	}
	CurrencyWindow=window.open('','CurrencyWindow','toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=1,height=170,width=600')
	CurrencyWindow.focus()
	CurrencyWindow.location.href='http://www.xe.net/ecc/input.cgi?Template=sw&'+QueryString
}
*/
