function menu_open(url,target)
{
  if(target == '_blank')
  {window.open(url,'_blank')}
  else{self.location.href=url}
}