isIE = ((/MSIE/i).test(navigator.appVersion));
function addEvent(el, event, fn) {if (isIE) el.attachEvent('on'+event,fn); else el.addEventListener(event,fn,false);}
addEvent (window, 'load', init);
// =============================
function inpFocus(el,elval) {
	el.onblur  = function fun() {if (el.value == "") el.value = elval;};
	el.onfocus = function fun() {if (el.value == elval) el.value="";};
}

function init() {
	fl = document.getElementsByTagName("object");
	for (var i=0; i<fl.length; i++) fl[i].outerHTML = fl[i].outerHTML;
	sw = document.getElementById('searchword');
	if (sw) inpFocus(sw, sw.value);
}

