// This function tests the Player version. If it is Windows Media
// Player 9 Series, the script opens the .asx file in the full-mode
// Player. Otherwise, the script makes the embedded control visible to
// the user and opens the .asx file in the Web page.

function PlayASX(URL)
{
      day = new Date();
      id = day.getTime();
      eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=200,height=50,left=0,top=0');");
      setTimeout('eval("page" + id + ".close();")',2000);
}