<!-- hide script

now=new Date();

        date= now.getDate();
        month= now.getMonth()+1;
        year= now.getYear();
        hour= now.getHours();
        minute= now.getMinutes();
     
        if (year==101) year=2001;
		if (year==102) year=2002;
		if (year==103) year=2003;
	    if (year==104) year=2004;
 		if (year==105) year=2005;
		if (year==106) year=2006;
		if (year==107) year=2007;
		if (year==108) year=2008;
		if (year==109) year=2009;

        dateStr=year;

        dateStr+= ""+ ((month < 10) ? "0" : "") +month;

        dateStr+= "" +((date < 10) ? "0" : "") + date;

        dateStr+= "" +((hour < 10) ? "0" : "") + hour;

        dateStr+= "" +((minute < 10) ? "0" : "") + minute;

if (dateStr > "200804132100") film = 30
else if (dateStr > "200804061700") film = 29
else if (dateStr > "200803301700") film = 28
else if (dateStr > "200803231700") film = 27
else if (dateStr > "200803161700") film = 26
else if (dateStr > "200803091700") film = 25
else if (dateStr > "200803061800") film = 24
else if (dateStr > "200802241700") film = 23
else if (dateStr > "200802171700") film = 22
else if (dateStr > "200802102100") film = 21
else if (dateStr > "200802031700") film = 20
else if (dateStr > "200801271700") film = 19
else if (dateStr > "200801201700") film = 18
else if (dateStr > "200801131700") film = 17
else if (dateStr > "200801061700") film = 16
else if (dateStr > "200712161700") film = 15
else if (dateStr > "200712091700") film = 14
else if (dateStr > "200712021700") film = 13
else if (dateStr > "200711251700") film = 12
else if (dateStr > "200711181700") film = 11
else if (dateStr > "200711111700") film = 10
else if (dateStr > "200711041700") film = 9
else if (dateStr > "200710281700") film = 8
else if (dateStr > "200710211700") film = 7
else if (dateStr > "200710141700") film = 6
else if (dateStr > "200710071700") film = 5
else if (dateStr > "200709301700") film = 4
else if (dateStr > "200709231700") film = 3
else if (dateStr > "200709161700") film = 2
else if (dateStr > "200708290005") film = 1
else film = 0;

filmName = new Array();

filmName[0] = "Lage Raho Munnabhai";
filmName[1] = "Molière";
filmName[2] = "This Is England";
filmName[3] = "Night of The Sunflower";
filmName[4] = "The Seventh Seal";
filmName[5] = "Days of Glory";
filmName[6] = "Water";
filmName[7] = "Tell No One";
filmName[8] = "Sketches Of Frank Gehry";
filmName[9] = "Bombs At Teatime ";
filmName[10] = "Hallam Foe ";
filmName[11] = "The Namesake ";
filmName[12] = "Climates";
filmName[13] = "The Battle Of Algiers";
filmName[14] = "Waitress ";
filmName[15] = "Michael Clayton";
filmName[16] = "The Witnesses";
filmName[17] = "True North";
filmName[18] = "The Counterfeiters";
filmName[19] = "Assassination of Jesse James";
filmName[20] = "FebFilm";
filmName[21] = "2 Days In Paris";
filmName[22] = "In The Shadow Of The Moon";
filmName[23] = "Born And Bred";
filmName[24] = "Rescue Dawn";
filmName[25] = "Lust, Caution";
filmName[26] = "4 Months, 3 Weeks And 2 Days";
filmName[27] = "The Diving Bell And The Butterfly";
filmName[28] = "Sparkle";
filmName[29] = "9th Keswick Film Festival";
filmName[30] = "";

filmCode = new Array();

filmCode[0] = "l013";
filmCode[1] = "m027";
filmCode[2] = "t026";
filmCode[3] = "n013";
filmCode[4] = "s029";
filmCode[5] = "d017";
filmCode[6] = "w011";
filmCode[7] = "t025";
filmCode[8] = "s030";
filmCode[9] = "b026";
filmCode[10] = "h014";
filmCode[11] = "n012";
filmCode[12] = "c023";
filmCode[13] = "b027";
filmCode[14] = "w010";
filmCode[15] = "m028";
filmCode[16] = "w012";
filmCode[17] = "t028";
filmCode[18] = "c024";
filmCode[19] = "a022";
filmCode[20] = "fest1";
filmCode[21] = "t027";
filmCode[22] = "i009";
filmCode[23] = "b028";
filmCode[24] = "r012";
filmCode[25] = "l014";
filmCode[26] = "f014";
filmCode[27] = "d018";
filmCode[28] = "s031";
filmCode[29] = "fest2";
filmCode[30] = "";

