function mainflash()
{
document.write('<OBJECT classid=clsid:D27CDB6E-AE6D-11cf-96B8-444553540000 codeBase=http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0 height=140 width=593>');
document.write('<param name="_cx" value="20981">');
document.write('<param name="_cy" value="6826">');
document.write('<param name="FlashVars" value>');
document.write('<param name="Movie" value="flash-for-handicraft.swf">');
document.write('<param name="Src" value="flash-for-handicraft.swf">');
document.write('<param name="WMode" value="Transparent">');
document.write('<param name="Play" value="0">');
document.write('<param name="Loop" value="-1">');
document.write('<param name="Quality" value="High">');
document.write('<param name="SAlign" value>');
document.write('<param name="Menu" value="0">');
document.write('<param name="Base" value>');
document.write('<param name="AllowScriptAccess" value="always">');
document.write('<param name="Scale" value="NoBorder">');
document.write('<param name="DeviceFont" value="0">');
document.write('<param name="EmbedMovie" value="0">');
document.write('<param name="BGColor" value="FFFFFF">');
document.write('<param name="SWRemote" value>');
document.write('<param name="MovieData" value>');
document.write('<param name="SeamlessTabbing" value="1">');
document.write('<param name="Profile" value="0">');
document.write('<param name="ProfileAddress" value>');
document.write('<param name="ProfilePort" value="0"><embed src="flash-for-handicraft.swf" menu="false" quality="best" scale="noborder" wmode="transparent" bgcolor="#FFFFFF" WIDTH="593" HEIGHT="140" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"></OBJECT>');
}

