// JavaScript Document
<!--
function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}
//-->
<!--
function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}
//-->
<!--
xMousePos = 0; // Horizontal position of the mouse on the screen
yMousePos = 0; // Vertical position of the mouse on the screen
function captureMousePosition(e) {

	if(window.event){

		if(document.documentElement.clientHeight){
			topposition  = Math.round(document.documentElement.scrollTop) ;
			leftposition = Math.round(document.documentElement.scrollLeft);

		}else{
			topposition  = Math.round(document.body.scrollTop );
			leftposition = Math.round(document.body.scrollLeft);
		}

	}else{
		//only executed by NC,Mozilla, this var is now the value of the top left corner even the user has scrolled down
		topposition  = Math.round(window.pageYOffset) ;
		leftposition = Math.round(window.pageXOffset);
		topposition = 0;
		leftposition = 0;
	}

		var browser=navigator.appName
		if (browser=="Microsoft Internet Explorer"){
			topposition  = Math.round(document.documentElement.scrollTop) ;
			leftposition = Math.round(document.documentElement.scrollLeft);
		}

	if (document.all) {
		tempX = event.clientX + document.body.scrollLeft;
		tempY = event.clientY + document.body.scrollTop;
	} else {
		tempX = e.pageX;
		tempY = e.pageY;
	}

	if (tempX < 0){tempX = 0}
	if (tempY < 0){tempY = 0}

	tempX = tempX+ leftposition;
	tempY = tempY+ topposition;

	yMousePos  = (tempY + 5) + 'px';
	xMousePos = (tempX - 100) + 'px';

}	

