﻿//	location.replace('http://www.megadethuk.co.uk/');
	
	var PageTitle = document.title;
	var sidecol = '';
	var sidecolleft = '';
	var sidecolright = '';
	var myLyric = '';
	var lyrics = new Array();
	var i = 1;

	PageTitle = PageTitle.substr(14, 4);
	// alert (PageTitle);

	switch (PageTitle)
	{
	case 'Home':
		sidecolleft += '<img src="images/coverunitedabominations.jpg" /><br />';
		sidecolleft += '<img src="images/coversystemhasfailed.jpg" /><br />';
		sidecolleft += '<img src="images/covercrypticwritings.jpg" /><br />';
		sidecolleft += '<img src="images/coverhiddentreasures.jpg" /><br />';
		sidecolleft += '<img src="images/coveryouthanasia.jpg" />';		
		sidecolright += '<img src="images/covercountdowntoextinction.jpg" /><br />';
		sidecolright += '<img src="images/coverrustinpeace.jpg" /><br />';
		sidecolright += '<img src="images/coversofarsogoodsowhat.jpg" /><br />';
		sidecolright += '<img src="images/coverpeacesells.jpg" /><br />';
		sidecolright += '<img src="images/coverkillingismybusiness.jpg" />';
		break;
	case 'News':
		for (i = 1; i <= 10; i++)
		{
		sidecol += '<img src="images/countdown.jpg" /><br />';
		}
		sidecolleft = sidecol;
		sidecolright = sidecol;
		break;
	case 'Tour':
		for (i = 1; i <= 4; i++)
		{
		sidecol += '<img src="images/rustedpieces.jpg" /><br />';
		}
		sidecolleft = sidecol;
		sidecolright = sidecol;
		break;
	case 'Biog':
		for (i = 1; i <= 8; i++)
		{
		sidecol += '<img src="images/vicexplosion.jpg" /><br />';
		}
		sidecolleft = sidecol;
		sidecolright = sidecol;
		break;
	case 'Gall':
		for (i = 1; i <= 4; i++)
		{
		sidecol += '<img src="images/youthanasia.jpg" /><br />';
		}
		sidecolleft = sidecol;
		sidecolright = sidecol;
		break;
	case 'Pict':
		for (i = 1; i <= 8; i++)
		{
		sidecol += '<img src="images/youthanasia.jpg" /><br />';
		}
		sidecolleft = sidecol;
		sidecolright = sidecol;
		break;
	case 'Audi':
		for (i = 1; i <= 5; i++)
		{
		sidecol += '<img src="images/youthanasia.jpg" /><br />';
		}
		sidecolleft = sidecol;
		sidecolright = sidecol;
		break;
	case 'Vide':
		for (i = 1; i <= 6; i++)
		{
		sidecol += '<img src="images/youthanasia.jpg" /><br />';
		}
		sidecolleft = sidecol;
		sidecolright = sidecol;
		break;
	case 'Gues':
		for (i = 1; i <= 17; i++)
		{
		sidecol += '<img src="images/sofarsogoodsowhat.jpg" /><br />';
		}
		sidecolleft = sidecol;
		sidecolright = sidecol;
		break;
	case 'Cont':
		for (i = 1; i <= 4; i++)
		{
		sidecol += '<img src="images/peacesells.jpg" /><br />';
		}
		sidecolleft = sidecol;
		sidecolright = sidecol;
		break;
	default:
		sidecolleft += '<img src="images/coverunitedabominations.jpg" /><br />';
		sidecolleft += '<img src="images/coversystemhasfailed.jpg" /><br />';
		sidecolleft += '<img src="images/covercrypticwritings.jpg" /><br />';
		sidecolleft += '<img src="images/coverhiddentreasures.jpg" /><br />';
		sidecolleft += '<img src="images/coveryouthanasia.jpg" />';		
		sidecolright += '<img src="images/covercountdowntoextinction.jpg" /><br />';
		sidecolright += '<img src="images/coverrustinpeace.jpg" /><br />';
		sidecolright += '<img src="images/coversofarsogoodsowhat.jpg" /><br />';
		sidecolright += '<img src="images/coverpeacesells.jpg" /><br />';
		sidecolright += '<img src="images/coverkillingismybusiness.jpg" />';
	}

	function rand(n)
	{
	  return (Math.floor(Math.random() * n + 1));
	}

	lyrics[0] = "Beware my friends as you pass by, as you are now so once was I. As I am now so you must be, prepare my friends to follow me.";
	lyrics[1] = "Hundreds of miles rolled off today. Signs lose their meaning, minutes tick away. Dirt roads to interstates, I must have drove them all. Cigarettes and burgers, caffeine and alcohol.";
	lyrics[2] = "Welcome to our sanguinary sect of worship. Feel at home in our black conventicle, as we anathematise all of those who oppose us. Don't summon the devil, don't call the priests, If you need the strength, The Conjuring. Obey!!!";
	lyrics[3] = "High priest of holocaust,fire from the sea Nuclear winter spreading disease The day of final conflict, All pay the price The third world war Rapes peace,takes life.";
	lyrics[4] = "What do you mean, I hurt your feelings? I didn't know you had any feelings. What do you mean, I ain't kind? I’m just not your kind. What do you mean, I couldn't be president, of the United States of America? Tell me something, its still we the people, right?";
	lyrics[5] = "F is for fighting, r is for red, Ancestors blood in battles they’ve shed. E, we elect them, e, we eject them, in the land of the free, and the home of the brave. D, for your dying, o, your overture, M, they will cover your grave with manure. This spells out freedom, it means nothing to me, As long as theres a.p.m.r.c.";
	lyrics[6] = "Melting down all metals, turning plows and shears to swords, Shun words of the bible, we need implements of war. Chalklines and red puddles of those who have been slain Destiny, that crooked schemer, says the dead shall rise again.";
	lyrics[7] = "I sneak in my own house, It's four in the morning, I had too much to drink, Said I was out with the boys, I creep in my bedroom, I slip into bed, I know if I wake her, I'll wake up dead.";
	lyrics[8] = "Got on chance, infiltrate them Get it right, terminate them The Panzers will, permeate them Break their pride, denigrate them And their people, retrograde them Typhus, deteriate them Epidemic, devastate them Take no prisoners, cremate them.";
	lyrics[9] = "Killer, intruder, homicidal man. If you see me coming, run as fast as you can. A blood thirsty demon who's stalking the street. I hack up my victims like pieces of meat. I lurk in the alleys, wait for the kill. I have no remorse for the blood that I spill A merciless butcher who lives underground. I'm out to destroy you and, I will, cut you down.";
	lyrics[10] = "Place all your trust here in me Rest assured these things I know And as Charon sails the sea Your journey too shall end below Ah yes you're all sitting ducks It's true you reap what you sow Go to hell.";

	myLyric = '"' + lyrics[rand(11) - 1] + '"';
	
	
	
	