
function copyValue(el) {
  document.getElementById('copy_' + el.id).innerHTML = el.value;
}
function copyValueBack(el) {
  document.getElementById('copy' + el.id).innerHTML = el.value;
}

function showformatinput(optval){	
	if(optval=='other'){				
		document.getElementById("mpformatinput").style.backgroundColor = '#ededed';
		document.getElementById("mpformatinput").style.color = '#cccccc';
		document.getElementById("mp_input_issue_custom").style.display = 'block';
		applyFormat.mpformat.value = 'test';
		
	}	
	else{		
		document.getElementById("mpformatinput").style.backgroundColor = '#ffffff';
		document.getElementById("mpformatinput").style.color = '#000000';
		document.getElementById("mp_input_issue_custom").style.display = 'none';
		applyFormat.mpformat.value = '';
		
	}
}