
<!--
function Changevar(Str)
{
	Cngvar="";

	for(I=0;I<Str.length;I++)
	{
		if(    ((Str.charAt(I)>='a') && (Str.charAt(I)<='z'))
		    || ((Str.charAt(I)>='A') && (Str.charAt(I)<='Z'))
		    || ((Str.charAt(I)>='0') && (Str.charAt(I)<='9'))
		  )
			Cngvar+=Str.charAt(I);
		else
			if(Str.charAt(I)=='_')
				Cngvar+="__";
			else
				Cngvar+="_"+Str.charCodeAt(I)+"_";
	}

	return Cngvar;
}

	var	cookstr = "";

	function errorcng(value) {
		if (value<=0.99) {
			dollarsnew = '0';
		} else {
			dollarsnew = parseInt(value);
		}
		centsnew = parseInt((value+.0008 - dollarsnew)* 100);
		if (eval(centsnew) <= 9) centsnew='0'+centsnew;
		varnew = dollarsnew + '.' + centsnew;
		return (varnew);
	}


	function purchaseitem(productnew, costnew, quantitynew, productselect, ordercode1, ordercode2, ordercode3, ordercode4, ordercode5, ordercode6) {
		var supplierordercode = 0;
		if(productselect == 0)
			supplierordercode=ordercode1;
		if(productselect == 1)
			supplierordercode=ordercode2;
		if(productselect == 2)
			supplierordercode=ordercode3;
		if(productselect == 3)
			supplierordercode=ordercode4;
		if(productselect == 4)
			supplierordercode=ordercode5;
		if(productselect == 5)
			supplierordercode=ordercode6;
		if (quantitynew <= 0) {
			rc = alert('Please enter a correct quantity!');
		} else {
			if (confirm('Add '+quantitynew+' x ITEM #'+productnew+' to basket?')) {
				idx = document.cookie.indexOf("ShoppingTrolley");
				startcnt = (document.cookie.indexOf("=", idx) + 1);
        			endcnt = document.cookie.indexOf(";", idx);
	        		if (endcnt == -1) {
        	    			endcnt = document.cookie.length;
	        		}
				expires = setexpdate();
		                document.cookie="ShoppingTrolley="+document.cookie.substring(startcnt, endcnt)+"["+productnew+"|"+costnew+"|"+quantitynew+"|"+supplierordercode+"]" + "; expires=" + expires.toGMTString() + "; path=/";
			cookstr=document.cookie;
			}
		}
	}

	


	function setexpdate() {
		var	expdate = new Date();
		expdate.setTime (expdate.getTime() +( 1000 * 60 * 60 * 24 * 1));
		return (expdate);
	}


	function resetnow() {
		if(!(document.cookie)) {
		expires = setexpdate();
                idx = document.cookie.indexOf("ShoppingTrolley");
		document.cookie="ShoppingTrolley=." + "; expires = " + expires.toGMTString() + "; path=/";
		cookstr = document.cookie;
		}
		if (document.cookie) {
                } else {
                  alert('Cookies are disabled.\nThis shop requires cookies to process your orders, please activate cookies in your settings and press reload or refresh.');
                }

	}

	function showbigger(filename) {
		window.open(filename,'_blank','width=300 , height=400');
		}

	function choose_price(pricenum,price1,price2) {
		if(pricenum=='0') {
			return price1;
		}
	else {
			return price2;
		}
	}


//-->


