this.name = "details";
window.focus();

/* imagesmenu */
var iloaded=0;
var showimg=1;

var barm=new Array();
var ib=new Array();

barm[0]='test001.jpg';
ib[0]=null;
barm[1]='test002.jpg';
ib[1]=null;
barm[2]='test003.jpg';
ib[2]=null;
barm[3]='test004.jpg';
ib[3]=null;
barm[4]='test005.jpg';
ib[4]=null;
barm[5]='test010.jpg';
ib[5]=null;
barm[6]='test017.jpg';
ib[6]=null;
barm[7]='test018.jpg';
ib[7]=null;
barm[8]='test019.jpg';
ib[8]=null;
barm[9]='test006.jpg';
ib[9]=null;

/* Change menu when mouseover/out */
function idisp(i){
	if(iloaded==1){
		showimg=i;
		document.images["img"].src=ib[i].src;
		document.location="#Top";
		
		showimg++
		if(showimg>=ib.length){showimg=0;}
	}
}

/*
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
}
*/