//btm-pan start js//
function footerbox()
{
	if( typeof( window.innerWidth ) == 'number' ) {
		myWidth = window.innerWidth;
		myHeight = window.innerHeight;
	} else if( document.documentElement && ( document.documentElement.clientWidth || document.documentElement.clientHeight ) ) {
		myWidth = document.documentElement.clientWidth;
		myHeight = document.documentElement.clientHeight;
	} else if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) {
		myWidth = document.body.clientWidth;
		myHeight = document.body.clientHeight;
	}
myHeight = myHeight-57;
document.getElementById('topbar_new').style.display="block";
document.getElementById('topbar_new').style.top=myHeight+'px';

if(navigator.appName == 'Microsoft Internet Explorer' && navigator.appVersion.match(/ [\d.]+/) == 6.0)
{
scrolltop=window.pageYOffset || document.body.scrollTop || document.documentElement.scrollTop;

fromtop= scrolltop+myHeight;
document.getElementById('topbar_new').style.position="absolute";
document.getElementById('topbar_new').style.top=fromtop+'px';
document.getElementById('topbar_new').style.left='0px';
}
}
function addEvent( obj, type, fn ){ 
   if (obj.addEventListener){ 
	  obj.addEventListener( type, fn, false );
   }
   else if (obj.attachEvent){ 
	  obj["e"+type+fn] = fn; 
	  obj[type+fn] = function(){ obj["e"+type+fn]( window.event ); } 
	  obj.attachEvent( "on"+type, obj[type+fn] ); 
   } 
}
addEvent(window, 'load', footerbox);
if(navigator.appName == 'Microsoft Internet Explorer' && navigator.appVersion.match(/ [\d.]+/) == 6.0)
{
addEvent(window, 'scroll', footerbox);
}
function closebar_new()
{
document.getElementById('topbar_new').style.display="none";
}
//btm-pan end js//

//tab start js//
  //
  function tes(obj){if(document.getElementById){var el=document.getElementById(obj);var ar=document.getElementById("testimonial").getElementsByTagName("div");for(var i=0;i<ar.length;i++){if(ar[i].className=="hepl_test"){ar[i].className="hepl_test_off";}}
document.getElementById(obj).className="hepl_test";}}
function hide_t(obj){if(document.getElementById){var el=document.getElementById(obj);var ar=document.getElementById("testimonial").getElementsByTagName("div");for(var i=0;i<ar.length;i++){if(ar[i].className=="hepl_test_off"){ar[i].className="hepl_test_off";}}
document.getElementById(obj).className="hepl_test_off";}}
function t_description()
{if(document.postForm.desc.value=='Provide key information like product specifications, estimated quantity, delivery instructions, packaging details etc.')
{document.postForm.desc.value='';document.postForm.desc.className="txt-input3";}}
function settext()
{if(document.postForm.desc.value=='')
{document.postForm.desc.value='Provide key information like product specifications, estimated quantity, delivery instructions, packaging details etc.';document.postForm.desc.className="txt-input2";}}
function get()
{if(document.postForm.desc.value=='Provide key information like product specifications, estimated quantity, delivery instructions, packaging details etc.')
{document.postForm.desc.className="txt-input2";}
else
{document.postForm.desc.className="txt-input3";}
if((cookie=getCookie("newImeshCTL"))>"")
{Values=cookie.split("|");if(Values.length>=9)
{if(document.postForm.email.value.length==0)
document.postForm.email.value=Values[0];if(Values[1]=='Mr.')
{document.postForm.salute.selectedIndex=0;}
else
{document.postForm.salute.selectedIndex=1;}
if(document.postForm.first_name.value.length==0)
document.postForm.first_name.value=Values[2];if(document.postForm.comp_name.value.length==0)
document.postForm.comp_name.value=Values[3];if(document.postForm.website.value.length==0)
document.postForm.website.value=Values[4];
for(i=0;i<document.getElementById('country_len').value;i++)
{if(document.postForm.country.options[i].value.toUpperCase()==Values[5].toUpperCase()){break;}}
if(i==document.getElementById('country_len').value)
{if(document.postForm.country.selectedIndex==0)
document.postForm.country.selectedIndex=0;}
else
{if(document.postForm.country.selectedIndex==0)
document.postForm.country.selectedIndex=i;}
if(document.postForm.ph_country.value.length==0)
document.postForm.ph_country.value=Values[6];if(document.postForm.ph_area.value.length==0)
document.postForm.ph_area.value=Values[7];if(document.postForm.ph_no.value.length==0)
document.postForm.ph_no.value=Values[8];document.postForm.country_name.value=document.postForm.country.options[document.postForm.country.selectedIndex].text;}}
return true;}
function getCookie(Name)
{var search=Name+"="
if(document.cookie.length>0)
{offset=document.cookie.indexOf(search)
if(offset!=-1)
{offset+=search.length
end=document.cookie.indexOf(";",offset)
if(end==-1)end=document.cookie.length
return unescape(document.cookie.substring(offset,end))}}
return"";}
function productcode()
{var is_input=document.URL.indexOf('?');var code='';if(is_input!=-1)
{addr_str=document.URL.substring(is_input+1,document.URL.length);strarr=addr_str.split("&");var param_nam=unescape((strarr[0].split("="))[0]);if(param_nam=="code")
{code=unescape((strarr[0].split("="))[1]);code=code.replace(/\+/g," ");}}
if(code)
{document.postForm.title.value=code;}}
function addEvent(obj,type,fn){if(obj.addEventListener){obj.addEventListener(type,fn,false);}
else if(obj.attachEvent){obj["e"+type+fn]=fn;obj[type+fn]=function(){obj["e"+type+fn](window.event);}
obj.attachEvent("on"+type,obj[type+fn]);}}
addEvent(window,'load',get);
var phonecode=new Array();phonecode[0]="";phonecode[1]="93";phonecode[2]="355";phonecode[3]="213";phonecode[4]="1-684";phonecode[5]="376";phonecode[6]="244";phonecode[7]="1-264";phonecode[8]="672";phonecode[9]="1-268";phonecode[10]="54";phonecode[11]="7";phonecode[12]="297";phonecode[13]="61";phonecode[14]="43";phonecode[15]="994";phonecode[16]="1-242";phonecode[17]="973";phonecode[18]="880";phonecode[19]="1-246";phonecode[20]="375";phonecode[21]="32";phonecode[22]="501";phonecode[23]="229";phonecode[24]="1-441";phonecode[25]="975";phonecode[26]="591";phonecode[27]="387";phonecode[28]="267";phonecode[29]="";phonecode[30]="55";phonecode[31]="246";phonecode[32]="673";phonecode[33]="359";phonecode[34]="226";phonecode[35]="257";phonecode[36]="855";phonecode[37]="237";phonecode[38]="1";phonecode[39]="238";phonecode[40]="1-345";phonecode[41]="236";phonecode[42]="235";phonecode[43]="56";phonecode[44]="86";phonecode[45]="852";phonecode[46]="853";phonecode[47]="61";phonecode[48]="672";phonecode[49]="57";phonecode[50]="269";phonecode[51]="242";phonecode[52]="243";phonecode[53]="682";phonecode[54]="506";phonecode[55]="225";phonecode[56]="385";phonecode[57]="53";phonecode[58]="357";phonecode[59]="420";phonecode[60]="45";phonecode[61]="253";phonecode[62]="1-767";phonecode[63]="1-809";phonecode[64]="";phonecode[65]="593";phonecode[66]="20";phonecode[67]="503";phonecode[68]="240";phonecode[69]="291";phonecode[70]="372";phonecode[71]="251";phonecode[72]="500";phonecode[73]="298";phonecode[74]="679";phonecode[75]="358";phonecode[76]="33";phonecode[77]="594";phonecode[78]="689";phonecode[79]="262";phonecode[80]="241";phonecode[81]="220";phonecode[82]="995";phonecode[83]="49";phonecode[84]="233";phonecode[85]="350";phonecode[86]="30";phonecode[87]="299";phonecode[88]="1-473";phonecode[89]="590";phonecode[90]="1-671";phonecode[91]="502";phonecode[92]="224";phonecode[93]="245";phonecode[94]="592";phonecode[95]="509";phonecode[96]="672";phonecode[97]="504";phonecode[98]="36";phonecode[99]="354";phonecode[100]="91";phonecode[101]="62";phonecode[102]="98";phonecode[103]="964";phonecode[104]="353";phonecode[105]="972";phonecode[106]="39";phonecode[107]="1-876";phonecode[108]="81";phonecode[109]="962";phonecode[110]="7";phonecode[111]="254";phonecode[112]="686";phonecode[113]="82";phonecode[114]="850";phonecode[115]="965";phonecode[116]="996";phonecode[117]="856";phonecode[118]="371";phonecode[119]="961";phonecode[120]="266";phonecode[121]="231";phonecode[122]="218";phonecode[123]="423";phonecode[124]="370";phonecode[125]="352";phonecode[126]="389";phonecode[127]="261";phonecode[128]="265";phonecode[129]="60";phonecode[130]="960";phonecode[131]="223";phonecode[132]="356";phonecode[133]="692";phonecode[134]="596";phonecode[135]="222";phonecode[136]="230";phonecode[137]="269";phonecode[138]="52";phonecode[139]="691";phonecode[140]="373";phonecode[141]="377";phonecode[142]="976";phonecode[143]="382";phonecode[144]="1-664";phonecode[145]="212";phonecode[146]="258";phonecode[147]="95";phonecode[148]="264";phonecode[149]="674";phonecode[150]="977";phonecode[151]="599";phonecode[152]="687";phonecode[153]="64";phonecode[154]="505";phonecode[155]="227";phonecode[156]="234";phonecode[157]="683";phonecode[158]="672";phonecode[159]="1-670";phonecode[160]="47";phonecode[161]="968";phonecode[162]="92";phonecode[163]="680";phonecode[164]="507";phonecode[165]="675";phonecode[166]="595";phonecode[167]="51";phonecode[168]="63";phonecode[169]="872";phonecode[170]="48";phonecode[171]="351";phonecode[172]="1";phonecode[173]="974";phonecode[174]="262";phonecode[175]="40";phonecode[176]="7";phonecode[177]="250";phonecode[178]="290";phonecode[179]="1-869";phonecode[180]="1-758";phonecode[181]="508";phonecode[182]="1-784";phonecode[183]="685";phonecode[184]="378";phonecode[185]="239";phonecode[186]="966";phonecode[187]="221";phonecode[188]="381";phonecode[189]="248";phonecode[190]="232";phonecode[191]="65";phonecode[192]="421";phonecode[193]="386";phonecode[194]="677";phonecode[195]="252";phonecode[196]="27";phonecode[197]="995";phonecode[198]="34";phonecode[199]="94";phonecode[200]="249";phonecode[201]="597";phonecode[202]="47";phonecode[203]="268";phonecode[204]="46";phonecode[205]="41";phonecode[206]="963";phonecode[207]="886";phonecode[208]="992";phonecode[209]="255";phonecode[210]="66";phonecode[211]="31";phonecode[212]="228";phonecode[213]="690";phonecode[214]="676";phonecode[215]="1-868";phonecode[216]="216";phonecode[217]="90";phonecode[218]="993";phonecode[219]="1-649";phonecode[220]="688";phonecode[221]="256";phonecode[222]="380";phonecode[223]="971";phonecode[224]="44";phonecode[225]="1";phonecode[226]="1";phonecode[227]="598";phonecode[228]="998";phonecode[229]="678";phonecode[230]="379";phonecode[231]="58";phonecode[232]="84";phonecode[233]="1-284";phonecode[234]="1-340";phonecode[235]="681";phonecode[236]="212";phonecode[237]="967";phonecode[238]="38";phonecode[239]="260";phonecode[240]="263";
 //
