document.write('<script src="js/sitesync/sitesync.js" type="text/javascript"><\/script>');

function showMap(filter)
{
	SITESYNC.containers.PopupWindow.show('minimap.php?filter='+filter,470,450,0);
}

function showSurvey()
{
	SITESYNC.containers.PopupWindow.show('survey.php',400,475,0);
}
function init()
{
	try
	{
		document.getElementById('shortcuts_button_a').onclick = document.getElementById('close_shortcuts').onclick = function(e)
		{
			try{
				var element = document.getElementById('shortcuts_box');
				if(element.style.display=='none')
				{
					new Effect.Parallel([
					  new Effect.BlindDown(element, { sync: true}), 
					  new Effect.Opacity(element, { sync: true, from: 0, to: 1 }) 
					]);
				}
				else
				{
					new Effect.Parallel([
					  new Effect.BlindUp(element, { sync: true}), 
					  new Effect.Opacity(element, { sync: true, from: 1, to: 0 }) 
					]);
				}
				
				if (!e) var e = window.event;
				e.cancelBubble = true;
				if (e.stopPropagation) e.stopPropagation();
			}catch(e){
				
			}
		}
		document.onclick = function(){Effect.BlindUp('shortcuts_box');}
	}catch(e){
		
	}
}
if(window.attachEvent)
{
	window.attachEvent('onload',init);
}
else if(window.addEventListener)
{
	window.addEventListener('load',init,false);
}