Index: trunk/src/scriptbuilder/structures/ScriptIncident.java
===================================================================
--- trunk/src/scriptbuilder/structures/ScriptIncident.java	(revision 168)
+++ trunk/src/scriptbuilder/structures/ScriptIncident.java	(revision 195)
@@ -327,6 +327,8 @@
             if(((I_AudioEvent) ev).getID().equals(""))
             {
-                ((I_AudioEvent) ev).setID(number+Integer.toString(audioEventCount));
                 audioEventCount++;
+                //ternary expression here just prepends an extra 0 to the ID of the audioEvent if its eventcount is less than 10
+                ((I_AudioEvent) ev).setID(number+((audioEventCount<10)? "0"+Integer.toString(audioEventCount):Integer.toString(audioEventCount)));
+                
             }
             if(t.getCorrespondingAudioEvent((I_AudioEvent)ev)==null)
