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;
    
 		// Change this:                           //
    // str += '" target="_blank"><img src="'; //
    // Into this:                             //
    	 str += '"><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 \'
*************************************************************************

*/

// Right here, instead of linking to the images.  Just link to the img.asp //
// file with the img=filename.jpg.  The script sees the file and points it //
// to the right directory before displaying it.                            //

prodlist.add('img.asp?img=coatedCableFence.jpg','images/Tn/coatedCableFence.jpg','Coated Cable Fence','','');
prodlist.add('img.asp?img=guyWire2.jpg','images/Tn/guyWire2.jpg','New Galvanized Guy Cable','We got both the 7 strand 5/16" & 3/8" guy cable.  I used to sell used cause it was cheaper. BUT, no way could I tell my customers how many splices were on the spool, what the cable looked like down in the spool, or how long the pieces were.  With new cable there are NO splices, it is ALL new and all ONE PIECE.  Is it worth a few cents more?  YOU BET!','');
prodlist.add('img.asp?img=cable3.jpg','images/Tn/cable3Tn.jpg','White Vinyl Coated Cable','A GoBob Exclusive! Never paint cable again! White vinyl coated cable. Safe even for horses, strong enough for cattle. This is not that flimsy coated wire. This is 5/16th inch OD 7000 pound test cable. 5000 foot spool - call for price! <br> <br> Now available in 3/8" too! In black or white.','$.14 per ft');
prodlist.add('img.asp?img=specials/Guardrail.jpg','images/Tn/Guardrail.jpg','Reject Guardrail','New reject guardrail, Makes great alleys and chutes. Call for price, No minimum!','$1.30 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>

*/
