/******************************
PRELOAD IMAGES
******************************/

//path to where the images are
var pth="../images/"

var imgArray = new Array();

function preloadImages(){
	for (i=0; i<preloadImages.arguments.length; i++){
	imgArray[i] = new Image();
	imgArray[i].src = pth+preloadImages.arguments[i];
	}
}

//all of the image files
preloadImages('navigation/home_up.gif', 'navigation/home_over.gif', 'navigation/home_down.gif','navigation/company_up.gif', 'navigation/company_over.gif', 'navigation/company_down.gif', 'navigation/products_up.gif', 'navigation/products_over.gif', 'navigation/products_down.gif', 'navigation/contact_up.gif', 'navigation/contact_over.gif', 'navigation/contact_down.gif', 'preslayer/navbar_right.gif', 'preslayer/top_images.jpg', 'company/company_pic.jpg', 'home/storefront.jpg', 'home/tray.jpg', 'logo/logo.jpg', 'products/thumbnails_big/baklawa/assabeh.jpg','products/thumbnails_big/baklawa/assorted_baklawa.jpg', 'products/thumbnails_big/baklawa/baklawa_pistachios.jpg', 'products/thumbnails_big/baklawa/baklawa_walnuts.jpg', 'products/thumbnails_big/baklawa/balaurieh.jpg', 'products/thumbnails_big/baklawa/bassma.jpg', 'products/thumbnails_big/baklawa/borma.jpg', 'products/thumbnails_big/baklawa/kolshkor.jpg', 'products/thumbnails_big/baklawa/mafroukeh.jpg', 'products/thumbnails_big/baklawa/swar.jpg', 'products/thumbnails_big/baklawa/wardeh.jpg', 'products/thumbnails_big/others/coconut_macaron.jpg', 'products/thumbnails_big/others/ghoraybeh.jpg', 'products/thumbnails_big/others/knefeh.jpg', 'products/thumbnails_big/others/loukoum.jpg', 'products/thumbnails_big/others/marzipan.jpg', 'products/thumbnails_big/others/nammoura.jpg', 'products/thumbnails_big/others/salted_sticks.jpg', 'products/thumbnails_big/mammoul/karabiges_madd.jpg', 'products/thumbnails_big/mammoul/karabiges_natef.jpg', 'products/thumbnails_big/mammoul/mammoul_dates.jpg', 'products/thumbnails_big/mammoul/mammoul_pistachios.jpg', 'products/thumbnails_big/mammoul/mammoul_walnuts.jpg', 'products/thumbnails_big/occasions/petits_four.jpg', 'products/thumbnails_big/mammoul/tray_mix.jpg', 'products/thumbnails_sm/baklawa/assabeh.jpg','products/thumbnails_sm/baklawa/assorted_baklawa.jpg', 'products/thumbnails_sm/baklawa/baklawa_pistachios.jpg', 'products/thumbnails_sm/baklawa/baklawa_walnuts.jpg', 'products/thumbnails_sm/baklawa/balaurieh.jpg', 'products/thumbnails_sm/baklawa/bassma.jpg', 'products/thumbnails_sm/baklawa/borma.jpg', 'products/thumbnails_sm/baklawa/kolshkor.jpg', 'products/thumbnails_sm/baklawa/mafroukeh.jpg', 'products/thumbnails_sm/baklawa/swar.jpg', 'products/thumbnails_sm/baklawa/wardeh.jpg', 'products/thumbnails_sm/others/coconut_macaron.jpg', 'products/thumbnails_sm/others/ghoraybeh.jpg', 'products/thumbnails_sm/others/knefeh.jpg', 'products/thumbnails_sm/others/loukoum.jpg', 'products/thumbnails_sm/others/marzipan.jpg', 'products/thumbnails_sm/others/nammoura.jpg', 'products/thumbnails_sm/others/salted_sticks.jpg', 'products/thumbnails_sm/mammoul/karabiges_madd.jpg', 'products/thumbnails_sm/mammoul/karabiges_natef.jpg', 'products/thumbnails_sm/mammoul/mammoul_dates.jpg', 'products/thumbnails_sm/mammoul/mammoul_pistachios.jpg', 'products/thumbnails_sm/mammoul/mammoul_walnuts.jpg', 'contact/map.gif' ); 


