<!--
var NS=1;
var MZ=2;
var IE=3;
var BUTTONS_PANEL_XS = 730;

var HID='hidden';
var VIS='visible';

if(document.all) {
    BROWSER=IE;
} else if(document.getElementById) {
    BROWSER=MZ;
} else {
    //document.layers
    BROWSER=NS;
    HID='hide';
    VIS='show';
}  
  

//alert(BROWSER);

function getClientWidth()
{
    if(BROWSER==IE){
        WIDTH=document.body.clientWidth;
    } else if(BROWSER==NS){
        WIDTH=window.innerWidth;
    } else if(BROWSER==MZ){
        WIDTH=window.innerWidth;
    }
    // when WIDTH is odd the div does not line up right
    if(WIDTH%2!=0) WIDTH--;
    return WIDTH;
}

function getClientHeight()
{
    if(BROWSER==IE){
        HEIGHT=document.body.clientHeight;
    } else if(BROWSER==NS){
        HEIGHT=window.innerHeight;
    } else if(BROWSER==MZ){
        HEIGHT=window.innerHeight;
    }
    // when HEIGHT is odd the div does not line up right
    if(HEIGHT%2!=0) HEIGHT--;
    return HEIGHT;
}

function chat() {
   
   var msg2=open("http://network54.com/Hide/Chat/46856","","toolbar=no,directories=no," +
                "menubar=no,scrollbars=no,resizeable=no,width=640,height=480");
   return
}

function openwin(url, title, param) {
	//alert(url);
	//alert(title);
	//alert(param);
	w = open(url, title, param);		
}

var dragapproved=false
var z,x,y
function move(){
if (event.button==1&&dragapproved){
z.style.pixelLeft=temp1+event.clientX-x
z.style.pixelTop=temp2+event.clientY-y
return false
}
}
function drags(){
if (!document.all)
return
if (event.srcElement.className=="drag"){
dragapproved=true
z=event.srcElement
temp1=z.style.pixelLeft
temp2=z.style.pixelTop
x=event.clientX
y=event.clientY
document.onmousemove=move
}
}
document.ondragstart=drags
document.onmouseup=new Function("dragapproved=false")

function GetCookie (name) {  
var arg = name + "=";  
var alen = arg.length;  
var clen = document.cookie.length;  
var i = 0;  
while (i < clen) {
var j = i + alen;    
if (document.cookie.substring(i, j) == arg)      
return getCookieVal (j);    
i = document.cookie.indexOf(" ", i) + 1;    
if (i == 0) break;   
}  
return null;
}
function SetCookie (name, value) {  
var argv = SetCookie.arguments;  
var argc = SetCookie.arguments.length;  
var expires = (argc > 2) ? argv[2] : null;  
var path = (argc > 3) ? argv[3] : null;  
var domain = (argc > 4) ? argv[4] : null;  
var secure = (argc > 5) ? argv[5] : false;  
document.cookie = name + "=" + escape (value) + 
((expires == null) ? "" : ("; expires=" + expires.toGMTString())) + 
((path == null) ? "" : ("; path=" + path)) +  
((domain == null) ? "" : ("; domain=" + domain)) +    
((secure == true) ? "; secure" : "");
}
function DeleteCookie (name) {  
var exp = new Date();  
exp.setTime (exp.getTime() - 1);   
var cval = GetCookie (name);  
document.cookie = name + "=" + cval + "; expires=" + exp.toGMTString();
}
var expDays = 30;
var exp = new Date(); 
exp.setTime(exp.getTime() + (expDays*24*60*60*1000));
function amt(){
var count = GetCookie('count')
if(count == null) {
SetCookie('count','1')
return 1
}
else {
var newcount = parseInt(count) + 1;
DeleteCookie('count')
SetCookie('count',newcount,exp)
return count
   }
}
function getCookieVal(offset) {
var endstr = document.cookie.indexOf (";", offset);
if (endstr == -1)
endstr = document.cookie.length;
return unescape(document.cookie.substring(offset, endstr));
}

function MakeArrayday(size) {
this.length = size;
for(var i = 1; i <= size; i++) {
this[i] = "";
}
return this;
}
function MakeArraymonth(size) {
this.length = size;
for(var i = 1; i <= size; i++) {
this[i] = "";
}
return this;
}
function funClock() {
if (!document.layers && !document.all)
return;
var runTime = new Date();
var hours = runTime.getHours();
var minutes = runTime.getMinutes();
var seconds = runTime.getSeconds();
var dn = "AM";
if (hours >= 12) {
dn = "PM";
//hours = hours - 12;
}
if (hours == 0) {
hours = 12;
}
if (minutes <= 9) {
minutes = "0" + minutes;
}
if (seconds <= 9) {
seconds = "0" + seconds;
}
//movingtime = "<b>"+ hours + ":" + minutes + " " + dn + "</b>";
movingtime = "<b>"+ hours + ":" + minutes + "</b>";
if (document.layers) {
document.layers.clock.document.write(movingtime);
document.layers.clock.document.close();
}
else if (document.all) {
clock.innerHTML = movingtime;
}
setTimeout("funClock()", 60000)
}
//window.onload = funClock;

message='/\\\\/\\\\@mO';
FonT='Verdana';
ColoR='999999';
SizE=2; //1 to 7 only!

