//this checks the location to determine what kind of page we are viewing. var swhostsp = new Array(); var swpathsp = new Array(); var swsearchsp = new Array(); var swhost = document.location.host; var swpath = document.location.pathname; var swsearch = document.location.search; var swhostsp = swhost.split("."); var swpathsp = swpath.split("/"); // gives me the path inpieces var swsearchsp = swsearch.split("&"); // just give me a variable I can use in the navigation bar and the footer so I know if those items should be on or off. var sw_tab = 0; // if (swpathsp[2] == "sc.3" || swpathsp[3] == "sc.3") {var sw_tab = 1;} //else if (swhostsp[0] == "checkout" && swpathsp[1] == "s.nl") {var sw_tab = 2;} else if (swpathsp[3] == "nlvisitor.nl" || swpathsp[3] == "emailpwd.nl" || swpathsp[3] == "card.nl" || swpathsp[4] == "custprofile.nl") {var sw_tab = 3;} // this is the number of testimonial files we have to randomly choose from var testnum = 14; //the number of customer testimonials goes here var lab = new Array(); function SW_cattbl(lab) { // for testing var lab = "BT43"; // this function takes info and writes the cat right table with the correct price break and sun label image lab = lab.split(" "); labl = lab.length; document.write("
QuantityPrice
same low price
for all orders
order label for this bottle");var lab = new Array(); } else if (labl == 4 || labl == 5) { document.write(">1 – " + lab[0] + "
$" + lab[1] + "
" + lab[2] +" +$" + lab[3] + "
"); if (labl == 5) {document.write("order label for this bottle");}var lab = new Array(); } else if (labl == 7 || labl == 8) { document.write(">1 – " + lab[0] + "$" + lab[1] + "" + lab[2] +" – " + lab[3] + "$" + lab[4] + "" + lab[5] + " +$" + lab[6] + ""); if (labl == 8) {document.write("order label for this bottle");}var lab = new Array(); } else if (labl == 10 || labl == 11) { document.write(">1 – " + lab[0] + "$" + lab[1] + "" + lab[2] +" – " + lab[3] + "$" + lab[4] + "" + lab[5] + " – " + lab[6] + "$" + lab[7] + "" + lab[8] + " +$" + lab[9] + ""); if (labl == 11) {document.write("order label for this bottle");}var lab = new Array(); } else document.write("
See item page for quantitiy discounts"); document.write (""); // end function } // this is the left navigation bar cut into two, under 4000 character pieces var leftnavv = "
"; // test of dyanamic price break on category code function sw_DynCat() { //get url of item page and open in pop-under // get content of price listing on that child page and set to sw_qpric sw_qpric = document.getElementById('sw_qprice').innerHTML document.write("
"); document.write(sw_qpric); document.write ("
"); // end it by reseting what is needed to be reset }// end function