var shows = new Array();
shows[0] = "";
shows[1] = "<h2>Manchester,<br><small>Manchester Town Hall, May 13th</small></h2>";
shows[2] = "<h2>London,<br> <small>Royal Horticulturals Halls, Sept 21/22nd</small></h2>";
shows[3] = "<h2>Edinburgh,<br><small>Mansfield Traquair, Oct 26th</small></h2>";

var ar1 = new Array();
ar1[0] = "";
ar1[1] = "<p><b>12.00 – 1.00pm The Rum Renaissance with Mal Evans</b><br>Join the Northern Rum legend Mal Evans as he explores Island Styles with cocktails to match. Bringing the Mojo Rum Room to the people.</p>";
ar1[2] = "<p><b>1.30 – 2.30pm Crafting World Beers with Dwink.Co.Uk</b><br> Join award winning beer writers and creators Ben McFarland and Tom Sandham to learn about regional brewing styles around the world.</p>";
ar1[3] = "<p><b>3 – 4.00pm Boutique Gins w Andy Pearson</b><br>Think you know your gins? With an explosion in the gin market find out which ones tickle your taste buds with one of the UK’s most respected bartenders.</p>";
ar1[4] = "<p><b>4.30 – 5.30pm Mezcals with Carlos Londono</b><br> Following a recent trip to Oaxaca join the Pacifico crew to learn more about this growing cult Mexican spirit.</p>";
ar1[5] = "<p><b>1 – 3.00pm Free Spirit Cocktail Competition</b><br> A unique unbranded cocktail competition watch team Liverpool, Manchester and Leeds go head to head.  </p>";
ar1[6] = "<p><b>2.00 – 9pm The Socio Rehab Concept Bar</b><br> Manchester’s most infamous bar crew bring a touch of the mad hatters to the Lord Mayors Parlour. Expect decadence and debauchery in equal measure.</p>";
ar1[7] = "<p><b>5.45 - 6.45pm World Record Cocktail Attempt</b><br> Watch local lad Jamie Stephenson attempt an astonishing 700 different cocktails in just one hour. Blink and you'll miss it!</p>";
ar1[8] = "<p><b>8.00 - 9.00pm The development of Tiki</b><br> Local bars Hula and Keko Moku showcase the history of Tiki. Expect colourful shirts, big glasses and strong Rum drinks.</p>";

var newsarticles = new Array();
newsarticles[0] = "";
newsarticles[1] = "<p>UKBG and Boutique team up again to run the Competition Bar in London - details coming soon.</p>";
newsarticles[2] = "<p>LA Bartenders join forces with Boutique in preparation for the first Boutique Scotland.</p>";
newsarticles[3] = "<p>Photographs from the Manchester Show are now available in the picture Gallery.</p>";

var x=0;
var y=0;

function detectscreen() 
{ 
monitorwidth = screen.width;
monitorheight = screen.height;
	if(monitorheight<680||monitorwidth<970)
	{
		document.getElementById('container').className= "smallcontainer";
	}
show();
} 

function show()
{
	x= x+1;
	document.getElementById('ShowsBanner').innerHTML = shows[x];
	if(x==3){x=0;}
	window.setTimeout('show();', 4000); 
}

function newsticker()
{
	y= y+1;
	document.getElementById('latestnews').innerHTML = newsarticles[y];
	if(y==3){y=0;}
	window.setTimeout('newsticker();', 5000); 
}

function reveal(x,y)
{
	for (i=1;i<9;i++)
	{
		var divx = document.getElementById("featurescard"+i);
		divx.style.backgroundImage = "";
		divx.innerHTML = "";
	}
	x.style.backgroundImage = "url('images/featurescard.png')";
	x.innerHTML = ar1[y];
}