
var aupark_select_hide = 0;

function showAuparkSelect()
{
	if($('#aupark-select ul')[0].style.display != 'block' && !aupark_select_hide) {
		$('#aupark-select ul')[0].style.display = 'block';
		$('#aupark-select a')[0].focus();
	}
	else {
		$('#aupark-select ul')[0].style.display = 'none';
	}
	aupark_select_hide = 0;
}

function hideAuparkSelect()
{
	aupark_select_hide = 1;
	setTimeout ('$(\'#aupark-select ul\')[0].style.display = \'none\'; aupark_select_hide = 0;', 200);
}

$(document).ready(function() { 
	if (document.getElementById('banner') != null) {
	var tabber1 = new Yetii({
		id: 'banner',
		interval: 30
	});
	}
});

function facebook_click(id) 
{
  if (typeof id == "undefined") 
  { 
    u = location.href; 
  } 
  else 
  {
    u = id; 
  }
  t=document.title;
  window.open('http://www.facebook.com/sharer.php?u='+encodeURIComponent(u)+'&t='+encodeURIComponent(t),'sharer','toolbar=0,status=0,width=626,height=436');
  return false;
}

