
//Begin KeyWordRanking.com Universal Code

//End KeyWordRanking.com Universal Code


function validateDownloadForm()
{
	var optIn			= document.getElementById('optIn');
	var errorMessage	= 'In order to receive GlobalSCAPE News and Evaluation Guide, please enter your email address.';

	if (optIn.checked && document.getElementById('txtEmail').value == '') {
		alert(errorMessage);
		return false;
	}
	return true;
}

function setMenuCookie(name, value, expires, path, domain, secure)
{
    document.cookie= name + "=" + escape(value) +
        ((expires) ? "; expires=" + expires.toGMTString() : "") +
        ((path) ? "; path=" + path : "") +
        ((domain) ? "; domain=" + domain : "") +
        ((secure) ? "; secure" : "");  
        
         window.location.reload( true );     
 
}