var vefblog_ads= {
	fait_bandeau : false,

	bandeau : function ()
	{
		if ( Math.random() > 0.3 ) // gestionpub
			this.iframeb("bandeau_gestionpub");
		else   // promobenef
			this.iframeb("bandeau_promobenef");
	},

	sky : function ()
	{
		this.iframe_sky("sky_gestionpub");
	},

	popunder : function ()
	{
		this.iframe_cache('popunder_gestionpub');
	},

	iframeb : function(src)
	{
		this.iframe(468,60,src);
	},

	iframe_sky : function(src)
	{
		this.iframe(120,600,src);
	},

	iframe_cache : function(src)
	{
		this.iframe(0,0,src);
	},

	iframe : function(w,h,src)
	{
		var style="";
		if ( w==0 ) style=' style="display:none;"';
		document.write('<iframe src="http://vefblog.net/ads/'+src+'.html" width="'+w+'" height="'+h+'" scrolling="no" marginwidth="0" marginheight="0" frameborder="0"'+style+'></iframe>');
	}
}
