
var d=document;window.defaultStatus="Kombucheria - Bio Kombucha";window.ondblclick=new Function("return false");function newwin(url,width,height,parameter){if(!width)width=720;if(!height)height=540;if(!parameter)parameter="scrollbars=1,resizable=1";neuesFenster=open(url,"neuesFenster","width="+width+",height="+height+","+parameter+"");neuesFenster.focus();}
function salga(e)
{if(e.style.display=='block'){e.style.display='none';}else{e.style.display='block';}}
function addBookmark()
{var ua=navigator.userAgent.toLowerCase();var isKonq=(ua.indexOf("konqueror")!=-1);var isSafari=(ua.indexOf("webkit")!=-1);var isMac=(ua.indexOf("mac")!=-1);var isChrome=(ua.indexOf("chrome")!=-1);var buttonStr=isMac?"Command/Cmd":"CTRL";var title="Kombucheria - Bio Kombucha";var url="http://www.kombucheria.com/";if(window.sidebar){window.sidebar.addPanel(title,url,"");}else if(isChrome){alert("You need to press CTRL + D to bookmark our site.");}else if(window.external){window.external.AddFavorite(url,title);}else if(window.opera&&window.print){return true;}else if(isKonq){alert("You need to press CTRL + B to bookmark our site.");}else if(window.opera){void(0);}else if(window.home||isSafari){alert("You need to press "+buttonStr+" + D to bookmark our site.");}else if(!window.print||isMac){alert("You need to press Command/Cmd + D to bookmark our site.");}else{alert("In order to bookmark this site you need to do so manually "+"through your browser.");}}
var RequestIsRunning=false;var RequestTimeout=500;function RequestTimedout(){RequestIsRunning=false;};function init_page(){}
function showLoad(){$("load").style.display="block";RequestIsRunning=true;}
function hideLoad(){$("load").style.display="none";RequestIsRunning=false;}
function reset_err_msg(){}
function update_layer(element,data){$(element).innerHTML=data;}
function update_layer_get(element,url,pars){var myAjax=new Ajax.Updater(element,url,{method:'get',parameters:pars,onLoading:showLoad,onComplete:hideLoad,evalScripts:true});return false;}
function update_layer_post(element,url,pars){var myAjax=new Ajax.Updater(element,url,{method:'post',parameters:pars,onLoading:showLoad,onComplete:hideLoad,evalScripts:true});return false;}
function ismaxlength(obj){var mlength=obj.getAttribute?parseInt(obj.getAttribute("maxlength")):""
if(obj.getAttribute&&obj.value.length>mlength){alert(mlength+" characters are allowed here.\nThe text you typed is too long ");obj.value=obj.value.substring(0,mlength)}}
function fe_apply_countryfilter(val)
{var e=$("fe_sel_zone");if(e)update_layer_get(e,"http://www.kombucheria.com/_inc/ajax.updt.inc.php","fe_apply_countryfilter="+val);}
function check_valid_date(val,formid,fieldname)
{}
function usertooltip(element)
{x=(document.all)?window.event.x+document.body.scrollLeft:$(element).pageX;y=(document.all)?window.event.y+document.body.scrollTop:$(element).pageY;if($(element).style.display=="block")$(element).style.display="none";else{$(element).style.left=(x-50)+"px";$(element).style.top=(y+5)+"px";$(element).style.display="block";}}
function uProfile(uid)
{newwin("http://www.kombucheria.com/acceso/userProfile.php?uid="+uid+"","400","550","resizable,scrollbars");}
function uMsg(uid)
{newwin("http://www.kombucheria.com/acceso/userMailU2U.php?toUser="+uid+"","600","450","resizable,scrollbars");}
var sfaq_open=false;function sfaq_show(e){if($(e).style.display=="block"){$(e).style.display="none";$(e+"q").className="faqtitle";}else{if(sfaq_open){$(sfaq_open).style.display="none";$(sfaq_open+"q").className="faqtitle";}
$(e+"q").className="faqtitle-act";$(e).style.display="block";sfaq_open=e;}
$(e).blur();}