	/* addtoBookmarks - add url to bookmarks/favorites list
 	@param    string        url     url of page
	@param    string        title   title page
	*/
	function addtoBookmarks ( url, title )
	{
		var urlRegxp = /^(http:\/\/www.|https:\/\/www.|ftp:\/\/www.|www.){1}([\w]+)(.[\w]+){1,2}$/;
		if ( url == '' || ! urlRegxp.test( url ) || title == '' )
		{
			url = "http://www.luton-car-rentals.co.uk";
			title = "Car Hire and Van Hire at Luton Airport from Luton Car Rentals";
		}

		if ( ( navigator.appName == "Microsoft Internet Explorer" ) && ( parseInt( navigator.appVersion ) >= 4 ) )
		{ window.external.AddFavorite( url, title ); }
		else if ( navigator.appName == "Netscape" )
		{ window.sidebar.addPanel( title, url, "" ); }
		else
		{ alert("Press CTRL-D (Netscape) or CTRL-T (Opera) to bookmark"); }
	}  // end of function: addtoBookmarks


	/* popup - opens a popup window
 	@param    string        url     url of page
	@param    string        title   title page
	*/
	function popup( url, title )
	{
		if ( url == '' || title == '' )
		{
			var Error=window.open("", "Error", "location=1,status=0,scrollbars=0,height=500,width=500");
			Error.document.write("<HTML>")
			Error.document.write("<TITLE>Error</TITLE>")
			Error.document.write("<BODY>")
			Error.document.write("<H1>")
			Error.document.write("An error occured whilst loading the content for this window!")
			Error.document.write("</H1>")
			Error.document.write("</HTML>")
		}
		else
		{
			window.open( url, title, 'location=1,status=0,scrollbars=0,width=500,height=500,resizable=yes' );
		}
	} // end of function: popup
	



	
