Merge "function to get ld type added" into corpStat
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