var david_argence = new Object();

david_argence.ad_url = escape('http://www.loustick.com');

david_argence.small_path = 'http://www.david-argence.com/cache.swf';
david_argence.small_image = escape('pub_coin-cache_gratuit.gif');
david_argence.small_width = '100';
david_argence.small_height = '100';
david_argence.small_params = 'ico=' + david_argence.small_image;

david_argence.big_path = 'http://www.david-argence.com/visuel.swf';
david_argence.big_image = escape('pub_coin_gratuit.gif');
david_argence.big_width = '650';
david_argence.big_height = '650';
david_argence.big_params = 'big=' + david_argence.big_image + '&ad_url=' + david_argence.ad_url;

function sizeup987(){
	document.getElementById('jcornerBig').style.top = '0px';
	document.getElementById('jcornerSmall').style.top = '-1000px';
}

function sizedown987(){
	document.getElementById("jcornerSmall").style.top = "0px";
	document.getElementById("jcornerBig").style.top = "-1000px";
}

david_argence.putObjects = function () {
// <jcornerSmall>
document.write('<div id="jcornerSmall" style="position:absolute;width:'+ david_argence.small_width +'px;height:'+ david_argence.small_height +'px;z-index:9999;right:0px;top:0px;">ABC<br/>');
// object
document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"');
document.write(' codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0"');
document.write(' id="jcornerSmallObject" width="'+david_argence.small_width+'" height="'+david_argence.small_height+'">');
// object params
document.write(' <param name="allowScriptAccess" value="always"/> ');
document.write(' <param name="movie" value="'+ david_argence.small_path +'?'+ david_argence.small_params +'"/>');
document.write(' <param name="wmode" value="transparent" />');
document.write(' <param name="quality" value="high" /> ');
document.write(' <param name="FlashVars" value="'+david_argence.small_params+'"/>');
// embed
document.write('<embed src="'+ david_argence.small_path + '?' + david_argence.small_params +'" name="jcornerSmallObject" wmode="transparent" quality="high" width="'+ david_argence.small_width +'" height="'+ david_argence.small_height +'" flashvars="'+ david_argence.small_params +'" allowscriptaccess="always" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"></embed>');
document.write('</object>abc</div>');
document.write('</script>');
// </jcornerSmall>
// <jcornerBig>
document.write('<div id="jcornerBig" style="position:absolute;width:'+ david_argence.big_width +'px;height:'+ david_argence.big_height +'px;z-index:9999;right:0px;top:0px;">');
// object
document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"');
document.write(' codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0"');
document.write(' id="jcornerBigObject" width="'+ david_argence.big_width +'" height="'+ david_argence.big_height +'">');
// object params
document.write(' <param name="allowScriptAccess" value="always"/> ');
document.write(' <param name="movie" value="'+ david_argence.big_path +'?'+ david_argence.big_params +'"/>');
document.write(' <param name="wmode" value="transparent"/>');
document.write(' <param name="quality" value="high" /> ');
document.write(' <param name="FlashVars" value="'+ david_argence.big_params +'"/>');
// embed
document.write('<embed src="'+ david_argence.big_path + '?' + david_argence.big_params +'" id="jcornerBigEmbed" name="jcornerBigObject" wmode="transparent" quality="high" width="'+ david_argence.big_width +'" height="'+ david_argence.big_height +'" flashvars="'+ david_argence.big_params +'" swliveconnect="true" allowscriptaccess="always" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"></embed>');
document.write('</object></div>');
// </jcornerBig>
setTimeout('document.getElementById("jcornerBig").style.top = "-1000px";',1000);
}
david_argence.putObjects();
