//-----------------------------------------------------------------------------
// Javascript
// javlib.js
//-----------------------------------------------------------------------------
<!-- 
function BgFade(red1, grn1, blu1, red2, grn2, blu2, steps) {
sred = red1; 
sgrn = grn1; 
sblu = blu1; 
ered = red2; 
egrn = grn2; 
eblu = blu2; 
inc = steps; 
step = 0; 
if (navigator.appName == 'Microsoft Internet Explorer')
	{RunFader();}
	else
	{document.bgcolor ="#FFFFFF";}
}

function RunFader() {
var epct = step/inc; 
var spct = 1 - epct; 
document.bgColor = Math.floor(sred * spct + ered * epct)*256*256 +
					Math.floor(sgrn * spct + egrn * epct)*256 +
					Math.floor(sblu * spct + eblu * epct); 
if ( step < inc ) {
setTimeout('RunFader()',50); 
}
step++;
}
//-->

<!--
function stopError() {
	return true;  
	}
window.onerror = stopError;
// -->

<!-- Begin
function right(e) {
	if (navigator.appName == 'Netscape' && 
	(e.which == 3 || e.which == 2))
	return false;
	else if (navigator.appName == 'Microsoft Internet Explorer' && 
	(event.button == 2 || event.button == 3)) {
	alert('Legal notice: You may not copy any resources from this disk');return false;
	}
	return true;
	}
	document.onmousedown=right;
	document.onmouseup=right;
	if (document.layers) window.captureEvents(Event.MOUSEDOWN);
	if (document.layers) window.captureEvents(Event.MOUSEUP);
	window.onmousedown=right;
	window.onmouseup=right;
//  End -->

<!--
function MM_displayStatusMsg(msgStr) { 
  	status=msgStr;
 	 document.MM_returnValue = true;
}
// End -->
 
function loadOne(iframe1URL) 
{ 
parent.MAIN.location.href=iframe1URL 
} 

// End -->
<!--
var message="Legal notice: You may not copy any resources from this disk";
function clickIE4(){
if (event.button==2){
alert(message);
return false;
}
}
function clickNS4(e){
if (document.layers||document.getElementById&&!document.all){
if (e.which==2||e.which==3){
alert(message);
return false;
}
}
}
if (document.layers){
document.captureEvents(Event.MOUSEDOWN);
document.onmousedown=clickNS4;
}
else if (document.all&&!document.getElementById){
document.onmousedown=clickIE4;
}
document.oncontextmenu=new Function("alert(message);return false")
// --> 

function rfalse() 
{ 
return false; 
} 
function no_sel(l) 
{ 
if(document.attachEvent) 
{ 
for(var i=0; i<l; i++) 
{ 
document.getElementById('no_sel_' + i).attachEvent('onselectstart', rfalse); 
} 
} 
} 
//-->

<!-- Begin
function changeScrollbarColor(C) {
if (document.all) {
document.body.style.scrollbarBaseColor = C;
   }
}
//  End -->
