Index: schedule/function/SplitDelete.php
===================================================================
--- schedule/function/SplitDelete.php	(revision 16422)
+++ schedule/function/SplitDelete.php	(revision 16507)
@@ -26,5 +26,20 @@
 			button.setAttribute('id','btnAddTime'),
 			button.onclick=function(){
-			if($('#Time1').val() != ""){ timeValue = $('#Time1').val();  meas = "disabled"; meas2 = true;    split1();    }else{   alert("please enter value for time to add measurement");   }
+			if($('#Time1').val() != ""){  var splitting = $('#Time1').val().split(':'); var add = 01;   
+
+			timeValue = pad((Number(splitting[0]) + Number(add)),2)+':'+splitting[1]; 
+
+						function pad(number, length) {
+				   
+							var str = '' + number;
+							while (str.length < length) {
+								str = '0' + str;
+							}
+				   
+						return str;
+
+						}
+
+			 meas = "name"; meas2 = "time";    split1();    }else{   alert("please enter value for time to add measurement");   }
 
 				
@@ -107,7 +122,21 @@
 			button.onclick= function()
 			{
-			  meas = "name"; meas2 = "time";
-				timeValue = "";
-				split1();
+			 if($('#Time1').val() != ""){  var splitting = $('#Time1').val().split(':'); var add = 30;   
+
+			timeValue =pad(splitting[0],2)+':'+ pad((Number(splitting[1]) + Number(add)),2); 
+
+						function pad(number, length) {
+				   
+							var str = '' + number;
+							while (str.length < length) {
+								str = '0' + str;
+							}
+				   
+						return str;
+
+						}
+
+			 meas = "name"; meas2 = "time";    split1();    }else{   alert("please enter value for time to add measurement");   }
+
 				 
 				
@@ -156,5 +185,18 @@
 			button.setAttribute('id','btnAddTime'),
 			button.onclick=function(){
-			if($('#Time2').val() != ""){ timeValue = $('#Time2').val();  meas = "disabled"; meas2 = true;    split();    }else{   alert("please enter value for time to add measurement");   }
+			if($('#Time2').val() != ""){ var splitting = $('#Time2').val().split(':'); var add = 01;   
+
+			timeValue = pad((Number(splitting[0]) + Number(add)),2)+':'+splitting[1]; 
+
+						function pad(number, length) {
+				   
+							var str = '' + number;
+							while (str.length < length) {
+								str = '0' + str;
+							}
+				   
+						return str;
+
+						}  meas = "name"; meas2 = "time";   split();    }else{   alert("please enter value for time to add measurement");   }
 
 				
@@ -233,7 +275,20 @@
 			button.onclick= function()
 			{
-				 meas = "name"; meas2 = "time";
-				timeValue = "";
-				split();
+				 if($('#Time2').val() != ""){  var splitting = $('#Time2').val().split(':'); var add = 30;   
+
+			timeValue =pad(splitting[0],2)+':'+ pad((Number(splitting[1]) + Number(add)),2); 
+
+						function pad(number, length) {
+				   
+							var str = '' + number;
+							while (str.length < length) {
+								str = '0' + str;
+							}
+				   
+						return str;
+
+						}
+
+			 meas = "name"; meas2 = "time";    split();    }else{   alert("please enter value for time to add measurement");   }
 				 
 			}
@@ -294,5 +349,18 @@
 			button.setAttribute(meas,meas2),
 			button.onclick=function(){
-			if($('#Time'+cnt).val() != ""){ timeValue = $('#Time'+cnt).val();  meas = "disabled"; meas2 = true;    split1();    }else{   alert("please enter value for time to add measurement");   }
+			if($('#Time'+cnt).val() != ""){var splitting = $('#Time'+cnt).val().split(':'); var add = 01;   
+
+			timeValue = pad((Number(splitting[0]) + Number(add)),2)+':'+splitting[1]; 
+
+						function pad(number, length) {
+				   
+							var str = '' + number;
+							while (str.length < length) {
+								str = '0' + str;
+							}
+				   
+						return str;
+
+						}   meas = "name"; meas2 = "time";    split1();    }else{   alert("please enter value for time to add measurement");   }
 
 				
@@ -373,7 +441,20 @@
 				button.setAttribute('value','Split'),
 				button.onclick=function(){
-				timeValue = "";
-				meas = "name"; meas2 = "time";
-					split();
+				 if($('#Time'+cnt).val() != ""){  var splitting = $('#Time'+cnt).val().split(':'); var add = 30;   
+
+			timeValue =pad(splitting[0],2)+':'+ pad((Number(splitting[1]) + Number(add)),2); 
+
+						function pad(number, length) {
+				   
+							var str = '' + number;
+							while (str.length < length) {
+								str = '0' + str;
+							}
+				   
+						return str;
+
+						}
+
+			 meas = "name"; meas2 = "time";    split();    }else{   alert("please enter value for time to add measurement");   }
 				}
 			);
@@ -435,5 +516,18 @@
 			button.setAttribute(meas,meas2),
 			button.onclick=function(){
-			if($('#Time'+cnt).val() != ""){ timeValue = $('#Time'+cnt).val();  meas = "disabled"; meas2 = true;    split1();    }else{   alert("please enter value for time to add measurement");   }
+			if($('#Time'+cnt).val() != ""){ var splitting = $('#Time'+cnt).val().split(':'); var add = 01;   
+
+			timeValue = pad((Number(splitting[0]) + Number(add)),2)+':'+splitting[1]; 
+
+						function pad(number, length) {
+				   
+							var str = '' + number;
+							while (str.length < length) {
+								str = '0' + str;
+							}
+				   
+						return str;
+
+						}  meas = "name"; meas2 = "time";   split1();    }else{   alert("please enter value for time to add measurement");   }
 
 				
@@ -515,7 +609,20 @@
 				button.setAttribute('value','Split'),
 				button.onclick=function(){
-				timeValue = "";
-				meas = "name"; meas2 = "time";
-					split1();
+				 if($('#Time'+cnt).val() != ""){  var splitting = $('#Time'+cnt).val().split(':'); var add = 30;   
+
+			timeValue =pad(splitting[0],2)+':'+ pad((Number(splitting[1]) + Number(add)),2); 
+
+						function pad(number, length) {
+				   
+							var str = '' + number;
+							while (str.length < length) {
+								str = '0' + str;
+							}
+				   
+						return str;
+
+						}
+
+			 meas = "name"; meas2 = "time";    split();    }else{   alert("please enter value for time to add measurement");   }
 				}
 			);
