switch ($_GET["location"]) { case 1: ?>
Based
on Utility Area, we recommend the WhisperKOOL cooling system. The WhisperKOOL
System is the economical option in meeting the cabinet’s cooling needs.
It utilizes the industry-standard forced air-cooling system. The WhisperKOOL
system comes with a standard model. An upgraded, more powerful model is available for extra cooling in demanding environments.
break; default: ?>
Based
on Living Area, we recommend the QT cooling system. The QT System is the
single most advanced wine cellar temperature and humidity maintenance
unit in the world. It minimizes noise while maximizing the unit’s ability
to cool. The system employs natural convection refrigeration, allowing
the cabinet to cool from the rear forward resulting in higher efficiency.
Temperature consistency is assured by the temperature equalizer feature.
} ?>
= hiddenInputs() ?>
break; case 3:
$myArr = $steps[$mystep]->data;
?>

for ($c = 0; $c<3; $c++) {
for ($p = 0; $p<3; $p++) {
for ($b = 0; $b<3; $b++) {
$display = ($c==2 && $p==2 && $b==2) ? 'display:block' : 'display:none';
?>
}}} ?>
= $noRenderText ?>
= SoFar() ?>
Choose one from each column.
} else { ?>
Molding options are predefined for your
= $doors[$_GET['door']]->name . " " . $sizes[$_GET['size']]->name ?>
.
} ?>
= hiddenInputs() ?>
// DISPLAY CABINET
break; case 7:
$sizeID = $sizes[$_GET['size']]->id;
$doorID = $doors[$_GET['door']]->id;
$imgs = GetImageFiles($_GET['size'], $_GET['door']);
$imgSm = $imgs->small;
$noRenderText = $imgs->render;
?>
if ($displays->prices[$_GET['size']] && $displays->doorIncludes[$_GET['door']]) { ?>
Designed to add new dimensions to our wine cabinets, our new Display
Series offers matching display cabinetry on each side of the wine storage
cabinet. This distinctive series provides a means to display wine accessories
and books while softening the overall extended depth inherent to double
deep bottle storage. Display Series is offered in two different dimensions
and for all sizes of cabinets. Optional molding is available as well.

for ($c = 0; $c<2; $c++) {
for ($p = 0; $p<2; $p++) {
for ($b = 0; $b<2; $b++) {
$display = ($c==2 && $p==0 && $b==0) ? 'display:block' : 'display:none';
$imDisplay = ($c==2) ? 'style="display:none"' : '';
?>

/>
}}} ?>
= $noRenderText ?>
= SoFar() ?>
Choose
one from each column:
} else { ?>
The Display Cabinets are not available with the
= $doors[$_GET['door']]->name . " " . $sizes[$_GET['size']]->name ?>
.
} ?>
= hiddenInputs() ?>
// WOOD
break; case 8:
$MODEL = $_GET['size'];
$DOOR = $_GET['door'];
$myArr = $steps[$mystep]->data;
$myLen = count($myArr);
if ($DOOR == 16) { // Bacio Divino doesn't allow wood customization
echo '
Wood style is predefined for your ' . $doors[$_GET['door']]->name . ' ' . $sizes[$_GET['size']]->name . '.
';
echo '
';
} else {
?>
rollover to preview, click to select
for ($i=0; $i<$myLen; $i++) {
$myID = $myArr[$i]->id;
$image = "images/step08_choices_" . $myID . ".gif";
echo ('
![' . $myArr[$i]->name . '](' . $image . ')
' . "\n");
}
?>
for ($i=0; $i<$myLen; $i++) {
$z = $i . 4;
$id = $myArr[$i]->id;
$imgs = GetImageFiles($MODEL,$DOOR,$i);
$imgSm = $imgs->small;
$imgBg = $imgs->big;
$noRenderText = $imgs->render;
?>
if (IncludeMaterialOptions()) {
$noSummaryStyle = "";
?>
} else $noSummaryStyle = ' style="margin-left:0; margin-right:100px"'; ?>
>
=$myArr[$i]->name?>
=$myArr[$i]->description?>
Add: $
=$myArr[$i]->getPrice($MODEL, $DOOR)?>
*
* Prices subject to change without notice. Not all available
materials shown. Contact your local distributor for the latest styles.
if ($DOOR == 20) { ?>
Table Top Option:
The Franciscan Credenza can also be customized with granite or birds
eye maple inlays in the table top. Ask us about this option when making
your order (1-800-343-9463, dwomack@vinotheque.com).
} ?>
} ?>
} ?>
= nextButton() ?>
= hiddenInputs() ?>
$defaultID = (isset($_GET['wood'])) ? $_GET['wood'] : 4; ?>
if ($DOOR != 16) { ?>
} ?>
// FINISHES
break; case 9:
$MODEL = $_GET["size"];
$DOOR = $_GET["door"];
$MAT = $_GET["wood"];
$myArr = 0;
$imgs = GetImageFiles($MODEL,$DOOR,$MAT);
$imgSm = $imgs->small;
$noRenderText = $imgs->render;
$imgBase = substr($imgSm,0,-7);
$firstImg = $imgBase . $mats[$MAT]->id . ".jpg";
if (!IncludeMaterialOptions()) {
echo '
The Finish style is predefined for your ' . $doors[$_GET['door']]->name . ' ' . $sizes[$_GET['size']]->name . '.
';
echo '
';
} else {
?>

= $noRenderText ?>
= SoFar() ?>
} // IncludeMaterialOptions ?>
= hiddenInputs() ?>
break; case 10:
$DOOR = $_GET['door']; // so that IncludeMaterialOptions (which is called by FinalView) will work
?>
= FinalView() ?>
= SoFar() ?>
= hiddenInputs() ?>
// FRONT VENTING
break; case 11:
$MODEL = $_GET["size"];
$DOOR = $_GET['door']; // so that IncludeMaterialOptions (which is called by FinalView) will work
if ($sizes[$MODEL]->includeFrontVenting) { ?>
Front venting allows cabinets to be built into tight spaces or as part
of a full wall of cabinets.

Adds three inches in height while enclosing the top and
rear section of the cabinets. The addition of two fans draws air across
the condensor coil to assure adequate ventilation.
= FinalView() ?>
= SoFar() ?>
= hiddenInputs() ?>
} else { ?>
Front venting is not an option with the
= $sizes[$MODEL]->name ?>
.
= hiddenInputs() ?>
} ?>
break; case 12:
$DOOR = $_GET['door']; // so that IncludeMaterialOptions (which is called by FinalView) will work
?>
Cabinets are shipped directly from the factory via Bekins moving company.
Be sure to create a layout of the path movers will use to install the
cabinet to assure doorways and corners are large enough to get through
for the final placement of the cabinet. Be sure to communicate any specific
needs such as moving the cabinets up or down stairs. Additional charges
for these unusual requirements may apply.
= FinalView() ?>
= SoFar() ?>
= hiddenInputs() ?>
break; case 13:
$DOOR = $_GET['door']; // so that IncludeMaterialOptions (which is called by Summary) will work
?>
= FinalView() ?>
= Summary() ?>
break; } ?>
// function to convert $_GET into hidden form inputs for next step
function hiddenInputs() {
global $mystep, $rollSteps, $steps;
$nextStep = $mystep + 1;
$result = "\n\t\t\n";
foreach ($_GET as $key => $g) {
$inValue = ($key == "step") ? $g+1 : $g;
if ($key != "next" && $key != "step" && $key != $steps[$mystep]->id) $result .= "\t\t\t';
$imgs = GetImageFiles($_GET['size'],$_GET['door'],$myMatNum, $useMats);
$mainImg = $imgs->small;
$mainImg = '

';
//$mainImg = "

";
$mouldImg = '';
$displayHeight = -12;
if (isset($_GET['crown']) && ($_GET['crown'] < 2 || $_GET['panel'] < 2 || $_GET['base'] < 2)) {
$mouldImg = "

";
$displayHeight = -6;
}
$displayImg='';
if (isset($_GET['cdisplay_size']) && $_GET['cdisplay_size'] < 2) {
$displayImg = "

";
}
$noRenderText = $imgs->render;
return $mainImg . $divStart . $mouldImg . '
' . $displayImg . '
' . $noRenderText;
}
function GetImageFiles($mod, $do, $mat=4, $useMaterials=true) {
global $steps;
$model = $steps[3]->data[$mod]->id;
$door = $steps[5]->data[$do]->id;
// unless specified otherwise, use the materials data, not the finishes data
$material = ($useMaterials) ? $steps[8]->data[$mat]->id : $steps[9]->data[$mat]->id;
$universalModel = ($mod<6) ? "550" : $steps[3]->data[$mod]->id;
$universalMaterial = "050";
$modName = $steps[3]->data[$mod]->name;
$matName = $steps[8]->data[$mat]->name;
$uMatName = $steps[8]->data[4]->name;
$imgSm = GetImageName ($model, $door, $material);
if (file_exists($imgSm)) {
$result->small = $imgSm;
$result->big = GetImageName ($model, $door, $material, 'big');
$result->render = "";
} else if (!IncludeMaterialOptions()) {
$result->small = GetImageName ($universalModel, $door, $universalMaterial);
$result->big = GetImageName ($universalModel, $door, $universalMaterial, 'big');
$result->render = "