// Part data
function generateList ()
{
objectTemplate = new Array
objectList = new Array
appendField (objectTemplate, "Description", "Description")
appendField (objectTemplate, "Replaced Part", "Replaced Part")
appendField (objectTemplate, "Notes", "Notes")
appendField (objectTemplate, "Where Used", "Kits/Assy Where Used")
objectList[10188848]=listNode ("Engine", "", "", "", "", "")
objectList[10202176]=listNode ("default", "", "", "", "", "")
objectList[10200256]=listNode ("default light", "", "", "", "", "")
objectList[10206144]=listNode ("Mainshaft-2", "", "", "", "", "")
objectList[10203248]=listNode ("Mainshaft-1", "Mainshaft.idb", "", "", "", "")
objectList[10513632]=listNode ("Collar, MS 5th Gear-1", "Collar, MS 5th Gear.idb", "", "", "", "")
objectList[10913216]=listNode ("Tru-Arc Ring, MS-1", "Tru-Arc Ring, MS.idb", "", "", "", "")
objectList[10785152]=listNode ("MS 5th Gear-1", "MS 5th Gear.idb", "", "", "", "")
objectList[11042176]=listNode ("MS 3rd-4th Gear-1", "MS 3rd-4th Gear.idb", "", "", "", "")
objectList[88784960]=listNode ("Tru-Arc Ring, MS-2", "Tru-Arc Ring, MS.idb", "", "", "", "")
objectList[88776064]=listNode ("MS 6th Gear-1", "MS 6th Gear.idb", "", "", "", "")
objectList[88759680]=listNode ("MS 2nd Gear-1", "MS 2nd Gear.idb", "", "523515", "", "")
objectList[88991728]=listNode ("Bearing, MS Major-1", "", "", "", "", "")
objectList[88996592]=listNode ("Inner Race, MS Major Bearing-1", "Inner Race, MS Major Bearing.idb", "", "", "", "")
objectList[89007008]=listNode ("Retainer &amp; Balls, MS Major Bearing-1", "", "", "", "", "")
objectList[89003936]=listNode ("Retainer, MS Major Bearing-1", "Retainer, MS Major Bearing.idb", "", "", "", "")
objectList[95625936]=listNode ("Ball, MS Major Bearing-3", "Ball, MS Major Bearing.idb", "", "", "", "")
objectList[89572880]=listNode ("Ball, MS Major Bearing-2", "Ball, MS Major Bearing.idb", "", "", "", "")
objectList[89564272]=listNode ("Ball, MS Major Bearing-1", "Ball, MS Major Bearing.idb", "", "", "", "")
objectList[89562080]=listNode ("Ball, MS Major Bearing-4", "Ball, MS Major Bearing.idb", "", "", "", "")
objectList[89569984]=listNode ("Ball, MS Major Bearing-5", "Ball, MS Major Bearing.idb", "", "", "", "")
objectList[89577792]=listNode ("Ball, MS Major Bearing-6", "Ball, MS Major Bearing.idb", "", "", "", "")
objectList[89581504]=listNode ("Ball, MS Major Bearing-7", "Ball, MS Major Bearing.idb", "", "", "", "")
objectList[89585216]=listNode ("Ball, MS Major Bearing-8", "Ball, MS Major Bearing.idb", "", "", "", "")
objectList[89404384]=listNode ("Ball, MS Major Bearing-9", "Ball, MS Major Bearing.idb", "", "", "", "")
objectList[89472384]=listNode ("Retainer &amp; Balls, MS Major Bearing-2", "", "", "", "", "")
objectList[89469680]=listNode ("Retainer, MS Major Bearing-1", "Retainer, MS Major Bearing.idb", "", "", "", "")
objectList[89427328]=listNode ("Ball, MS Major Bearing-3", "Ball, MS Major Bearing.idb", "", "", "", "")
objectList[89431008]=listNode ("Ball, MS Major Bearing-2", "Ball, MS Major Bearing.idb", "", "", "", "")
objectList[89434704]=listNode ("Ball, MS Major Bearing-1", "Ball, MS Major Bearing.idb", "", "", "", "")
objectList[89438448]=listNode ("Ball, MS Major Bearing-4", "Ball, MS Major Bearing.idb", "", "", "", "")
objectList[89442160]=listNode ("Ball, MS Major Bearing-5", "Ball, MS Major Bearing.idb", "", "", "", "")
objectList[89445872]=listNode ("Ball, MS Major Bearing-6", "Ball, MS Major Bearing.idb", "", "", "", "")
objectList[89449584]=listNode ("Ball, MS Major Bearing-7", "Ball, MS Major Bearing.idb", "", "", "", "")
objectList[89453296]=listNode ("Ball, MS Major Bearing-8", "Ball, MS Major Bearing.idb", "", "", "", "")
objectList[89489712]=listNode ("Ball, MS Major Bearing-9", "Ball, MS Major Bearing.idb", "", "", "", "")
objectList[89501056]=listNode ("Outer Race, MS Major Bearing-1", "Outer Race, MS Major Bearing.idb", "", "11732", "", "")
objectList[89900048]=listNode ("Minor Bearing-1", "", "", "", "", "")
objectList[89884064]=listNode ("Outer Race, Minor Bearing-1", "Outer Race, Minor Bearing.idb", "", "", "", "")
objectList[89732496]=listNode ("Rollers &amp; Retainer, Minor Bearing-1", "", "", "", "", "")
objectList[89748160]=listNode ("Roller, Minor Bearing-5", "Roller, Minor Bearing.idb", "", "", "", "")
objectList[89791136]=listNode ("Roller, Minor Bearing-4", "Roller, Minor Bearing.idb", "", "", "", "")
objectList[89794080]=listNode ("Roller, Minor Bearing-3", "Roller, Minor Bearing.idb", "", "", "", "")
objectList[89797104]=listNode ("Roller, Minor Bearing-2", "Roller, Minor Bearing.idb", "", "", "", "")
objectList[89808256]=listNode ("Roller, Minor Bearing-1", "Roller, Minor Bearing.idb", "", "", "", "")
objectList[89811248]=listNode ("Roller, Minor Bearing-12", "Roller, Minor Bearing.idb", "", "", "", "")
objectList[89814176]=listNode ("Roller, Minor Bearing-11", "Roller, Minor Bearing.idb", "", "", "", "")
objectList[89682624]=listNode ("Roller, Minor Bearing-10", "Roller, Minor Bearing.idb", "", "", "", "")
objectList[89693152]=listNode ("Roller, Minor Bearing-9", "Roller, Minor Bearing.idb", "", "", "", "")
objectList[89687904]=listNode ("Roller, Minor Bearing-8", "Roller, Minor Bearing.idb", "", "", "", "")
objectList[89707312]=listNode ("Roller, Minor Bearing-7", "Roller, Minor Bearing.idb", "", "", "", "")
objectList[89705856]=listNode ("Roller, Minor Bearing-6", "Roller, Minor Bearing.idb", "", "", "", "")
objectList[89696880]=listNode ("Retainer, Minor Bearing-1", "Retainer, Minor Bearing.idb", "", "", "", "")
objectList[89881984]=listNode ("Roller, Minor Bearing-16", "Roller, Minor Bearing.idb", "", "", "", "")
objectList[89864592]=listNode ("Roller, Minor Bearing-15", "Roller, Minor Bearing.idb", "", "", "", "")
objectList[89867520]=listNode ("Roller, Minor Bearing-14", "Roller, Minor Bearing.idb", "", "", "", "")
objectList[89870480]=listNode ("Roller, Minor Bearing-13", "Roller, Minor Bearing.idb", "", "", "", "")
}