//tab end js//





//============================
//AutoSuggestBox version 1.5.3 start
//============================

var oJSAutoSuggestBox;var g_ASBObjects;function asbAddObj(sTextBoxID,oJSAutoSuggestBox)
{if(typeof(g_ASBObjects)=="undefined")
g_ASBObjects=new Array();g_ASBObjects[sTextBoxID]=oJSAutoSuggestBox;}
function asbGetObj(sTextBoxID)
{return g_ASBObjects[sTextBoxID];}
function JSAutoSuggestBox()
{var msTextBoxID;var msMenuDivID;var msDataType;var mnMaxSuggestChars;var mnKeyPressDelay;var mnNumMenuItems;var mbIncludeMoreMenuItem;var msMoreMenuItemLabel;var msMenuCSSClass;var msMenuItemCSSClass;var msSelMenuItemCSSClass;var mbUseIFrame;var msResourceDir;var mbHasFocus;var mnSelMenuItem=0;var mbCancelSubmit;var msOldTextBoxValue="";this.GetKey=GetKey;this.GetTextBoxCtrl=GetTextBoxCtrl;this.GetMenuDiv=GetMenuDiv;this.GetXmlHttp=GetXmlHttp;this.GetDataFromServer=GetDataFromServer;this.SetSelectedValue=SetSelectedValue;this.SetTextBoxValue=SetTextBoxValue;this.GetTextBoxValue=GetTextBoxValue;this.GetTextBoxID=GetTextBoxID;this.OnMouseClick=OnMouseClick;this.OnMouseOver=OnMouseOver;this.OnKeyDown=OnKeyDown;this.OnKeyPress=OnKeyPress;this.OnKeyUp=OnKeyUp;this.OnBlur=OnBlur;this.GetSelMenuItemDiv=GetSelMenuItemDiv;this.GetMenuItemDivID=GetMenuItemDivID;this.GetMenuItemDiv=GetMenuItemDiv;this.MoveUp=MoveUp;this.MoveDown=MoveDown;this.SelectMenuItem=SelectMenuItem;this.UnselectMenuItem=UnselectMenuItem;this.IsVisibleMenuDiv=IsVisibleMenuDiv;this.MoveMenuDivIfAbsolutePos=MoveMenuDivIfAbsolutePos;this.ShowMenuDiv=ShowMenuDiv;this.HideMenuDiv=HideMenuDiv;function GetKey(evt)
{evt=(evt)?evt:(window.event)?event:null;if(evt)
{var cCode=(evt.charCode)?evt.charCode:((evt.keyCode)?evt.keyCode:((evt.which)?evt.which:0));return cCode;}}
function GetTextBoxCtrl()
{return document.getElementById(this.msTextBoxID);}
function GetMenuDiv()
{return document.getElementById(this.msMenuDivID);}
function GetXmlHttp()
{var oXmlHttp=false;if(!oXmlHttp&&typeof XMLHttpRequest!='undefined')
{oXmlHttp=new XMLHttpRequest();}
return oXmlHttp;}
function GetDataFromServer(sValue)
{var sUrl;sUrl=this.msResourcesDir+"/cgi/GetAutoSuggestData.mp?TextBoxID="+escape(this.msTextBoxID)+"&MenuDivID="+escape(this.msMenuDivID)+"&DataType="+escape(this.msDataType)+"&NumMenuItems="+this.mnNumMenuItems+"&IncludeMoreMenuItem="+this.mbIncludeMoreMenuItem+"&MoreMenuItemLabel="+escape(this.msMoreMenuItemLabel)+"&MenuItemCSSClass="+escape(this.msMenuItemCSSClass)+"&Keyword="+escape(sValue)
TRACE("GetDataFromServer: "+sUrl);var oXmlHttp=GetXmlHttp();oXmlHttp.open("GET",sUrl,true);var me=this;oXmlHttp.onreadystatechange=function()
{if(oXmlHttp.readyState==4)
{if(oXmlHttp.responseText!="")
{if(me.mbHasFocus)
{me.ShowMenuDiv(oXmlHttp.responseText);}}
else
{me.HideMenuDiv()}}}
oXmlHttp.send(null)}
function SetSelectedValue(sValue)
{TRACE("SetSelectedValue: "+sValue);var hdnSelectedValue=document.getElementById(this.msTextBoxID+"_SelectedValue");hdnSelectedValue.value=sValue;}
function SetTextBoxValue()
{var divMenuItem=this.GetSelMenuItemDiv();if(divMenuItem)
{var sValue=divMenuItem.getAttribute('value');TRACE("SetTextBoxValue : Set selected item to "+sValue);this.SetSelectedValue(sValue);var txtCtrl=this.GetTextBoxCtrl();txtCtrl.value=GetInnerHtml(divMenuItem);}}
function GetTextBoxValue()
{var txtCtrl=this.GetTextBoxCtrl();return(txtCtrl.value);}
function GetTextBoxID()
{var txtCtrl=this.GetTextBoxCtrl();return(txtCtrl.id);}
function OnMouseClick(nMenuIndex)
{this.mnSelMenuItem=nMenuIndex;this.SetTextBoxValue();this.HideMenuDiv();}
function OnMouseOver(nMenuIndex)
{this.SelectMenuItem(nMenuIndex);}
function OnKeyDown(evt)
{TRACE("OnKeyDown : "+this.GetKey(evt)+", "+this.msTextBoxID);this.mbHasFocus=true;this.msOldTextBoxValue=this.GetTextBoxValue();TRACE("OnKeyDown : old text box value='"+this.msOldTextBoxValue+"'");var nKey;nKey=this.GetKey(evt);TRACE("OnKeyDown : Key is "+nKey);if(nKey==38)
{this.MoveDown()}
else if(nKey==40)
{this.MoveUp()}
else if(nKey==13)
{TRACE("OnKeyDown : IsVisibleMenuDiv - "+this.IsVisibleMenuDiv());if(this.IsVisibleMenuDiv())
{this.HideMenuDiv();evt.cancelBubble=true;if(evt.returnValue)evt.returnValue=false;if(evt.stopPropagation)evt.stopPropagation();this.mbCancelSubmit=true;}
else
{this.mbCancelSubmit=false;}}
else
{this.HideMenuDiv();}
return true;}
function OnKeyPress(evt)
{TRACE("OnKeyPress : "+this.GetKey(evt));if((this.GetKey(evt)==13)&&(this.mbCancelSubmit))
{return false;}
return true;}
function OnKeyUp(evt)
{var nKey;nKey=this.GetKey(evt);if((nKey!=38)&&(nKey!=40)&&(nKey!=13))
{var sNewValue;sNewValue=this.GetTextBoxValue();if(document.getElementById('txtCity'))
{if(sNewValue==document.getElementById('txtCity').value)
{if(document.getElementById('txtCountry'))
{if(document.getElementById('txtCountry').value!=""&&document.getElementById('txtCountry').value!='0')
{if(document.getElementById('txtState'))
{if(document.getElementById('txtState').value!="")
{sNewValue+="||"+document.getElementById('txtState').value;}
else
{sNewValue+="||";}}
sNewValue+="||"+document.getElementById('txtCountry').value;}
else
{alert("Kindly Select the Country First.");}}
else
{if(document.getElementById('txtState'))
{if(document.getElementById('txtState').value!="")
{sNewValue+="||"+document.getElementById('txtState').value;}}}}}
if(document.getElementById('txtState'))
{if(sNewValue==document.getElementById('txtState').value)
{if(document.getElementById('txtCountry'))
{if(document.getElementById('txtCountry').value!=""&&document.getElementById('txtCountry').value!='0')
{sNewValue+="||"+document.getElementById('txtCountry').value;}
else
{alert("Kindly Select the Country First.");}}}}
if((sNewValue.length<=this.mnMaxSuggestChars)&&(sNewValue.length>0))
{TRACE("OnKeyUp : Getting data for '"+sNewValue+"'");var divMenu=this.GetMenuDiv();if(divMenu.timer)window.clearTimeout(divMenu.timer);sNewValue=sNewValue.replace(/\'/,"\\\'");var sFunc="asbGetObj('"+this.msTextBoxID+"').GetDataFromServer('"+sNewValue+"')";TRACE("OnKeyUp : "+sFunc);divMenu.timer=window.setTimeout(sFunc,this.mnKeyPressDelay);}
if(nKey!=9)
{if(this.msOldTextBoxValue!=sNewValue)
{this.SetSelectedValue("");}}}}
function OnBlur()
{this.HideMenuDiv();this.mbHasFocus=false;var validator=document.getElementById(this.msTextBoxID+"_Validate");if(validator!=null)
{if(validator.value=="yes")
{var hdnSelectedValue=document.getElementById(this.msTextBoxID+"_SelectedValue");if(hdnSelectedValue)
{if(hdnSelectedValue.value=="")
{alert("Please Select a Value From List Only");document.getElementById(this.msTextBoxID).value="";document.getElementById(this.msTextBoxID).focus();}}
else
{alert("Please Select a Value From List Only");document.getElementById(this.msTextBoxID).value="";document.getElementById(this.msTextBoxID).focus();}}}}
function GetSelMenuItemDiv()
{return this.GetMenuItemDiv(this.mnSelMenuItem);}
function GetMenuItemDivID(nMenuItem)
{return(this.msTextBoxID+"_mi_"+nMenuItem);}
function GetMenuItemDiv(nMenuItem)
{var sDivMenuItemID=this.GetMenuItemDivID(nMenuItem);return document.getElementById(sDivMenuItemID)}
function MoveUp()
{var nMenuItem;nMenuItem=this.mnSelMenuItem+1;if(this.GetMenuItemDiv(nMenuItem))
{this.SelectMenuItem(nMenuItem)}}
function MoveDown()
{var nMenuItem;nMenuItem=this.mnSelMenuItem-1;if(nMenuItem!=0)
{this.SelectMenuItem(nMenuItem)}}
function SelectMenuItem(nMenuItem)
{var divMenuItem=this.GetMenuItemDiv(nMenuItem)
if(divMenuItem)
{if(nMenuItem!=this.mnSelMenuItem)
{this.UnselectMenuItem();this.mnSelMenuItem=nMenuItem;this.SetTextBoxValue();divMenuItem.className=this.msSelMenuItemCSSClass;}}}
function UnselectMenuItem()
{var divMenuItem=this.GetSelMenuItemDiv()
if(divMenuItem)
{divMenuItem.className=this.msMenuItemCSSClass;}}
function IsVisibleMenuDiv()
{if(this.GetMenuDiv().style.visibility=='hidden')
{return false;}
else
{return true;}}
function MoveMenuDivIfAbsolutePos()
{var txtCtrl=this.GetTextBoxCtrl();var divMenu=this.GetMenuDiv();if(txtCtrl.style.position!="absolute")
return;TRACE("MoveMenuDivIfAbsolutePos Moving absolute");divMenu.style.left=txtCtrl.offsetLeft;divMenu.style.top=txtCtrl.offsetTop+txtCtrl.offsetHeight;}
function ShowMenuDiv(sDivContent)
{this.MoveMenuDivIfAbsolutePos();TRACE("ShowMenuDiv : "+this.msTextBoxID);var divMenu=this.GetMenuDiv();var sInnerHtml;var TempCount=sDivContent.split('<div class=');if(IsIE()&&this.mbUseIFrame)
{sInnerHtml="<div id='"+this.msMenuDivID+"_content'>";sInnerHtml+=sDivContent;sInnerHtml+="</div>";var sBlankPage=this.msResourcesDir+"/Blank.html";sInnerHtml+="<iframe id='"+this.msMenuDivID+"_iframe' src='"+sBlankPage+"' frameborder='1' scrolling='no'></iframe>";}
else
{sInnerHtml=sDivContent;}
divMenu.innerHTML=sInnerHtml;if(IsIE()&&this.mbUseIFrame)
{var divContent;divContent=document.getElementById(this.msMenuDivID+"_content");var divIframe;divIframe=document.getElementById(this.msMenuDivID+"_iframe");divContent.className=this.msMenuCSSClass;divMenu.className="asbMenuBase";divIframe.style.width=divContent.offsetWidth+'px';divIframe.style.height=divContent.offsetHeight+'px';divIframe.marginTop="-"+divContent.offsetHeight+'px';}
divMenu.style.visibility='visible';}
function HideMenuDiv()
{this.GetMenuDiv().style.visibility='hidden';this.mnSelMenuItem=0;}
function IsIE()
{return(navigator.appName=="Microsoft Internet Explorer");}
function IsNav()
{return(navigator.appName=="Netscape");}
function GetInnerHtml(oItem)
{var sOut;if(oItem.innerText)
{sOut=oItem.innerText;}
else if(oItem.textContent)
{sOut=oItem.textContent;}
return(sOut);}
function TRACE(sText)
{var txtTrace=document.getElementById("txtASBTrace");if(txtTrace!=null)
txtTrace.value=sText+"\n";}}

//============================
//AutoSuggestBox version 1.5.3 end
//============================


//Post Form Javascripts start//

var d=new Date();var epoch_time=(d.getTime()-d.getMilliseconds())/1000;var randomnumber=Math.floor(Math.random()*9999);var randomnumber1=Math.floor(Math.random()*9999);var ran_num=randomnumber+"."+epoch_time+"."+randomnumber1;var url="/cgi/get_captcha.cgi?cref="+ran_num+"&style=2";function setCaptchaRef()
{document.postForm.captcha_ref.value=ran_num;}
function ajaxFunction()
{var xmlHttp;try
{xmlHttp=new XMLHttpRequest();}
catch(e)
{try
{xmlHttp=new ActiveXObject("Msxml2.XMLHTTP");}
catch(e)
{try
{xmlHttp=new ActiveXObject("Microsoft.XMLHTTP");}
catch(e)
{alert("Your browser does not support AJAX!");return false;}}}
return xmlHttp;}
function rem_default()
{if(document.getElementById("txtTitle").value=="Looking for..."||document.getElementById("txtTitle").value=="Please write your prdouct name here...")
{document.getElementById("txtTitle").value='';}}
function get_keywords()
{var xmlHttp=ajaxFunction();var ofrTitle=document.getElementById("txtTitle").value;if(xmlHttp)
{if(ofrTitle&&ofrTitle.length>2&&ofrTitle!="Looking for...")
{xmlHttp.onreadystatechange=function()
{if(xmlHttp.readyState==4)
{document.getElementById("txtKeywords").value=xmlHttp.responseText;}}
xmlHttp.open("GET","/cgi/eto-dirsearch-mcat.mp?ss="+escape(ofrTitle),true);xmlHttp.send(null);}}}
function get_area()
{var xmlHttp=ajaxFunction();var city=document.getElementById("txtCity").value;if(xmlHttp)
{xmlHttp.onreadystatechange=function()
{if(xmlHttp.readyState==4)
{document.getElementById("txtArea").value=xmlHttp.responseText;}}
xmlHttp.open("GET","/cgi/GetAreaCode.mp?city="+escape(city),true);xmlHttp.send(null);}}
function trim(sString)
{while(sString.substring(0,1)==' ')
{sString=sString.substring(1,sString.length);}
while(sString.substring(sString.length-1,sString.length)==' ')
{sString=sString.substring(0,sString.length-1);}
return sString;}
function check_count_change()
{var val=document.postForm.country.options[document.postForm.country.selectedIndex].value;if(val!=document.postForm.country_iso.value)
{if((document.postForm.city)&&(document.postForm.city_others))
{document.postForm.city.value='';document.postForm.city_others.value='';}
if((document.postForm.state)&&(document.postForm.state_others))
{document.postForm.state.value='';document.postForm.state_others.value='';}
if(phonecode[document.postForm.country.selectedIndex]!='')
{document.postForm.ph_country.value=phonecode[document.postForm.country.selectedIndex];if(document.postForm.fax_country)
{document.postForm.fax_country.value=phonecode[document.postForm.country.selectedIndex];}}}
document.postForm.country_iso.value=val;document.postForm.country_name.value=document.postForm.country.options[document.postForm.country.selectedIndex].text;}
function assign_hidden_param(Form)
{if(document.referrer&&document.referrer!="")
{Form.page_referrer.value=document.referrer;}
if(location.hostname)
{Form.referer_url.value="http://"+location.hostname;}
if((Form.state)&&(Form.state_others)&&(Form.txtState)&&(Form.txtState_SelectedValue))
{if(Form.txtState_SelectedValue.value!='')
{Form.state_others.value=Form.txtState.value;Form.state.value=Form.txtState_SelectedValue.value;}
else
{Form.state_others.value=Form.txtState.value;Form.state.value='';}}
if((Form.city)&&(Form.city_others)&&(Form.txtCity)&&(Form.txtCity_SelectedValue))
{if(Form.txtCity_SelectedValue.value!='')
{Form.city_others.value=Form.txtCity.value;Form.city.value=Form.txtCity_SelectedValue.value;}
else
{Form.city_others.value=Form.txtCity.value;Form.city.value='';}}
Form.usr_pass.value=Math.floor(Math.random()*9999)+100000;var is_input=document.URL.indexOf('?');if(is_input!=-1)
{var x;var addr_str='';var pname='';var strarr=new Array();addr_str=document.URL.substring(is_input+1,document.URL.length);strarr=addr_str.split("&");for(x in strarr)
{if((strarr[x].split("="))[0]=="ref")
{pname=unescape((strarr[x].split("="))[1]);}}
Form.ref.value=pname;}}
function Check_ModReg(Form)
{assign_hidden_param(Form);if(Form.nature_of_business)
{var check=0;for(var i=0;i<Form.nature_of_business.length;i++)
{if(Form.nature_of_business[i].checked==true)
{check=1;}}
if(check==0)
{alert("Please tell us your Nature of Business");Form.nature_of_business[0].focus();return false;}}
if(trim(Form.title.value)==""||trim(Form.title.value)=="Looking for..."||trim(Form.title.value)=="Please write your prdouct name here..."){alert("Kindly enter your Products.");Form.title.focus();return false;}
if(trim(Form.desc.value)==""||trim(Form.desc.value)=="Provide key information like product specifications, estimated quantity, delivery instructions, packaging details etc."||trim(Form.desc.value)=="Provide key information like describing what services you need, when will you need the service, how often do you require such service etc."){alert("Kindly describe your correct requirements.");Form.desc.focus();return false;}
if(Form.desc.value.length>1700){alert("Your description should be less than 1700 charecters.");Form.desc.focus();return false;}
if((Form.website)&&Form.website.value.length!=0)
{if(Form.website.value.indexOf(" ")!=-1){alert("Kindly enter correct URL without any spaces in it.");Form.website.focus();return false;}
if(Form.website.value.indexOf("@")!=-1){alert("Invalid Website ! Kindly enter correct website.");Form.website.focus();return false;}
if(Form.website.value.indexOf(".")==-1){alert("Invalid Website ! Kindly enter correct website.");Form.website.focus();return false;}
validarr=Form.website.value.split(".");if(validarr[0].length<2){alert("Invalid Website ! Kindly enter correct website.");Form.website.focus();return false;}
if(validarr[1].length<2){alert("Invalid Website ! Kindly enter correct website.");Form.website.focus();return false;}}
if(Form.first_name.value==""){alert("Kindly enter your First Name.");Form.first_name.focus();return false;}
if(Form.email.value==""){alert("Kindly enter your E-mail ID.");Form.email.focus();return false;}
else if(Form.email.value.length!=0)
{if(Form.email.value.indexOf(" ")!=-1){alert("Kindly enter correct E-Mail ID without any spaces in it.");Form.email.focus();return false;}
if(Form.email.value.indexOf("@")==-1){alert("Invalid E-Mail ID! Kindly enter correct E-Mail ID.");Form.email.focus();return false;}
if(Form.email.value.indexOf(",")!=-1){alert("Invalid E-Mail ID! Kindly enter correct E-Mail ID.");Form.email.focus();return false;}
if(Form.email.value.indexOf(")")!=-1){alert("Invalid E-Mail ID! Kindly enter correct E-Mail ID.");Form.email.focus();return false;}
if(Form.email.value.indexOf("(")!=-1){alert("Invalid E-Mail ID! Kindly enter correct E-Mail ID.");Form.email.focus();return false;}
validarr=Form.email.value.split("@");if(validarr[0].length==0){alert("Invalid E-Mail ID! Kindly enter the correct E-mail ID.");Form.email.focus();return false;}
if(validarr[0].length!=0){if(validarr[0].indexOf(".")!=-1){validemail=validarr[0].split(".");if(validemail[0].length<2){alert("Invalid E-Mail ID! Kindly enter the correct E-mail ID.");Form.email.focus();return false;}
if(validemail[1].length<2){alert("Invalid E-Mail ID! Kindly enter the correct E-mail ID.");Form.email.focus();return false;}}}
if(validarr[1].indexOf("@")>=0){alert("Invalid E-Mail ID! Kindly enter the correct E-mail ID.");Form.email.focus();return false;}
if(validarr[1].length==0){alert("Invalid E-Mail ID! Kindly enter the correct E-mail ID.");Form.email.focus();return false;}
if(validarr[1].length!=0){if(validarr[1].indexOf(".")==-1){alert("Invalid E-Mail ID! Kindly enter the correct E-mail ID.");Form.email.focus();return false;}
validemail=validarr[1].split(".");if(validemail[0].length<2){alert("Invalid E-Mail ID! Kindly enter the correct E-mail ID.");Form.email.focus();return false;}
if(validemail[1].length<2){alert("Invalid E-Mail ID! Kindly enter the correct E-mail ID.");Form.email.focus();return false;}}}
if(Form.country_name.value==""){alert("Kindly select the Country.");Form.country.focus();return false;}
if(Form.ph_country.value==""){alert("Kindly enter country code for Telephone Number.");Form.ph_country.focus();return false;}
else if(Form.ph_no.value==""){alert("Kindly enter your Telephone Number.");Form.ph_no.focus();return false;}
if(Form.fax_country&&Form.fax_country.value.length>6)
{alert("Fax (Country Code) should not exceed 6 characters.");Form.fax_country.focus();return false;}
if(Form.fax_area&&Form.fax_area.value!='')
{if(isNaN(Form.fax_area.value))
{alert("Fax (Area Code) should be an integer value.");Form.fax_area.focus();return false;}
if(Form.fax_area.value.length>6)
{alert("Fax (Area Code) should not exceed 6 characters.");Form.fax_area.focus();return false;}}
if(Form.fax_no&&Form.fax_no.value.length>35)
{alert("Fax (Number) should not exceed 35 characters.");Form.fax_no.focus();return false;}
if((Form.captcha_text)&&Form.captcha_text.value.length==0){alert("Kindly enter the code as appearing in the Image.");Form.captcha_text.focus();return false;}
if(Form.first_name.value.length>20)
{alert("First Name should not exceed 20 characters.");Form.first_name.focus();return false;}
if((Form.last_name)&&Form.last_name.value.length>20)
{alert("Last Name should not exceed 20 characters.");Form.last_name.focus();return false;}
if(Form.email.value.length>100)
{alert("Email should not exceed 100 characters.");Form.email.focus();return false;}
if(Form.country_name.value.length>40){alert("Country Name should not exceed 40 characters.");Form.country_name.focus();return false;}
if(Form.ph_country.value.length>6){alert("Telephone (Country Code) should not exceed 6 characters.");Form.ph_country.focus();return false;}
if((Form.ph_area)&&Form.ph_area.value!=''){if(isNaN(Form.ph_area.value))
{alert("Telephone (Area Code) should be an integer value.");Form.ph_area.focus();return false;}}
if((Form.ph_area)&&Form.ph_area.value.length>6){alert("Telephone (Area Code) should not exceed 6 characters.");Form.ph_area.focus();return false;}
if(Form.ph_no.value.length>35){alert("Telephone (Number) should not exceed 35 characters.");Form.ph_no.focus();return false;}
if(Form.comp_name&&Form.comp_name.value.length>100){alert("Company Name should not exceed 100 characters.");Form.comp_name.focus();return false;}}
function productcode()
{var is_input=document.URL.indexOf('?');var code='';if(is_input!=-1)
{addr_str=document.URL.substring(is_input+1,document.URL.length);strarr=addr_str.split("&");var param_nam=unescape((strarr[0].split("="))[0]);if(param_nam=="code")
{code=unescape((strarr[0].split("="))[1]);code=code.replace(/\+/g," ");}}
if(code)
{document.postForm.title.value=code;}}

//Post Form Javascripts end //

//fomr start js//
function toggle(div_id){var el=document.getElementById(div_id);if(el.style.display=='none'){el.style.display='block';}
else{el.style.display='none';}}
function blanket1(popUpDivVar){if(typeof window.innerWidth!='undefined'){viewportheight=window.innerHeight;}else{viewportheight=document.documentElement.clientHeight;}
if((viewportheight>document.body.parentNode.scrollHeight)&&(viewportheight>document.body.parentNode.clientHeight)){blanketheight=viewportheight;}else{if(document.body.parentNode.clientHeight>document.body.parentNode.scrollHeight){blanketheight=document.body.parentNode.clientHeight;}else{blanketheight=document.body.parentNode.scrollHeight;}}
var blanket=document.getElementById('blanket');blanket.style.height=blanketheight+'px';var popUpDiv=document.getElementById(popUpDivVar);popUpDiv_height=blanketheight/70;popUpDiv.style.top=popUpDiv_height+'px';}
function window1(popUpDivVar){if(typeof window.innerWidth!='undefined'){viewportwidth=window.innerHeight;}else{viewportwidth=document.documentElement.clientHeight;}
if((viewportwidth>document.body.parentNode.scrollWidth)&&(viewportwidth>document.body.parentNode.clientWidth)){windowwidth=viewportwidth;}else{if(document.body.parentNode.clientWidth>document.body.parentNode.scrollWidth){windowwidth=document.body.parentNode.clientWidth;}else{windowwidth=document.body.parentNode.scrollWidth;}}
var popUpDiv=document.getElementById(popUpDivVar);windowwidth=windowwidth/2-350;popUpDiv.style.left=windowwidth+'px';}
function popup(windowname){blanket1(windowname);window1(windowname);toggle('blanket');toggle(windowname);}
/*Code for query form starts*/
function frm(){
document.write("<DIV CLASS=\"bx\"><P CLASS=\"fr bf bf1 c21 cp\" ONCLICK=\"popup('popUpDiv')\">Close</P><H1 CLASS=\"fl\">Buyers Sourcing Helpdesk!</H1><DIV CLASS=\"bf bf2 cb pr fm\"><P CLASS=\"bf bf4 fr\"></P><P CLASS=\"fl bf bf3\"></P><DIV CLASS=\"p12 fl\"><P CLASS=\"fl bf bf5\"></P><P CLASS=\"fl a3 c22 p21\">Tell us your<BR><B>Requirements</B></P></DIV><P CLASS=\"fl bf bf6\"></P><DIV CLASS=\"p12 fl\"><P CLASS=\"fl bf bf7\"></P><P CLASS=\"fl a3 c22 p21\">Get Competitive Quotes <BR><B>from Verified Suppliers</B></P></DIV><P CLASS=\"fl bf bf6\"></P><DIV CLASS=\"p12 fl\"><P CLASS=\"fl bf bf8\"></P><P CLASS=\"fl a3 c22 p21\">Shortlist <BR><B>Best Quotation</B></P></DIV></DIV><DIV CLASS=\"cb\"><FORM NAME=\"postForm\" METHOD=\"POST\" ACTION=\"/cgi/eto-global-postofr.mp\" STYLE=\"margin:5px;\" ONSUBMIT=\"return Check_ModReg(document.postForm);\"><DIV STYLE=\"margin-top:9px;\">   <DIV STYLE=\"float:left;width:272px;border-right:1px solid #efefef;padding-left:10px\">   <P CLASS=\"a21\" STYLE=\"color:#636a89\">Product You are Looking for:</P>    <DIV STYLE=\"margin-top:2px;\"><INPUT NAME=\"title\" SIZE=\"25\" CLASS=\"em-input1\" STYLE=\"height:18px;width:250px;padding:5px 0 5px 5px;\"></DIV>    <DIV STYLE=\"margin-top:13px;\">    <P CLASS=\"a21\" STYLE=\"color:#636a89\">Describe Your Buying Requirements in detail:</P></DIV><DIV STYLE=\"margin-top:2px;\"><TEXTAREA CLASS=\"txt-input3\" ONFOCUS=\"t_description()\" ONBLUR=\"\" NAME=\"desc\" STYLE=\"margin-top:2px;\"></TEXTAREA></DIV></DIV><DIV STYLE=\"float:left;width:280px;padding-left:15px\"><DIV STYLE=\"margin-top:2px;\"> <TABLE BORDER=\"0\" CELLPADDING=\"0\" CELLSPACING=\"0\"> <TBODY><TR><TD COLSPAN=\"2\"><INPUT CLASS=\"bf fast em-input1\" ONFOCUS=\"this.className='em-input1'\" ONBLUR=\"if (this.value=='') {this.className='bf fast em-input1'}\" VALUE=\"\" NAME=\"first_name\" STYLE=\"padding:5px 0 4px 5px; height:18px;width:125px;\"></TD><TD><INPUT MAXLENGTH=\"27\" SIZE=\"13\" NAME=\"last_name\" ONFOCUS=\"this.className='em-input1'\" ONBLUR=\"if (this.value=='') {this.className='bf last em-input1'}\" VALUE=\"\" CLASS=\"em-input1 bf last\" STYLE=\"padding:5px 0 5px 5px;; width:118px;height:18px;margin-left:8px;\"></TD> </TR></TBODY></TABLE></DIV><DIV STYLE=\"margin-top:2px;\"><INPUT STYLE=\"height:18px;width:258px;padding:5px 0 5px 5px;margin-top:12px\" CLASS=\"em-input1 bf mail\" ONFOCUS=\"this.className='em-input1'\" ONBLUR=\"if (this.value=='') {this.className='bf mail em-input1'}\" VALUE=\"\" NAME=\"email\"></DIV> <DIV STYLE=\"margin-top:13px;\"><SELECT NAME=\"country\" ONCHANGE=\"check_count_change();\" STYLE=\"height:25px;padding:2px 0 1px 3px;;width:265px\"><OPTION VALUE=\"0\">Choose Your Country</OPTION><OPTION VALUE=\"AF\">Afghanistan</OPTION><OPTION VALUE=\"AL\">Albania</OPTION><OPTION VALUE=\"DZ\">Algeria</OPTION><OPTION VALUE=\"AS\">American Samoa</OPTION><OPTION VALUE=\"AD\">Andorra</OPTION><OPTION VALUE=\"AO\">Angola</OPTION><OPTION VALUE=\"AI\">Anguilla</OPTION><OPTION VALUE=\"AQ\">Antarctica</OPTION><OPTION VALUE=\"AG\">Antigua And Barbuda</OPTION><OPTION VALUE=\"AR\">Argentina</OPTION><OPTION VALUE=\"AM\">Armenia</OPTION><OPTION VALUE=\"AW\">Aruba</OPTION><OPTION VALUE=\"AU\">Australia</OPTION><OPTION VALUE=\"AT\">Austria</OPTION><OPTION VALUE=\"AZ\">Azerbaijan</OPTION><OPTION VALUE=\"BS\">Bahamas, The</OPTION><OPTION VALUE=\"BH\">Bahrain</OPTION><OPTION VALUE=\"BD\">Bangladesh</OPTION><OPTION VALUE=\"BB\">Barbados</OPTION><OPTION VALUE=\"BY\">Belarus</OPTION><OPTION VALUE=\"BE\">Belgium</OPTION><OPTION VALUE=\"BZ\">Belize</OPTION><OPTION VALUE=\"BJ\">Benin</OPTION><OPTION VALUE=\"BM\">Bermuda</OPTION><OPTION VALUE=\"BT\">Bhutan</OPTION><OPTION VALUE=\"BO\">Bolivia</OPTION><OPTION VALUE=\"BA\">Bosnia and Herzegovina</OPTION><OPTION VALUE=\"BW\">Botswana</OPTION><OPTION VALUE=\"BV\">Bouvet Island</OPTION><OPTION VALUE=\"BR\">Brazil</OPTION><OPTION VALUE=\"IO\">British Indian Ocean Territory</OPTION><OPTION VALUE=\"BN\">Brunei</OPTION><OPTION VALUE=\"BG\">Bulgaria</OPTION><OPTION VALUE=\"BF\">Burkina Faso</OPTION><OPTION VALUE=\"BI\">Burundi</OPTION><OPTION VALUE=\"KH\">Cambodia</OPTION><OPTION VALUE=\"CM\">Cameroon</OPTION><OPTION VALUE=\"CA\">Canada</OPTION><OPTION VALUE=\"CV\">Cape Verde</OPTION><OPTION VALUE=\"KY\">Cayman Islands</OPTION><OPTION VALUE=\"CF\">Central African Republic</OPTION><OPTION VALUE=\"TD\">Chad</OPTION><OPTION VALUE=\"CL\">Chile</OPTION><OPTION VALUE=\"CN\">China</OPTION><OPTION VALUE=\"HK\">China (Hong Kong S.A.R.)</OPTION><OPTION VALUE=\"MO\">China (Macau S.A.R.)</OPTION><OPTION VALUE=\"CX\">Christmas</OPTION><OPTION VALUE=\"CC\">Cocos (Keeling) Islands</OPTION><OPTION VALUE=\"CO\">Colombia</OPTION><OPTION VALUE=\"KM\">Comoros</OPTION><OPTION VALUE=\"CG\">Congo</OPTION><OPTION VALUE=\"CD\">Congo, Democractic Republic of</OPTION><OPTION VALUE=\"CK\">Cook Islands</OPTION><OPTION VALUE=\"CR\">Costa Rica</OPTION><OPTION VALUE=\"CI\">Cote D'Ivoire (Ivory Coast)</OPTION><OPTION VALUE=\"HR\">Croatia (Hrvatska)</OPTION><OPTION VALUE=\"CU\">Cuba</OPTION><OPTION VALUE=\"CY\">Cyprus</OPTION><OPTION VALUE=\"CZ\">Czech Republic</OPTION><OPTION VALUE=\"DK\">Denmark</OPTION><OPTION VALUE=\"DJ\">Djibouti</OPTION><OPTION VALUE=\"DM\">Dominica</OPTION><OPTION VALUE=\"DO\">Dominican Republic</OPTION><OPTION VALUE=\"TP\">East Timor</OPTION><OPTION VALUE=\"EC\">Ecuador</OPTION><OPTION VALUE=\"EG\">Egypt</OPTION><OPTION VALUE=\"SV\">El Salvador</OPTION><OPTION VALUE=\"GQ\">Equatorial Guinea</OPTION><OPTION VALUE=\"ER\">Eritrea</OPTION><OPTION VALUE=\"EE\">Estonia</OPTION><OPTION VALUE=\"ET\">Ethiopia</OPTION><OPTION VALUE=\"FK\">Falkland Islands (Islas Malvin)</OPTION><OPTION VALUE=\"FO\">Faroe Islands</OPTION><OPTION VALUE=\"FJ\">Fiji Islands</OPTION><OPTION VALUE=\"FI\">Finland</OPTION><OPTION VALUE=\"FR\">France</OPTION><OPTION VALUE=\"GF\">French Guiana</OPTION><OPTION VALUE=\"PF\">French Polynesia</OPTION><OPTION VALUE=\"TF\">French Southern Territories</OPTION><OPTION VALUE=\"GA\">Gabon</OPTION><OPTION VALUE=\"GM\">Gambia, The</OPTION><OPTION VALUE=\"GE\">Georgia</OPTION><OPTION VALUE=\"DE\">Germany</OPTION><OPTION VALUE=\"GH\">Ghana</OPTION><OPTION VALUE=\"GI\">Gibraltar</OPTION><OPTION VALUE=\"GR\">Greece</OPTION><OPTION VALUE=\"GL\">Greenland</OPTION><OPTION VALUE=\"GD\">Grenada</OPTION><OPTION VALUE=\"GP\">Guadeloupe</OPTION><OPTION VALUE=\"GU\">Guam</OPTION><OPTION VALUE=\"GT\">Guatemala</OPTION><OPTION VALUE=\"GN\">Guinea</OPTION><OPTION VALUE=\"GW\">Guinea-Bissau</OPTION><OPTION VALUE=\"GY\">Guyana</OPTION><OPTION VALUE=\"HT\">Haiti</OPTION><OPTION VALUE=\"HM\">Heard and McDonald Islands</OPTION><OPTION VALUE=\"HN\">Honduras</OPTION><OPTION VALUE=\"HU\">Hungary</OPTION><OPTION VALUE=\"IS\">Iceland</OPTION><OPTION VALUE=\"IN\">India</OPTION><OPTION VALUE=\"ID\">Indonesia</OPTION><OPTION VALUE=\"IR\">Iran</OPTION><OPTION VALUE=\"IQ\">Iraq</OPTION><OPTION VALUE=\"IE\">Ireland</OPTION><OPTION VALUE=\"IL\">Israel</OPTION><OPTION VALUE=\"IT\">Italy</OPTION><OPTION VALUE=\"JM\">Jamaica</OPTION><OPTION VALUE=\"JP\">Japan</OPTION><OPTION VALUE=\"JO\">Jordan</OPTION><OPTION VALUE=\"KZ\">Kazakhstan</OPTION><OPTION VALUE=\"KE\">Kenya</OPTION><OPTION VALUE=\"KI\">Kiribati</OPTION><OPTION VALUE=\"KR\">Korea</OPTION><OPTION VALUE=\"KP\">Korea, North</OPTION><OPTION VALUE=\"KW\">Kuwait</OPTION><OPTION VALUE=\"KG\">Kyrgyzstan</OPTION><OPTION VALUE=\"LA\">Laos PDR</OPTION><OPTION VALUE=\"LV\">Latvia</OPTION><OPTION VALUE=\"LB\">Lebanon</OPTION><OPTION VALUE=\"LS\">Lesotho</OPTION><OPTION VALUE=\"LR\">Liberia</OPTION><OPTION VALUE=\"LY\">Libya</OPTION><OPTION VALUE=\"LI\">Liechtenstein</OPTION><OPTION VALUE=\"LT\">Lithuania</OPTION><OPTION VALUE=\"LU\">Luxembourg</OPTION><OPTION VALUE=\"MK\">Macedonia</OPTION><OPTION VALUE=\"MG\">Madagascar</OPTION><OPTION VALUE=\"MW\">Malawi</OPTION><OPTION VALUE=\"MY\">Malaysia</OPTION><OPTION VALUE=\"MV\">Maldives</OPTION><OPTION VALUE=\"ML\">Mali</OPTION><OPTION VALUE=\"MT\">Malta</OPTION><OPTION VALUE=\"MH\">Marshall Islands</OPTION><OPTION VALUE=\"MQ\">Martinique</OPTION><OPTION VALUE=\"MR\">Mauritania</OPTION><OPTION VALUE=\"MU\">Mauritius</OPTION><OPTION VALUE=\"YT\">Mayotte</OPTION><OPTION VALUE=\"MX\">Mexico</OPTION><OPTION VALUE=\"FM\">Micronesia</OPTION><OPTION VALUE=\"MD\">Moldova</OPTION><OPTION VALUE=\"MC\">Monaco</OPTION><OPTION VALUE=\"MN\">Mongolia</OPTION><OPTION VALUE=\"ME\">Montenegro</OPTION><OPTION VALUE=\"MS\">Montserrat</OPTION><OPTION VALUE=\"MA\">Morocco</OPTION><OPTION VALUE=\"MZ\">Mozambique</OPTION><OPTION VALUE=\"MM\">Myanmar</OPTION><OPTION VALUE=\"NA\">Namibia</OPTION><OPTION VALUE=\"NR\">Nauru</OPTION><OPTION VALUE=\"NP\">Nepal</OPTION><OPTION VALUE=\"AN\">Netherlands Antilles</OPTION><OPTION VALUE=\"NC\">New Caledonia</OPTION><OPTION VALUE=\"NZ\">New Zealand</OPTION><OPTION VALUE=\"NI\">Nicaragua</OPTION><OPTION VALUE=\"NE\">Niger</OPTION><OPTION VALUE=\"NG\">Nigeria</OPTION><OPTION VALUE=\"NU\">Niue</OPTION><OPTION VALUE=\"NF\">Norfolk Island</OPTION><OPTION VALUE=\"MP\">Northern Mariana Islands</OPTION><OPTION VALUE=\"NO\">Norway</OPTION><OPTION VALUE=\"OM\">Oman</OPTION><OPTION VALUE=\"PK\">Pakistan</OPTION><OPTION VALUE=\"PW\">Palau</OPTION><OPTION VALUE=\"PA\">Panama</OPTION><OPTION VALUE=\"PG\">Papua new Guinea</OPTION><OPTION VALUE=\"PY\">Paraguay</OPTION><OPTION VALUE=\"PE\">Peru</OPTION><OPTION VALUE=\"PH\">Philippines</OPTION><OPTION VALUE=\"PN\">Pitcairn Island</OPTION><OPTION VALUE=\"PL\">Poland</OPTION><OPTION VALUE=\"PT\">Portugal</OPTION><OPTION VALUE=\"PR\">Puerto Rico</OPTION><OPTION VALUE=\"QA\">Qatar</OPTION><OPTION VALUE=\"RE\">Reunion</OPTION><OPTION VALUE=\"RO\">Romania</OPTION><OPTION VALUE=\"RU\">Russia</OPTION><OPTION VALUE=\"RW\">Rwanda</OPTION><OPTION VALUE=\"SH\">Saint Helena</OPTION><OPTION VALUE=\"KN\">Saint Kitts And Nevis</OPTION><OPTION VALUE=\"LC\">Saint Lucia</OPTION><OPTION VALUE=\"PM\">Saint Pierre and Miquelon</OPTION><OPTION VALUE=\"VC\">Saint Vincent And The Grenadin</OPTION><OPTION VALUE=\"WS\">Samoa</OPTION><OPTION VALUE=\"SM\">San Marino</OPTION><OPTION VALUE=\"ST\">Sao Tome and Principe</OPTION><OPTION VALUE=\"SA\">Saudi Arabia</OPTION><OPTION VALUE=\"SN\">Senegal</OPTION><OPTION VALUE=\"RS\">Serbia</OPTION><OPTION VALUE=\"SC\">Seychelles</OPTION><OPTION VALUE=\"SL\">Sierra Leone</OPTION><OPTION VALUE=\"SG\">Singapore</OPTION><OPTION VALUE=\"SK\">Slovakia</OPTION><OPTION VALUE=\"SI\">Slovenia</OPTION><OPTION VALUE=\"SB\">Solomon Islands</OPTION><OPTION VALUE=\"SO\">Somalia</OPTION><OPTION VALUE=\"ZA\">South Africa</OPTION><OPTION VALUE=\"GS\">South Georgia</OPTION><OPTION VALUE=\"ES\">Spain</OPTION><OPTION VALUE=\"LK\">Sri Lanka</OPTION><OPTION VALUE=\"SD\">Sudan</OPTION><OPTION VALUE=\"SR\">Suriname</OPTION><OPTION VALUE=\"SJ\">Svalbard And Jan Mayen Islands</OPTION><OPTION VALUE=\"SZ\">Swaziland</OPTION><OPTION VALUE=\"SE\">Sweden</OPTION><OPTION VALUE=\"CH\">Switzerland</OPTION><OPTION VALUE=\"SY\">Syria</OPTION><OPTION VALUE=\"TW\">Taiwan</OPTION><OPTION VALUE=\"TJ\">Tajikistan</OPTION><OPTION VALUE=\"TZ\">Tanzania</OPTION><OPTION VALUE=\"TH\">Thailand</OPTION><OPTION VALUE=\"NL\">The Netherlands</OPTION><OPTION VALUE=\"TG\">Togo</OPTION><OPTION VALUE=\"TK\">Tokelau</OPTION><OPTION VALUE=\"TO\">Tonga</OPTION><OPTION VALUE=\"TT\">Trinidad And Tobago</OPTION><OPTION VALUE=\"TN\">Tunisia</OPTION><OPTION VALUE=\"TR\">Turkey</OPTION><OPTION VALUE=\"TM\">Turkmenistan</OPTION><OPTION VALUE=\"TC\">Turks And Caicos Islands</OPTION><OPTION VALUE=\"TV\">Tuvalu</OPTION><OPTION VALUE=\"UG\">Uganda</OPTION><OPTION VALUE=\"UA\">Ukraine</OPTION><OPTION VALUE=\"AE\">United Arab Emirates</OPTION><OPTION VALUE=\"UK\">United Kingdom</OPTION><OPTION VALUE=\"UM\">United States Minor Outlying I</OPTION><OPTION VALUE=\"US\">United States of America</OPTION><OPTION VALUE=\"UY\">Uruguay</OPTION><OPTION VALUE=\"UZ\">Uzbekistan</OPTION><OPTION VALUE=\"VU\">Vanuatu</OPTION><OPTION VALUE=\"VA\">Vatican City State (Holy See)</OPTION><OPTION VALUE=\"VE\">Venezuela</OPTION><OPTION VALUE=\"VN\">Vietnam</OPTION><OPTION VALUE=\"VG\">Virgin Islands (British)</OPTION><OPTION VALUE=\"VI\">Virgin Islands (US)</OPTION><OPTION VALUE=\"WF\">Wallis And Futuna Islands</OPTION><OPTION VALUE=\"EH\">Western Sahara</OPTION><OPTION VALUE=\"YE\">Yemen</OPTION><OPTION VALUE=\"YU\">Yugoslavia</OPTION><OPTION VALUE=\"ZM\">Zambia</OPTION><OPTION VALUE=\"ZW\">Zimbabwe</OPTION></SELECT><INPUT NAME=\"country_iso\" VALUE=\"\" ID=\"txtCountry\" TYPE=\"hidden\"><INPUT NAME=\"country_name\" VALUE=\"\" TYPE=\"hidden\"></DIV><DIV STYLE=\"margin-top:5px;\"><P CLASS=\"a21\" STYLE=\"color:#636a89\">Phone Number / Mobile Number</P></DIV><DIV STYLE=\"margin-top:2px;\"><TABLE BORDER=\"0\" CELLPADDING=\"0\" CELLSPACING=\"0\">  <TBODY>  <TR><TD><INPUT CLASS=\"ph-ccode1\" id=\"txtArea\" NAME=\"ph_country\" MAXLENGTH=\"7\" SIZE=\"6\" READONLY=\"READONLY\"></TD><TD STYLE=\"margin-left:8px\"><INPUT CLASS=\"em-input1\" SIZE=\"5\" NAME=\"ph_area\" ID=\"txtArea\" ONFOCUS=\"if (this.value==''){ this.value='';}\" ONBLUR=\"if (this.value=='') {this.value='';}\" STYLE=\"height:18px;padding:5px 0 5px 4px; width:50px;margin-left:8px;\"></TD><TD STYLE=\"margin-left:8px\"><INPUT CLASS=\"em-input1\" NAME=\"ph_no\" ONFOCUS=\"if (this.value==''){ this.value='';}\" ONBLUR=\"if (this.value=='') {this.value='';}\" SIZE=\"16\" STYLE=\"height:18px;width:124px;padding:5px 0 5px 5px;; margin-left:8px;\"></TD>  </TR></TBODY></TABLE></DIV><DIV STYLE=\"margin-top:2px;\"><P CLASS=\"a21\" STYLE=\"color:#7fa803;font-size:10px;float:left\">Country  Code</P></DIV><DIV STYLE=\"margin-top:2px;padding-left:69px\"><P CLASS=\"a21\" STYLE=\"color:#7fa803;font-size:10px;float:left\">Area Code</P></DIV><DIV STYLE=\"margin-top:2px;\"><P CLASS=\"a21\" STYLE=\"color:#7fa803;font-size:10px;padding-left:133px\">Phone  Number</P></DIV><DIV STYLE=\"margin-top:2px;\"><P CLASS=\"a21\" STYLE=\"color:#636a89\">Enter the code shown on image:</P></DIV><DIV style=\"margin-right:25px\"><TABLE BORDER=\"0\" CELLPADDING=\"0\" CELLSPACING=\"0\" WIDTH=\"30%\" ALIGN=\"CENTER\">  <TBODY>  <TR><TD WIDTH=\"105\"><INPUT CLASS=\"pho-no1\" MAXLENGTH=\"6\" SIZE=\"15\" NAME=\"captcha_text\" ONFOCUS=\"\" ONBLUR=\"\" STYLE=\"width:130px;height:25px;margin:3px 0 0 0px\"><INPUT NAME=\"captcha_ref\" VALUE=\"\" TYPE=\"hidden\"></TD><TD STYLE=\"padding-left:5px;\"><SCRIPT TYPE=\"text/javascript\">document.write('<IMG SRC=\"'+url+'\" WIDTH=\"120\" HEIGHT=\"30\" onload=\"setCaptchaRef();\">');</SCRIPT></TD>  </TR> </TBODY></TABLE></DIV></DIV>   <DIV ALIGN=\"CENTER\"><INPUT NAME=\"post\" ALIGN=\"top\" CLASS=\"bf bf9 fw cp\" STYLE=\"margin-top:20px;font-size:14px\" TYPE=\"SUBMIT\" VALUE=\"Post Your Requirement\"></DIV></DIV><INPUT TYPE=\"hidden\" NAME=\"period\" VALUE=\"30\"><INPUT TYPE=\"hidden\" NAME=\"type\" VALUE=\"B\"><INPUT TYPE=\"hidden\" NAME=\"category\" VALUE=\"-1\"><INPUT TYPE=\"hidden\" NAME=\"mcat\" VALUE=\"\"><INPUT TYPE=\"hidden\" NAME=\"pay\" VALUE=\"\"><INPUT TYPE=\"hidden\" NAME=\"supply\" VALUE=\"\"><INPUT TYPE=\"hidden\" NAME=\"modid\" VALUE=\"PDTPTL\"><INPUT TYPE=\"HIDDEN\" NAME=\"content\" SIZE=\"33\" VALUE=\"1\"><INPUT TYPE=\"HIDDEN\" NAME=\"etoredirect_success\" VALUE=\"eto-thanks.html\"><INPUT TYPE=\"HIDDEN\" NAME=\"etoredirect_failure\" VALUE=\"eto-error.html\"><INPUT TYPE=\"HIDDEN\" NAME=\"ref\" VALUE=\"\"><INPUT TYPE=\"HIDDEN\" NAME=\"page_referrer\" VALUE=\"\"><INPUT TYPE=\"HIDDEN\" NAME=\"frm\" VALUE=\"1\"><INPUT TYPE=\"HIDDEN\" NAME=\"action\" VALUE=\"newreg1_submit\"><INPUT TYPE=\"HIDDEN\" NAME=\"referer_modid\" VALUE=\"PDTPTL\"><INPUT TYPE=\"HIDDEN\" NAME=\"referer_url\" VALUE=\"http://www.fabrics-manufacturers.com/\"><INPUT TYPE=\"HIDDEN\" NAME=\"updatedusing\" VALUE=\"Buyers Enquiry Form\"><INPUT TYPE=\"HIDDEN\" NAME=\"usr_pass\" SIZE=\"33\" VALUE=\"\"></FORM></DIV></DIV>");
}
//fomr and js//

//ads js start//
function check_advanced_search()
{
var kw = document.searc.q.value;
kw = kw.replace(/^\s+|\s+$/g,"");
if (kw.length < 3)
{
error_message = "Please enter atleast 3 characters for search";
alert(error_message);
document.searc.q.focus();
return false;
}
return true;
}
function check_advanced_search1()
{
var kw = document.searc1.q.value;
kw = kw.replace(/^\s+|\s+$/g,"");
if (kw.length < 3)
{
error_message = "Please enter atleast 3 characters for search";
alert(error_message);
document.searc1.q.focus();
return false;
}
return true;
}

function google_ad_request_done(google_ads){
var s='';
var i;
if(google_ads.length==0){
return;
}
if(google_ads[0].type=="text"){
if(google_ads.length==1){
s+='<br><a href=\"'+google_info.feedback_url+'\" TARGET="_blank">Ads by Google</a><a href="'+
google_ads[0].url+'" onmouseout="window.status=\'\'" onmouseover="window.status=\'go to '+
google_ads[0].visible_url+'\';return true">'+
google_ads[0].line1+'</a><br><span style="font-size:14px;color:#0230c6">'+
google_ads[0].line2+'&nbsp;'+
google_ads[0].line3+'<br></span> <span><a style="color:#000" href="'+
google_ads[0].url+'" onmouseout="window.status=\'\'" onmouseover="window.status=\'go to '+
google_ads[0].visible_url+'\';return true">'+
google_ads[0].visible_url+'</span></a>';
}

else if(google_ads.length>1){
s+='<a href=\"'+google_info.feedback_url+'\" Target="_blank" style="color:#616161;padding:6px 0 0 1px">Ads by Google</a>';
if(mytype=='TOP')
{
s+='<div style="'
if(google_ads.length <= 3)
{
s+='line-height:16px;">';
}
else
{
s+='line-height:18px;">';
}
for(i=0; i < google_ads.length; ++i){
if(i>0)
{
s+='<div style="padding-top:16px"></div>';
}
s+='<a style="';
if(google_ads.length<=3)
{
s+='font-size:16px;';
}
else
{
s+='font-size:16px;';
}
s+='" class="ad" Target="_blank" href="'+
google_ads[i].url+'" onmouseout="window.status=\'\'" onmouseover="window.status=\'go to '+
google_ads[i].visible_url+'\';return true">' +
google_ads[i].line1+'</a><br>';
if(google_ads.length<=3)
{
s+='</span> <span><a style="font-size:12px;';
}
else
{
s+='</span> <span><a style="font-size:12px;';
}
s+='color:#0e774a;font-size:11px;" Target="_blank" href="'+
google_ads[i].url+'" onmouseout="window.status=\'\'" onmouseover="window.status=\'go to '+
google_ads[i].visible_url+'\';return true">'+
google_ads[i].visible_url+'</span></a><br>'+
google_ads[i].line2+'<span style="font-size:12px">'+
google_ads[i].line3+' ';

}
s+='</div>';
if(google_ads[0].bidtype=="CPC")
{
google_adnum=google_adnum+google_ads.length;
}}
else
{
s+='<div style="'
if(google_ads.length<=3)
{
s+='line-height:18px;">';
}
else
{
s+='line-height:18px;">';
}
for(i=0; i<google_ads.length; ++i) {
if(i>0)

s+='<a style="';
google_ads[i].url+'" onmouseout="window.status=\'\'" onmouseover="window.status=\'go to '+
google_ads[i].visible_url+'\';return true">'+
google_ads[i].line1+'</a><br>'+
google_ads[i].line2+' '+
google_ads[i].line3+' : ';
s+='<a style="color:#158f01;" href="'+
google_ads[i].url+'" onmouseout="window.status=\'\'" onmouseover="window.status=\'go to '+
google_ads[i].visible_url+'\';return true">'+
google_ads[i].visible_url+'</a><br></div>';
}
if(google_ads[0].bidtype=="CPC")
{
google_adnum=google_adnum+google_ads.length;
}}}}
document.write(s);
return;}
function callgoogle()
{
google_ad_client = 'pub-8525015516580200';
google_ad_output='js';
google_max_num_ads=ads_count;
google_ad_type='text';
google_feedback='on';
google_skip=google_adnum;
}
//ads js end//
