function func0()

{
errorimg1=0;
window.setTimeout("LoadImage1();", 70);
}



function func1(){
if (event.button==2){
return false;
}
}

function func2(e){
if (document.layers||document.getElementById&&!document.all){
if (e.which==2||e.which==3){
return false;
}
}
}
function mac(inp)	{document.write(inp);}
if (document.layers){
document.captureEvents(Event.MOUSEDOWN);
document.onmousedown=func2;
}
else if (document.all&&!document.getElementById){
document.onmousedown=func1;
}

document.oncontextmenu=new Function("return false")


function chat_data(inputString) {
		
			$.post("http://srs.bg/templates/srs/ajaxchat.php", {queryString: ""+inputString+""},  function(data){
				if (data.length >0) {
					$('#chat').html(data);
				}
			});
	
}


function reloadChat()
{
chat_data('xxx');
theTimer = setTimeout('reloadChat()', 15000);
}
