﻿var user;
var domain;
var suffix;
var esubject;
var elabel;

function jemail(user, domain, suffix, esubject){
document.write('<a href="' + 'mailto:' + user + '@' + domain + '.' + suffix + '?subject=' + esubject + '">e-mail</a>');
}

function jemailtext(user, domain, suffix, esubject, elabel){
document.write('<a href="' + 'mailto:' + user + '@' + domain + '.' + suffix + '?subject=' + esubject + '">' + elabel + '</a>');
}


//Logo Reproduction Request

strNewWindow = "/d.aspx?s=/Newsroom/logorequest.htm";
strNewWindowLondon = "http://www.london.ca/d.aspx?s=/Newsroom/logorequest.htm";
var msg = "Image Not Available for Download"
var msgLondon = "Logo reproduction information?"
var WindowObjectReference = null; // global variable

function ShowLogoRequest()
{
    alert(msg);
}

function ShowLogoRequestLondon()
{
    if (confirm(msgLondon)) 
    {     // if the pointer to the window object in memory does not exist or is closed
          if(WindowObjectReference == null || WindowObjectReference.closed)
          {
            WindowObjectReference = window.open(strNewWindowLondon,"LogoRequest",
            "toolbar=yes,height=700,width=1002,left=30,top=30,resizable=yes,scrollbars=yes,status=yes, location=yes");
          }
          else
          {
            WindowObjectReference.focus();
          }     
    } 
}
