Open a window from an image click

function IMAGE_OnClick(id) 
{ 
    if (id === "sales") 
    { 
        const myURL = "http://www.lawson.com"; 
        window.open(myURL, "", "toolbars=no"); 
    } 
}