Cufon.replace('h1', { textShadow: '#000000 1px 1px' });
Cufon.replace('h2', { });

$(document).ready(function() {
    $('.ui-button').hover(
        function() { $(this).addClass('ui-state-hover'); }, 
        function() { $(this).removeClass('ui-state-hover'); }
    );

    $('button#button-login').button({
        icons: {
            primary: 'ui-icon-key'
        }
    }).click(function(element) {
    	window.location = element.currentTarget.value;
	});

    $('button#button-register').button({
        icons: {
            primary: 'ui-icon-plus'
        }
    }).click(function(element) {
    	window.location = element.currentTarget.value;
	});

    $('button#button-signout').button({
        icons: {
            primary: 'ui-icon-locked'
        }
    }).click(function(element) {
    	window.location = element.currentTarget.value;
	});
});
