//HOMEvar msg = "* Brian's Driving School website designed and maintained by Next Step IT Ltd";var spacer = " ";var pos = 0;function ScrollMessage() {window.status = msg.substring(pos, msg.length) + spacer + msg.substring(0, pos);pos++;if (pos > msg.length) pos = 0;window.setTimeout("ScrollMessage()", 150);}function setstatusbar() {window.status = msg.substring(pos, msg.length) + spacer + msg.substring(0, pos);pos++;if (pos > msg.length) pos = 0;window.setTimeout("ScrollMessage()", 150);}//MENUS OFFfunction rst(){window.document.getElementById('gsim1').style.display = 'none';if (window.document.getElementById('gsim1').bgColor != '#ffffff'){window.document.getElementById('gsim1').bgColor = ''}}function gsimu1(){rst();window.document.getElementById('gsim1').style.display = '';window.document.getElementById('td2').bgColor = '#BFDFF5'}//News Drop Downsfunction clickonnews(newsID){	if(window.document.getElementById(newsID).style.display=='block'){		window.document.getElementById(newsID).style.display='none';	}else{		window.document.getElementById(newsID).style.display='block';	}}//Show Menu Buttonsfunction mnus(){document.write("<Table  border=0 cellpadding='0' cellspacing='0' width='150'>");document.write("<TR>");document.write("<TD valign='top' align='left'>&nbsp;</TD>");document.write("<TD valign='center' align='center'><Script>document.write('<div align=center><font color=#000000 size=2>'+ today.getCalendarDay() + ' ' + today.getDate() + getNths(today) + ' ' + today.getCalendarMonth() + '&nbsp;&nbsp;&nbsp;</font></div>')</Script></TD>");document.write("</TR>");document.write("<TR>");document.write("<TD valign='top' align='left'>&nbsp;&nbsp;</TD>");document.write("<TD valign='bottom' align='left'><IMG src='./artwork/gen_left_top.gif' border='0'></TD>");document.write("</TR>");document.write("<TR>");document.write("<TD valign='top' align='left'>&nbsp;</TD>");document.write("<TD valign='top' align='left' bgcolor='#FFFF66'><A href='../index.htm' class='btn'>Driving School Home</a></TD>");document.write("<TR>");document.write("<TD valign='top' align='left'>&nbsp;</TD>");document.write("<TD valign='top' align='left' bgcolor='#FFFF66'><A href='./why_us/index.htm' class='btn'>Why Brian's School?</a></TD>");document.write("</TR>");document.write("<TR>");document.write("<TD valign='top' align='left'>&nbsp;</TD>");document.write("<TD valign='top' align='left' bgcolor='#FFFF66'><A href='./where_to_start/index.htm' class='btn'>Where to start?</a></TD>");document.write("</TR>");document.write("<TR>");document.write("<TD valign='top' align='left'>&nbsp;</TD>");document.write("<TD valign='top' align='left' bgcolor='#FFFF66'><A href='./what_next/index.htm' class='btn'>I've passed, what now?</a></TD>");document.write("</TR>");document.write("<TR>");document.write("<TD valign='top' align='left'>&nbsp;</TD>");document.write("<TD valign='top' align='left' bgcolor='#FFFF66'><A href='./contact_us/index.htm' class='btn'>Contact us</a></TD>");document.write("</TR>");document.write("<TR>");document.write("<TD valign='top' align='left'>&nbsp;</TD>");document.write("<TD valign='top' align='left' bgcolor='#FFFF66'><A href='./enquiry/index.htm' class='btn'>On-line Enquiry Form</a></TD>");document.write("</TR>");document.write("<TR>");document.write("<TD valign='top' align='left'>&nbsp;</TD>");document.write("<TD valign='top' align='left' bgcolor='#FFFF66'><A href='./web_offers/index.htm' class='btn'>Brian's Web Offers</a></TD>");document.write("</TR>");document.write("<TR>");document.write("<TD valign='top' align='left'>&nbsp;</TD>");document.write("<TD valign='top' align='left' bgcolor='#FFFF66'><A href='./links/index.htm' class='btn'>Driving Related Links</a></TD>");document.write("</TR>");document.write("<TR>");document.write("<TD valign='top' align='left'>&nbsp;</TD>");document.write("<TD valign='top' align='center' bgcolor='#FFFF66' class='btn_cell'><BR><IMG src='./artwork/gen_iow.gif' border='0'></TD>");document.write("</TR>");document.write("<TR>");document.write("<TD valign='top' align='left'>&nbsp;</TD>");document.write("<TD valign='top' align='left'><IMG src='./artwork/gen_left_base.gif' border='0'></TD>");document.write("</TR>");document.write("</Table>");}//Show Menu Subset Buttonsfunction mnus_subset(){document.write("<span class='submnu'><a href='./home/index.htm' target='_self' class='sublink'>home</a> | <a href='./why_us/index.htm' target='_self' class='sublink'>why us?</a> | <a href='./where_to_start/index.htm' target='_self' class='sublink'>where to start?</a> | <a href='./what_next/index.htm' target='_self' class='sublink'>what next?</a> | <a href='./contact_us/index.htm' target='_self' class='sublink'>contact us</a> | <a href='./enquiry/index.htm' target='_self' class='sublink'>enquiry</a> | <a href='./web_offers/index.htm' target='_self' class='sublink'>offers</a> | <a href='./links/index.htm' target='_self' class='sublink'>links</a></span>");}//Show Copyrightfunction copyright_txt(){document.write("<Span class='copyright'>Copyright &#169; BriansDrivingSchool.co.uk 2005. All Rights Reserved.&nbsp;-&nbsp;Website design by <A href='Http://www.NextStepIT.co.uk' target='_blank' class='web_link'> Next Step IT Ltd</a> 2005&nbsp;-</span>");}function getFullYear() { 	var n = this.getYear();	n += 0 ;	return n ;} function getActualMonth() { 	var n = this.getMonth();	n += 1 ;	return n ;}function getActualDay() { 	var n = this.getDay();	n += 1 ;	return n ;} function getNths(n) {     if (n == 1 || n == 21 || n == 31) return 'st';    else if (n == 2 || n == 22) return 'nd';    else if (n == 3 || n == 23) return 'rd';    else return 'th';}function getCalendarDay() { 	var n = this.getDay();	var Dow = new Array(7);	Dow[0] = "Sunday" ;	Dow[1] = "Monday" ;	Dow[2] = "Tuesday" ;	Dow[3] = "Wednesday" ;	Dow[4] = "Thursday" ;	Dow[5] = "Friday" ;	Dow[6] = "Saturday" ;	return Dow[n] ;} function getCalendarMonth() { 	var n = this.getMonth();	var moy = new Array(12);	moy[0] = "January" ;	moy[1] = "February" ;	moy[2] = "March" ;	moy[3] = "April" ;	moy[4] = "May" ;	moy[5] = "June" ;	moy[6] = "July" ;	moy[7] = "August"; 	moy[8] = "September" ;	moy[9] = "October" ;	moy[10] = "November"; 	moy[11] = "December" ;	return moy[n] ;} function getCalendarMonthNum() { 	var n = this.getMonth();	var moy = new Array(12);	moy[0] = "01" ;	moy[1] = "02" ;	moy[2] = "03" ;	moy[3] = "04" ;	moy[4] = "05" ;	moy[5] = "06" ;	moy[6] = "07" ;	moy[7] = "08"; 	moy[8] = "09" ;	moy[9] = "10" ;	moy[10] = "11"; 	moy[11] = "12" ;	return moy[n] ;} var popup="Sorry, right-click is disabled.\n\nCopyright \u00A9 BriansDrivingSchool.co.uk 2005";function noway(go) {	if (document.all) {		if (event.button == 2) {			alert(popup);			return false;		}	}	if (document.layers) {		if (go.which == 3) {			alert(popup);			return false;		}	}}