/******************************
ROLLOVER BUTTONS
******************************/

function swapImage1(imgTag, imgName)
	{
		// changes the image tag to the image source on level 2
		document.images[imgTag].src="../images/navigation/"+imgName;
	}
	
function swapImage(imgTag, imgName)
	{
		// changes the image tag to the image source for homepage
		document.images[imgTag].src="images/navigation/"+imgName;
	}

/******************************
POP UPS - BAKLAWA
******************************/

	//pop up - assabeh
   function assabeh() 
   {
   var OpenWindow=window.open("assabeh", "newwin","height=360,width=400");
   OpenWindow.document.write("<p align='center'><img src='../images/products/thumbnails_big/baklawa/assabeh.jpg'><br /><br />")
   OpenWindow.document.write("<font size='1' face='verdana'><strong>Assabeh - $23.00/kg</strong>")
   OpenWindow.document.write("<br />")
   OpenWindow.document.write("A delightful combination of phyllo dough and almond filling smothered in syrup, these pastry fingers are sure to be a hit at any gathering.")
   OpenWindow.document.write("<br />")
   OpenWindow.document.write("<br />")
   OpenWindow.document.write("<a href='javascript:self.close()' target='_self'>Close</a></p></font>")
   }

		
	//pop up - pistachios
	function pistachios() 
		{	
		 var OpenWindow=window.open("pistachios", "newwin","height=360,width=400");
   OpenWindow.document.write("<p align='center'><img src='../images/products/thumbnails_big/baklawa/baklawa_pistachios.jpg'><br /><br />")
   OpenWindow.document.write("<font size='1' face='verdana'><strong>Baklawa with Pistachios - $23.00/kg</strong>")
   OpenWindow.document.write("<br />")
   OpenWindow.document.write("Dating back to the 15th Century, the Baklawa is the most famous of Middle Eastern pastries.  The countries of origin are still a mystery, with many believing the Baklawa to have originated in Lebanon while others believe that the Syrians were first to discover this heavenly dessert.")
   OpenWindow.document.write("<br />")
   OpenWindow.document.write("<br />")
   OpenWindow.document.write("<a href='javascript:self.close()' target='_self'>Close</a></p></font>")
		}
		
	//pop up - walnuts
	function walnuts() 
		{	 
		var OpenWindow=window.open("walnuts", "newwin","height=360,width=400");
   OpenWindow.document.write("<p align='center'><img src='../images/products/thumbnails_big/baklawa/baklawa_walnuts.jpg'><br /><br />")
   OpenWindow.document.write("<font size='1' face='verdana'><strong>Baklawa with Walnuts - $23.00/kg</strong>")
   OpenWindow.document.write("<br />")
   OpenWindow.document.write("Spreading quickly across the Middle East and the Mediterranean, the baklawa started taking many shapes and fillings.  Still made with the same old-fashioned recipe that was served only to royalty in the 15th century, today everyone can enjoy this scrumptious delight.")
   OpenWindow.document.write("<br />")
   OpenWindow.document.write("<br />")
   OpenWindow.document.write("<a href='javascript:self.close()' target='_self'>Close</a></p></font>")
		}
		
	//pop up - balaurieh
	function balaurieh() 
		{	 
		var OpenWindow=window.open("balaurieh", "newwin","height=360,width=400");
   OpenWindow.document.write("<p align='center'><img src='../images/products/thumbnails_big/baklawa/balaurieh.jpg'><br /><br />")
   OpenWindow.document.write("<font size='1' face='verdana'><strong>Balaurieh - $23.00/kg</strong>")
   OpenWindow.document.write("<br />")
   OpenWindow.document.write("Made with shredded Kataef (special dough) and filled with crushed pistachios with a hint of rose water, the Balaurieh's sheer look and exquisite taste takes precision and is an art to achieve.")
   OpenWindow.document.write("<br />")
   OpenWindow.document.write("<br />")
   OpenWindow.document.write("<a href='javascript:self.close()' target='_self'>Close</a></p></font>")
		}
		
	//pop up - bassma
	function bassma() 
		{	 
		var OpenWindow=window.open("bassma", "newwin","height=360,width=400");
   OpenWindow.document.write("<p align='center'><img src='../images/products/thumbnails_big/baklawa/bassma.jpg'><br /><br />")
   OpenWindow.document.write("<font size='1' face='verdana'><strong>Bassma - $23.00/kg</strong>")
   OpenWindow.document.write("<br />")
   OpenWindow.document.write("A wonderful medley of semolina wheat, and pistachios with a light trace of rose water, the Bassma quickly melts in your mouth.  ")
   OpenWindow.document.write("<br />")
   OpenWindow.document.write("<br />")
   OpenWindow.document.write("<a href='javascript:self.close()' target='_self'>Close</a></p></font>")
		}
		
	//pop up - borma
	function borma() 
		{	 
		var OpenWindow=window.open("borma", "newwin","height=360,width=400");
   OpenWindow.document.write("<p align='center'><img src='../images/products/thumbnails_big/baklawa/borma.jpg'><br /><br />")
   OpenWindow.document.write("<font size='1' face='verdana'><strong>Borma - $26.00/kg</strong>")
   OpenWindow.document.write("<br />")
   OpenWindow.document.write("Borma, meaning twisted, gets its name from the delicate science of twisting the pistachio filled shredded Kataef (special dough).  Borma is then lightly fried to give it that rich colour and crispy bite.")
   OpenWindow.document.write("<br />")
   OpenWindow.document.write("<br />")
   OpenWindow.document.write("<a href='javascript:self.close()' target='_self'>Close</a></p></font>")
		}
		
	//pop up - kolshkor
	function kolshkor() 
		{	 
		var OpenWindow=window.open("kolshkor", "newwin","height=360,width=400");
   OpenWindow.document.write("<p align='center'><img src='../images/products/thumbnails_big/baklawa/kolshkor.jpg'><br /><br />")
   OpenWindow.document.write("<font size='1' face='verdana'><strong>Kolshkor - $23.00/kg</strong>")
   OpenWindow.document.write("<br />")
   OpenWindow.document.write("This palatable bite-sized dessert is a fine blend of phyllo dough, cashews and heavenly syrup.  Perfect with coffee, tea or on its own, Kolshkor entices all your senses.")
   OpenWindow.document.write("<br />")
   OpenWindow.document.write("<br />")
   OpenWindow.document.write("<a href='javascript:self.close()' target='_self'>Close</a></p></font>")
		}
		
	//pop up - mafroukeh
	function mafroukeh() 
		{	 
		var OpenWindow=window.open("mafroukeh", "newwin","height=360,width=400");
   OpenWindow.document.write("<p align='center'><img src='../images/products/thumbnails_big/baklawa/mafroukeh.jpg'><br /><br />")
   OpenWindow.document.write("<font size='1' face='verdana'><strong>Mafroukeh Malakieh - $23.00/kg</strong>")
   OpenWindow.document.write("<br />")
   OpenWindow.document.write("Mafroukeh Malakieh is a unique fusion of toasted semolina wheat and shredded Kataef (special dough), almonds, pistachios and cashews enrobed with the royal syrup.")
   OpenWindow.document.write("<br />")
   OpenWindow.document.write("<br />")
   OpenWindow.document.write("<a href='javascript:self.close()' target='_self'>Close</a></p></font>")
		}
		
	//pop up - swar
	function swar() 
		{	 
		var OpenWindow=window.open("swar", "newwin","height=360,width=400");
   OpenWindow.document.write("<p align='center'><img src='../images/products/thumbnails_big/baklawa/swar.jpg'><br /><br />")
   OpenWindow.document.write("<font size='1' face='verdana'><strong>Swar - $23.00/kg</strong>")
   OpenWindow.document.write("<br />")
   OpenWindow.document.write("Swar is a beautiful bracelet of phyllo dough filled with ground pistachios, smothered in syrup and baked to perfection.  The phyllo dough is delicately worked to achieve this desired shape.")
   OpenWindow.document.write("<br />")
   OpenWindow.document.write("<br />")
   OpenWindow.document.write("<a href='javascript:self.close()' target='_self'>Close</a></p></font>")
		}
		
	//pop up - wardeh
	function wardeh() 
		{	 
		var OpenWindow=window.open("wardeh", "newwin","height=360,width=400");
   OpenWindow.document.write("<p align='center'><img src='../images/products/thumbnails_big/baklawa/wardeh.jpg'><br /><br />")
   OpenWindow.document.write("<font size='1' face='verdana'><strong>Wardeh - $23.00/kg</strong>")
   OpenWindow.document.write("<br />")
   OpenWindow.document.write("Shaped like a rose, with the crispy phyllo as petals and filled with whole pistachios, Wardeh is a luscious pastry that'll please every guest you have.")
   OpenWindow.document.write("<br />")
   OpenWindow.document.write("<br />")
   OpenWindow.document.write("<a href='javascript:self.close()' target='_self'>Close</a></p></font>")
		}
		
	//pop up - assorted
	function assorted() 
		{	 
		var OpenWindow=window.open("assorted", "newwin","height=360,width=400");
   OpenWindow.document.write("<p align='center'><img src='../images/products/thumbnails_big/baklawa/assorted_baklawa.jpg'><br /><br />")
   OpenWindow.document.write("<font size='1' face='verdana'><strong>Assorted Baklawa Mixtures - $23.00/kg</strong>")
   OpenWindow.document.write("<br />")
   OpenWindow.document.write("A box of assorted pastries, this mixture allows you to enjoy all the different forms of Baklawas such as Assabeh, Borma, Mafroukeh and Swar.  For a taste that will send you centuries back to what the kings enjoyed, the assorted Baklawa mixture is the perfect dessert after any royal dinner.")
   OpenWindow.document.write("<br />")
   OpenWindow.document.write("<br />")
   OpenWindow.document.write("<a href='javascript:self.close()' target='_self'>Close</a></p></font>")
		}
		
