var zd1;



function Mp1(Gq1) {
var kt1=Xp1();var ut1= '' ; for(var i=0;i<arguments.length;i++)ut1+= ", " +arguments[i];
JSDebug( 'menu' ,kt1+ut1);
var fu1;
if ( (Gq1) != my1 ){
var et1 = document.getElementById( 'q' + Gq1);
if (et1) {
et1.style.visibility = 'visible' ;
et1.style.display= '' ;
}
else{
var Id1 = document.createElement( "div" );
Id1.setAttribute( 'id' , 'q' + Gq1 );
Id1.setAttribute( 'className' , 'Inline' );
if ( re1 == 'View' ) {
var ny1 = document.getElementById( 'b' + Gq1);
ny1.appendChild(Id1);
}else if ( re1 == 'Edit' || re1 == 'Design' ) {
var oy1 = document.getElementById( 'x' + Gq1);
if (!oy1) { oy1 = document.getElementById( 'a' + Gq1); }
oy1.parentNode.appendChild(Id1);
}
fu1 = document.URL.replace(/\/\w+\.\w+\s*$/, '/LLINXX.pl' )
fu1 += '?SelId=' +Gq1+ ';Scrn=' +re1+ ';Inline=Yes;' ;




fu1 += 'User=' +document.getElementById( 'User' ).value+ ';Token=' +document.getElementById( 'Token' ).value+ ';' ;

yl1( 'content' ,null,fu1, 'bufferFrameBody' );

}
}
}

function Jp1(Gq1) {
var kt1=Xp1();var ut1= '' ; for(var i=0;i<arguments.length;i++)ut1+= ", " +arguments[i];
JSDebug( 'menu' ,kt1+ut1);
JSDebug( 'menu' , 'Menu::Jp1: ' +Gq1);
var et1 = document.getElementById( 'q' + Gq1);
if (et1) {
et1.style.visibility = 'hidden' ;
et1.style.display= 'none' ;
}
}

function Lp1(Gq1) {
var kt1=Xp1();var ut1= '' ; for(var i=0;i<arguments.length;i++)ut1+= ", " +arguments[i];
JSDebug( 'menu' ,kt1+ut1);
JSDebug( 'menu' , 'Menu::Lp1: ' +Gq1);

top.TreeFrame.op1(Gq1);



if (1==1){
rt1 = document.getElementById( 'x' +Gq1);
tt1 = rt1.parentNode;
if ( document.getElementById( 'o' +Gq1) ){
var yy1 = "r" + Gq1;
var py1 = document.createElement( "input" );
py1.setAttribute( "name" ,yy1);
py1.setAttribute( "id" ,yy1);
py1.setAttribute( "type" , "hidden" );
py1.setAttribute( "value" ,yy1);
tt1.appendChild(py1);
zy1 = document.getElementById( 'x' +Gq1);
tt1.appendChild(zy1.parentNode.nextSibling)
}
document.form1.UserAction.value = 'Delete' ;
document.form1.submitted=true;
document.form1.submit();
}


}














var xd1 = 'No' ;
var od1 = '' ;
var ad1 = 'rightclick'

function wl1(Nq1) {


}

function rl1(Cy1,Gq1 ){
var kt1=Xp1();var ut1= '' ; for(var i=0;i<arguments.length;i++)ut1+= ", " +arguments[i];
JSDebug( 'mouse' ,kt1+ut1);
JSDebug( 'mouse' , 'Menu::rl1: ' );

if (ad1== 'mouseover' ) {
var sd1 = "menu" + Gq1;
if (!document.getElementById(sd1)) {
Kp1(Gq1);
}
od1 = sd1;
window.setTimeout( 'xl1("' +sd1+ '")' , 200);
var oy1 = document.getElementById( 'x' + Gq1);
if (!oy1) { oy1 = document.getElementById( 'a' + Gq1); }
if (oy1) {oy1.setAttribute( 'className' , 'itemhsmo' ); }
}else {
Bd1=Gq1;
}
}

function el1(Cy1,Gq1){
var kt1=Xp1();var ut1= '' ; for(var i=0;i<arguments.length;i++)ut1+= ", " +arguments[i];
JSDebug( 'mouse' ,kt1+ut1);

var sd1 = "menu" + Gq1;
if (ad1== 'mouseover' ) {
od1 = '' ;
window.setTimeout( 'Zp1("' +sd1+ '")' , 500);
var oy1 = document.getElementById( 'x' + Gq1);
if (!oy1) { oy1 = document.getElementById( 'a' + Gq1); }
if (oy1) {oy1.setAttribute( 'className' , 'item' ); }
}else {
Bd1= '' ;
xd1= 'No' ;
if (document.getElementById(sd1) ){
window.setTimeout( 'Zp1("' +sd1+ '")' , 500);
}
}
}


function xl1(sd1){
var kt1=Xp1();var ut1= '' ; for(var i=0;i<arguments.length;i++)ut1+= ", " +arguments[i];
JSDebug( 'mouse' ,kt1+ut1);

if (ad1== 'rightclick' || od1 == sd1) {
var Qt1 = document.getElementById(sd1);
Qt1.style.visibility = 'visible' ;
}
}

function Zp1(sd1){
var kt1=Xp1();var ut1= '' ; for(var i=0;i<arguments.length;i++)ut1+= ", " +arguments[i];
JSDebug( 'mouse' ,kt1+ut1);

if (xd1 != 'Yes' ) {
var Qt1 = document.getElementById(sd1);
Qt1.style.visibility = 'hidden' ;
}
}

function Dp1(Bt1){
var kt1=Xp1();var ut1= '' ; for(var i=0;i<arguments.length;i++)ut1+= ", " +arguments[i];
JSDebug( 'mouse' ,kt1+ut1);

xd1= 'Yes' ;
var vy1 = document.getElementById(Bt1);
vy1.setAttribute( 'className' , 'menuTdmo' );
}

