function HideandUNhideObj(ThisObj){ 
    if((nav = document.getElementById(ThisObj)).className == 'myHide') 
        nav.className = 'myShow'; 
    else 
        nav.className = 'myHide'; 
}

function check_details() 
{ 
 if (!document.cartform.confirm.checked) 
  { 
    alert("You must confirm you agree with our terms and conditions before continuing.\n\nIf you have read and agree with them check the checkbox."); 
    document.cartform.confirm.focus(); 
  } 
 else self.location = "cart.php?mode=checkout";

} 

