function decoder(mail) {
	var i, new_mail = new Array();
	
  for (i = 0; i < mail.length; i = i + 2)
	{
		if (i < mail.length - 1) {
			new_mail[i] = mail.substr(i + 1, 1);
			new_mail[i + 1] = mail.substr(i, 1);
		}
		else {
			new_mail[i] = mail.substr(i, 1);
		}
	}
	
	return (new_mail.join(''));
}

function decodeMails(links) {
	var id;
	
	
	for (id = 0; id < links; id++)
	{
	  //document.getElementById('link_' + id).innerHTML = decoder(document.getElementById('link_' + id).innerHTML);
		document.getElementById('link_' + id).href = decoder(document.getElementById('link_' + id).href);
	}	
} 

function CreateBookmarkLink(title, url) {

  if (window.sidebar) { // Mozilla Firefox Bookmark
		window.sidebar.addPanel(title, url,"");
	} else if( window.external ) { // IE Favorite
		window.external.AddFavorite( url, title); }
	else if(window.opera && window.print) { // Opera Hotlist
		return true; 
	}
}