// OBSOLETE
// This became problematic in 1.95 -- I had changed the busy controls
// and it left PE permanently busy. load_demo() was being used
// in cationpi.htm and help_cs.htm. The only advantage I can see is when
// you are offline and the demo is e.g. 1b07 (locally available).
// I changed both documents to use pe.htm?id=xxxx method.

function load_demo(toload)
{
	// avoid using project folder for shared PDB files
	if (toload.substring(0, 10) == "../shared/")
	{
		if (opener.top.server_id == "local_files" &&
			opener.top.project_folder != "")
		toload = opener.top.shared_base +
			toload.substring(10);
	}
	
//	if (!confirm(toload))
//		return;

	opener.top.load_common(toload, false);
	window.focus();
}
