var fDesc=new Array(); fDesc[0] = "York has always been one of Britain's major rail centres and so will need little introduction. The PC-Rail simulation accurately captures the operation of all the passenger and freight services through the complex and busy York area, including the East Coast main line and the routes to Leeds, Scarborough and Harrogate."; 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 = ''; } }