document.write('<script type="text/javascript" language="JavaScript" src="/common/rchMarquee.js"></script>');

//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
//++ addToOnload()
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
function addToOnload(inFuncName){
	//remember to call this after any third party apps have been called
	//ie after the header
	//sample: <script>addToOnload('initPage()');</script>
	
	var nowOnload = window.onload; // Let's save the existing assignment, if any
	window.onload = function () {
		// Here is your precious function
		// You can call as many functions as you want here;
		
		setTimeout(inFuncName, 1); //myOnloadFunction1();
		
		// Now we call old function which was assigned to onLoad, thus playing nice
		if(nowOnload != null && typeof(nowOnload) == 'function') {
			nowOnload();
		}
	}
	
}

//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
//++ findPosX()
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
function findPosX(inObj){
	var curLeft = 0;
  
  if(inObj.offsetParent){
   	while(1){
   		curLeft += inObj.offsetLeft;
      if(!inObj.offsetParent){
      	break;
      }
      inObj = inObj.offsetParent;
    }
  }else if(inObj.x){
  	curLeft += inObj.x;
  }
  
  return curLeft;
  
}
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
//++ findPosY()
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
function findPosY(inObj){
	var curTop = 0;
	
	if(inObj.offsetParent){
		while(1){
			curTop += inObj.offsetTop;
      if(!inObj.offsetParent){
      	break;
      }
      inObj = inObj.offsetParent;
    }
  }else if(inObj.y){
  	curTop += inObj.y;
  }
  
  return curTop;
  
}
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
//++ findPosW()
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
function findPosW(inObj){
	
	if (gJSBrowserType=='op5'){
		xPos = inObj.style.pixelWidth;
	}else{
		xPos = inObj.offsetWidth;
	}
	
	xPos = inObj.offsetWidth;
	
	return xPos;
	
}
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
//++ findPosH()
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
function findPosH(inObj){
	
	if (gJSBrowserType=='op5'){ 
		xPos = inObj.style.pixelHeight;
	}else{
		xPos = inObj.offsetHeight;
	}
	
	return xPos;
	
}
