query("delete from ecmdevices_customview where id='".$_REQUEST['record']."'"); header("Location: index.php?module=EcmDevices&action=DetailView&record=".$_COOKIE['pricebook_id']); ?>