// Global JavaScripts
$(document).ready(function(){

//JQuery IFRAME Plugin
$('.menu').bgiframe(); 
//End IFRAM Plugin

var currentNav;

    $("#banner-area-menu ul > li").hover(
      function () {
        $(this).addClass("over");
      }, 
      function () {
        $(this).removeClass("over");
      }
    );
	
	$("#banner-area-menu ul li > a").focus(function () {
        $(this).parent("li").trigger("focus");
    });
	
	$("#banner-area-menu li").focus(function () {
		$(currentNav).trigger("blur");
        $(this).addClass("over");
		currentNav = this;
    });
	
	$("#banner-area-menu li").blur(function () {
        $(this).removeClass("over");
    });
	
	$("#banner-area-menu li .menu").each(function () {
		$(this).find("a:last").blur(function () {
			$(this).parent("li").parents("li").removeClass("over");
		});
	});

	$("#banner-area-menu ul li > a").click(function () {
		$(this).trigger("blur");
	});

		
});

function createMenu(){
	
	document.write(
		'<ul>'+ '\n'
           +'<li>' + '\n'	
               +'<a href="http://www.DNS   /">Home</a>' + '\n'
           +'</li>' + '\n'
		
        +'<li>' + '\n'
        	+'<a href="http://www.DNS   /landing2_vetsrv.htm">Veteran Services</a>' + '\n'
            	+'<div class="menu twoColumn">' + '\n'
                +'<div class="sub_nav">' + '\n'
                    +'<h4>Inside Veteran Services</h4>' +'\n'
                    +'<ul>' + '\n'
                    +'<li><a href="http://www.DNS   /opa/newtova.asp">New to VA</a></li>' + '\n'
					+'<li><a href="http://www.DNS   /opa/publications/benefits_book.asp">Benefits Booklet</a></li>' + '\n'
                    +'</ul>' + '\n'
                    +'<h4>Benefits & Services</h4>' + '\n'
                    +'<ul>' + '\n'
                    	+'<li><a href="http://www.vba.DNS   /VBA/">General Benefits Information</a></li>' + '\n'
                        +'<li><a href="http://www.vba.DNS   /bln/21/compensation/">Disability Compensation</a></li>' + '\n'
                        +'<li><a href="http://www.vba.DNS   /bln/21/pension/">Pension</a></li>' + '\n'
                        +'<li><a href="http://www.gibill.DNS   /">GI Bill</a></li>' + '\n'
                        +'<li><a href="http://www.vba.DNS   /bln/vre/">Vocational Rehabilitation &amp; Employment</a></li>' + '\n'
                        +'<li><a href="http://vetsuccess.gov/">Vet Success</a></li>' + '\n'
                        +'<li><a href="http://www.gibill.DNS   /pamphlets/CH35/CH35_Pamphlet_General.htm">Dependents\' Educational Assistance</a></li>' + '\n'
                        +'<li><a href="http://www.vba.DNS   /survivors/">Survivor Benefits</a></li>' + '\n'
                        +'<li><a href="http://www.homeloans.DNS   /">Home Loans</a></li>' + '\n'
                        +'<li><a href="http://www.insurance.DNS   /miscellaneous/">Life Insurance</a></li>' + '\n'
                        +'<li><a href="http://www.insurance.DNS   /sgliSite/TSGLI/TSGLI.htm">Traumatic Injury Insurance</a></li>' + '\n'
                    +'</ul>' + '\n'
                 +'</div>' + '\n'
              	 +'<div class="sub_nav">' + '\n'
                 	+'<h4>Health &amp; Well-Being</h4>' + '\n'
                    +'<ul>' + '\n'
                	+'<li><a href="http://www.va.gov/health/">Health Care Information</a></li>' + '\n'
					+'<li><a href="http://www.va.gov/health/topics/">A-Z Health Topic Finder</a></li>' + '\n'
                    +'<li><a href="http://www.myhealth.va.gov/">My Health<span style="text-decoration:underline; font-style:italic">e<\/span>Vet</a></li>' + '\n'
                    +'<li><a href="https://www.myhealth.DNS   /mhv-portal-web/anonymous.portal?_nfpb=true&_pageLabel=rxRefillHome">Refill Prescriptions</a></li>' + '\n'
					+'<li><a href="http://www.mentalhealth.va.gov/suicide_prevention/">Suicide Prevention</a></li>' + '\n'
                    +'<li><a href="http://www.ptsd.va.gov/">PTSD</a></li>' + '\n'
                    +'<li><a href="http://www.publichealth.va.gov/">Public Health</a></li>' + '\n'
                   	+'</ul>' + '\n'
                    +'<h4>Burials &amp; Memorials</h4>' + '\n'
                    +'<ul>' + '\n'
                    +'<li><a href="http://www.cem.DNS   /">Cemetery Services</a></li>' + '\n'
                    +'<li><a href="http://www.cem.DNS   /bbene_burial.asp">Burials</a></li>' + '\n'
                    +'<li><a href="http://www.cem.DNS   /hm_hm.asp">Headstones &amp; Markers</a></li>' + '\n'
                    +'<li><a href="http://www.cem.DNS   /pmc.asp">Presidential Memorial Certificates</a></li>' + '\n'
                    +'<li><a href="http://www.cem.DNS   /cems/listcem.asp">Cemeteries</a></li>' + '\n'
                    +'<li><a href="http://gravelocator.cem.DNS   /">Nationwide Gravesite Locator</a></li>' + '\n'
                    +'<li><a href="http://www.cem.DNS   /bbene/bflags.asp">Burial Flags</a></li>' + '\n'
                    +'<li><a href="http://www.cem.DNS   /bbene/benvba.asp">Burial Allowance</a></li>' + '\n'
                    +'</ul>' + '\n'
                +'</div>' + '\n'
                 	+'<div class="clear"></div>' + '\n'
          +'</div>' + '\n'
          +'</li>' + '\n'
             
              +'<li>' + '\n'
            	+'<a href="http://www.DNS   /landing2_business.htm">Business</a>' + '\n'
                +'<div class="menu">' + '\n'
                +'<div class="sub_nav">' + '\n'
                +'<h4>Inside Business</h4>' + '\n'
                	+'<ul>' + '\n'
                	+'<li><a href="http://www.DNS   /osdbu/">Small Business Opportunities</a></li>' + '\n'
                    +'<li><a href="http://www.DNS   /osdbu/veteran/">Starting a Business</a></li>' + '\n'
					+'<li><a href="http://www.vetbiz.gov/">VetBiz.gov</a></li>' + '\n'
				+'</ul>' + '\n'
                +'<h4>Doing Business with VA</h4>' + '\n'
                	+'<ul>' + '\n'
                    +'<li><a href="http://www.DNS   /oamm/oa/dbwva/">Acquisitions</a></li>' + '\n'
                    +'<li><a href="http://www.cfm.DNS   /">Construction</a></li>' + '\n'
                    +'<li><a href="http://www.volunteer.DNS   /">Volunteer</a></li>' + '\n'
                    +'</ul>' + '\n'
                +'</div> ' + '\n'
                	+'<div class="clear"></div>' + '\n'
                +'</div>' + '\n'
          +'</li>' + '\n'
				
                +'<li>' + '\n'
                	+'<a href="http://www.DNS   /landing2_about.htm" >About VA</a>' + '\n'
					+'<div class="menu twoColumn">' + '\n'
                +'<div class="sub_nav">' + '\n'
                	+'<h4>Inside the VA</h4>' + '\n'
                	+'<ul>' + '\n'
                    +'<li><a href="http://www.DNS   /opa/bios/PW    ary.asp">Secretary of VA</a></li>' + '\n'
                    +'<li><a href="http://www.DNS   /opa/bios/">Executive Biographies</a></li>' + '\n'
                    +'<li><a href="http://www.DNS   /landing_organizations.htm">Organizations</a></li>' + '\n'
                    +'<li><a href="http://www.DNS   /about_va/vahistory.asp">History</a></li>' + '\n'
                    +'<li><a href="http://www.DNS   /vetdata/">Data and Statistics</a></li>' + '\n'
                    +'<li><a href="http://www.DNS   /jobs/">Jobs</a></li>' + '\n'
                    +'<li><a href="http://www.DNS   /cfbnpartnerships/">Faith-based &amp; Neighborhood Partnerships</a></li>' + '\n'
                    +'<li><a href="http://www.DNS   /kids/">VA for Kids</a></li>' + '\n'
                 +'</ul>' + '\n'
                 	+'<h4>Congressional Affairs</h4>' + '\n'
                    +'<ul>' + '\n'
                    +'<li><a href="http://www.DNS   /oca/Vet_Legis.asp">Legislation</a></li>' + '\n'
                    +'<li><a href="http://www.DNS   /oca/testimony.asp">Testimony</a></li>' + '\n'
                    +'</ul>' + '\n'
                 +'</div>' + '\n'
				+'<div class="sub_nav">' + '\n'
                	+'<h4>Budget and Performance</h4>' + '\n'
                	+'<ul>' + '\n'
                	+'<li><a href="http://www.DNS   /performance/">VA Plans, Budget, and Performance</a></li>' + '\n'
                    +'<li><a href="http://www.DNS   /vai2/">VA Innovation Initiative (VAi2)</a></li>' + '\n'
                    +'<li><a href="http://www.DNS   /budget/report/">Performance and Accountability Report</a></li>' + '\n'
                    +'<li><a href="http://www.DNS   /budget/products.htm">Budget Submission</a></li>' + '\n'
                    +'<li><a href="http://www.DNS   /recovery/">Recovery Act</a></li>' + '\n'
                    +'</ul>' + '\n'
                    +'<h4>Partners</h4>' + '\n'
                    +'<ul>' + '\n'
                    +'<li><a href="http://www.DNS   /statedva.htm">State Veterans Affairs Offices</a></li>' + '\n'
                    +'<li><a href="http://www.DNS   /vso/">Veterans Service Organizations</a></li>' + '\n'
                    +'</ul>' + '\n'
                 +'</div>' + '\n'
                 	+'<div class="clear"></div>' + '\n'
               +'</div>' + '\n'
				+'</li>' + '\n'
	           
              
			
            +'<li>' + '\n'
            	+'<a href="http://www.DNS   /landing2_media_room.htm">Media Room</a>' + '\n'
                +'<div class="menu twoColumn">' + '\n'
                +'<div class="sub_nav">' + '\n'
                	+'<h4>Inside the Media Room</h4>' + '\n'
                	+'<ul>' + '\n'
					+'<li><a href="http://www.DNS   /opa/pressrel/">News Releases</a></li>' + '\n'
                	+'<li><a href="http://www.DNS   /opa/speeches/">Speeches</a></li>' + '\n'
                	+'<li><a href="http://www.DNS   /opa/videos/">Videos</a></li>' + '\n'
                    +'<li><a href="http://www.DNS   /opa/publications/">Publications</a></li>' + '\n'
                    +'</ul>' + '\n'
					+'<h4>National Observances</h4>' + '\n'
					+'<ul>' + '\n'
					+'<li><a href="http://www.DNS   /opa/vetsday/">Veterans Day</a></li>' + '\n'
					+'<li><a href="http://www.DNS   /opa/speceven/memday/">Memorial Day</a></li>' + '\n'
					+'<li><a href="http://www.DNS   /opa/publications/celebrate_americas_freedoms.asp">Celebrating America\'s Freedoms</a></li>' + '\n'
					+'</ul>' + '\n'
                +'</div>' + '\n'
                +'<div class="sub_nav">' + '\n'
                	+'<h4>Special Events</h4>' + '\n'
                	+'<ul>' + '\n'
                	+'<li><a href="http://www.creativeartsfestival.DNS   /">Creative Arts Festival</a></li>' + '\n'
					+'<li><a href="http://www.veteransgoldenagegames.DNS   /">Golden Age Games</a></li>' + '\n'
                    +'<li><a href="http://www.summersportsclinic.DNS   /">Summer Sports Clinic</a></li>' + '\n'
                    +'<li><a href="http://www.tee.DNS   /">Training&ndash;Exposure&ndash; Experience (TEE) Tournament</a></li>' + '\n'
                    +'<li><a href="http://www.wheelchairgames.DNS   /">Wheelchair Games</a></li>' + '\n'
                    +'<li><a href="http://www.wintersportsclinic.DNS   /">Winter Sports Clinic</a></li>' + '\n'
                    +'</ul>' + '\n'
                 +'</div>' + '\n'
                    +'<div class="clear"></div>' + '\n'
				+'</div>' + '\n'
          +'</li>' + '\n'
               
                +'<li>' + '\n'
                +'<a href="http://www.DNS   /landing2_locations.htm">Locations</a>' + '\n'
                +'<div class="menu">' + '\n'
                +'<div class="sub_nav">' + '\n'
                	+'<ul>' + '\n'
					+'<li><a href="http://www.DNS   /directory/guide/division_flsh.asp?dnum=1">Hospitals and Clinics</a></li>' + '\n'
                	+'<li><a href="http://www.DNS   /directory/guide/vetcenter_flsh.asp">Vet Centers</a></li>' + '\n'
                	+'<li><a href="http://www.DNS   /directory/guide/division_flsh.asp?dnum=3">Regional Benefits Offices</a></li>' + '\n'
                    +'<li><a href="http://homeloans.DNS   /rlcweb.htm">Regional Loan Centers</a></li>' + '\n'
                    +'<li><a href="http://www.DNS   /directory/guide/division_flsh.asp?dnum=4">Cemetery Locations</a></li>' + '\n'
                    +'</ul>' + '\n'
                  +'</div>' + '\n'
                   	+'<div class="clear"></div>' + '\n'
               	+'</div>' + '\n'
                +'</li>' + '\n'
                
                +'<li>' + '\n'
                +'<a href="http://www.DNS   /landing2_contact.htm">Contact Us</a>' + '\n'
                +'<div class="menu">' + '\n'
                +'<div class="sub_nav">' + '\n'
                	+'<ul>' + '\n'
					+'<li><a href="https://iris.DNS   /scripts/iris.cfg/php.exe/enduser/std_alp.php">FAQs</a></li>' + '\n'
					+'<li><a href="https://iris.DNS   /">Ask a Question</a></li>' + '\n'
                	+'<li><a href="https://iris.DNS   /scripts/iris.cfg/php.exe/enduser/cci/phonenbrs.php">Toll Free Numbers</a></li>' + '\n'
                    +'</ul>' + '\n'
                  +'</div>' + '\n'
                   	+'<div class="clear"></div>' + '\n'
                +'</div>' + '\n'
          +'</li>' + '\n'
                
       +'</ul>' + '\n'
	   
	  
			
			 )
	
};