for(i in document.images)document.images[i].ondragstart=imgdragstart; function imgdragstart(){return false;}