
// 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,300);
		setLayerClip(contentObj,0,600,280,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>Holiday</h1><p>Holidays are a special time of the year … no matter what Holiday it happens to be!  Take a look at some of the traditional … and not so traditional items we’ve created here at Gencarelli’s Bakery.  Then give us a call to tell us about your particular holiday get-together.  We look forward to hearing from you!\n";
	sSec_0_code += "</td></tr></table>";
	sBeginning_code = sSec_0_code;

	var hol1 = "";
	var sSec_1_code = "";
	sSec_1_code =  setup_code + "<p><img src='images/holiday1.jpg' align='right' hspace='8' vspace='5'><h1>Gingerbread House </h1>\n";
	sSec_1_code += "<p>Here’s another traditional holiday favorite … prepared untraditionally at Gencarelli.  We use only the freshest ingredients, to ensure that your holiday party is everything you expect it to be!\n";
	sSec_1_code += "";
	sSec_1_code += "";
	sSec_1_code += "</td></tr></table>";
	hol1 = sSec_1_code;
	
	var hol2 = "";
	var sSec_2_code = "";
	sSec_2_code =  setup_code + "<p><img src='images/holiday2.jpg' align='right' hspace='8' vspace='5'><h1>Christmas Tree </h1>\n";
	sSec_2_code += "<p>At Gencarelli’s, we really enjoy making holiday parties come to life!  Here’s a wonderful cake we created for a small Christmas party.  No matter what the holiday … no matter what the occasion … give us a call and give us an idea of what you’re looking for. We look forward to hearing from you!\n";
	sSec_2_code += "";
	sSec_2_code += "";
	sSec_2_code += "</td></tr></table>";
	hol2 = sSec_2_code;

	var hol3 = "";
	var sSec_3_code = "";
	sSec_3_code =  setup_code + "<p><img src='images/holiday3.jpg' align='right' hspace='8' vspace='5'><h1>Santa Claus </h1>\n";
	sSec_3_code += "<p>Here’s another example of the “Gencarelli originality” at work.  Santa Claus was a “last-minute arrival”  at one of our customer’s home … needless to say, he was enjoyed by all! \n";
	sSec_3_code += "";
	sSec_3_code += "";
	sSec_3_code += "</td></tr></table>";
	hol3 = sSec_3_code;

	var hol4 = "";
	var sSec_4_code = "";
	sSec_4_code =  setup_code + "<p><img src='images/holiday4.jpg' align='right' hspace='8' vspace='5'><h1>Valentine’s Flower</h1>\n";
	sSec_4_code += "<p>Whenever someone mentions “holiday cakes” the first reaction is to think “Christmas” … but did you know Gencarelli’s can prepare a unique … and delicious … dessert to grace any holiday table?  Any holiday … whether it’s Valentine’s Day (commemorated here with one of our wonderfully unique rose pots … Easter … the Fourth of July … Halloween … or Thanksgiving!  A holiday is just around the corner – give us a call to discuss your particular event!\n";
	sSec_4_code += "";
	sSec_4_code += "";
	sSec_4_code += "</td></tr></table>";
	hol4 = sSec_4_code;

	var hol5 = "";
	var sSec_5_code = "";
	sSec_5_code =  setup_code + "<p><img src='images/holiday5.jpg' align='right' hspace='8' vspace='5'><h1>Birthday Cake </h1>\n";
	sSec_5_code += "<p>Yes, I know … birthdays aren’t a holiday … but they ought to be. Especially if it’s yours!  Besides, at Gencarelli’s, we understand that your birthday is an important day.  We’ll put the same care, concern and originality into a birthday cake as we put into all of our fine products!\n";
	sSec_5_code += "<br>&nbsp;<br>By the way, did you know that we can add your photograph to the top of a cake?  \"Photo-cakes\" are great conversation pieces for your next party ... and they taste <i>great</i>, too!  Ask for more information today.";
	sSec_5_code += "";
	sSec_5_code += "</td></tr></table>";
	hol5 = sSec_5_code;
	
