//---------------------------------- conhelp & help

function SetConHelp(conhelp_name, direct)
{
	try {
		return top.self._SetConHelp(conhelp_name, direct);
	} catch (e) {
		return false;
	}
}

function SetContext(context)
{
	SetHelpModule('');

//	if (opt_integrated_mode && !opt_no_frames)
		return top.SetContext(context)

//	try {
//		if (context)
//			top._context = context;
//	} catch (e) {
//		return false;
//	}
//
//	return SetConHelp();
}

function SetHelpModule(module)
{
//	if (opt_integrated_mode && !opt_no_frames && top.SetHelpModule)
		return top.SetHelpModule(module)

//	try {
//		top._help_module = module;
//	} catch (e) {
//		return false;
//	}
//
//	return true;
}

function GetContext()
{
	try {
		return top._context;
	} catch (e) {
		return false;
	}
}

function GetHelpPrefix()
{
	try {
		return top._help_prefix;
	} catch (e) {
		return false;
	}
}

function GetHelpModule()
{
	try {
		return top._help_module;
	} catch (e) {
		return false;
	}
}

function mouse_move(context, direct)
{
//	if (!opt_integrated_mode || opt_no_frames) {
		return SetConHelp(context, direct);
//	} else {
//		try {
//			return top.mouse_move(context);
//		} catch (e) {
//			return false;
//		}
//	}
}