var amount=5,ypos=-50,xpos=0,Ay=0,Ax=0,By=0,Bx=0,Cy=0,Cx=0,Dy=0,Dx=0,Ey=0,Ex=0;counter=0;
if (document.layers){
for (i = 0; i < amount; i++)
{document.write('<layer name=nsl'+i+' top=0 left=0><font face='+FonT+' size='+SizE+' color='+ColoR+'>'+message+'</font></layer>')}
window.captureEvents(Event.MOUSEMOVE);
function nsmouse(evnt){
xpos=evnt.pageX+20;
ypos=evnt.pageY+20;
}
window.onMouseMove = nsmouse;
}
else if (document.all){
document.write("<div id='outer' style='position:absolute;top:0px;left:0px'>");
document.write("<div style='position:relative'>");
for (i = 0; i < amount; i++) 
{document.write('<div id="text"'+i+' style="position:absolute;top:0px;left:0px;width:400px;height:20px"><font face='+FonT+' size='+SizE+' color='+ColoR+'>'+message+'</font></div>')}
document.write("</div>");
document.write("</div>");
function iemouse(){
ypos=event.y+20;
xpos=event.x+20;
}
window.document.onmousemove = iemouse;
}
function makefollow(){
if (document.layers){
document.layers['nsl'+0].top=ay;document.layers['nsl'+0].left=ax;
document.layers['nsl'+1].top=by;document.layers['nsl'+1].left=bx;
document.layers['nsl'+2].top=cy;document.layers['nsl'+2].left=cx;
document.layers['nsl'+3].top=Dy;document.layers['nsl'+3].left=Dx;
document.layers['nsl'+4].top=Ey;document.layers['nsl'+4].left=Ex;
}
else if (document.all){
counter+=20;
outer.style.pixelTop=document.body.scrollTop; 
//outer.style.filter="alpha(opacity="+(100-counter)+")";
text[0].style.pixelTop=ay;text[0].style.pixelLeft=ax;
text[1].style.pixelTop=by;text[1].style.pixelLeft=bx;
text[2].style.pixelTop=cy;text[2].style.pixelLeft=cx;
text[3].style.pixelTop=Dy;text[3].style.pixelLeft=Dx;
text[4].style.pixelTop=Ey;text[4].style.pixelLeft=Ex;
}
}
function move(){
ey=Ey+=(ypos-Ey)*0.1;ex=Ex+=(xpos-Ex)*0.1;
dy=Dy+=(ey-Dy)*0.1;dx=Dx+=(ex-Dx)*0.1;
cy=Cy+=(dy-Cy)*0.1;cx=Cx+=(dx-Cx)*0.1;
by=By+=(cy-By)*0.2;bx=Bx+=(cx-Bx)*0.2;
ay=Ay+=(by-Ay)*0.2;ax=Ax+=(bx-Ax)*0.2;
makefollow();
setTimeout('move()',10);
}
//window.onload=move;

var ml_start_pos = 0; // calculate it later
var ml_end_pos = 0;   // calculate it later
var mozgat_pozicio1 = ml_start_pos;
var jobbra_mozog1 = true
var moving_layer_xs = 222;

function calculatepos() {	
	xc_max = parseInt(screen.width - (kep1.width*2));
	xc_min = parseInt(kep1.width);		
	setInterval("mozgat1()", 5);
}

function mozgat1() {    
    if (jobbra_mozog1) {
        if (mozgat_pozicio1 <= xc_max ) mozgat_pozicio1 += 2
        else jobbra_mozog1 = false
    } else {
        if (mozgat_pozicio1 > xc_min ) mozgat_pozicio1 -= 2
        else jobbra_mozog1 = true
    }      
    kep1.style.posLeft = mozgat_pozicio1
}



function initArray() {
 for(i=0;i<initArray.arguments.length; i++)
  this[i] = initArray.arguments[i];
}
var isnMonths=new initArray("Janu&aacute;r","Febru&aacute;r","M&aacute;rcius","&Aacute;prilis","M&aacute;jus","J&uacute;nius","J&uacute;lius","Augusztus","Szeptember","Okt&oacute;ber","November","December");
var isnDays= new initArray("Vas&aacute;rnap","H&eacute;tf&otilde;","Kedd","Szerda","Cs&uuml;t&ouml;rt&ouml;k","P&eacute;ntek","Szombat","Vas&aacute;rnap");
today=new Date();
hrs=today.getHours();
min=today.getMinutes();
sec=today.getSeconds();
clckh=""+((hrs>12)?hrs-12:hrs); 
clckm=((min<10)?"0":"")+min;
clcks=((sec<10)?"0":"")+sec;
clck=(hrs>=12)?"p.m.":"a.m.";

var stnr="";
var ns="0123456789";
var a="";

var message="Sajnálom, ezt a funkciót letiltottam.\nA lapon talalható képek\nés szövegek védettek!\nMINDEN JOG FENNTARTVA"; 

function click(e) {
if (document.all) {
if ((event.button == 2) || (event.button == 3)) {
alert(message);
return false;
}
}
if (document.layers) {
if (e.which == 3) {
alert(message);
return false;
}
}
}
if (document.layers) {
document.captureEvents(Event.MOUSEDOWN);
}
document.onmousedown=click;

function sms() {
   
   var msg=open("sms.html","","toolbar=no,directories=no," +
                "menubar=no,scrollbars=yes,resizeable=no,width=165,height=260");
//   msg.location="http://www.777sms.hu";
   if (msg.layers || msg.all) {
   msg.moveTo(10,10);
   msg.scrollTo(40,592);
   }
   return
}

function sms2() {
   
   var msg2=open("http://www.ingyensms.hu/","","toolbar=no,directories=no," +
                "menubar=no,scrollbars=no,resizeable=no,width=180,height=430");

   //msg2.moveTo(10,10);
}   

function sms3() {
   
   var msg2=open("smsIfjusag.html","","toolbar=no,directories=no," +
                "menubar=no,scrollbars=yes,resizeable=yes,width=480,height=230");

   //msg2.moveTo(10,10);
}


function stat_open() {
   var st=open("stat_main.html","","toolbar=no,directories=no," +
                "menubar=no,scrollbars=yes,resizeable=yes,width=840,height=600");

   return
}

//-->
