//Copyright-Author: Morris Ng

function fnBIowEAN13Pattern(){
document.writeln("<table align=center bgcolor=#ffcc18 id=Verd10 border=0 cellspacing=0 cellpadding=3>")
document.writeln("<tr valign=top><td id=Verd10>Left-Hand Guard Bar</td><td id=Verd10><nobr>--- &nbsp;</nobr></td><td id=Verd10>\(Pattern 101\)</td></tr>")
document.writeln("<tr valign=top bgcolor=#cceeee><td id=Verd10>Left-Hand Six Characters of Code</td><td id=Verd10>---</td><td id=Verd10>Set-A_7,<br>Set-B_1,<br>Set-A_1,<br>Set-A_2,<br>Set-B_3,<br>Set-B_4</td></tr>")
document.writeln("<tr valign=top><td id=Verd10>Center Bar</td><td id=Verd10>---</td><td id=Verd10>\(Pattern 01010\)</td></tr>")
document.writeln("<tr valign=top bgcolor=#eeeecc><td id=Verd10><nobr>Right-Hand Six Characters of Code &nbsp;</nobr></td><td id=Verd10>---</td><td id=Verd10>Set-C_5,<br>Set-C_6,<br>Set-C_7,<br>Set-C_8,<br>Set-C_9,<br><font color=red>Set-C_9 \(check digit\)</font>&nbsp;</td></tr>")
document.writeln("<tr valign=top><td id=Verd10>Right-Hand Guard Bar</td><td id=Verd10>---</td><td id=Verd10>\(Pattern 101\)</td></tr></table>")}

function fnBIowEAN13Symbo1Legen(){
document.writeln("<table width=400 align=center id=Verd10 border=0 cellspacing=0 cellpadding=3><tr><td id=Verd10 colspan=4><b>LEGEND:</b></td></tr>")
document.writeln("<tr valign=top bgcolor=#ffcc18><td id=Verd10><b>A</b> &nbsp;</td><td id=Verd10>Left-Hand Guard Bar</td><td id=Verd10><nobr>--- &nbsp; </nobr></td><td id=Verd10>3 modules</td></tr>")
document.writeln("<tr valign=top bgcolor=#cceeee><td id=Verd10><b>B</b></td><td id=Verd10>Left-Hand Six Characters of Code &nbsp;</td><td id=Verd10>---</td><td id=Verd10>7 modules<br>each character</td></tr>")
document.writeln("<tr valign=top bgcolor=#ffcc18><td id=Verd10><b>C</b></td><td id=Verd10>Center Bar</td><td id=Verd10>---</td><td id=Verd10>5 modules</td></tr>")
document.writeln("<tr valign=top bgcolor=#eeeecc><td id=Verd10><b>D</b></td><td id=Verd10>Right-Hand Six Characters of Code</td><td id=Verd10>---</td><td id=Verd10>7 modules<br>each character</td></tr>")
document.writeln("<tr valign=top bgcolor=#ffcc18><td id=Verd10><b>E</b></td><td id=Verd10>Right-Hand Guard Bar</td><td id=Verd10>---</td><td id=Verd10>3 modules</td></tr>")
document.writeln("<tr><td id=Verd8 colspan=4><br><li>The light \(space\) and dark \(bar\) modules are of uniform width. <li>The left-hand six characters of code has 3 odd parities and 3 even parities, except induced character \"0\" \(i.e., when the 13th digit is a zero\) which has 6 odd parities. The right-hand six characters of code uses the even parities only.<li>The left-hand odd characters have either 3 or 5 dark modules and the left-hand even characters have either 2 or 4 dark modules, while the right-hand even characters have either 2 or 4 dark modules.</td></tr></table>")}
