function addmailto(domain, name, caption, classname) {
  m = name + '@' + domain
  if (caption=="") caption = m;
  document.write('<a href="mailto:' + m + '"');
  if (classname != "") document.write('class='+classname);
  document.write('>' + caption + "</a>")
}

function web(url, text, classname) {
  document.write('<a href="http://'+url+'"');
  document.write('class="'+classname+'"');
  document.write(' target="_blank">'+text+'</a>')
}

function webimg(url, classname, urlimg, text, b, h, w) {
  document.write('<a href="http://'+url+'"'+'class="'+classname+'" target="_blank">');
  document.write('<img border="'+b+'" width="'+w+'" height="'+h+'" src="http://'+urlimg+'">');
  document.write('<br>'+text+'</a>')
}

function webimgs(url, urlimg, text, b, h, w) {
  document.write('<a href="http://'+url+'" target="_blank">');
  document.write('<img border="'+b+'" alt="'+text+'" width="'+w+'" height="'+h+'" src="http://'+urlimg+'"></a>');
}

