      
    
      
	
	function testForRedirect(hostPageIn,locationIn,icontentleft) {
	  var rtn=false;
	  document.write('<form name="ff" action="' + hostPageIn + '" method="get">');
	  if (!icontentleft) {
	    document.write('<input type="hidden" name="page" value="' + locationIn.href.substr(locationIn.href.lastIndexOf("/")+1) + '">');
      }
	  document.write('</form>');
      if (frames) { if (window == top ) { document.ff.submit(); rtn=true; } }
	  return rtn;
	}
	  
	
	  
	  
	  
	  
	  
	  
  var emsuffix1 = 'com';
  var emsuffix2 = 'ca';
  var emhome = '@tackaberry.com';

function writeE(a,b,c,d,e) {
  var eA = a + b + '@' + c + d + '.' + e;
  var eL = "mailto:" + eA;
  document.write('<a href="' + eL + '">' + eA + '</a>');
}

function writeEHome(a) {
  var eA = a + emhome;
  var eL = "mailto:" + eA;
  document.write('<a href="' + eL + '">' + eA + '</a>');
}

function writeEL(emLink,a,b,c,d) {
  var eA = a + b + c + d;
  var eL = "mailto:" + eA;
  document.write('<a href="' + eL + '">' + emLink + '</a>');
}

function writeA(a,b,c,d) {
  var eA = a + b + c + d;
  var eL = "http://" + eA;
  document.write('<a target="_new" href="' + eL + '">' + eA + '</a>');
}

function writeAL(ALink,a,b,c,d) {
  var eA = a + b + c + d;
  var eL = "http://" + eA;
  document.write('<a target="_new" href="' + eL + '">' + ALink + '</a>');
}	  