/**
 *
 *
 * @version $Id: common.js,v 1.4 2010/04/14 14:09:29 rk Exp $
 * @copyright 2004
 **/

// common usefull vars
var isOpr = (navigator.userAgent.indexOf('Opera') != -1) ? 1 : 0;
var isFox = (navigator.userAgent.indexOf('fox') != -1) ? 1 : 0;
var mainPage = 0;


// common usefull functions
function reload()
{
	window.location = window.location;
}

function SafeMailLinkHiper(user, domain, attribs, altAContent)
{
   if(!attribs)
      attribs = '';
   if(!altAContent)
      altAContent = user + '@' + domain;

    document.write('<a '+ attribs +' href="mailto:' + user + '@' + domain + '">' + altAContent + '</a>');
}

function SafeMailLinkSuper(user, domain)
{
   window.location = 'mailto:' + user + '@' + domain;
}