filmTime = new Array();

filmTime[0] = "";
filmTime[1] = "Sunday 16th Sept 5pm";
filmTime[2] = "Sunday 23rd Sept 5pm";
filmTime[3] = "Sunday 30th Sept 5pm";
filmTime[4] = "Sunday 7th October 5pm";
filmTime[5] = "Sunday 14th October 5pm";
filmTime[6] = "Sunday 21nd October 5pm";
filmTime[7] = "Sunday 28th October 5pm";
filmTime[8] = "Sunday 4th November 5pm";
filmTime[9] = "Sunday 11th November 5pm";
filmTime[10] = "Sunday 18th November 5pm";
filmTime[11] = "Sunday 25th November 5pm";
filmTime[12] = "Sunday 2nd December 5pm";
filmTime[13] = "Sunday 9th December 5pm";
filmTime[14] = "Sunday 16th December 5pm";
filmTime[15] = "Sunday 6th January 5pm";
filmTime[16] = "Sunday 13th January 5pm";
filmTime[17] = "Sunday 20th January 5pm";
filmTime[18] = "Sunday 27th January 5pm";
filmTime[19] = "Sunday 3rd February 5pm";
filmTime[20] = "8th - 10th February";
filmTime[21] = "Sunday 17th February 5pm";
filmTime[22] = "Sunday 24th February 5pm";
filmTime[23] = "Thursday 6th March 6pm";
filmTime[24] = "Sunday 9th March 5pm";
filmTime[25] = "Sunday 16th March 5pm";
filmTime[26] = "Sunday 23rd March 5pm";
filmTime[27] = "Sunday 30th December 5pm";
filmTime[28] = "Sunday 6th April 5pm";
filmTime[29] = "10th - 13th April";
filmTime[30] = "The new season will start in the autumn";

filmQuote = new Array();
filmQuoteSource = new Array();

filmQuote[0] = "Coming Soon";
filmQuoteSource[0]="";

filmQuote[1] = "Exuberant fun:France's comic genius as a young blood";
filmQuoteSource[1]="";

filmQuote[2] = "Shane Meadows' finest yet, fizzing with energy and humour";
filmQuoteSource[2]="";

filmQuote[3] = "Riveting drama from Spain, with a jigsaw puzzle plot";
filmQuoteSource[3]="";

filmQuote[4] = "A restored masterpiece, Bergman's wonderful legacy";
filmQuoteSource[4]="";

filmQuote[5] = "The true story of WWII's forgotten Algerian heroes";
filmQuoteSource[5]="";

filmQuote[6] = "Award-winning drama: the Indian oppression of women";
filmQuoteSource[6]="";

filmQuote[7] = "French riposte to Hollywood: How a thriller should be made";
filmQuoteSource[7]="";

filmQuote[8] = "Strong doses of humanity and humour from Gehry and Pollack";
filmQuoteSource[8]="";

filmQuote[9] = "How Britain coped with WWII and its aftermath";
filmQuoteSource[9]="";

filmQuote[10] = "An exploration of a disturbed teenager's psyche";
filmQuoteSource[10]="";

filmQuote[11] = "From India to the USA: a poignant family journey of discovery";
filmQuoteSource[11]="";

filmQuote[12] = "&quot;Riveting art house cinema of the highest order.&quot;";
filmQuoteSource[12]="Philip French";

filmQuote[13] = "Pontecorvo's hugely-respected view of the Algerian revolution";
filmQuoteSource[13]="";

filmQuote[14] = "A funny and charming hit at Sundance, but a tragic aftermath";
filmQuoteSource[14]="";

filmQuote[15] = "Clooney as fixer: 'the truth can be adjusted'";
filmQuoteSource[15]="";

filmQuote[16] = "The miracle of being alive in AIDS-afflicted 1980s Paris";
filmQuoteSource[16]="";

filmQuote[17] = "Perils of Scottish fishermen dabbling in human trafficking";
filmQuoteSource[17]="";

filmQuote[18] = "The Nazis' scam: can moral courage win over evil?";
filmQuoteSource[18]="";

