//	con_name, pano_name
function setPano(con_id, pano_name)
{	
	swfobject.embedSWF("beurzen/" + con_id + "/" + pano_name + ".swf", "flashcontent", "590", "275", "9.0.0", "expressInstall.swf", {}, { bgcolor: '#f4f5f6', menu: 'false'});
}

function setPano1(con_id, pano_name)
{	
	swfobject.embedSWF("beurzen/" + con_id + "/" + pano_name + ".swf", "flashcontent2", "400", "250", "9.0.0", "expressInstall.swf", {}, { bgcolor: '#f4f5f6', menu: 'false'});
}

function setConference(id, host)
{
	window.location.href = host + "?i=" + id;
}

function setBackground(nr)
{
	
	var contentHeight = window.document.getElementById('content').offsetHeight;
		
	if(nr == 0)	// home
	{
		var panoHeight = 275;
		if(!hasReqestedVersion)
		{
			panoHeight = 0;
		}
		
		document.getElementById('back_color').style.height = contentHeight + panoHeight - 80;
	}
	if(nr == 1) // link deze foto
	{
		document.getElementById('back_color').style.height = contentHeight - 40;
	}
	if(nr == 2) // beurs aanmelden
	{
		document.getElementById('back_color').style.height = contentHeight - 40;
	}
	if(nr == 3) // contact
	{
		document.getElementById('back_color').style.height = contentHeight - 40;
	}

}

function select_all(d)
{

	var doc = eval("document.form1."+d);
//	cp = doc.createTextRange();
	doc.focus();
	doc.select();
//	cp.execCommand("Copy");

}
