revised colorbox script