		function showScanSummary(MBL) {		   
  			//alert('value is : ' + permit_type );

			var reportURL = "./Scan_Summary.asp?MBL="+ MBL;
			dojo.byId("ScanSummaryFrame").src = reportURL;
			dijit.byId("ScanSummary").show();
			}
			
		function ShowScanDetail(TOCID) {
		
			var reportURL = "./Scan_gallery.asp?TOCID="+ TOCID;
			dojo.byId("ScanDetailFrame").src = reportURL;
			dijit.byId("ScanDetail").show();
			}
			
		function d2h(storeid) {
			var hD="0123456789ABCDEF";
			var h = hD.substr(storeid&15,1);
			while(storeid>15) {storeid>>=4;h=hD.substr(d&15,1)+storeid;}
			document.getElementById("myTxt2").value = storeid;
			}
			
		function showPDFScan(location) {
		
			var reportURL = "./tiff_PDF_Laser.asp?location="+ location;
			//alert(reportURL)
			dojo.byId("LaserPDFFrame").src = reportURL;
			dijit.byId("LaserPDF").show();
			dijit.byId('LaserPDF')._underlay.hide();
			}
		
		function closePDFWindow() {
			dijit.byId("LaserPDF").hide();
			}