/******************************
POP UPS - MAMMOUL
******************************/

	//pop up - karabiges madd
	function madd() 
		{	 
		var OpenWindow=window.open("madd", "newwin","height=360,width=400");
   OpenWindow.document.write("<p align='center'><img src='../images/products/thumbnails_big/mammoul/karabiges_madd.jpg'><br /><br />")
   OpenWindow.document.write("<font size='1' face='verdana'><strong>Karabiges Madd - $23.00/kg</strong>")
   OpenWindow.document.write("<br />")
   OpenWindow.document.write("<font color='red'>Must be ordered in advance.</font>")
   OpenWindow.document.write("<br />")
   OpenWindow.document.write("Made with the same mouth watering ingredients as Karabiges Natef, this scrumptious treat is created in layers as opposed to pockets. Karabiges Madd is served with our delightful home made marshmallow syrup and ground pistachio topping.")
   OpenWindow.document.write("<br />")
   OpenWindow.document.write("<br />")
   OpenWindow.document.write("<a href='javascript:self.close()' target='_self'>Close</a></p></font>")
		}
		
	//pop up - karabiges natef
	function natef() 
		{	 
		var OpenWindow=window.open("natef", "newwin","height=360,width=400");
   OpenWindow.document.write("<p align='center'><img src='../images/products/thumbnails_big/mammoul/karabiges_natef.jpg'><br /><br />")
   OpenWindow.document.write("<font size='1' face='verdana'><strong>Karabiges Natef - $12.00/doz.</strong>")
   OpenWindow.document.write("<br />")
   OpenWindow.document.write("Savour this delicious combination of semolina wheat made into a tasty pocket stuffed with crushed pistachios and accompanied by our home made marshmallow syrup for dipping.")
   OpenWindow.document.write("<br />")
   OpenWindow.document.write("<br />")
   OpenWindow.document.write("<a href='javascript:self.close()' target='_self'>Close</a></p></font>")
		}
		
	//pop up - mammoul with dates
	function m_dates() 
		{	 
		var OpenWindow=window.open("m_dates", "newwin","height=360,width=400");
   OpenWindow.document.write("<p align='center'><img src='../images/products/thumbnails_big/mammoul/mammoul_dates.jpg'><br /><br />")
   OpenWindow.document.write("<font size='1' face='verdana'><strong>Mammoul with Dates - $12.00/doz.</strong>")
   OpenWindow.document.write("<br />")
   OpenWindow.document.write("Particularly popular during Eid-al-Fitr (The feast after the fast of Ramadan), these Mammoul are made with semolina dough then stuffed with the plumpest and juiciest, fresh dates and finally baked to perfection.")
   OpenWindow.document.write("<br />")
   OpenWindow.document.write("<br />")
   OpenWindow.document.write("<a href='javascript:self.close()' target='_self'>Close</a></p></font>")
		}
		
	//pop up - mammoul with pistachios
	function m_pistachios() 
		{	 
		var OpenWindow=window.open("m_pistachios", "newwin","height=360,width=400");
   OpenWindow.document.write("<p align='center'><img src='../images/products/thumbnails_big/mammoul/mammoul_pistachios.jpg'><br /><br />")
   OpenWindow.document.write("<font size='1' face='verdana'><strong>Mammoul with Pistachios - $14.00/doz.</strong>")
   OpenWindow.document.write("<br />")
   OpenWindow.document.write("Baked using the same semolina dough as the Mammoul with dates, these delectable desserts are filled with crushed pistachios scented with rose water and then sprinkled with icing sugar.")
   OpenWindow.document.write("<br />")
   OpenWindow.document.write("<br />")
   OpenWindow.document.write("<a href='javascript:self.close()' target='_self'>Close</a></p></font>")
		}
		
	//pop up - mammoul with walnuts
	function m_walnuts() 
		{	 
		var OpenWindow=window.open("m_walnuts", "newwin","height=360,width=400");
   OpenWindow.document.write("<p align='center'><img src='../images/products/thumbnails_big/mammoul/mammoul_walnuts.jpg'><br /><br />")
   OpenWindow.document.write("<font size='1' face='verdana'><strong>Mammoul with Walnuts - $14.00/doz.</strong>")
   OpenWindow.document.write("<br />")
   OpenWindow.document.write("Similar to the Mammoul with Dates and Pistachios, Mammoul with Walnuts is made with semolina dough and filled with crushed walnuts scented with fragrant rose water. A tempting treat for walnut lovers everywhere!")
   OpenWindow.document.write("<br />")
   OpenWindow.document.write("<br />")
   OpenWindow.document.write("<a href='javascript:self.close()' target='_self'>Close</a></p></font>")
		}
		
