function cin(ctl){
			if (ctl.style.backgroundColor != "#ccffcc")
			{
                ctl.style.backgroundColor="#e6decf";
             }
        }
        
function cin2(ctl){
        ctl.style.backgroundColor="#A88A57";
    	ctl.style.cursor="hand";

}
        
function cout(ctl){
			if (ctl.style.backgroundColor != "#ccffcc")
			{
		        ctl.style.backgroundColor="";
			}
}

function cinmenu(ctl){
        ctl.style.backgroundColor="#ECE6D9";
}

function checkboxSet(ctl)
{
	var temp
	temp = "TR" + ctl.id;
	if (ctl.checked)
		{
			document.getElementById(temp).style.backgroundColor = "#ccffcc";
		}
	else
		{
			document.getElementById(temp).style.backgroundColor="";
		}
 }

function RedioButtonSet(ctl)
{
	var temp
	temp = "TR" + ctl.id;
	if (ctl.checked)
		{
			document.getElementById(temp).style.backgroundColor = "#ccffcc";
		}
	else
		{
			document.getElementById(temp).style.backgroundColor="";
		}
 }

function selectall()
{
	for(i = 0; i < document.form1.all.length; i++)
   		if((document.form1.all(i).type=="checkbox") && (!document.form1.all(i).disabled))
		{
		document.form1.all(i).checked=event.srcElement.checked;
		}
}
        
function enablesubmit(){
		document.form1.show_s.value="Enable";
		document.form1.submit();
	}

function disablesubmit(){
		document.form1.show_s.value="Disable";
		document.form1.submit();
	}
