function toplink1()
{	
	
	document.write('<table border="0" cellpadding="0" cellspacing="0">');
	document.write('<tr><td width="100%"><p align="center"><a href="aboutus.html"><font face="Arial" size="2" color="#FFFFFF">About us</font></a></td></tr>');
	document.write('<tr><td width="100%" height="5"><p align="center"></p></td></tr>');
	document.write('<tr><td width="100%" background="images/dot.jpg" height="1"></td></tr>');
	document.write('<tr><td width="100%" height="5"></td></tr>');
	document.write('<tr><td width="100%"><p align="center"><a href="contactus.html"><font face="Arial" size="2" color="#FFFFFF">Contact us</font></a></td></tr>');
	document.write('<tr><td width="100%" height="5"><p align="center"></p></td></tr>');
	document.write('<tr><td width="100%" background="images/dot.jpg" height="1"></td></tr>');
	document.write('<tr><td width="100%" height="5"></td></tr>');
	document.write('<tr><td width="100%"><p align="center"><a href="enquiry.html"><font face="Arial" size="2" color="#FFFFFF">Enquiry form</font></a></td></tr>');
	document.write('<tr><td width="100%" height="5"><p align="center"></td></tr>');
	document.write('<tr><td width="100%" background="images/dot.jpg" height="1"></td></tr></table>');

}


function toplink()
{
	document.write('<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber9">');
	document.write('<tr><td width="15%" valign="bottom"><img border="0" src="images/arrow.jpg" width="15" height="14"></td><td width="60%"><a href="index.html" class="links">Home</a></td><td width="25%"> </td> </tr>');
	document.write('<tr><td width="15%" valign="bottom"></td><td width="60%"  height="5"></td><td width="25%"> </td> </tr>');
	document.write('<tr><td width="15%" background="images/dot.jpg" bgcolor="#FFFFFF" bordercolor="#FFFFFF"></td><td width="60%" background="images/dot.jpg" height="1" bgcolor="#FFFFFF" bordercolor="#FFFFFF"></td><td width="25%" height="1" bgcolor="#BACEE8"></td></tr>');
	document.write('<tr><td width="15%" valign="bottom"></td><td width="60%"  height="5"></td><td width="25%"> </td></tr>');
	document.write('<tr><td width="15%" valign="bottom"><img border="0" src="images/arrow.jpg" width="15" height="14"></td><td width="60%"><p align="left"><a href="aboutus.html" class="links">About us</a></td><td width="25%"> </td> </tr>');
	document.write('<tr><td width="15%" height="5"></td><td width="60%" height="5"><p align="center"></p> </td><td width="25%" height="5"></td></tr><tr><td width="15%" background="images/dot.jpg" bgcolor="#FFFFFF" bordercolor="#FFFFFF"></td><td width="60%" background="images/dot.jpg" height="1" bgcolor="#FFFFFF" bordercolor="#FFFFFF"></td><td width="25%" height="1" bgcolor="#BACEE8"></td></tr><tr><td width="15%" height="5"></td><td width="60%" height="5"></td><td width="25%" height="5"></td></tr>');
	document.write('<tr><td width="15%" valign="bottom"><img border="0" src="images/arrow.jpg" width="15" height="15" align="center"></td><td width="60%"><p align="left"><a href="contactus.html" class="links">Contact us</a></td><td width="25%"></td></tr><tr><td width="15%" height="5"></td><td width="60%" height="5"><p align="center"></p></td><td width="25%" height="5"></td></tr>');
	document.write('<tr><td width="15%" background="images/dot.jpg" height="1" bgcolor="#FFFFFF"></td><td width="60%" background="images/dot.jpg" height="1" bgcolor="#FFFFFF"></td><td width="25%" height="1" bgcolor="#BACEE8"></td></tr>');
	document.write('<tr><td width="15%" height="5"></td><td width="60%" height="5"></td><td width="25%" height="5"></td></tr>');
	document.write('<tr><td width="15%" valign="bottom"><img border="0" src="images/arrow.jpg" width="15" height="14" align="center"></td><td width="60%"><p align="left"><a href="enquiry.html" class="links">Enquiry</a></td><td width="25%"></td></tr>');
	document.write('<tr><td width="15%" valign="bottom"></td><td width="60%"  height="5"></td><td width="25%"> </td> </tr>');
	document.write('<tr><td width="15%" background="images/dot.jpg" bgcolor="#FFFFFF" bordercolor="#FFFFFF"></td><td width="60%" background="images/dot.jpg" height="1" bgcolor="#FFFFFF" bordercolor="#FFFFFF"></td><td width="25%" height="1" bgcolor="#BACEE8"></td></tr>');
	document.write('<tr><td width="15%" valign="bottom"></td><td width="60%"  height="5"></td><td width="25%"> </td></tr>');
	document.write('<tr><td width="15%" valign="bottom"><img border="0" src="images/arrow.jpg" width="15" height="14" align="center"></td><td width="60%"><a href="consultancy-services.html" class="links">Consultancy</a></td><td width="25%">&nbsp;</td></tr>');
	document.write('</table>');

}

