function getObj(name)
	{
	if (document.getElementById)
  		{
    	return document.getElementById(name);
		}
	else if (document.all)
		{
		return document.all[name];
		}
	else if (document.layers)
		{
    	return document.layers[name];
		}
	else return false;
	}

function ujhszek(a,b){
setTimeout("aj('komment3ujhszek','ujh',"+a+","+b+")",10000);
setTimeout("ujhszek("+a+","+b+")",60000);
}

function ujhszek2(a,b){
setTimeout("aj('kkomment3ujhszek','ujh',"+a+","+b+")",30000);
setTimeout("ujhszek2("+a+","+b+")",120000);
}

function ujhszek3(a,b){
setTimeout("aj('komment_vw_ujhszek','ujh',"+a+","+b+")",10000);
setTimeout("ujhszek3("+a+","+b+")",60000);
}



function uinf(data)
{
userinfo=window.open(data, "Galéria", 'toolbar=no, left=0, top=0,status=0,toolbar=0,scrollbars=yes,menubar=0,location=0,resizable=yes,width=540, height=320');
}



function p(data)
{
url='podcast1.php?meret=popup&u='+data
userinfo=window.open(url, "Podcast", 'toolbar=no, left=0, top=0,status=0,toolbar=0,scrollbars=yes,menubar=0,location=0,resizable=yes,width=250, height=470');
}


function chat1(){
d = new Date();
setTimeout("chat2()",1000);
}

function chat2(){
var x = getObj("mehetgomb");
var dd= new Date();
x.value="Ez nem a chat ("+(3600-Math.round((dd.getTime()-d.getTime())/1000))+")";
setTimeout("chat2()",1000);
if ((dd.getTime()-d.getTime())>3600000) {
			x.disabled=false;
			x.value="Mehet"
		}
}
