function populateQTT(from,to)
{
document.getElementById("fromfield").value=from;
document.getElementById("tofield").value=to;
}