var clicked=""
var gtype=".gif"
var selstate="_over"
if (typeof(loc)=="undefined" || loc==""){
	var loc=""
	if (document.body&&document.body.innerHTML){
		var tt = document.body.innerHTML.toLowerCase();
		var last = tt.indexOf("nav.js\"");
		if (last>0){
			var first = tt.lastIndexOf("\"", last);
			if (first>0 && first<last) loc = document.body.innerHTML.substr(first+1,last-first-1);
		}
	}
}
document.write("<table width=\"140\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\" background=\"storepics/menufade2.jpg\"><tr>");
document.write("<td><center><A HREF=\"nav.htm\"><IMG SRC=\"storepics/pflogosm.gif\" border=\"0\"></A><BR><font size=\"-2\">Click logo for main page<BR></CENTER></FONT></td></tr>");
tr(true);
document.write("<td><center><img src=\""+loc+"nav_top.gif\" alt=\"\" width=\"130\" height=\"18\"></td>");
tr(false);
tr(true);
document.write("<td><center><img src=\""+loc+"nav_b1.gif\" alt=\"\" width=\"130\" height=\"18\"></td>");
tr(false);
tr(true);
document.write("<td><center><img src=\""+loc+"nav_seperator.gif\" alt=\"\" width=\"130\" height=\"11\"></td>");
tr(false);
writeButton(loc+"../","navadhesive_bras.htm","nav_b2",130,18,"Adhesive Bras >","",0);
writeButton(loc+"../","navbrafillers.htm","nav_b3",130,18,"Bra Fillers >","",0);
writeButton(loc+"../","nipple_covers.htm","nav_b4",130,18,"Nipple Covers","",0);
writeButton(loc+"../","cleavage_clasp_bra.htm","nav_b5",130,18,"Cleavage Clasp Bra","",0);
writeButton(loc+"../","U_shape_lift_tape.htm","nav_b6",130,18,"U-Shape Lift Tape","",0);
writeButton(loc+"../","miracle_lifts.htm","nav_b7",130,18,"Miracle Lifts","",0);
writeButton(loc+"../","miracle_tape.htm","nav_b8",130,18,"Miracle Tape","",0);
writeButton(loc+"../","perfect_feet.htm","nav_b9",130,18,"Perfect Feet","",0);
writeButton(loc+"../","perfect_comfort.htm","nav_b10",130,18,"Perfect Comfort","",0);
writeButton(loc+"../","navbrastraps.htm","nav_b11",130,18,"Bra Straps >","",0);
writeButton(loc+"../","strap_converters.htm","nav_b12",130,18,"Strap Converters","",0);
writeButton(loc+"../","bra_extenders.htm","nav_b13",130,18,"Bra Extenders","",0);
writeButton(loc+"../","lingerie_wash_bags.htm","nav_b14",130,18,"Lingerie Wash Bags","",0);
writeButton(loc+"../","gift_sets.htm","nav_b15",130,18,"Gift Sets","",0);
tr(true);
document.write("<td><center><img src=\""+loc+"nav_bottom.gif\" alt=\"\" width=\"130\" height=\"15\"></td>");
tr(false);
tr(true);
document.write("<td><center><img src=\""+loc+"nav_top.gif\" alt=\"\" width=\"130\" height=\"14\"></td>");
tr(false);
writeButton(loc+"../","basket.htm","nav_b16",130,18,"Cart Contents","",0);
writeButton(loc+"../","deliver.htm","nav_b17",130,18,"Shipping Info","",0);
writeButton(loc+"../","inform.htm","nav_b18",130,18,"About Us","",0);
writeButton(loc+"../","emailus.htm","nav_b19",130,18,"Contact Us","",0);
tr(true);
document.write("<td><center><img src=\""+loc+"nav_bottom.gif\" alt=\"\" width=\"130\" height=\"15\"></td>");
document.write("</tr></table>")
loc="";

function tr(b){if (b) document.write("<tr>");else document.write("</tr>");}

function turn_over(name) {
	if (document.images != null && clicked != name) {
		document[name].src = document[name+"_over"].src;
	}
}

function turn_off(name) {
	if (document.images != null && clicked != name) {
		document[name].src = document[name+"_off"].src;
	}
}

function reg(gname,name)
{
if (document.images)
	{
	document[name+"_off"] = new Image();
	document[name+"_off"].src = loc+gname+gtype;
	document[name+"_over"] = new Image();
	document[name+"_over"].src = loc+gname+"_over"+gtype;
	}
}

function evs(name){ return " onmouseover=\"turn_over('"+ name + "')\" onmouseout=\"turn_off('"+ name + "')\""}

function writeButton(urld, url, name, w, h, alt, target, hsp)
{
	gname = name;
	while(typeof(document[name])!="undefined") name += "x";
	reg(gname, name);
	tr(true);
	document.write("<td><center>");
	if (alt != "") alt = " alt=\"" + alt + "\"";
	if (target != "") target = " target=\"" + target + "\"";
	if (w > 0) w = " width=\""+w+"\""; else w = "";
	if (h > 0) h = " height=\""+h+"\""; else h = "";	
	if (url != "") url = " href=\"" + urld + url + "\"";
	
	document.write("<a " + url + evs(name) + target + ">");	
	
	if (hsp == -1) hsp =" align=\"right\"";
	else if (hsp > 0) hsp = " hspace=\""+hsp+"\"";
	else hsp = "";
	
	document.write("<img src=\""+loc+gname+gtype+"\" name=\"" + name + "\"" + w + h + alt + hsp + " border=\"0\" /></a></td>");
	tr(false);
}
