// Part data
function generateList ()
{
objectTemplate = new Array
objectList = new Array
appendField (objectTemplate, "Saved By", "Saved By")
appendField (objectTemplate, "Create Date", "Create Date")
appendField (objectTemplate, "Modify Date", "Modify Date")
appendField (objectTemplate, "cost", "Cost")
objectList[87948128]=listNode ("Engine Assembly Process", "", "", "", "", "")
objectList[87593984]=listNode ("default", "", "", "", "", "")
objectList[87603408]=listNode ("default light", "", "", "", "", "")
objectList[87591872]=listNode ("Engine Assembly Process", "", "gsmith", "9/13/1996 5:40:03 PM", "2/13/2002 4:33:00 PM", "")
objectList[87597600]=listNode ("Big Head-1", "Big Head.idb", "", "", "", "9.95")
objectList[87759600]=listNode ("Carb Body-1", "Carb Body_8lv0.idb", "", "", "", "12.50")
objectList[87857296]=listNode ("Throttle Valve-1", "Throttle Valve.idb", "", "", "", "3.95")
objectList[87863680]=listNode ("Needle Carrier-1", "Needle Carrier.idb", "", "", "", "7.95")
objectList[87887104]=listNode ("Engine Bellcrank-1", "Engine Bellcrank.idb", "", "", "", "2.45")
objectList[88143728]=listNode ("Needle Valve-1", "Needle Valve.idb", "", "", "", "4.50")
objectList[88142672]=listNode ("Case-2", "Case_8lv0.idb", "", "", "", "24.95")
objectList[86506752]=listNode ("Crank-2", "Crank.idb", "", "", "", "14.95")
objectList[87309696]=listNode ("Piston-2", "Piston.idb", "gsmith", "9/12/1996 10:07:58 PM", "2/8/2002 11:58:04 AM", "")
objectList[87410160]=listNode ("Bearing, CS Major-3", "", "gsmith", "5/15/1996 3:09:56 PM", "2/7/2002 2:23:20 PM", "")
objectList[87401456]=listNode ("Ball, CS Major Bearing-9", "Ball, CS Major Bearing.idb", "gsmith", "5/15/1996 3:09:12 PM", "2/8/2002 11:58:01 AM", "")
objectList[87395200]=listNode ("Inner Race, CS Major Bearing-1", "Inner Race, CS Major Bearing.idb", "gsmith", "5/15/1996 3:09:14 PM", "2/8/2002 11:58:02 AM", "")
objectList[93040000]=listNode ("Ball, CS Major Bearing-8", "Ball, CS Major Bearing.idb", "gsmith", "5/15/1996 3:09:12 PM", "2/8/2002 11:58:01 AM", "")
objectList[93042560]=listNode ("Outer Race, CS Major Bearing-1", "Outer Race, CS Major Bearing.idb", "gsmith", "5/15/1996 3:09:16 PM", "2/8/2002 11:58:00 AM", "")
objectList[93050672]=listNode ("Ball, CS Major Bearing-1", "Ball, CS Major Bearing.idb", "gsmith", "5/15/1996 3:09:12 PM", "2/8/2002 11:58:01 AM", "")
objectList[93053264]=listNode ("Ball, CS Major Bearing-2", "Ball, CS Major Bearing.idb", "gsmith", "5/15/1996 3:09:12 PM", "2/8/2002 11:58:01 AM", "")
objectList[87952768]=listNode ("Ball, CS Major Bearing-3", "Ball, CS Major Bearing.idb", "gsmith", "5/15/1996 3:09:12 PM", "2/8/2002 11:58:01 AM", "")
objectList[87955264]=listNode ("Ball, CS Major Bearing-11", "Ball, CS Major Bearing.idb", "gsmith", "5/15/1996 3:09:12 PM", "2/8/2002 11:58:01 AM", "")
objectList[87957840]=listNode ("Ball, CS Major Bearing-12", "Ball, CS Major Bearing.idb", "gsmith", "5/15/1996 3:09:12 PM", "2/8/2002 11:58:01 AM", "")
objectList[87968624]=listNode ("Ball, CS Major Bearing-13", "Ball, CS Major Bearing.idb", "gsmith", "5/15/1996 3:09:12 PM", "2/8/2002 11:58:01 AM", "")
objectList[87971232]=listNode ("Ball, CS Major Bearing-14", "Ball, CS Major Bearing.idb", "gsmith", "5/15/1996 3:09:12 PM", "2/8/2002 11:58:01 AM", "")
objectList[87981440]=listNode ("Ball, CS Major Bearing-4", "Ball, CS Major Bearing.idb", "gsmith", "5/15/1996 3:09:12 PM", "2/8/2002 11:58:01 AM", "")
objectList[87985536]=listNode ("Ball, CS Major Bearing-5", "Ball, CS Major Bearing.idb", "gsmith", "5/15/1996 3:09:12 PM", "2/8/2002 11:58:01 AM", "")
objectList[87988032]=listNode ("Ball, CS Major Bearing-6", "Ball, CS Major Bearing.idb", "gsmith", "5/15/1996 3:09:12 PM", "2/8/2002 11:58:01 AM", "")
objectList[87990608]=listNode ("Ball, CS Major Bearing-7", "Ball, CS Major Bearing.idb", "gsmith", "5/15/1996 3:09:12 PM", "2/8/2002 11:58:01 AM", "")
objectList[88001392]=listNode ("Ball, CS Major Bearing-10", "Ball, CS Major Bearing.idb", "gsmith", "5/15/1996 3:09:12 PM", "2/8/2002 11:58:01 AM", "")
objectList[88004000]=listNode ("Liner-2", "Liner.idb", "gsmith", "9/12/1996 10:00:16 PM", "2/8/2002 11:58:04 AM", "")
objectList[88029344]=listNode ("Rod-1", "Rod.idb", "gsmith", "9/12/1996 10:10:38 PM", "2/8/2002 11:58:03 AM", "")
objectList[88092032]=listNode ("Pin-2", "Pin.idb", "gsmith", "9/13/1996 5:38:24 PM", "2/8/2002 11:58:03 AM", "")
}

