﻿
function OptionClear(AreaList,FillList,ClearList,TxtFreeWord,dfstring,col,TypeList)
{
    var areaL;
    var fillL;
    var clearL;
    var txtL;
    var typeL; 
	if(AreaList!=null)
	{
	    areaL=document.getElementById(AreaList);
	    if (areaL!=null)
	    { 
			areaL.selectedIndex =0; 
	    }
	} 
	if(FillList!=null)
	{
	    fillL=document.getElementById(FillList);
	    if (fillL!=null)
	    {
			fillL.selectedIndex =0; 
	    }
	}  
	if (ClearList!=null)
	{
		clearL=document.getElementById(ClearList);
		if (clearL!=null)
		{
			clearL.selectedIndex =0; 
	    }
	}
	if (TxtFreeWord!=null)
	{
		txtL=document.getElementById(TxtFreeWord);
		if (txtL!=null)
		{
			txtL.value=dfstring;
			txtL.style.color=col;
	    }
	}
	if (TypeList!=null)
	{
		typeL=document.getElementById(TypeList);
		if (typeL!=null)
		{
			typeL.selectedIndex =0; 
	    }
	}
	
}