/******************************
POP UPS - OTHER SPECIALTIES
******************************/

	//pop up - coconut macaron
	function macaron() 
		{	 
		var OpenWindow=window.open("macaron", "newwin","height=360,width=400");
   OpenWindow.document.write("<p align='center'><img src='../images/products/thumbnails_big/others/coconut_macaron.jpg'><br /><br />")
   OpenWindow.document.write("<font size='1' face='verdana'><strong>Coconut Macaron - $8.00/doz.</strong>")
   OpenWindow.document.write("<br />")
   OpenWindow.document.write("Crispy on the outside and soft on the inside, this sweet and delicate coconut cookie is the perfect accompaniment for tea.")
   OpenWindow.document.write("<br />")
   OpenWindow.document.write("<br />")
   OpenWindow.document.write("<a href='javascript:self.close()' target='_self'>Close</a></p></font>")
		}
		
	//pop up - ghoraybeh
	function ghoraybeh() 
		{	 
		var OpenWindow=window.open("ghoraybeh", "newwin","height=360,width=400");
   OpenWindow.document.write("<p align='center'><img src='../images/products/thumbnails_big/others/ghoraybeh.jpg'><br /><br />")
   OpenWindow.document.write("<font size='1' face='verdana'><strong>Ghoraybeh - $12.00/doz.</strong>")
   OpenWindow.document.write("<br />")
   OpenWindow.document.write("All shortbread lovers are sure to devour this melt-in-your-mouth shortbread cookie.  A delicate combination of ingredients fused together to produce this delectable treat, Ghoraybeh will be enjoyed by everyone.")
   OpenWindow.document.write("<br />")
   OpenWindow.document.write("<br />")
   OpenWindow.document.write("<a href='javascript:self.close()' target='_self'>Close</a></p></font>")
		}
		
	//pop up - knefeh
	function knefeh() 
		{	 
		var OpenWindow=window.open("knefeh", "newwin","height=380,width=400");
   OpenWindow.document.write("<p align='center'><img src='../images/products/thumbnails_big/others/knefeh.jpg'><br /><br />")
   OpenWindow.document.write("<font size='1' face='verdana'><strong>Knefeh (cream or cheese) - $20.00/kg.</strong>")
   OpenWindow.document.write("<br />")
   OpenWindow.document.write("A rich and succulent delicacy, knefeh is often served as breakfast in a special pita pocket or as dessert.  The Cream Knefeh is made with semolina and filled with a delicious cheese-based cream.  The Cheese Knefeh is made with shredded Kataef (a special dough) and filled with an assortment of sweet cheeses. Both are enrobed in a luscious syrup.")
   OpenWindow.document.write("<br />")
   OpenWindow.document.write("<br />")
   OpenWindow.document.write("<a href='javascript:self.close()' target='_self'>Close</a></p></font>")
		}
		
	//pop up - loukoum
	function loukoum() 
		{	 
		var OpenWindow=window.open("loukoum", "newwin","height=360,width=400");
   OpenWindow.document.write("<p align='center'><img src='../images/products/thumbnails_big/others/loukoum.jpg'><br /><br />")
   OpenWindow.document.write("<font size='1' face='verdana'><strong>Loukoum - $20.00/kg.</strong>")
   OpenWindow.document.write("<br />")
   OpenWindow.document.write("A descendant of the famous Turkish Delights, Loukoum is a light and flavourful indulgence made with sweetened pistachios.     ")
   OpenWindow.document.write("<br />")
   OpenWindow.document.write("<br />")
   OpenWindow.document.write("<a href='javascript:self.close()' target='_self'>Close</a></p></font>")
		}
		
	//pop up - marzipan
	function marzipan() 
		{	 
		var OpenWindow=window.open("marzipan", "newwin","height=360,width=400");
   OpenWindow.document.write("<p align='center'><img src='../images/products/thumbnails_big/others/marzipan.jpg'><br /><br />")
   OpenWindow.document.write("<font size='1' face='verdana'><strong>Marzipan - $30.00/kg.</strong>")
   OpenWindow.document.write("<br />")
   OpenWindow.document.write("Almonds are the main ingredient of this tasty treat. Ground into a smooth paste using sugar and egg the almonds are then used to cover ground pistachios scented with rose water. A most addictive delight!")
   OpenWindow.document.write("<br />")
   OpenWindow.document.write("<br />")
   OpenWindow.document.write("<a href='javascript:self.close()' target='_self'>Close</a></p></font>")
		}
	//pop up - nammoura
	function nammoura() 
		{	 
	var OpenWindow=window.open("nammoura", "newwin","height=360,width=400");
   OpenWindow.document.write("<p align='center'><img src='../images/products/thumbnails_big/others/nammoura.jpg'><br /><br />")
   OpenWindow.document.write("<font size='1' face='verdana'><strong>Nammoura - $7.00/small tray</strong>")
   OpenWindow.document.write("<br />")
   OpenWindow.document.write("A dish loved by all, especially children, Nammoura is a mixture of semolina, butter, milk and sugar, topped with almonds and covered in a traditional, fragrantly sweet syrup.")
   OpenWindow.document.write("<br />")
   OpenWindow.document.write("<br />")
   OpenWindow.document.write("<a href='javascript:self.close()' target='_self'>Close</a></p></font>")
		}
		
	//pop up - salted_sticks
	function salted_sticks() 
		{	 
		var OpenWindow=window.open("salted_sticks", "newwin","height=360,width=400");
   OpenWindow.document.write("<p align='center'><img src='../images/products/thumbnails_big/others/salted_sticks.jpg'><br /><br />")
   OpenWindow.document.write("<font size='1' face='verdana'><strong>Salted Sticks - $18.00/kg.</strong>")
   OpenWindow.document.write("<br />")
   OpenWindow.document.write("The ideal snack for those craving something other than sweet, these salted bread sticks are also great with salads and as an accompaniment to meals. ")
   OpenWindow.document.write("<br />")
   OpenWindow.document.write("<br />")
   OpenWindow.document.write("<a href='javascript:self.close()' target='_self'>Close</a></p></font>")
		}