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/usedRods.jpg','images/Tn/usedRods.jpg','USED SUCKER RODS','See how clean these rods are.  Sure you can always find used rods cheaper, but what have you gained if you end up with worn out junk?  If you want used rods call me.  I promise you will be able to use every rod you pay for!','');



prodlist.add('images/specials/11-16S40TC2.jpg','images/Tn/11-16S40TC2.jpg','1 1/16&#148;OD Schedule 40','How about this for a good deal. 1 1/16&#148;OD Schedule 40, 21 ft pieces, thread and collared, call for Price! <BR> Buy 4 or more and get an additional discount!','as low as $.22 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>

*/
