User:ShermanTheMythran/Sandbox/Temp

$('#WikiaBarWrapper').append(' ');var playerCookie=$.cookie('madkatPlayer');if(playerCookie=="removed"){removePlayer;$('#playerSwitch').click(function{createPlayer;$(this).attr('title','turn off music player');$.removeCookie('madkatPlayer');$(this).unbind;togglePlayer;});}else{createPlayer;togglePlayer;}function removePlayer{$('#playerSwitch').attr('title','turn on music player');}function createPlayer{$('#WikiaBarWrapper').append(' #madkatPlayer:hover{left:0 !important} ');}function togglePlayer{$('#playerSwitch').toggle(function{removePlayer;$('#madkatPlayer').remove;$.cookie('madkatPlayer','removed',{expires:365});},function{createPlayer;$(this).attr('title','turn off music player');$.removeCookie('madkatPlayer');});}