<!--
var DomLoaded = {
	onload: [],
	loaded: function(){
		if (arguments.callee.done) return;
		arguments.callee.done = true;
		for (i = 0;i < DomLoaded.onload.length;i++) DomLoaded.onload[i]();
	},
	load: function(fireThis){
		this.onload.push(fireThis);
		if (document.addEventListener) 
			document.addEventListener("DOMContentLoaded", DomLoaded.loaded, null);
		if (/KHTML|WebKit/i.test(navigator.userAgent)){
			var _timer = setInterval(function(){
				if (/loaded|complete/.test(document.readyState)){
					clearInterval(_timer);
					delete _timer;
					DomLoaded.loaded();
				}
			}, 10);
		}
		/*@cc_on @*/
		/*@if (@_win32)
		var proto = "src='javascript:void(0)'";
		if (location.protocol == "https:") proto = "src=//0";
		document.write("<scr"+"ipt id=__ie_onload defer " + proto + "><\/scr"+"ipt>");
		var script = document.getElementById("__ie_onload");
		script.onreadystatechange = function() {
		    if (this.readyState == "complete") {
		        DomLoaded.loaded();
		    }
		};
		/*@end @*/
	   window.onload = DomLoaded.loaded;
	}
};
/*
	Get Object ID
*/
function $ele(){
	var arIDS=[];	
	if(arguments.length==1){
		arIDS=document.getElementById(arguments[0]);		
	}else {
		for(var i=0,j=arguments.length;i<j;i++){
			arIDS.push(document.getElementById(arguments[i]));			
		}
	}
	return arIDS;	
}
/*
	Get Object childNodes
*/
function $as(tag){
    return this.getElementsByTagName(tag);
}
//Delete Empty Node
function DelEmptyTag(){
	for(var i=0;i<this.childNodes.length;i++){
			if(this.childNodes[i].nodeType==3 && this.childNodes[i].nodeValue!=null){
				this.childNodes[i].parentNode.removeChild(this.childNodes[i]);
			}
	}
}
function BatchRunFun(fun){
    for(var i=0, j=this.length; i<j; i++){
        fun.call(this[i]);
    }
}
function isIE7(){
  	return (navigator.appName == "Microsoft Internet Explorer" && navigator.appVersion.match(/7./i) == '7.')
}
//-->