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/2-1_2odPipe-1.jpg','images/Tn/2-1_2odPipe-1.jpg','2 1/2"OD','2 1/2"OD starting at $.89 per ft.  This stuff is really good pipe!  The pipe itself is perfect.  I think the reason we got it so cheap is the galvanizing is not.  But, as usual, some one elses screw up is your gain.  Hurry while it lasts! <br><br><strong> SOLD OUT</strong>','starting at $.89 per ft.');
prodlist.add('images/2-1_2odPipe-2.jpg','images/Tn/2-1_2odPipe-2.jpg','','','');
prodlist.add('images/2-1_2odPipe-3.jpg','images/Tn/2-1_2odPipe-3.jpg','','','');

prodlist.add('images/barg-lot-mixed-bdls.jpg','images/Tn/barg-lot-mixed-bdls.jpg','Mixed Bundles','Mixed bundles - Have you ever wished you had a little pile of pipe for all the odd jobs and repairs that come up all the time?  Of course you have.  Now\'s your chance to have this little stash cheap.  We have a couple hundred bundles for sale with mixed sizes and length.  Every one is a little different but they all have a nice variety.  We sell it by the pound starting at about $200 a bundle! <br><br><strong> SOLD OUT</strong>','starting at $200 a bundle');
prodlist.add('images/barg-lot-mixed-bdls2.jpg','images/Tn/barg-lot-mixed-bdls2.jpg','','','');
prodlist.add('images/barg-lot-tag2.jpg','images/Tn/barg-lot-tag2.jpg','','','');
prodlist.add('images/barg-lot-mixed-bdls3.jpg','images/Tn/barg-lot-mixed-bdls3.jpg','','','');


prodlist.add('images/2_3-8OpenWeld.jpg','images/Tn/2_3-8OpenWeld.jpg','Oops!','Somebody forgot to turn the welder on or something cause the seam in this 2 3/8" did not get welded.  But you know what?  This stuff make great inexpensive top rail!  Just turn the seam down and only you and your hair-dresser will know.  In the mean time, save a bunch of dough.  Call for price STR8.<BR><BR>What is STR8? You better scroll up and click on "How to Buy Pipe" <br><br><strong> TEMPORARILY SOLD OUT</strong>','As low as $ .44 per ft');
prodlist.add('images/2_3-8OpenWeldEndView.jpg','images/Tn/2_3-8OpenWeldEndView.jpg','','','');
prodlist.add('images/2_3-8OpenWeldCloseUp.jpg','images/Tn/2_3-8OpenWeldCloseUp.jpg','','','');


prodlist.add('images/2_3-8RejectNewMill.jpg','images/Tn/2_3-8RejectNewMill.jpg','NEW 2 3/8" REJECT PIPE','NEW 2 3/8" REJECT PIPE - Well, what have we here?  The answer is reject pipe in even lengths!  Very limited amount (hey, we do our best not to make it).  but we got it, call for price!  ','As low as $ .48 per ft');


prodlist.add('images/5_1-2_361wSpecial3.jpg','images/Tn/5_1-2_361wSpecial3.jpg','5 1/2" posts','Super Hot Deal - Everybody would like to buy 5 1/2" posts for their corner and gate posts but usually settle for 4 1/2.  Now\'s your chance to get an incredible deal on extra heavy, extra strong 5 1/2".  This is new pipe with a .361 wall.  That\'s almost 3/8"!  Now read carefully \'cause you aren\'t gonna believe the price:  I will cut you any length you want, call for price!  That\'s right - you can get an 8 ft. post that weighs 158 lbs. at a deep discount!!!  Hurry.  When it\'s gone it\'s gone!<br><br><strong> TEMPORARILY SOLD OUT</strong>','$ 2.20 per ft');
prodlist.add('images/5_1-2_361wSpecial.jpg','images/Tn/5_1-2_361wSpecial.jpg','','','');

