// JavaScript Document

var imageDescriptionArray = new Array();

imageDescriptionArray[0] = '<p><strong>Hilton Beijing Wangfujing, China, </strong> <span class="name">Chynna</span>: Fusing both Western and Eastern archetypes, Chynna features a sculpture of copper coins woven together with copper wire into a gown for an empress dowanger that represents mankind. </p><p><a href="../../gallery.php">&lt; Back to Listings</a></p>';
 

imageDescriptionArray[1] = '<p><strong>Hilton Beijing Wangfujing, China, </strong> <span class="name">Chynna</span>:At Chynna, the expansive coffered ceiling, found in many public works in Europe, adds form and axis to the entire space and centers each guest along the spine of the restaurant. </p><p><a href="../../gallery.php">&lt; Back to Listings</a></p>';


imageDescriptionArray[2] = '<p><strong>Hilton Beijing Wangfujing, China</strong> <span class="name">Chynna Private Dining</span>: The holistic experience is maintained in this private dining venue, conveying luxury and opulence through the design of the intimate space and cuisine. </p><p><a href="../../gallery.php">&lt; Back to Listings</a></p>';


imageDescriptionArray[3] = '<p><strong>Hilton Beijing Wangfujing, China</strong> <span class="name">Flames</span>: This lounge features the longest fire trough in China along the wall, mimicking a sunset where the setting sun of the Forbidden City meets the horizon of the rolling vine-covered hills of rural Evora. </p><p><a href="../../gallery.php">&lt; Back to Listings</a></p>';


imageDescriptionArray[4] = '<p><strong>Hilton Beijing Wangfujing, China,</strong> <span class="name">Vasco\'s</span>: Specializing in the best of Portuguese cuisine with a Chinese touch, Vasco\’s is a light and airy space mixed with a coastal look reminiscent of boathouses on the shores of Lisbon. </p><p><a href="../../gallery.php">&lt; Back to Listings</a></p>';


imageDescriptionArray[5] = '<p><strong>Hilton Beijing Wangfujing, China</strong> <span class="name">Vintage Bank</span>: The largest wine cellar in the city, the Vintage Bank is positioned to showcase over 10,000 bottles and over 500 labels of wine.  All wine is designed to be paired with the dishes of the hotel. </p><p><a href="../../gallery.php">&lt; Back to Listings</a></p>';
	  

function preloadImages() 

{ 

	//check if there are some images in the HTML page only then preload the new images

	if(document.images)

	{

		if(!document.p) 

		{

			document.p=new Array();

		}	

			

		var i,j=document.p.length,a=preloadImages.arguments; 

		for(i=0; i<a.length; i++)

		{

			if (a[i].indexOf("#")!=0)

			{ 

				document.p[j]=new Image; 

				document.p[j++].src=a[i];

			}

		}	

	}

}



function changeImages(elementID, newImageSrc, pos)

{

	if(document.getElementById(elementID))

	{

		document.getElementById(elementID).src = newImageSrc;

	}

	document.getElementById('content').innerHTML = imageDescriptionArray[pos];

	

}
