location is a bad way to reference the location object. Most browsers will act like the href is there. there is more then href that can go after location there is replace hash host hostname reload and some others so the best bet is to use the href Eric