>
>
function ChangeChannel(ChannelID)
{
var RayVCtl = getRvc();
RayVCtl['ChannelID'] = ChannelID;
}
function getRvc()
{
// First get the embed because IE will return null
var rvc = document.getElementById('RayVActiveXCtrl2');
if( !rvc || !rvc["Version"] )
{
// Then try the IE way
rvc = document.getElementById('RayVActiveXCtrl');
if( !rvc || !rvc["Version"] )
{
// The control is not accesible";
return;
}
}
return rvc;
}