<!-- hide
///////////////////////////////////////////// Jump to URL
function jump(sss) {
if (sss != "null") {
	document.location.href = sss;
	}
}
///////////////////////////////////////////// Form Submission
function fsub(sss) {
	if (sss != "null") {
	document.getElementById(sss).submit();
	}
}
///////////////////////////////////////////// Show Terms
function terms(sss) {
	if (sss != "null") {
	document.getElementById(sss).style.display="block";
	document.body.style.overflow="hidden";
	}
}
///////////////////////////////////////////// Question Box
function qbox(sss) {
if (sss != "null") {
	var _el = document.getElementById(sss);
	var _parent = _el.parentNode;
	_parent.removeChild( _el );
	_parent.innerHTML = '<textarea style="width:250px;height:100px;" id="' + _el.id + '" name="' + _el.id + '" onblur="qbox2(this.id);" onKeyUp="KeyPressed(this.id);">' + _el.value +'</textarea>';
	document.getElementById("question").style.height="20px";
	document.getElementById("qu1").style.position="relative";
	document.getElementById("qu1").style.top="-86px";
	document.getElementById("qu2").style.position="relative";
	document.getElementById("qu2").style.top="-86px";
	document.getElementById("ask").style.position="relative";
	document.getElementById("ask").style.top="-86px";
	document.getElementById("thequestion").style.position="relative";
	document.getElementById("thequestion").focus();
	if (navigator.appName=="Microsoft Internet Explorer")
	{
	document.all("thequestion").focus();
	}
	_el = null;
	}
}
function qbox2(sss) {
if (sss != "null") {
	var _el = document.getElementById(sss);
	var _parent = _el.parentNode;
	_parent.removeChild( _el );
	_parent.innerHTML = '<input style="width:250px;" type="text" name="' + _el.id + '" id="' + _el.id + '" value="' + _el.value + '"  onfocus="qbox(this.id);" onKeyUp="KeyPressed(this.id);" />';
	document.getElementById("question").style.height="20px";
	document.getElementById("qu1").style.position="relative";
	document.getElementById("qu1").style.top="0";
	document.getElementById("qu2").style.position="relative";
	document.getElementById("qu2").style.top="0";
	document.getElementById("ask").style.position="relative";
	document.getElementById("ask").style.top="0";
	document.getElementById("email").focus();
	_el = null;
	}
}
function KeyPressed(e) {

var m = document.getElementById(e).value;
document.getElementById(e).value = m.replace(/"/,"'");

}
///////////////////////////////////////////// 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";
} 
///////////////////////////////////////////// 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;
}
/***********************************************
* Bookmark site script- © Dynamic Drive DHTML code library (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code
***********************************************/
function bookmarksite(title,url){
if (window.sidebar) // firefox
	window.sidebar.addPanel(title, url, "");
else if (window.opera && window.print) { // opera
	var elem = document.createElement('a');
	elem.setAttribute('href',url);
	elem.setAttribute('title',title);
	elem.setAttribute('rel','sidebar');
	elem.click();
} 
else if(document.all)// ie
	window.external.AddFavorite(url, title);
}
// end hide -->