RolloverObjects=new Array();
selected = "";
selectedSub = "";
selectedBelow = "";

Rollover = function(name, img)
{
	RolloverObjects[name]=new Image();
	RolloverObjects[name].img_src = img;
	if (!Rollover.postLoad) RolloverObjects[name].src = img;
}
Rollover.postLoad = false;

Rollover.loadImages = function()
{
	var i;
	for(i in RolloverObjects)
	{
		r=RolloverObjects[i];
		r.src=r.img_src;
    }
}

Rollover.error = function(n)
{
	alert("Rollover - An Error has been detected\n"
	+ "----------------------------------\n"
	+ "You must define a JSFX.Rollover in your document\n"
	+ "JSFX.Rollover(\""+n+"\",\"your_on_img.gif\")\n"
	+ "(check the spelling of your Rollovers)");
}

getImg = function(n, d) 
{
	var img = d.images[n];
	if(!img && d.layers)  
		for(var i=0 ; !img && i<d.layers.length ; i++)
			img=JSFX.getImg(n,d.layers[i].document);
	return img;
}

findImg = function(n, d) 
{
	var img = getImg(n, d);

	if(!img)
	{
		alert("findImg - An Error has been detected\n"
			+ "----------------------------------\n"
			+ "You must define an image in your document\n"
			+ "<IMG SRC=\"your_image.ext\" NAME=\""+n+"\">\n"
			+ "(check the NAME= attribute of your images)");

		return(new Image());
	}
	return img;
}

swapImageOn = function(imgName)
{
	if(!RolloverObjects[imgName]) {
		Rollover.error(imgName);
		return;
	}

	var img = findImg(imgName, document);
	var length = img.src.length;
	var type = img.src.substring(length-7, length-4);
	var name = imgName.substring(0, imgName.length-3);

	if (type != "003") {
		if (selectedBelow!=imgName.toString()) {
			var img = findImg(imgName, document);
			img.src=RolloverObjects[name+"002"].img_src;
		} else {
    		var img = findImg(imgName, document);
			img.src=RolloverObjects[name+"005"].img_src;
		}		    
	}
}
swapImageOff = function(imgName)
{
	if(!RolloverObjects[imgName]) {
		Rollover.error(imgName);
		return;
	}

	var img = findImg(imgName, document);
	var length = img.src.length;
	var type = img.src.substring(length-7, length-4);
	var name = imgName.substring(0, imgName.length-3);

	if (type != "003") {
	    	if (selectedBelow!=imgName.toString()) {
    		var img = findImg(imgName, document);
			img.src=RolloverObjects[name+"001"].img_src;
		} else {
			var img = findImg(imgName, document);
			img.src=RolloverObjects[name+"004"].img_src;
		}		    
	}
}

swapImage = function(imgName)
{
	var img = findImg("pic", document);
	img.src=RolloverObjects[imgName].img_src;
}

selectButton = function(imgName, imgBelow)
{
	var img;
	var name;

	if ((selected != imgName) && (selectedSub != imgName))
	{
		if (selectedSub != "")
		{
			img = findImg(selectedSub, document);
			img.src=RolloverObjects[selectedSub].img_src;
		}
		if (selectedBelow != "")
		{
			img = findImg(selectedBelow, document);
			img.src=RolloverObjects[selectedBelow].img_src;
		}
		
		if (imgBelow != null)
		{		
			name = imgName.substring(0, imgName.length-3);
			img = findImg(imgName, document);
			img.src=RolloverObjects[name+"003"].img_src;
		
			name = imgBelow.substring(0, imgBelow.length-3);
			img = findImg(imgBelow, document);
			img.src=RolloverObjects[name+"004"].img_src;
			
			selectedSub = imgName;
			selectedBelow = imgBelow
		}
		else
		{
			if (selected != "")
			{
				img = findImg(selected, document);
				img.src=RolloverObjects[selected].img_src;
				selected = "";
			}
		
			if (imgName != "home")
			{
				name = imgName.substring(0, imgName.length-3);
				img = findImg(imgName, document);
				img.src=RolloverObjects[name+"003"].img_src;
				selected = imgName;
			}

			selectedSub = "";
			selectedBelow = "";
		}					
	}
}

