+});
+
+
+/// hccapp56191900uoft - jpeg tar
+asyncTest("JSLocate for hccapp56191900uoft - jpg.tar", function() {
+ expect(1);
+ $.getScript( jsLocateURL('hccapp56191900uoft'), function() {
+ equals(br.numLeafs, 1101, 'Number of pages');
+ start();
+ });
+});
+
+asyncTest('Load jpg image from tar file', function() {
+ expect(2);
+ var pageURI = br.getPageURI(6, 8);
+ var img = new Image();
+ $(img).bind( 'load error', function(eventObj) {
+ equals(eventObj.type, 'load', 'Load image (' + pageURI + '). Event handler called');
+ equals(this.width, 244, 'Image width');
+ start();
+ })
+ .attr('src', pageURI);
+});
+