function createRequestObject()

{

var req = false;

if(window.XMLHttpRequest) {

	try {

		req = new XMLHttpRequest();

	} catch(e) {

		req = false;

	}

// branch for IE/Windows ActiveX version

} else if(window.ActiveXObject) {

	try {

		req = new ActiveXObject("Msxml2.XMLHTTP");

	} catch(e) {

		try {

			req = new ActiveXObject("Microsoft.XMLHTTP");

		} catch(e) {

			req = false;

		}

	}

}

return req; //return the object

}

var http = createRequestObject();



var IE = document.all?true:false



// If NS -- that is, !IE -- then set up for mouse capture

if (!IE) document.captureEvents(Event.MOUSEMOVE)



// Set-up to use getMouseXY function onMouseMove

document.onmousedown = getMouseXY;



// Temporary variables to hold mouse x-y pos.s

var tempX = 0

var tempY = 0

function getMouseXY(e) {

  if (IE) { // grab the x-y pos.s if browser is IE

    tempX = event.clientX + document.body.scrollLeft

    tempY = event.clientY + document.body.scrollTop

  } else {  // grab the x-y pos.s if browser is NS

    tempX = e.pageX

    tempY = e.pageY

  }  

  // catch possible negative values in NS4

  if (tempX < 0){tempX = 0}

  if (tempY < 0){tempY = 0}  

  tempY = tempY+10;

  tempX = tempX-150;

  // show the position values in the form named Show

  // in the text fields named MouseX and MouseY

}

function style_display_show(label)

{

	if(document.getElementById)

	{

		label.style.display =  '';

	}

}

function style_display_hide(label)

{

	if(document.getElementById)

	{

		label.style.display =  'none';

	}

}

function check_style_display(label)

{

	if(document.getElementById)

	{

		if(label.style.display ==  'none')

		return false;

		else

		return true;

	}

}
function rowOverboxEffect(object) {
  if (object.className == 'categorybox') object.className = 'categoryboxover';
}

function rowOutboxEffect(object) {
  if (object.className == 'categoryboxover') object.className = 'categorybox';
}