function repositionHeader() {
	$('#header').stop();
	$('#dropdownpanel').stop();

	$('#header').animate({top: $(document).scrollTop() + 'px'}, 300);
	$('#dropdownpanel').animate({top: $(document).scrollTop() + 68 + 'px'}, 300);

//	$('#header').css('top', $(document).scrollTop() + 'px');
//	$('#dropdownpanel').css('top', $(document).scrollTop() + 68 + 'px');
}

jQuery(document).ready(function(){
/*
	repositionHeader();
	var __repositionHeader = repositionHeader;
	if (window.addEventListener) {
		window.addEventListener('scroll', function(event) {return __repositionHeader()}, false);
	} else if (window.attachEvent) {
		window.attachEvent('onscroll', function(event) {return __repositionHeader()});
	}
*/

	$('a.targetext').each(function(){
		$(this).attr('href', 'javascript:void(0);');
	});

	$('a.targetext').click(function(){
		var url = $(this).find('.url').text();

		if (url) window.open(url);
	});
});