jQuery(function($) {
	if ($("#unitProducts").height() > $("#unitNews").height()) {
		$("#unitNews .frameBottom").css({"height":$("#unitProducts").height() - 10});
	} else if ($("#unitProducts").height() < $("#unitNews").height()) {
		$("#unitProducts .frameBottom").css({"height":$("#unitNews").height() - 10});
	}

	var uniq = new Date().getTime();
	var so = new SWFObject("swf/main.swf?"+uniq, "top", "100%", "230", "9", "#ffffff");
	so.addParam("wmode", "transparent");
	so.write("mainFlash");
});
