function rand_number(n)
{
var x;
x=Math.round(Math.random()*100);
x%=n;
return x;
}
function pics()
{
var img = new Array();

img[0]='<img src="images/home/slideshow/01.jpg" alt="Shop Online" width="480" height="310" border="0" />';
img[1]='<img src="images/home/slideshow/02.jpg" alt="Shop Online" width="480" height="310" border="0" />';
img[2]='<img src="images/home/slideshow/03.jpg" alt="Shop Online" width="480" height="310" border="0" />';
img[3]='<img src="images/home/slideshow/04.jpg" alt="Shop Online" width="480" height="310" border="0" />';
img[4]='<img src="images/home/slideshow/05.jpg" alt="Shop Online" width="480" height="310" border="0" />';
img[5]='<img src="images/home/slideshow/06.jpg" alt="Shop Online" width="480" height="310" border="0" />';

// attention, le nombre entre parenthese doit etre egal aux derniers entre crochet +1 exemple : ici 2+1=3

var n=rand_number(6); 
document.write(img[n]);
}

   function Zoom(sPicURL) { 
     window.open( "popup.htm?"+sPicURL, "",  
     "resizable=1,HEIGHT=400,WIDTH=600"); 
   } 
