/*
 Das Copyright dieses Scriptes liegt beim Autor.
 Bitte die Lizenzbedingungen beachten, und ausgefüllt zurücksenden.
*/

image_small = new Array();
image_small[0]= 'http://www.thetoolman.net/peel/images/sm1.gif';  //This is the URL where the small1.gif image is located
image_small[1]= 'http://www.thetoolman.net/peel/images/sm2.gif';  //This is the URL where the small2.gif image is located
image_small[2]= 'http://www.thetoolman.net/peel/images/sm3.gif';  //This is the URL where the small1.gif image is located
image_small[3]= 'http://www.thetoolman.net/peel/images/sm4.gif';  //This is the URL where the small2.gif image is located
image_small[4]= 'http://www.thetoolman.net/peel/images/sm5.gif';  //This is the URL where the small1.gif image is located
image_small[5]= 'http://www.thetoolman.net/peel/images/sm6.gif';  //This is the URL where the small2.gif image is located
image_small[6]= 'http://www.thetoolman.net/peel/images/sm7.jpg';  //This is the URL where the small1.gif image is located
image_small[7]= 'http://www.thetoolman.net/peel/images/sm8.gif';  //This is the URL where the small1.gif image is located
image_small[8]= 'http://www.thetoolman.net/peel/images/sm9.jpg';  //This is the URL where the small1.gif image is located
image_small[9]= 'http://www.thetoolman.net/peel/images/small2.gif';  //This is the URL where the small2.gif image is located
image_small[10]= 'http://www.thetoolman.net/peel/images/small1.gif';  //This is the URL where the small1.gif image is located
image_small[11]= 'http://www.thetoolman.net/peel/images/sm1.gif';  //This is the URL where the small2.gif image is located
image_small[12]= 'http://www.thetoolman.net/peel/images/sm2.gif';  //This is the URL where the small1.gif image is located
image_small[13]= 'http://www.thetoolman.net/peel/images/sm3.gif';  //This is the URL where the small2.gif image is located
image_small[14]= 'http://www.thetoolman.net/peel/images/sm4.gif';  //This is the URL where the small1.gif image is located
image_small[15]= 'http://www.thetoolman.net/peel/images/sm5.gif';  //This is the URL where the small2.gif image is located
image_small[16]= 'http://www.thetoolman.net/peel/images/sm6.gif';  //This is the URL where the small1.gif image is located
image_small[17]= 'http://www.thetoolman.net/peel/images/sm7.jpg';  //This is the URL where the small2.gif image is located
image_small[18]= 'http://www.thetoolman.net/peel/images/sm3.jpg';  //This is the URL where the small2.gif image is located
image_small[19]= 'http://www.thetoolman.net/peel/images/sm3.jpg';  //This is the URL where the small2.gif image is located
image_small[20]= 'http://www.thetoolman.net/peel/images/sm1.gif';  //This is the URL where the small1.gif image is located
image_small[21]= 'http://www.thetoolman.net/peel/images/sm1.gif';  //This is the URL where the small1.gif image is located
image_small[22]= 'http://www.thetoolman.net/peel/images/sm2.gif';  //This is the URL where the small2.gif image is located
image_small[23]= 'http://www.thetoolman.net/peel/images/sm3.gif';  //This is the URL where the small1.gif image is located
          // If you want to add more images just continue with the numbering small4.gif, etc.

