var hpList = new Array();
hpList[0]='1998';
hpList[1]='1999';
hpList[2]='2001';
hpList[3]='2002';
hpList[4]='2003';
hpList[5]='2005';
function switchHP(id) {
	var q;
	for(i=0;i<=hpList.length;i++) {
		q=document.getElementById('block'+hpList[i]);
		if (q) {
			q.style.display="none";
		}

		q=document.getElementById('link'+hpList[i]);
		if (q) {
			q.style.textDecoration="underline";
			q.style.color="#007fff";
		}
	}

	q = document.getElementById('block'+id);
	if (q) {
		q.style.display="block";
	}

	q = document.getElementById('link'+id);
	if (q) {
		q.style.textDecoration="none";
		q.style.color="#303030";
	}
}
function removePng() {
	if (/MSIE (\d+\.\d+);/.test(navigator.userAgent)){ //test for MSIE x.x;
		var ieversion=new Number(RegExp.$1) // capture x.x portion and store as a number
		if (ieversion>=8) {
		} else if (ieversion>=7) {
		}	else if (ieversion>=5) {
			removeImageInIE('topShadow');
			removeImageInIE('topCreative');
			var q=document.getElementById("contentWithBottomLight");
			if (q) {
				q.style.background="";
			}
		}
	}
}

function removeImageInIE(imageId) {
	var s = document.getElementById(imageId);
	if (s) {
		s.style.display="none";
	}
}


/* Alien code from this point */


//domCorners by Alessandro Fulciniti on http://web-graphics.com/mtarchive/001660.php

function DomCheck(){
return(document.createElement && document.getElementById)
}

function DomCorners(id,bk,h,tries){
var el=document.getElementById(id);
if(el==null){
    if(tries==null) tries=200;
    if(tries>0)
        setTimeout("DomCorners('"+id+"','"+bk+"',"+h+","+(--tries)+")",50);
    return;
    }
var c=new Array(4);
for(var i=0;i<4;i++){
    c[i]=document.createElement("b");
    c[i].style.display="block";
    c[i].style.height=h+"px";
    c[i].style.fontSize="1px";
    if(i%2==0)
        c[i].style.background="url("+bk+") no-repeat 0 -"+ i*h + "px";
    else
        c[i].style.background="url("+bk+") no-repeat 100% -"+ i*h + "px";
    }
c[0].appendChild(c[1]);
c[2].appendChild(c[3]);
el.style.padding="0";
el.insertBefore(c[0],el.firstChild);
el.appendChild(c[2]);
}