var color_ori;

function TemesOvr(src,color) {
	if (!src.contains(event.fromElement)) {
		color_ori = color;
		src.style.cursor = 'hand';
		src.style.backgroundColor = '#FFCC00';
	} 
} 

function TemesOut(src) {
	if (!src.contains(event.toElement)) {
		src.style.cursor = 'default';
		src.style.backgroundColor = color_ori;
	} 
}

function IndexOvr(src,color) {
	if (!src.contains(event.fromElement)) {
		color_ori = color;
		src.style.cursor = 'hand';
		src.style.backgroundColor = '#8CD6F7';
	} 
} 

function IndexOut(src) {
	if (!src.contains(event.toElement)) {
		src.style.cursor = 'default';
		src.style.backgroundColor = color_ori;
	} 
}

function MenusOvr(src,color) {
	if (!src.contains(event.fromElement)) {
		color_ori = color;
		src.style.cursor = 'hand';
		src.style.color = '#FF2200';
	} 
} 

function MenusOut(src) {
	if (!src.contains(event.toElement)) {
		src.style.cursor = 'default';
		src.style.color = color_ori;
	} 
}

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

function copyright(e) {
	if (event.button == 2){
		alert('1994-2007 (c) CimKey, ERP Solutions')
	}
}
document.onmousedown=copyright