image_big = new Array();
image_big[0]= 'http://www.thetoolman.net/peel/images/4.gif';  //This is the URL where the Big Image big1.gif  is located
image_big[1]= 'http://www.thetoolman.net/peel/images/7.gif';  //This is the URL where the Big Image big1.gif  is located
image_big[2]= 'http://www.thetoolman.net/peel/images/12.jpg';  //This is the URL where the Big Image big1.gif  is located
image_big[3]= 'http://www.thetoolman.net/peel/images/1.gif';  //This is the URL where the Big Image big1.gif  is located
image_big[4]= 'http://www.thetoolman.net/peel/images/6.gif';  //This is the URL where the Big Image big1.gif  is located
image_big[5]= 'http://www.thetoolman.net/peel/images/3.gif';  //This is the URL where the Big Image big1.gif  is located
image_big[6]= 'http://www.thetoolman.net/peel/images/11.gif';  //This is the URL where the Big Image big1.gif  is located
image_big[7]= 'http://www.thetoolman.net/peel/images/9.gif';  //This is the URL where the Big Image big1.gif  is located
image_big[8]= 'http://www.thetoolman.net/peel/images/big1.jpg';  //This is the URL where the Big Image big1.gif  is located
image_big[9]= 'http://www.thetoolman.net/peel/images/8.gif';  //This is the URL where the Big Image big1.gif  is located
image_big[10]= 'http://www.thetoolman.net/peel/images/15.gif';  //This is the URL where the Big Image big1.gif  is located
image_big[11]= 'http://www.thetoolman.net/peel/images/1.gif';  //This is the URL where the Big Image big1.gif  is located
image_big[12]= 'http://www.thetoolman.net/peel/images/13.jpg';  //This is the URL where the Big Image big1.gif  is located
image_big[13]= 'http://www.thetoolman.net/peel/images/big2.gif';  //This is the URL where the Big Image big1.gif  is located
image_big[14]= 'http://www.thetoolman.net/peel/images/8.gif';  //This is the URL where the Big Image big1.gif  is located
image_big[15]= 'http://www.thetoolman.net/peel/images/15.gif';  //This is the URL where the Big Image big1.gif  is located
image_big[16]= 'http://www.thetoolman.net/peel/images/3.gif';  //This is the URL where the Big Image big1.gif  is located
image_big[17]= 'http://www.thetoolman.net/peel/images/4.gif';  //This is the URL where the Big Image big1.gif  is located
image_big[18]= 'http://www.thetoolman.net/peel/images/3.gif';  //This is the URL where the Big Image big1.gif  is located
image_big[19]= 'http://www.thetoolman.net/peel/images/8.gif';  //This is the URL where the Big Image big1.gif  is located
image_big[20]= 'http://www.thetoolman.net/peel/images/1.gif';  //This is the URL where the Big Image big1.gif  is located
image_big[21]= 'http://www.thetoolman.net/peel/images/4.gif';  //This is the URL where the Big Image big1.gif  is located
image_big[22]= 'http://www.thetoolman.net/peel/images/7.gif';  //This is the URL where the Big Image big1.gif  is located
image_big[23]= 'http://www.thetoolman.net/peel/images/12.jpg';  //This is the URL where the Big Image big1.gif  is located
           // If you want to add more images just continue with the numbering big4.gif, etc.

