\n');
z.document.close();
z.focus(true);
}
function updateCart() {
$('contentMinicart').innerHTML = 'Updating - please wait!';
new Effect.Highlight($('contentMinicart'));
// this gets called by handleResponse (which is in zoovy.js)
var postBody = 'm=RenderElement&format=LAYOUT&docid=~p-big_image&element=IMAGECART&targetDiv=contentMinicart';
// alert(postBody);
new Ajax.Request('/ajax/RenderElement', { postBody: postBody, asynchronous: 1,
onComplete: function(request){handleResponse(request.responseText);} }
) ;
}
//
// this function is overloaded, and is run whenever an "add_to_cart" button is clicked
// it finds the form with a product id that matches on it.
//
function addToCart(id,pid) {
// alert("adding To Cart (product: " + pid + ")");
var postBody = 'm=AddToCart&cart='+session_id+'&pid='+pid;
for (i = document.forms.length-1; i>=0; --i) {
if (document.forms[i].elements['product_id']) {
if (document.forms[i].elements['product_id'].value == pid) {
postBody = postBody + '&' + Form.serialize(document.forms[i]);
new Ajax.Request('/ajax/AddToCart', { postBody: postBody, asynchronous: 1,
onComplete: function(request){handleResponse(request.responseText);} }
) ;
}
}
}
// alert('finished with addToCart');
}
//-->
Grab the attention of your visitors immediately with a custom designed page header for your special deals. Custom graphics are a great way for you to move your traffic in a specific direction from ...
Your logo is your face in the world - the single element that identifies you again and again across multiple areas of communication, it is a symbol of your culture, your mission, your whole busines...