function changeCountry(new_country) {
	var str = document.location.href;
	str = decodeURI(str);
	var result = str.search(/[\?&]country=[a-z ]*&?/i);
	if (result == -1)
	{
		result = str.search(/\?/);
		if (result == -1)
		{
			str = str + "?country="+new_country;
			str = encodeURI(str);
			document.location.href = str;
		}
		else
		{
			str = str + "&country="+new_country;
			str = encodeURI(str);
			document.location.href = str;
		}
	}
	else
	{
		str = str.replace(/country=[a-z ]*/i, "country="+new_country);
		str = encodeURI(str);
		document.location.href = str;
	}
}

function fb(r)
{
	if (r==1)
	{
		document.SearchForm.customer_order_number.value="";
	}
	if ((r==0) && (document.SearchForm.customer_order_number.value==""))
	{
		document.SearchForm.customer_order_number.value="Tracking number";
	}
}

function CreateBookmarkLink() {

 title = "FLOWERS.AZ - Flowers Delivery to Azerbaijan"; 
 url = "http://www.flowers.az/";

	if (window.sidebar) { // Mozilla Firefox Bookmark
		window.sidebar.addPanel(title, url,"");
	} else if( window.external ) { // IE Favorite
		window.external.AddFavorite( url, title); }
	else if(window.opera && window.print) { // Opera Hotlist
		window.external.AddFavorite( url, title); }
 }