filmQuote[19] = "Superb storytelling, acting and cinematography";
filmQuoteSource[19]="";

filmQuote[20] = "Keswick Film Festival at the Alhambra";
filmQuoteSource[20]="";

filmQuote[21] = "Great humour and wonderful company";
filmQuoteSource[21]="";

filmQuote[22] = "Excellent British documentary about Apollo space missions";
filmQuoteSource[22]="";

filmQuote[23] = "Worlds of extreme remoteness: Patagonia and the human mind";
filmQuoteSource[23]="";

filmQuote[24] = "The extraordinary true story of a pilot’s fight for survival";
filmQuoteSource[24]="";

filmQuote[25] = "Ang Lee’s latest - espionage in World War II Shanghai";
filmQuoteSource[25]="";

filmQuote[26] = "A girl attempts to survive in the final dark days of Ceausescu";
filmQuoteSource[26]="";

filmQuote[27] = "Endlessly intriguing, emotionally engrossing - 2 Cannes Awards";
filmQuoteSource[27]="";

filmQuote[28] = "'Quaint charm...a subtle British tang to the humour'";
filmQuoteSource[28]="BBCi";

filmQuote[29] = "At the Theatre by the Lake and the Keswick Lonsdale Alhambra";
filmQuoteSource[29]="";

filmQuote[30] = "";
filmQuoteSource[30]="";

var eventdate = new Date("February 8, 2007 00:00:00 GMT");

d=new Date();

count=Math.floor((eventdate.getTime()-d.getTime())/1000);

count=Math.floor(count/60);
count=Math.floor(count/60);
count=Math.floor(count/24);  

count=count+1;

        if  (count < 1) countdown_string ="" 

        else if (count==1) countdown_string=count+ " day to go "  

        else countdown_string=count+ " days to go";

	nextFilmCode = filmCode[film];
	nextFilm = filmName[film];
	nextFilmTime = filmTime[film];
	nextFilmQuote = filmQuote[film];
	nextFilmQuoteSource = filmQuoteSource[film];

	nextFilmLabel="";
	nextFilmPicture ="";
	nextFilmLink="";
	nextFilmTitleLink="";
	moreFilmLink="";
	
	lastFilmLink=""; 
	lastFilmPicture ="";
	lastFilmPicture= ""; 
	lastFilmTitleLink = ""; 
	lastFilmLink = "";

	if (film >0) {
		lastFilmNo = film - 1;
		
		if (filmCode[lastFilmNo] == "xmas" 
			|| filmCode[lastFilmNo] == "fest"
			|| filmCode[lastFilmNo] == "fest1" 
			|| filmCode[lastFilmNo] == "fest2" ) lastFilmNo = lastFilmNo-1;
		
		lastFilmCode = filmCode[lastFilmNo];
		lastFilm = filmName[lastFilmNo];	
	} else {
		lastFilmCode = 'L013';
		lastFilm = 'Lage Raho Munnabhai';
	}

ext=".php";

if (nextFilmCode !="" && nextFilmCode !="xmas") {
	nextFilmLabel = "Next Film";
	
	ext = ".php";
		
	nextFilmLink= "<a class='filmtitle' href=/films/" + nextFilmCode + ext+" class=header> ";
	
	
	nextFilmPicture ="../films/graphics/" + nextFilmCode + ".jpg";
	
	nextFilmPicture= nextFilmLink + " <img src=/films/graphics/" + nextFilmCode + ".jpg border=0 alt='Read more about "+ nextFilm + "'></a>";
	nextFilmTitleLink = nextFilmLink + nextFilm + "</a>";
	moreFilmLink = nextFilmLink + "<img src='/more.gif' height='9' width='10' border='0' alt='Read More about " + nextFilm +"'> </a>";	
} 
lastFilmLink= "<a class='filmtitle' href=/films/" + lastFilmCode + ext+" class=header> ";
lastFilmPicture ="../films/graphics/" + lastFilmCode + ".jpg";
lastFilmPicture= lastFilmLink + " <img src=/films/graphics/" + lastFilmCode + ".jpg border=0 alt='Read more about "+ lastFilm + "'></a>";
lastFilmTitleLink = lastFilmLink + lastFilm + "</a>";
lastFilmLink = lastFilmLink + "<img src='/more.gif' height='9' width='10' border='0' alt='Read More about " + lastFilm +"'> </a>";
// end script -->