var clicked = false;

$(document).ready(function()
{

$('#fblike').css({
'width' : '500px',
'height' : '24px',
'background-color' : '#3b5998',
'color' : '#fff',
'font-family' : 'Arial, Helvetica, sans-serif',
'padding' : '25px',
'margin' : 'auto',
'margin-bottom' :  '10px',
'text-align' : 'center',
'font-size' : '24px'
});

$('#fblike').html('Klicke hier um Facebookfunktionen zu nutzen');


$('#fblike').click(function() {

if(clicked == false){

    clicked = true;

    $('#fblike').css({
        'width' : 'auto',
        'height' : 'auto',
        'border' : 'none',
        'padding' : '0',
        'text-align' : 'center',
        'background' : 'none'
    });
    
    $('#fblike').load('fbajax.htm');
    }
    });

});
