
function clearcontent(){
		document.getElementById('content1').style.visibility='hidden';
		document.getElementById('content2').style.visibility='hidden';
		document.getElementById('content3').style.visibility='hidden';
		document.getElementById('content4').style.visibility='hidden';
		document.getElementById('content5').style.visibility='hidden';
		document.getElementById('content6').style.visibility='hidden';
		document.getElementById('content7').style.visibility='hidden';
		document.getElementById('content8').style.visibility='hidden';
		document.getElementById('content9').style.visibility='hidden';
		document.getElementById('content10').style.visibility='hidden';
		document.getElementById('iframex').style.visibility='hidden';
		}
function Form1_validate(theForm)
		{

			valid = true;
			document.Form1.Fname.style.backgroundColor = '#9FE1FD';
			document.Form1.Email.style.backgroundColor = '#9FE1FD';

				if ( document.Form1.Fname.value == "" )
				{

					document.Form1.Fname.focus();
					document.Form1.Fname.style.backgroundColor = '#feb3b3';
					alert ( "Please fill in the 'First Name' box." );
					valid = false;
				}

				if ( document.Form1.Email.value == "" )
				{

					document.Form1.Email.focus();
					document.Form1.Email.style.backgroundColor = '#feb3b3';
					alert ( "Please fill in the 'Email Address' box." );
					valid = false;
				}

				var email = document.Form1.Email.value;
    			var filter = /^([a-zA-Z0-9_.-])+@(([a-zA-Z0-9-])+.)+([a-zA-Z0-9]{2,4})+$/;
    			if (!filter.test(email))
    			{
    				document.Form1.Email.style.backgroundColor = '#feb3b3';
    				alert('Please Enter valid EMAIL address');
    				document.Form1.Email.focus();
    				valid = false;
    			}
			return valid;
		}

function general_validate(theForm)
		{

			valid = true;
			document.general.Fname.style.backgroundColor = '#9FE1FD';
			document.general.Email.style.backgroundColor = '#9FE1FD';

				if ( document.general.Fname.value == "" )
				{

					document.general.Fname.focus();
					document.general.Fname.style.backgroundColor = '#feb3b3';
					alert ( "Please fill in the 'First Name' box." );
					valid = false;
				}

				if ( document.general.Email.value == "" )
				{

					document.general.Email.focus();
					document.general.Email.style.backgroundColor = '#feb3b3';
					alert ( "Please fill in the 'Email Address' box." );
					valid = false;
				}

				var email = document.general.Email.value;
    			var filter = /^([a-zA-Z0-9_.-])+@(([a-zA-Z0-9-])+.)+([a-zA-Z0-9]{2,4})+$/;
    			if (!filter.test(email))
    			{
    				document.general.Email.style.backgroundColor = '#feb3b3';
    				alert('Please Enter valid EMAIL address');
    				document.general.Email.focus();
    				valid = false;
    			}

				if ( document.general.Instruction.value == "" )
				{

					document.general.Instruction.focus();
					document.general.Instruction.style.backgroundColor = '#feb3b3';
					alert ( "Please fill in the 'Comment' box." );
					valid = false;
				}

			return valid;
		}

//Generate transition CSS (transition=0 to 23)
document.write('<STYLE TYPE="text/css">.imgTrans{ filter:revealTrans(duration=0.1,transition=12) }</STYLE>');

//Uncomment the next line for fading rollovers instead of dissolving:
//document.write('<STYLE TYPE="text/css">.imgTrans{ filter:blendTrans(duration=0.3) }</STYLE>');

var onImages=new Array();
function Rollover(imgName, imgSrc)
{
	onImages[imgName] = new Image();
	onImages[imgName].src = imgSrc;
}

function turnOn(imgName){
	if(document.images[imgName].filters != null)
		document.images[imgName].filters[0].apply();
	document.images[imgName].offSrc = document.images[imgName].src;
	document.images[imgName].src    = onImages[imgName].src;
	if(document.images[imgName].filters != null)
		document.images[imgName].filters[0].play();
}

function turnOff(imgName){
	if(document.images[imgName].filters != null)
		document.images[imgName].filters[0].stop();
	document.images[imgName].src = document.images[imgName].offSrc;
}

//Specify name of participating images, plus paths to their onMouseover replacements:
Rollover("menu1",  "./menus/mju_b1_over.jpg");
Rollover("menu2",  "./menus/mju_b2_over.jpg");
Rollover("menu3",  "./menus/mju_b3_over.jpg");
Rollover("menu4",  "./menus/mju_b4_over.jpg");
Rollover("menu5",  "./menus/mju_b5_over.jpg");
Rollover("menu6",  "./menus/mju_b6_over.jpg");
Rollover("menu7",  "./menus/mju_b7_over.jpg");
Rollover("menu8",  "./menus/mju_b8_over.jpg");
Rollover("menu9",  "./menus/mju_b9_over.jpg");
Rollover("menu10",  "./menus/mju_b10_over.jpg");
Rollover("menu11",  "./menus/mju_b11_over.jpg");




