Funny, I saw this and thought, piece of cake. Then I realized that if you delete in order of the pages, you then reorder the later pages and start deleting what should be an even page. For example, if I have pages 1, 2, 3, 4, and 5 and I get page count and start deleting the odd pages (1, 3, and 5), the first loop will delete page 1 which makes page 2 page 1, page 3 page 2, page 4 page 3, page 5 page 4. This is a problem. On the second loop, I tell InDesign to delete page 3 but I am actually deleting page 4. So 20 minutes of thought, here is a rough go at it.
The idea here is that you need to start at the end of the document so you ensure that you are not reordering. I use two lists. The first contains the number of all odd pages determined by a loop that is based on the total number of pages in the document {1,3,5,7...}. Once I have this list, I reverse it to I have {...7,5,3,1}. With the list reversed, it is a simple repeat loop to delete each odd page from the end of the document forward.
Hope this helps. Nice challenge.
--Define some lists
property oddPageList : {}
property oddPageListReverse : {}
tell application "Adobe InDesign CS3"
tell document 1
--defines some basic variables
set pageCount to count of pages
set i to 0
repeat until i = pageCount
set i to i + 1
--figure out which pages are odd numbers and append to first list
if i mod 2 > 0 then
set the end of oddPageList to i
end if
end repeat
--revers the order of the list so you delete from the end of the document forward
set oddPageListReverse to (reverse of oddPageList)
repeat with i in oddPageListReverse
--delete the pages in reverse order
delete page i
end repeat
end tell
end tell