function url_check(typeVal)
{
	
var check=0;
var prod_aus='';
var prod_chn='';
var prod_idn='';
var prod_ind='';
var prod_mys='';
var prod_sgp='';
var prod_nzl='';
var prod_tha='';
var prod_phl='';
var prod_jpn='';
var prod_vnm='';
var prod_kor='';
var prod_hal='';
var prod_hid='';
var prod_inc='';
var prod_spl='';

prod_aus="?cntry_code=aus";
prod_chn="?cntry_code=chn";
prod_idn="?cntry_code=idn";
prod_ind="?cntry_code=ind";
prod_mys="?cntry_code=mys";
prod_sgp="?cntry_code=sgp";
prod_nzl="?cntry_code=nzl";
prod_tha="?cntry_code=tha";
prod_phl="?cntry_code=phl";
prod_jpn="?cntry_code=jpn";
prod_vnm="?cntry_code=vnm";
prod_kor="?cntry_code=kor";

var prod_app='';
prod_app='?cntry_code=appliances';

if(
window.location.href.indexOf('?cntry_code=aus')>-1 ||
window.location.search==prod_aus ||
window.location.href.indexOf('?cntry_code=chn')>-1 ||
window.location.search==prod_chn ||
window.location.href.indexOf('?cntry_code=idn')>-1 ||
window.location.search==prod_idn ||
window.location.href.indexOf('?cntry_code=ind')>-1 ||
window.location.search==prod_ind ||
window.location.href.indexOf('?cntry_code=mys')>-1 ||
window.location.search==prod_mys ||
window.location.href.indexOf('?cntry_code=sgp')>-1 ||
window.location.search==prod_sgp ||
window.location.href.indexOf('?cntry_code=nzl')>-1 ||
window.location.search==prod_nzl ||
window.location.href.indexOf('?cntry_code=tha')>-1 ||
window.location.search==prod_tha ||
window.location.href.indexOf('?cntry_code=phl')>-1 ||
window.location.search==prod_phl ||
window.location.href.indexOf('?cntry_code=jpn')>-1 ||
window.location.search==prod_jpn ||
window.location.href.indexOf('?cntry_code=vnm')>-1 ||
window.location.search==prod_vnm ||
window.location.href.indexOf('?cntry_code=kor')>-1 ||
window.location.search==prod_kor ||
window.location.href.indexOf('?SMSESSION=NO')>-1
)
{check=1;}


if(check==1)
{
if(window.location.href.indexOf('?cntry_code=aus"')>-1 || window.location.search==prod_aus){document.form2.txt08Country.value="Australia"; div2.style.display="none";}
if(window.location.href.indexOf('?cntry_code=chn"')>-1 || window.location.search==prod_chn){document.form2.txt08Country.value="China"; div2.style.display="none";}
if(window.location.href.indexOf('?cntry_code=idn"')>-1 || window.location.search==prod_idn){document.form2.txt08Country.value="Indonesia"; div2.style.display="none";}
if(window.location.href.indexOf('?cntry_code=ind"')>-1 || window.location.search==prod_ind){document.form2.txt08Country.value="India"; div2.style.display="none";}
if(window.location.href.indexOf('?cntry_code=mys"')>-1 || window.location.search==prod_mys){document.form2.txt08Country.value="Malaysia"; div2.style.display="none";}
if(window.location.href.indexOf('?cntry_code=sgp"')>-1 || window.location.search==prod_sgp){document.form2.txt08Country.value="Singapore"; div2.style.display="none";}
if(window.location.href.indexOf('?cntry_code=nzl"')>-1 || window.location.search==prod_nzl){document.form2.txt08Country.value="New Zealand"; div2.style.display="none";}
if(window.location.href.indexOf('?cntry_code=tha"')>-1 || window.location.search==prod_tha){document.form2.txt08Country.value="Thailand"; div2.style.display="none";}
if(window.location.href.indexOf('?cntry_code=phl"')>-1 || window.location.search==prod_phl){document.form2.txt08Country.value="Philippines"; div2.style.display="none";}
if(window.location.href.indexOf('?cntry_code=jpn"')>-1 || window.location.search==prod_jpn){document.form2.txt08Country.value="Japan"; div2.style.display="none";}
if(window.location.href.indexOf('?cntry_code=vnm"')>-1 || window.location.search==prod_vnm){document.form2.txt08Country.value="Vietnam"; div2.style.display="none";}
if(window.location.href.indexOf('?cntry_code=kor"')>-1 || window.location.search==prod_kor){document.form2.txt08Country.value="Korea"; div2.style.display="none";}

/**************************************************For appliances url check************************************************
	//if(window.location.href.indexOf('?cntry_code=appliances')>-1 || window.location.search==prod_app)
	//{document.form2.product.value="appliances";
		div1.style.display="none";}
********************************************************************************************************/

if(window.location.href.indexOf('?SMSESSION=NO')>-1)
{
div1.style.display="block";
div2.style.display="block";
div3.style.display="block";
}
}
}
