if(typeof var_name != 'undefined')

Advertisements