


/* FUNCTIONS OPENING LINKS IN NEW WINDOW - XHTML COMPLIANT */

function externalLinks() {
 if (!document.getElementsByTagName) return;
 var anchors = document.getElementsByTagName("a");
 for (var i=0; i<anchors.length; i++) {
   var anchor = anchors[i];
   if (anchor.getAttribute("href") &&
       anchor.getAttribute("rel") == "external")
     anchor.target = "_blank";
 }
}
window.onload = externalLinks;




/* VIDEO PLAYER INTERRACTION */
function SendVarsToLargeFLVPlayer(thePath,VolumeSetting,theTitle)
{
    var videoTitle = videoName;
    tb_show(videoTitle, "largeVideo.htm?height=370&width=595", false);
}

//SendPathToFLVPlayer JS from Aubrey
var counter = 0;

function SendPathToFLVPlayer(thePath,theTitle){
       if (counter > 0)
       {
            window.location = "whatsnew.aspx?id=" + thePath;
       }
       counter++;
       
    }
    
//SendPathToFLVPlayer JS from Aubrey
function SendURLToLoad(id){
        //Link to what's new page with proper video loaded
        window.location = "allmtcTopic.aspx?id=" + id;
    }
