var nbimage=".$nbimage."; "; echo "var max=".$max."; "; echo "var ImgLocation='".$ImgLocation."';"; ?>