// home.js

var isPageLoaded=false;

function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}

MM_reloadPage(true);

function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}


function MM_showHideLayers() { //v6.0

  var i,p,v,obj,args=MM_showHideLayers.arguments;
  for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2];
    if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v=='hide')?'hidden':v; }
    obj.visibility=v; }
}









//used for all the links for Pre and postLogin pages
 function openLink(url, selfWindow, warning){
		if(warning != null && warning.length > 0) {
	      if (!confirm(warning)) {
	         return false;
	      }
		}
		
		var targetWindow = "_self";
		if(!selfWindow) {
			targetWindow = "_blank";
		}
		
		window.open(url, targetWindow, 'align=center,resizable=yes,width=700,height=500');
    } 

  function openTheLink(url, selfWindow, warning){
        var bAgree;
        var targetWindow = "_self";
        
		if(!selfWindow) {
			targetWindow = "_blank";
		   }

		if(warning != null && warning.length > 0) {
	      bAgree = confirm(warning);
	      if(bAgree){
	       window.open(url, targetWindow, 'align=center,resizable=yes,width=700,height=500,status=yes,toolbar=yes,menubar=yes,scrollbars=yes,location=yes');
		  }
      	}else{
		   window.open(url, targetWindow, 'align=center,resizable=yes,width=700,height=500,status=yes,toolbar=yes,menubar=yes,scrollbars=yes,location=yes');
		}
    }  


function setFocus() {
}

function processOnLoad() {
	isPageLoaded=true;
	setFocus();
	hideDiv('printLink1');

	visibleDiv('printLink');
	 

}


