// JavaScript Document
function reSelectOptn(strId,strValue){
	var tselect = document.getElementById(strId);
	var newIndex;
	var currentVal;
	for(i=0;i<=tselect.length-1;i++){
		if(tselect.options[i].value!="")
			{currentVal=tselect.options[i].value;}
		else if(tselect.options[i].value=="")
			{currentVal=tselect.options[i].text;}
		if(currentVal==strValue){
			newIndex = i;
		}
	}
	if(newIndex!=null){tselect.selectedIndex=newIndex;}
}
function reSelectRadio(strName,strValue){
	//var tradio = document.getElementById(strId);
	var newIndex;
	var currentVal;
	var tradio = document.getElementsByName(strName);
	for(i=0;i<=tradio.length-1;i++){
		if(tradio[i].value==strValue){tradio[i].checked=true;}
	}
}