function setSupportVideoLinks() {

    vidWidth = 620;
    vidHeight = 450;
    
	//for each of the support links
    $("a.supportvideo").each(function(i) {

        //get the link values
        var linkInnerHTML = $(this).html();
        var vidURL = $(this).attr("href");
        var newLink = "<div class='mimic_link' style='display:inline;cursor:pointer;' onclick=\"window.open('/supportvideo.html?vidurl=" + vidURL + "','mywindow','location=0,status=0,scrollbars=no,width=" + vidWidth + ",height=" + vidHeight + "');\">" + linkInnerHTML + "</div>";

        //change the html of the link so that it opens in the new window
        $(this).before(newLink);
        $(this).remove();

    });
}
