function isDefined(object, variable){
return (typeof((object)[variable]) == 'undefined')? false : true;
}
