//********************************************************************
//  DEMO VERSION NOTICE:
//  The demo version of this product contains a static barcode that may be
//  used for evaluation purposes only. It may be used in webpages and 
//  other applications to prove its functionality. The static barcode cannot be
//  changed because this would reveal the complete source code, which is only
//  available in the purchased version. The purchased version is provided 
//  with a 30 day money back satisfaction guarantee. If it is necessary to 
//  test dynamic barcodes with this product, the purchased version is required.
//  
//  Copyright, IDAutomation.com, Inc. All rights reserved.
//  Patent Pending.
//
//  Online Tutorial: www.idautomation.com/javascript/
//********************************************************************
function IDAutomation_JavaScriptBarcode_Demo_C128(DataToEncode,BarHeight,XDimensionPoints){if(BarHeight==null){BarHeight=8;}if(XDimensionPoints==null){XDimensionPoints=4;}var g=XDimensionPoints;var d="";var j="";var e=0;var l="ACDBDCBDBDBBADCDCCDCBDBCABCCDAACDBDAACCABABBBCCBDCDAACDBDCBBCDCABBADDBBCADADBADCACCB";var k=l.length;for(f=0;f<k;f++){e=l.charCodeAt(f);if(e==65){j=j+String.fromCharCode(9608);}if(e==66){j=j+String.fromCharCode(9612);}if(e==67){j=j+String.fromCharCode(9616);}if(e==68){j=j+String.fromCharCode(32);}}for(f=1;f<BarHeight;f++){d=d+j+String.fromCharCode(13);}
if(XDimensionPoints!=0){d="<div style='font-size:"+XDimensionPoints+"px;line-height:"+g+"px;font-family:'Courier New', 'Lucida Console', 'monospace';'><pre>"+d+"</pre></div>";}return d;} 

