function cheknewuserlogin(){
	var lisl = document.contctusform.listmail.value
	var un = document.contctusform.name.value
	var up1 = document.contctusform.message.value
	var um = document.contctusform.email.value
	if ((lisl.length<1)){
	alert ('Please entr selected listmail') ;
	document.contctusform.listmail.focus();	
    }else if ((un.length<1)||(un.substring(0,4)=="****")){
	alert ('Please entr name ') ;
	document.contctusform.name.style.color ="#FF0000";
	document.contctusform.name.value="****";
	document.contctusform.name.focus();
	}else if ((um.length<1)||(um.substring(0,4)=="****")){
	alert ('Please entr E-Mail') ;
	document.contctusform.email.style.color ="#FF0000";
	document.contctusform.email.value="****";
	document.contctusform.email.focus();
	}else if(um.indexOf("@")<3){
	alert ('Please entr E-Mail') ;
	document.contctusform.email.style.color ="#FF0000";
	document.contctusform.email.value="****";
	document.contctusform.email.focus();
	}else if (((up1.length<1)||(up1.substring(0,4)=="****"))){
	alert ('Please entr message') ;
	document.contctusform.message.style.color ="#FF0000";
	document.contctusform.message.value="****";
	document.contctusform.message.focus();
	}else {
	document.contctusform.submit();
	}
	}
/*************************************/


function makeRound(){var els = document.getElementsByTagName('div'); 
for(var i=0; el=els[i]; i++) if(el.className.indexOf('round')>-1 && el.firstChild && el.firstChild.className!='t') el.innerHTML = '<b class="t"><b class="r"></b></b><div class="c"><b class="br"></b>'+el.innerHTML+'<b class="br"></b></div><b class="b"><b class="r"><!----></b></b>';}



//window.onload = makeRound;

/*************************************************************
* The womOn() function will set the window.onload function to
* be womGo() which will run all of your window.onload
* functions.
*************************************************************/
function womOn(){

  window.onload = womGo;
}
/*************************************************************
* The womGo() function loops through the woms array and
* runs each function in the array.
*************************************************************/
function womGo(){
  for(var i = 0;i < woms.length;i++)
    eval(woms[i]);
}
/*************************************************************
* The womAdd() function will add another function to the woms
* array to be run when the page loads.
*************************************************************/
function womAdd(func){
  woms[woms.length] = func;
}

function controlTitleChange(title){
	
	document.getElementById('controlTitle').innerHTML = title;
}

function formElementsFocus(element,state){
	if(state == "on"){
		element.className = 'focused';
	}else{
		element.className = '';
	}
	
}



function formSubmit(id){
	document.getElementById(id).submit();
}
/*************************************************************
* The woms array holds all of the functions you wish to run
* when the page loads.
*************************************************************/
var woms = new Array();

womAdd('makeRound()');
womOn();

