function CalcMe(arg1) {
var aTTl=0, cTT1=0;
var thisform = document.getElementById(arg1);
var adultPrice = parseInt(thisform.tourTimeAdult.value);
thisform.adultPrice.value = adultPrice;
var childPrice = parseInt(thisform.tourTimeChild.value);
thisform.childPrice.value = childPrice;

if (parseInt(thisform.adultNo.value)>0 && parseInt(thisform.tourTimeAdult.value)>0) {
aTTl = parseInt(thisform.adultNo.value) * adultPrice;
}

if (parseInt(thisform.childNo.value)>0 && parseInt(thisform.tourTimeChild.value)>0) {
cTT1 = parseInt(thisform.childNo.value) * childPrice;
}

thisform.totalPrice.value = aTTl + cTT1;
}
