HTTP/1.1 200 OK
Server: nginx
Date: Sun, 01 Aug 2010 13:09:46 GMT
Content-Type: application/x-javascript
Connection: close
Last-Modified: Tue, 09 Feb 2010 10:45:26 GMT
ETag: "3f4161-5b3-47f289d943d80"
Accept-Ranges: bytes
Content-Length: 1459
<!--
function add_item_to_cart(item_id,tp){
if(tp == undefined){
if(item_id != undefined){
var frm = document.getElementById("add_item_to_cart_from");
if(frm != undefined){
frm.item_id.value = item_id;
frm.action = "/cart.php";
frm.submit();
}
}
}
else {
if(item_id != undefined){
var frm = window.opener.document.getElementById("add_item_to_cart_from");
if(frm != undefined){
frm.item_id.value = item_id;
frm.action = "/cart.php";
frm.submit();
}
window.close();
}
}
return false;
}
function cart_update(){
var frm = document.getElementById('cart_main_form');
frm.action = "/cart.php";
frm.submit();
return false;
}
function delete_item_from_cart(item_id){
if(item_id != undefined){
var frm = document.getElementById("add_item_to_cart_from");
if(frm != undefined){
frm.item_id.value = item_id;
frm.daction.value = 'delete';
frm.save_position.value = 'no';
frm.action = "/cart.php";
frm.submit();
}
}
return false;
}
function cart_continue_shoping(to){
var frm = document.getElementById('cart_main_form');
frm.action = to;
frm.submit();
return false;
}
--> |