  function pop_gal(url)
{
		window.open(url,"gal_win","toolbar=1,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=0,width=760,height=660,top=30,left=50");
}

//var videowin;

  function pop_videogalunload()
{
	//alert("UNLOAD");
	flashloadFlag = false;
	var elem = document.getElementById("introframe");
	elem.style.display = "block";
	//var url = introframe.location.href;
	url = "http://www.michaeldeutsch.dk/v1_dk/flashobj09.htm#bnd";
	//alert(introframe.location.href);
	introframe.location.replace(url);
	//introframe.location.reload();
	//alert(introframe.location.href);
	//alert("doneUNLOAD");
}

var videowin;

  function pop_videogal(url)
{
	videowin = window.open(url,"gal_videowin","toolbar=1,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=0,width=760,height=660,top=30,left=50");
	//alert(flashloadFlag);
	introframe.location.replace("about:blank");
	//introframe.location.reload();
	var elem = document.getElementById("introframe");
	elem.style.display = "none";
}


  function pop_presse(url)
{
		window.open(url,"presse_win","toolbar=no,location=0,directories=0,status=1,menubar=0,scrollbars=yes,resizable=0,width=660,height=620,top=20,left=10");
}


function newImage(arg) {
	if (document.images) {
		rslt = new Image();
		rslt.src = arg;
		return rslt;
	}
}
function changeImagesArray(array) {
	if (preloadFlag == true) {
		var d = document; var img;
		for (var i=0; i<array.length; i+=2) {
			img = null; var n = array[i];
			if (d.images) {img = d.images[n];}
			if (!img && d.getElementById) {img = d.getElementById(n);}
			if (img) {img.src = array[i+1];}
		}
	}
}
function changeImages() {
	changeImagesArray(changeImages.arguments);
}