function printPage(isPrintable)
{	

	 if(isPrintable == false){

	  	if (document.getElementById != null)
  	 	var html = '<HTML>\n<HEAD>\n';
  	 	if (document.getElementsByTagName != null){
  	 		var headTags = document.getElementsByTagName("head");
  	 		if (headTags.length > 0)
				html += headTags[0].innerTEXT;
  	 	}
	 	
		html += '\n</HEAD>\n<BODY onload="JavaScript:processMe()">\n';

		  var printPageElem = document.getElementById("printPortion");
	  
		  html += '<table width="100%" cellspacing="0" cellpadding="0"><tbody class="bold11"><tr><td>';

		  	
		  var uName = document.getElementById("uNameLabel");
		  
		  var dispTime = new Date();
		  
		  var now = (dispTime.getMonth()+1)+"/"+dispTime.getDate()+"/"+dispTime.getFullYear()+" "+dispTime.getHours()+":"+dispTime.getMinutes()+":"+dispTime.getSeconds();
		  if(uName != null){
		  	html += '<b>Printed by:  </b>';
		  	html += '<b>'+uName.innerHTML+' on </b>';
		  }
		  
		  html += '<b>'+now+'</b>';
		  
		  html += '</td></tr><tr><td>';


		  if (printPageElem != null)
		  {
			html += printPageElem.innerHTML;
		  }
		  else
		  {
			   alert("Could not find the printReady section in the HTML");
			   return;
		  }

		  html += '</td></tr></tbody></table>';
		  html += '<script>var imgs = document.getElementsByTagName("IMG"); for(i=0; i<imgs.length; i++) { imgs[i].disabled=true; }</script>';
		  html += '\n</BODY>\n</HTML>';


		  var printWin = window.open("printWin","printWin", 'menubar=yes,resizable=yes,scrollbars=yes, width=700, height=500' );
		  
		  printWin.document.open();
		  
		  printWin.document.write(html);
		  printWin.document.close();
	  
	
	}else{
	   window.print();
	}
	
 }
 
 
 function processMe(){

 	//hideDiv('hideRelLinks');
 	hideDiv('printLink');
 	visibleDiv('printLink1');
 	disableForms();

 	
 }
 
 function hideDiv(divName){
   var divNme = document.getElementById(divName);
   if(divNme != null){
   var objDivStyle = eval('document.all.'+divName+'.style');
   
   if(objDivStyle != null)
	   objDivStyle.visibility = 'hidden';
   }
 }
 
 function visibleDiv(divName){
   var divNme = document.getElementById(divName);
   if(divNme != null){

   var objDivStyle = eval('document.all.'+divName+'.style');
   if(objDivStyle != null)
    objDivStyle.visibility = 'visible';
	} 
 }
 
 
 function disableForms() {
    var formLen = document.forms.length;
    
    for(i=0; i<formLen; i++){
    	
	if (document.all || document.getElementById) {
		var elemLen = document.forms[i].length;
		
		for (j = 0; j < elemLen; j++) {
			
			var tempobj = document.forms[i].elements[j];

			if (tempobj.type.toLowerCase() == "submit" || tempobj.type.toLowerCase() =="text" 
			|| tempobj.type.toLowerCase() == "select-one"  || tempobj.type.toLowerCase()=="radio" || tempobj.type.toLowerCase()=="checkbox" || tempobj.type.toLowerCase() == "button"){
				tempobj.disabled = true;
			}
		}
		
		
	}
	
   }//for
   
var linkArray = new Array();   
   if(document.all || document.getElementById){
//	   var linkLen = document.links.length;
// 	   for(var l=0; l<linkLen; l++){
// 	    	var lnk = window.document.links[l];
// 	    	lnk.href='#';
// 	    	lnk.onClick='';
// 	   }
		var objLink = document.links;
//		alert(objLink.length);
	   
		for(var i=0;i < objLink.length;i++) {
		linkArray[i] = objLink[i].href.toString();
		var tes = objLink[i].href;

			if (tes.indexOf("#", 0) > 0) {
			tes.href = '#';
 	    	tes.onClick = new Function("return false;");
			//this just allows me to skip some
			}
		else {
		objLink[i].disabled=true;
		objLink[i].onclick = new Function("return false;");
			}
 	   }
   }
}
 
 
 
  function submitOnEnter(pressed_key, frm) 
 { 
 	  
 	if(pressed_key==13) {
 		if(frm.name == 'pebPostLogin')
 	           processForm(frm);
 		else
 	  	   frm.submit(); 
 	 }
 	 
} 


	function processForm(form){
 	

 		if(form.name=='pebPostLogin'){
 		
 			var search;
 			
 			for(var i=0; i<form.Search.length; i++){
 			   if(form.Search[i].checked){
 			    	if(form.Search[i].value == 'Alpha'){
 			    		search = 'Alpha';
 			    		break;
 			    	}else  if(form.Search[i].value == 'Enrollee'){
 			    	
 			    		search = 'Enrollee';
 			    		break;
 			    	}	
 			   }
 			}
 			if('Alpha' == search){
 				form.action ="CmaAction.do?txnType=Eligibility&forwardToken=pebAlpha.do?param=process";
 				form.submit();
 			
 			}else if('Enrollee' == search){
 				form.action ="CmaAction.do?txnType=Eligibility&forwardToken=pebEnrollee.do?param=process";
 				form.submit();
 			}
 		
 		}
 		else   	if(form.name == 'formClmStatusSearch'){
		   		form.action = "showTinList.do?FUNCTION=claimStatus";
		   		form.submit();
   		}
	}

	
// EatonGolden additions by TEJ