// Data for generating tree
function generateTree()
{
var sub1, sub2, sub3
objectTree = folderNode(10188848, "javascript:selectit(10188848)")
sub1 = appendChild (objectTree, folderNode(10206144, "javascript:selectit(10206144)"))
appendChild(sub1, leafNode(10203248, "javascript:selectit(10203248)"))
appendChild(sub1, leafNode(10513632, "javascript:selectit(10513632)"))
appendChild(sub1, leafNode(10913216, "javascript:selectit(10913216)"))
appendChild(sub1, leafNode(10785152, "javascript:selectit(10785152)"))
appendChild(sub1, leafNode(11042176, "javascript:selectit(11042176)"))
appendChild(sub1, leafNode(88784960, "javascript:selectit(88784960)"))
appendChild(sub1, leafNode(88776064, "javascript:selectit(88776064)"))
appendChild(sub1, leafNode(88759680, "javascript:selectit(88759680)"))
sub2 = appendChild (sub1, folderNode(88991728, "javascript:selectit(88991728)"))
appendChild(sub2, leafNode(88996592, "javascript:selectit(88996592)"))
sub3 = appendChild (sub2, folderNode(89007008, "javascript:selectit(89007008)"))
appendChild(sub3, leafNode(89003936, "javascript:selectit(89003936)"))
appendChild(sub3, leafNode(95625936, "javascript:selectit(95625936)"))
appendChild(sub3, leafNode(89572880, "javascript:selectit(89572880)"))
appendChild(sub3, leafNode(89564272, "javascript:selectit(89564272)"))
appendChild(sub3, leafNode(89562080, "javascript:selectit(89562080)"))
appendChild(sub3, leafNode(89569984, "javascript:selectit(89569984)"))
appendChild(sub3, leafNode(89577792, "javascript:selectit(89577792)"))
appendChild(sub3, leafNode(89581504, "javascript:selectit(89581504)"))
appendChild(sub3, leafNode(89585216, "javascript:selectit(89585216)"))
appendChild(sub3, leafNode(89404384, "javascript:selectit(89404384)"))
sub3 = appendChild (sub2, folderNode(89472384, "javascript:selectit(89472384)"))
appendChild(sub3, leafNode(89469680, "javascript:selectit(89469680)"))
appendChild(sub3, leafNode(89427328, "javascript:selectit(89427328)"))
appendChild(sub3, leafNode(89431008, "javascript:selectit(89431008)"))
appendChild(sub3, leafNode(89434704, "javascript:selectit(89434704)"))
appendChild(sub3, leafNode(89438448, "javascript:selectit(89438448)"))
appendChild(sub3, leafNode(89442160, "javascript:selectit(89442160)"))
appendChild(sub3, leafNode(89445872, "javascript:selectit(89445872)"))
appendChild(sub3, leafNode(89449584, "javascript:selectit(89449584)"))
appendChild(sub3, leafNode(89453296, "javascript:selectit(89453296)"))
appendChild(sub3, leafNode(89489712, "javascript:selectit(89489712)"))
appendChild(sub2, leafNode(89501056, "javascript:selectit(89501056)"))
sub2 = appendChild (sub1, folderNode(89900048, "javascript:selectit(89900048)"))
appendChild(sub2, leafNode(89884064, "javascript:selectit(89884064)"))
sub3 = appendChild (sub2, folderNode(89732496, "javascript:selectit(89732496)"))
appendChild(sub3, leafNode(89748160, "javascript:selectit(89748160)"))
appendChild(sub3, leafNode(89791136, "javascript:selectit(89791136)"))
appendChild(sub3, leafNode(89794080, "javascript:selectit(89794080)"))
appendChild(sub3, leafNode(89797104, "javascript:selectit(89797104)"))
appendChild(sub3, leafNode(89808256, "javascript:selectit(89808256)"))
appendChild(sub3, leafNode(89811248, "javascript:selectit(89811248)"))
appendChild(sub3, leafNode(89814176, "javascript:selectit(89814176)"))
appendChild(sub3, leafNode(89682624, "javascript:selectit(89682624)"))
appendChild(sub3, leafNode(89693152, "javascript:selectit(89693152)"))
appendChild(sub3, leafNode(89687904, "javascript:selectit(89687904)"))
appendChild(sub3, leafNode(89707312, "javascript:selectit(89707312)"))
appendChild(sub3, leafNode(89705856, "javascript:selectit(89705856)"))
appendChild(sub3, leafNode(89696880, "javascript:selectit(89696880)"))
appendChild(sub3, leafNode(89881984, "javascript:selectit(89881984)"))
appendChild(sub3, leafNode(89864592, "javascript:selectit(89864592)"))
appendChild(sub3, leafNode(89867520, "javascript:selectit(89867520)"))
appendChild(sub3, leafNode(89870480, "javascript:selectit(89870480)"))
}

