function getDogPeel(ad_url,small_path,small_image,big_path,big_image,small_size,big_size) {
	var esel = new Object();
	esel.ad_url = escape(ad_url);              // Change URL to be redirected to when clicking Peel Away Ad
	esel.small_path = small_path;				//   Enter the URL of the Small Peel Away Corner
	esel.small_image = escape(small_image);		//   URL of the Small Image Behind the Peel
	esel.big_path = big_path;				//   Enter the URL of the Large Peel Away Corner
	esel.big_image = escape(big_image);		//   URL of the Big Image Behind the Peel
	
	esel.small_width = small_size;
	esel.small_height = small_size;
	esel.small_params = 'ico=' + esel.small_image;
	esel.big_width = big_size;
	esel.big_height = big_size;
	esel.big_params = 'big=' + esel.big_image + '&ad_url=' + esel.ad_url;

	esel.putObjects = function () {
		document.write('<div id="eselcornerSmall" style="position:absolute;width:'+ esel.small_width +'px;height:'+ esel.small_height +'px;z-index:9999;right:0px;top:0px;">');
		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="eselcornerSmallObject" width="'+esel.small_width+'" height="'+esel.small_height+'">');
		document.write(' <param name="allowScriptAccess" value="always"/> ');
		document.write(' <param name="movie" value="'+ esel.small_path +'?'+ esel.small_params +'"/>');
		document.write(' <param name="wmode" value="transparent" />');
		document.write(' <param name="quality" value="high" /> ');
		document.write(' <param name="FlashVars" value="'+esel.small_params+'"/>');
		document.write('<embed src="'+ esel.small_path + '?' + esel.small_params +'" name="eselcornerSmallObject" wmode="transparent" quality="high" width="'+ esel.small_width +'" height="'+ esel.small_height +'" flashvars="'+ esel.small_params +'" allowscriptaccess="always" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"></embed>');
		document.write('</object></div></script>');
		document.write('<div id="eselcornerBig" style="position:absolute;width:'+ esel.big_width +'px;height:'+ esel.big_height +'px;z-index:9999;right:0px;top:0px;">');
		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="eselcornerBigObject" width="'+ esel.big_width +'" height="'+ esel.big_height +'">');
		document.write(' <param name="allowScriptAccess" value="always"/> ');
		document.write(' <param name="movie" value="'+ esel.big_path +'?'+ esel.big_params +'"/>');
		document.write(' <param name="wmode" value="transparent"/>');
		document.write(' <param name="quality" value="high" /> ');
		document.write(' <param name="FlashVars" value="'+ esel.big_params +'"/>');
		document.write('<embed src="'+ esel.big_path + '?' + esel.big_params +'" id="eselcornerBigEmbed" name="eselcornerBigObject" wmode="transparent" quality="high" width="'+ esel.big_width +'" height="'+ esel.big_height +'" flashvars="'+ esel.big_params +'" swliveconnect="true" allowscriptaccess="always" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"></embed>');
		document.write('</object></div>');
		setTimeout('document.getElementById("eselcornerBig").style.top = "-1000px";',1000);
	}
	return esel;
}
function sizeup987(){
	document.getElementById('eselcornerBig').style.top = '0px';
	document.getElementById('eselcornerSmall').style.top = '-1000px';
}
function sizedown987(){
	document.getElementById("eselcornerSmall").style.top = "0px";
	document.getElementById("eselcornerBig").style.top = "-1000px";
}

