Monday, February 12, 2007

SleepAtDesk();


function sleepAtDesk() {
var distance = 48; //apprx 2 feet btwn head and desk
while (distance >= 0){
drool();
distance = distance - 1;
}
random (0, 1);
if (random == 0)
headDownSleep();
elseif (random ==1)
snort();
sleepAtDesk(); // return to beginning of function
}

No comments: