$.popupout = function(c) {
	
	$('body').append(
		'<div id="msgpopup">' + 
		'			<a id="msgpopup_close_small" class="msgpopup_btn">&nbsp;<a/>' + 
		'			<a id="msgpopup_close" class="msgpopup_btn">&nbsp;<a/>' + 
		'			<a id="msgpopup_go" href="http://www.outmusic.nl" target="_blank" class="msgpopup_btn">&nbsp;<a/>' + 
		'</div>'
	);

	$('#msgpopup_close, #msgpopup_close_small').click( function(e){
		e.preventDefault();
		$('#msgpopup').remove();
	});

	$('#msgpopup_go').click( function(e){
		e.preventDefault();
		$('#msgpopup').remove();
		window.open('http://www.outmusic.nl/player.html', 'OUTMusic','width=360,height=260,scrollbars=no,toolbar=no,location=no,menubar=no,resizable=no');
	});
	
	$('#msgpopup').css({
		'width': 356,
		'height': 267,
		'float': 'left',
		'position': 'absolute',
		'zIndex': '998',
		'top': '50%',
		'left': '50%',
		//'opacity': 0,
		'marginTop': '-130px',
		'marginLeft': '-175px'
	});
	
	if ($.browser.msie && $.browser.version.substr(0,1) == 6) {
		$('#msgpopup').css({
			'background': 'url(/web/img/outtvpopup.gif) center center no-repeat transparent'
		});
	} else {
		$('#msgpopup').css({
			'background': 'url(/web/img/outtvpopup.png) center center no-repeat transparent'
		});
	}
	
	$('#msgpopup > a#msgpopup_close_small').css({
		'width': 15,
		'height': 15,
		'float': 'left',
		'position': 'absolute',
		'zIndex': '999',
		'top': '10px',
		'right': '10px',
		'text-decoration': 'none',
		'cursor': 'pointer'
	});
	
	$('#msgpopup > a#msgpopup_close').css({
		'width': 125,
		'height': 18,
		'float': 'left',
		'position': 'absolute',
		'zIndex': '999',
		'top': '232px',
		'left': '18px',
		'text-decoration': 'none',
		'cursor': 'pointer'
	});
	
	$('#msgpopup > a#msgpopup_go').css({
		'width': 125,
		'height': 18,
		'float': 'left',
		'position': 'absolute',
		'zIndex': '999',
		'top': '232px',
		'left': '205px',
		'text-decoration': 'none',
		'cursor': 'pointer'
	});
	
	// $('#msgpopup').animate({
		// 'opacity': 1
	// },'fast');

};