function tabber(tabnum,maxtabnum) {
	if(!document.getElementById) return;
	for(i=1; i<=maxtabnum; i++) {
		id1='at'+String(i);
		id2='att'+String(i);
		var o1=document.getElementById(id1);
		var o2=document.getElementById(id2);
		if(i==tabnum) {
			o2.style.display="block";
			o1.style.background="url('/lan/img/bg_tabmenusel.gif')";
		} else {
			o2.style.display="none";
			o1.style.background="url('/lan/img/bg_tabmenu.gif')";
		}
	}
}

function tabber_index1(tabnum,maxtabnum) {
	if(!document.getElementById) return;
	for(i=1; i<=maxtabnum; i++) {
		id1='at'+String(i);
		id2='att'+String(i);
		var o1=document.getElementById(id1);
		var o2=document.getElementById(id2);
		if(i==tabnum) {
			o2.style.display="block";
			o1.style.background="url('/lan/img/bg_index_tabmenusel.gif') top left no-repeat";
		} else {
			o2.style.display="none";
			o1.style.background="url('/lan/img/bg_index_tabmenu.gif') top left repeat-x";
		}
	}
}

function tabber_index2(tabnum,maxtabnum) {
	if(!document.getElementById) return;
	for(i=1; i<=maxtabnum; i++) {
		id1='bt'+String(i);
		id2='btt'+String(i);
		var o1=document.getElementById(id1);
		var o2=document.getElementById(id2);
		if(i==tabnum) {
			o2.style.display="block";
			o1.style.background="url('/lan/img/bg_index_tabmenusel.gif') top left no-repeat";
		} else {
			o2.style.display="none";
			o1.style.background="url('/lan/img/bg_index_tabmenu.gif') top left repeat-x";
		}
	}
}


function newsletter(what2do) {
try{
	var news=document.getElementById('newsletter_msg');
	if (what2do=='nyit') news.style.display="block";
	if (what2do=='zar') news.style.display="none";
	}
catch(err)
  {
  //Handle errors here
  }
}