function killErrors() {return true;}window.onerror = killErrors;
var is_NS = navigator.appName=="Netscape";
var is_Ver = parseInt(navigator.appVersion);
var is_NS4 = is_NS&&is_Ver>=4&&is_Ver<5;
var is_NS5up = is_NS&&is_Ver>=5;


var currentpos,timer; 
function initialize() 
{ 
timer=setInterval("scrollwindow()",10);
} 
function sc(){
clearInterval(timer);	
}
function scrollwindow() 
{ 
currentpos=document.body.scrollTop; 
window.scroll(0,++currentpos); 
if (currentpos != document.body.scrollTop) 
sc();
}
document.onmousedown=sc
document.ondblclick=initialize

var hex = new Array(6);
hex[0] = "FF"
hex[1] = "CC"
hex[2] = "99"
hex[3] = "66"
hex[4] = "33"
hex[5] = "00"
function drawCell(red, green, blue) {
	document.write('<TD BGCOLOR="#' + red + green + blue + '">')
	document.write('<A onclick="javascript:display(\'' + (red + green + blue) + '\')">')
	document.write('<IMG SRC="space.gif" BORDER=0 HEIGHT=12 WIDTH=12>')
	document.write('</A>')
	document.write('</TD>')
}
function drawRow(red, blue) {
	document.write('<TR>')
	for (var i = 0; i < 6; ++i) {
		drawCell(red, hex[i], blue)
	}
	document.write('</TR>')
}

function drawTable(blue) {
	document.write('<TABLE CELLPADDING=0 CELLSPACING=0 BORDER=0>')
	for (var i = 0; i < 6; ++i) {
		drawRow(hex[i], blue)
	}
	document.write('</TABLE>')	
}

function drawCube() {
	document.write('<TABLE CELLPADDING=5 CELLSPACING=0 BORDER=1><TR>')
	for (var i = 0; i < 6; ++i) {
		document.write('<TD BGCOLOR="#FFFFFF">')
		drawTable(hex[i])
		document.write('</TD>')
	}
	document.write('</TR></TABLE>')
}


function OsMD(url,w,h) {
	var LargessWin=window.showModelessDialog(url,"Largess","scroll:0;status:0;help:0;resizable:0;dialogWidth:"+w+"px;dialogHeight:"+h+"px");
}