paramArray = new Array();
function putParam(name, value) {
paramArray[paramArray.length] = name;
paramArray[paramArray.length] = value;
}

// ********* SPECIFY YOUR PARAMETERS HERE *********
// Presentation parameters
putParam("info","Created with WireFusion - http://www.demicron.com/wirefusion");
putParam("archive","son2d/loadgfx.jar,wf-player/startup6.jar,wf-player/core6.jar,wf-player/3D_Scene-4.0.jar,son2d/classes.jar");
putParam("license","Registered version");
putParam("version","4.1.20");
putParam("resourcefolder","son2d/");
putParam("preloadfile","preload.jar");
putParam("regid","2345815-21");
putParam("loadbgimage","1327916-b-1.gif")
putParam("loadbarimage","265581-b-2.gif")
putParam("progressFunc","son2d_Progress")
putParam("countertopparameter","countertop=1_fantas-onyx.png")
putParam("appliancesparameter","appliance=gray-appliances.png")
putParam("doorknobsparameter","doorknob=white-door-knobs.png")
putParam("wallsparameter","wall=wall-8.png")
putParam("windowsparameter","window=brown-window.png")
putParam("cabinetsparameter","cabinet=cabinet-17.png")
putParam("outletsparameter","outlet=gray-outlet.png")
putParam("floorsparameter","floor=floor-18.png")
putParam("countertopogeeparameter","countertopogee=2_fantas-onyx.png")
putParam("countertstraightparameter","countertopstraight=3_fantas-onyx.png")
putParam("countertopdoubleogeeparameter","countertopdoubleogee=4_fantas-onyx.png")
putParam("countertophalfbullnoseparameter","countertophalfbullnose=5_fantas-onyx.png")


// Tag parameters
width=645;
height=458;
name="son2d";
code="WireFusion_Player.class"; 
codebase=".";

// ********* NO NEED TO EDIT AFTER HERE *********
function printParameters() {
for (var i=0; i < paramArray.length; i=i+2) {
document.write('<param name="' + paramArray[i] + '" value="' + paramArray[i+1] + '">');
}
}

useAppletTag = true;
ie5windows=((document.all) && (document.getElementById) && (navigator.platform=='Win32') && (navigator.userAgent.toLowerCase().indexOf("opera")==-1)); 
if (ie5windows) {
document.write("<div style=position:absolute>&nbsp;</div>");
document.body.addBehavior("#default#clientCaps");
useAppletTag = (document.body.isComponentInstalled("{08B0E5C0-4FCB-11CF-AAA5-00401C608500}", "componentid")) ;
}

if (useAppletTag) {
if (!navigator.javaEnabled())
alert("This page requires Java to be enabled");

document.write('<applet width="'+width+'" height="'+height+'" name="'+name+'" code="'+code+'" codebase="'+codebase+'" mayscript>');
} else {
document.write('<object ');
document.write('classid = "clsid:8AD9C840-044E-11D1-B3E9-00805F499D93" ');
document.write('codebase = "http://java.sun.com/update/1.5.0/jinstall-1_5-windows-i586.cab#Version=1,5,0,0" ');
document.write('width = "'+width+'" height = "'+height+'" name = "'+name+'" >');

putParam("code", code);
putParam("codebase", codebase);
putParam("name", name);
putParam("mayscript", "true");
putParam("type", "application/x-java-applet;version=1.4");
putParam("scriptable", "false");
}

printParameters();

if (useAppletTag) {
document.write('You need Java(tm) to view this presentation. <a href="http://www.java.com">Download Java</a></applet> ');
} else {
document.write('</object>');
}
