var prodlist=new function(){
	var pl=new Array();
	pl.add=function(image,thumb,title,descript){
		var i=this.length;
		this[i]=new Object();
		this[i].image=image;
		this[i].thumb=thumb;
		this[i].title=title;
		this[i].descript=descript;
	}
	pl.formatHTML=function(){
		var str='';
		for(var i=0;i<this.length;++i){
			str += '<table width="90%" border="0" align="center" cellpadding="2" cellspacing="0"><tr><td rowspan="2" width="75%" valign="top"><font face="Arial, Helvetica, sans-serif"><big><b>';
			str += this[i].title;
			str += '</b></big><br>';
			str += this[i].descript;
			str += '</font></td><td valign="top" width="40%" align="right"><font face="Arial, Helvetica, sans-serif" size="2"><b>';
			str += '</b></font></td><td align="right" valign="top"><a href="';
			str += this[i].image;
			str += '" target="_blank"><img src="';
			str += this[i].thumb;
			str += '" border="0" alt="click to enlarge - ';
			str += this[i].title;
			str += '"></a></td></tr><tr><td width="50%" valign="top" colspan="2" align="right"><font face="Arial, Helvetica, sans-serif" size="2">';
			str += this[i].title;
			str += '</font></td></tr></table><br><br>';
		}
		return str;
	}
	return pl;
}


/* Here's how to add products

prodlist.add('image','thumbnail','title','description','price');

***********************************NOTE**********************************
The variables have to be void of ' you can do this by replacing ' with \'
*************************************************************************

*/

prodlist.add('images/13_3-8_330wCulvert.jpg','images/Tn/13_3-8_330wCulvert.jpg','13 3/8"OD .330 wall','Check out this 13 3/8"OD .330 wall (46# per ft.) in "as is" lengths (32 ft & up) Call for price!','as low as $.13 per lb');
prodlist.add('images/13_3-8_480w.jpg','images/Tn/13_3-8_480w.jpg','','','');


prodlist.add('images/rollerPipeBest.jpg','images/Tn/rollerPipeBest.jpg','ROLLER PIPE','You guys have been bugging me to get more pipe for you to make field rollers out.  Well, ask and you shall receive!  Got two sizes, 36" and 42" in walls from 1/2" to 3/4".  As you can see is is nice pipe.  Lengths vary from 8 to 12 ft. and that\'s the way we sell it, but we will try to get you a piece close to what you need.  Call for price!','as low as $.20 per lb');


prodlist.add('images/specials/123-4fusion.jpg','images/Tn/123-4fusion.jpg','12 &frac34;&#148;OD','Great (indestructible) culvert or pond pipe. New 12 &frac34;&#148;OD 7/32&#148; wall (29 lbs. Per ft.), 40 ft. pieces, fusion bond coated call for price! <BR>Buy 5 or more pieces and get a discount!','as low as $6.00 per ft');
prodlist.add('images/specials/Pipe24spiral.jpg','images/Tn/Pipe24spiral.jpg','Culvert','Want bigger culvert? We got it. Used 24&#148;OD &frac14;&#148; wall (63 lbs. Per ft.) Call for price! <BR>Buy 5 or more: Get a discount!<BR>','as low as $10.50 per ft');




/* Here is the code that you put in the HEAD of the HTML

<script language="JavaScript" src="prodlist.js"></script>

*********NOTE****************
Make sure the path is correct
*****************************
*/


/* Here is the code that you put in the BODY where you want the table displayed

<script language="JavaScript">
document.write(prodlist.formatHTML());
</script>

*/
