
function checklogic(){
if(jQuery('#request').is(':checked') && jQuery('#try').is(':not(:checked)'))
{
    jQuery('#checked').attr("value", "RMI");
}
else if ((jQuery('#try').is(':checked')) && jQuery('#request').is(':not(:checked)'))
{	
    jQuery('#checked').attr("value", "try-for-free");
}
else if ((jQuery('#try').is(':checked')) && jQuery('#request').is(':checked'))
{
	jQuery('#checked').attr("value", "RMI try-for-free");
}
}
function createurl(){
var qs=jQuery('#form-content').serialize();
if(jQuery('#request').is(':checked') && jQuery('#try').is(':not(:checked)'))
{
    jQuery('#next-url').val('http://www.activeendurance.com/step-2-rmi.htm?' + qs);
	jQuery('#source-form').val('endurance-request-more-information');
}
else if ((jQuery('#try').is(':checked')) && jQuery('#request').is(':not(:checked)'))
{	
    jQuery('#next-url').val('http://www.activeendurance.com/step-2-try-active.htm?' + qs);
	jQuery('#source-form').val('endurance-new-active-account');
}
else if ((jQuery('#try').is(':checked')) && jQuery('#request').is(':checked'))
{
	jQuery('#next-url').val('http://www.activeendurance.com/step-2-try-active.htm?' + qs);
	jQuery('#source-form').val('endurance-new-active-account');
}
else if ((jQuery('#try').is(':not(:checked)')) && jQuery('#request').is(':not(:checked)'))
{	
    jQuery('#next-url').val('http://www.activeendurance.com/step-2-rmi.htm?' + qs);
	jQuery('#source-form').val('endurance-request-more-information');
}
}




