// JavaScript Document

function bg0(){if(navigator.appVersion.indexOf('MSIE 6.0')==-1){
document.write('<div style="position:absolute;\
							z-index:-1;\
							width:105%;\
							height:105%;\
							margin:-15px;" id=bg></div>');
for(var i=0;i<256;i++){
var div = document.createElement('div');
div.style.backgroundColor = 'RGB('+i+','+i+','+i+')';
div.style.height = '17px';
div.style.fontSize = '0';
div.style.position = 'relative';
document.getElementById('bg').appendChild(div);}
}}

function bg(num){
document.write('<div id=bg'+num+'></div>');
for(var i=50;i>30;i--){
var div = document.createElement('div');
div.style.backgroundColor = 'RGB('+i+','+i+','+i+')';
div.style.height = '27px';
if(i==31)div.style.height = '37px';
div.style.fontSize = '0';
document.getElementById('bg'+num).appendChild(div);}
}
function bga(num,fr,to,h){
document.write('<div id=bg'+num+'></div>');
for(var i=fr;i>to;i--){
var div = document.createElement('div');
div.style.backgroundColor = 'RGB('+i+','+i+','+i+')';
div.style.height = h+'px';
div.style.fontSize = '0';
document.getElementById('bg'+num).appendChild(div);}
}
