Fixed IE issue now compatible with IE7,IE8,IE9 and IE10