<!-- hide
///////////////////////////////////////////// Javascript Cookie Handler
function get_cookie ( cookie_name )
{
  var results = document.cookie.match ( '(^|;) ?' + cookie_name + '=([^;]*)(;|$)' );

  if ( results )
    return ( unescape ( results[2] ) );
  else
    return null;
}
///////////////////////////////////////////// Jump to URL
function jump(sss) {
	if (sss != "null") {
		document.location.href = sss;
	}
}
///////////////////////////////////////////// Submit Form
function submitform(sss) {
	if (sss!="") {
		document.getElementById(sss).submit();
	}
}
///////////////////////////////////////////// Clear Form Item
function clearme(sss) {
	if (sss.value == sss.defaultValue) {
		sss.value = "";
	}
}
///////////////////////////////////////////// Show/Hide Item
function toggle(sss) {
	if ( document.getElementById(sss).style.display != 'none' ) {
		document.getElementById(sss).style.display = 'none';
	}
	else {
		document.getElementById(sss).style.display = 'block';
	}
	document.body.style.overflow="auto";
}
///////////////////////////////////////////// Round Number
function roundno(num,dec) {
	var result = Math.round(num*Math.pow(10,dec))/Math.pow(10,dec);
	return result;
}
///////////////////////////////////////////// currency formatting
function cformat(sss)
{
	var i = parseFloat(sss);
	if(isNaN(i)) { i = 0.00; }
	var minus = '';
	if(i < 0) { minus = '-'; }
	i = Math.abs(i);
	i = parseInt((i + .005) * 100);
	i = i / 100;
	s = new String(i);
	if(s.indexOf('.') < 0) { s += '.00'; }
	if(s.indexOf('.') == (s.length - 2)) { s += '0'; }
	s = minus + s;
	return s;
}
///////////////////////////////////////////// AJAX Builder
var xmlHttp
function GetXmlHttpObject()
{
var xmlHttp=null;
try
  {
  // Firefox, Opera 8.0+, Safari
  xmlHttp=new XMLHttpRequest();
  }
catch (e)
  {
  // Internet Explorer
  try
    {
    xmlHttp=new ActiveXObject("Msxml2.XMLHTTP");
    }
  catch (e)
    {
    xmlHttp=new ActiveXObject("Microsoft.XMLHTTP");
    }
  }
return xmlHttp;
}
function cr(rrr,sss,ttt) {
	if (rrr!="" && sss!="" && ttt!="") {
		document.getElementById(sss).innerHTML=eval(ttt-rrr.length);
	}
}
// end hide -->