JavaScript won't let me edit case--or possibly something else

I used the files and JavaScript from this awesome thread: http://community.articulate.com/forums/p/41146/229600.aspx#229600

I'm trying to get the date to appear in the email, but I keep getting a null value. I am a novice on JavaScript, so any help would be appreciated. I suspect it has something to do with the case-- in this script below, the email script, systemDate is lowercase but on the script to generate the date it's "SystemDate". However, whenever I try to change either one, I'll close the JS edit window and it won't save my JS edit (meaning, I'll change the systemDate below to SystemDate to match what's in the date code, and it'll revert back to systemDate when I close the JS edit window.) Do I have a ghost?  Here's a Screenr (no sound) that shows what's going on. First I unsuccessfully try to change the date generator script, and then I unsuccessfully try to change the email script. ttp://screenr.com/htsN

Or the problem could be something else entirely.

var player = GetPlayer();

var email=player.GetVar("email");

var subject="Educator Effectiveness Step 2 Completed";

var name=player.GetVar("name");

var date=player.GetVar("systemDate");

var mailto_link='mailto:'+email+'?subject='+subject+'&body='+name+" has completed the Educator Effectiveness Step 2 online module on "+date;

win=window.open(mailto_link,'emailWin');

2 Replies