SuperJan
What i mean is that you can use the JS confirm function to decide if the user wants to actually delete the article. Like this
<a href=\"delete.php?artikkleid=$artikkelid&delete=1\" onClick=\"javascript: return confirm('Are you sure you want to do this?'); return;\">Delete</a>
Then when the user clicks on the button the popup will appear asking if the are sure they want to do this action.
Notice that the link to the delete.php passes the value of artikkleid, this is only actually ever used if the user decides to click on OK.
Then in the top of your delete document you can use your code as shown below.
I have added the or die statement to actually allow you to ensure that the deletion has take place.
if($delete)
{
$sql = "delete from artikkel where id='$artikkelid'";
$test=mysql_query($sql) or die (mysql_error());
header("Location: adminsok.php");
}