// Button links
function goToURLindex() { window.location = "index.html"; }
function goToURLlogin() { window.location = "index2.html"; }
function goToURLlogon() { window.location = "userlogon.html"; }
function goToURLindex2alpha() { window.location = "index2alpha.html"; }
function goToURLmedpolicies() { window.location = "medical-list.html"; }
function goToURLreimpolicies() { window.location = "reimbursement-list.html"; }
function goToURLclmstatusquick() { window.location = "claimstatus.html"; }
function goToURLclmstatusnumber() { window.location = "claimstatus-number.html"; }
function goToURLclmstatusenrollee() { window.location = "claimstatus-enrolleenumber.html"; }
function goToURLclmstatusenrolleebyname() { window.location = "claimstatus-enrolleenumberbyname.html"; }
function goToURLclmstatusswipe() { window.location = "claimstatus-swipe.html"; }
function goToURLclmstatusphyprov() { window.location = "claimstatus-physprov.html"; }
function goToURLclmstatusalpha() { window.location = "claimstatus-alphasearch.html"; }
function goToURLclmstatusresults() { window.location = "claimstatus-results1.html"; }
function goToURLclmstatusreferral() { window.location = "claimstatus-referral.html"; }
function goToURLclmstatusresults2() { window.location = "claimstatus-details1.html"; }
function goToURLclmstatusrecent() { window.location = "claimstatus-recent.html"; }
function goToURLclmstatusconfirm() { window.location = "claimstatus-confirm.html"; }
function goToURLclmstatusdetails() { window.location = "claimstatus-details1.html"; }
function goToURLclmstatusdetails2() { window.location = "claimstatus-details2.html"; }
function goToURLclmstatusdetails3() { window.location = "claimstatus-details3.html"; }
function goToURLclmstatusdetails4() { window.location = "claimstatus-details4.html"; }
function goToURLclmstatusdetails5() { window.location = "claimstatus-details5.html"; }
function goToURLclmsubnum() { window.location = "claimsubmission.html"; }
function goToURLclmsubnumbyname() { window.location = "claimsubmission-enrolleenumberbyname.html"; }
function goToURLclmsubsswipe() { window.location = "claimsubmission-swipe.html"; }
function goToURLclmsubalpha() { window.location = "claimsubmission-alpha.html"; }
function goToURLclmsubmissionstep2() { window.location = "claimsubmission-step2.html"; }
function goToURLclaimsubmissionstep3() { window.location = "claimsubmission-step3.html"; }
function goToURLclmsubswipe() { window.location = "claimsubmission-swipe.html"; }
function goToURLclmreconquick() { window.location = "claimreconsideration.html"; }
function goToURLclmreconenrollee() { window.location = "claimreconsideration-enrolleenumber.html"; }
function goToURLclmreconenrolleebyname() { window.location = "claimreconsideration-enrolleenumberbyname.html"; }
function goToURLclmreconphyprov() { window.location = "claimreconsideration-physprov.html"; }
function goToURLclmreconalpha() { window.location = "claimreconsideration-alphasearch.html"; }
function goToURLclmreconnum() { window.location = "claimreconsideration-number.html"; }
function goToURLclmreconrecent() { window.location = "claimreconsideration-recent.html"; }
function goToURLclmreconswipe() { window.location = "claimreconsideration-swipe.html"; }
function goToURLclmreconreferral() { window.location = "claimreconsideration-referral.html"; }
function goToURLclmreconresults() { window.location = "claimreconsideration-results1.html"; }
function goToURLclmreconwarn() { window.location = "claimreconsideration-warning.html"; }
function goToURLclmreconconfirm() { window.location = "claimreconsideration-confirm.html"; }
function goToURLclmresearchswipe() { window.location = "claimresearchproject-swipe.html"; }
function goToURLclmresearchquick() { window.location = "claimresearchproject.html"; }
function goToURLclmresearchenrollee() { window.location = "claimresearchproject-enrolleenumber.html"; }
function goToURLclmresearchenrolleebyname() { window.location = "claimresearchproject-enrolleenumberbyname.html"; }
function goToURLclmreconswipe() { window.location = "claimreconsideration-swipe.html"; }
function goToURLclmresearchphyprov() { window.location = "claimresearchproject-physprov.html"; }
function goToURLclmresearchalpha() { window.location = "claimresearchproject-alphasearch.html"; }
function goToURLclmresearchnum() { window.location = "claimresearchproject-number.html"; }
function goToURLclmresearchrecent() { window.location = "claimresearchproject-recent.html"; }
function goToURLclmresearchreferral() { window.location = "claimresearchproject-referral.html"; }
function goToURLclmresearchresults() { window.location = "claimresearchproject-results.html"; }
function goToURLclmresearchresultssub() { window.location = "claimresearchproject-resultssub.html"; }
function goToURLclmresearchsaved() { window.location = "claimresearchproject-saved.html"; }
function goToURLclmresearchmanually() { window.location = "claimresearchproject-manuallyadd.html"; }
function goToURLclmresearchmansub() { window.location = "claimresearchproject-manuallyaddsub.html"; }
function goToURLclmresearchmsg() { window.location = "claimresearchproject-msg.html"; }
function goToURLclmresearchdone() { window.location = "claimresearchproject-done.html"; }
function goToURLfeeschedule() { window.location = "feeschedule.html"; }
function goToURLfeescheduleresults() { window.location = "feeschedule-results.html"; }
function goToURLapglogin() { window.location = "allpayergateway.html"; }
function goToURLapggetitnow() { window.location = "allpayergateway-getitnow.html"; }
function goToURLapggetmore2() { window.location = "allpayergateway-getmore2.html"; }
function goToURLnotifstatusnum() { window.location = "notificationstatus.html"; }
function goToURLnotifstatus1a() { window.location = "notificationstatus-1a.html"; }
function goToURLnotifstatus2() { window.location = "notificationstatus2.html"; }
function goToURLnotifstatus2b() { window.location = "notificationstatus2b.html"; }
function goToURLnotifstatus3() { window.location = "notificationstatus3.html"; }
function goToURLnotifstatus3a() { window.location = "notificationstatus-step3x.html"; }
function goToURLnotifstatus3x() { window.location = "notificationstatus-step3x.html"; }
function goToURLnotifstatus3b() { window.location = "notificationstatus-step3x.html"; }
function goToURLnotifstatusfac1() { window.location = "notificationstatus-facsearch1.html"; }
function goToURLnotifstatusfac2() { window.location = "notificationstatus-facsearch2.html"; }
function goToURLnotifstatusenrollee() { window.location = "notificationstatus-enrollee.html"; }
function goToURLnotifstatusalpha() { window.location = "notificationstatus-alpha.html"; }
function goToURLnotifstatusenrolleebyname() { window.location = "notificationstatus-enrolleebyname.html"; }
function goToURLnotifstatusswipe() { window.location = "notificationstatus-swipe.html"; }
function goToURLnotifsubmisnum() { window.location = "notificationsubmission2.html"; }
function goToURLnotifsubmisnumbyname() { window.location = "notificationsubmission-enrolleenumbyname.html"; }
function goToURLnotifsubmisswipe() { window.location = "notificationsubmission-swipe.html"; }
function goToURLnotifsubmisalpha() { window.location = "notificationsubmission-alpha.html"; }
function goToURLnotificationsubmission2() { window.location = "notificationsubmission-step2.html"; }
function goToURLnotificationsubmission2a() { window.location = "notificationsubmission-step2a.html"; }
function goToURLnotificationsubmission3() { window.location = "nsub-physician-step3.html"; }
function goToURLnotificationsubmission3a() { window.location = "notificationsubmission-step3a.html"; }
function goToURLnotificationsubmission3b() { window.location = "notificationsubmission-step3b.html"; }
function goToURLnotificationsubmission3c() { window.location = "notificationsubmission-step3c.html"; }
function goToURLnotificationsubmission3x() { window.location = "notificationsubmission-step3x.html"; }
function goToURLnotificationsubmission4() { window.location = "notificationsubmission-step4.html"; }
function goToURLnotificationsubmission5() { window.location = "notificationsubmission-done.html"; }
function goToURLnotificationsubmissionfac1() { window.location = "notificationsubmission-facsearch1.html"; }
function goToURLnotificationsubmissionfac2() { window.location = "notificationsubmission-facsearch2.html"; }
function goToURLnotificationsubmissionphys1() { window.location = "notificationsubmission-physsearch1.html"; }
function goToURLnotificationsubmissionphys2() { window.location = "notificationsubmission-physsearch2.html"; }
function goToURLrefersub() { window.location = "refersub.html"; }
function goToURLrefersubenrolleenumbyname() { window.location = "refersub-enrolleenumbyname.html"; }
function goToURLrefersubswipe() { window.location = "refersub-swipe.html"; }
function goToURLrefersubalpha() { window.location = "refersub-alpha.html"; }
function goToURLreferstatenrolleenum() { window.location = "referstat-enrolleenum.html"; }
function goToURLreferstat() { window.location = "referstat.html"; }
function goToURLreferstatswipe() { window.location = "referstat-swipe.html"; }
function goToURLreferstatenrolleenumbyname() { window.location = "referstat-enrolleenumbyname.html"; }
function goToURLreferstatalpha() { window.location = "referstat-alpha.html"; }
function goToURLreferstat2() { window.location = "referstat-step2.html"; }
function goToURLreferstatdetails() { window.location = "referstat-details.html"; }
function goToURLrefersub2() { window.location = "refersub-step2.html"; }
function goToURLrefersub2a() { window.location = "refersub-step2a.html"; }
function goToURLrefersub3() { window.location = "refersub-step3.html"; }
function goToURLrefersub3a() { window.location = "refersub-step3a.html"; }
function goToURLrefersub3b() { window.location = "refersub-step3b.html"; }
function goToURLrefersub4() { window.location = "refersub-step4.html"; }
function goToURLrefersub5() { window.location = "refersub-step5.html"; }
function goToURLrefersubspecsearch() { window.location = "refersub-specsearch.html"; }
function goToURLrefersubspecresults() { window.location = "refersub-specresults.html"; }
function goToURLaccessprofiles() { window.location = "accessprofiles.html"; }
function goToURLaccessprofilesadd() { window.location = "accessprofiles-add.html"; }
function goToURLaccessprofilesview() { window.location = "accessprofiles-view.html"; }
function goToURLaccessprofilesedit() { window.location = "accessprofiles-edit.html"; }
function goToURLpracticefacilityprofile() { window.location = "practicefacilityprofile.html"; }
function goToURLpracticefacilityprofileview() { window.location = "practicefacilityprofile-view.html"; }
function goToURLpracticefacilityprofileadd() { window.location = "practicefacilityprofile-add.html"; }
function goToURLpracticefacilityprofilechange() { window.location = "practicefacilityprofile-update-change.html"; }
function goToURLpracticefacilityprofilecorrect() { window.location = "practicefacilityprofile-update-change2.html"; }
function goToURLpracticefacilityprofileview() { window.location = "practicefacilityprofile-view.html"; }
function goToURLpracticefacilityprofileverify() { window.location = "practicefacilityprofile-verify.html"; }
function goToURLpracticefacilityprofilemsg() { window.location = "practicefacilityprofile-msg.html"; }
function goToURLpracticefacilityprofiledone() { window.location = "practicefacilityprofile-done.html"; }
function goToURLpatienteligibility() { window.location = "patienteligibility2.html"; }
function goToURLpatienteligibilityswipe() { window.location = "patienteligibility-swipe.html"; }
function goToURLpatienteligibilitynumbyname() { window.location = "patienteligibility-enrolleenumberbyname.html"; }
function goToURLpatienteligibilityalpha() { window.location = "patienteligibility-alpha.html"; }
function goToURLpatienteligibilityresults() { window.location = "patienteligibility-results1.html"; }
function goToURLpatienteligibilitydetails() { window.location = "patienteligibility-details-summary.html"; }
function goToURLpatienteligibilitydetails2() { window.location = "patienteligibility-details-summary2.html"; }
function goToURLpersonalhealthrecsearch() { window.location = "personalhealthrecords-search.html"; }
function goToURLpersonalhealthrecsum() { window.location = "personalhealthrecords-summary.html"; }
function goToURLpersonalhealthrecadd() { window.location = "personalhealthrecords-additional.html"; }
function goToURLpersonalhealthrecelig() { window.location = "personalhealthrecords-eligibility.html"; }
function goToURLpersonalhealthrecsearch() { window.location = "personalhealthrecords-search.html"; }
function goToURLpersonalhealthadditional() { window.location = "patienteligibilityadd-physician.html"; }
function goToURLusersearch() { window.location = "users.html"; }
function goToURLroles() { window.location = "roles.html"; }
function goToURLaddrole() { window.location = "roles-add.html"; }
function goToURLviewrole() { window.location = "roles-view.html"; }
function goToURLeditrole() { window.location = "roles-edit.html"; }
function goToURLeps2() { window.location = "electpayandstate2.html"; }
function goToURLpagemissing() { window.location = "pagemissing.html"; }
function goToURLpassword2() { window.location = "forgotpassword3.html"; }
function goToURLsearch() { window.location = "searchresults.html"; }
function goToURLsignup() { window.location = "signupnow.html"; }
function goToURLsignup2() { window.location = "signupnow2.html"; }
function goToURLsignup3() { window.location = "signupnow3.html"; }
function goToURLsignup4() { window.location = "signupnow4.html"; }
function goToURLsignup5() { window.location = "signupnow5.html"; }
function goToURLsignup5a() { window.location = "signupnow5a.html"; }
function goToURLsignup5c() { window.location = "signupnow5c.html"; }
function goToURLsignup6() { window.location = "signupnow6.html"; }
function goToURLsignup7() { window.location = "signupnow7.html"; }
function goToURLsignupB2() { window.location = "signupnowB2.html"; }
function goToURLsignupB3() { window.location = "signupnowB3.html"; }
function goToURLsignupB4a() { window.location = "signupnowB4a.html"; }
function goToURLsignupB4() { window.location = "signupnowB4.html"; }
function goToURLsignupB5() { window.location = "signupnowB5.html"; }
function goToURLsignupB5a() { window.location = "signupnowB5a.html"; }
function goToURLsignupC2() { window.location = "signupnowC2.html"; }
function goToURLsignupC3() { window.location = "signupnowC3.html"; }
function goToURLdiagnosisresults() { window.location = "diagnosisresults.html"; }
function goToURLdiagnosisresultsEstimator() { window.location = "diagnosisresults-estimator.html"; }
function goToURLdiagnosisresults2() { window.location = "diagnosisresults2.html"; }
function goToURLdiagnosisresults3() { window.location = "diagnosisresults3.html"; }
function goToURLdiagnosisresults4() { window.location = "diagnosisresults4.html"; }
function goToURLdiagnosisresults5() { window.location = "diagnosisresults5.html"; }
function goToURLdiagnosislookup() { window.location = "diagnosislookup.html"; }
function goToURLdiagnosislookup2() { window.location = "diagnosislookup2.html"; }
function goToURLprocedurelookup() { window.location = "procedurelookup.html"; }
function goToURLprocedurelookup2() { window.location = "procedurelookup2.html"; }
function goToURLprocedureresults() { window.location = "procedureresults.html"; }
function goToURLprocedureresultsEstimator() { window.location = "procedureresults-estimator.html"; }
function goToURLclinicalprofiles() { window.location = "clinicalprofiles.html"; }
function goToURLclinicalprofiles2() { window.location = "clinicalprofiles2.html"; }
function goToURLforgotid3() { window.location = "forgotuserid3.html"; }
function goToURLforgotid4() { window.location = "forgotuserid4.html"; }
function goToURLforgotpw3() { window.location = "forgotpassword3.html"; }
function goToURLforgotpw4() { window.location = "forgotpassword4.html"; }
function goToURLmanage2() { window.location = "managemyacct2.html"; }
function goToURLclinicalprofiles3() { window.location = "clinicalprofiles3.html"; }
function goToURLclinicalprofiles4() { window.location = "clinicalprofiles4.html"; }
function goToURLmultitin() { window.location = "multiTIN.html"; }
function goToURLmultitinview() { window.location = "multiTIN-view.html"; }
function goToURLmultitinapprove() { window.location = "multiTIN-approve.html"; }
function goToURLmultitinapprove2() { window.location = "multiTIN-approve2.html"; }
function goToURLmultitinapprove3() { window.location = "multiTIN-approve3.html"; }
function goToURLmultitinapprovemsg() { window.location = "multiTIN-approvemsg.html"; }
function goToURLmultitinsecurity() { window.location = "multiTIN-security.html"; }
function goToURLmultitinsecurity2() { window.location = "multiTIN-security2.html"; }
function goToURLmultitinrequest() { window.location = "multiTIN-request.html"; }
function goToURLmultitindeny() { window.location = "multiTIN-deny.html"; }
function goToURLmultitindenymsg() { window.location = "multiTIN-denymsg.html"; }
function goToURLmultitindenymsg2() { window.location = "multiTIN-denymsg2.html"; }
function goToURLmultitindisable() { window.location = "multiTIN-disable.html"; }
function goToURLmultitindisabled() { window.location = "multiTIN-disable2.html"; }
function goToURLmultitindisablemsg() { window.location = "multiTIN-disablemsg.html"; }
function goToURLmultitindisablerunoff() { window.location = "multiTIN-disablerunoff.html"; }
function goToURLeps() { window.location = "electpayandstate.html"; }
function goToURLeps2() { window.location = "electpayandstate2.html"; }
function goToURLeps2a() { window.location = "electpayandstate2a.html"; }
function goToURLeps3() { window.location = "electpayandstate3.html"; }
function goToURLradiologystat1() { window.location = "radiology-status1.html"; }
function goToURLradiologystat2() { window.location = "radiology-status2.html"; }
function goToURLnpiadd() { window.location = "practicefacilityprofile-npi-add.html"; }

