// Linkszínezés

function active_navi(item) {item.style.color = "#FF0000";}
function deactive_navi(item) 
{item.style.color = "";}


// Felnyíló ablakok

	function openwindow(name,tag)
        {
	var properties = "location=no,scrollbars=yes,menubars=no,toolbars=no,resizable=yes,width=1024,height=768";
	link = window.open(name,tag,properties);
	link.focus();
        }

	function openwindowtof(name,tag)
        {
	var properties = "location=no,scrollbars=yes,menubars=no,toolbars=no,resizable=yes,width=400,height=350";
	link = window.open(name,tag,properties);
	link.focus();
        }
		
	function openwindowadmin(name,tag)
        {
	var properties = "location=no,scrollbars=yes,menubars=no,toolbars=no,resizable=yes,width=400,height=350";
	link = window.open(name,tag,properties);
	link.focus();
        }

	function openwindowprog(name,tag)
        {
	var properties = "location=no,scrollbars=yes,menubars=no,toolbars=no,resizable=yes,width=680,height=510";
	link = window.open(name,tag,properties);
	link.focus();
        }
		
	function openwindowshop(name,tag)
        {
	var properties = "location=no,scrollbars=yes,menubars=no,toolbars=no,resizable=yes,width=680,height=510";
	link = window.open(name,tag,properties);
	link.focus();
        }
		
	function openwindowocat(name,tag)
        {
	var properties = "location=no,scrollbars=yes,menubars=no,toolbars=no,resizable=yes,width=3000,height=5000";
	link = window.open(name,tag,properties);
	link.focus();
        }


   function toggleMoreInfos(id) {
     if (document.getElementById("moreInfos"+id).style.display == 'none') {
       document.getElementById("moreInfos"+id).style.display = "";
       document.getElementById("moreInfosImg"+id).src = "images/statika/gombminusz.jpg";
       document.getElementById("moreInfosImg"+id).title = "Zárd be a részleteket!";
     } else {
       document.getElementById("moreInfos"+id).style.display = "none";
       document.getElementById("moreInfosImg"+id).src = "images/statika/gombmeg.jpg";
       document.getElementById("moreInfosImg"+id).title = "Mutasd a részleteket!";
     }
              }


   function openMore(id) {
     if (document.getElementById("openMore"+id).style.display == 'none') {
       document.getElementById("openMore"+id).style.display = "";
     } else {
       document.getElementById("openMore"+id).style.display = "none";
     }
              }

// Első űrlapmezőbe a kurzort
function toFormout() {
document.form.uNevadmin.focus();
}
function toFormin() {
document.form.uNev.focus();
}
function toFormtofriend() {
document.form.yname.focus();
}
function toFormkomments() {
document.form.kommentsnewsupuzenet.focus();
}
function toFormcontact() {
document.form.yourname.focus();
}
function toFormsearch() {
document.form.stitle.focus();
}
function toFormforumtema() {
document.form.forumadatbevitelftemacim.focus();
}
function toFormforumuzenet() {
document.form.forumadatbeviteluzifuzenettartalom.focus();
}
function toFormcirclemailin() {
document.form.circlemailnev.focus();
}
function toFormcirclemailout() {
document.form.circlemailemailout.focus();
}
function toFormregistration() {
document.form.usersnickname.focus();
}
function toFormsendvari() {
document.form.sendvariationskategoria.focus();
}
function toFormsendquestion() {
document.form.sendquestionskategoria.focus();
}
function toFormsendprogram() {
document.form.sendprogramsnev.focus();
}
function toFormsendprogramar() {
document.form.sendprogramarsnev.focus();
}
function toFormsendpack() {
document.form.sendpackagingscim.focus();
}
function toFormsendnews() {
document.form.sendnewsurl.focus();
}
function toFormsendad() {
document.form.sendadscim.focus();
}
function toFormcataloguesearch() {
document.form.searchingnev.focus();
}
function toFormshopin() {
document.form.uNev.focus();
}
function toFormshopadminin() {
document.form.uNevadmin.focus();
}
function toFormshopcontact() {
document.form.yourname.focus();
}
function toFormshopsearch() {
document.form.shopsearching.focus();
}
function toFormshopregi() {
document.form.shopnick.focus();
}
function toFormadminin() {
document.form.uNevforumadmin.focus();
}
