var imgNum = 0;
function makeTable(line) {
var RomanTable = '';
RomanTable += '
';
RomanTable += '';
RomanTable += ' | ';
RomanTable +=' | ' + Romans[line].title + ' Details '; // name of product
RomanTable += '  '; // space between name & text
RomanTable += Romans[line].text; // product description
RomanTable += ' |
|
';
return RomanTable;
}
var activeNavigation = null;
var activeProduct = null;
var timeoutId = 0;
var currentSection = "";
function showTable(idName) {
var element = '';
if (activeProduct != null){
element = returnDhtmlFeature(activeProduct);
if (element) {
element.visibility = changeElementVisibility(activeProduct, 'disable');
}
}
if (validateArg(idName)) {
activeProduct = idName;
element = returnDhtmlFeature(activeProduct);
if (element) {
element.visibility = changeElementVisibility(activeProduct, 'enable');
}
}
}
function returnDhtmlFeature(arg) {
var feature = null;
if (document.all) { // IE 4/5
feature = document.all(arg).style;
}
else if (document.layers) { // N4
feature = document.layers[arg];
}
else if (document.getElementById) { // NS
feature = document.getElementById(arg).style;
}
return feature;
}
function changeElementVisibility(idName, state) { // change visibility of passed element
var changeVisibilityTo = "";
if (document.all || document.getElementById) { // IE & NS
if (state == "enable" )
changeVisibilityTo = "visible";
else changeVisibilityTo = "hidden";
}
else if (document.layers) { // N4
if (state == "enable")
changeVisibilityTo = "show";
else changeVisibilityTo = "hide";
}
return changeVisibilityTo;
}
function validateArg(arg) { // get boolean values for function arguments
if ((arg == "undefined") || (arg == null)) return false;
else return true;
}
function RomanLine(title, url, text) {
this.title = title;
this.url = url;
this.text = text;
}
var Romans = new Object();
Romans.objNames = ["rs", "rsv" ,"rus","tds","ds"
];
Romans.rs = new RomanLine(
"Roman Shade ",
"",
"| This classic Roman shade in beautiful woven wood fabric is tailored and simple in design. The shade hangs flat when lowered, and folds neatly in 5\" to 9\" folds when raised. |
| The draw cord is concealed behind the shade for a clean appearance. |
"
);
Romans.rsv = new RomanLine(
"Roman Shade with Valance",
"",
"| The Roman Shade with Valance is clean-lined, tailored, and simple in design. This shade hangs flat when lowered and folds neatly in 5\" to 9\" folds when raised, so that it almost disappears behind the lined 6\" valance. |
| The cords fall in front of the shade, making it easier to operate, particularly for inside mount applications, than a style with the cords behind the shade. The lifting system is concealed by the lined valance. |
"
);
Romans.rus = new RomanLine(
"Roll Up Shade",
"",
"| Inspired by antique Japanese Sudare shades from the 19th century, this casual but elegant shade style has a Zen simplicity to it. |
| The Roll Up Shade hangs flat when fully lowered. When raised, it rolls up neatly to tuck below the lined 6\" valance. |
"
);
Romans.tds = new RomanLine(
"Top Down Shade",
"",
"| The Top Down Shade is designed for those who want privacy and a view at the same time. This unique shade operates in reverse, lifting from tidy folds at the bottom to close at the top under the lined 6\" valance. |
"
);
Romans.ds = new RomanLine(
"DuoShade",
"",
"| This unique style combines a classic Roman shade in natural woven fabric and a roll shade in privacy fabric, mounted on the same headrail. Each shade operates independently. |
| The DuoShade is a great solution when both blackout and sheer treatments are desired. Having the natural fabric and the solar fabric as separate shades allows the consumer to display the natural beauty and light filtering quality of the woven wood most of the time, and then lower the rear roll shade whenever full privacy or light control is needed. |
"
);