function goToURLnpiaddtaxonomy() { window.location = "practicefacilityprofile-npi-add_taxonomy.html"; }
function goToURLnpicxl1() { window.location = "practicefacilityprofile-npi-cancel1.html"; }
function goToURLnpicxl2() { window.location = "practicefacilityprofile-npi-cancel2.html"; }
function goToURLnpicxl3() { window.location = "practicefacilityprofile-npi-cancel3.html"; }
function goToURLnpiprocess() { window.location = "practicefacilityprofile-npi-process.html"; }
function goToURLnpiverify() { window.location = "practicefacilityprofile-npi-verify.html"; }
function goToURLnpi() { window.location = "practicefacilityprofile-npi.html"; }

function goToURLnpitaxonomy() { window.location = "practicefacilityprofile-npi-taxonomy.html"; }
function goToURLnpitaxonomy2() { window.location = "practicefacilityprofile-npi-taxonomy2.html"; }
function goToURLnpiverifytaxonomy() { window.location = "practicefacilityprofile-npi-verify-taxonomy.html"; }

function goToURLnpiupdate() { window.location = "practicefacilityprofile-npi-update.html"; }
function goToURLnpiconfirm() { window.location = "practicefacilityprofile-npi-confirmation.html"; }
function goToURLnpiaddtypep() { window.location = "practicefacilityprofile-npi-add-typep.html"; }
function goToURLclmest() { window.location = "claimestimator.html"; }
function goToURLclmestdisclaimpddis() { window.location = "claimestimator-disclaimer.html"; }
function goToURLclmestdisclaimbudis() { window.location = "claimestimator-disclaimer-bundling.html"; }
function goToURLclmestpd() { window.location = "claimestimator-pd.html"; }
function goToURLclmestpd2() { window.location = "claimestimator-pd2.html"; }
function goToURLclmestpd2alpha() { window.location = "claimestimator-pd2alpha.html"; }
function goToURLclmestpd2swipe() { window.location = "claimestimator-pd2swipe.html"; }
function goToURLclmestpd2byname() { window.location = "claimestimator-pd2byname.html"; }
function goToURLclmestpd3() { window.location = "claimestimator-pd3.html"; }
function goToURLclmestpdchg() { window.location = "claimestimator-pd-chg.html"; }
function goToURLclmestpd2chg() { window.location = "claimestimator-pd2-chg.html"; }
function goToURLclmestpd2alphachg() { window.location = "claimestimator-pd2alpha-chg.html"; }
function goToURLclmestpd2swipechg() { window.location = "claimestimator-pd2swipe-chg.html"; }
function goToURLclmestpd2bynamechg() { window.location = "claimestimator-pd2byname-chg.html"; }
function goToURLclmestpd3chg() { window.location = "claimestimator-pd3-chg.html"; }
function goToURLclmestpd4() { window.location = "claimestimator-pd4.html"; }
function goToURLclmestpd4a() { window.location = "claimestimator-pd4a.html"; }
function goToURLclmestpd4b() { window.location = "claimestimator-pd4b.html"; }
function goToURLclmestpd5() { window.location = "claimestimator-pd5.html"; }
function goToURLclmestpd6() { window.location = "claimestimator-pd6.html"; }
function goToURLclmestpd6fax() { window.location = "claimestimator-pd6fax.html"; }
function goToURLclmestpd7() { window.location = "claimestimator-pd7.html"; }
function goToURLclmestpd8() { window.location = "claimestimator-pd8.html"; }
function goToURLclmestdisclaimbu() { window.location = "claimestimator-bu.html"; }
function goToURLclmestbu2() { window.location = "claimestimator-bu2.html"; }
function goToURLclmestbu3() { window.location = "claimestimator-bu3.html"; }
function goToURLclmestbu4() { window.location = "claimestimator-bu4.html"; }
function goToURLclmestbu4a() { window.location = "claimestimator-bu4a.html"; }
function goToURLclmestbu5() { window.location = "claimestimator-bu5.html"; }






