g.js location /jslib/g.js
LICENSE ISSUES
==============
globle framework , open source & free, Powered by barenx, Licensed on GPL
//Copyright(C) 2007-2008. BAREN Productions. All rights reserved.
var __barenx__lib__globle_location="/jslib/g.js";
//#ifndefine g_js
if('undefined'==typeof __barenx__lib__globle)...{
//#define g_js
__barenx__lib__globle=function()...{
/**//*
============================================
javascript framework by barenx
make simply use & easy code in javascript
============================================
*/
/**//* const declare */
this._L="length";this._P="prototype";this._D="document";this._B="body";
this._U='undefined';this._O='object';this._S='string';this._f='function';
if(_U==typeof this.event)this.event=false;
var _w=this;
//frame work name space _F
this._F=...{
//const
ver:3.61,
auther:"barenx",
IE:document.all&&window.ActiveXObject&&!window.opera,
n:(function()...{}),
f:(function()...{return false}),
w3c:(_f==typeof document.getElementById&&_f==typeof document.createElement),
$:function(a,b)...{b=b||_w;return b[_D].getElementById(a)},
$$:function(a,b)...{b=b||_w;return b[_D].frames?b[_D].frames[a]:this.$(a,b).contentWindow},
$n:function(a,b)...{b=b||_w;if(b[_D])b=b[_D];return b.getElementsByTagName(a)},
$a:function(a,b)...{if(_S==typeof a)a=this.$(a);return a.appendChild(b)},
$r:function(a)...{if(_S==typeof a)a=this.$(a);return a.parentNode.removeChild(a)},
$u:function(a,b)...{if(_S==typeof a)a=this.$(a);if('INPUT'==a.tagName)a.value=b;else a.innerHTML=b;return a},
$h:function(a,d)...{if(_S==typeof a)a=this.$(a);if(d)a.style.display='none';else a.style.visibility='hidden';},
$s:function(a)...{if(_S==typeof a)a=this.$(a);a.style.display=a.style.visibility=''},
$t:function(a,b)...{b=b||_w;return b[_D].createTextNode(a)},
$w:function(a,b)...{b=b||_w;b[_D].writeln(a)},
$c:function(a,c,b)...{b=b||_w;if(b[_D])b=b[_D];
var o=b.createElement(a);
if(c)...{for(var k in c)...{
switch(typeof(c[k]))...{
case 'object':this.e(o[k],c[k]);break;
case 'function':o[k]=(function()...{c[k].apply(o,arguments)});break;
default:o[k]=c[k];break;
}
}}
return o;
},
$l:function(o,f,e)...{
if(o.addEventListener)o.addEventListener(e,f,false);
else if(o.attachEvent)o.attachEvent("on"+e,f)
},
$q:function(o,f,e)...{
if(o.removeEventListener)o.removeEventListener(e,f,false);
else if(o.detachEvent)o.detachEvent("on"+e,f)
},
//function
c:function(a,b)...{for(var p in a)a[p]=b[p];return a},
e:function(a,b)...{for(var p in b)a[p]=b[p];return a},
b:function(f,o,ev)...{return function(e)...{f.call(o,e||ev)}},
g:function()...{
var h=false;
try ...{h=new XMLHttpRequest()}
catch(e)...{
var a=['MSXML2.XMLHTTP.5.0','MSXML2.XMLHTTP.4.0','MSXML2.XMLHTTP.3.0','MSXML2.XMLHTTP','MICROSOFT.XMLHTTP.1.0','MICROSOFT.XMLHTTP.1','MICROSOFT.XMLHTTP'];
for(var i=0;i<a[_L];i++)...{try...{h=new ActiveXObject(a[i]);break;}catch(e)...{}}
}
return h
},
l:function(a)...{
try...{ var x=this.g();
if(x)...{
x.open('GET', a, false);
try...{x.send(
var __barenx__lib__globle_location="/jslib/g.js";
//#ifndefine g_js
if('undefined'==typeof __barenx__lib__globle)...{
//#define g_js
__barenx__lib__globle=function()...{
/**//*
============================================
javascript framework by barenx
make simply use & easy code in javascript
============================================
*/
/**//* const declare */
this._L="length";this._P="prototype";this._D="document";this._B="body";
this._U='undefined';this._O='object';this._S='string';this._f='function';
if(_U==typeof this.event)this.event=false;
var _w=this;
//frame work name space _F
this._F=...{
//const
ver:3.61,
auther:"barenx",
IE:document.all&&window.ActiveXObject&&!window.opera,
n:(function()...{}),
f:(function()...{return false}),
w3c:(_f==typeof document.getElementById&&_f==typeof document.createElement),
$:function(a,b)...{b=b||_w;return b[_D].getElementById(a)},
$$:function(a,b)...{b=b||_w;return b[_D].frames?b[_D].frames[a]:this.$(a,b).contentWindow},
$n:function(a,b)...{b=b||_w;if(b[_D])b=b[_D];return b.getElementsByTagName(a)},
$a:function(a,b)...{if(_S==typeof a)a=this.$(a);return a.appendChild(b)},
$r:function(a)...{if(_S==typeof a)a=this.$(a);return a.parentNode.removeChild(a)},
$u:function(a,b)...{if(_S==typeof a)a=this.$(a);if('INPUT'==a.tagName)a.value=b;else a.innerHTML=b;return a},
$h:function(a,d)...{if(_S==typeof a)a=this.$(a);if(d)a.style.display='none';else a.style.visibility='hidden';},
$s:function(a)...{if(_S==typeof a)a=this.$(a);a.style.display=a.style.visibility=''},
$t:function(a,b)...{b=b||_w;return b[_D].createTextNode(a)},
$w:function(a,b)...{b=b||_w;b[_D].writeln(a)},
$c:function(a,c,b)...{b=b||_w;if(b[_D])b=b[_D];
var o=b.createElement(a);
if(c)...{for(var k in c)...{
switch(typeof(c[k]))...{
case 'object':this.e(o[k],c[k]);break;
case 'function':o[k]=(function()...{c[k].apply(o,arguments)});break;
default:o[k]=c[k];break;
}
}}
return o;
},
$l:function(o,f,e)...{
if(o.addEventListener)o.addEventListener(e,f,false);
else if(o.attachEvent)o.attachEvent("on"+e,f)
},
$q:function(o,f,e)...{
if(o.removeEventListener)o.removeEventListener(e,f,false);
else if(o.detachEvent)o.detachEvent("on"+e,f)
},
//function
c:function(a,b)...{for(var p in a)a[p]=b[p];return a},
e:function(a,b)...{for(var p in b)a[p]=b[p];return a},
b:function(f,o,ev)...{return function(e)...{f.call(o,e||ev)}},
g:function()...{
var h=false;
try ...{h=new XMLHttpRequest()}
catch(e)...{
var a=['MSXML2.XMLHTTP.5.0','MSXML2.XMLHTTP.4.0','MSXML2.XMLHTTP.3.0','MSXML2.XMLHTTP','MICROSOFT.XMLHTTP.1.0','MICROSOFT.XMLHTTP.1','MICROSOFT.XMLHTTP'];
for(var i=0;i<a[_L];i++)...{try...{h=new ActiveXObject(a[i]);break;}catch(e)...{}}
}
return h
},
l:function(a)...{
try...{ var x=this.g();
if(x)...{
x.open('GET', a, false);
try...{x.send(