// JavaScript Document
var links= new Array();
links=[ "div1","div2","div3","div4","div_2008"];
var i = '';
function hideDiv() {
for (i=0;i<links.length;i++)
{
if (document.getElementById(links[i]))	document.getElementById(links[i]).style.display = "none";
}
}
function showDiv(divName) {
	for (i=0;i<links.length;i++){
		if (document.getElementById(links[i] != divName))	document.getElementById(links[i]).style.display = "none";
	}
	if (document.getElementById(divName)) document.getElementById(divName).style.display = (document.getElementById(divName).style.display == "none") ? "block" : "none";
	}
	

function ws(s){
window.status=s;return true;
}
function popup(lnk,w,h){
var popup = open(lnk,'','ScreenX=350,ScreenY=300,toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=0,width=' + w + ',height=' + h + "'");
}
function Jump(u)
{
window.location.href=u
}
var win=null;
var myleft,mytop,settings,w,h,pos,infocus=null;
function NewWindow(mypage,myname,w,h,pos,infocus){
if(pos=="random"){myleft=(screen.width)?Math.floor(Math.random()*(screen.width-w)):100;mytop=(screen.height)?Math.floor(Math.random()*((screen.height-h)-75)):100;}
if(pos=="center"){myleft=(screen.width)?(screen.width-w)/2:100;mytop=(screen.height)?(screen.height-h)/2:100;}
else if((pos!='center' && pos!="random") || pos==null){myleft=50;mytop=10}
settings="width=" + w + ",height=" + h + ",top=" + mytop + ",left=" + myleft + " ,scrollbars=yes,location=no,directories=no,status=no,menubar=no,toolbar=no,resizable=no";win=window.open(mypage,myname,settings);
win.focus();}