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=12893131491.1.jpg&imgWidth=264&imgHeight=300&crop=true',300,'images/slide/12893131491.1.jpg'); pic[1] = new banner('resize-img.php?path=images/slide/&foto=12893131612.1.jpg&imgWidth=264&imgHeight=300&crop=true',300,'images/slide/12893131612.1.jpg'); pic[2] = new banner('resize-img.php?path=images/slide/&foto=12893131733.1.jpg&imgWidth=264&imgHeight=300&crop=true',300,'images/slide/12893131733.1.jpg'); pic[3] = new banner('resize-img.php?path=images/slide/&foto=12893131834.1.jpg&imgWidth=264&imgHeight=300&crop=true',300,'images/slide/12893131834.1.jpg'); pic[4] = new banner('resize-img.php?path=images/slide/&foto=12893131945.1.jpg&imgWidth=264&imgHeight=300&crop=true',300,'images/slide/12893131945.1.jpg'); pic[5] = new banner('resize-img.php?path=images/slide/&foto=12893132096.1.jpg&imgWidth=264&imgHeight=300&crop=true',300,'images/slide/12893132096.1.jpg'); pic[6] = new banner('resize-img.php?path=images/slide/&foto=12893132217.1.jpg&imgWidth=264&imgHeight=300&crop=true',300,'images/slide/12893132217.1.jpg'); pic[7] = new banner('resize-img.php?path=images/slide/&foto=12893132328.1.jpg&imgWidth=264&imgHeight=300&crop=true',300,'images/slide/12893132328.1.jpg'); pic[8] = new banner('resize-img.php?path=images/slide/&foto=12893132489.1.jpg&imgWidth=264&imgHeight=300&crop=true',300,'images/slide/12893132489.1.jpg'); pic[9] = new banner('resize-img.php?path=images/slide/&foto=128931325910.1.jpg&imgWidth=264&imgHeight=300&crop=true',300,'images/slide/128931325910.1.jpg'); pic[10] = new banner('resize-img.php?path=images/slide/&foto=128931327311.1.jpg&imgWidth=264&imgHeight=300&crop=true',300,'images/slide/128931327311.1.jpg'); pic[11] = new banner('resize-img.php?path=images/slide/&foto=128931328612.1.jpg&imgWidth=264&imgHeight=300&crop=true',300,'images/slide/128931328612.1.jpg'); pic[12] = new banner('resize-img.php?path=images/slide/&foto=128931328913.1.jpg&imgWidth=264&imgHeight=300&crop=true',300,'images/slide/128931328913.1.jpg'); pic[13] = new banner('resize-img.php?path=images/slide/&foto=128931329114.1.JPG&imgWidth=264&imgHeight=300&crop=true',300,'images/slide/128931329114.1.JPG'); pic[14] = new banner('resize-img.php?path=images/slide/&foto=128931329215.1.jpg&imgWidth=264&imgHeight=300&crop=true',300,'images/slide/128931329215.1.jpg'); pic[15] = new banner('resize-img.php?path=images/slide/&foto=128931330416.jpg&imgWidth=264&imgHeight=300&crop=true',300,'images/slide/128931330416.jpg'); pic[16] = new banner('resize-img.php?path=images/slide/&foto=128931331217.jpg&imgWidth=264&imgHeight=300&crop=true',300,'images/slide/128931331217.jpg'); pic[17] = new banner('resize-img.php?path=images/slide/&foto=128931331418.jpg&imgWidth=264&imgHeight=300&crop=true',300,'images/slide/128931331418.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