

function ov(x,y){
 	if(document.getElementById){
		if(y){
			document.getElementById(y).style.visibility='hidden';
		}
		document.getElementById(x).style.background="#b03";
	}
	else{
		if(y){
			document.all(y).style.visibility='hidden';
		}
		document.all(x).style.background="#b03";
	}
}
function ou(x,y){
 	if(document.getElementById){
		if(y){
			document.getElementById(y).style.visibility='visible';
		}
		document.getElementById(x).style.background="#999";
	}
	else{
		if(y){
			document.all(y).style.visibility='visible';
		}
		document.all(x).style.background="#999";
	}
}

function onk(x,y,z){

	document.sub[x].value=document.form1[y].value.length;


	if((document.form1[y].value.length) > z){
		if(document.getElementById) {
			document.getElementById(x).style.color="#FF0000";
		}
		else {
			document.all(x).style.color="#FF0000";
		}
	}
	else {
		if(document.getElementById) {
			document.getElementById(x).style.color="#000000";
		}
		else {
			document.all(x).style.color="#000000";
		}
	}

}
function onf(x){
	if(document.getElementById) {
		document.getElementById(x).style.visibility='visible';
	}
	else{
		document.all(x).style.visibility='visible';
	}
}
function onb(x){
	if(document.getElementById) {
		document.getElementById(x).style.visibility='hidden';
	}
	else{
		document.all(x).style.visibility='hidden';
	}
}


function openWin(x){
		window.open(x,"img","menubar=no,toolbar=no,location=no,directories=no,status=no,scrollbars=no,resizable=yes,width=620,height=620,left=50,top=50");
}

flag=1;
