function panorame(path, id, x){
	var panoramaHTML = '<object width="549" height="260" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" onclick="stop_timers()">';
	panoramaHTML += '<param name="movie" value="'+path+'/file/open/'+id+'">';
	panoramaHTML += '<param name="wmode" value="transparent">';
	panoramaHTML += '<embed src="'+path+'/file/open/'+id+'" width="549" height="260" wmode="transparent" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer">';
	panoramaHTML += '</embed>';
	panoramaHTML += '</object>';
	$('flash_panorama').innerHTML = panoramaHTML;
	
	$('num_buttons').getChildren('a').each(function(el){el.removeClass('active');});
	if ($('pannum'+x)) $('pannum'+x).addClass('active');
}

var timeron;
var timeroff;

function show_tips(){
	$('panorama-tips').style.display='block';
	timeroff = setTimeout("close_tips()", 7000);
}

function close_tips(){
	$('panorama-tips').style.display='none';
	timeron = setTimeout("show_tips()", 7000);
}

function stop_timers(){
	$('panorama-tips').style.display='none';
	clearTimeout(timeron);
	clearTimeout(timeroff);
}