// JavaScript Document

function loadImages()
{	var imgArr  = new Array(); 	for(var cnt=0; cnt<20; cnt++) 		imgArr[cnt] = new Image();  	imgArr[0].src = "images/bg.jpg";  	imgArr[1].src = "images/bac.png"; 	imgArr[2].src = "images/menu.jpg"; 	imgArr[3].src = "images/innerBG.jpg"; 	imgArr[4].src = "images/logo.jpg"; 	imgArr[5].src = "images/footer.png";  	imgArr[6].src = "images/newsLeft/topNews.jpg"; 	imgArr[7].src = "images/newsLeft/middleNews.jpg"; 	imgArr[8].src = "images/newsLeft/bottomNews.jpg";  	imgArr[9].src = "images/newsRight/top.jpg"; 	imgArr[10].src = "images/newsRight/middle.jpg"; 	imgArr[11].src = "images/newsRight/bottom.jpg";  	imgArr[12].src = "images/freeText/top.jpg"; 	imgArr[13].src = "images/freeText/middle.jpg"; 	imgArr[14].src = "images/freeText/bottom.jpg";  	imgArr[15].src = "images/forum.gif"; }


function showmenu(elmnt) { 	document.getElementById(elmnt).style.visibility="visible"; }
function hidemenu(elmnt){ document.getElementById(elmnt).style.visibility="hidden"; }
function onTD(id) { id.style.backgroundColor = '#3E95E6'; id.style.color = "#000000";}
function offTD(id) { id.style.backgroundColor = '#000000';	id.style.color = "#FFFFFF";}
function onTDDropDown(id) { id.style.backgroundColor = '#E4B54F'; id.style.color = "#FFFFFF"; }
function offTDDropDown(id) { id.style.backgroundColor = '#EBC677';	id.style.color = "#876214"; }