// Data for generating tree
function generateTree()
{
var sub1, sub2
objectTree = folderNode(87948128, "javascript:selectit(87948128)")
sub1 = appendChild (objectTree, folderNode(87591872, "javascript:selectit(87591872)"))
appendChild(sub1, leafNode(87597600, "javascript:selectit(87597600)"))
appendChild(sub1, leafNode(87759600, "javascript:selectit(87759600)"))
appendChild(sub1, leafNode(87857296, "javascript:selectit(87857296)"))
appendChild(sub1, leafNode(87863680, "javascript:selectit(87863680)"))
appendChild(sub1, leafNode(87887104, "javascript:selectit(87887104)"))
appendChild(sub1, leafNode(88143728, "javascript:selectit(88143728)"))
appendChild(sub1, leafNode(88142672, "javascript:selectit(88142672)"))
appendChild(sub1, leafNode(86506752, "javascript:selectit(86506752)"))
appendChild(sub1, leafNode(87309696, "javascript:selectit(87309696)"))
sub2 = appendChild (sub1, folderNode(87410160, "javascript:selectit(87410160)"))
appendChild(sub2, leafNode(87401456, "javascript:selectit(87401456)"))
appendChild(sub2, leafNode(87395200, "javascript:selectit(87395200)"))
appendChild(sub2, leafNode(93040000, "javascript:selectit(93040000)"))
appendChild(sub2, leafNode(93042560, "javascript:selectit(93042560)"))
appendChild(sub2, leafNode(93050672, "javascript:selectit(93050672)"))
appendChild(sub2, leafNode(93053264, "javascript:selectit(93053264)"))
appendChild(sub2, leafNode(87952768, "javascript:selectit(87952768)"))
appendChild(sub2, leafNode(87955264, "javascript:selectit(87955264)"))
appendChild(sub2, leafNode(87957840, "javascript:selectit(87957840)"))
appendChild(sub2, leafNode(87968624, "javascript:selectit(87968624)"))
appendChild(sub2, leafNode(87971232, "javascript:selectit(87971232)"))
appendChild(sub2, leafNode(87981440, "javascript:selectit(87981440)"))
appendChild(sub2, leafNode(87985536, "javascript:selectit(87985536)"))
appendChild(sub2, leafNode(87988032, "javascript:selectit(87988032)"))
appendChild(sub2, leafNode(87990608, "javascript:selectit(87990608)"))
appendChild(sub2, leafNode(88001392, "javascript:selectit(88001392)"))
appendChild(sub1, leafNode(88004000, "javascript:selectit(88004000)"))
appendChild(sub1, leafNode(88029344, "javascript:selectit(88029344)"))
appendChild(sub1, leafNode(88092032, "javascript:selectit(88092032)"))
}