GoTo = new Array();
GoTo[0]= 'http://thetoolman.net/softwareclub/articlesite/'; 		//This is the landing page where the user should be taken when clicking on the Peel Ad
GoTo[1]= 'http://thetoolman.net/adspace.php'; 		//This is the landing page where the user should be taken when clicking on the Peel Ad
GoTo[2]= 'http://instantblogfeeder.com/?e=thetoolman'; 		//This is the landing page where the user should be taken when clicking on the Peel Ad
GoTo[3]= 'http://thetoolman.net/onewaylinkbuilding/'; 		//This is the landing page where the user should be taken when clicking on the Peel Ad
GoTo[4]= 'http://scrnch.me/iv6e9'; 		//This is the landing page where the user should be taken when clicking on the Peel Ad
GoTo[5]= 'https://paydotcom.com/r/66884/3marketeers/20084975/'; 		//This is the landing page where the user should be taken when clicking on the Peel Ad
GoTo[6]= 'http://thetoolman.net/Recommends/YourViralTinyURL/';  	//This is the landing page where the user should be taken when clicking on the Peel Ad
GoTo[7]= 'http://thetoolman.in/go/exitscript/';  	//This is the landing page where the user should be taken when clicking on the Peel Ad
GoTo[8]= 'http://thetoolman.net/webtv/';  	//This is the landing page where the user should be taken when clicking on the Peel Ad
GoTo[9]= 'http://thetoolman.net/softwarebuilder/';  	//This is the landing page where the user should be taken when clicking on the Peel Ad
GoTo[10]= 'http://cbglobe.com/r.cgi?i=thetoolman';  	//This is the landing page where the user should be taken when clicking on the Peel Ad
GoTo[11]= 'http://turnkeyplr.com/newsletterclub/';  	//This is the landing page where the user should be taken when clicking on the Peel Ad
GoTo[12]= 'http://proresponsesite.com/socialmarketing/';  	//This is the landing page where the user should be taken when clicking on the Peel Ad
GoTo[13]= 'http://thetoolman.net/softwareclub/contentmanager/';  	//This is the landing page where the user should be taken when clicking on the Peel Ad
GoTo[14]= 'http://thetoolman.net/Recommends/F.reeSoftware/';  	//This is the landing page where the user should be taken when clicking on the Peel Ad
GoTo[15]= 'http://scrnch.me/ttt-wpincentive';  	//This is the landing page where the user should be taken when clicking on the Peel Ad
GoTo[16]= 'http://sdtadvertising.com/promo-mojo/?e=tomthetoolman';  	//This is the landing page where the user should be taken when clicking on the Peel Ad
GoTo[17]= 'http://thetoolman.in/go/bronzeclub';  	//This is the landing page where the user should be taken when clicking on the Peel Ad
GoTo[18]= 'http://thetoolman.in/go/goldclub';  	//This is the landing page where the user should be taken when clicking on the Peel Ad
GoTo[19]= 'http://thetoolman.net/auto-blogging/';  	//This is the landing page where the user should be taken when clicking on the Peel Ad
GoTo[20]= 'http://thetoolman.net/get/YourDomainRegistered/';  	//This is the landing page where the user should be taken when clicking on the Peel Ad
GoTo[21]= 'http://thetoolman.in/go/residualmonthlycomm/'; 		//This is the landing page where the user should be taken when clicking on the Peel Ad
GoTo[22]= 'http://thetoolman.in/go/plrdealer/';  	//This is the landing page where the user should be taken when clicking on the Peel Ad
GoTo[23]= 'http://thetoolman.in/go/facebookfanpage/'; 		//This is the landing page where the user should be taken when clicking on the Peel Ad
				// If you want to add more URLS just continue with the numbering GoTo[4]= etc.

var anzahl = 18   //Here you should specify How Many ads you have

var nr = Math.round((anzahl -1) * Math.random());

var Link = GoTo[nr];
var Image1 = image_small[nr];
var Image2 = image_big[nr];

var esel = new Object();

esel.ad_url = escape(Link);

esel.small_path = 'http://www.thetoolman.net/peel/cornersmall.swf'; //Enter the URL of the Peel Away Corner Flash
esel.small_image = escape(Image1);
esel.small_width = '100';
esel.small_height = '100';
esel.small_params = 'ico=' + esel.small_image;

esel.big_path = 'http://www.thetoolman.net/peel/cornerbig.swf'; //   Enter the URL of the Large Peel Away Corner
esel.big_image = escape(Image2);
esel.big_width = '650';
esel.big_height = '650';
esel.big_params = 'big=' + esel.big_image + '&ad_url=' + esel.ad_url;

// Do not Change anything under this line-----------------------------------------------------------------------------------------

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";
}

esel.putObjects = function () {
// <eselSmall>
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;">');
// 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="eselSmallcornerObject" width="'+esel.small_width+'" height="'+esel.small_height+'">');
// object params
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+'"/>');
// embed
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>');
document.write('</script>');
// </eselSmall>
// <eselBig>
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;">');
// 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="eselcornerBigObject" width="'+ esel.big_width +'" height="'+ esel.big_height +'">');
// object params
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 +'"/>');
// embed
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>');
// </eselBig>
setTimeout('document.getElementById("eselcornerBig").style.top = "-1000px";',1000);
}
esel.putObjects();
