function removeExamples() {
	$$('#wrapp ul.linkList').each(function(ul) {
		ul.remove();
	});
	if ($$('body')[0].readAttribute('class') == 'projects') {
		$$('#contBod p.lead')[0].insert({
			after: '<p class="attention"><strong>To view my project examples,</strong> please <a href="javascript:openSubLinksSlider(\'projects\');" title="View my project examples">click the arrow next to &lsquo;Project Examples&rsquo;</a> in the left-hand navigation menu bar. You can scroll to see more examples by clicking on and dragging the little handle underneath the list.</p>'
		});
	} else if ($$('body')[0].readAttribute('class') == 'code') {
		$$('#contBod p.lead')[0].insert({
			after: '<p class="attention"><strong>To view my code techniques,</strong> please <a href="javascript:openSubLinksSlider(\'code\');" title="View my code techniques">click the arrow next to &lsquo;Code Techniques&rsquo;</a> in the left-hand navigation menu bar. You can scroll to see more techniques by clicking on and dragging the little handle underneath the list.</p>'
		});
	}
}

function openSubLinksSlider(li) {
	var button = $$('#topNav li.' + li + ' a.ocSubClosed')[0];
	if (button.getStyle('display') != 'none') {
		var oWidth = findoWidth(li);
		var ulWidth = findUlSubWidth(li);
		openSubNav(button.next(), oWidth, ulWidth);
		if (li == 'projects') 
			projectsOpened = true;
		else if (li == 'code') 
			codeOpened = true;
		button.hide();
	}
}

function pageLoadProjects() {
	openSubLinksSlider('projects');
}

function pageLoadCode() {
	openSubLinksSlider('code');
}