submenu = function(event_id)
{
	document.getElementById('empty_sub').style.display="none";
	document.getElementById('about_sub').style.display="none";
	document.getElementById('cuisine_sub').style.display="none";
	document.getElementById('libations_sub').style.display="none";
	document.getElementById('recipes_sub').style.display="none";
	document.getElementById('private_events_sub').style.display="none";
	document.getElementById('contact_us_sub').style.display="none";

	if(event_id=="all") {
		document.getElementById('empty_sub').style.display="";
		document.getElementById('about_sub').style.display="";
		document.getElementById('cuisine_sub').style.display="";
		document.getElementById('libations_sub').style.display="";
		document.getElementById('recipes_sub').style.display="";
		document.getElementById('private_events_sub').style.display="";
		document.getElementById('contact_us_sub').style.display="";
	} else if(event_id=="empty") {
		document.getElementById('empty_sub').style.display="";
	} else if(event_id=="about") {
		document.getElementById('about_sub').style.display="";
	} else if(event_id=="cuisine") {
		document.getElementById('cuisine_sub').style.display="";
	} else if(event_id=="libations") {
		document.getElementById('libations_sub').style.display="";
	} else if(event_id=="recipes") {
		document.getElementById('recipes_sub').style.display="";
	} else if(event_id=="private_events") {
		document.getElementById('private_events_sub').style.display="";
	} else {
		document.getElementById('contact_us_sub').style.display="";
	}
}

changeUrl = function(url)
{
    var theiframe = document.getElementById('content');
    	theiframe.src = url;
}

function ImagePreloader(images,callback)
{
	this.callback = callback;

	this.nLoaded = 0;
	this.nProcessed = 0;
	this.aImages = new Array;

	this.nImages = images.length;

	for ( var i = 0; i < images.length; i++ ) 
		this.preload(images[i]);
}
ImagePreloader.prototype.preload = function(image)
{
	var oImage = new Image;
	this.aImages.push(oImage);
	
	oImage.onload = ImagePreloader.prototype.onload;
	oImage.onerror = ImagePreloader.prototype.onerror;
	oImage.onabort = ImagePreloader.prototype.onabort;
	
	oImage.oImagePreloader = this;
	oImage.bLoaded = false;
	oImage.source = image;
	
	oImage.src = image;
}
ImagePreloader.prototype.onComplete = function()
{
	this.nProcessed++;
	if ( this.nProcessed == this.nImages )
		this.callback(this.aImages);
}
ImagePreloader.prototype.onload = function()
{
	this.bLoaded = true;
	this.oImagePreloader.nLoaded++;
	this.oImagePreloader.onComplete();
}
ImagePreloader.prototype.onerror = function()
{
	this.bError = true;
	this.oImagePreloader.onComplete();
}
ImagePreloader.prototype.onabort = function()
{
	this.bAbort = true;
	this.oImagePreloader.onComplete();
}
function onPreloadHome()
{
	var oDiv = document.getElementById('homeDiv');
	var ac = '<img src="images/homePage1.jpg" border="0" width="650" height="135" />';
	ac += '<img src="images/homePage2.jpg" border="0" width="228" height="290" />';
	ac += '<p class="FGB size_13 home">';
	ac += 'at <font color="c38901">our core</font>, we\'re just a mom and pop establishment.<br />';
	ac += 'that food is a metaphor for the <font color="c38901">good things in life</font>.<br />';
	ac += 'there\'s no substitute for <font color="c38901">live</font> charcoal.<br />';
	ac += 'that <font color="c38901">ingredients</font> are more important than recipes.<br />';
	ac += 'in <font color="c38901">honoring</font> thy farmer.<br />';
	ac += 'in <font color="c38901">sauces</font> and <font color="c38901">history</font>.<br />';
	ac += 'forced formality is for fakers.<br />';
	ac += 'our <font color="c38901">wine list rocks</font>.<br />';
	ac += 'if you\'re not <font color="c38901">enjoying yourself</font>, neither are we.<br />';
	ac += 'that a room full of people dressed for dinner is thing of <font color="c38901">beauty</font>.<br />';
	ac += 'that <font color="c38901">visual art</font> makes great foreplay.<br />';
	ac += 'in understated <font color="c38901">elegance</font> and sensual minimalism.<br />';
	ac += 'that <font color="c38901">excellence</font> and <font color="c38901">consistency</font> ';
	ac += 'are our middle names.<br /><br />';
	ac += 'We Believe in <font color="c38901">withstanding the test of time</font>.<br /></p>';
	oDiv.innerHTML = ac;
}
function onPreloadGallery()
{
	var oDiv = document.getElementById('picDiv');

	var ac = '<img src="../galleryPics/about_gallery1.jpg" border="0" width="650" height="144" usemap="#gallery1" />';
	ac += '<img src="../galleryPics/about_gallery2.jpg" border="0" width="53" height="281" usemap="#gallery2" />';
	ac += '<img src="../galleryPics/about_galleryPic016.jpg" border="0" width="391" height="271" ';
	ac += 'name="pic" style="position:absolute;left:248;top:149;" />\n';

	oDiv.innerHTML = ac;
	oDiv = document.getElementById('picText1');
	ac = 'private dining room art:<br />special thanks to<br />the carl hammer gallery<br />';
	ac += 'and renowned artist,<br />martin mull';
	oDiv.innerHTML = ac;
	oDiv = document.getElementById('picText2');
	ac = 'dining room prints : <br />"Kepler" and "Oteiza"<br />by richard serra';
	oDiv.innerHTML = ac;
	oDiv = document.getElementById('picText3');
	ac = 'lounge art : <br />"abstract alice"<br />by gregory giesey';
	oDiv.innerHTML = ac;
	oDiv = document.getElementById('picText4');
	ac = '<table width="182" class="FGB size_12">';
	ac += '<tr><td align="right">photography:</td></tr>';
	ac += '<tr><td align="right">by Ryan Robinson</td></tr></table>';
	oDiv.innerHTML = ac;
}

function onPreloadInfo()
{
	var oDiv = document.getElementById('infoDiv');

	var ac = '<img src="images/topLogo.jpg" class="logo" name="logo" id="logo" ';
	ac += 'onClick="selectButton(\'mainNav_about_001\');submenu(\'about\');changeUrl(\'home.html\');" ';
	ac += 'width="125" height="115" border="0" style="cursor:hand" />\n';

	ac += '<img src="images/single_pixel.gif" height="114" width="123">';
  ac += '<object width="675" height="90">';
	ac += '<param name="movie" value="mkBanner.swf">';
	ac += '<embed src="images/mkBanner.swf" width="675" height="90">';
	ac += '</embed>';
	ac += '</object>';
	
	ac += '<img src="images/bkgrdAddress.jpg" width="800" height="30" class="address" />';

	oDiv.innerHTML = ac;
}

