
$(document).ready(
	function() {

		//------------------
		// INPUT fields default values
		//------------------

		$('INPUT[@onempty]').focus(
			function() {
				var obj = $(this).get(0);
				if(obj.value == $(this).attr('onempty')) { obj.value = ''; }
			}
		)

		$('INPUT[@onempty]').blur(
			function() {
				var obj = $(this).get(0);
				if(obj.value == '') { obj.value = $(this).attr('onempty'); }
			}
		)

	}
)



//----------------------
// SummaryDetail
//----------------------

function SwitchSummaryDetail(iQuestion) {
	$('.Summary').css('font-weight','normal');
	$('.Detail').hide('fast');
	$('#Q' + iQuestion).css('font-weight','bold');
	$('#A' + iQuestion).show('fast');
}
