var curlocation = location.href; if(curlocation.indexOf("http://metadata.nbii.gov")!=-1) { gkey = "ABQIAAAAMunL2PF_-ibJlwJr-tMA8RRDKhQxe_HgJHG-OYZxjRlm45-1SBRIQRr8vCQTyEbnPy8K2S9o5rddGw"; } else if(curlocation.indexOf("http://mercdev3.ornl.gov")!=-1) { gkey = "ABQIAAAAMunL2PF_-ibJlwJr-tMA8RQx4LHPm-99MtH4qsU57UOlk9_xkxTvQ5m6O1j-LhA0ksaDR80nWSFugQ"; } else if(curlocation.indexOf("http://devportal.nbii.gov")!=-1) { gkey = "ABQIAAAAMunL2PF_-ibJlwJr-tMA8RQLuipRujvM7qWlxjrJnIe2s1oi8xTSFwtaQrDYa8ye7QCQV79PJBQcQg"; } else if(curlocation.indexOf("http://mercury-dev.ornl.gov")!=-1) { gkey = "ABQIAAAAMunL2PF_-ibJlwJr-tMA8RTNxbzXnsENtbbDkSg7-muyOrR_TRSySze0ZLAWEg_-rmxiGmamVdH8XA"; } else if(curlocation.indexOf("http://daacrd.ornl.gov")!=-1) { gkey = "ABQIAAAAlS3JK-ZqWSF9DvlsVuKDyBRZk5Wg-W_mx71Gu3Eqp75BLb0HBhTkCPsJ5PaTBqA7Z2UN-MQwLoJ76w"; } else if(curlocation.indexOf("http://prototype.dataone.org/pilotcatalog")!=-1) { gkey = "ABQIAAAAlS3JK-ZqWSF9DvlsVuKDyBQEi8So3Hp4tWRC27GOKsRqHL7j0hTH4N3dttWJ0FVMivjke4r9eO8mxQ"; } else if(curlocation.indexOf("cn-dev.dataone.org")!=-1) { gkey = "ABQIAAAAhu7ZzoapDAMojvQIlFWa2xRTgBbIYGV_NA3GDkHAhutlDymbaBT18vYRvirplXlJthkQmYQPEwM_Ng"; } else if(curlocation.indexOf("cn-dev-2.dataone.org")!=-1) { gkey = "ABQIAAAAlS3JK-ZqWSF9DvlsVuKDyBQf6BkqCff3kd6XOFTBrMw1Nv7_iRTWFFd5DgyrpNUsRG08SH-4JpVM-g"; } else if ((curlocation.indexOf("cn-dev-3.dataone.org") !== -1) || (curlocation.indexOf("cn-dev-rr.dataone.org") !== -1) || (curlocation.indexOf("cn-sandbox-rr.dataone.org") !== -1) || (curlocation.indexOf("cn-sandbox-ucsb-1.dataone.org") !== -1) || (curlocation.indexOf("cn-sandbox-orc-1.dataone.org") !== -1) || (curlocation.indexOf("cn-sandbox-unm-1.dataone.org") !== -1)) { gkey = "AIzaSyDG-IjgJB7M6ySY_DzB-ubuIWiX-Cma8Jw"; } else if(curlocation.indexOf("cn.dataone.org")!=-1) { gkey = "ABQIAAAAlS3JK-ZqWSF9DvlsVuKDyBQeSVgniQmrIwOXFpLeToaRJdxWixSl24DjoNiA9ETAhfEu54RI34I4sQ"; } else { gkey = "ABQIAAAAMunL2PF_-ibJlwJr-tMA8RTkFTU-bOiazHtZ0nNnypynHqSO4hRZnPrnn0_VUhIEMt-cWpvnGi2-Kg"; } tag = "";