<!-- منع نسخ الصور --> <script language="JavaScript1.2"> /* Disable right click script II (on images)- By Dynamicdrive.com For full source, Terms of service, and 100s DTHML scripts Visit http://www.dynamicdrive.com */ var clickmessage="ممنوع نسخ الصورة" function disableclick(e) { if (dcidcidcidcidocument.all) { if (event.button==2||event.button==3) { if (event.srcElement.tagName=="IMG"){ alert(clickmessage); return false; } } } else if (dcidcidcidcidocument.layers) { if (e.which == 3) { alert(clickmessage); return false; } } else if (dcidcidcidcidocument.getElementById){ if (e.which==3&&e.target.tagName=="IMG"){ alert(clickmessage) return false } } } function associateimages(){ for(i=0;i<dcidcidcidcidocument.images.length;i++) dcidcidcidcidocument.images[i].onmousedown=disableclick; } if (dcidcidcidcidocument.all) dcidcidcidcidocument.onmousedown=disableclick else if (dcidcidcidcidocument.getElementById) dcidcidcidcidocument.onmouseup=disableclick else if (dcidcidcidcidocument.layers) associateimages() </script> <!-- منع نسخ الصور -->