ONload funtion change