what about doing if ( bolValue == true ) instead of bolValue == 'true' ? -----Original Message----- because if ( bolvalue ) { } is how booleans work. (bolValue =='true') works, but is not neccessary with a boolean variable.