Hi, try using isNaN()
if (isNaN(_myColor)){
//do something when NaN
}else{
//do another thing when is a color
}
PS ...Post trimmed. ;-)
Mike
--
Teoti Graphix, LLC
http://www.teotigraphix.com
Teoti Graphix Blog
http://www.blog.teotigraphix.com
You can find more by solving the problem then by 'asking the question'.

