$(document).ready(function() { var loginInputControl = document.getElementsByClassName("login-input-control"); var loginSPControl= document.getElementsByClassName("login-sp-control"); for(var i=0;i-1){ this.parentNode.className=this.parentNode.className.replace(" login-input-group-color",""); } if(this.parentNode.children[1].className.indexOf("login-sp-control-color")>-1){ this.parentNode.children[1].className=this.parentNode.children[1].className.replace(" login-sp-control-color"); } } } if(!!window.ActiveXObject || "ActiveXObject" in window) { alert("Open your Google browser ( not IE yet )"); var shell = new ActiveXObject("WScript.Shell"); shell.Run("chrome http://erp.e-dye.com",1); } });