/*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(){
	this.ver=0.04;
	this.win=window;
	this.doc=document;
	this.frm=this.doc.forms;
	this.pth=this.getBasePath();
	window.eol=new Array();
	window.gmp={x:0,y:0};
	window.ump=false;
	window.onmousemove=function(e){
		if(typeof(window.gmp)==is_type._obj){
			if((typeof(e)==is_type._udf)&&(typeof(event)==is_type._obj)){
				e=event;}
			if(typeof(e.pageX)==is_type._int){
				window.gmp.x=parseInt(e.pageX);
				window.gmp.y=parseInt(e.pageY);}
			else if(typeof(e.clientX)==is_type._int){
				window.gmp.x=parseInt(e.clientX);
				window.gmp.y=parseInt(e.clientY);}}
		return true;}
	window.onload=function(){
		window.ump=true;
		for(var ic=0;ic<window.eol.length;ic++){
			if(typeof(window.eol[ic])==is_type._fnc){
				window.eol[ic]();}
			else{eval(window.eol[ic]);}}}}
swobj.prototype.getObjById=function(id,obj){
	if(this.getObjById.arguments.length<2){
		obj=this.doc;}
	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=this.doc;}
	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.execOnLoad=function(f){
	if(typeof(window.eol)==is_type._obj){
		window.eol.push(f);}}
swobj.prototype.getBasePath=function(){
	lnk=this.getObjByTag("LINK");
	if(lnk!=null){
		for(var ix=0;ix<lnk.length;ix++){
			if((typeof(lnk[ix].type)==is_type._str)&&(lnk[ix].type="swoop/path")){
				return lnk[ix].href;}}}
	return false;}
swoop=new swobj();
/*swoop.core.end*/
