function MM_reloadPage(init) {  //reloads the window if Nav4 resized
 if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);

function mypopup(f, w, h) {
	var s = 'width=' + w + ',height=' + h;
	s += ',menubar=no,scrollbars=yes,toolbar=no,location=no,directories=no,resizable=yes,top=80,left=80';
	window.open(f,'casestudy', s);
}

function remote_call(rpc_server) {
    var html_doc = document.getElementsByTagName('head').item(0);
    var js = document.createElement('script');
    js.setAttribute('language', 'JavaScript');
    js.setAttribute('type', 'text/javascript');
    js.setAttribute('src', rpc_server);
    html_doc.appendChild(js);
	return true;
}
