function parsingFilenameMetaRedirect()
{
var str = document.location.href
var filename = str.lastIndexOf('/') + 1
var myVar = str.substring(filename)
document.write('<META HTTP-EQUIV="refresh" content="0;URL=/learn/' + myVar + '">');
}

function openMailClient(store,type)
{

var str = document.location.href
var filename = str.lastIndexOf('/') + 1
var myVar = str.substring(filename)

document.write('<a onclick="pageTracker._trackPageview(\'/mailto/clicks\');" href="mailto:?subject=');
document.write(store + '%20-%20' + type);
document.write('&body=Click%20on%20the%20link%20below%20to%20find%20out%20about%20some%20great%20');
document.write(type + '%20offered%20at%20' + store + ':%0D%0A%0D%0A');
document.write('http://www.lcbo.com/learn/inbound/');
document.write(myVar);
document.write('"><img src="/learn/images/send_friend.gif" border="0"></a>');
}


