addDOMLoadEvent=(function(){var e=[],t,s,n,i,o,d=document,w=window,r='readyState',c='onreadystatechange',x=function(){n=1;clearInterval(t);while(i=e.shift())i();if(s)s[c]=''};return function(f){if(n)return f();if(!e[0]){d.addEventListener&&d.addEventListener("DOMContentLoaded",x,false);/*@cc_on@*//*@if(@_win32)d.write("<script id=__ie_onload defer src=//0><\/scr"+"ipt>");s=d.getElementById("__ie_onload");s[c]=function(){s[r]=="complete"&&x()};/*@end@*/if(/WebKit/i.test(navigator.userAgent))t=setInterval(function(){/loaded|complete/.test(d[r])&&x()},10);o=w.onload;w.onload=function(){x();o&&o()}}e.push(f)}})();
addDOMLoadEvent(function() {
	if (isNaN(document.getElementById('tx_indexedsearch_searchfield'))) { addJS(document.getElementById('tx_indexedsearch_searchfield'));};
	if (isNaN(document.getElementById('quick_find_searchfield'))) { addJS(document.getElementById('quick_find_searchfield'));};
	if (isNaN(document.getElementById('vc_shop_searchfield'))) { addJS(document.getElementById('vc_shop_searchfield'));};
});
function addJS(a) {
	if (typeof d === 'undefined') {d = new Array;};
	d[a.id] = a.value;
	a.onfocus = function() { if (a.value == d[a.id]) { a.value = '';}};
	a.onblur = function() { if (a.value == '') {a.value = d[a.id];}};	
};