var pic = new Array(); function banner(name, width, link){ this.name = name; this.width = width; this.link = link; } pic[0] = new banner('resize-img.php?path=images/slide/&foto=12892296272.1.jpg&imgWidth=264&imgHeight=300&crop=true',300,'images/slide/12892296272.1.jpg'); pic[1] = new banner('resize-img.php?path=images/slide/&foto=12892296283.1.jpg&imgWidth=264&imgHeight=300&crop=true',300,'images/slide/12892296283.1.jpg'); pic[2] = new banner('resize-img.php?path=images/slide/&foto=12892296304.1.jpg&imgWidth=264&imgHeight=300&crop=true',300,'images/slide/12892296304.1.jpg'); pic[3] = new banner('resize-img.php?path=images/slide/&foto=12892296325.1.jpg&imgWidth=264&imgHeight=300&crop=true',300,'images/slide/12892296325.1.jpg'); pic[4] = new banner('resize-img.php?path=images/slide/&foto=12892296346.1.jpg&imgWidth=264&imgHeight=300&crop=true',300,'images/slide/12892296346.1.jpg'); pic[5] = new banner('resize-img.php?path=images/slide/&foto=12892296357.1.jpg&imgWidth=264&imgHeight=300&crop=true',300,'images/slide/12892296357.1.jpg'); pic[6] = new banner('resize-img.php?path=images/slide/&foto=12892296378.1.jpg&imgWidth=264&imgHeight=300&crop=true',300,'images/slide/12892296378.1.jpg'); pic[7] = new banner('resize-img.php?path=images/slide/&foto=12892296399.1.jpg&imgWidth=264&imgHeight=300&crop=true',300,'images/slide/12892296399.1.jpg'); pic[8] = new banner('resize-img.php?path=images/slide/&foto=128922964110.1.jpg&imgWidth=264&imgHeight=300&crop=true',300,'images/slide/128922964110.1.jpg'); pic[9] = new banner('resize-img.php?path=images/slide/&foto=128922964211.1.jpg&imgWidth=264&imgHeight=300&crop=true',300,'images/slide/128922964211.1.jpg'); pic[10] = new banner('resize-img.php?path=images/slide/&foto=128922964412.1.jpg&imgWidth=264&imgHeight=300&crop=true',300,'images/slide/128922964412.1.jpg'); pic[11] = new banner('resize-img.php?path=images/slide/&foto=128922964613.2.jpeg&imgWidth=264&imgHeight=300&crop=true',300,'images/slide/128922964613.2.jpeg'); pic[12] = new banner('resize-img.php?path=images/slide/&foto=128922964813.3.jpg&imgWidth=264&imgHeight=300&crop=true',300,'images/slide/128922964813.3.jpg'); pic[13] = new banner('resize-img.php?path=images/slide/&foto=128922964914.1.jpg&imgWidth=264&imgHeight=300&crop=true',300,'images/slide/128922964914.1.jpg'); pic[14] = new banner('resize-img.php?path=images/slide/&foto=128922965115.1.jpg&imgWidth=264&imgHeight=300&crop=true',300,'images/slide/128922965115.1.jpg'); pic[15] = new banner('resize-img.php?path=images/slide/&foto=128922965216.1.jpg&imgWidth=264&imgHeight=300&crop=true',300,'images/slide/128922965216.1.jpg'); pic[16] = new banner('resize-img.php?path=images/slide/&foto=128922965417.1.jpg&imgWidth=264&imgHeight=300&crop=true',300,'images/slide/128922965417.1.jpg'); pic[17] = new banner('resize-img.php?path=images/slide/&foto=128922965618.1.jpg&imgWidth=264&imgHeight=300&crop=true',300,'images/slide/128922965618.1.jpg'); pic[18] = new banner('resize-img.php?path=images/slide/&foto=128922965919.1.jpg&imgWidth=264&imgHeight=300&crop=true',300,'images/slide/128922965919.1.jpg'); pic[19] = new banner('resize-img.php?path=images/slide/&foto=128922966220.1.jpg&imgWidth=264&imgHeight=300&crop=true',300,'images/slide/128922966220.1.jpg'); var speed = 20; var kk = pic.length; var ii; var hhh; var nnn; var myInterval; var myPause; var mode = 0 var imgArray = new Array(kk); var myLeft = new Array(kk); for (ii=0;ii0)?arrTemp[1]:""; var NS = (navigator.appName=="Netscape")?true:false; var msg; function FitPic() { iWidth = (NS)?msg.innerWidth:msg.document.body.clientWidth; iHeight = (NS)?msg.innerHeight:msg.document.body.clientHeight; iWidth = msg.document.images[0].width - iWidth; iHeight = msg.document.images[0].height - iHeight; msg.resizeBy(iWidth, iHeight); msg.focus(); }; function popup(imm) { if (typeof(msg)!='undefined') msg.close(); msg=open("","schermo","scrollbars=no,status=no,toolbar=no,directories=no,menubar=no,width=400,height=400,resizable=no"); msg.document.write("<\/TITLE><\/HEAD><body style='margin: 0px'>"); msg.document.write("<img src='"+imm+"' border='0' alt='' onload='opener.FitPic();'><\/body><\/html>"); } // JavaScript Document