function toplink2()
{
	document.write('<table border="0" cellpadding="0" cellspacing="0" bordercolor="#111111" width="100%" id="AutoNumber9">');
    document.write('<tr><td width="10%"><img border="0" src="images/arrow.jpg" width="15" height="14"></td><td width="90%" colspan="2"><p align="left"><a href="aboutus.html"><b><font face="Verdana" size="2" color="#FFFFFF">About us</font></b></a></td></tr>');
    document.write('<tr><td width="10%" height="5"></td><td width="50%" height="5"><p align="center"></p></td><td width="40%" height="5"></td></tr>');
    document.write('<tr><td width="10%" background="images/dot.jpg" bgcolor="#FFFFFF"></td><td width="50%" background="images/dot.jpg" height="1" bgcolor="#FFFFFF"></td><td width="40%" height="1"></td></tr>');
    document.write('<tr><td width="10%" height="5"></td><td width="50%" height="5"></td><td width="40%" height="5"></td></tr>');
    document.wirte('<tr><td width="10%"><font face="Verdana" size="2" color="#FFFFFF"><b><img border="0" src="images/arrow.jpg" width="15" height="14"></b></font></td><td width="90%" colspan="2"><p align="left"><a href="contactus.html"><b><font face="Verdana" size="2" color="#FFFFFF">Contact us</font></b></a></td></tr>');
    document.write('<tr><td width="10%" height="5"></td><td width="50%" height="5"><p align="center"></p></td><td width="40%" height="5"></td></tr>');
    document.write('<tr><td width="10%" background="images/dot.jpg" height="1" bgcolor="#FFFFFF"></td><td width="50%" background="images/dot.jpg" height="1" bgcolor="#FFFFFF"></td><td width="40%" height="1"></td></tr>');
    document.wirte('<tr><td width="10%" height="5"></td><td width="50%" height="5"></td><td width="40%" height="5"></td></tr>');
    document.write('<tr><td width="10%"><font face="Verdana" size="2"><b><img border="0" src="images/arrow.jpg" width="15" height="14"></b></font></td><td width="90%" colspan="2"><p align="left"><a href="enquiry.html"><b><font face="Verdana" size="2" color="#FFFFFF">Enquiry form</font></b></a></td></tr>');
    document.wirte('<tr><td width="10%" height="5"></td><td width="50%" height="5"><p align="center"></td><td width="40%" height="5"></td></tr>');
    document.write('<tr><td width="10%" height="1"></td><td width="50%" height="1"></td><td width="40%" height="1"></td></tr>');
    document.write('</table>');
}

function bottomlink()
{
	document.write('<table border="0" cellpadding="0" cellspacing="0" width="100%">');
    document.write('<tr><td width="80%">');
    document.write('<table border="0" cellpadding="0" cellspacing="0" width="100%">');
    document.write('<tr>');
    document.write('<td width="15%">');
    document.write('<p align="center"><a href="index.html" class="links">Home</a></td>');
    document.write('<td width="20%">');
    document.write('<p align="center"><a href="aboutus.html" class="links">About Us</a></td>');
    document.write('<td width="20%">');
    document.write('<p align="center"><a href="contactus.html" class="links">Contact Us</a></td>');
    document.write('<td width="20%">');
    document.write('<p align="center"><a href="enquiry.html" class="links">Enquiry</a></td>');
    document.write('<td width="25%">');
    document.write('<p align="center"><a href="consultancy-services.html" class="links">Consultancy Services</a></td>');
    document.write('</tr>');
    document.write('</table>');
	document.write('</td><td ></td></tr></table>');


}

function bottom()
{
	document.write('<div align="center"><center><table border="0" cellpadding="5" cellspacing="0" width="100%"><tr><td width="20%"><a href="links.html">&nbsp;Links</a></td><td width="80%"><p align="left">© Copyright Brew Force Machines (P) Ltd. Site Powered by <a href="http://www.emavens.com" target=new> <font color="#B00C10"><b>eMaven Solutions</b></font></a></p></td></tr></table></center></div>');
}





function homeflash1()
{
document.write('<embed width="231" height="160" src="logo.swf" menu=false quality=best>');
}

function homeflash2()
{
document.write('<embed width="168" height="288" src="links.swf" align="right" menu=false quality=best>');
}

function homeflash3()
{
document.write('<embed width="231" height="288" src="main-flash.swf" menu=false quality=best>');
}

function internaltop1()
{
document.write('<embed width="231" height="160" src="logo.swf" menu=false quality=best>');
}

function internaltop2()
{
document.write('<embed width="231" height="288" src="int-links.swf" menu=false quality=best>');
}

function check_enquiryform()
{
	
	docf=document.frm;
	if(docf.name.value=='')
	{
		alert("Please Enter your Name");
		docf.name.focus();
		return false;
	}
	if(docf.contact.value=='')
	{
		alert("Please your Contact person");
		docf.contact.focus();
		return false;
	}
	if(docf.designation.value=='')
	{
		alert("Please enter your Designation");
		docf.designation.focus();
		return false;
	}
	
	if(docf.email.value=='')
	{
		alert("Please enter your Email ID");
		docf.email.focus();
		return false;
	}
	if(docf.address.value=='')
	{
		alert("Please enter your Address");
		docf.address.focus();
		return false;
	}	
	if(docf.city.value=='')
	{
		alert("Please enter name of the city in which you live");
		docf.city.focus();
		return false;
	}	
	if(docf.state.value=='')
	{
		alert("Please enter name of State");
		docf.state.focus();
		return false;
	}	
	if(docf.country.value=='')
	{
		alert("Please Select the Country");
		docf.country.focus();
		return false;
	}	
	if(docf.requirement_brief.value=='')
	{
		alert("Please enter your Brief Requirment");
		docf.requirement_brief.focus();
		return false;
	}	
	
	return validate_form(docf);
	
}



function validate_email(field,alerttxt)
{
	with (field)
	{
		apos=value.indexOf("@")
		dotpos=value.lastIndexOf(".")
		if (apos<1||dotpos-apos<2) 
  		{
  			alert(alerttxt);
  			return false;
  		}
		else 
		{
			return true;
		}
	}
	
}


function validate_form(thisform)
{
	with (thisform)
	{
		if (validate_email(email,"Not a valid e-mail address!")==false)
  		{
  			email.focus();
  			return false;
  		}
	}
	
}