// Dropdown boxes
function goPage()
{
	box = document.tool.navi;
	destination = box.options[box.selectedIndex].value;
	if (destination) location.href = destination;
}

// Simulate Card Swipe
function swipe()
{
document.getElementById("swipeBtn").style.visibility = "hidden";
document.getElementById("swipeNumber").style.visibility = "visible";
}

// Taxonomy (Prac Fac Profile NPI tab) Required or Not required based on the provider type (Type O = req and type P = not req)
function swipe()
{
document.getElementById("swipeBtn").style.visibility = "hidden";
document.getElementById("swipeNumber").style.visibility = "visible";
}


 // Elig show/hide
function showEligOption1()
{
document.getElementById("eligOption1").style.display = "block";
document.getElementById("eligOption2").style.display = "none";
document.getElementById("eligOption3").style.display = "none";
document.getElementById("eligOption4").style.display = "none";
}

function showEligOption2()
{
document.getElementById("eligOption1").style.display = "none";
document.getElementById("eligOption2").style.display = "block";
document.getElementById("eligOption3").style.display = "none";
document.getElementById("eligOption4").style.display = "none";
}

function showEligOption3()
{
document.getElementById("eligOption1").style.display = "none";
document.getElementById("eligOption2").style.display = "none";
document.getElementById("eligOption3").style.display = "block";
document.getElementById("eligOption4").style.display = "none";
}

function showEligOption4()
{
document.getElementById("eligOption1").style.display = "none";
document.getElementById("eligOption2").style.display = "none";
document.getElementById("eligOption3").style.display = "none";
document.getElementById("eligOption4").style.display = "block";
}
 


function showLetterOptions()
{
document.getElementById("letteroptions").style.display = "block";
}

