jQuery.noConflict();

jQuery(function() {
		    jQuery("img").pngfix({
				sizingMethod: "crop"
			});
		   	jQuery('#imageinfo').pngfix({
				sizingMethod: "scale"
			});
			jQuery('#topnav').pngfix({
				sizingMethod: "scale"
			});
		   });
function quanto(id){
if(document.getElementById){
oHeight = document.getElementById(id).offsetHeight;
}
else if (document.layers){
oHeight = document.layers[id].clip.height;

}
return oHeight;
}

function regola() {
var altcol21 = quanto("col2top");
var altcol22 = quanto("col2");
var altcol1 = quanto("col1");

var alt2 = altcol21+altcol22-245;
if(altcol1 < alt2) {
jQuery('#col1').css({"height": alt2+'px'});
jQuery('#sfumatura').css({"height": altcol22+5+'px'});
} else {
var alt = 250-altcol21+altcol1;
jQuery('#col2').css({"height": alt-5+'px'});

jQuery('#sfumatura').css({"height": alt+1+'px'});
}
}

jQuery(document).ready(function() {
window.setTimeout("regola()",500);
jQuery('a.lightbox').lightBox();
});

