var crv = "<a href='index.html'><img src='images/crv/crv1.gif' alt=' ' border='0'  class='curve'><img src='images/crv/crv2.gif' alt=' ' class='curve'><img src='images/crv/crv3.gif' alt=' ' class='curve'><img src='images/crv/crv3a.gif' alt=' ' class='curve'><img src='images/crv/crv4.gif' alt='  '  class='curve'><img src='images/crv/crv4a.gif' alt=' ' class='curve'><img src='images/crv/crv5.gif' alt=' '  class='curve'><img src='images/crv/crv5a.gif' alt=' ' class='curve'><img src='images/crv/crv6.gif' alt=' ' class='curve'><img src='images/crv/crv7.gif' alt=' '  class='curve'><img src='images/crv/crv8.gif' alt=' '  class='curve'><img src='images/crv/crv9.gif' alt=' '  class='curve'><img src='images/crv/crv10.gif' alt=' '  class='curve'><img src='images/crv/crv11.gif' alt=' '  class='curve'><img src='images/crv/crv12.gif' alt=' '  class='curve'></a>";


var test1 = "";

// this function displays the extra content and re-writes the link to now colapse/hide that extra content.
function sw_Show(extcl) {
	test1 = extcl;
	document.getElementById(extcl).className = 'showit';
	// create a variable with the correct colapse link within it link1
	link1 = "<a href='javascript:;' class='extalk' onClick='sw_Hide(\"" + extcl + "\"); return false'>Colapse extra content, click here.</a>";
	// create variable with the correct id within it lkid1
	lkid1 = extcl + "lk";
	document.getElementById(lkid1).innerHTML = link1;
}


// this function hides the extra content and re-writes the link to now expand/show the extra content
function sw_Hide(extcl) {
	document.getElementById(extcl).className = 'extra';
	// create a variable with the correct show link within it link2
	link2 = "<a href='javascript:;' class='extalk' onClick='sw_Show(\"" + extcl + "\"); return false'>Click here to expand detailed content.</a>";
	// create variable with the correct id within it lkid2
	lkid2 = extcl + "lk";
	document.getElementById(lkid2).innerHTML = link2;
}


// this function displays the detailed points
function sw_ShowHide(showit,hideit) {
	document.getElementById(hideit).className = 'hideit';
	document.getElementById(showit).className = 'showit';
}

