$j = jQuery.noConflict();

$j(document).ready(function(){
	
	// full resizeable bg images
	var fullscreenImage		= $j('#image-wrapper img');
	var aspectRatio = fullscreenImage.width() / fullscreenImage.height();

	function resizeBg(){
			if(($j(window).width() / $j(window).height()) < aspectRatio) {
					fullscreenImage.removeClass().addClass('fullheight');
			} else {
					fullscreenImage.removeClass().addClass('fullwidth');
			}
	}

	$j(window).resize(function() {
		resizeBg();
	}).trigger('resize');
	
	$j('#edit-submitted-head-signatur-signatur-1').prop("checked", true);


});
