image_small = new Array();
image_small[0]= '../ImgPub/imgs001.gif';  			//change to url to small1.gif
image_small[1]= '../ImgPub/imgs002.gif';  			//change to url to small2.gif
image_small[2]= '../ImgPub/imgs003.gif';  			//change to url to small3.gif
image_small[3]= '../ImgPub/imgs004.gif';  			//change to url to small4.gif
image_small[4]= '../ImgPub/imgs005.gif';  			//change to url to small5.gif
image_small[5]= '../ImgPub/imgs006.gif';  			//change to url to small6.gif
// When you want to use more images and links, just go on with this list:  image_small[2]=  and so on
image_big = new Array();
image_big[0]= '../ImgPub/a01.jpg';  				//change to url to big1.gif 
image_big[1]= '../ImgPub/a02.jpg';  				//change to url to big2.gif
image_big[2]= '../ImgPub/a03.jpg';  				//change to url to big3.gif
image_big[3]= '../ImgPub/a04.jpg';  				//change to url to big4.gif 
image_big[4]= '../ImgPub/a05.jpg';  				//change to url to big5.gif
image_big[5]= '../ImgPub/a06.jpg';  				//change to url to big6.gif
// When you want to use more images and links, just go on with this list:  image_big[2]=  and so on
image_url = new Array();
image_url[0]= 'http://www.empresasdechihuahua.com/html/peel.html'; 	//Change to the URL you want to link to
image_url[1]= 'http://www.empresasdechihuahua.com/html/peel.html';  	//Change to the URL you want to link to
image_url[2]= 'http://www.empresasdechihuahua.com/html/peel.html';  	//Change to the URL you want to link to
image_url[3]= 'http://www.empresasdechihuahua.com/html/peel.html'; 	//Change to the URL you want to link to
image_url[4]= 'http://www.empresasdechihuahua.com/html/peel.html';  	//Change to the URL you want to link to
image_url[5]= 'http://www.empresasdechihuahua.com/html/peel.html';  	//Change to the URL you want to link to
// When you want to use more images and links, just go on with this list: GoTo[2]=  and so on
var anzahl = 6   //Change to the number of used links
var nr = Math.round((anzahl -1) * Math.random());
var Imageu = image_url[nr];
var Image1 = image_small[nr];
var Image2 = image_big[nr];

var jaaspeel = new Object();
jaaspeel.ad_url = escape(Imageu);

jaaspeel.small_path 	= 'swf/small.swf';
jaaspeel.small_image 	= escape(Image1);
jaaspeel.small_width 	= '130';
jaaspeel.small_height 	= '130';
jaaspeel.small_params 	= 'ico=' + jaaspeel.small_image;

jaaspeel.big_path 	= 'swf/large.swf';
jaaspeel.big_image 	= escape(Image2);
jaaspeel.big_width 	= '800';
jaaspeel.big_height 	= '800';
jaaspeel.big_params 	= 'big=' + jaaspeel.big_image + '&ad_url=' + jaaspeel.ad_url;

function sizeup987(){
	document.getElementById('jcornerBig').style.top = '0px';
	document.getElementById('jcornerSmall').style.top = '-1000px';
}

function sizedown987(){
	document.getElementById("jcornerSmall").style.top = "0px";
	document.getElementById("jcornerBig").style.top = "-1000px";
}

jaaspeel.putObjects = function () {
// <jcornerSmall>
document.write('<div id="jcornerSmall" style="position:absolute;width:'+ jaaspeel.small_width +'px;height:'+ jaaspeel.small_height +'px;z-index:999;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="jcornerSmallObject" width="'+jaaspeel.small_width+'" height="'+jaaspeel.small_height+'">');
// object params
document.write(' <param name="allowScriptAccess" value="always"/> ');
document.write(' <param name="movie" value="'+ jaaspeel.small_path +'?'+ jaaspeel.small_params +'"/>');
document.write(' <param name="wmode" value="transparent" />');
document.write(' <param name="quality" value="high" /> ');
document.write(' <param name="FlashVars" value="'+jaaspeel.small_params+'"/>');
// embed
document.write('<embed src="'+ jaaspeel.small_path + '?' + jaaspeel.small_params +'" name="jcornerSmallObject" wmode="transparent" quality="high" width="'+ jaaspeel.small_width +'" height="'+ jaaspeel.small_height +'" flashvars="'+ jaaspeel.small_params +'" allowscriptaccess="always" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"></embed>');
document.write('</object></div>');
document.write('</script>');
// </jcornerSmall>
// <jcornerBig>
document.write('<div id="jcornerBig" style="position:absolute;width:'+ jaaspeel.big_width +'px;height:'+ jaaspeel.big_height +'px;z-index:999;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="jcornerBigObject" width="'+ jaaspeel.big_width +'" height="'+ jaaspeel.big_height +'">');
// object params
document.write(' <param name="allowScriptAccess" value="always"/> ');
document.write(' <param name="movie" value="'+ jaaspeel.big_path +'?'+ jaaspeel.big_params +'"/>');
document.write(' <param name="wmode" value="transparent"/>');
document.write(' <param name="quality" value="high" /> ');
document.write(' <param name="FlashVars" value="'+ jaaspeel.big_params +'"/>');
// embed
document.write('<embed src="'+ jaaspeel.big_path + '?' + jaaspeel.big_params +'" id="jcornerBigEmbed" name="jcornerBigObject" wmode="transparent" quality="high" width="'+ jaaspeel.big_width +'" height="'+ jaaspeel.big_height +'" flashvars="'+ jaaspeel.big_params +'" swliveconnect="true" allowscriptaccess="always" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"></embed>');
document.write('</object></div>');
// </jcornerBig>
setTimeout('document.getElementById("jcornerBig").style.top = "-1000px";',1000);
}


