function myProductList()
{
document.write("<form action='ProductInfoResult.asp' method='post' name='frm'>");
document.write("<table width='100%' border='0' align='center' cellpadding='0' cellspacing='0'>");
document.write("<tr valign='top' height='10'>");
document.write("<td valign='top'>");
document.write("<span class='linkproduct'>Search</span><br><input type='text' name='PartNumber' size='22' class='input'><input type='submit' name='submit' value='GO' style='width:30px' onClick='return TechnicalInfoForm()' class='buttonserach'>");
document.write("</td>");
document.write("</tr>");
document.write("<tr height='10'>");
document.write("<td></td>");
document.write("</tr>");
document.write("<tr>");
document.write("<td><img src='images/line.gif' width='187' height='1'></td>");
document.write("</tr>");
document.write("<tr>");
document.write("<td><a href='Universal.htm' class='linkproduct' title='Universal'>Universal</a></td>");
document.write("</tr>");
document.write("<tr>");
document.write("<td><img src='images/line.gif' width='187' height='1'></td>");
document.write("</tr>");
document.write("<tr>");
document.write("<td><a href='SearchPageOEReplacement.asp' class='linkproduct' title='OE Replacement'>OE Replacement</a></td>");
document.write("</tr>");
document.write("<tr>");
document.write("<td><img src='images/line.gif' width='187' height='1'></td>");
document.write("</tr>");
document.write("<tr>");
document.write("<td><a href='VisionSystem.htm' class='linkproduct' title='Vision System'>Vision System</a></td>");
document.write("</tr>");
document.write("<tr>");
document.write("<td><img src='images/line.gif' width='187' height='1'></td>");
document.write("</tr>");
document.write("<tr>");
document.write("<td><a href='Towing.htm' class='linkproduct' title='Towing &amp; Hitching'>Towing &amp; Hitching</a></td>");
document.write("</tr>");
document.write("<tr>");
document.write("<td><img src='images/line.gif' width='187' height='1'></td>");
document.write("</tr>");
document.write("<tr>");
document.write("<td><a href='SearchPageReplacementGlass.asp' class='linkproduct' title='Replacement Glass'>Replacement Glass</a></td>");
document.write("</tr>");
document.write("<tr>");
document.write("<td><img src='images/line.gif' width='187' height='1'></td>");
document.write("</tr>");
document.write("<tr>");
document.write("<td><a href='TechnicalInfo.htm' class='linkproduct' title='Installation Instructions and Specifications'>Installation Instructions and Specifications</a>");
document.write("</td>");
document.write("<tr>");
document.write("<td><img src='images/line.gif' width='187' height='1'></td>");
document.write("</tr>");
document.write("<tr>");
document.write("<td><a href='whatsnew.htm' class='linkproduct' title=What's&nbsp;New>What's New  <font color=red size=4>!</font></a>");
document.write("</td>");
document.write("<tr>");
document.write("<td><img src='images/line.gif' width='187' height='1'></td>");
document.write("</tr>");
document.write("<tr>");
document.write("<td>&nbsp;</td>");
document.write("</tr>");
document.write("</table>");
document.write("</form>");
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
////@@@@@@@@@@@@@@@@ ----------- HEADER ---------- @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@/////
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
function myHeader()
{
document.write("<table width=\"100%\" border=\"0\" height=\"124\" style=\"background-image:url(images/header.jpg)\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\">");
document.write("<tr height=\"70\"><td width=\"23%\">&nbsp;</td><td width=\"77%\">&nbsp;</td></tr>");
document.write("<tr height=\"54\"><td>&nbsp;</td><td>");
document.write("<ul id=\"header\" class=links>");
document.write("<li><a href=index.htm rel=A>Home</a></li>");
document.write("<li><a href=aboutUs.htm rel=About Us>About Us</a></li>");
document.write("<li><a href=products.htm rel=Products>Products</a></li>");
document.write("<li><a href=TechnicalInfo.htm rel=Technical Info>Technical Info</a></li>");
document.write("<li><a href=Careers.asp rel=Careers>Careers</a></li>");
document.write("<li><a href=FAQs.htm rel=FAQ's>FAQ's</a></li>");
document.write("<li><a href=ContactUs.asp rel=Contact Us>Contact Us</a></li>");
document.write("</ul>");
document.write("</td></tr>");
document.write("</table>");
}
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
////@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@/////
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
function myFotter()
{
document.write("<table width=\"100%\" border=\"0\" height=\"85\" style=\"background-image:url(images/fotter.jpg)\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\">");
document.write("<tr height=55><td width=10%>&nbsp;</td><td width=85%>&nbsp;</td></tr>");
document.write("<tr><td width=10%>&nbsp;</td><td width=85%>");
			   myNews()			   
document.write("</td></tr>");
document.write("</table>");
}
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
////@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@/////
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
function myNews()
{
document.write('<marquee id="iescroller" direction="up" width="100%" height="30" scrollamount="1" scrolldelay="100">');
iescroller.onmouseover=new Function("iescroller.scrollAmount=0");
iescroller.onmouseout=new Function("iescroller.scrollAmount=1");
document.write('<Div align="left" class="p"><a href=whatsnew.htm class=news>2007-2009 GM Silverado, Tahoe, Suburban towing mirrors are HERE!!!!</a></div>');
document.write('<Div align="left" class="p"><a href=whatsnew.htm class=news>180 New Applications available in 2009</a></div>');
document.write('<Div align="left" class="p"><a href=whatsnew.htm class=news>Even more replacement glass available</a></div>');
document.write('<Div align="left" class="p"><a href=whatsnew.htm class=news>Muth turn signal added to our products</a></div>');
document.write('</marquee>');
}
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
////@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@/////
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
function mySearch()
{
document.write("<table width=\"200\" height=\"0\" border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\" class=\"p\">");
document.write("<tr>");	
document.write("<td><strong>Search</strong></td>");
document.write("</tr>");
document.write("<tr>");	
document.write("<td>");	
document.write("<form name=\"frm\" method=\"post\" action=\"TechnicalInfoResult.asp\">");
document.write("<input type=\"text\" name=\"PartNumber\" value=\"\" class=\"input\">&nbsp;<input type=\"submit\" name=\"submit\" value=\"Go\" class=\"input\" onClick=\"return TechnicalInfoForm()\">");
document.write("</form>");
document.write("</td>");
document.write("</tr>");
document.write("</table>");
}
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
////@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@/////
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
function aniltaLink()
{
document.write("<table width=\"100%\" border=\"0\" height=\"50\"  align=\"center\" cellpadding=\"0\" cellspacing=\"0\">");
document.write("<tr>");
document.write("<td valign=\"bottom\" class=\"aniltalink\">");
document.write("<a href=\"http://www.anilta.net\" class=\"aniltalink\" target=\"_blank\">Anilta Systems</a>...........We link today's businesses to tomorrow's technology");
document.write("</td>");
document.write("</tr>");
document.write("</table>");
}
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
////@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@/////
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
function myFavorite()
{
	if ((navigator.appName == "Microsoft Internet Explorer") && (parseInt(navigator.appVersion) >= 4)) 
	{
		var url="http://ksource.org/DemoJ";
		var title="ksource.org";
		document.write('<A class=\"links\" HREF="javascript:window.external.AddFavorite(url,title)">Add us to your favorites!</a>');
	}
	else
	{
		if(navigator.appName == "Netscape") 
		document.write("<Span class=links>To add us to your favorites!<br>Press (Ctrl-D) on your keyboard.<br></span>");
	}
}
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
////@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@/////
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
function myLink()
{
document.write("<ul id=\"countrytabs\" class=\"shadetabs\">");
document.write("<li><a href=\"index.htm\" rel=\"A\">Home</a></li>");
document.write("<li><a href=\"AboutUs.htm\" rel=\"About Us\">About Us</a></li>");
document.write("<li><a href=\"Userlogin.asp?SwitchTo=Products.htm\" rel=\"Products\">Products</a></li>");
document.write("<li><a href=\"TechnicalInfo.htm\" rel=\"Technical Info\">Technical Info</a></li>");
document.write("<li><a href=\"Careers.asp\" rel=\"Careers\">Careers</a></li>");
document.write("<li><a href=\"FAQs.htm\" rel=\"FAQ's\">FAQ's</a></li>");
document.write("<li><a href=\"ContactUs.asp\" rel=\"Contact Us\">Contact Us</a></li>");
document.write("</ul>");
}
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
////@@@@@@@@@ ----------- ADMIN ---------- @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@/////
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
function myAdminLink()
{
document.write("<ul id=\"countrytabs\" class=\"shadetabs\">");
document.write("<li><a href=\"main.asp\" rel=\"A\">Home</a></li>");
document.write("<li><a href=\"addjobs.asp\" rel=\"A\">Add Job</a></li>");
document.write("<li><a href=\"listjobs.asp\" rel=\"A\">List Job</a></li>");
document.write("<li><a href=\"addnews.asp\" rel=\"A\">Add News</a></li>");
document.write("<li><a href=\"listnews.asp\" rel=\"A\">List News</a></li>");
document.write("<li><a href=\"technicalinfo.asp\" rel=\"Technical Info\">Technical Info</a></li>");
document.write("<li><a href=\"listtechnicalinfo.asp\" rel=\"Technical Info\">List Technical Info Product</a></li>");
document.write("<li><a href=\"logout.asp\" rel=\"Contact Us\">Logout</a></li>");
document.write("</ul>");
}
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
////@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@/////
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
function myProductLink()
{
document.write("<div class=\"p\"><strong>Products</strong></div>");
document.write("<ul id=\"producttabs\" class=\"producttabs\">");
document.write("<li><a href=\"Userlogin.asp?SwitchTo=Universal.htm\" rel=\"Universal\">Universal</a></li>");
document.write("<li><a href=\"Userlogin.asp?SwitchTo=SearchPageOEReplacement.asp\" rel=\"OE Replacement\">OE Replacement</a></li>");
document.write("<li><a href=\"Userlogin.asp?SwitchTo=VisionSystem.htm\" rel=\"Vision System\">Vision System</a></li>");
document.write("<li><a href=\"Userlogin.asp?SwitchTo=Towing.htm\" rel=\"Towing\">Towing &amp; Hitching</a></li>");
document.write("<li><a href=\"Userlogin.asp?SwitchTo=SearchPageReplacementGlass.asp\" rel=\"Replacement Glass\">Replacement Glass</a></li>");
document.write("</ul>");
}
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
////@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@/////
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
function myTechnicalInfoForm()
{
document.write("<form name=\"frm\" method=\"post\" action=\"TechnicalInfoResult.asp\">");
document.write("<table width=\"200\" height=\"0\" border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\" class=\"p\">");
document.write("<tr valign=\"top\" height=\"30\">");
document.write("<td>Installation Instructions and Specifications - Enter Part number</td>");
document.write("</tr>");
document.write("<tr>");	
document.write("<td><input type=\"text\" name=\"PartNumber\" value=\"\" class=\"input\">&nbsp;<input type=\"submit\" name=\"submit\" value=\"Go\" class=\"input\" onClick=\"return TechnicalInfoForm()\"></td>");
document.write("</tr>");
document.write("</table>");
document.write("</form>");
}
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
////@@@@@@@@@@------ FAQ -------@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@/////
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
function showhide(divId)
	{
		var obj = document.getElementById(divId);
		if(obj != null)
		{
			if(obj.style.display == 'none')
				obj.style.display = 'inline';
			else
				obj.style.display = 'none';
		}
	}
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
////@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@/////
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
////@@@@@@@@@@------ CARRER -------@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@/////
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
function showhide2()
	{
		document.getElementById("CT").style.display='none';	
		document.getElementById("SSP").style.display='inline';	
	}

function showhide3()
	{
		document.getElementById("CT").style.display='inline';	
		document.getElementById("SSP").style.display='none';	
	}			
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
////@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@/////
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
function TechnicalInfoForm()
{
	if (document.frm.PartNumber.value=="")
	{
		alert("Part Number : Can not be blank !")
		document.frm.PartNumber.focus();
		return false;
	}	
return true;
}
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
////@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ OE Replacement Glass Search @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@/////
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
function buildnewsearchOER()
{
  if (document.searchfrm.sYEAR.value == "")
  {
    document.searchfrm.sYEAR.focus();
    return (false);
  }
  else
  {
	document.searchfrm.action="SearchPageOEReplacement.asp";
	document.searchfrm.submit();
  }
}
function showSearchResultOER()
{
  if (document.searchfrm.sYEAR.value == "")
  {
    alert("Please enter a value for year.");
    document.searchfrm.sYEAR.focus();
    return (false);
  }
   if (document.searchfrm.sMAKE.value == "")
  {
    alert("Please enter a value for make.");
    document.searchfrm.sMAKE.focus();
    return (false);
  }
  if (document.searchfrm.sModel.value == "")
  {
    alert("Please enter a value for model.");
    document.searchfrm.sModel.focus();
    return (false);
  }  
 /* if (document.searchfrm.sDriPass.value == "")
  {
    alert("Please enter a value for driver or passenger .");
    document.searchfrm.sDriPass.focus();
    return (false);
  }*/  
  if ((document.searchfrm.TotalRecord.value > 1) && (document.searchfrm.sType.value == ""))
  {
    alert("Please enter a value for type.");
    document.searchfrm.sType.focus();
    return (false);
  }  
  else
  {
  document.searchfrm.action="SearchResultOEReplacement.asp";
  document.searchfrm.submit();
  }
}
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
////@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ OE Replacement Glass Search @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@/////
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
function buildnewsearchRG()
{
  if (document.searchfrm.sYEAR.value == "")
  {
    document.searchfrm.sYEAR.focus();
    return (false);
  }
  else
  {
	document.searchfrm.action="SearchPageReplacementGlass.asp";
	document.searchfrm.submit();
  }
}
function showSearchResultRG()
{
  if (document.searchfrm.sYEAR.value == "")
  {
    alert("Please enter a value for year.");
    document.searchfrm.sYEAR.focus();
    return (false);
  }
   if (document.searchfrm.sMAKE.value == "")
  {
    alert("Please enter a value for make.");
    document.searchfrm.sMAKE.focus();
    return (false);
  }
  if (document.searchfrm.sModel.value == "")
  {
    alert("Please enter a value for model.");
    document.searchfrm.sModel.focus();
    return (false);
  }  
 /* if (document.searchfrm.sDriPass.value == "")
  {
    alert("Please enter a value for driver or passenger .");
    document.searchfrm.sDriPass.focus();
    return (false);
  }*/  
  if ((document.searchfrm.TotalRecord.value > 1) && (document.searchfrm.sType.value == ""))
  {
    alert("Please enter a value for type.");
    document.searchfrm.sType.focus();
    return (false);
  }  
  else
  {
  document.searchfrm.action="SearchResultReplacementGlass.asp";
  document.searchfrm.submit();
  }
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
////@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@/////
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
function goclicked()
{

if (Validator()==true)
  {


  document.FrontPage_Form1.frmaction.value="checkps";
  document.FrontPage_Form1.submit();
  }
}  

function Validator()
{

  if (document.FrontPage_Form1.Login.value == "")
  {
    alert("Please enter a value for the \"Login \" field.");
    document.FrontPage_Form1.Login.focus();
    return false;
  }

  if (document.FrontPage_Form1.password.value == "")
  {
    alert("Please enter a value for the \"Password\" field.");
    document.FrontPage_Form1.password.focus();
    return (false);
  }
  return (true);
}
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
////@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@/////
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
function goclickedContact()
{
if (ValidatorContact()==true)
  {
  document.FrontPage_Form1.submit();
  }
}  

function ValidatorContact()
{
  if (document.FrontPage_Form1.last_name_xyz.value == "")
  {
    alert("Please enter a value for the \"Last Name \" field.");
    document.FrontPage_Form1.last_name_xyz.focus();
    return (false);
  }
  if (document.FrontPage_Form1.first_name_xyz.value == "")
  {
    alert("Please enter a value for the \"First Name \" field.");
    document.FrontPage_Form1.first_name_xyz.focus();
    return (false);
  }
  if (document.FrontPage_Form1.company_xyz.value == "")
  {
    alert("Please enter a value for the \"Company \" field.");
    document.FrontPage_Form1.company_xyz.focus();
    return (false);
  }
  if (document.FrontPage_Form1.phone_xyz.value == "")
  {
    alert("Please enter a value for the \"Phone \" field.");
    document.FrontPage_Form1.phone_xyz.focus();
    return (false);
  }
  if (document.FrontPage_Form1.email_xyz.value == "")
  {
    alert("Please enter a value for the \"E-Mail\" field.");
    document.FrontPage_Form1.email_xyz.focus();
    return (false);
  }
  if (document.FrontPage_Form1.email_xyz.value.length > 0)
	{
		i=document.FrontPage_Form1.email_xyz.value.indexOf("@")
		j=document.FrontPage_Form1.email_xyz.value.indexOf(".",i)
		k=document.FrontPage_Form1.email_xyz.value.indexOf(",")
		kk=document.FrontPage_Form1.email_xyz.value.indexOf(" ")
		jj=document.FrontPage_Form1.email_xyz.value.lastIndexOf(".")+1
		len=document.FrontPage_Form1.email_xyz.value.length
		if ((i>0) && (j>(1+1)) && (k==-1) && (kk==-1) && (len-jj >=2) && (len-jj<=3))
		{
	 	}
	 	else
		{
			alert("Please enter an exact email address.\n" +
			document.FrontPage_Form1.email_xyz.value + " is invalid.");
			document.FrontPage_Form1.email_xyz.value=""
			document.FrontPage_Form1.email_xyz.focus();
			return false;
		}	   	
 	}
  if (document.FrontPage_Form1.comments_xyz.value == "")
  {
    alert("Request(s)/Comment(s): Can not be blank");
    document.FrontPage_Form1.comments_xyz.focus();
    return (false);
  }
  if (document.FrontPage_Form1.captchacode.value == "")
  {
    alert("Verify Code: Can not be blank");
    document.FrontPage_Form1.captchacode.focus();
    return (false);
  }
  return (true);
}
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
////@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@/////
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
////////////////////////////// THIS FUNCTION IS USED FOR DISPLAYING THE IMAGE COADE FOR CAPTCHA ////////////////////////////
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

function RefreshImage(valImageId) {
	var objImage = document.images[valImageId];
	if (objImage == undefined) {
		return;
	}
	var now = new Date();
	objImage.src = objImage.src.split('?')[0] + '?x=' + now.toUTCString();
}