		<!--//
		
		window.name = 'frontpage'
		
		function PopUp(url)
			{
			sealWin = window.open(url,'winVerisign','toolbar=0,location=0,directories=0, status=1,menubar=1,scrollbars=1,resizable=1,WIDTH=500,height=450');
			}		
		
		function GenreGoTo()
			{
			var genreSel = document.frmGenreList.genrelist;
			var genreCode = genreSel.options[genreSel.selectedIndex].value;
			var genreDesc = genreSel.options[genreSel.selectedIndex].text;
			if (genreDesc == "Select Genre...")
				{
				window.alert('Please select a genre to continue');
				return false;
				}
			else
				{
				window.location.href = "shop/genre/genre_list.asp?Genre="+ genreCode + "&GenreName=" + escape(genreDesc);
				}
			}

		function StepByStepPopUp()
			{
			window.open ('http://eil.com/help/stepbystep.asp', 'winStepByStep', 'toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1,width=550,height=500');
			}
		
		function bookmark()
			{
			if ((navigator.appVersion.indexOf("MSIE") > 0)
			&& (parseInt(navigator.appVersion) >= 4)
			&& (navigator.appVersion.indexOf("Win") > 0)) 
			var myLocationArray = location.href.split("/")
			var myLoginURL = myLocationArray[0]+"//"+myLocationArray[2]
			window.external.AddFavorite(myLoginURL,document.title)
			}
			
		function SubscriptionPopup()
			{
			window.open('shop/subscribe_popup.asp','winSubscribe','toolbar=0,location=0,directories=0,status=1,menubar=0,scrollbars=0,resizable=no,width=250,height=325,left=600,top=00,screenx=600,screeny=0,status=0');
			WaitHide();
			}
			
		function OvertureSubscriptionPopup()
			{
			window.open('shop/subscribe_overture.asp','winOvertureSubscribe','toolbar=0,location=0,directories=0,status=1,menubar=0,scrollbars=0,resizable=no,width=280,height=370,left=100,top=00,screenx=100,screeny=0,status=0');
			WaitHide();
			}
		
		//function OpenCertDetails()
		//	{
		//	thewindow = window.open('https://www.thawte.com/cgi/server/certdetails.exe?code=GBESPR4', 'anew', config='height=400,width=450,toolbar=no,menubar=no,scrollbars=yes,resizable=no,location=no,directories=no,status=yes');
		//	}
		
		function OpenCertDetails()
			{
			javascript:window.open('https://www.thawte.com/core/process?process=public-site-seal-cert-details&public-site-seal-cert-details.referer=http://eil.com', 'anew', config='height=560,width=520,toolbar=no,menubar=no,scrollbars=yes,resizable=no,location=no,directories=no,status=yes');
			}
			
		function GetIEVersion()
			{
			var IEOffset = navigator.userAgent.indexOf("MSIE ");
			return parseFloat(navigator.userAgent.substring(IEOffset + 5, navigator.userAgent.indexOf(";", IEOffset)));
			}
		
		function WaitHide() 
			{			
			if (navigator.appName == "Microsoft Internet Explorer")
				{
				if (parseInt(GetIEVersion()) >= 5)
					{
					if (navigator.userAgent.indexOf("Windows") != -1)
						{
						document.all.contents.style.visibility = 'hidden';
						document.all.intro.style.visibility = 'visible';
						}
					}
				}
			}
		

		//Function to check the email address on the form is valid.
		function checkEmail(form)
		{
			var email = form.emailadd.value;
			if (email == "")
			{
				alert("You must enter your email address. Please try again...")
				form.emailadd.focus()
				return false
			}
			else if (email.indexOf(" ") > 0 || email.indexOf("@") == -1 || email.indexOf(".") == -1)
			{
				alert("Invalid email address.  Please correct and try again...")
				form.emailadd.value = ""
				form.emailadd.focus()
				return false
			}
		}
		//-->
