function CommentForm () {
	comment = $('commenttext').value;
	$('commenttext').value = '';
	Effect.Fade('comment1',{duration:1.0});
	Effect.Appear('comment3',{duration:1.1});
	new Ajax.Request('code/includes/comment1.asp?_r=' + Math.random(), {method: 'post', parameters: {comment: comment}, evalScripts: true, onSucess:CommentDone()});

}

function CommentDone () {
	Effect.Fade('comment3',{duration:1.0});
	Effect.Appear('comment2',{duration:1.1});
}
function updateQuant (id, quant) {
	new Ajax.Request('code/includes/add1.asp?_r=' + Math.random(), {method: 'post', parameters: { id: id, frm_quantity: quant}, evalScripts: true, onSuccess: doUp});

}
function updateQuant1 (id, quant) {
	new Ajax.Request('code/includes/add1.asp?_r=' + Math.random(), {method: 'post', parameters: { id: id, frm_quantity: quant}, evalScripts: true, onSuccess: doUp1});

}
function doUp() {
window.location = "shop_basket.asp"
}
function doUp1() {
window.location = "shop_confirm.asp"
}

function placeOrder () {
	new Ajax.Request('code/includes/placeorder.asp?_r=' + Math.random(), {method: 'post',  evalScripts: true, onSuccess: doPay});

}

function doPay () {
$('submitME').submit()
}

function gotoURL (url) {
window.location = url;
}