// Data for generating BOM
function generateBOM()
{
objectBOM = new Array
appendToBOM (objectBOM, BOMNode (1, 10203248, "javascript:selectit(10203248)"))
appendToBOM (objectBOM, BOMNode (1, 10513632, "javascript:selectit(10513632)"))
appendToBOM (objectBOM, BOMNode (2, 10913216,88784960, "javascript:selectit(10913216,88784960)"))
appendToBOM (objectBOM, BOMNode (1, 10785152, "javascript:selectit(10785152)"))
appendToBOM (objectBOM, BOMNode (1, 11042176, "javascript:selectit(11042176)"))
appendToBOM (objectBOM, BOMNode (1, 88776064, "javascript:selectit(88776064)"))
appendToBOM (objectBOM, BOMNode (1, 88759680, "javascript:selectit(88759680)"))
appendToBOM (objectBOM, BOMNode (1, 88996592, "javascript:selectit(88996592)"))
appendToBOM (objectBOM, BOMNode (2, 89003936,89469680, "javascript:selectit(89003936,89469680)"))
appendToBOM (objectBOM, BOMNode (18, 95625936,89572880,89564272,89562080,89569984,89577792,89581504,89585216,89404384,89427328,89431008,89434704,89438448,89442160,89445872,89449584,89453296,89489712, "javascript:selectit(95625936,89572880,89564272,89562080,89569984,89577792,89581504,89585216,89404384,89427328,89431008,89434704,89438448,89442160,89445872,89449584,89453296,89489712)"))
appendToBOM (objectBOM, BOMNode (1, 89501056, "javascript:selectit(89501056)"))
appendToBOM (objectBOM, BOMNode (1, 89884064, "javascript:selectit(89884064)"))
appendToBOM (objectBOM, BOMNode (16, 89748160,89791136,89794080,89797104,89808256,89811248,89814176,89682624,89693152,89687904,89707312,89705856,89881984,89864592,89867520,89870480, "javascript:selectit(89748160,89791136,89794080,89797104,89808256,89811248,89814176,89682624,89693152,89687904,89707312,89705856,89881984,89864592,89867520,89870480)"))
appendToBOM (objectBOM, BOMNode (1, 89696880, "javascript:selectit(89696880)"))
}

function get_assembly_name() { return "Main Shaft Assembly.idasf"; }
webPublish = new Object
webPublish["Company"]=""
webPublish["author"]=""
webPublish["comm"]=""
webPublish["date"]="05-May-2003"
webPublish["desc"]=""
webPublish["styleDir"]="d:\\Program Files\\Immersive Design\\WebPublish"
webPublish["title"]="Main Shaft Assembly"
webPublish["version"]="1,0,0,36"

function gtv(tag) { var v=webPublish[tag]; return (v)?v:"" }
function ptv(tag) { return gtv(tag)+"<br>" }

function get_title() { return gtv("title") }
function get_author() { return gtv("author") }
function get_description() { return gtv("desc") }
function get_comments() { return gtv("comm") }
function get_date() { return gtv("date") }

function print_title() { return get_title()+"<br>"; }
function print_author() { return get_author()+"<br>"; }
function print_description() { return get_description()+"<br>"; }
function print_comments() { return get_comments()+"<br>"; }
function print_date() { return get_date()+"<br>"; }
