var fDesc=new Array();
fDesc[0] = "Provides a way to monitor state and control Windows Media Center (and extenders) through a standard TCP/IP socket port and/or simple HTTP server.
Commands:
-button-rec - sends key to application
-button-left - sends key to application
-button-up - sends key to application
-button-right - sends key to application
-button-down - sends key to application
-button-ok - sends key to application
-button-back - sends key to application
-button-info - sends key to application
-button-ch-plus - sends key to application
-button-ch-minus - sends key to application
-button-dvdmenu - sends key to application";
function tShowHide(id, show)
{
var s = document.getElementById("desc");
if ((s.innerHTML.length<=212 || show==1) && show!=2)
{
s.innerHTML = fDesc[id];
if (document.getElementById('m1'))
document.getElementById('m1').style.display='none';
if (document.getElementById('m2'))
document.getElementById('m2').style.display='none';
if (document.getElementById('more_txt'))
document.getElementById('more_txt').style.display='inline';
}
else
{
s.innerHTML = '';
}
}