﻿var CurrentInfoId = 0;
function ShowInfo(id,link){	
	HideInfo();
	try{document.getElementById("WSP_Info_Title_"+id).innerHTML = link.title;}catch(ex){}
	try{document.getElementById("WSP_Info_"+id).style.display = "block";}catch(ex){}
	CurrentInfoId = id;
}
function HideInfo(){
	try{document.getElementById("WSP_Info_"+CurrentInfoId).style.display = "none";}catch(ex){}
	if(CurrentInfoId > 0){
		document.getElementById("WSP_Info_0").style.display = "block";
		CurrentInfoId = 0;
	}
}

