box_titles =  {
								"110" : "Pad",
								"200" : "Half Slotted Container - Regular Bottom",
								"201" : "Regular Slotted Container",
								"203" : "Full Over Lap Top &amp; Bottom",
								"301" : "Telescoping Lid &amp; Body",
								"409" : "5-Panel Wrap",
								"421" : "Roll End Tuck Top",
								"422" : "Self Locking Tray - Roll Ends",
								"423" : "Self Locking Tray - Roll Sides",
								"425" : "Self Locking Tray - 4 Sides",
								"427" : "Roll End Tuck Front - w/ Dust Flaps"
							};

box_text =    {
								"110" : "",
								"200" : "The Half-Slotted Carton (HSC) is much like the RSC but with flaps only on one end, leaving an open top on the other end.",
								"201" : "The Regular Slotted Carton (RSC) is the most common and economical box style to manufacture. The length panel flaps of the RSC  meet at the center of the box on both the top and bottom.",
								"203" : "The Full Flap Slotted Carton’s (FFSC) has outer flaps that fully overlap.  This offers extra strength and support and is particularly suitable to cartons that have a narrow width.",
								"301" : "Telescoping boxes consist of a separate top and bottom that fit over each other or a separate body. ",
								"409" : "The Five Panel Folder (5PF), when assembled, has multi-layered corrugated ends that make it an excellent container for the shipment of long, flat items.  It is supplied flat for you to wrap around your product.",
								"421" : "Designed to have locking side flaps with a top that tucks into the front and side panels for closer.",
								"422" : "Formed from a single piece of corrugate designed into an unbroken bottom with several layer in the end panels.",
								"423" : "Formed from a single piece of corrugate designed into an unbroken bottom with several layer in the side panels.",
								"425" : "Formed from a single piece of corrugate designed into an unbroken bottom with several layer side created from 4 self locking side panels.",
								"427" : "Designed to have locking side flaps with a top that tucks into the front and side panels for closer.",
								"none" : ""
							}
/* -----------------12/14/2007 10:00AM---------------
 hidePicture
 --------------------------------------------------*/
function hidePicture()
{
	if ( document.getElementById('box_image') )
		document.getElementById('box_image').src = '';
  if ( document.getElementById('image_div') )
		document.getElementById('image_div').style.display = 'none';
	assignClass('container_boxes', '');
}

/* -----------------12/14/2007 10:00AM---------------
 assignClass - Dynamically assign a class to a DIV
 --------------------------------------------------*/
function assignClass(el, selector) {

	if ( document.getElementById(el) ) {
	  document.getElementById(el).className = selector;
	}

}

/* -----------------12/14/2007 10:00AM---------------
 showPicture
 --------------------------------------------------*/
function showPicture(sStyle, sLookup) {

	var sPic = '';
	var nWidth = 500;

	sTextLookup = typeof(sLookup) == 'undefined' ? sStyle : 'none';
	sLookup = typeof(sLookup) != 'undefined' ? sLookup : sStyle;

	sPic = 'images/boxes/' + sStyle + '.gif';
	assignClass('container_boxes', 'mask');
	if ( document.getElementById('box_image') ) {
		document.getElementById('box_image').src = sPic;
//		nWidth = document.getElementById('box_image').style.width - 20;
	}
  if ( document.getElementById('image_div') )
		document.getElementById('image_div').style.display = 'block';
	if ( sLookup != '' )
	if ( document.getElementById('box_title') )
		document.getElementById('box_title').innerHTML = box_titles[sLookup];
	if ( document.getElementById('box_text') )
		document.getElementById('box_text').innerHTML = box_text[sTextLookup];

//	if ( document.getElementById('box_para') )
//		document.getElementById('box_para').style.width = nWidth + 'px';

}

/* -----------------12/14/2007 10:00AM---------------
 showSuppliedPicture
 --------------------------------------------------*/
function showSuppliedPicture(sPicIn, sTitle, sText) {

	var sPic = '';

	sPic = 'images/boxes/' + sPicIn;
	assignClass('container_boxes', 'mask');
	if ( document.getElementById('box_image') ) {
		document.getElementById('box_image').src = sPic;
	}
  if ( document.getElementById('image_div') )
		document.getElementById('image_div').style.display = 'block';

	if ( document.getElementById('box_title') )
		document.getElementById('box_title').innerHTML = sTitle;
	if ( document.getElementById('box_text') )
		document.getElementById('box_text').innerHTML = sText;

}

