// alert(sFormat); switch(sFormat) { case "ListOnly": document.write("\List\"); break; case "SearchOnly": document.write("\Search\"); break; case "DirectoryOnly": document.write("\Directory\"); break; case "CompareOnly": var sFeaturesCSSURL, sSearchCSSURL; sFeaturesCSSURL = "http://www.cmsreview.com/timelines/ShopFeatures.css"; sSearchCSSURL = "http://www.cmsreview.com/timelines/ShopFeatures.css"; function fGetCSSURLs(oForm) { // oForm like document.ComparisonForm oForm.FeaturesCSSURL.value = sFeaturesCSSURL; // oForm.SearchCSSURL.value = sSearchCSSURL; } function fGenSelectedList(oForm) { sProduct1ID = oForm.Product1.options[oForm.Product1.selectedIndex].value; sProduct2ID = oForm.Product2.options[oForm.Product2.selectedIndex].value; if (sProduct1ID != "") { oForm.SelectedList.value = "Product" + sProduct1ID + ";" } if (sProduct2ID != "") { if (sProduct1ID != sProduct2ID) { oForm.SelectedList.value += "Product" + sProduct2ID + ";"; } } } switch(sFormat) { case "HorizStack": case "HorizBlock": case "VertBlock": sAlignLinkCenter = "0"; sSpaceAfterLink = "1"; sStackLink = "0"; sStackSelects = "1"; break; case "Horizontal": sAlignLinkCenter = "0"; sSpaceAfterLink = "1"; sStackLink = "0"; sStackSelects = "0"; break; case "Vertical": sAlignLinkCenter = "1"; sSpaceAfterLink = "0"; sStackLink = "1"; sStackSelects = "1"; break; } document.write("\
| "); } else { document.write("\ | "); } document.write('\Compare\'); if (sSpaceAfterLink == "1") { document.write(" "); } document.write("\ | "); document.write("\
| ");
document.write("\List\");
if (sPipes == "1") {
document.write(" | ");
} else {
document.write("\ "); // document.write("\ | ");
// document.write("\||
| ");
}
document.write("\Search\");
if (sPipes == "1") {
document.write(" | ");
} else {
document.write("\ "); } document.write("\Directory\"); if (sPipes == "1") { // document.write(" | "); } document.write("\ | ");
if (sCompareBelow == "1") {
document.write("\||
");
var sFeaturesCSSURL, sSearchCSSURL;
sFeaturesCSSURL = "http://www.cmsreview.com/timelines/ShopFeatures.css";
sSearchCSSURL = "http://www.cmsreview.com/timelines/ShopFeatures.css";
function fGetCSSURLs(oForm) {
// oForm like document.ComparisonForm
oForm.FeaturesCSSURL.value = sFeaturesCSSURL;
// oForm.SearchCSSURL.value = sSearchCSSURL;
}
function fGenSelectedList(oForm) {
sProduct1ID = oForm.Product1.options[oForm.Product1.selectedIndex].value;
sProduct2ID = oForm.Product2.options[oForm.Product2.selectedIndex].value;
if (sProduct1ID != "") {
oForm.SelectedList.value = "Product" + sProduct1ID + ";"
}
if (sProduct2ID != "") {
if (sProduct1ID != sProduct2ID) {
oForm.SelectedList.value += "Product" + sProduct2ID + ";";
}
}
}
switch(sFormat) {
case "HorizStack":
case "HorizBlock":
case "VertBlock":
sAlignLinkCenter = "0";
sSpaceAfterLink = "1";
sStackLink = "0";
sStackSelects = "1";
break;
case "Horizontal":
sAlignLinkCenter = "0";
sSpaceAfterLink = "1";
sStackLink = "0";
sStackSelects = "0";
break;
case "Vertical":
sAlignLinkCenter = "1";
sSpaceAfterLink = "0";
sStackLink = "1";
sStackSelects = "1";
break;
}
document.write("\
| ");
document.write("\