/*
 Copyright 2007 GMS iSolutions, Inc, dba WebHostingOasis.com
 PeeknPeelads.com .net / PeeknPeel.com .net
*/


image_small = new Array();
image_small[0]= 'http://www.PeeknPeel.com/pnp/Corner Peel 11.swf';  //This is the URL where the small1.gif image is located
image_small[1]= 'http://www.PeeknPeel.com/pnp/look.swf';  //This is the URL where the small2.gif image is located
image_small[2]= 'http://www.PeeknPeel.com/pnp/Corner Peel 41.swf';  //This is the URL where the small2.gif image is located
image_small[3]= 'http://www.PeeknPeel.com/pnp/look.swf';  //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.PeeknPeel.com/pnp/corner.swf';  //This is the URL where the Big Image big1.gif  is located
image_big[1]= 'http://www.PeeknPeel.com/pnp/images/visa1.jpg';  //This is the URL where the Big Image big1.gif  is located
image_big[2]= 'http://www.PeeknPeel.com/pnp/host.swf';  //This is the URL where the Big Image big1.gif  is located
image_big[3]= 'http://www.PeeknPeel.com/pnp/ac.swf';  //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://www.peeknpeel.com'; 		//This is the landing page where the user should be taken when clicking on the Peel Ad
GoTo[1]= 'https://www.e-onlinedata.com/gms';  	//This is the landing page where the user should be taken when clicking on the Peel Ad
GoTo[2]= 'http://www.gmsisoasis.com/hosting.html';  	//This is the landing page where the user should be taken when clicking on the Peel Ad
GoTo[3]= 'http://www.gmsisoasis.com/promotion.html';  	//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 = 4   //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 PeeknPeel = new Object();

PeeknPeel.ad_url = escape(Link);

PeeknPeel.small_path = 'http://www.gshtgac.webhostingoasis.com/peel/cornersmall.swf'; //Enter the URL of the Peel Away Corner Flash
PeeknPeel.small_image = escape(Image1);
PeeknPeel.small_width = '100';
PeeknPeel.small_height = '100';
PeeknPeel.small_params = 'ico=' + PeeknPeel.small_image;

PeeknPeel.big_path = 'http://www.gshtgac.webhostingoasis.com/peel/cornerbig.swf'; //   Enter the URL of the Large Peel Away Corner
PeeknPeel.big_image = escape(Image2);
PeeknPeel.big_width = '500';
PeeknPeel.big_height = '500';
PeeknPeel.big_params = 'big=' + PeeknPeel.big_image + '&ad_url=' + PeeknPeel.ad_url;

// Do not Change anything under this line-----------------------------------------------------------------------------------------

function sizeup987(){
	document.getElementById('PeeknPeelcornerBig').style.top = '0px';
	document.getElementById('PeeknPeelcornerSmall').style.top = '-1000px';
}

function sizedown987(){
	document.getElementById("PeeknPeelcornerSmall").style.top = "0px";
	document.getElementById("PeeknPeelcornerBig").style.top = "-1000px";
}

PeeknPeel.putObjects = function () {
// <PeeknPeelSmall>
document.write('<div id="PeeknPeelcornerSmall" style="position:absolute;width:'+ PeeknPeel.small_width +'px;height:'+ PeeknPeel.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="PeeknPeelSmallcornerObject" width="'+PeeknPeel.small_width+'" height="'+PeeknPeel.small_height+'">');
// object params
document.write(' <param name="allowScriptAccess" value="always"/> ');
document.write(' <param name="movie" value="'+ PeeknPeel.small_path +'?'+ PeeknPeel.small_params +'"/>');
document.write(' <param name="wmode" value="transparent" />');
document.write(' <param name="quality" value="high" /> ');
document.write(' <param name="FlashVars" value="'+PeeknPeel.small_params+'"/>');
// embed
document.write('<embed src="'+ PeeknPeel.small_path + '?' + PeeknPeel.small_params +'" name="PeeknPeelcornerSmallObject" wmode="transparent" quality="high" width="'+ PeeknPeel.small_width +'" height="'+ PeeknPeel.small_height +'" flashvars="'+ PeeknPeel.small_params +'" allowscriptaccess="always" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"></embed>');
document.write('</object></div>');
document.write('</script>');
// </PeeknPeelSmall>
// <PeeknPeelBig>
document.write('<div id="PeeknPeelcornerBig" style="position:absolute;width:'+ PeeknPeel.big_width +'px;height:'+ PeeknPeel.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="PeeknPeelcornerBigObject" width="'+ PeeknPeel.big_width +'" height="'+ PeeknPeel.big_height +'">');
// object params
document.write(' <param name="allowScriptAccess" value="always"/> ');
document.write(' <param name="movie" value="'+ PeeknPeel.big_path +'?'+ PeeknPeel.big_params +'"/>');
document.write(' <param name="wmode" value="transparent"/>');
document.write(' <param name="quality" value="high" /> ');
document.write(' <param name="FlashVars" value="'+ PeeknPeel.big_params +'"/>');
// embed
document.write('<embed src="'+ PeeknPeel.big_path + '?' + PeeknPeel.big_params +'" id="PeeknPeelcornerBigEmbed" name="PeeknPeelcornerBigObject" wmode="transparent" quality="high" width="'+ PeeknPeel.big_width +'" height="'+ PeeknPeel.big_height +'" flashvars="'+ PeeknPeel.big_params +'" swliveconnect="true" allowscriptaccess="always" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"></embed>');
document.write('</object></div>');
// </PeeknPeelBig>
setTimeout('document.getElementById("PeeknPeelcornerBig").style.top = "-1000px";',1000);
}
PeeknPeel.putObjects();