/*swoop.core.start*/
is_type={_obj:"object",_fnc:"function",_bol:"boolean",_str:"string",_int:"number",_udf:"undefined",_vis:"visible",_hid:"hidden",_img:"image object"};
function swobj(path){
	this.version=0.02;
	this.pth=path;
	this.win=window;
	this.doc=document;
	this.mmr=true;
	this.frm=this.doc.forms;
	this.gmp={x:0,y:0};
	document.onmousemove=function(e){
		if((typeof(e)==is_type._udf)&&(typeof(event)==is_type._obj)){
			e=event;}
		if(typeof(e.pageX)==is_type._int){
			swoop.gmp.x=parseInt(e.pageX);
			swoop.gmp.y=parseInt(e.pageY);}
		else if(typeof(e.clientX)==is_type._int){
			swoop.gmp.x=parseInt(e.clientX);
			swoop.gmp.y=parseInt(e.clientY);}
		return this.mmr;}}
swobj.prototype.getObjById=function(id,obj){
	if(this.getObjById.arguments.length<2){
		obj=document;}
	if(typeof(obj.all)==is_type._obj){
		if(typeof(obj.all[id])==is_type._obj){
			return obj.all[id];}}
	else if(typeof(obj.getElementById)==is_type._fnc){
		if(typeof(obj.getElementById(id))==is_type._obj){
			return obj.getElementById(id);}}
	return null;}
swobj.prototype.getObjByTag=function(tag,obj){
	if(this.getObjByTag.arguments.length<2){
		obj=document;}
	if((typeof(obj.all)==is_type._obj)&&(typeof(obj.all.tags)==is_type._obj)){
		if(typeof(obj.all.tags(tag))==is_type._obj){
			return obj.all.tags(tag);}}
	if(typeof(obj.getElementsByTagName)==is_type._fnc){
		if(typeof(obj.getElementsByTagName(tag))==is_type._obj){
			return obj.getElementsByTagName(tag);}}
	return null;}
swobj.prototype.hcl=new Array();
swobj.prototype.cll=new Array();
swobj.prototype.cil=new Array();
swobj.prototype.hll=new Array();
swobj.prototype.iol=new Array();
swobj.prototype.ftl=new Array();
/*swoop.core.end*/