casting index page