function Clear(obj){
obj.value="";
}

// fixPNG(); http://www.tigir.com/js/fixpng.js (author Tigirlas Igor)
function fixPNG(element)
{
	if (/MSIE (5\.5|6).+Win/.test(navigator.userAgent))
	{
		var src;

		if (element.tagName=='IMG')
		{
			if (/\.png$/.test(element.src))
			{
				src = element.src;
				element.src = "img/blank.gif";
			}
		}
		else
		{
			src = element.currentStyle.backgroundImage.match(/url\("(.+\.png)"\)/i)
			if (src)
			{
				src = src[1];
				element.runtimeStyle.backgroundImage="none";
			}
		}

		if (src) element.runtimeStyle.filter = "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='" + src + "',sizingMethod='scale')";
	}
}
// в избранное

function addBookmark()
{
  var uurl = "http://www.kraina-ua.com";
  var ttitle = "Туристическая компания КРАIНА UA";
  if ((typeof window.sidebar == "object") && (typeof window.sidebar.addPanel == "function")) window.sidebar.addPanel (ttitle, uurl, "");
  else if (typeof window.external == "object") window.external.AddFavorite(uurl, ttitle);
  else if (window.opera && document.createElement)
  {
    var a = document.createElement('A');
    if (!a) return false; //IF Opera 6
    a.setAttribute('rel','sidebar');
    a.setAttribute('href',uurl);
    a.setAttribute('title',ttitle);
    a.click();
  }
  else return false;
  return true;
}
function ssilk()
{
window.location.href="http://www.kraina-ua.com";
}