//*******************************************************************
//this file contains all the javascripts related to popups used for ACS flows
//*******************************************************************
			function showPopUpForRebootModem(){
				 s_eVar6='res|internet_help|acs|auto2';
				page.displayPopLayer("popUpLayer_Reboot");
			}
			function showPopUpForResetModem(){
				s_eVar6='res|internet_help|acs|auto1';
				page.displayPopLayer("popUpLayer");
			}
			function showPopUpForFirmwareUpgradeTonight(){
				s_eVar6='res|internet_help|upgrade_firmware|tonight';
				page.displayPopLayer("popUpLayer_UpgradeScheduled");
			}
			function showPopUpForFirmWareUpgradeNow(){
				s_eVar6='res|internet_help|upgrade_firmware|now';
				page.displayPopLayer("popUpLayer_UpgradeNow");
			}
			function showPopUpforWirelessConfiguration(){
				var winLoc = window.location.href;
				var index1 = winLoc.indexOf("faq");
				var index2 = winLoc.indexOf("FAQ");
				if(index1 == -1 && index2 == -1) {
					s_eVar6='res|internet_help|acs|wireless_setup|configure';
				} else {
					s_eVar6='res|internet_help|acs|wireless_faq|configure';
				}
				page.displayPopLayer("popUpLayer_WirelessConfig");
			}
			function submitTheForm(action_type)
			{
				document.getElementById("device_type").value="Actiontec&reg; GT701/ GT701-R";
				document.getElementById("action_type").value=action_type;
				var url= window.location.href;
				url=url.substring(0,url.indexOf(':'));
			    var  ajaxurl=url+"://"+ window.location.href.match(/:\/\/(.[^/]+)/)[1];
				document.f1.action=ajaxurl+"/MasterWebPortal/appmanager/home/ACS";
				document.f1.submit();
			}
			function hideUp(){
				page.hidePopLayer();
			}