function gotoCart(s1,s2,s3,s4)
{
s2=s2.replace("&","%26");
window.location.href = "/add/index.asp?id="+s1+"&title="+s2+"&price="+s3+"&qty="+s4;
}

function gotoUpdate(s1,s2,s3,s4)
{
counts=document.getElementById(s4).value;
s2=s2.replace("&","%26");
if(isNotaNumber(counts)==true){
alert("Please Input Number!");
counts=1;
}
window.location.href = "/mycart/index.asp?action=upd&id="+s1+"&title="+s2+"&price="+s3+"&qty="+counts;
}
	