removed showdiv function