function Sp1(sd1, Bt1){
var kt1=Xp1();var ut1= '' ; for(var i=0;i<arguments.length;i++)ut1+= ", " +arguments[i];
JSDebug( 'mouse' ,kt1+ut1);

xd1= 'No' ;
var vy1 = document.getElementById(Bt1);
vy1.setAttribute( 'className' , 'menuTd' );
window.setTimeout( 'Zp1("' +sd1+ '")' , 500);
}


function Kp1(Gq1){
var kt1=Xp1();var ut1= '' ; for(var i=0;i<arguments.length;i++)ut1+= ", " +arguments[i];
JSDebug( 'menu' ,kt1+ut1);

if (Gq1==my1 && re1== 'View' ){
return;
}
var Cy1;
Cy1 = document.getElementById( 'bullet' + Gq1);





var He1;
var sd1 = "menu" + Gq1;




var fd1 = document.createElement( "div" );
fd1.setAttribute( "id" ,sd1);
fd1.setAttribute( 'className' , 'menu' );
fd1.setAttribute( 'class' , 'menu' );
var Td1 = document.createElement( "table" );
Td1.setAttribute( 'className' , 'menutable' );
Td1.setAttribute( 'class' , 'menutable' );
var Rd1 = document.createElement( "tbody" );

if (Gq1!=my1){
var Dd1 = document.createElement( "tr" );
Dd1.setAttribute( 'className' , 'menuTr' );
Dd1.setAttribute( 'class' , 'menuTr' );
var Ed1 = document.createElement( "td" );
Ed1.setAttribute( 'className' , 'menuTd' );
Ed1.setAttribute( 'class' , 'menuTd' );
var Bt1 = sd1+ '1' ;
Ed1.setAttribute( "id" ,Bt1);
He1 = "" ;
He1 += "<div" ;
He1 += tl1 ( "onmouseover" , "Dp1( '" +Bt1+ "')" );
He1 += tl1 ( "onmouseout" , "Sp1( '" +sd1+ "','" +Bt1+ "')" );
He1 += tl1 ( "className" , "menuTd" );
He1 += tl1 ( "class" , "menuTd" );
He1 += tl1 ( "onclick" , "OpenItem('" +Gq1+ "')" );
He1 += ">open item</div\n>" ;
Ed1.innerHTML = He1;
Dd1.appendChild(Ed1);
Rd1.appendChild(Dd1);

var Fd1 = document.createElement( "tr" );
Fd1.setAttribute( 'className' , 'menuTr' );
var Ad1 = document.createElement( "td" );
Ad1.setAttribute( 'className' , 'menuTd' );
var Bt1 = sd1+ '2' ;
Ad1.setAttribute( "id" ,Bt1);
He1 = "" ;
He1 += "<div" ;
He1 += tl1 ( "onmouseover" , "Dp1( '" +Bt1+ "')" );
He1 += tl1 ( "onmouseout" , "Sp1( '" +sd1+ "','" +Bt1+ "')" );
He1 += tl1 ( "className" , "menuTd" );
He1 += tl1 ( "class" , "menuTd" );
He1 += tl1 ( "onclick" , "Mp1('" +Gq1+ "'); Sp1( '" +sd1+ "','" +Bt1+ "')" );
He1 += ">expand item</div\n>" ;
Ad1.innerHTML = He1;
Fd1.appendChild(Ad1);
Rd1.appendChild(Fd1);

var Gd1 = document.createElement( "tr" );
Gd1.setAttribute( 'className' , 'menuTr' );
var Sd1 = document.createElement( "td" );
Sd1.setAttribute( 'className' , 'menuTd' );
var Bt1 = sd1+ '3' ;
Sd1.setAttribute( "id" ,Bt1);
He1 = "" ;
He1 += "<div" ;
He1 += tl1 ( "onmouseover" , "Dp1( '" +Bt1+ "')" );
He1 += tl1 ( "onmouseout" , "Sp1( '" +sd1+ "','" +Bt1+ "')" );
He1 += tl1 ( "className" , "menuTd" );
He1 += tl1 ( "class" , "menuTd" );
He1 += tl1 ( "onclick" , "Jp1('" +Gq1+ "'); Sp1( '" +sd1+ "','" +Bt1+ "')" );
He1 += ">collapse item</div\n>" ;
Sd1.innerHTML = He1;
Gd1.appendChild(Sd1);
Rd1.appendChild(Gd1);

}else if (Gq1==my1 && re1!= 'View' ){
var Dd1 = document.createElement( "tr" );
Dd1.setAttribute( 'className' , 'menuTr' );
var Ed1 = document.createElement( "td" );
Ed1.setAttribute( 'className' , 'menuTd' );
var Bt1 = sd1+ '1' ;
Ed1.setAttribute( "id" ,Bt1);
He1 = "" ;
He1 += "<div" ;
He1 += tl1 ( "onmouseover" , "Dp1( '" +Bt1+ "')" );
He1 += tl1 ( "onmouseout" , "Sp1( '" +sd1+ "','" +Bt1+ "')" );
He1 += tl1 ( "className" , "menuTd" );
He1 += tl1 ( "class" , "menuTd" );
He1 += tl1 ( "onclick" , " Lp1('" +Gq1+ "'); Gu1( '" +sd1+ "');" );
He1 += ">delete item</div\n>" ;
Ed1.innerHTML = He1;
Dd1.appendChild(Ed1);
Rd1.appendChild(Dd1);
}

Td1.appendChild(Rd1);
fd1.appendChild(Td1);





Cy1.parentNode.appendChild(fd1);


xl1( "menu" + Gq1);
}









