$(document).ready(function() {
	$('input#username').focus(function() {
		if ($(this).attr('value') == 'Email Address') {
			$(this).attr('value', '');
        }
    });
	$('input#username').blur(function() {
        if ($(this).attr('value') == '') {
           $(this).attr('value', 'Email Address');
        }
    });
    $('input#password').focus(function() {
        if ($(this).attr('value') == 'Password') {
            $(this).attr('value', '');
        }
    });
    $('input#password').blur(function() {
    	if ($(this).attr('value') == '') {
            $(this).attr('value', 'Password');
        }
    });
    
    $('input#ParentNames').focus(function() {
        if ($(this).attr('value') == 'First Name') {
            $(this).attr('value', '');
        }
    });
    $('input#ParentNames').blur(function() {
    	if ($(this).attr('value') == '') {
            $(this).attr('value', 'First Name');
        }
    });
    $('input#Surname').focus(function() {
        if ($(this).attr('value') == 'Last Name') {
            $(this).attr('value', '');
        }
    });
    $('input#Surname').blur(function() {
    	if ($(this).attr('value') == '') {
            $(this).attr('value', 'Last Name');
        }
    });
    $('input#Occupation').focus(function() {
        if ($(this).attr('value') == 'Occupation') {
            $(this).attr('value', '');
        }
    });
    $('input#Occupation').blur(function() {
    	if ($(this).attr('value') == '') {
            $(this).attr('value', 'Occupation');
        }
    });
    
    $('input#Mobile').focus(function() {
        if ($(this).attr('value') == 'Mobile') {
            $(this).attr('value', '');
        }
    });
    $('input#Mobile').blur(function() {
    	if ($(this).attr('value') == '') {
            $(this).attr('value', 'Mobile');
        }
    });
    $('input#HomeNumber').focus(function() {
        if ($(this).attr('value') == 'Telephone') {
            $(this).attr('value', '');
        }
    });
    $('input#HomeNumber').blur(function() {
    	if ($(this).attr('value') == '') {
            $(this).attr('value', 'Telephone');
        }
    });
    
    $('input#Address1').focus(function() {
        if ($(this).attr('value') == 'Street, No.') {
            $(this).attr('value', '');
        }
    });
    $('input#Address1').blur(function() {
    	if ($(this).attr('value') == '') {
            $(this).attr('value', 'Street, No.');
        }
    });
    $('input#Address2').focus(function() {
        if ($(this).attr('value') == 'Suburb') {
            $(this).attr('value', '');
        }
    });
    $('input#Address2').blur(function() {
    	if ($(this).attr('value') == '') {
            $(this).attr('value', 'Suburb');
        }
    });
    $('input#TownCity').focus(function() {
        if ($(this).attr('value') == 'City') {
            $(this).attr('value', '');
        }
    });
    $('input#TownCity').blur(function() {
    	if ($(this).attr('value') == '') {
            $(this).attr('value', 'City');
        }
    });
    $('input#Postcode').focus(function() {
        if ($(this).attr('value') == 'Code') {
            $(this).attr('value', '');
        }
    });
    $('input#Postcode').blur(function() {
    	if ($(this).attr('value') == '') {
            $(this).attr('value', 'Code');
        }
    });
    
    $('input#NannyEmail').focus(function() {
        if ($(this).attr('value') == 'Nanny Email') {
            $(this).attr('value', '');
        }
    });
    $('input#NannyEmail').blur(function() {
    	if ($(this).attr('value') == '') {
            $(this).attr('value', 'Nanny Email');
        }
    });
    $('input#NannyName').focus(function() {
        if ($(this).attr('value') == 'Nanny Name') {
            $(this).attr('value', '');
        }
    });
    $('input#NannyName').blur(function() {
    	if ($(this).attr('value') == '') {
            $(this).attr('value', 'Nanny Name');
        }
    });
    $('input#NannyPhone').focus(function() {
        if ($(this).attr('value') == 'Nanny Phone') {
            $(this).attr('value', '');
        }
    });
    $('input#NannyPhone').blur(function() {
    	if ($(this).attr('value') == '') {
            $(this).attr('value', 'Nanny Phone');
        }
    });
    
    $('input#EmailAddress').focus(function() {
        if ($(this).attr('value') == 'Email Address') {
            $(this).attr('value', '');
        }
    });
    $('input#EmailAddress').blur(function() {
    	if ($(this).attr('value') == '') {
            $(this).attr('value', 'Email Address');
        }
    });
    $('input#name').focus(function() {
        if ($(this).attr('value') == 'First Name') {
            $(this).attr('value', '');
        }
    });
    $('input#name').blur(function() {
    	if ($(this).attr('value') == '') {
            $(this).attr('value', 'First Name');
        }
    });
    $('input#surname').focus(function() {
        if ($(this).attr('value') == 'Last Name') {
            $(this).attr('value', '');
        }
    });
    $('input#surname').blur(function() {
    	if ($(this).attr('value') == '') {
            $(this).attr('value', 'Last Name');
        }
    });
    $('input#mobile').focus(function() {
        if ($(this).attr('value') == 'Mobile') {
            $(this).attr('value', '');
        }
    });
    $('input#mobile').blur(function() {
    	if ($(this).attr('value') == '') {
            $(this).attr('value', 'Mobile');
        }
    });
    $('input#school').focus(function() {
        if ($(this).attr('value') == 'School Name') {
            $(this).attr('value', '');
        }
    });
    $('input#school').blur(function() {
    	if ($(this).attr('value') == '') {
            $(this).attr('value', 'School Name');
        }
    });
});
