window.Com = {
//[ _Property
"oDoc" : document,
//]
//[ _Method
/// Calendar
"Calendar" :
{
//[ _Property
"owner" : null,
"oWindow" : null,
//]
//[ _Method
/*Calendar*/"PopIFrame" : function()
{
var obj = arguments[0];
this.oWindow = (arguments[1]) ? arguments[1] : window;
if ( this.owner != null && (typeof(this.owner) == 'object'))
this.CloseFrame();
/// Make Temp Layout
this.owner = this.oWindow.document.createElement("
");
this.owner.style.position = 'absolute';
this.owner.style.left = this.oWindow.event.x - this.oWindow.event.offsetX;
this.owner.style.top = this.oWindow.event.y - this.oWindow.event.offsetY;
/// Insert Body
this.oWindow.document.body.insertBefore(this.owner);
this.oWindow.Calendar = window.Com.Calendar;
this.owner.innerHTML = "";
},
/*Calendar*/"CloseFrame" : function()
{
this.oWindow.document.body.removeChild(this.owner);
this.owner = null;
}
//]
},
/// Compact Method
"Compact" :
{
/*Compact*/ "Proc" : function(sUrl, sData, oCaller)
{
var tmpData = new window.Com.Struct();
tmpData.setParam('sUrl', sUrl);
tmpData.setParam('sData', sData );
tmpData.setParam('oCaller', oCaller);
var rData = new window.Com.Proc( tmpData.getParam() );
rData.Send();
tmpData = null;
rData = null;
}
},
/// reDefine Context Menu
"ContextMenu" : function()
{
//[ _Property
var ContextMenu = this;
ContextMenu.contextMenu = new Object();
ContextMenu.menuList = arguments[0];
ContextMenu.rootID = arguments[1];
ContextMenu.css = arguments[2];
//]
//[ _Method
ContextMenu._Init = function ()
{
if ( document.body.all[ContextMenu.rootID] )
document.body.removeChild(document.body.all[ContextMenu.rootID]);
ContextMenu.contextMenu = document.createElement("