//distinct from samples.html & Scriptreplacer.html
function f1(frameObject,eVent){task.loadFromFrame(frameObject,eVent);}

var task=Log.task;//Must be the only instance of Log class

/**
 * load helpphrases of another language
 */
task.loadFromFrame=function(frameObject,eVent){
	task.loadFromFrame.frameObject=frameObject;
	tryOnce('help.loadFromFrame(task.loadFromFrame.frameObject);',null,null,eVent);
}//loadFromFrame
task.loadFromFrame.frameObject=null;

task.main=function(eVent){
	lock('help.main();',null,null,eVent);
}//main

task.findAnchor=function(e_lement,eVent){
	task.findAnchor.e_lement=e_lement;
	lock('help.findAnchor(task.findAnchor.e_lement);',null,null,eVent);
}//findAnchor
task.findAnchor.e_lement=null;

/////////////// MENU

/**
 * Hide the text of parent node
 */
task.switchMom=function(s_id,eVent){
	lock('menu.view.switchMom("'+s_id+'");',24,25,eVent);
}//switchMom

/**
 * Hide the rows of child nodes
 */
task.switchKids=function(eImg, i_divId,eVent){
	task.switchKids.img=eImg;
	lock('menu.view.switchKids(task.switchKids.img,"'+i_divId+'");',26,27,eVent);
}//switchKids
task.switchKids.img=null;

/**
 * Open the block, which contains the selected anchor tag
 */
task.switchAllKids=function(b_open){
	lock('menu.view.switchAllKids('+b_open+');',26,27,null);
}//switchAllKids

task.hideTip=function(eVent){
	tryOnce('Log.domTool.hide(document.getElementById("'+sample.s_tipId+'"));',null,null,eVent);
}//hideTip 

/**
 * go to the anchor
 *
 /
task.openHelpPage=function(s_helpTopic,eVent){
	lock('location="'+s_helpTopic+'";',0,0,eVent,false);
}//openHelpPage
*/
