var message="";

///////////////////////////////////
function clickIE4(){
if (event.button==2){
alert(message);
return false;
}
}

function clickNS4(e){
if (document.layers||document.getElementById&&!document.all){
if (e.which==2||e.which==3){
alert(message);
return false;
}
}
}
/*
if (document.layers){
document.captureEvents(Event.MOUSEDOWN);
document.onmousedown=clickNS4;
}
else if (document.all&&!document.getElementById){
document.onmousedown=clickIE4;
}

document.oncontextmenu=new Function("alert(message);return false")
*/
function fnChangeImg(obj)
{
	var tmpsrc	=	obj.src;
	var indpoint;
	if(tmpsrc.lastIndexOf("_up.")>0)
		obj.src	=	tmpsrc.replace("_up.",".");
	else
	{
		indpoint=	tmpsrc.lastIndexOf(".");
		obj.src	=	tmpsrc.substring(0,indpoint)+"_up"+tmpsrc.substr(indpoint);
		//alert(obj.src);
	}
}

function fnOver(obj)
{
	if(obj.background=="/imgs/button_ov.gif")
		obj.background="/imgs/button.gif";
	else
		obj.background="/imgs/button_ov.gif";
}
