(function(){

function init(){
	var t1 = null;
	$('#quick ul a').hover(function(){
		var id = this.parentNode.className;
		var off1 = $(this).offset(), off2 = $('#quick').offset();
		$('#quick .popup').hide();
		$('#' + id).css({ top: Math.round(off1.top - off2.top - 50) + 'px' }).show();
	}, function(){
		var id = this.parentNode.className;
		t1 = setTimeout("$('#" + id + "').hide();", 250);
	});
	$('#quick .popup').hover(function(){
		if (t1)
		{
			clearTimeout(t1);
			t1 = null;
		}
	}, function(){
		$(this).hide();
	});
}

$(document).ready(init);

})();