// Data for generating BOM
function generateBOM()
{
objectBOM = new Array
appendToBOM (objectBOM, BOMNode (1, 87597600, "javascript:selectit(87597600)"))
appendToBOM (objectBOM, BOMNode (1, 87759600, "javascript:selectit(87759600)"))
appendToBOM (objectBOM, BOMNode (1, 87857296, "javascript:selectit(87857296)"))
appendToBOM (objectBOM, BOMNode (1, 87863680, "javascript:selectit(87863680)"))
appendToBOM (objectBOM, BOMNode (1, 87887104, "javascript:selectit(87887104)"))
appendToBOM (objectBOM, BOMNode (1, 88143728, "javascript:selectit(88143728)"))
appendToBOM (objectBOM, BOMNode (1, 88142672, "javascript:selectit(88142672)"))
appendToBOM (objectBOM, BOMNode (1, 86506752, "javascript:selectit(86506752)"))
appendToBOM (objectBOM, BOMNode (1, 87309696, "javascript:selectit(87309696)"))
appendToBOM (objectBOM, BOMNode (14, 87401456,93040000,93050672,93053264,87952768,87955264,87957840,87968624,87971232,87981440,87985536,87988032,87990608,88001392, "javascript:selectit(87401456,93040000,93050672,93053264,87952768,87955264,87957840,87968624,87971232,87981440,87985536,87988032,87990608,88001392)"))
appendToBOM (objectBOM, BOMNode (1, 87395200, "javascript:selectit(87395200)"))
appendToBOM (objectBOM, BOMNode (1, 93042560, "javascript:selectit(93042560)"))
appendToBOM (objectBOM, BOMNode (1, 88004000, "javascript:selectit(88004000)"))
appendToBOM (objectBOM, BOMNode (1, 88029344, "javascript:selectit(88029344)"))
appendToBOM (objectBOM, BOMNode (1, 88092032, "javascript:selectit(88092032)"))
}

function get_assembly_name() { return "engine.idasf"; }
// Instruction data
function generateInstructions ()
{
instrTemplate = new Array
instrList = new Array
appendField (instrTemplate, "Note")
instrList[1]=instrNode ("Step 1:", "Slide the Big Head into place", 0, 10, "javascript:playit(1,0,10)")
instrList[2]=instrNode ("Step 2:", "Insert the Throttle Valve into the Carb Body", 10, 20, "", "javascript:playit(2,10,20)")
instrList[3]=instrNode ("Step 3:", "Attach the Bellcrank to the Throttle Valve", 20, 30, "", "javascript:playit(3,20,30)")
instrList[4]=instrNode ("Step 4:", "Press the Needle Carrier into the Carb Body", 30, 40, "", "javascript:playit(4,30,40)")
instrList[5]=instrNode ("Step 5:", "Screw the Needle Valve to secure the Needle Carrier to the Throttle Valve", 40, 50, "", "javascript:playit(5,40,50)")
instrList[6]=instrNode ("Step 6:", "Place the Carburetor onto the Engine body", 50, 60, "", "javascript:playit(6,50,60)")
}

webPublish = new Object
webPublish["Company"]=""
webPublish["author"]=""
webPublish["comm"]=""
webPublish["date"]="08-Jul-2003"
webPublish["desc"]=""
webPublish["styleDir"]="d:\\Program Files\\Immersive Design\\WebPublish"
webPublish["title"]="Engine 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>"; }
