function change_display(ele)
{
	
	if(ele.style.display=='none')
		ele.style.display='block';
	else if(ele.style.display=='')
		ele.style.display='block';
	else
		ele.style.display='none';
		
	
}

function _sd_Post(Url, Args) 
{ 
 var xmlhttp; 
 var error; 
 eval('try {xmlhttp = new ActiveXObject("Microsoft.XMLHTTP"); } catch (e) {xmlhttp = null;error=e;}'); 
 if(null != xmlhttp) 
 { 
 xmlhttp.Open("POST", Url, false); 
 xmlhttp.setRequestHeader("Content-Type", "application/x-www-form-urlencoded"); 
 xmlhttp.Send(Args); 
 strText = xmlhttp.responseText; 
 // if our response starts with http than redirect there 
 if ( strText != null && strText.toLowerCase().indexOf("http") == 0 ) 
 { 
 location.href = strText; 
 } 
 } 
 else 
 { 
 location.href = c_errorUrl; 
 } 
 return strText; 
}
function alteropacity(imageobject, opacity)
{ 
	if (navigator.appName.indexOf("Netscape")!=-1 &&parseInt(navigator.appVersion)>=5) 
		imageobject.style.MozOpacity=opacity/100 
	else if (navigator.appName.indexOf("Microsoft")!= -1 &&parseInt(navigator.appVersion)>=4) 
		imageobject.filters.alpha.opacity=opacity 
} 


function valid_email_addr(email_addr)
{
	var re = new RegExp("^.+\\@(\\[?)[a-zA-Z0-9\\-\\.]+\\.([a-zA-Z]{2,3}|[0-9]{1,3})(\\]?)$");
	var alpha = new RegExp("[a-zA-Z]");var digit = new RegExp("[0-9]");

	if(!re.test(email_addr))
	{
		//alert("Please provide a valid email address.");
		return false;
	} 
	
	return true;
}

function arrange_div()
{
	
	height1 = document.all.content_body_tool.clientHeight+123;
	
	
	
	height2 = height1 + 20;
	document.all.content_body_disclaimer_1.style.top = height2 + "px";
	
	

	
}
function arrange_div2()
{
	
	height1 = document.all.content_body_tool.clientHeight+123+20;

	document.all.content_body_disclaimer_1.style.top = height1 + "px";

	height2 = height1 + document.all.content_body_disclaimer_1.clientHeight + 20;

	document.all.content_body_tool1.style.top = height2 + "px";
	document.all.content_body_tool2.style.top = height2 + "px";
	
	h1 = document.all.content_body_tool1.clientHeight;
	h2 = document.all.content_body_tool2.clientHeight;
	if(h1>h2)
		h = h1;
	else
		h = h2;
	document.all.content_body_tool1.style.height = h + "px";
	document.all.content_body_tool2.style.height = h + "px";
	
	
	
	height2_1 = height2 + h + 20;
	/*
	document.all.content_body_disclaimer_2.style.top = height2_1 + "px";
	*/
	height3 = height2_1  + 100;
	document.all.bottom_link.style.top = height3 + "px";
	
	
	
	

	
}
function arrange_div3()
{
	
	height1 = document.all.content_body.clientHeight+102+20;
	
	document.all.bottom_link.style.top = height1 + "px";
	
}
