 function notify(id)
 {
	if ( jQuery.cookie('notify_bar') == 'off' ) return;
	last = jQuery.cookie('notify_last');
	if ( last == null ) last = 0;
	if ( jQuery.cookie('notify_sound') != 'off' && last < id ) 
	{
		jQuery('#notify_sound').jPlayer('stop').jPlayer('play');
	}
	jQuery('#notify').fadeIn('slow');
	jQuery.cookie('notify_last',id);
 } 
  jQuery.noConflict();
  jQuery(document).ready(function($) {
	
		$('#notify_sound_opt').click(function() {
		
		if ( jQuery.cookie('notify_sound') != 'off' )
		{
			if ( confirm('Ton wirklich ausschalten?') )
			{
				jQuery.cookie('notify_sound','off');
				jQuery('#notify_sound_opt').removeClass('on').addClass('off');		
			}
		}
		else
		{
			jQuery.cookie('notify_sound','on');
			jQuery('#notify_sound_opt').removeClass('off').addClass('on');		
		}	
	});
	$("#notify_sound").jPlayer({
		ready: function () {
			$(this).jPlayer("setMedia", {
				m4a: "http://card.flirttown.net/pop.m4a",
				oga: "http://card.flirttown.net/pop.ogg"
			});
		},
		swfPath: "content/js/",
		solution: "html, flash",
		supplied: "m4a, oga",
		cssSelectorAncestor: "",
      	cssSelector: {
        	play: "",
        	pause: "",
			stop: "",
			videoPlay: "",
			seekBar: "",
			playBar: "",
			mute: "",
			unmute: "",
			volumeBar: "",
			volumeBarValue: "",
			currentTime: "",
			duration: ""
      }
	});
  });
  
function logban()
{
}

