function to get ld type added

Change-Id: I8cd1036dd986a409a52625b33c9e841a5fe92530
diff --git a/dev/js/src/vc.js b/dev/js/src/vc.js
index 05e48ad..d211830 100644
--- a/dev/js/src/vc.js
+++ b/dev/js/src/vc.js
@@ -332,6 +332,12 @@
       return this._root.toQuery();
     },
     
+    /*
+    * Returns ld type of associated doc, docGroup or unspecified doc 
+    */
+    getLdType:function(){
+    	return this._root.ldType();
+    },
        	
    	/**
    	* Adds Corpus Statistic Button