function leftpanel()
{
document.write('<table border="0" cellpadding="2" class="leftpanel" bordercolor="#111111" width="80%" id="AutoNumber18" style="border-collapse: collapse">');
document.write('<tr><td width="10%" align="center" height="19"><img border="0" src="images/bullet.gif" width="7" height="7"></td><td width="90%" height="19"><a href="kashmir-carpets.html" class="leftpanel">Carpets</a></td></tr>');
document.write('<tr><td width="10%" align="center" height="1" background="images/dot1.jpg"></td><td width="90%" height="1" background="images/dot1.jpg"></td></tr>');
document.write('<tr><td width="10%" align="center" height="19"><img border="0" src="images/bullet.gif" width="7" height="7"></td><td width="90%" height="19"><a href="kashmir-namdas.html" class="leftpanel">Namdas</a></td></tr>');
document.write('<tr><td width="10%" align="center" height="1" background="images/dot1.jpg"></td><td width="90%" height="1" background="images/dot1.jpg"></td></tr>');
document.write('<tr><td width="10%" align="center" height="19"><img border="0" src="images/bullet.gif" width="7" height="7"></td><td width="90%" height="19"><a href="kashmiri-shawls.html" class="leftpanel">Shawls</a></td></tr>');
document.write('<tr><td width="10%" align="center" height="1" background="images/dot1.jpg"></td><td width="90%" height="1" background="images/dot1.jpg"></td></tr>');
document.write('<tr><td width="10%" align="center" height="19"><img border="0" src="images/bullet.gif" width="7" height="7"></td><td width="90%" height="19"><a href="silverware-in-kashmir.html" class="leftpanel">Silverware</a></td></tr>');
document.write('<tr><td width="10%" align="center" height="1" background="images/dot1.jpg"></td><td width="90%" height="1" background="images/dot1.jpg"></td></tr>');
document.write('<tr><td width="10%" align="center" height="19"><img border="0" src="images/bullet.gif" width="7" height="7"></td><td width="90%" height="19"><a href="kashmir-pherans.html" class="leftpanel">Pherans</a></td></tr>');
document.write('<tr><td width="10%" align="center" height="1" background="images/dot1.jpg"></td><td width="90%" height="1" background="images/dot1.jpg"></td></tr>');
document.write('<tr><td width="10%" align="center" height="19"><img border="0" src="images/bullet.gif" width="7" height="7"></td><td width="90%" height="19"><a href="kashmir-basketry.html" class="leftpanel">Basketry</a></td></tr>');
document.write('<tr><td width="10%" align="center" height="1" background="images/dot1.jpg"></td><td width="90%" height="1" background="images/dot1.jpg"></td></tr>');
document.write('<tr><td width="10%" align="center" height="19"><img border="0" src="images/bullet.gif" width="7" height="7"></td><td width="90%" height="19"><a href="kashmir-brasware.html" class="leftpanel">Brasware</a></td></tr>');
document.write('<tr><td width="10%" align="center" height="1" background="images/dot1.jpg"></td><td width="90%" height="1" background="images/dot1.jpg"></td></tr>');
document.write('<tr><td width="10%" align="center" height="19"><img border="0" src="images/bullet.gif" width="7" height="7"></td><td width="90%" height="19"><a href="kashmir-crewel-work.html" class="leftpanel">Crewel Work</a></td></tr>');
document.write('<tr><td width="10%" align="center" height="1" background="images/dot1.jpg"></td><td width="90%" height="1" background="images/dot1.jpg"></td></tr>');
document.write('<tr><td width="10%" align="center" height="19"><img border="0" src="images/bullet.gif" width="7" height="7"></td><td width="90%" height="19"><a href="kashmir-papier-mache.html" class="leftpanel">Papier Mache</a></td></tr>');
document.write('<tr><td width="10%" align="center" height="1" background="images/dot1.jpg"></td><td width="90%" height="1" background="images/dot1.jpg"></td></tr>');
document.write('<tr><td width="10%" align="center" height="19"><img border="0" src="images/bullet.gif" width="7" height="7"></td><td width="90%" height="19"><a href="wood-carving-in-Kashmir.html" class="leftpanel">Wood carving</a></td></tr>');
document.write('<tr><td width="10%" align="center" height="1" background="images/dot1.jpg"></td><td width="90%" height="1" background="images/dot1.jpg"></td></tr>');
document.write('<tr><td width="10%" align="center" height="19"><img border="0" src="images/bullet.gif" width="7" height="7"></td><td width="90%" height="19"><a href="kashmir-brasware.html" class="leftpanel">Copperware</a></td></tr>');
document.write('<tr><td width="10%" align="center" height="1" background="images/dot1.jpg"></td><td width="90%" height="1" background="images/dot1.jpg"></td></tr>');
document.write('<tr><td width="10%" align="center" height="19"><img border="0" src="images/bullet.gif" width="7" height="7"></td><td width="90%" height="19"><a href="kashmiri-silks.html" class="leftpanel">Silks</a></td></tr>');
document.write('<tr><td width="10%" align="center" height="1" background="images/dot1.jpg"></td><td width="90%" height="1" background="images/dot1.jpg"></td></tr>');
document.write('</table>');
}

function footerlink()
{
document.write('<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="80%" id="AutoNumber12">');
document.write('<tr bgcolor="#FFFFFF"><td width="65%" class="footerlink" valign="bottom"><p align="right">&nbsp;© Copyright Kashmir Handicraft&nbsp; &nbsp;&nbsp;|&nbsp;&nbsp;&nbsp; WebSite Powered by</td>');
document.write('<td width="35%">&nbsp;<a target="_blank" class="footerlink" href="http://www.emavens.com"><img border="0" src="images/elogo-1.gif" width="17" height="19"> maven Solutions</font></a></font></td>');
document.write('</tr></table>');
}

function checkenquiry()
{
	docf=document.frm;
	if(docf.name.value=="")
	{
	alert("Plese enter your name !")
	docf.name.focus();
	return false;
	}

	if(docf.address.value=="")
	{
	alert("Please enter your Address !");
	docf.address.focus();
	return false;
	}

	if(docf.country.value=="NA")
	{
	alert("Please enter your Country")
	docf.country.focus();
	return false;	
	}

	if(docf.email.value=="")
	{
	alert("Please enter your email id !")
	docf.email.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;
  		}
	}
	
}

