  {
             m101 = new Image (244, 74);
             m101.src = "images/news_skeela01.gif";       
             m100 = new Image (244, 74);
             m100.src = "images/news_skeela.gif";

                                   }

			 {
             m201 = new Image (244, 74);
             m201.src = "images/news_soccer01.gif";       
             m200 = new Image (244, 74);
             m200.src = "images/news_soccer.gif";

                                   }

			 {
             m301 = new Image (244, 74);
             m301.src = "images/news_sportpool01.gif";       
             m300 = new Image (244, 74);
             m300.src = "images/news_sportpool.gif";

                                   }
								  
			 {
             m401 = new Image (244, 74);
             m401.src = "images/news_sportman01.gif";       
             m400 = new Image (244, 74);
             m400.src = "images/news_sportman.gif";

                                   }

			 {
             m501 = new Image (244, 74);
             m501.src = "images/news_jorgame01.gif";       
             m500 = new Image (244, 74);
             m500.src = "images/news_jorgame.gif";

                                   }	
								   
			 {
             m601 = new Image (244, 74);
             m601.src = "images/news_muay01.gif";       
             m600 = new Image (244, 74);
             m600.src = "images/news_muay.gif";

                                   }	

function unhighlight (imgName)

             {
             imgOff = eval(imgName + "0.src");
             document [imgName].src = imgOff;
             }

function highlight (imgName)

             {
             imgOn = eval(imgName + "1.src");
             document [imgName].src = imgOn;
             } 

//  check validate form
var errfound=false;

function error(elem,text) {
		if(errfound) return;
		window.alert(text);
	
		elem.focus();
		errfound=true;
}
function ValidLength(item,len) {
			return(item.length>=len)
		
}
function ValidEmail(item) {
			if (!ValidLength(item,11))
					return false;
			if (!item.indexOf('@',0) == -1)
					return false;
			return true;
			}
function Validate (){
	
		errfound=false;
	if(!ValidLength(document.na.name.value,1) )
				error(document.na.name,"Please type your name!");	
if(!ValidLength(document.na.email.value,1) )
				error(document.na.email,"Please type your email!");	
		if(!ValidLength(document.na.topic.value,1) )
				error(document.na.topic,"Please type your topic.");		
		if(!ValidLength(document.na.question.value,1) )
				error(document.na.question,"Please type some word.");
	if(!ValidEmail(document.na.email.value) )
				error(document.na.email,"Invalid Email");
		return 	!errfound;
}
function Validate2 (){
		errfound=false;
	if(!ValidLength(document.answer.anote.value,1) )
				error(document.answer.anote,"Please type your answer!");	
			if(!ValidLength(document.answer.aname.value,1) )
				error(document.answer.aname,"Please type your name.");		
		return 	!errfound;
}
function Validatem (){
		errfound=false;
	if(!ValidLength(document.member.mname.value,1) )
				error(document.member.mname,"Please type your Name!");	
			if(!ValidLength(document.member.Address1.value,1) )
				error(document.member.Address1,"Please fill your Address..");		
							if(!ValidLength(document.member.City.value,1) )
				error(document.member.City,"Please fill City.");		
								if(!ValidLength(document.member.Country.value,1) )
				error(document.member.Country," Please fill Country.");		
	if(!ValidEmail(document.member.email.value) )
				error(document.member.email,"Invalid Email");
		return 	!errfound;
}
function Validateadmin (){
		errfound=false;
	if(!ValidLength(document.loginfrm.Uname.value,1) )
				error(document.loginfrm.Uname,"Please type your Login Name!");	
			if(!ValidLength(document.loginfrm.Passw.value,1) )
				error(document.loginfrm.Passw,"Please type your password..");		
		return 	!errfound;
}
function Validateadd (){
		errfound=false;
	if(!ValidLength(document.bcl.sMonth.value,1) )
				error(document.bcl.sMonth,"Please choose topic");	
if(!ValidLength(document.bcl.sDay.value,1) )
				error(document.bcl.sDay,"Please fill your Name");	
		if(!ValidLength(document.bcl.lname.value,1) )
				error(document.bcl.lname,"Please fill your Lastname ");		
		if(!ValidLength(document.bcl.address1.value,1) )
				error(document.bcl.address1,"Please fill your address");
		if(!ValidLength(document.bcl.city.value,1) )
				error(document.bcl.city,"Please fill  City's name");	
		if(!ValidLength(document.bcl.phone.value,1) )
				error(document.bcl.phone,"Please fill your telephone number");
		if(!ValidEmail(document.bcl.email.value) )
				error(document.bcl.email,"Invalid Email");
		return 	!errfound;
}