function bookmark() {

	page = document.URL;
	if (page.substr(0,5) == "https")
		start = "https";
	else {
		start = "http";
	} 
	
	Bild = new Image();
	Bild.src = start + "://de.sitestat.com/montblanc/refills/s?add.bookmark.button";
	window.external.AddFavorite('http://refills.montblanc.com/index2.html', 'Montblanc Refill Shop');
	
	
}
/*
function swap(Bildnr,Bildobjekt) {
	document.getElementById(Bildnr).src = Bildobjekt.src;
}
*/
logo = new Image();
logo.src = "img/fill.gif";
logohi = new Image();
logohi.src = "img/logo_akt.gif";

function confirm_logout(question,destination){
	if(confirm(question)){
		document.location.href=destination;
	}
}
function swap(picture,picturepath) {
		var pictureobj,swapimg;
		pictureobj = new Image();
		pictureobj.src=picturepath;
		if(document.layers){
			swapimg = eval("document.navi.document."+picture);
		} else {
			swapimg = document.getElementById(picture);
		}
		swapimg.src = pictureobj.src;
	}
	
function set_bg(picture,art) {
		var pictureobj,swapimg;
		if(document.layers){
			swapimg = eval("document.navi.document."+picture);
		} else {
			swapimg = document.getElementById(picture);
		}
		if(art=="lang_hi"){
			swapimg.style.backgroundImage = 'url(/img/refill_butverlauf_subcont_180.jpg)';
		} else if(art=="lang_dark_hi"){
			swapimg.style.backgroundImage = 'url(/img/refill_butverlauf_grau_180.jpg)';
		} else if(art=="lang_darker_hi"){
			swapimg.style.backgroundImage = 'url(/img/refill_butverlauf_subcont_1.jpg)';
		} else if(art=="lang_light_hi"){
			swapimg.style.backgroundImage = 'url(/img/refill_butverlauf_cont_200.jpg)';
		} else {
			swapimg.style.backgroundImage = 'none';
		}

	}