Hey WolfShade. Not sure that helps. If it does help I'm not sure why it would help as the second parameter could be any value. The submit is supposed to submit to /FAMediaTracker.asp. the value in the second parameter is a filename that will be stored in a tracking database and should be inserted into the form frmVideoTrackNLog and submited to the next page where it should update the databse and then return.
aj_nsc thanks for the idea. That doesn't submit the form either. I have tried many different ways to address the form, like document.forms.submit() and document.forms['frmVideoTrackNLog'].submit() and the like. It seem that there is something wrong with the form. Where I use this code elsewhere it works fine. If I code onclick="frmVideoTrackNLog.submit();alert();" the submit doesn't happen but the alert does.
In which browser are you testing? IE should give you a yellow triangle with a black exclamation mark, down lower left corner of browser; double click it to see the error message. FF doesn't do much unless either A) FireBug is installed and active, or 2) you open the Error Console window. If it's not submitting AND not giving an error message, then the submit isn't even being called; the event is not triggering.
If neither IE or FF are giving an error message, then either the function works and does absolutely nothing (unlikely), or the page is being reset before the error message can be displayed. Still, even in that situation FF's Error Console will keep a record of it, and FireBug will notice it, too.