
var flashvars = {};
var params = {
    wmode: "transparent"
};
var attributes = {};

swfobject.embedSWF("/swf/1000_330.swf", "splash", "100%", "330", "9.0.0", "/swf/expressInstall.swf", flashvars, params, attributes);

$(document).ready(function(){

    $('div.list_news div.one:last').addClass("last");

    var screen_f = $("#footer").height();
    if (screen_f>90) {
        $("#footer").css({"margin-top" : -screen_f - 4 + "px"});
        $("#padding_bot").css({"padding-bottom" : 120 + (screen_f-90) + "px"});
    }

    footer_width();

    $("#button_faq a").click(function(){
		this.parentNode.style.display='none';
		$('#hide_form').slideDown();
		return false;
	});

});

$(window).resize(function(){
    $("#footer").css({ width: '1000px' });
    footer_width();
});

function footer_width() {
    var width_carrier = $("#carrier_table").width();
    var width_footer =  $("#footer").width();
    if (width_carrier>width_footer) {
        $("#footer").css({ width: width_carrier + 'px' });
    }
}


