Possible Duplicate:
Detect 64-bit or 32-bit Windows from User Agent or Javascript?
I just downloaded itunes from the Apple website and when I clicked download it automatically downloaded the x64 version as I am on a 64 bit machine. Does anyone know how the website is able to detect what architecture I am using? Is it and can it be done with javascript? If so how?