function changeLoc(address){
  window.location.href = address;
}

function onOver(td){
  if(document.getElementById||(document.all && !(document.getElementById))){
    td.style.backgroundColor="#F5F5F4";
    td.style.cursor="hand";
  }
}

function onOut(td){
  if(document.getElementById||(document.all && !(document.getElementById))){
    td.style.backgroundColor="#E8E8E6";
  }
}
  
function copyToClipboard(pre){
  if(document.getElementById||(document.all && !(document.getElementById))){
  textarea1.value = pre.innerText;
  var Copied = textarea1.createTextRange();
  Copied.execCommand("Copy");
  alert("Copied to clipboard.");
  

  }
}

function focusinput( elem ){
elem.className = 'flatinputfocus';
return;
}

function blurinput( elem ){
elem.className = 'flatinput';
}


function Toggle( elemId )
{
	var id = document.getElementById( elemId );
	if (id.style.display == "none")
		eval("id.style.display = 'block';");
	else
		eval("id.style.display = 'none';");
}