var oCurrentMenu = null;
var currentTimer = null;

function highlightItem(sName, sPath) {
	swapImg("thm"+sName, sPath);
	try {
		$("d"+sName).className = "accessory-details accessory-over";
	} catch(e) {
		//	
	}
}

function unhighlightItem(sName, sPath) {
	swapImg("thm"+sName, sPath);
	try {
		$("d"+sName).className = "accessory-details";
	} catch(e) {
		//	
	}
}

function swapImg(sName, sPath) {
	try {
		$(sName).src = sPath;
	} catch(e) {
		//	
	}
}

function highlightBox(o) {
	try {
		o.className = "active cntContentBlockOver";
	} catch(e) {
		//	
	}
}

function unhighlightBox(o) {
	try {
		o.className = "active cntContentBlock";
	} catch(e) {
		//	
	}
}

function showSubNav(o) {
	oCurrentMenu = $(o);
	try {
		clearInterval(currentTimer);
		oCurrentMenu.style.display = "block";
	} catch(e) {
			
	}
}

function hideSubNav() {
	clearInterval(currentTimer);
	currentTimer = setInterval(hideSubNavMenu, 500);
}

function hideSubNavMenu() {
	try {
		clearInterval(currentTimer);
		oCurrentMenu.style.display = "none";
		oCurrentMenu = null;
	} catch(e) {
		//	
	}
}

function launchWalkaround(sPath) {
	
}
