function updatecost(sub_id, per_id, div_id)
{
 var d = document.getElementById(div_id);
 var s = document.getElementById(sub_id);
 var p = document.getElementById(per_id);
 var o = s.options[s.selectedIndex].value;
 var u = p.options[p.selectedIndex].value;
 var cost = o*u;
 d.innerHTML='<h3>&pound'+cost+'\.00</h3>';
}
