



top.window.moveTo(0,0);
if (document.all) {
top.window.resizeTo(screen.availWidth,screen.availHeight);
}
else if (document.layers||document.getElementById) {
if (top.window.outerHeight<screen.availHeight||top.window.outerWidth<screen.availWidth){
top.window.outerHeight = screen.availHeight;
top.window.outerWidth = screen.availWidth;
}
}

function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
src="images.js"

preload('imageA','main_pics/link.jpg')
preload('imageB','main_pics/Cavadee.jpg')

function change(id,value)
{
if (value=="on")
document.getElementById(id).style.display = "block";
else
document.getElementById(id).style.display = "none";
}
function changeright(id)
{
document.getElementById("right-normal").style.display = "none";
document.getElementById("right-licence").style.display = "none";
document.getElementById("right-forum").style.display = "none";
document.getElementById("advertise").style.display = "none";
document.getElementById("right-weather").style.display = "none";
document.getElementById("returnmessage").style.display = "none";
document.getElementById(id).style.display = "block";
if (id !="right-normal")
document.getElementById("returnmessage").style.display = "block";
}