function on_load()
{
//	  var testtext = document.createTextNode(navigator.userAgent);
//	  document.getElementsByTagName('body')[0].lastChild.appendData(testtext.nodeValue);

/*	var arVersion = navigator.appVersion.split("MSIE")
	var version = parseFloat(arVersion[1])

	//	 if (version > 6.0 || version == NaN)
	if (version > 7 || isNaN(version))
	{
		var title_element_list = new Array('a', 'tr', 'td', 'th', 'li', 'img', 'span', 'input', 'textarea', 'select');
		for(var i = 0; i < title_element_list.length; i++)
		{
		//		 alert(document.getElementsByTagName(title_element_list[i])[0].title);
			for(var j = 0; j < document.getElementsByTagName(title_element_list[i]).length; j++)
			{
			//			 document.write(document.getElementsByTagName(title_element_list[i]))[j].title;
				var element = document.getElementsByTagName(title_element_list[i])[j];


				for(var ai = 0; ai < element.attributes.length; ai++)
				{
					if(element.attributes[ai].nodeName == 'onmouseover' && (element.attributes[ai].nodeValue.substr(0,4) == 'Tip(' || element.attributes[ai].nodeValue.substr(0,9) == 'TagToTip('))
					{
						element.removeAttribute("title");
					}
				}
				for(var ai = 0; ai < element.attributes.length; ai++)
				{
					if(element.attributes[ai].nodeName == 'title' && element.attributes[ai].nodeValue.length > 0)
					{
						var ToolTip = document.createAttribute("onmouseover");
						ToolTip.nodeValue = "Tip('" + element.attributes[ai].nodeValue.replace(/'/g,'&#39;') + "')";
						var UnToolTip = document.createAttribute("onmouseout");
						UnToolTip.nodeValue = "UnTip()";
						element.setAttributeNode(ToolTip);
						element.setAttributeNode(UnToolTip);
						element.removeAttribute("title");
					}
				}
			}
		}
	}*/
	
// 	new-one:
	var arVersion = navigator.appVersion.split("MSIE")
	var version = parseFloat(arVersion[1])

	if (version >= 6 || isNaN(version))
	{
		var title_element_list = new Array('a', 'tr', 'td', 'th', 'li', 'img', 'span', 'input', 'textarea', 'select', 'area', 'table');
		for(var i = 0; i < title_element_list.length; i++)
		{
			for(var j = 0; j < document.getElementsByTagName(title_element_list[i]).length; j++)
			{
				var element = document.getElementsByTagName(title_element_list[i])[j];


// 				if(element.getAttribute('title') != null && element.getAttribute('title').length > 0 && element.getAttribute('onmouseover') == null)
				if(element.title != null && element.title.length > 0 && (element.onmouseover == null || element.onmouseover == ''))
				{
					element.ToolTip=element.title;
					element.removeAttribute("title");
					element.onmouseout=function()
					{
						UnTip();
// 						this.title=this.ToolTip;
						// this.title = tmp_title;
						// delete tmp_title;
					};
					element.onmouseover=function()
					{
// 						this.ToolTip = this.title;
// 						this.title = '';
// 						tmp_title = this.ToolTip;
						// this.title="";
						// this.removeAttribute("title");
						Tip(this.ToolTip);
					};
				}
			}
		}
	} 
	if (version >= 6 || isNaN(version))
	{
		var focus_element_list = new Array('input', 'textarea');
		var first_element = false;
		for(var i = 0; i < focus_element_list.length; i++)
		{
			for(var j = 0; j < document.getElementsByTagName(focus_element_list[i]).length; j++)
			{
				var element = document.getElementsByTagName(focus_element_list[i])[j];
				if((element.getAttribute('onfocus') == null || element.getAttribute('onfocus').length == 0) && element.type != 'hidden')
				{
					element.onfocus=function()
					{
						this.select();
					}
					if(first_element == false)
						first_element = element;
				}
			}
		}
	}
	find_div_2_hide();
// 	alert(first_element);
	if(first_element != false)
		first_element.focus();
	
	// Browser-Update.org
	var $buoop = {vs:{i:7,f:2,o:9.25,s:2,n:9}}
// 	var $buoop = {}
	var e = document.createElement("script");
	e.setAttribute("type", "text/javascript");
	e.setAttribute("src", "http://browser-update.org/update.js");
	document.body.appendChild(e);
}
