
// this code opens new windows - verify the width and heights work for this particular website
	function open_new_window(url, window_name)
	{
		window.open(url,window_name,'width=600,height=500,toolbar=1,scrollbars=1,directories=1,location=1,status=1,menubar=1,resizable=1');
	}
// end of code opening new windows
// this code controls the dhtml code activated by onclick of the links
	var contentObj;
	var page_loaded = "false";
	function init()
	{
		contentObj = addLayer('content');
		setLayerSize(contentObj,600,280);
		setLayerClip(contentObj,0,600,260,0);
		moveLayerTo(contentObj,160,220);
		showLayer(contentObj);
		setLayerHTML(contentObj,sBeginning_code);
		page_loaded = true;
		preloadImages();
	}		
	window.onload = init;
	function load_1(code_def)
	{
		if(page_loaded == true)
		{
			setLayerHTML(contentObj,code_def);

		}
	}

// code to write the beginning table tags for the opening display in each section - to cut down on load time

	var setup_code = "";
	setup_code =  "<table width='600' border='0' cellpadding='0' cellspacing='0'>\n";
	setup_code += "<tr>\n";
	setup_code += "<td width='600' align='left'>"; 	
//code to set the dynamic html display for the opening homepage content

	var sBeginning_code = "";
	var sSec_0_code = "";
	sSec_0_code =  setup_code;
	sSec_0_code += "<h1>Breads</h1><p>Gencarelli’s Bakery has become as known for our delicious fresh-baked breads as for our sweet treats!  We have one of the area’s largest selections of traditional Italian breads. No matter what the occasion … even if the occasion is “sitting in the kitchen having lunch after doing nothing all morning” … adding some fresh-baked-daily Gencarelli’s bread to the table will be a welcome treat!  Select one of the photos above to see an enlargement and brief description of one of our breads.\n";
	sSec_0_code += "</td></tr></table>";
	sBeginning_code = sSec_0_code;

	var bread1 = "";
	var sSec_1_code = "";
	sSec_1_code =  setup_code + "<p><img src='images/breads1.jpg' align='right' hspace='8' vspace='5'><h1>Assortments</h1>\n";
	sSec_1_code += "<p>At Gencarelli’s, all of our breads are made fresh, every day!  Let us know what you’re serving … we’ll recommend the perfect bread accompaniment! Just like everything else you’ll find here, our breads are made with the finest, freshest ingredients!  Take some home today … you’ll be back tomorrow!\n";
	sSec_1_code += "</td></tr></table>";
	bread1 = sSec_1_code;
	
	var bread2 = "";
	var sSec_2_code = "";
	sSec_2_code =  setup_code + "<p><img src='images/breads2.jpg' align='right' hspace='8' vspace='5'><h1>Italian Ring Bread </h1>\n";
	sSec_2_code += "<p>While this bread is traditionally served around the holidays, our Italian Ring Bread is delicious any time.  With our without seeds, this crusty delight is a great “sauce-dunking” bread when served with your favorite pasta!\n";
	sSec_2_code += "</td></tr></table>";
	bread2 = sSec_2_code;

	var bread3 = "";
	var sSec_3_code = "";
	sSec_3_code =  setup_code + "<p><img src='images/breads3.jpg' align='right' hspace='8' vspace='5'><h1>Bastone</h1>\n";
	sSec_3_code += "<p>Bastone is another traditional Italian bread, although shorter than what typically comes to mind when you think “Italian”.  It’s crispy, flavorful, and makes a great everyday dinner bread.  Stop by and pick some up … we make it fresh every day!\n";
	sSec_3_code += "";
	sSec_3_code += "";
	sSec_3_code += "</td></tr></table>";
	bread3 = sSec_3_code;

	var bread4 = "";
	var sSec_4_code = "";
	sSec_4_code =  setup_code + "<p><img src='images/breads4.jpg' align='right' hspace='8' vspace='5'><h1>Pannella</h1>\n";
	sSec_4_code += "<p>Want a great way to fix up your lunch-time sandwiches?  Think \“Pannella\”, then! This twisted bread (shown on the left in the photograph) is great for Italian sandwiches!  Can’t you just picture one of these babies loaded up with mortadella … some capicolla … a little provolone?  \n";
	sSec_4_code += "</td></tr></table>";
	bread4 = sSec_4_code;

	var bread5 = "";
	var sSec_5_code = "";
	sSec_5_code =  setup_code + "<p><img src='images/breads5.jpg' align='right' hspace='8' vspace='5'><h1>Portuguese Bread</h1>\n";
	sSec_5_code += "<p>At Gencarelli’s, our Portuguese bread is made fresh, every day.  It’s a little lighter than the traditional Italian breads we offer, and not as crispy.  It makes a delicious dinner accompaniment ... and will be a wonderful addition to your Sunday afternoon meal!\n";
	sSec_5_code += "</td></tr></table>";
	bread5 = sSec_5_code;

	
