

// open new url
function goto(url)
{
  window.location = url;
}



// open new url
function gotoExternal(url)
{
  if(url.startsWith('http://'))
    newurl = url;
  else
    newurl = "http://"+url;

  window.open(newurl); // open in new window!
}






// delete check
function checkit(url)
{
  var ok=confirm('Are you sure you want to delete this item?');
  if(ok)
  {
    window.location = url;
  window.open(url+'&'+url,'_parent'); // open in new window!
  }
}




