// JavaScript Document

function redirectFunction(sid, cid)
{
	if(sid == "AddNew")
	{
		
		 if (navigator.appName == "Microsoft Internet Explorer") {
    		setTimeout(
     		 function() {
        					self.location = "address_book.php#addnew";
     					 },
     						200
    					);

  						} else {
   							self.location = "address_book.php#addnew";
  					}

	}
	else if((sid != ""))
	{
		//updateCartItem(''+cid+'');
		document.cartform.submit();
	}
}
