$(document).ready(function() {

	$('#frm_width').focus(function() {
		$('#size_image_box').css('background-position', '0 -151px');
	});
	
	$('#frm_aspect').focus(function() {
		$('#size_image_box').css('background-position', '0 -302px');
	});
	
	$('#frm_speed').focus(function() {
		$('#size_image_box').css('background-position', '0 -453px');
	});
	
	$('#frm_rim').focus(function() {
		$('#size_image_box').css('background-position', '0 -604px');
    });

    $('#frm_load').focus(function() {
        $('#size_image_box').css('background-position', '0 -755px');
    });

    $('#frm_width, #frm_aspect, #frm_speed, #frm_rim, #frm_load').blur(function() {
		$('#size_image_box').css('background-position', '0 0');
	});

});

/* remove text from field*/
function removeText(formField, theText) {
	if ( document.getElementById(formField).value == theText ) {
		document.getElementById(formField).value = "";
	} else {

	}
}

/* replace text from field*/
function replaceText(formField, theText) {
	if ( document.getElementById(formField).value == "" ) {
		document.getElementById(formField).value = theText;
	} else {

	}
}