/*
 Java script the displays peel back in the lefthand conner
*/

var disp = new Object();
// ---------------------------------------------------------      MODIFFY
disp.ad_url = escape('http://www.labins.com/Thoughts.htm');              // Change URL to be redirected to when clicking Peel Away Ad
// ---------------------------------------------------------      END MODIFY
disp.small_dir = 'http://www.labins.com/dispeel/small.swf';				//    Enter the URL of the Peel Away Corner Flash
disp.small_image = escape('http://www.labins.com/dispeel/images/Today.gif');	        //   URL of the Image behind the Peel
disp.big_path = 'http://www.labins.com/dispeel/big.swf';				//   Enter the URL of the Large Peel Away Corner
disp.big_image = escape('http://www.labins.com/dispeel/images/asap small.jpg');		//   URL of the Big Image Behind the Peel
//disp.big_image = escape('C:/Inetpub/wwwroot/dispeel/images/asap small.jpg');
// Do not Change anything under this line-----------------------------------------------------------------------------------------

disp.small_width = '100';
disp.small_height = '100';
disp.small_params = 'ico=' + disp.small_image;
disp.big_width = '650';
disp.big_height = '650';
disp.big_params = 'big=' + disp.big_image + '&ad_url=' + disp.ad_url;
function sizeup987(){
	document.getElementById('dispcornerBig').style.top = '0px';
	document.getElementById('dispcornerSmall').style.top = '-1000px';
}
function sizedown987(){
	document.getElementById("dispcornerSmall").style.top = "0px";
	document.getElementById("dispcornerBig").style.top = "-1000px";
}
disp.putObjects = function () {
document.write('<div id="dispcornerSmall" style="position:absolute;width:'+ disp.small_width +'px;height:'+ disp.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="dispcornerSmallObject" width="'+disp.small_width+'" height="'+disp.small_height+'">');
document.write(' <param name="allowScriptAccess" value="always"/> ');
document.write(' <param name="movie" value="'+ disp.small_dir +'?'+ disp.small_params +'"/>');
document.write(' <param name="wmode" value="transparent" />');
document.write(' <param name="quality" value="high" /> ');
document.write(' <param name="FlashVars" value="'+disp.small_params+'"/>');
document.write('<embed src="'+ disp.small_dir + '?' + disp.small_params +'" name="dispcornerSmallObject" wmode="transparent" quality="high" width="'+ disp.small_width +'" height="'+ disp.small_height +'" flashvars="'+ disp.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="dispcornerBig" style="position:absolute;width:'+ disp.big_width +'px;height:'+ disp.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="dispcornerBigObject" width="'+ disp.big_width +'" height="'+ disp.big_height +'">');
document.write(' <param name="allowScriptAccess" value="always"/> ');
document.write(' <param name="movie" value="'+ disp.big_path +'?'+ disp.big_params +'"/>');
document.write(' <param name="wmode" value="transparent"/>');
document.write(' <param name="quality" value="high" /> ');
document.write(' <param name="FlashVars" value="'+ disp.big_params +'"/>');
document.write('<embed src="'+ disp.big_path + '?' + disp.big_params +'" id="dispcornerBigEmbed" name="dispcornerBigObject" wmode="transparent" quality="high" width="'+ disp.big_width +'" height="'+ disp.big_height +'" flashvars="'+ disp.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("dispcornerBig").style.top = "-1000px";',1000);
}
disp.putObjects();
