// JavaScript Document /* 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.travailaunet.net/fac/images/small1.gif'; //This is the URL where the small1.gif image is located image_small[1]= 'http://www.travailaunet.net/fac/images/small2.gif'; //This is the URL where the small2.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.travailaunet.net/fac/images/big1.jpg'; //This is the URL where the Big Image big1.gif is located image_big[1]= 'http://www.travailaunet.net/fac/images/big2.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]= 'redirect.php?c='; //This is the landing page where the user should be taken when clicking on the Peel Ad GoTo[1]= 'redirect.php?c='; //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 = 2 //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.travailaunet.net/fac/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.travailaunet.net/fac/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 () { // document.write('
'); // object document.write(''); // object params document.write(' '); document.write(' '); document.write(' '); document.write(' '); document.write(' '); // embed document.write(''); document.write('
'); document.write(''); //
// document.write('
'); // object document.write(''); // object params document.write(' '); document.write(' '); document.write(' '); document.write(' '); document.write(' '); // embed document.write(''); document.write('
'); //
setTimeout('document.getElementById("eselcornerBig").style.top = "-1000px";',1000); } esel.putObjects();