
function hidestatus(){
window.status='Songkhla Chamber - หอการค้าจังหวัดสงขลา'
return true
}

setInterval("hidestatus()",1);

if (document.layers)
document.captureEvents(Event.MOUSEOVER || Event.MOUSEOUT || Event.MOUSECLICK)

document.onmouseover=hidestatus
document.onmouseout=hidestatus






var message="";
function clickIE() {if (document.all) {(message);return false;}}

function clickNS(e) {

if (document.layers||(document.getElementById&&!document.all)) {
if (e.which==2||e.which==3) {(message);return false;}}}
if (document.layers) 
{document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickNS;}
else{document.onmouseup=clickNS;document.oncontextmenu=clickIE;

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






function disableselect(e){
return false
}
function reEnable(){
return true
}
//if IE4+
document.onselectstart=new Function ("return false")
//if NS6
if (window.sidebar){
document.onmousedown=disableselect
document.onclick=reEnable
}





var isNS = (navigator.appName == 'Netscape') ? 1 : 0;

var EnableRightClick = 0;

if(isNS) 
document.captureEvents(Event.MOUSEDOWN||Event.MOUSEUP);
function mischandler(){
if(EnableRightClick==1){ return true; }
else {return false; }
}

function mousehandler(e){
if(EnableRightClick==1){ return true; }
var myevent = (isNS) ? e : event;
var eventbutton = (isNS) ? myevent.which : myevent.button;
if((eventbutton==2)||(eventbutton==3))
return false;
}

function keyhandler(e) {
var myevent = (isNS) ? e : window.event;
if (myevent.keyCode==116)
myevent.keyCode = 0;
return false;
}

document.oncontextmenu = mischandler;
document.onmousedown = mousehandler;
document.onmouseup = mousehandler;
