<!--
function popup_scroll(url, width, height) {
  //wnd = window.open(url);
  wnd = window.open(url, "termofuse","location=no,resizable=1,scrollbars=1,width="+ width + ",height="+ height );
  wnd.focus();
}

function chksubmitstatus() 
{	
	if(document.getElementById("chkagree").checked == true )
	{	
		document.getElementById("submit").disabled = false;	}
	else
	{	
		document.getElementById("submit").disabled = true;
	}
}

function showloader()
{
	document.getElementById("errormessagearea").innerHTML = "<img src='images/ajax-loader.gif' width='16px' height='11px' /> Loading...";
}

function searchfaq(searchstring)
{
	var string = searchstring;
	
	xajax_faqpagination(1,String(string));
	return true;
}

function slider()
{
		$("#slider").easySlider({
			auto: true, 
			continuous: true
		});
		
}

function changestyle(menu)
{
	//post
	if(menu == 'registerpost') 
	{  document.getElementById('registerpost').setAttribute("class", "orangelinksmall"); } 
	else{ document.getElementById('registerpost').setAttribute("class", "graylinksmall"); }
	
	if(menu == 'deaktivasi') 
	{  document.getElementById('deaktivasi').setAttribute("class", "orangelinksmall"); } 
	else{ document.getElementById('deaktivasi').setAttribute("class", "graylinksmall"); }
	
	//pre	
	if(menu == 'registerpre') 
	{  document.getElementById('registerpre').setAttribute("class", "orangelinksmall"); } 
	else{ document.getElementById('registerpre').setAttribute("class", "graylinksmall"); }
	
	if(menu == 'extendpre') 
	{  document.getElementById('extendpre').setAttribute("class", "orangelinksmall"); } 
	else{ document.getElementById('extendpre').setAttribute("class", "graylinksmall"); }
	
	if(menu == 'seeperiod') 
	{  document.getElementById('seeperiod').setAttribute("class", "orangelinksmall"); } 
	else{ document.getElementById('seeperiod').setAttribute("class", "graylinksmall"); }
	
	
	//how to use protector
	if(menu == 'downloadprotector') 
	{  document.getElementById('downloadprotector').setAttribute("class", "orangelinksmall"); } 
	else{ document.getElementById('downloadprotector').setAttribute("class", "graylinksmall"); }
	
	if(menu == 'startprotector') 
	{  document.getElementById('startprotector').setAttribute("class", "orangelinksmall"); } 
	else{ document.getElementById('startprotector').setAttribute("class", "graylinksmall"); }
	
	if(menu == 'smart') 
	{  document.getElementById('smart').setAttribute("class", "orangelinksmall"); } 
	else{ document.getElementById('smart').setAttribute("class", "graylinksmall"); }
	
	if(menu == 'intense') 
	{  document.getElementById('intense').setAttribute("class", "orangelinksmall"); } 
	else{ document.getElementById('intense').setAttribute("class", "graylinksmall"); }
	
	if(menu == 'systemoptimize') 
	{  document.getElementById('systemoptimize').setAttribute("class", "orangelinksmall"); } 
	else{ document.getElementById('systemoptimize').setAttribute("class", "graylinksmall"); }
	
	if(menu == 'filedefragment') 
	{  document.getElementById('filedefragment').setAttribute("class", "orangelinksmall"); } 
	else{ document.getElementById('filedefragment').setAttribute("class", "graylinksmall"); }
	
	//ahnreport
	if(menu == 'downloadreport') 
	{  document.getElementById('downloadreport').setAttribute("class", "orangelinksmall"); } 
	else{ document.getElementById('downloadreport').setAttribute("class", "graylinksmall"); }
	
	
}

function changestylemanagement(menu)
{
	if(menu == 'change') 
	{  document.getElementById('change').setAttribute("class", "orangelinksmall"); } 
	else{ document.getElementById('change').setAttribute("class", "graylinksmall"); }
	
	if(menu == 'forgot') 
	{  document.getElementById('forgot').setAttribute("class", "orangelinksmall"); } 
	else{ document.getElementById('forgot').setAttribute("class", "graylinksmall"); }
}


-->