function jsAddSwaps(imgName) {
	return 'onMouseOver="swapImageOn(\'' + imgName + '\');" onMouseOut="swapImageOff(\'' + imgName + '\');" ';
}
function onPreload()
{
	var oDiv = document.getElementById('afterDiv');

	var ac = '<img src="images/navH_glance_001.jpg" name="navH_glance_001" class="glance" ';	
	ac += jsAddSwaps("navH_glance_001");
	ac += 'onClick="selectButton(\'navH_glance_001\');submenu(\'empty\');changeUrl(\'other/glance.html\');" ';
	ac += 'width="88" height="25" border="0" />';

	ac += '<img src="images/navH_reserv_001.jpg" name="navH_reserv_001" class="reserve" ';
	ac += jsAddSwaps("navH_reserv_001");
	ac += 'onClick="openTable();" ';
	ac += 'width="99" height="25" border="0" />';

	ac += '<img src="images/navH_gift_001.jpg" name="navH_gift_001" class="gift" ';
	ac += jsAddSwaps("navH_gift_001");
	ac += 'onClick="selectButton(\'navH_gift_001\');submenu(\'empty\');changeUrl(\'other/gift.html\');" ';
	ac += 'width="133" height="25" border="0" />';

	ac += '<img src="images/nav_topline.jpg" name="nav_topline" class="topline" width="150" height="26" border="0" />';

	ac += '<img src="images/comingNav_soon_001.jpg" name="comingNav_soon_001" class="main_zero" width="150" height="18" border="0" ';
	ac += jsAddSwaps("comingNav_soon_001");
	ac += 'onClick="selectButton(\'comingNav_soon_001\'); ';
	ac += 'submenu(\'about\'); ';
	ac += 'changeUrl(\'coming_soon/pe_info.html\')" />';

	ac += '<img src="images/mainNav_about_001.jpg" name="mainNav_about_001" class="main_one" width="150" height="18" border="0" ';
	ac += jsAddSwaps("mainNav_about_001");
	ac += 'onClick="selectButton(\'mainNav_about_001\'); ';
	ac += 'submenu(\'about\'); ';
	ac += 'changeUrl(\'home.html\')" />';
	


	ac += '<img src="images/mainNav_cuisine_001.jpg" name="mainNav_cuisine_001" class="main_two" width="150" height="18" border="0" ';
	ac += jsAddSwaps("mainNav_cuisine_001");
	ac += 'onClick="selectButton(\'mainNav_cuisine_001\'); ';
	ac += 'selectButton(\'cuisine_dinner_001\',\'cuisine_degust_001\'); ';
	ac += 'submenu(\'cuisine\'); ';
	ac += 'changeUrl(\'cuisine/cuisine_dinner.html\');" />';

	ac += '<img src="images/mainNav_lib_001.jpg" name="mainNav_lib_001" class="main_three" width="150" height="18" border="0" ';
	ac += jsAddSwaps("mainNav_lib_001");
	ac += 'onClick="selectButton(\'mainNav_lib_001\'); ';
	ac += 'selectButton(\'lib_wlist_001\',\'lib_special_001\'); ';
	ac += 'submenu(\'libations\'); ';
	ac += 'changeUrl(\'libations/lib_wlist.html\');" /> ';
 
	ac += '<img src="images/mainNav_recipe_001.jpg" name="mainNav_recipe_001" class="main_four" width="150" height="18" border="0" ';
	ac += jsAddSwaps("mainNav_recipe_001");
	ac += 'onClick="selectButton(\'mainNav_recipe_001\'); ';
	ac += 'selectButton(\'recipe_baby_001\',\'recipe_celery_001\'); ';
	ac += 'submenu(\'recipes\'); ';
	ac += 'changeUrl(\'recipes/recipes_baby.html\');" /> ';

	ac += '<img src="images/mainNav_pe_001.jpg" name="mainNav_pe_001" class="main_five" width="150" height="18" border="0" ';
	ac += jsAddSwaps("mainNav_pe_001");
	ac += 'onClick="selectButton(\'mainNav_pe_001\'); ';
	ac += 'selectButton(\'pe_info_001\',\'pe_menus_001\'); ';
	ac += 'submenu(\'private_events\'); ';
	ac += 'changeUrl(\'privateEvents/pe_info.html\');" /> ';

	ac += '<img src="images/mainNav_contact_001.jpg" name="mainNav_contact_001" ';
	ac += jsAddSwaps("mainNav_contact_001");
	ac += 'onClick="selectButton(\'mainNav_contact_001\');submenu(\'contact_us\');changeUrl(\'test_MK_contact/contact.php\');" ';
	ac += 'class="main_six" width="150" height="18" border="0" /> ';

	ac += '<img src="images/nav_middleline.jpg" name="nav_middleline" class="middleline" width="150" height="50" border="0" /> ';

	ac += '<div class="menu" id="empty_sub"> ';
	ac += '<a href="http://www.mapquest.com/maps/map.adp?';
	ac += 'formtype=address&addtohistory=&address=868%20N%20Franklin%20St&city=Chicago&state=IL';
	ac += '&zipcode=60610%2d3114&country=US&geodiff=1" target="_blank">';
	ac += '<img src="images/empty_bottom.jpg" name="empty_bottom" class="sub_one" ';
	ac += '	width="150" height="240" border=0 /></a>';
	ac += '</div> ';

	ac += '<div class="menu" id="about_sub" style="display:none"> ';
	ac += '<img src="images/about_bios_001.jpg" name="about_bios_001" class="sub_one" ';
	ac += jsAddSwaps("about_bios_001");
	ac += 'onClick="selectButton(\'about_michael_001\',\'about_toddkate_001\');changeUrl(\'about/about_michael.html\');" ';
	ac += 'width="150" height="18" border=0 /> ';

	ac += '<img src="images/about_michael_001.jpg" name="about_michael_001" class="sub_two" ';
	ac += jsAddSwaps("about_michael_001");
	ac += 'onClick="selectButton(\'about_michael_001\',\'about_toddkate_001\');changeUrl(\'about/about_michael.html\');" ';
	ac += 'width="150" height="18" border=0 /> ';

	ac += '<img src="images/about_toddkate_001.jpg" name="about_toddkate_001" class="sub_three" ';
	ac += jsAddSwaps("about_toddkate_001");
	ac += 'onClick="selectButton(\'about_toddkate_001\',\'about_erick_001\');changeUrl(\'about/about_bios2.html\');" ';
	ac += 'width="150" height="18" border=0 /> ';
	
	ac += '<img src="images/about_erick_001.jpg" name="about_erick_001" class="sub_four" ';
	ac += jsAddSwaps("about_erick_001");
	ac += 'onClick="selectButton(\'about_erick_001\',\'about_photo_001\');changeUrl(\'about/about_erick.html\');" ';
	ac += 'width="150" height="18" border=0 /> ';

	ac += '<img src="images/about_photo_001.jpg" name="about_photo_001" class="sub_five" ';
	ac += jsAddSwaps("about_photo_001");
	ac += 'onClick="selectButton(\'about_photo_001\',\'about_reviews_001\');changeUrl(\'about/about_photos.html\');" ';
	ac += 'width="150" height="18" border=0 /> ';

	ac += '<img src="images/about_reviews_001.jpg" name="about_reviews_001" class="sub_six" ';
	ac += jsAddSwaps("about_reviews_001");
	ac += 'onClick="selectButton(\'about_reviews_001\',\'about_friends_001\');changeUrl(\'about/about_reviews.html\');" ';
	ac += 'width="150" height="18" border=0 /> ';

	ac += '<img src="images/about_friends_001.jpg" name="about_friends_001" class="sub_seven" ';
	ac += jsAddSwaps("about_friends_001");
	ac += 'onClick="selectButton(\'about_friends_001\',\'about_bottom_001\');changeUrl(\'about/about_friends.html\');" ';
	ac += 'width="150" height="18" border=0 /> ';

	ac += '<img src="images/about_bottom_001.jpg" name="about_bottom_001" class="sub_eight" ';
	ac += 'width="150" height="132" border=0 /> ';
	ac += '</div> ';

	ac += '<div class="menu" id="cuisine_sub" style="display:none"> ';
	ac += '<img src="images/cuisine_dinner_001.jpg" name="cuisine_dinner_001" class="sub_one" ';
	ac += jsAddSwaps("cuisine_dinner_001");
	ac += 'onClick="selectButton(\'cuisine_dinner_001\',\'cuisine_degust_001\');changeUrl(\'cuisine/cuisine_dinner.html\');" ';
	ac += 'width="150" height="18" border=0 /> ';

	ac += '<img src="images/cuisine_degust_001.jpg" name="cuisine_degust_001" class="sub_two" ';
	ac += jsAddSwaps("cuisine_degust_001");
	ac += 'onClick="selectButton(\'cuisine_degust_001\',\'cuisine_dessert_001\');changeUrl(\'cuisine/cuisine_degustation.html\');" ';
	ac += 'width="150" height="18" border=0 /> ';

	ac += '<img src="images/cuisine_dessert_001.jpg" name="cuisine_dessert_001" class="sub_three" ';
	ac += jsAddSwaps("cuisine_dessert_001");
	ac += 'onClick="selectButton(\'cuisine_dessert_001\',\'cuisine_fromage_001\');changeUrl(\'cuisine/cuisine_dessert.html\');" ';
	ac += 'width="150" height="18" border=0 /> ';

	ac += '<img src="images/cuisine_fromage_001.jpg" name="cuisine_fromage_001" class="sub_four" ';
	ac += jsAddSwaps("cuisine_fromage_001");
	ac += 'onClick="selectButton(\'cuisine_fromage_001\',\'cuisine_add_001\');changeUrl(\'cuisine/cuisine_fromage.html\');" ';
	ac += 'width="150" height="18" border=0 /> ';

	ac += '<img src="images/cuisine_add_001.jpg" name="cuisine_add_001" class="sub_five" ';
	ac += jsAddSwaps("cuisine_add_001");
	ac += 'onClick="selectButton(\'cuisine_add_001\',\'cuisine_bottom_001\');changeUrl(\'cuisine/cuisine_additional.html\');" ';
	ac += 'width="150" height="18" border=0 /> ';

	ac += '<img src="images/cuisine_bottom_001.jpg" name="cuisine_bottom_001" class="sub_six" ';
	ac += 'width="150" height="150" border=0 /> ';
	ac += '</div> ';

	ac += '<div class="menu" id="libations_sub" style="display:none"> ';
	ac += '<img src="images/lib_wlist_001.jpg" name="lib_wlist_001" class="sub_one" ';
	ac += jsAddSwaps("lib_wlist_001");
	ac += 'onClick="selectButton(\'lib_wlist_001\',\'lib_special_001\');changeUrl(\'libations/lib_wlist.html\');" ';
	ac += 'width="150" height="18" border=0 /> ';

	ac += '<img src="images/lib_special_001.jpg" name="lib_special_001" class="sub_two" ';
	ac += jsAddSwaps("lib_special_001");
	ac += 'onClick="selectButton(\'lib_special_001\',\'lib_bottom_001\');changeUrl(\'libations/lib_special.html\');" ';
	ac += 'width="150" height="18" border=0 /> ';

	ac += '<img src="images/lib_bottom_001.jpg" name="lib_bottom_001" class="sub_three" ';
	ac += 'width="150" height="204" border=0 /> ';
	ac += '</div> ';

	ac += '<div class="menu" id="recipes_sub" style="display:none"> ';
	ac += '<img src="images/recipe_baby_001.jpg" name="recipe_baby_001" class="sub_one" ';
	ac += jsAddSwaps("recipe_baby_001");
	ac += 'onClick="selectButton(\'recipe_baby_001\',\'recipe_celery_001\');changeUrl(\'recipes/recipes_baby.html\');" ';
	ac += 'width="150" height="18" border=0 /> ';

	ac += '<img src="images/recipe_celery_001.jpg" name="recipe_celery_001" class="sub_two" ';
	ac += jsAddSwaps("recipe_celery_001");
	ac += 'onClick="selectButton(\'recipe_celery_001\',\'recipe_rabbit_001\');changeUrl(\'recipes/recipes_celery.html\');" ';
	ac += 'width="150" height="18" border=0 /> ';

	ac += '<img src="images/recipe_rabbit_001.jpg" name="recipe_rabbit_001" class="sub_three" ';
	ac += jsAddSwaps("recipe_rabbit_001");
	ac += 'onClick="selectButton(\'recipe_rabbit_001\',\'recipe_coffee_001\');changeUrl(\'recipes/recipes_rabbit.html\');" ';
	ac += 'width="150" height="18" border=0 /> ';

	ac += '<img src="images/recipe_coffee_001.jpg" name="recipe_coffee_001" class="sub_four" ';
	ac += jsAddSwaps("recipe_coffee_001");
	ac += 'onClick="selectButton(\'recipe_coffee_001\',\'recipe_peach_001\');changeUrl(\'recipes/recipes_coffee.html\');" ';
	ac += 'width="150" height="18" border=0 /> ';

	ac += '<img src="images/recipe_peach_001.jpg" name="recipe_peach_001" class="sub_five" ';
	ac += jsAddSwaps("recipe_peach_001");
	ac += 'onClick="selectButton(\'recipe_peach_001\',\'recipe_bottom_001\');changeUrl(\'recipes/recipes_peach.html\');" ';
	ac += 'width="150" height="18" border=0 /> ';
	
	ac += '<img src="images/recipe_apple_001.jpg" name="recipe_apple_001" class="sub_six" ';
	ac += jsAddSwaps("recipe_peach_001");
	ac += 'onClick="selectButton(\'recipe_apple_001\',\'recipe_bottom_001\');changeUrl(\'recipes/recipes_apple.html\');" ';
	ac += 'width="150" height="18" border=0 /> ';
	
	ac += '<img src="images/recipe_pears_001.jpg" name="recipe_pears_001" class="sub_seven" ';
	ac += jsAddSwaps("recipe_pears_001");
	ac += 'onClick="selectButton(\'recipe_pears_001\',\'recipe_bottom_001\');changeUrl(\'recipes/recipes_pears.html\');" ';
	ac += 'width="150" height="18" border=0 /> ';

	ac += '<img src="images/recipe_bottom_001.jpg" name="recipe_bottom_001" class="sub_eight" ';
	ac += 'width="150" height="150" border=0 /> ';
	ac += '</div> ';

	ac += '<div class="menu" id="private_events_sub" style="display:none"> ';

	ac += '<img src="images/pe_info_001.jpg" name="pe_info_001" class="sub_one" ';
	ac += jsAddSwaps("pe_info_001");
	ac += 'onClick="selectButton(\'pe_info_001\',\'pe_menus_001\');changeUrl(\'privateEvents/pe_info.html\');" ';
	ac += 'width="150" height="18" border=0 /> ';

	ac += '<img src="images/pe_menus_001.jpg" name="pe_menus_001" class="sub_two" ';
	ac += jsAddSwaps("pe_menus_001");
	ac += 'onClick="selectButton(\'pe_sample_001\',\'pe_hors_001\');changeUrl(\'privateEvents/pe_sample.html\');" ';
	ac += 'width="150" height="18" border=0 /> ';

	ac += '<img src="images/pe_sample_001.jpg" name="pe_sample_001" class="sub_three" ';
	ac += jsAddSwaps("pe_sample_001");
	ac += 'onClick="selectButton(\'pe_sample_001\',\'pe_hors_001\');changeUrl(\'privateEvents/pe_sample.html\');" ';
	ac += 'width="150" height="18" border=0 /> ';

	ac += '<img src="images/pe_hors_001.jpg" name="pe_hors_001" class="sub_four" ';
	ac += jsAddSwaps("pe_hors_001");
	ac += 'onClick="selectButton(\'pe_hors_001\',\'pe_begin_001\');changeUrl(\'privateEvents/pe_hors.html\');" ';
	ac += 'width="150" height="18" border=0 /> ';

	ac += '<img src="images/pe_begin_001.jpg" name="pe_begin_001" class="sub_five" ';
	ac += jsAddSwaps("pe_begin_001");
	ac += 'onClick="selectButton(\'pe_begin_001\',\'pe_lunch_001\');changeUrl(\'privateEvents/pe_begin.html\');" ';
	ac += 'width="150" height="18" border=0 /> ';

	ac += '<img src="images/pe_lunch_001.jpg" name="pe_lunch_001" class="sub_six" ';
	ac += jsAddSwaps("pe_lunch_001");
	ac += 'onClick="selectButton(\'pe_lunch_001\',\'pe_main_001\');changeUrl(\'privateEvents/pe_lunch.html\');" ';
	ac += 'width="150" height="18" border=0 /> ';

	ac += '<img src="images/pe_main_001.jpg" name="pe_main_001" class="sub_seven" ';
	ac += jsAddSwaps("pe_main_001");
	ac += 'onClick="selectButton(\'pe_main_001\',\'pe_desserts_001\');changeUrl(\'privateEvents/pe_main.html\');" ';
	ac += 'width="150" height="18" border=0 /> ';

	ac += '<img src="images/pe_desserts_001.jpg" name="pe_desserts_001" class="sub_eight" ';
	ac += jsAddSwaps("pe_desserts_001");
	ac += 'onClick="selectButton(\'pe_desserts_001\',\'pe_wservice_001\');changeUrl(\'privateEvents/pe_desserts.html\');" ';
	ac += 'width="150" height="18" border=0 /> ';

	ac += '<img src="images/pe_wservice_001.jpg" name="pe_wservice_001" class="sub_nine" ';
	ac += jsAddSwaps("pe_wservice_001");
	ac += 'onClick="selectButton(\'pe_wservice_001\',\'pe_contract_001\');changeUrl(\'privateEvents/pe_wservice.html\');" ';
	ac += 'width="150" height="18" border=0 /> ';

	ac += '<img src="images/pe_contract_001.jpg" name="pe_contract_001" class="sub_ten" ';
	ac += jsAddSwaps("pe_contract_001");
	ac += 'onClick="selectButton(\'pe_contract_001\',\'pe_bottom_001\');changeUrl(\'privateEvents/pe_contract.html\');" ';
	ac += 'width="150" height="18" border=0 /> ';

	ac += '<img src="images/pe_bottom_001.jpg" name="pe_bottom_001" class="sub_eleven" ';
	ac += jsAddSwaps("pe_bottom_001");
	ac += 'width="150" height="60" border=0 /> ';
	ac += '</div> ';

	ac += '<div class="menu" id="contact_us_sub" style="display:none"> ';
	ac += '<a href="http://www.mapquest.com/maps/map.adp?';
	ac += 'formtype=address&addtohistory=&address=868%20N%20Franklin%20St&city=Chicago&state=IL';
	ac += '&zipcode=60610%2d3114&country=US&geodiff=1" target="_blank">';
	ac += '<img src="images/contact_bottom.jpg" name="contact_bottom" class="sub_one" ';
	ac += 'width="150" height="240" border=0 /></a>';
	ac += '</div> ';

	oDiv.innerHTML = ac;

	selectButton('mainNav_about_001');
	submenu('about');
}

function printPage(url) {
	var windowPage;
	windowPage = window.open(url, "", 'Width=800,Height=600, margin=0,scrollbars=yes,resizable=yes');
	windowPage.print();
}

function openPage(url) {
	var windowPage;
	windowPage = window.open(url, "", 'Width=800,Height=600, margin=0,scrollbars=yes,resizable=yes');
}

function openTable() {
	var windowPage;
	windowPage = window.open("http://www.opentable.com/single.aspx?rid=252&restref=252", "", 'Width=800,Height=350, margin=0,scrollbars=yes,resizable=yes');
}
