function MM_effectAppearFade(targetElement, duration, from, to, toggle)
{
	Spry.Effect.DoFade(targetElement, {duration: duration, from: from, to: to, toggle: toggle});
}
function MM_effectGrowShrink(targetElement, duration, from, to, toggle, referHeight, growFromCenter)
{
	Spry.Effect.DoGrow(targetElement, {duration: duration, from: from, to: to, toggle: toggle, referHeight: referHeight, growCenter: growFromCenter});
}



function showSlider()
{
	MM_effectAppearFade('textBeginSearch', 1, 100, 0, true);
	MM_effectAppearFade('openSearch', 1, 100, 0, true);
	MM_effectAppearFade('SearchDiv', 1000, 0, 100, true);
	MM_effectGrowShrink('apDiv0', 1, '100%', '350%', true, true, false);
	MM_effectAppearFade('smallMap', 1, 100, 0, true);
	document.all.closeSearch.style.visibility = 'visible';
	document.all.SearchDiv.style.height = '402px';
	document.all.textBeginSearch.style.display = 'none';

	HideBeginSearch();
}


function showSearchbarItems()
{
	MM_effectAppearFade('textBeginSearch', 1000, 100, 0, true);
	MM_effectAppearFade('openSearch', 1000, 100, 0, true);
	//MM_effectAppearFade('SearchDiv', 2000, 0, 100, true);
	//MM_effectGrowShrink('SearchDiv', 1000, '350%', '0%', true, true, false);
	MM_effectAppearFade('smallMap', 1000, 100, 0, true);
	//document.all.closeSearch.style.visibility = 'visible';
	//document.all.SearchDiv.style.height = '402px';
	document.all.textBeginSearch.style.display = 'none';
}

function HideBeginSearch()
{	
	MM_effectAppearFade('textBeginSearch', 1000, 100, 0, false);
	MM_effectAppearFade('smallMap', 1000, 100, 0, false);	
}

function ShowBeginSearch()
{	
	MM_effectAppearFade('textBeginSearch', 1000, 0, 100, false);
	MM_effectAppearFade('smallMap', 1000, 0, 100, false);	
}
	 

function fullOpacity()
{
	document.all.apDiv0.style.background = '#002e62';
}