	function val()
	{


		if (document.form1.custName.value == "")
		{
			alert("Your Name is required.");
			document.form1.custName.focus();
			return;
		}
		if (document.form1.Phone.value == "" && document.form1.Email.value == "")
		{
			alert("You must enter your phone or email.");
			if (document.form1.Phone.value == "")
			{
				document.form1.Phone.focus();
			}
			return;
		}
		document.form1.submit();

	}
	function val0()
	{


		if (document.form1.yourName.value == "")
		{
			alert("Your Name is required.");
			document.form1.yourName.focus();
			return;
		}
		if (document.form1.yourPhone.value == "" && document.form1.yourEmail.value == "")
		{
			alert("You must enter your phone or email.");
			if (document.form1.yourPhone.value == "")
			{
				document.form1.yourPhone.focus();
			}
			return;
		}
		if (document.form1.yourQuestion.value == "")
		{
			alert("You must enter a question.");
			document.form1.yourQuestion.focus();
			return;
		}
		document.form1.submit();

	}
	function val1()
	{


		if (document.form1.yourName.value == "")
		{
			alert("Your Name is required.");
			document.form1.yourName.focus();
			return;
		}
		if (document.form1.yourPhone.value == "" && document.form1.yourEmail.value == "")
		{
			alert("You must enter your phone or email.");
			if (document.form1.yourPhone.value == "")
			{
				document.form1.yourPhone.focus();
			}
			return;
		}
		if (document.form1.yourOffer.value == "")
		{
			alert("You must enter an offer amount.");
			document.form1.yourOffer.focus();
			return;
		}
		document.form1.submit();

	}
	function openSticker(vinNumber)
	{
		var str = "toolbar=0,status=0,menubar=0,scrollbars=1,width=690";

		if(window.screen)
		{
			var aw = screen.availWidth;
			var ah = screen.availHeight;

		}
	//	popUp("http://flm.dealerconnection.com/pages/present/flm/notlocalized/searchinventory/windowsticker.asp?localeid=1033&vin=2LMDU68C37BJ06930&orgid=4686#", "viewSticker", str);
	//  popUp("http://flm.dealerconnection.com/pages/present/flm/notlocalized/searchinventory/windowsticker.asp?localeid=1033&vin=3LNHM28T47R633432&orgid=4686#", "viewSticker", str);
popUp("http://flm.dealerconnection.com/pages/present/flm/notlocalized/searchinventory/windowsticker.asp?localeid=1033&vin="+vinNumber+"&orgid=4686#", "viewSticker", str);
//5LMFL285X7LJ11170

//3LNHM28T47R633432
	}
	function openCredit()
	{
		var str = "toolbar=0,status=0,menubar=0,scrollbars=1,width=750,height=900";
		popUp("https://creditapp.autotrader.com/consumer/creditapp/controller.jsp?action=nav_creditapp&dealer_id=68135", "showAdd", str);
	}
	function openAd()
	{
		var str = "toolbar=0,status=0,menubar=0,scrollbars=1,width=1150,height=700";
		popUp("ads.html", "showAdd", str);
	}
	function openSpecial()
	{
		var str = "toolbar=0,status=0,menubar=0,scrollbars=1,width=450,height=700";
		popUp("specials/webspecials.html", "showSpecial", str);
	}
	var winPop=null;
	function openService()
	{
		var str = "toolbar=0,status=0,menubar=0,scrollbars=1,width=450,height=700";
		popUp("specials/servicespecials.html", "showService", str);
	}
	var winPop=null;

	function popUp(sUrl,sName,dimen)
	{
		if (!winPop || winPop.closed)
		{
			winPop = window.open(sUrl, sName, dimen);
		}
		else
		{
			winPop.location=sUrl;
			winPop.focus();
		}
	}