function followmouse(a){var b=offsetfrommouse[0];var c=offsetfrommouse[1];if(typeof a!="undefined"){b+=a.pageX;c+=a.pageY}else if(typeof window.event!="undefined"){b+=truebody().scrollLeft+event.clientX;c+=truebody().scrollTop+event.clientY}var d=document.all?truebody().scrollLeft+truebody().clientWidth:pageXOffset+window.innerWidth-15;var e=document.all?Math.max(truebody().scrollHeight,truebody().clientHeight):Math.max(document.body.offsetHeight,window.innerHeight);gettrailobj().left=b-0+"px";gettrailobj().top=c+5+"px"}function hidetrail(){gettrailobj().visibility="hidden";gettrailobjnostyle().innerHTML="";document.onmousemove="";gettrailobj().left="-500px"}function showtrail(a,b){document.onmousemove=followmouse;gettrailobjnostyle().innerHTML="<span>"+a+"</span><br /><br />"+b;$(document).pngFix();gettrailobj().visibility="visible"}function showtrail1(){}function truebody(){return!window.opera&&document.compatMode&&document.compatMode!="BackCompat"?document.documentElement:document.body}function gettrailobjnostyle(){if(document.getElementById&&document.getElementById("trailimageid"))return document.getElementById("trailimageid");else if(document.all)return document.all.trailimagid}function gettrailobj(){if(document.getElementById&&document.getElementById("trailimageid"))return document.getElementById("trailimageid").style;else if(document.all)return document.all.trailimagid.style}function viewReferences(a,b){urlParts=window.location.pathname.split("/");if(urlParts[2]==a){scrollToDIV(""+b)}else{location.href="http://www.aranygrafika.hu/munkaink/"+a+"#"+b}}function rollWorkExamples(){nextWorkExample();rollWork=setTimeout("rollWorkExamples()",1e4)}function nextWorkExample(){worksExampleNum++;if(worksExampleNum==references_num){worksExampleNum=0}worksContainerPosition=-1*worksExampleNum*940;$("#references_list").animate({left:worksContainerPosition},800,"swing")}function prevWorkExample(){worksExampleNum--;if(worksExampleNum==-1){worksExampleNum=references_num-1}worksContainerPosition=-1*worksExampleNum*940;$("#references_list").animate({left:worksContainerPosition},800,"swing")}jQuery.easing.def="easeInOutQuart";var worksExampleNum=0;var worksContainerPosition=0;var rollWork;var offsetfrommouse=[1,-110];var displayduration=0;var currentimageheight=107;if(document.getElementById||document.all){document.write('<div id="trailimageid">');document.write("</div>")}
