I am using the Custom Code Validation Tool to fix issues before moving to CRM 2013. I get various problems incl. ORG_UNIQUE_NAME, ActiveXObject, firstChild, childNodes, text, DataValue, DefaultValue, innerText, etc. I am sure many others have the same issue so is there a good resource somewhere that lists the alternatives for CRM 2013? This would make things much easier and quicker than digging all this up in the SDK documentation.
Also how can I find out the CRM version so different program paths can be taken depending on the version?