k=-78;
function show_panel(){
	if(k < 1){
		document.getElementById("panel").style.marginTop = k;
		k=k+2;
		//document.getElementById("panel").style.marginLeft = 0;
		setTimeout("show_panel();",1)
	}
}

function hide_panel(){
	if(k > -79){
		document.getElementById("panel").style.marginTop = k;
		k=k-2;
		setTimeout("hide_panel();",1);
	}
}

show_hide = 0;
function panel_click(){
	if(show_hide==0){
		show_panel();
		show_hide = 1;
	}
	else{
		hide_panel();
		show_hide = 0;
	}
}

function roll_img(idd,src){
	idd.src=src;
}


/*copy from general.js*/

function itemMouseOver(idd){
	idd.style.color = "#ff0000";
	idd.style.cursor = "pointer";
}

function itemMouseOut(idd){
	idd.style.color = "#000099";
	idd.style.textDecoration="none";
}

function whiteMouseOver(idd){
	/*if(idd.style.color=="#FF0000"){
		idd.style.color="#FF0000";
	}
	else{*/	
		idd.style.color="#00ffff";
		idd.style.cursor="pointer";
	//}
}

function whiteMouseOut(idd){
	if(idd.style.color=="#FF0000"){
		idd.style.color="#FF0000";
	}
	else{	
		idd.style.color="#CFE0EE";
		idd.style.textDecoration="none";
	}
}

function whiteBold(idd,k){
	idd.style.fontWeight="900";
	idd.style.textDecoration="none";
	for(i=1;i<k;i++){
		pic = "pic" + i;
		document.getElementById(pic).style.color="#CFE0EE";
	}
	idd.style.color="#FF0000";
}
