/*
function IMM_Glossary_Tool_Tips ( )
{
var Nodes ;
for ( Index = 1 ; Index <= 999999999 ; Index = Index + 1 )
{
Nodes = document.getElementsByClassName ( 'IMM_Glossary_-_Trigger_-_' + Index ) ;
if ( $ ( 'IMM_Glossary_-_Tool_Tip_-_' + Index ) )
{
Nodes.each
(
function ( Node )
{
var Temporary = new Tooltip ( Node , $ ( 'IMM_Glossary_-_Tool_Tip_-_' + Index ) ) ;
}
) ;
}
else
{
break ;
}
}
return true ;
}
*/
function IMM_Glossary_Tool_Tips ( )
{
var Name = 'IMM_Glossary_-_Tool_Tip' ;
if ( $ ( Name ) )
{
}
else
{
var Body = $$ ( 'body' ) ;
Body = Body[0] ;
new Insertion.Top ( Body , '' ) ;
}
var Nodes ;
var Request ;
var Reference ;
Nodes = document.getElementsByClassName ( 'IMM_Glossary_-_Trigger' ) ;
Nodes.each
(
function ( Node )
{
Element.update ( $ ( Name ) , 'Loading ...Loading ...' ) ;
var Temporary = new Tooltip ( Node , $ ( Name ) ) ;
Event.observe
(
Node ,
'mouseover' ,
function ( e )
{
Element.update ( $ ( Name ) , 'Loading ...Loading ...' ) ;
var ID ;
if ( e )
{
if ( e.srcElement )
{
if ( e.srcElement.id )
{
ID = e.srcElement.id ;
}
else
{
ID = this.id ;
}
}
else
{
ID = this.id ;
}
}
else
{
ID = this.id ;
}
Reference = ID ;
var Parameters = 'ID=' + ID ;
Request = new Ajax.Request
(
URL + '?' + Parameters ,
{
asynchronous : true ,
method : 'get' ,
onSuccess : function ( Request )
{
if ( Reference == ID )
{
Element.update ( $ ( Name ) , Request.responseText ) ;
}
return true ;
} ,
onFailure : function ( Request )
{
if ( Reference == ID )
{
Element.update ( $ ( Name ) , 'N/AN/A' ) ;
}
return true ;
}
}
) ;
return true ;
}
) ;
return true ;
}
) ;
return true ;
}
function IMM_Glossary_Pop_Up ( URL )
{
var Width = 500 ;
var Height = 500 ;
var Left = ( screen.width - Width ) / 2 ;
var Top = ( screen.height - Height ) / 2 ;
var Properties = 'scrollbars=yes,resizable=no,menubar=no,toolbar=no,addressbar=no,statusbar=no,fullscreen=no,width=' + Width + ',height=' + Height + ',Top=' + Top + ',Left=' + Left ;
var Name = 'Pop_Up' ;
var Window = window.open ( URL , Name , Properties ) ;
return true ;
}
Event.observe ( window , 'load' , IMM_Glossary_Tool_Tips ) ;