// <!--
// Site Login Validation

function sendform(){

if ((!(document.theReflex.prefix.value)) || (document.theReflex.prefix.value == "MyGroup") || (document.theReflex.prefix.value == "www") || (document.theReflex.prefix.value == "WWW")) {
		alert("Please enter a Subdomain name\nex. 'MyGroup'\n\nYour intranet address would then be:\nhttp://MyGroup.Intranets.com/");
        return false;
	}

	var prefix;
	for ( i = 0; i < document.forms[0].elements.length; i++ ) { 
         var name = document.forms[0].elements[i].name; 
         name = name + ""; 
         if ( name == "prefix" ) { 
            prefix = document.forms[0].elements[i].value; 
         }
     } 
    var hostname = "http://" + prefix + ".intranets.com/login.asp";
    document.forms[0].action= hostname
    document.forms[0].submit(); 
  return false;
	} 
 
 // Site Login Image-submit
 
 function czech(theReflex) {
 	if (sendform())
         theReflex.submit();
 }
 
 // -->