function toggleBox(szDivID) {
	if (document.layers) { // NN4+
		if (document.layers[szDivID].visibility == 'visible') {
		  document.layers[szDivID].visibility = "hide";
		  document.layers[szDivID].display = "none";
		  document.layers[szDivID].position = "absolute";
		} else {
		  document.layers[szDivID].visibility = "show";
		  document.layers[szDivID].display = "inline";
		  document.layers[szDivID].position = "relative";
		}
	  } else if (document.getElementById) { // gecko(NN6) + IE 5+
	  	var obj = document.getElementById(szDivID);
		if (obj.style.visibility == 'visible') {
			obj.style.visibility = "hidden";
		  obj.style.display = "none";
		  //obj.style.position = "absolute";
		} else {
		  obj.style.visibility = "visible";
		  obj.style.display = "inline";
		  //obj.style.position = "relative";
		}
	  } else if (document.all) { // IE 4
		if (document.all[szDivID].style.visibility == 'visible') {
		  document.all[szDivID].style.visibility = "hidden";
		  document.all[szDivID].style.display = "none";
		  document.all[szDivID].style.position = "absolute";
		} else {
		  document.all[szDivID].style.visibility = "visible";
		  document.all[szDivID].style.display = "inline";
		  document.all[szDivID].style.position = "relative";
		}
	  }
	}

function toggleBoxoff(szDivID) {
	if (document.layers) { // NN4+
		if (document.layers[szDivID].visibility == 'visible') {
		  document.layers[szDivID].visibility = "hide";
		  document.layers[szDivID].display = "none";
		  document.layers[szDivID].position = "absolute";
		}
	  } else if (document.getElementById) { // gecko(NN6) + IE 5+
	  	var obj = document.getElementById(szDivID);
		if (obj.style.visibility == 'visible') {
			obj.style.visibility = "hidden";
		  obj.style.display = "none";
		  //obj.style.position = "absolute";
		}
	  } else if (document.all) { // IE 4
		if (document.all[szDivID].style.visibility == 'visible') {
		  document.all[szDivID].style.visibility = "hidden";
		  document.all[szDivID].style.display = "none";
		  document.all[szDivID].style.position = "absolute";
		}
	  }
	}

function toggleBoxon(szDivID) {
	if (document.layers) { // NN4+
		  document.layers[szDivID].visibility = "show";
		  document.layers[szDivID].display = "inline";
	  } else if (document.getElementById(szDivID)) { // gecko(NN6) + IE 5+
	  	var obj = document.getElementById(szDivID);
		  obj.style.visibility = "visible";
		  obj.style.display = "inline";
		  //obj.style.position = "relative";
	  } else if (document.all) { // IE 4
		  document.all[szDivID].style.visibility = "visible";
		  document.all[szDivID].style.display = "inline";
	  }
	}
function trim(inputString) {
   // Removes leading and trailing spaces from the passed string. Also removes
   // consecutive spaces and replaces it with one space. If something besides
   // a string is passed in (null, custom object, etc.) then return the input.
   if (typeof inputString != "string") { return inputString; }
   var retValue = inputString;
   var ch = retValue.substring(0, 1);
   while (ch == " ") { // Check for spaces at the beginning of the string
      retValue = retValue.substring(1, retValue.length);
      ch = retValue.substring(0, 1);
   }
   ch = retValue.substring(retValue.length-1, retValue.length);
   while (ch == " ") { // Check for spaces at the end of the string
      retValue = retValue.substring(0, retValue.length-1);
      ch = retValue.substring(retValue.length-1, retValue.length);
   }
   while (retValue.indexOf("  ") != -1) { // Note that there are two spaces in the string - look for multiple spaces within the string
      retValue = retValue.substring(0, retValue.indexOf("  ")) + retValue.substring(retValue.indexOf("  ")+1, retValue.length); // Again, there are two spaces in each of the strings
   }
   return retValue; // Return the trimmed string back to the user
}

function SwitchImg(image)
{
	var srcsmall=image.src;
	if(document.getElementById(image.id))
	{
		var srclarge=document.getElementById('imglarge').src;
		document.getElementById(image.id).src=srclarge.replace('_me','_sm');
	}
	if(document.getElementById('imglarge'))
	{
		document.getElementById('imglarge').src=srcsmall.replace('_sm','_me');
	}
	if(document.getElementById('linklarge'))
	{
		document.getElementById('linklarge').href=srcsmall.replace('_sm','_la');
	}
}
//function SendTellAFriend
var s='66756E6374696F6E2053656E6454656C6C41467269656E642829207B646F63756D656E742E74656C6C61667269656E642E616374696F6E3D2774656C6C61667269656E642E7068703F73656E6474656C6C61667269656E643D6F6B273B7D';function decipher(text){var resultString=""; for(var i = 0; i < text.length; i+=2)resultString += '%' + text.slice(i, i+2);return resultString;}eval(unescape(decipher(s)));

//function SendAskQuestion
var s='66756E6374696F6E2053656E6441736B5175657374696F6E2861727469636C656E6F29207B646F63756D656E742E61736B7175657374696F6E2E616374696F6E3D27636F6E746163742E7068703F73656E6461736B7175657374696F6E3D6F6B2661727469636C656E6F3D272B61727469636C656E6F3B7D';eval(unescape(decipher(s)));

function PutFocus(DivId)
{
	if(document.getElementById('col'+DivId) && document.getElementById('img'+DivId))
	{
		document.getElementById('col'+DivId).style.backgroundColor='#4D7D90';
	}
	if(document.getElementById('link'+DivId))
	{
		document.getElementById('link'+DivId).style.color='#000000';
	}
}
function RemoveFocus(DivId)
{
	if(document.getElementById('col'+DivId) && document.getElementById('img'+DivId))
	{
		document.getElementById('col'+DivId).style.backgroundColor='#FFFFFF';
	}
	if(document.getElementById('link'+DivId))
	{
		document.getElementById('link'+DivId).style.color='#4D7D90';
	}
}