prodlist.add('images/3_400wEndview.jpg','images/Tn/3_400wEndview.jpg','BUFFALO PIPE - 3" OD with almost a 1/2" wall!!!','When we got the 3 1/8"OD pipe shown on this same page, I thought I had found the ultimate pipe for you guys that really want strong pipe and still be affordable.  Well I was wrong!  Take a look at this pipe!.  No need for 4 1/2" corner posts with this stuff.  It weighs MORE!  But you won\'t believe the price.  That\'s why you have to call me to get it.<BR><BR> Now Available - 3 1/4", 3 1/2", and 3 3/4" Buffalo Pipe Too!','');


prodlist.add('images/2SQ__Posts.jpg','images/Tn/2SQ__Posts.jpg','WELDER\'S (& weekend welder\'s) DREAM.  2" x 2" Square tubing with a 1/4" wall.','Imagine not having to saddle out posts and rails.  Imagine not having to make circular welds.  Wouldn\'t it be nice to make straight cuts and straight welds?  You could go a lot faster couldn\'t you?  How would you like to do it and your fence be just as strong and cost less money?  Well Bubba, all you gotta do is call.<BR /><B> <FONT color="#FFFF00" size="3">Now Available! 3/16" Wall! </FONT></B>','');


prodlist.add('images/precutPost.jpg','images/Tn/precutPost.jpg','FREE POST CUTTING!','For a limited time, we are offering free eight & nine foot post cutting on our 2 3/8" .190 wall drillstem. How long will it last?  Couldn\'t say.  But hey, it\'s free!  So don\'t wait too long.','FREE!');


prodlist.add('images/2_1-2_125w.jpg','images/Tn/2_1-2_125w.jpg','2 1/2"OD .125 wall','This is some more of the perfect pipe for you horse fence guys.  It\'s a good medium wall pipe that comes in 25 ft lengths, only it\'s 2 1/2"OD .125 wall. Comes in bundles of about 40 pieces.  Call for price! <br><br>Also, for a small charge I can pre-cut any of this pipe for posts as well.  Give me a call.<BR /><B> <FONT color="#FFFF00" size="4">- JUST ABOUT GONE! - </FONT></B>','$.67 per ft');


prodlist.add('images/3-212wall1.jpg','images/Tn/3-212wall1.jpg','3"OD wall','Guess what?  It\'s back.  As many of you know we ran out of this a couple of months ago and some of you missed out.  Now\'s you chance to stock up.  It has a .212 wall and is heavier and thicker than 2 7/8".  New pipe (of course), no defects.  Call for price!  or buy 500 ft. or more for additional discount!!!','as low as $1.27 per ft');
prodlist.add('images/3-212wall2.jpg','images/Tn/3-212wall2.jpg','','','');


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, or plain end. <BR> Buy 4 or more for an additional discount! ','as low as $.19 per ft');


prodlist.add('images/specials/23-8S40inside.jpg','images/Tn/23-8S40inside.jpg','NEW! 2 3/8"OD Pipe','Well, the mill is cranked up and spittin\' out this beautiful, perfect, inside stored 2 3/8"OD pipe.  We\'ve got STR4 thru STR9.  AND I PROMISE, if you\'ll give me the chance, we will beat anybodies price!  Call me!','');


prodlist.add('images/specials/pipe41-2S10asis.jpg','images/Tn/pipe41-2S10asis.jpg','Reject 4 &frac12;&#148;OD Schedule 10','This is my personal pick. <BR>I think it is the best deal on the yard! New reject 4 &frac12;&#148;OD Schedule 10 (5.6 lbs. Per ft.) Don&#146;t even ask to break a bundle at this price: call me to get the cost of this deal, </FONT></P><P><FONT face="Arial, Helvetica, sans-serif">That&#146;s right, this is at a great price, call to hear the discount! <BR></FONT></P><P><FONT face="Arial, Helvetica, sans-serif">That&#146;s cheaper than 2 7/8&#148;. Come to think of it, that&#146;s cheaper than 2 3/8&#148;! <BR><B> I don&#146;t know why it is still here!</B></FONT></P>','$.69 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>

*/

