NS4=(document.layers);
NS60=(navigator.userAgent.indexOf("Netscape6/6.0")!=-1);
Opera=(navigator.userAgent.indexOf('Opera')!=-1)||(navigator.appName.indexOf('Opera')!=-1)||(window.opera);
IE4=(document.all&&!Opera) ;
mac=((IE4)&&(navigator.appVersion.indexOf ("Mac")!=-1));
DOM=document.documentElement&&!NS4&&!IE4&&!Opera;
mswnd=(navigator.appVersion.indexOf("Windows")!=-1||navigator.appVersion.indexOf("WinNT")!=-1);
loadHandlers=null;

if(IE4)
	{
	av=navigator.appVersion;
	avi=av.indexOf("MSIE");
	if (avi==-1)
		version = parseInt (av) ;
	  else
		version = parseInt(av.substr(avi+4)) ;
	}

if(NS4||IE4||DOM||Opera)
	{
	imgFolder = "images";
	maxlev = 2;
	popAlign = 0;
	bVarWidth = 0;
	bShowDel = 0;
	popupWidth = 200;
	levelOffset = 2;
	bord = 2;
	vertSpace = 3;
	sep = 0;
	sepFrame = false;
	openSameFrame = false;
	cntFrame = "content";
	contentFrame = "content";
	mout = true;
	iconSize = 8;
	closeDelay = 600;
	tlmOrigBg = "#000033";
	tlmOrigCol = "#ffffff";
	bBitmapScheme = true;
	popupOpacity = 0;
	bBitmapPopups = true;
	popupOpenHeight = 2;
	popupLeftPad = 1;
	popupRightPad = 1;
	tlmHlBg = "#000066";
	tlmHlCol = "#ff0000";
	borderCol = "#000033";
	menuHorizontal = false;
	scrollHeight=6;
	}

lev0 = new Array ("12px",false,false,"#000066","#ff0000","#ff0000","Arial,Tahoma,Helvetica","#000033") ;
lev1 = new Array ("12px",false,false,"#000066","#ff0000","#ff0000","Arial,Tahoma,Helvetica","#000033") ;

mn1 = new Array
(
"<b>Registration Search</b>","search.php",0
,"<li>Dateless Registrations","search.php",0
,"<li>Cheap Search/Prefix Plates","create-a-plate.php",0
)


mn2 = new Array
(
"<b>Information</b>","information.php",0
,"<li>Buyers Guide","buyers_guide.php",0
,"<li>Sellers Guide","sellers_guide.php",0
,"<li>We Are Cash Buyers","cash_purchase.php",0
,"<li>FAQs","faq.php",0
,"<li>DVLA Certificates","certificates.php",0
,"<li>VRO Details","VRO_details.php",0
,"<li>E & F Prefixes","E_and_F_prefixes.php",0
,"<li>History of Prefix plates","prefix.php",0
,"<li>New Format Numbers","new_format.php",0
,"<li>Phonetic Alphabet","phonetics.php",0
)

mn3 = new Array
(
"<b>About Us</b>","about_us.php",0
,"<li>Meet the Team","about_us.php",0
,"<li>Contact Us","about_us.php",0
,"<li>Terms of Business","terms.php",0
)


mn4 = new Array
(
"<b>Our website</b>","our_website.php",0
,"<li>Add us to your Favourites","our_website.php#favourite",0
,"<li>Help Pages","our_website.php#help",0
,"<li>Have you found and error?","our_website.php#errors",0
)


absPath="";
if (sepFrame && !openSameFrame)
	{
	if (document.URL.lastIndexOf("\\")>document.URL.lastIndexOf("/")) {sepCh = "\\" ;} else {sepCh = "/" ;}
	absPath = document.URL.substring(0,document.URL.lastIndexOf(sepCh)+1);
	}

popupOffset = 1;

if (DOM||IE4) document.write("<img width=1 height=1 id='menubg4' src='images/menubg4.gif' style='display:none' /><img width=1 height=1 id='menubg5' src='images/menubg5.gif' style='display:none' /><img width=1 height=1 id='menubg6' src='images/menubg6.gif' style='display:none' />");
if(Opera) document.write("<"+"script language='JavaScript1.2' src='scripts/menu_opera.js'><"+"/"+"script>");
else if (NS4) document.write("<"+"script language='JavaScript1.2' src='scripts/menu_ns4.js'><"+"/"+"script>");
else if (document.getElementById) document.write("<"+"script language='JavaScript1.2' src='scripts/menu_dom.js'><"+"/"+"script>");
else document.write("<"+"script language='JavaScript1.2' src='scripts/menu_ie4.js'><"+"/"+"script>");

document.write("<style type='text/css'>\n");
if(!IE4&&!DOM) document.write(".topFold {position:relative}\n");
document.write(((NS4&&!bBitmapScheme)?".mm2":".mit")+" {padding-left:2px;padding-right:2px;cursor:hand;}\n");
document.write("</style>\n");

