var pagepeel = new Object();

////////// Adjust these values //////////
pagepeel.ad_url = escape('/english/news/archive/gvec/surfing2010.cfm');
pagepeel.big_image = escape('/english/apps/peels/hawaiisurfing/large.jpg');
pagepeel.small_image = escape('/english/apps/peels/hawaiisurfing/small.jpg');
////////// End of adjustable values //////////

pagepeel.small_path = '/english/apps/peels/canadianchristmas/small.swf'; pagepeel.small_width = '100'; pagepeel.small_height = '100'; pagepeel.small_params = 'ico=' + pagepeel.small_image; pagepeel.big_path = '/english/apps/peels/canadianchristmas/large.swf'; pagepeel.big_width = '650'; pagepeel.big_height = '650'; pagepeel.big_params = 'big=' + pagepeel.big_image + '&ad_url=' + pagepeel.ad_url; 
function sizeup987(){ document.getElementById('pagePeelcornerBig').style.top = '0px'; document.getElementById('pagePeelcornerSmall').style.top = '-1000px'; }
function sizedown987(){	document.getElementById("pagePeelcornerSmall").style.top = "0px"; document.getElementById("pagePeelcornerBig").style.top = "-1000px"; }
// Load function
pagepeel.putObjects = function () { 
	/// Write Div containers
	document.write('<div id="pagePeelcornerSmall" style="position:absolute;width:'+ pagepeel.small_width +'px;height:'+ pagepeel.small_height +'px;z-index:9999;right:0px;top:0px;"><div id="pagePeelcornerSmallFlash"></div></div>');
	document.write('<div id="pagePeelcornerBig" style="position:absolute;width:'+ pagepeel.big_width +'px;height:'+ pagepeel.big_height +'px;z-index:9999;right:0px;top:0px;"><div id="pagePeelcornerBigFlash"></div></div>');
	/// Load flash with SwfObject
	var flashvars = {};	var params = {}; params.allowScriptAccess = "always"; params.wmode = "transparent";	params.quality = "high"; var attributes = {};
	swfobject.embedSWF(pagepeel.small_path + "?" + pagepeel.small_params, "pagePeelcornerSmallFlash", pagepeel.small_width, pagepeel.small_height, "9.0.0", false, flashvars, params, attributes);
	swfobject.embedSWF(pagepeel.big_path + "?" + pagepeel.big_params, "pagePeelcornerBigFlash", pagepeel.big_width, pagepeel.big_height, "9.0.0", false, flashvars, params, attributes);
	setTimeout('document.getElementById("pagePeelcornerBig").style.top = "-1000px";',1000);
}
pagepeel.putObjects();