function case_startup() {
	$('img').parent('a').css('text-decoration','none');
	$('#actu .actu-bloc:first img').css({
			'width':'120px',
			'height':'100px'});
	
	$('#actu .actu-bloc:first h1').css('font-size','18px');
	$('#actu .actu-separation:last').hide();
	$('#actu-large .actu-separation:last').hide();
	$('.publicite-droite img').each(function() {
		if($(this).attr('src') == '' && typeof(zone_editable_image_startup) == 'undefined') {
			$(this).parents('.publicite-droite').hide();
		}
	});
	$('.ad-iframe').each(function() { $(this).css('width','100%').css('height','100%') } );
	$('.ad-iframe').load(function() { iframe_resize($(this)) } );	
}

function iframe_resize(item) {
	var newheight;
	var newwidth;
	var doc;
	var body;
	doc = item.contents();
	body = doc.find('body');
	body.css('text-align','center').css('margin','0');
	
/*	doc.find('.iframe-div').css('float','left');
	newheight = body.outerHeight(true) + 20;
	newwidth = body.find('.iframe-div').outerWidth(true) + 10;
	item.css('height', (newheight) + "px");
	item.css('width', (newwidth) + "px"); 
	doc.find('.iframe-div').css('float','');
	item.css('margin-top',((item.parent().height()-newheight)/2) + 'px');
	item.css('overflow','hidden');*/
	
}
function iframe_resize2(item) {
	var newheight;
	var newwidth;
	var doc;
	var body;
	doc = item.contents();
	body = doc.find('body');
	body.css('text-align','center').css('margin','0');
	
	doc.find('.iframe-div').css('float','left');
	newheight = body.outerHeight(true) + 20;
	newwidth = body.find('.iframe-div').outerWidth(true) + 10;
	item.css('height', (newheight) + "px");
	item.css('width', (newwidth) + "px"); 
	doc.find('.iframe-div').css('float','');
	item.css('margin-top',((item.parent().height()-newheight)/2) + 'px');
	item.css('overflow','hidden');
	
}

