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/pic1.jpg" width="730" height="240" border="0" alt="GlowMama Maternity Wear, maternity clothes, pregnancy fashion, breastfeeding clothing">';
img[1]='<img src="images/home/pic2.jpg" width="730" height="240" border="0" alt="GlowMama Maternity Wear, maternity clothes, pregnancy fashion, breastfeeding clothing">';
img[2]='<img src="images/home/pic3.jpg" width="730" height="240" border="0" alt="GlowMama Maternity Wear, maternity clothes, pregnancy fashion, breastfeeding clothing">';
img[3]='<img src="images/home/pic4.jpg" width="730" height="240" border="0" alt="GlowMama Maternity Wear, maternity clothes, pregnancy fashion, breastfeeding clothing">';
img[4]='<img src="images/home/pic5.jpg" width="730" height="240" border="0" alt="GlowMama Maternity Wear, maternity clothes, pregnancy fashion, breastfeeding clothing">';
img[5]='<img src="images/home/pic6.jpg" width="730" height="240" border="0" alt="GlowMama Maternity Wear, maternity clothes, pregnancy fashion, breastfeeding clothing">';

// 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"); 
   } 
