function valColor1()
{
var c=0

if (wigs1.on0.value!="-") 
{c = 1}

else if (wigs1.os0.value!="-") 
{c = 1}

else if (wigs1.on1.value!="-") 
{c = 1}

if (c == 0) 
{alert('You must select a color.\n\nClick inside one of the \"Select Color\"\nboxes to select a color code');
return false;}

else if(c == 1)

{return true;}

}


function valColor2()
{
var c=0

if (wigs2.on0.value!=".") 
{c = 1}

else if (wigs2.os0.value!="..") 
{c = 1}

else if (wigs2.on1.value!="...") 
{c = 1}
if (c == 0) 
{alert('You must select a color.\n\nClick inside one of the \"Select Color\"\nboxes to select a color code');
return false;}

else if(c == 1)

{return true;}
}


function valColor3()
{
var c=0

if (wigs3.on0.value!=".") 
{c = 1}

else if (wigs3.os0.value!="..") 
{c = 1}

else if (wigs3.on1.value!="...") 
{c = 1}

if (c == 0) 
{alert('You must select a color.\n\nClick inside one of the \"Select Color\"\nboxes to select a color code');
return false;}

else if(c == 1)

{return true;}
}


function valColor4()
{
var c=0

if (wigs4.on0.value!=".") 
{c = 1}

else if (wigs4.os0.value!="..") 
{c = 1}

else if (wigs4.on1.value!="...") 
{c = 1}

if (c == 0) 
{alert('You must select a color.\n\nClick inside one of the \"Select Color\"\nboxes to select a color code');
return false;}

else if(c == 1)

{return true;}
}


function valColor5()
{
var c=0

if (wigs5.on0.value!=".") 
{c = 1}

else if (wigs5.os0.value!="..") 
{c = 1}

else if (wigs5.on1.value!="...") 
{c = 1}

if (c == 0) 
{alert('You must select a color.\n\nClick inside one of the \"Select Color\"\nboxes to select a color code');
return false;}

else if(c == 1)

{return true;}
}


function valColor6()
{
var c=0

if (wigs6.on0.value!=".") 
{c = 1}

else if (wigs6.os0.value!="..") 
{c = 1}

else if (wigs6.on1.value!="...") 
{c = 1}

if (c == 0) 
{alert('You must select a color.\n\nClick inside one of the \"Select Color\"\nboxes to select a color code');
return false;}

else if(c == 1)

{return true;}
}


function valColor7()
{
var c=0

if (wigs7.on0.value!=".") 
{c = 1}

else if (wigs7.os0.value!="..") 
{c = 1}

else if (wigs7.on1.value!="...") 
{c = 1}

if (c == 0) 
{alert('You must select a color.\n\nClick inside one of the \"Select Color\"\nboxes to select a color code');
return false;}

else if(c == 1)

{return true;}
}


function valColor8()
{
var c=0

if (wigs8.on0.value!=".") 
{c = 1}

else if (wigs8.os0.value!="..") 
{c = 1}

else if (wigs8.on1.value!="...") 
{c = 1}

if (c == 0) 
{alert('You must select a color.\n\nClick inside one of the \"Select Color\"\nboxes to select a color code');
return false;}

else if(c == 1)

{return true;}
}
