
function clearText(thefield){
if (thefield.defaultValue==thefield.value)
thefield.value = ""
}


function capitalizeMe(obj) {
        val = obj.value;
        newVal = '';
        val = val.split(' ');
        for(var c=0; c < val.length; c++) {
                newVal += val[c].substring(0,1).toUpperCase() +
val[c].substring(1,val[c].length) + ' ';
        }
        obj.value = newVal;
}



function outputStringToDisplay() { }

function validateForm() {
with (document.thisform) {
var alertMsg = "The following REQUIRED fields\nhave been left empty:\n";
if (name.value == "") alertMsg += "\nFirst Name";
if (from.value == "") alertMsg += "\nEmail";
 
if (alertMsg != "The following REQUIRED fields\nhave been left empty:\n") {
alert(alertMsg);
return false;
} else {
return true;
} } }




 

function choc1a() {
var content = document.getElementById('content'); 

mylevel='newbie';

content.innerHTML='<input type="hidden" name="category1" value="bluesnewbie1" />';

 
} //end function









function choc1b() {
var content = document.getElementById('content'); 

mylevel='beginner';
 

content.innerHTML='<input type="hidden" name="category1" value="bluesbeginner1" />';

  

 
} //end function

 



function choc1c() {
var content = document.getElementById('content'); 
 
 



content.innerHTML='<input type="hidden" name="category1" value="bluesintermediate1" />';

  
 
} //end function

 

function choc1d() {
var content = document.getElementById('content'); 
 


content.innerHTML='<input type="hidden" name="category1" value="bluesadvanced" />';
 

 
} //end function

 

function choc1e() {
var content = document.getElementById('content'); 

mylevel='elite';


  


content.innerHTML='<input type="hidden" name="category1" value="blueselite" />';

  

 
} //end function

 










function choczz() {
var content = document.getElementById('content'); 
 
} //end function
 
function clearText(thefield){
if (thefield.defaultValue==thefield.value)
thefield.value = ""
}


function capitalizeMe(obj) {
        val = obj.value;
        newVal = '';
        val = val.split(' ');
        for(var c=0; c < val.length; c++) {
                newVal += val[c].substring(0,1).toUpperCase() +
val[c].substring(1,val[c].length) + ' ';
        }
        obj.value = newVal;
}



function outputStringToDisplay() { }

function validateForm() {
with (document.thisform) {
var alertMsg = "The following REQUIRED fields\nhave been left empty:\n";
if (name.value == "") alertMsg += "\nFirst Name";
if (from.value == "") alertMsg += "\nEmail";
 
if (alertMsg != "The following REQUIRED fields\nhave been left empty:\n") {
alert(alertMsg);
return false;
} else {
return true;
} } }



