
function objx(){
this.isReady=false;
this.isCompleted=false;}
objx.prototype=
{
Ready:function(fn)
{
if(this.isReady)return;
this.isReady=true;
if(document.addEventListener)
{
document.addEventListener("DOMContentLoaded",fn,false);}
if(this.Browser.IsIE())(function(){
if(this.isCompleted){
return;}
try{
document.documentElement.doScroll("left");}
catch(error){
setTimeout(arguments.callee,0);
return;}
this.isCompleted=true;
fn.call(document);})();
if(!this.Browser.IsIE()&&!document.addEventListener)
{
document.addEventListener("load",fn,false);}},
Browser:
{
IsIE:function(){;
if((i=navigator.userAgent.indexOf("MSIE"))>=0){
return true;}
else{
return false;}},
IsMozilla:function(){
if((i=navigator.userAgent.indexOf("Gecko"))>=0)
{
return true;}
else
{
return false;}},
IsOpera:function(){
if((i=ua.indexOf("Opera"))>=0)
{
return true;}
else
{
return false;}}}}
var _objHome=new objx();