function showErrorFields(errorFieldsJson){
	var errorFieldsLength = errorFieldsJson[0].errorFields.length;
	for (var i=0; i<errorFieldsLength; i++){
		$('#' + errorFieldsJson[0].errorFields[i]).addClass('error');
	}
}

$(function(){
	$('a[rel=external]').click(function(){
		this.target = '_blank';
	});
	
	$('div#print a').click(function(){
		print();
	});
});

