var OLDWHO="";

function movein(which){
which.style.background='white'
}

function moveout(which){
which.style.background='#F8FAB7'
}


function moveinhistory(which){
which.style.background='#006699'
}

function moveouthistory(which){
which.style.background='#0F558E'
}

function GO(html){
window.location=html;
}

function SHOWHIDE(WHO){
if (document.all.item(WHO).className=="off"){
document.all.item(WHO).className="on";
	if (OLDWHO ==""){
	OLDWHO=WHO;
	}else{	
	document.all.item(OLDWHO).className="off";
	OLDWHO=WHO;
	}
}
}

if (parent.frames.length > 0) 
{
    parent.location.href = self.document.location
}



function openpopup(popurl)
{
scwd=screen.width;
winpops=window.open(popurl,'link1',"left=200,top=100,width=580,height=600,scrollbars=1,resizable=yes");
}

function openpopup1(popurl, left, top, width, height)
{
scwd=screen.width;
winpops=window.open(popurl,'link1',"left=left,top=top,width=width, height=height,scrollbars=1,resizable=yes");
}

function navto(url)
{
window.open(url);
}

function show(tableID){
	OBJ="s" + tableID;
		if (document.all.item(OBJ).className == "off")
		{
			document.all.item(OBJ).className = "on";
		}
}

function hide(tableID){
	OBJ="s" + tableID;
		if (document.all.item(OBJ).className == "on")
		{
			document.all.item(OBJ).className = "off";
		}
}

//Functions for Rotary members search facility

function validateFrm1(){
if (this.form1.club.options[this.form1.club.options.selectedIndex].value == "0") {
alert("Please select a club");
return false;
}
	}

function validateFrm2(){
if (this.form2.title.options[this.form2.title.options.selectedIndex].value == "0") {
alert("Please select a Title");
return false;
}
	}
	
function validateFrm3(){
if (this.form3.Mname.value == "") {
alert("Please enter a members name to search");
return false;
}
	}
	
function validateFrm4(){
if (this.form4.keyword.value == "") {
alert("Please enter a keyword to search");
return false;
}
	}
//Rnd of Functions for Rotary members search facility
