
var posX;
function MouseOver(bool){
	if (bool){
		document.all.combo.src = "js/inc/Combo_on.gif";
		document.all.txtSelect.style.border = "1 solid white";

	}else{
		document.all.combo.src = "js/inc/Combo_out.gif";
		document.all.txtSelect.style.border = "1 solid white";
		//document.all.boardList.style.display = "none";
	}
}

function MouseDown(){
	if (document.all.boardList.style.display == "none"){
		//document.all.txtSelect.value = "";
		document.all.combo.src = "js/inc/Combo_Click.gif";		
		document.all.boardList.style.display = "";
	}else{
		document.all.combo.src = "js/inc/Combo_on.gif";		
		document.all.boardList.style.display = "none";
	}
}

function showBoardList(bool){
	if (bool){
		document.all.boardList.style.display = "";
	}else{
		document.all.boardList.style.display = "none";	
	}
}

function MouseOnBoard(obj, bool){
	if (bool){
		obj.style.backgroundColor = "slategray";
		obj.style.color = "white";
		obj.style.cursor = "default";

	}else{
		obj.style.backgroundColor = "white";
		obj.style.color = "slategray";

	}	
}

function ClickBoardList(obj)
{
	document.all.txtSelect.value = obj.innerText;
	document.all.boardList.style.display = "none";
	
}
//-----------------------------------------------------------1

function MouseOver1(boo2){
	if (boo2){
		document.all.combo.src = "js/inc/Combo_on.gif";
		document.all.txtSelect1.style.border = "1 solid white";

	}else{
		document.all.combo.src = "js/inc/Combo_out.gif";
		document.all.txtSelect1.style.border = "1 solid white";
		//document.all.boardList.style.display = "none";
	}
}

function MouseDown1(){
	if (document.all.boardList1.style.display == "none"){
		//document.all.txtSelect.value = "";
		document.all.combo.src = "js/inc/Combo_Click.gif";		
		document.all.boardList1.style.display = "";
	}else{
		document.all.combo.src = "js/inc/Combo_on.gif";		
		document.all.boardList1.style.display = "none";
	}
}

function showBoardList1(boo2){
	if (boo2){
		document.all.boardList1.style.display = "";
	}else{
		document.all.boardList1.style.display = "none";	
	}
}

function MouseOnBoard1(obj, boo2){
	if (boo2){
		obj.style.backgroundColor = "slategray";
		obj.style.color = "white";
		obj.style.cursor = "default";

	}else{
		obj.style.backgroundColor = "white";
		obj.style.color = "slategray";

	}	
}

function ClickBoardList1(obj)
{
	document.all.txtSelect1.value = obj.innerText;
	document.all.boardList1.style.display = "none";
	
}

//---------------------------------------------------------------2
function MouseOver2(boo3){
	if (boo3){
		document.all.combo.src = "js/inc/Combo_on.gif";
		document.all.txtSelect2.style.border = "1 solid white";

	}else{
		document.all.combo.src = "js/inc/Combo_out.gif";
		document.all.txtSelect2.style.border = "1 solid white";
		//document.all.boardList.style.display = "none";
	}
}

function MouseDown2(){
	if (document.all.boardList2.style.display == "none"){
		//document.all.txtSelect.value = "";
		document.all.combo.src = "js/inc/Combo_Click.gif";		
		document.all.boardList2.style.display = "";
	}else{
		document.all.combo.src = "js/inc/Combo_on.gif";		
		document.all.boardList2.style.display = "none";
	}
}

function showBoardList2(boo3){
	if (boo3){
		document.all.boardList2.style.display = "";
	}else{
		document.all.boardList2.style.display = "none";	
	}
}

function MouseOnBoard2(obj, boo3){
	if (boo3){
		obj.style.backgroundColor = "slategray";
		obj.style.color = "white";
		obj.style.cursor = "default";

	}else{
		obj.style.backgroundColor = "white";
		obj.style.color = "slategray";

	}	
}

function ClickBoardList2(obj)
{
	document.all.txtSelect2.value = obj.innerText;
	document.all.boardList2.style.display = "none";
	
}