<script>
document.write('<frameset rows="18%,*" border="0" scrolling="no">');
document.write('<frame src="control.html' +
- '?topurl=' + location.protocol + "//" + location.host + location.pathname +
+ '?topurl=' + chopSlash(chopSlash(chopSlash(location.protocol + "//" + location.host + location.pathname))) +
'&mode=' + getParam('mode') +
'&cicuri=' + getParam('cicuri') +
'&theoryuri=' + getParam('theoryuri') +