
formBase = "https://service.nmfn.com/webforms/nmfnForms/";
	
function redirect(isFRSite,formName,width,height){

  if(width == null) width = 633;
  if(height == null) height = 690;

  window.resizeTo(width,height);
  if(isFRSite){
    var redirectUrl = formBase+formName+".html"+document.location.search+"&cmpid=Calc_DI-Checkup_FWS";
    document.location.href = redirectUrl;	
  } else {
    document.location.href = "http://www.northwesternmutual.com/representative-contact-form.aspx?cmpid=Calc_DI-Checkup_NM";
  }
		
}

