var hdg_pivot = "PIVOT CIRCLE";
var hdg_notch = "Patented SPAT NOTCH<span style='font-size:15px; vertical-align:top;'>&trade;</span>";
var hdg_supergrip = "Super-Grip Sole";
var hdg_rolledheel = "Rolled-Heel<span style='font-size:15px; vertical-align:top;'>&trade;</span>";
var hdg_lacelock = "Self-Locking Lace System";
var hdg_blister = "100% BlisterProof Bliss";
var hdg_nonmarking = "100% Non-Marking Soles";
var hdg_lining = "100% Full-Shoe Absorbent Lining";
var hdg_water = "Price and Size Information";
var hdg_superflex = "Super Flexibility";
var hdg_guarantee = "Lifetime Guarantee";

var txt_pivot = "Promotes/enhances precise turns. Reduces torque strain on the foot.";
var txt_notch = "Keeps the spat elastic strap from pavement contact. Spats NEVER wear out. NEVER slip.";
var txt_supergrip = "Outperforms every other shoe in the wet.  Improves safety and boosts marching performance in adverse surface conditions.";
var txt_rolledheel = "Patented technology <span class='underline'>only from Drillmasters</span>.  Proven (over 25 years!) to improve marching scores and overall musician performance.";
var txt_lacelock = "Ingenious eyelet array keeps laces always tied, tight. Tech-derived from expensive athletic footwear.";
var txt_blister = "NO blisters from this shoe. None. <span class='bold'>Never!</span>";
var txt_nonmarking = "Never leave a single ugly, black smudge on your beautiful indoor floors.";
var txt_lining = "Insures super-comfort no matter how hot or cold the weather. Keeps the foot dry like it's breathing fresh air!";
var txt_water = "Sizes:<br/>Men's: 3-16, Half-Sizes 3 1/2-10 1/2, Wide 11-16<br>Women's: 5-18, Half-Sizes 5 1/2-12 1/2, Wide 13-18<br>Colors: Easy-Clean Black (only)";
var txt_superflex = "Allows unrestricted movement and foot articulation like a <span class='bold'>high-quality dance shoe</span>.  A must for today's complex and demanding shows.";
var txt_guarantee = "No other shoe offers you a New Shoe Lifetime Guarantee.  If a shoe ever splits/separates/fails due to a manufacturing defect you get a replacement pair, FREE.  That's real Peace-of-Mind <span class='bold'>band parents love</span>.";

var hdg_default = "Key Features"
var txt_default = "<span class='bold'>Rollover a feature to see details.</span>"


function mnuOn(itm) {
	document.getElementById("menu_"+itm).style.backgroundImage = "url(images/bkgd_menu_on.png)";
	document.getElementById("menu_"+itm).style.backgroundColor = "#ff0d0d";
	document.getElementById("menu_"+itm).style.color = "#000000";
}

function mnuOff(itm) {
	document.getElementById("menu_"+itm).style.backgroundImage = "url(images/bkgd_menu.png)";
	document.getElementById("menu_"+itm).style.backgroundColor = "#000000";
	document.getElementById("menu_"+itm).style.color = "#BDBABA";
}

function featOn(feat) {
	document.getElementById("feat_"+feat).style.color = "#BF0404";
	document.getElementById("arrow_"+feat).style.visibility = "visible";
	document.getElementById("feat_detail_head").innerHTML = eval("hdg_"+feat);
	document.getElementById("feat_detail").innerHTML = eval("txt_"+feat);
}

function featOff(feat) {
	document.getElementById("feat_"+feat).style.color = "#000000";
	document.getElementById("arrow_"+feat).style.visibility = "hidden";
	if(document.getElementById("spot_"+feat)!=null) {
		document.getElementById("spot_"+feat).src = "images/spot_feature_off.png";
	}
}

function spotOn(feat) {
	document.getElementById("spot_"+feat).src = "images/spot_feature_on.png";
	featOn(feat);
}

function spotOff(feat) {
	document.getElementById("spot_"+feat).src = "images/spot_feature_off.png";
	featOff(feat);
	document.getElementById("feat_detail_head").innerHTML = hdg_default;
	document.getElementById("feat_detail").innerHTML = txt_default;
}

function pause(milliseconds) {
	var dt = new Date();
	while ((new Date()) - dt <= milliseconds) { /* Do nothing */ }
}


function spotOffAll() {
	document.getElementById("spot_pivot").src = "images/spot_feature_off.png";
	document.getElementById("spot_notch").src = "images/spot_feature_off.png";
	document.getElementById("spot_rolledheel").src = "images/spot_feature_off.png";
	document.getElementById("spot_lacelock").src = "images/spot_feature_off.png";
}

function spotOnAll() {
	document.getElementById("spot_pivot").src = "images/spot_feature_on.png";
	document.getElementById("spot_notch").src = "images/spot_feature_on.png";
	document.getElementById("spot_rolledheel").src = "images/spot_feature_on.png";
	document.getElementById("spot_lacelock").src = "images/spot_feature_on.png";
}

function spotLoad() {
	if((location.href).indexOf('keyfeatures.asp') > -1){
  	spotOnAll();
  	spotOffAll();
		spotOnAll();
  	spotOffAll();
	}
}
