
var persisteduls=new Object()
var ddtreemenu=new Object()


//////////No need to edit beyond here///////////////////////////

ddtreemenu.createTree=function(treeid, enablepersist, persistdays){
var ultags=document.getElementById(treeid).getElementsByTagName("ul")
if (typeof persisteduls[treeid]=="undefined")
persisteduls[treeid]=(enablepersist==true && ddtreemenu.getCookie(treeid)!="")? ddtreemenu.getCookie(treeid).split(",") : ""
for (var i=0; i<ultags.length; i++)
ddtreemenu.buildSubTree(treeid, ultags[i], i)
if (enablepersist==true){ //if enable persist feature
var durationdays=(typeof persistdays=="undefined")? 1 : parseInt(persistdays)
ddtreemenu.dotask(window, function(){ddtreemenu.rememberstate(treeid, durationdays)}, "unload") //save opened UL indexes on body unload
}
}

ddtreemenu.buildSubTree=function(treeid, ulelement, index){
ulelement.parentNode.className="submenu"
if (typeof persisteduls[treeid]=="object"){ //if cookie exists (persisteduls[treeid] is an array versus "" string)
if (ddtreemenu.searcharray(persisteduls[treeid], index)){
ulelement.setAttribute("rel", "open")
ulelement.style.display="block"
}
else
ulelement.setAttribute("rel", "closed")
} //end cookie persist code
else if (ulelement.getAttribute("rel")==null || ulelement.getAttribute("rel")==false) //if no cookie and UL has NO rel attribute explicted added by user
ulelement.setAttribute("rel", "closed")
else if (ulelement.getAttribute("rel")=="open") //else if no cookie and this UL has an explicit rel value of "open"
ddtreemenu.expandSubTree(treeid, ulelement) //expand this UL plus all parent ULs (so the most inner UL is revealed!)
ulelement.parentNode.onclick=function(e){
var submenu=this.getElementsByTagName("ul")[0]
if (submenu.getAttribute("rel")=="closed"){
submenu.style.display="block"
submenu.setAttribute("rel", "open")
}
else if (submenu.getAttribute("rel")=="open"){
submenu.style.display="none"
submenu.setAttribute("rel", "closed")
}
ddtreemenu.preventpropagate(e)
}
ulelement.onclick=function(e){
ddtreemenu.preventpropagate(e)
}
}

ddtreemenu.expandSubTree=function(treeid, ulelement){ //expand a UL element and any of its parent ULs
var rootnode=document.getElementById(treeid)
var currentnode=ulelement
currentnode.style.display="block"
while (currentnode!=rootnode){
if (currentnode.tagName=="UL"){ //if parent node is a UL, expand it too
currentnode.style.display="block"
currentnode.setAttribute("rel", "open") //indicate it's open
}
currentnode=currentnode.parentNode
}
}

ddtreemenu.flatten=function(treeid, action){ //expand or contract all UL elements
var ultags=document.getElementById(treeid).getElementsByTagName("ul")
for (var i=0; i<ultags.length; i++){
ultags[i].style.display=(action=="expand")? "block" : "none"
var relvalue=(action=="expand")? "open" : "closed"
ultags[i].setAttribute("rel", relvalue)
}
}

ddtreemenu.rememberstate=function(treeid, durationdays){ //store index of opened ULs relative to other ULs in Tree into cookie
var ultags=document.getElementById(treeid).getElementsByTagName("ul")
var openuls=new Array()
for (var i=0; i<ultags.length; i++){
if (ultags[i].getAttribute("rel")=="open")
openuls[openuls.length]=i //save the index of the opened UL (relative to the entire list of ULs) as an array element
}
if (openuls.length==0) //if there are no opened ULs to save/persist
openuls[0]="none open" //set array value to string to simply indicate all ULs should persist with state being closed
ddtreemenu.setCookie(treeid, openuls.join(","), durationdays) //populate cookie with value treeid=1,2,3 etc (where 1,2... are the indexes of the opened ULs)
}

////A few utility functions below//////////////////////

ddtreemenu.getCookie=function(Name){ //get cookie value
var re=new RegExp(Name+"=[^;]+", "i"); //construct RE to search for target name/value pair
if (document.cookie.match(re)) //if cookie found
return document.cookie.match(re)[0].split("=")[1] //return its value
return ""
}

ddtreemenu.setCookie=function(name, value, days){ //set cookei value
var expireDate = new Date()
//set "expstring" to either future or past date, to set or delete cookie, respectively
var expstring=expireDate.setDate(expireDate.getDate()+parseInt(days))
document.cookie = name+"="+value+"; expires="+expireDate.toGMTString()+"; path=/";
}

ddtreemenu.searcharray=function(thearray, value){ //searches an array for the entered value. If found, delete value from array
var isfound=false
for (var i=0; i<thearray.length; i++){
if (thearray[i]==value){
isfound=true
thearray.shift() //delete this element from array for efficiency sake
break
}
}
return isfound
}

ddtreemenu.preventpropagate=function(e){ //prevent action from bubbling upwards
if (typeof e!="undefined")
e.stopPropagation()
else
event.cancelBubble=true
}

ddtreemenu.dotask=function(target, functionref, tasktype){ //assign a function to execute to an event handler (ie: onunload)
var tasktype=(window.addEventListener)? tasktype : "on"+tasktype
if (target.addEventListener)
target.addEventListener(tasktype, functionref, false)
else if (target.attachEvent)
target.attachEvent(tasktype, functionref)
}




function Pop(link) {
	window.open(link,"popup","top=5,left=30,toolbar=no,resizable=yes,width=452,height=301,location=no,directories=no,scrollbars=yes");
}
function Contact(link) {
	alert('contact');
	thisone.href = link;
}
  
function Print(link) {
	window.open(link,"popup","top=5,left=30,toolbar=yes,resizable=yes,width=570,height=600,location=no,directories=no,scrollbars=yes");
}


function loadXMLDoc(dname) 
{
if (window.XMLHttpRequest)
  {
  xhttp=new XMLHttpRequest();
  }
else
  {
  xhttp=new ActiveXObject("Microsoft.XMLHTTP");
  }
xhttp.open("GET",dname,false);
xhttp.send("");
return xhttp.responseXML;
}


function showMenu(x) {
	document.getElementById('Pay my bill').style.display='none';
	document.getElementById('Moving?').style.display='none';	
	document.getElementById('My Bill').style.display='none';	
	document.getElementById('Billing Programs').style.display='none';	
	document.getElementById('Save Energy and Money').style.display='none';	
	document.getElementById('Important Messages').style.display='none';	
	
	
	document.getElementById(x).style.display='block';
}


function display_menu(id)  {
  	

	
	
  switch(id) {
  case "top2":
      document.write("<p>");	  
	  document.write("<a href='/logout1.asp' class='menu'>Sign Out</a>");  
	  document.write(" | <a href='http://www.westarenergy.com/wcm.nsf/content/about%20us' class='menu'>About Us</a>");    
      document.write(" | <a href='http://www.westarenergy.com/corp_com/corpcomm.nsf/newsreleaselatestweb' class='menu'>News</a>");    
      document.write(" | <a href='http://www.westarenergy.com/wcm.nsf/content/contact' class='menu'>Contact</a>");    
      document.write(" | <a href='http://www.westarenergy.com/wcm.nsf/content/careers' class='menu'>Careers</a>");    
      document.write(" | <a href='investors.asp' class='menu'>Investors</a>");    
      document.write("</p>");	  
	  break;
  case "secure":
  
      document.write('<ul id="secure1" class="treeview">');
      document.write('<li><p>My Electric Account</p>');
      document.write('<ul rel="open">');
      
      document.write('<li><p><a href="/payonline.asp" class="a3" target="" alt="Pay by Checking/Savings">Pay by Checking/Savings</a></p></li>');  
	  document.write('<li><p><a href="https://paymentswestar.billmatrix.com/" class="a3" target="_blank" alt="Pay by Debit or Credit Card">Pay by Debit or Credit Card</a></p></li>');  
	  document.write('<li><p><a href="/viewbill.asp" class="a3" target="" alt="View Bill">View Bill</a></p></li>');  
	  document.write('<li><p><a href="/meterread.asp" class="a3" target="" alt="Enter Meter Read">Enter Meter Read</a></p></li>');  
	  document.write('<li><p><a href="/accountlist.asp" class="a3" target="" alt="Account List">Account List</a></p></li>');  
	  document.write('<li><p><a href="/appp.asp" class="a3" target="" alt="Average Payment Plan">Average Payment Plan</a></p></li>');  
	  document.write('<li><p><a href="/bankplan.asp" class="a3" target="" alt="Bank Plan">Bank Plan</a></p></li>');  
	  document.write('<li><p><a href="/toel.asp" class="a3" target="" alt="Report a Power Outage">Report a Power Outage</a></p></li>');  
	  document.write('<li><p><a href="/meterhistory.asp" class="a3" target="" alt="Meter History">Meter History</a></p></li>');  
	  document.write('<li><p><a href="/yearlyreadschedule.asp" class="a3" target="" alt="Meter Reading Schedule">Meter Reading Schedule</a></p></li>');  
	  document.write('<li><p><a href="/shortterm.asp" class="a3" target="" alt="Payment Extension">Payment Extension</a></p></li>');  
	  document.write('<li><p><a href="/changeprofile.asp" class="a3" target="" alt="Profile">Profile</a></p></li>');  
	  document.write('<li><p><a href="/dmpdadd.asp" class="a3" target="" alt="Project Deserve">Project Deserve</a></p></li>');  
	  document.write('<li><p><a href="/sotf.asp" class="a3" target="" alt="Stop Service">Stop Service</a></p></li>');  
	  document.write('<li><p><a href="/transactionhistory.asp" class="a3" target="" alt="Transaction History">Transaction History</a></p></li>');  
	  document.write('<li><p><a href="/moveortransfer.asp" class="a3" target="" alt="Move Existing or Start Additional Service">Move Existing or Start Additional Service</a></p></li>');  
	  document.write('<li><p><a href="/logout1.asp" class="a3" target="" alt="Sign Out">Sign Out</a></p></li>');  
		
	  document.write('</ul>');
	  document.write('</li>');
	  
	  
	  document.write('</ul>');
	  break;


  case "My Home":
	document.write('<ul id="My Home" class="treeview">');
  		document.write('<li><p>Pay my bill</p>');
      		document.write('<ul>');
	      		document.write('<li><p><a href="https://www-11.westarenergy.com/payonline.asp" class="a3" target="" alt="Checking / Savings Account">Checking / Savings Account</a></p></li>');  
		  		document.write('<li><p><a href="/wcm.nsf/content/bankplan" class="a3" target="" alt="Automatic Bill Payment Plan">Automatic Bill Payment Plan</a></p></li>');  
		  		document.write('<li><p><a href="https://paymentswestar.billmatrix.com/" class="a3" target="_blank" alt="Debit/Credit Card">Debit/Credit Card</a></p></li>');  
		  		document.write('<li><p><a href="https://www-10.westarenergy.com/cust_services/pendingw.nsf/APSSearch" class="a3" target="" alt="Authorized Pay Station">Authorized Pay Station</a></p></li>');  
	  		document.write('</ul>');
	  	document.write('</li>');
		document.write('<li><p>Moving?</p>');
			document.write('<ul>');
				document.write('<li><p><a href="https://www-11.westarenergy.com/to/to1.asp" class="a3" target="" alt="Start / Stop Service">Start / Stop Service</a></p></li>');  
		  		document.write('<li><p><a href="/wcm.nsf/content/new construction" class="a3" target="" alt="New Construction">New Construction</a></p></li>');  			
			document.write('</ul>');
	  	document.write('</li>');
		document.write('<li><p>My Bill</p>');
	      	document.write('<ul>');
				document.write('<li><p><a href="https://www-11.westarenergy.com/billhelp.htm" class="a3" target="_blank" alt="Explanation of my bill">Explanation of my bill</a></p></li>');  
		  		document.write('<li><p><a href="/wcm.nsf/content/help" class="a3" target="" alt="Help paying my bill">Help paying my bill</a></p></li>');  
		  		document.write('<li><p><a href="/wcm.nsf/content/home deposit" class="a3" target="" alt="Deposit information">Deposit information</a></p></li>');  
		  		document.write('<li><p><a href="/wcm.nsf/content/rates" class="a3" target="" alt="Rates">Rates</a></p></li>'); 
		  		document.write('<li><p><a href="/wcm.nsf/content/meter read" class="a3" target="" alt="How to read my meter">How to read my meter</a></p></li>'); 
			document.write('</ul>');
	  	document.write('</li>');	
		document.write('<li><p>Billing Programs</p>');
    	  	document.write('<ul>');
				document.write('<li><p><a href="/wcm.nsf/content/app" class="a3" target="" alt="Average Payment Plan">Average Payment Plan</a></p></li>');  
		  		document.write('<li><p><a href="/wcm.nsf/content/home group billing" class="a3" target="" alt="Group billing">Group billing</a></p></li>');  
		  		document.write('<li><p><a href="/wcm.nsf/content/life support" class="a3" target="" alt="Life support program">Life support program</a></p></li>');  
		  		document.write('<li><p><a href="/wcm.nsf/content/revert to owner" class="a3" target="" alt="Revert to owner">Revert to owner</a></p></li>');  
		  		document.write('<li><p><a href="/wcm.nsf/content/paperless" class="a3" target="" alt="Paperless billing">Paperless billing</a></p></li>');  
				document.write('<li><p><a href="/wcm.nsf/content/renewable energy program rider" class="a3" target="" alt="Renewable Energy Program Rider">Renewable Energy Program Rider</a></p></li>');  
				document.write('<li><p><a href="/wcm.nsf/content/third party" class="a3" target="" alt="Third party notification">Third party notification</a></p></li>');  
				document.write('<li><p><a href="/wcm.nsf/content/cwr" class="a3" target="" alt="Cold Weather Rule">Cold Weather Rule</a></p></li>');  
			document.write('</ul>');
	  	document.write('</li>');
		document.write('<li><p>Save Energy and Money</p>');
    	  	document.write('<ul>');
				document.write('<li><p><a href="/wcm.nsf/content/energy calculators" class="a3" target="" alt="Energy calculators">Energy calculators</a></p></li>');  
		  		document.write('<li><p><a href="/wcm.nsf/content/home tips" class="a3" target="" alt="Energy saving tips">Energy saving tips</a></p></li>');  
		  		document.write('<li><p><a href="/wcm.nsf/content/wattsaver" class="a3" target="" alt="WattSaver Program">WattSaver Program</a></p></li>');  
		  		document.write('<li><p><a href="/wcm.nsf/content/heat pumps" class="a3" target="" alt="High-efficiency heat pumps">High-efficiency heat pumps</a></p></li>');  
			document.write('</ul>');
	  	document.write('</li>');
		document.write('<li><p>Outside Lighting</p>');
    	  	document.write('<ul>');
				document.write('<li><p><a href="https://www-11.westarenergy.com/streetlight/streetlights.asp" class="a3" target="" alt="Report street light out">Report street light out</a></p></li>');  
		  		document.write('<li><p><a href="/wcm.nsf/content/asl" class="a3" target="" alt="Area Security Lighting">Area Security Lighting</a></p></li>');  
			document.write('</ul>');
	  	document.write('</li>');
		document.write('<li><p>Important Messages</p>');
      		document.write('<ul>');
				document.write('<li><p><a href="https://www-10.westarenergy.com/cust_services/pendingw.nsf/QuePersonalInfo" class="a3" target="" alt="Update account information">Update account information</a></p></li>');  
		  		document.write('<li><p><a href="/wcm.nsf/content/cwr" class="a3" target="" alt="Cold Weather Rule">Cold Weather Rule</a></p></li>');  
		  		document.write('<li><p><a href="/wcm.nsf/content/dog" class="a3" target="" alt="Contain your pets">Contain your pets</a></p></li>');  
			document.write('</ul>');
	  	document.write('</li>');
	document.write('</ul>');	  
  break;

  case "My Business":
  	document.write('<ul id="My Business" class="treeview">');
  	  	document.write('<li><p>Pay my bill</p>');
      		document.write('<ul>');
	      		document.write('<li><p><a href="https://www-11.westarenergy.com/payonline.asp" class="a3" target="" alt="Checking / Savings Account">Checking / Savings Account</a></p></li>');  
		  		document.write('<li><p><a href="/wcm.nsf/content/bbankplan" class="a3" target="" alt="Automatic Bill Payment Plan">Automatic Bill Payment Plan</a></p></li>');  
		  		document.write('<li><p><a href="https://paymentswestar.billmatrix.com/" class="a3" target="_blank" alt="Debit/Credit Card">Debit/Credit Card</a></p></li>');  
		  		document.write('<li><p><a href="https://www-10.westarenergy.com/cust_services/pendingw.nsf/APSSearch" class="a3" target="" alt="Authorized Pay Station">Authorized Pay Station</a></p></li>');  
	  		document.write('</ul>');
	  	document.write('</li>');
		document.write('<li><p>Moving?</p>');
			document.write('<ul>');
				document.write('<li><p><a href="https://www-11.westarenergy.com/to/to1.asp" class="a3" target="" alt="Start / Stop Service">Start / Stop Service</a></p></li>');  
		  		document.write('<li><p><a href="/wcm.nsf/content/new construction" class="a3" target="" alt="New Construction">New Construction</a></p></li>');  			
			document.write('</ul>');
	  	document.write('</li>');
		document.write('<li><p>My Bill</p>');
	      	document.write('<ul>');
				document.write('<li><p><a href="https://www-11.westarenergy.com/billhelp.htm" class="a3" target="_blank" alt="Explanation of my bill">Explanation of my bill</a></p></li>');  
		  		document.write('<li><p><a href="/wcm.nsf/content/business deposit" class="a3" target="" alt="Deposit information">Deposit information</a></p></li>');  
		  		document.write('<li><p><a href="/wcm.nsf/content/rates" class="a3" target="" alt="Rates">Rates</a></p></li>');  
		  		document.write('<li><p><a href="/wcm.nsf/content/meter read" class="a3" target="" alt="How to read my meter">How to read my meter</a></p></li>');  
			document.write('</ul>');
	  	document.write('</li>');	
		document.write('<li><p>Billing Programs</p>');
	      	document.write('<ul>');
				document.write('<li><p><a href="/wcm.nsf/content/app" class="a3" target="" alt="Average Payment Plan">Average Payment Plan</a></p></li>');  
		  		document.write('<li><p><a href="/wcm.nsf/content/group billing" class="a3" target="" alt="Group billing">Group billing</a></p></li>');  
		  		document.write('<li><p><a href="/wcm.nsf/revert to owner" class="a3" target="" alt="Revert to owner">Revert to owner</a></p></li>');  
		  		document.write('<li><p><a href="/wcm.nsf/content/paperless" class="a3" target="" alt="Paperless billing">Paperless billing</a></p></li>');  
		  		document.write('<li><p><a href="/wcm.nsf/content/renewable energy program rider" class="a3" target="" alt="Renewable Energy Program Rider">Renewable Energy Program Rider</a></p></li>');  
		  		document.write('<li><p><a href="/wcm.nsf/content/tax exempt" class="a3" target="" alt="Sales Tax Exemption">Sales Tax Exemption</a></p></li>');  
			document.write('</ul>');
	  	document.write('</li>');	
		document.write('<li><p>Large Business</p>');
    	  	document.write('<ul>');
				document.write('<li><p><a href="/wcm.nsf/content/c and i" class="a3" target="" alt="C and I Services">C and I Services</a></p></li>');  
			document.write('</ul>');
	  	document.write('</li>');
		document.write('<li><p>Save Energy and Money</p>');
    	  	document.write('<ul>');
				document.write('<li><p><a href="/wcm.nsf/content/energy calculators" class="a3" target="" alt="Energy calculators">Energy calculators</a></p></li>');  
		  		document.write('<li><p><a href="/wcm.nsf/content/home tips" class="a3" target="" alt="Energy saving tips">Energy saving tips</a></p></li>');  
		  		document.write('<li><p><a href="/wcm.nsf/content/wattsaver" class="a3" target="" alt="WattSaver Program">WattSaver Program</a></p></li>');  
		  		document.write('<li><p><a href="http://westarenergy.apogee.net/ces/default.asp" class="a3" target="_blank" alt="Commercial energy library">Commercial energy library</a></p></li>');  
		  		document.write('<li><p><a href="/wcm.nsf/content/heat pumps" class="a3" target="" alt="High-efficiency heat pumps">High-efficiency heat pumps</a></p></li>');  
			document.write('</ul>');
	  	document.write('</li>');	
		document.write('<li><p>Outside Lighting</p>');
    	  	document.write('<ul>');
				document.write('<li><p><a href="https://www-11.westarenergy.com/streetlight/streetlights.asp" class="a3" target="" alt="Report street light out">Report street light out</a></p></li>');  
		  		document.write('<li><p><a href="/wcm.nsf/content/asl" class="a3" target="" alt="Area Security Lighting">Area Security Lighting</a></p></li>');  
			document.write('</ul>');
	  	document.write('</li>');
		document.write('<li><p>Important Messages</p>');
      		document.write('<ul>');
				document.write('<li><p><a href="https://www-10.westarenergy.com/cust_services/pendingw.nsf/QuePersonalInfo" class="a3" target="" alt="Update account information">Update account information</a></p></li>');  
		  		document.write('<li><p><a href="/wcm.nsf/content/dog" class="a3" target="" alt="Contain your pets">Contain your pets</a></p></li>');  
		  		document.write('<li><p><a href="/wcm.nsf/content/customer generators" class="a3" target="" alt="Customer-generators">Customer-generators</a></p></li>');  
			document.write('</ul>');
	  	document.write('</li>');
	document.write('</ul>');	  
  break;
	  
  case "Outages and Safety":
    document.write('<ul id="Outages and Safety" class="treeview">');
  	    document.write('<li><p>Power Outage</p>');      
          document.write('<ul>');
	      	  document.write('<li><p><a href="https://www-11.westarenergy.com/toel.asp" alt="Report power outage" class="a3">Report power outage</a></p></li>');
            document.write('<li><p><a href="javascript:displayterritory()" alt="Outage map" class="a3">Outage map</a></p></li>');
            document.write('<li><p><a href="https://www-11.westarenergy.com/outagemaps/outagetable.asp" alt="Outage numbers by county" class="a3">Outage numbers by county</a></p></li>');
            document.write('<li><p>1-800-544-4857</p></li>');
          document.write('</ul>');
        document.write('</li>');
        document.write('<li><p>Outage Information</p>');
          document.write('<ul>');
            document.write('<li><p><a href="/wcm.nsf/content/prepare" alt="Preparing for a power outage" class="a3">Preparing for a power outage</a></p></li>');
            document.write('<li><p><a href="/wcm.nsf/content/lights out" alt="If power goes out" class="a3">If power goes out</a></p></li>');
            document.write('<li><p><a href="/wcm.nsf/content/restoration process" alt="Restoration process" class="a3">Restoration process</a></p></li>');
            document.write('<li><p><a href="/wcm.nsf/content/momentary outages" alt="Momentary outages" class="a3">Momentary outages</a></p></li>');
          document.write('</ul>');
        document.write('</li>');
        document.write('<li><p>Electric Safety</p>');
          document.write('<ul>');
            document.write('<li><p><a href="/wcm.nsf/content/safety" alt="Safety tips" class="a3">Safety tips</a></p></li>');
            document.write('<li><p><a href="/wcm.nsf/content/energy theft" alt="Energy/Copper wire theft" class="a3">Energy/Copper wire theft</a></p></li>');
            document.write('<li><p><a href="/wcm.nsf/content/contractor safety" alt="Contractor safety" class="a3">Contractor safety</a></p></li>');
            document.write('<li><p><a href="/wcm.nsf/content/inside safety" alt="Inside safety" class="a3">Inside safety</a></p></li>');
            document.write('<li><p><a href="/wcm.nsf/content/outside safety" alt="Outside safety" class="a3">Outside safety</a></p></li>');
            document.write('<li><p><a href="/wcm.nsf/content/hot weather safety" alt="Hot weather safety" class="a3">Hot weather safety</a></p></li>');
            document.write('<li><p><a href="/wcm.nsf/content/electric shock" alt="Electric shock safety" class="a3">Electric shock safety</a></p></li>');
            document.write('<li><p><a href="/wcm.nsf/content/flood safety" alt="Flood safety" class="a3">Flood safety</a></p></li>');
            document.write('<li><p><a href="/wcm.nsf/content/holiday safety" alt="Holiday safety" class="a3">Holiday safety</a></p></li>');
            document.write('<li><p><a href="/wcm.nsf/content/generator safety" alt="Generator safety" class="a3">Generator safety</a></p></li>');
            document.write('<li><p><a href="/wcm.nsf/content/westar safety" alt="Westar\'s safety practices" class="a3">Westar\'s safety practices</a></p></li>');
          document.write('</ul>');
        document.write('</li>');
        document.write('<li><p>Tree Trimming</p>');
          document.write('<ul>');
            document.write('<li><p><a href="/wcm.nsf/content/vegetation%20management" alt="ReliabiliTree home" class="a3">ReliabiliTree home</a></p></li>');
            document.write('<li><p><a href="/wcm.nsf/content/right tree" alt="Right tree right place" class="a3">Right tree right place</a></p></li>');
            document.write('<li><p><a href="/wcm.nsf/content/pruning" alt="Overhead line clearance" class="a3">Overhead line clearance</a></p></li>');				
            document.write('<li><p><a href="/wcm.nsf/content/checklist" alt="Tree planting checklist" class="a3">Tree planting checklist</a></p></li>');
            document.write('<li><p><a href="/wcm.nsf/content/tree safety" alt="Tree pruning safety" class="a3">Tree pruning safety</a></p></li>');
            document.write('<li><p><a href="/wcm.nsf/content/tree savings" alt="Tree energy savings" class="a3">Tree energy savings</a></p></li>');
          document.write('</ul>');
        document.write('</li>');
      	document.write('<li><p>System Reliability</p>');
          document.write('<ul>');
            document.write('<li><p><a href="/wcm.nsf/content/outage cause" alt="Cause of interruptions" class="a3">Cause of interruptions</a></p></li>');
            document.write('<li><p><a href="/wcm.nsf/content/reliability" alt="Frequency / Duration outages" class="a3">Frequency / Duration outages</a></p></li>');
            document.write('<li><p><a href="/wcm.nsf/content/maintenance programs" alt="Maintenance programs" class="a3">Maintenance programs</a></p></li>');				
          document.write('</ul>');
        document.write('</li>');    
    document.write('</ul>');
  break;	  	  
	  
  case "EfficiencyWorks":
    document.write('<ul id="EfficiencyWorks" class="treeview">');
  	    document.write('<li><p>Programs</p>');      
          document.write('<ul>');
	      	document.write('<li><p><a href="/wcm.nsf/content/wattsaver" alt="WattSaver Program" class="a3">WattSaver Program</a></p></li>');
            document.write('<li><p><a href="/wcm.nsf/content/home energy savings" alt="Home Energy Savings Workshop" class="a3">Home Energy Savings Workshop</a></p></li>');
            document.write('<li><p><a href="/wcm.nsf/content/boc" alt="Building Operator Certification" class="a3">Building Operator Certification</a></p></li>');
            document.write('<li><p><a href="/wcm.nsf/content/real estate" alt="Real Estate Course" class="a3">Real Estate Course</a></p></li>');
            document.write('<li><p><a href="/wcm.nsf/content/powerpedia" alt="Powerpedia Program" class="a3">Powerpedia Program</a></p></li>');
          document.write('</ul>');
        document.write('</li>');
        document.write('<li><p>Calculators</p>');
          document.write('<ul>');
            document.write('<li><p><a href="http://c03.apogee.net/calcs/rescalc5x/default.aspx?hostheader=westarenergy&utilityid=westarenergy" alt="Home energy calculator" target="_blank" class="a3">Home energy calculator</a></p></li>');
            document.write('<li><p><a href="http://c03.apogee.net/calcs/appcalc/default.aspx?utilityid=westarenergy" alt="Lighting calculator" target="_blank" class="a3">Lighting calculator</a></p></li>');
            document.write('<li><p><a href="http://c03.apogee.net/contentplayer/?utilityid=westarenergy&coursetype=misc&id=17876" alt="Appliance calculator" target="_blank" class="a3">Appliance calculator</a></p></li>');
          document.write('</ul>');
        document.write('</li>');
        document.write('<li><p>Energy Saving Tips</p>');
          document.write('<ul>');
            document.write('<li><p><a href="/wcm.nsf/content/home tips" alt="Energy efficiency videos" class="a3">Energy efficiency videos</a></p></li>');
            document.write('<li><p><a href="/wcm.nsf/content/home energy audit" alt="Home energy audit" class="a3">Home energy audit</a></p></li>');
            document.write('<li><p><a href="/wcm.nsf/content/no cost" alt="No cost tips" class="a3">No cost tips</a></p></li>');
            document.write('<li><p><a href="/wcm.nsf/content/low cost" alt="Low cost tips" class="a3">Low cost tips</a></p></li>');
            document.write('<li><p><a href="/wcm.nsf/content/summer" alt="Summer tips" class="a3">Summer tips</a></p></li>');
            document.write('<li><p><a href="/wcm.nsf/content/fall" alt="Fall tips" class="a3">Fall tips</a></p></li>');
            document.write('<li><p><a href="/wcm.nsf/content/winter" alt="Winter tips" class="a3">Winter tips</a></p></li>');
            document.write('<li><p><a href="/wcm.nsf/content/cfls" alt="Compact Fluorescent Lights" class="a3">Compact Fluorescent Lights</a></p></li>');
            document.write('<li><p><a href="/wcm.nsf/content/energy myths" alt="Energy myths" class="a3">Energy myths</a></p></li>');
          document.write('</ul>');
        document.write('</li>');
        document.write('<li><p>Contact</p>');
          document.write('<ul>');
            document.write('<li><p><a href="/wcm.nsf/content/speakers bureau" alt="Schedule a speaker" class="a3">Schedule a speaker</a></p></li>');
            document.write('<li><p><a href="http://westarenergyblog.com/?cat=3" target="_blank" alt="E-newsletter" class="a3">E-newsletter</a></p></li>');
            document.write('<li><p><a href="/wcm.nsf/content/efficiencyworks%20contacts" alt="EfficiencyWorks team" class="a3">EfficiencyWorks team</a></p></li>');				
          document.write('</ul>');
        document.write('</li>');
        document.write('<li><p>News</p>');
          document.write('<ul>');
        	document.write('<li><p><a href="/wcm.nsf/content/smartstar" alt="SmartStar Lawrence" class="a3">SmartStar Lawrence</a></p></li>');
          document.write('</ul>');
        document.write('</li>');
    document.write('</ul>');
  break;	  	  
	  
  case "Tomorrows Energy":
  	document.write('<ul id="Tomorrows Energy" class="treeview">');
  	  	document.write('<li><p>Generation</p>');
      		document.write('<ul>');
	      		document.write('<li><p><a href="/wcm.nsf/content/generation" class="a3" target="" alt="Generating facilities">Generating facilities</a></p></li>');  
		  		document.write('<li><p><a href="/wcm.nsf/content/renewable" class="a3" target="" alt="Wind energy">Wind energy</a></p></li>');  
		  		document.write('<li><p><a href="/wcm.nsf/content/rolling meadows" class="a3" target="" alt="Landfill gas energy">Landfill gas energy</a></p></li>');  
	  		document.write('</ul>');
	  	document.write('</li>');
		document.write('<li><p>Trans/Environ</p>');
			document.write('<ul>');
				document.write('<li><p><a href="/wcm.nsf/content/transmission" class="a3" target="" alt="Transmission overview">Transmission overview</a></p></li>');  
		  		document.write('<li><p><a href="/wcm.nsf/content/environment" class="a3" target="" alt="Environment overview">Environment overview</a></p></li>');  
			document.write('</ul>');
	  	document.write('</li>');
		document.write('<li><p>SmartStar</p>');
	      	document.write('<ul>');
				document.write('<li><p><a href="/wcm.nsf/content/smartstar" class="a3" target="" alt="SmartStar Lawrence">SmartStar Lawrence</a></p></li>');  
		  		document.write('<li><p><a href="/wcm.nsf/content/smartstar faq" class="a3" target="" alt="SmartStar FAQ\'s">SmartStar FAQ\'s</a></p></li>');  
			document.write('</ul>');
	  	document.write('</li>');
		document.write('<li><p>Electric Vehicles</p>');
    	  	document.write('<ul>');
				document.write('<li><p><a href="/wcm.nsf/content/ev" class="a3" target="" alt="EV overview">EV overview</a></p></li>');  
		  		document.write('<li><p><a href="/wcm.nsf/content/ev about" class="a3" target="" alt="EV basics">EV basics</a></p></li>');  
		  		document.write('<li><p><a href="/wcm.nsf/content/ev faq" class="a3" target="" alt="EV FAQ\'s">EV FAQ\'s</a></p></li>');  
		  		document.write('<li><p><a href="/wcm.nsf/content/ev ready" class="a3" target="" alt="EV ready">EV ready</a></p></li>');  
			document.write('</ul>');
	  	document.write('</li>');
		document.write('<li><p>Resources</p>');
    	  	document.write('<ul>');
				document.write('<li><p><a href="/wcm.nsf/content/cep" class="a3" target="" alt="Comprehensive Energy Plan">Comprehensive Energy Plan</a></p></li>');  
		  		document.write('<li><p><a href="http://prairiewindtransmission.com/" class="a3" target="_blank" alt="Prairie Wind Transmission">Prairie Wind Transmission</a></p></li>');  
		  		document.write('<li><p><a href="/wcm.nsf/content/rfp" class="a3" target="" alt="Request For Proposals">Request For Proposals</a></p></li>');  
			document.write('</ul>');
	  	document.write('</li>');	
	document.write('</ul>');	  
  break;
  case "About Us":
    document.write('<ul id="About Us" class="treeview">');
  	    document.write('<li><p>Company Profile</p>');      
          document.write('<ul rel="open">');
	      	document.write('<li><p><a href="/wcm.nsf/content/company profile" alt="General Information" class="a3">General Information</a></p></li>');
            document.write('<li><p><a href="/wcm.nsf/content/generation" alt="Generating facilities" class="a3">Generating facilities</a></p></li>');
            document.write('<li><p><a href="/wcm.nsf/content/company history" alt="Company History" class="a3">Company History</a></p></li>');
            document.write('<li><p><a href="/wcm.nsf/content/mission" alt="Mission Statement" class="a3">Mission Statement</a></p></li>');
            document.write('<li><p><a href="/wcm.nsf/content/economic development" alt="Economic Development" class="a3">Economic Development</a></p></li>');	
          document.write('</ul>');
        document.write('</li>');
        document.write('<li><p>Leadership Team</p>');
          document.write('<ul>');
            document.write('<li><p><a href="/wcm.nsf/content/corporate governance" alt="Business Practices" class="a3">Business Practices</a></p></li>');
            document.write('<li><p><a href="/wcm.nsf/content/officers" alt="Officer Team" class="a3">Officer Team</a></p></li>');
            document.write('<li><p><a href="/wcm.nsf/content/board" alt="Board of Directors" class="a3">Board of Directors</a></p></li>');
          document.write('</ul>');
        document.write('</li>');
        document.write('<li><p>Community Services</p>');
          document.write('<ul>');
            document.write('<li><p><a href="/wcm.nsf/content/community partners" alt="Community Partners" class="a3">Community Partners</a></p></li>');
            document.write('<li><p><a href="/wcm.nsf/content/foundation" alt="Foundation" class="a3">Foundation</a></p></li>');
            document.write('<li><p><a href="/wcm.nsf/content/matching gift" alt="Matching Gift" class="a3">Matching Gift</a></p></li>');
            document.write('<li><p><a href="/wcm.nsf/content/project deserve" alt="Project DESERVE" class="a3">Project DESERVE</a></p></li>');
            document.write('<li><p><a href="/wcm.nsf/content/retirees club" alt="Retirees Club" class="a3">Retirees Club</a></p></li>');
            document.write('<li><p><a href="/wcm.nsf/content/powerpedia" alt="Powerpedia" class="a3">Powerpedia</a></p></li>');
          document.write('</ul>');
        document.write('</li>');
        document.write('<li><p>Green Team</p>');
          document.write('<ul>');
            document.write('<li><p><a href="/wcm.nsf/content/green team" alt="About Green Team" class="a3">About Green Team</a></p></li>');
            document.write('<li><p><a href="/wcm.nsf/content/green team completed" alt="Completed Projects" class="a3">Completed Projects</a></p></li>');
            document.write('<li><p><a href="/wcm.nsf/content/falcons" alt="Peregrine Falcons" class="a3">Peregrine Falcons</a></p></li>');				
            document.write('<li><p><a href="/wcm.nsf/content/jec history" alt="JEC Wildlife Area" class="a3">JEC Wildlife Area</a></p></li>');
          document.write('</ul>');
        document.write('</li>');
        document.write('<li><p>Doing Business With Us</p>');
          document.write('<ul>');
            document.write('<li><p><a href="/wcm.nsf/content/new construction" alt="Builders/Electricians" class="a3">Builders/Electricians</a></p></li>');
            document.write('<li><p><a href="/wcm.nsf/content/power supply services" alt="Power Supply Services" class="a3">Power Supply Services</a></p></li>');
            document.write('<li><p><a href="/wcm.nsf/content/transmission services" alt="Transmission Services" class="a3">Transmission Services</a></p></li>');
            document.write('<li><p><a href="/wcm.nsf/content/power marketing services" alt="Power Marketing Services" class="a3">Power Marketing Services</a></p></li>');
            document.write('<li><p><a href="/wcm.nsf/content/power marketing contacts" alt="Power Marketing Contacts" class="a3">Power Marketing Contacts</a></p></li>');
            document.write('<li><p><a href="/wcm.nsf/content/supplier registration" alt="Supplier Registration" class="a3">Supplier Registration</a></p></li>');
            document.write('<li><p><a href="/wcm.nsf/content/contract management" alt="Proj Mgmt for Contractors" class="a3">Proj Mgmt for Contractors</a></p></li>');
            document.write('<li><p><a href="/wcm.nsf/content/customer generators" alt="Customer-generators" class="a3">Customer-generators</a></p></li>');
          document.write('</ul>');
        document.write('</li>');
        document.write('<li><p>Regulatory</p>');
          document.write('<ul>');
            document.write('<li><p><a href="/wcm.nsf/content/active dockets" alt="Active dockets" class="a3">Active dockets</a></p></li>');
            document.write('<li><p><a href="/wcm.nsf/content/ferc" alt="FERC" class="a3">FERC</a></p></li>');
            document.write('<li><p><a href="/wcm.nsf/content/kcc" alt="KCC" class="a3">KCC</a></p></li>');
            document.write('<li><p><a href="/wcm.nsf/content/contractor information" alt="Contractor Sign-in" class="a3">Contractor Sign-in</a></p></li>');
          document.write('</ul>');
        document.write('</li>');
        
    document.write('</ul>');
  break;	  	  

  case "BOC":
  	document.write('<ul id="BOC" class="treeview">');
  	  	document.write('<li><p>Building Operator Certification</p>');
      		document.write('<ul rel="open">');
	      		document.write('<li><p><a href="/wcm.nsf/content/boc details" class="a3" target="" alt="BOC Details">BOC Details</a></p></li>');  
		  		document.write('<li><p><a href="/wcm.nsf/content/boc level 1" class="a3" target="" alt="BOC Level 1">BOC Level 1</a></p></li>');  
		  		document.write('<li><p><a href="/wcm.nsf/content/boc graduates" class="a3" target="" alt="BOC Graduates">BOC Graduates</a></p></li>');  
	  		document.write('</ul>');
	  	document.write('</li>');
	document.write('</ul>');	  
  break;
  	    
  case "SmartBuilt":
    document.write('<ul id="SmartBuilt" class="treeview">');
  	    document.write('<li><p>SmartBuilt Program</p>');      
          document.write('<ul rel="open">');
	      	document.write('<li><p><a href="/wcm.nsf/content/smartbuilt" alt="SmartBuilt Home" class="a3">SmartBuilt Home</a></p></li>');
            document.write('<li><p><a href="/wcm.nsf/content/smartbuilt smart" alt="SmartBuilt Program" class="a3">SmartBuilt Program</a></p></li>');
            document.write('<li><p><a href="/wcm.nsf/content/smartbuilt smart plus" alt="SmartBuilt Plus Program" class="a3">SmartBuilt Plus Program</a></p></li>');
          document.write('</ul>');
        document.write('</li>');
        document.write('<li><p>Andover</p>');
          document.write('<ul>');
            document.write('<li><p><a href="/wcm.nsf/content/smartbuilt prairie creek" alt="Prairie Creek" class="a3">Prairie Creek</a></p></li>');
          document.write('</ul>');
        document.write('</li>');
        document.write('<li><p>Derby</p>');
          document.write('<ul>');
            document.write('<li><p><a href="/wcm.nsf/content/smartbuilt the coves at stone creek" alt="The Coves at Stone Creek" class="a3">The Coves at Stone Creek</a></p></li>');
            document.write('<li><p><a href="/wcm.nsf/content/smartbuilt the reserve at hamilton estates" alt="The Reserve at Hamilton Estates" class="a3">The Reserve at Hamilton Estates</a></p></li>');
          document.write('</ul>');
        document.write('</li>');
        document.write('<li><p>Haysville</p>');
          document.write('<ul>');
            document.write('<li><p><a href="/wcm.nsf/content/smartbuilt marchant grove" alt="Marchant Grove" class="a3">Marchant Grove</a></p></li>');
          document.write('</ul>');
        document.write('</li>');
        document.write('<li><p>Hutchinson</p>');
          document.write('<ul>');
            document.write('<li><p><a href="/wcm.nsf/content/smartbuilt hills on halstead" alt="Hills on Halstead" class="a3">Hills on Halstead</a></p></li>');
          document.write('</ul>');
        document.write('</li>');
        document.write('<li><p>Manhattan</p>');
          document.write('<ul>');
            document.write('<li><p><a href="/wcm.nsf/content/smartbuilt grainfield village" alt="Grainfield Village" class="a3">Grainfield Village</a></p></li>');
            document.write('<li><p><a href="/wcm.nsf/content/smartbuilt lee mill village" alt="Lee Mill Village" class="a3">Lee Mill Village</a></p></li>');
            document.write('<li><p><a href="/wcm.nsf/content/smartbuilt stone pointe townhomes" alt="Stone Pointe Townhomes" class="a3">Stone Pointe Townhomes</a></p></li>');
            document.write('<li><p><a href="/wcm.nsf/content/smartbuilt wildcat woods" alt="Wildcat Woods" class="a3">Wildcat Woods</a></p></li>');
          document.write('</ul>');
        document.write('</li>');
        document.write('<li><p>Newton</p>');
          document.write('<ul>');
            document.write('<li><p><a href="/wcm.nsf/content/smartbuilt harder family construction" alt="Harder Family Constuction" class="a3">Harder Family Constuction</a></p></li>');
            document.write('<li><p><a href="/wcm.nsf/content/smartbuilt spring lake" alt="Spring Lake" class="a3">Spring Lake</a></p></li>');
          document.write('</ul>');
        document.write('</li>');
        document.write('<li><p>St. George</p>');
          document.write('<ul>');
            document.write('<li><p><a href="/wcm.nsf/content/smartbuilt turkey ridge" alt="Turkey Ridge" class="a3">Turkey Ridge</a></p></li>');
          document.write('</ul>');
        document.write('</li>');
        document.write('<li><p>Topeka</p>');
          document.write('<ul>');
            document.write('<li><p><a href="/wcm.nsf/content/smartbuilt laurens bay" alt="Laurens Bay" class="a3">Laurens Bay</a></p></li>');
            document.write('<li><p><a href="/wcm.nsf/content/smartbuilt misty harbor" alt="Misty Harbor" class="a3">Misty Harbor</a></p></li>');
            document.write('<li><p><a href="/wcm.nsf/content/smartbuilt silo townhomes" alt="Silo Towhhomes" class="a3">Silo Towhhomes</a></p></li>');
            document.write('<li><p><a href="/wcm.nsf/content/smartbuilt timber ridge" alt="Timber Ridge" class="a3">Timber Ridge</a></p></li>');
          document.write('</ul>');
        document.write('</li>');
        document.write('<li><p>Wichita</p>');
          document.write('<ul>');
            document.write('<li><p><a href="/wcm.nsf/content/smartbuilt belle chase" alt="Belle Chase" class="a3">Belle Chase</a></p></li>');
            document.write('<li><p><a href="/wcm.nsf/content/smartbuilt clear creek" alt="Clear Creek" class="a3">Clear Creek</a></p></li>');
          document.write('</ul>');
        document.write('</li>');        
    document.write('</ul>');
  break;	  	  
  
  
  
      
  case "Builders":
  	document.write('<ul id="Builders" class="treeview">');
  	  	document.write('<li><p>Builder Programs</p>');
      		document.write('<ul rel="open">');
	      		document.write('<li><p><a href="/wcm.nsf/content/smart" class="a3" target="" alt="Efficiency Smart">Efficiency Smart</a></p></li>');  
		  		document.write('<li><p><a href="/wcm.nsf/content/smart plus" class="a3" target="" alt="Smart Plus Builder">Smart Plus Builder</a></p></li>');  
	  		document.write('</ul>');
	  	document.write('</li>');
		document.write('<li><p>Derby</p>');
			document.write('<ul>');
				document.write('<li><p><a href="/wcm.nsf/content/oxford senior properties" class="a3" target="" alt="Oxford Senior Properties">Oxford Senior Properties</a></p></li>');  	
			document.write('</ul>');
	  	document.write('</li>');
	  	document.write('<li><p>Haysville</p>');
			document.write('<ul>');
				document.write('<li><p><a href="/wcm.nsf/content/hampton" class="a3" target="" alt="Hampton and Sons Const.">Hampton and Sons Const.</a></p></li>');  	
			document.write('</ul>');
	  	document.write('</li>');
	  	document.write('<li><p>Hutchinson</p>');
			document.write('<ul>');
				document.write('<li><p><a href="/wcm.nsf/content/dudley" class="a3" target="" alt="Dudley Const. Company">Dudley Const. Company</a></p></li>');  	
			document.write('</ul>');
	  	document.write('</li>');
		document.write('<li><p>Manhattan</p>');
	      	document.write('<ul>');
				document.write('<li><p><a href="/wcm.nsf/content/for sale by developer" class="a3" target="" alt="For Sale by Developer">For Sale by Developer</a></p></li>');  
		  		document.write('<li><p><a href="/wcm.nsf/content/mod 3" class="a3" target="" alt="Mod 3, LLC">Mod 3, LLC</a></p></li>');  
		  		document.write('<li><p><a href="/wcm.nsf/content/robinson" class="a3" target="" alt="Robinson Building Corp.">Robinson Building Corp.</a></p></li>');  
		  		document.write('<li><p><a href="/wcm.nsf/content/rwa" class="a3" target="" alt="RWA">RWA</a></p></li>');  
		  		document.write('<li><p><a href="/wcm.nsf/content/shultz" class="a3" target="" alt="Schultz Construction">Schultz Construction</a></p></li>');  
			document.write('</ul>');
	  	document.write('</li>');
	  	document.write('<li><p>Newton</p>');
			document.write('<ul>');
				document.write('<li><p><a href="/wcm.nsf/content/harder" class="a3" target="" alt="Harder Construction">Harder Construction</a></p></li>');  	
			document.write('</ul>');
	  	document.write('</li>');
	  	document.write('<li><p>St. George</p>');
			document.write('<ul>');
				document.write('<li><p><a href="/wcm.nsf/content/peridian" class="a3" target="" alt="Peridian Group">Peridian Group</a></p></li>');  	
			document.write('</ul>');
	  	document.write('</li>');
	  	document.write('<li><p>Topeka</p>');
			document.write('<ul>');
				document.write('<li><p><a href="/wcm.nsf/content/dultmeier" class="a3" target="" alt="Dultmeier Homes Inc.">Dultmeier Homes Inc.</a></p></li>');  	
			document.write('</ul>');
	  	document.write('</li>');
		document.write('<li><p>Wichita</p>');
			document.write('<ul>');
				document.write('<li><p><a href="/wcm.nsf/content/klausmeyer" class="a3" target="" alt="Don Klausmeyer Construction">Don Klausmeyer Construction</a></p></li>');  	
			document.write('</ul>');
	  	document.write('</li>');
	document.write('</ul>');	  
  break;	  
	  
  case "C and I":
  	document.write('<ul id="C and I" class="treeview">');
  	  	document.write('<li><p>C and I Services</p>');
      		document.write('<ul rel="open">');
	      		document.write('<li><p><a href="/wcm.nsf/content/c and i" class="a3" target="" alt="C and I Contacts">C and I Contacts</a></p></li>');  
		  		document.write('<li><p><a href="/wcm.nsf/content/c and i billing" class="a3" target="" alt="Billing">Billing</a></p></li>');  
		  		document.write('<li><p><a href="/wcm.nsf/content/c and i conservation" class="a3" target="" alt="Conservation">Conservation</a></p></li>');  
		  		document.write('<li><p><a href="/wcm.nsf/content/c and i power factor" class="a3" target="" alt="Power Factor">Power Factor</a></p></li>');  
		  		document.write('<li><p><a href="/wcm.nsf/content/c and i sales tax" class="a3" target="" alt="Sales Tax">Sales Tax</a></p></li>');  
	  		document.write('</ul>');
	  	document.write('</li>');
	document.write('</ul>');	  
  break;			

  case "Calculators":
  	document.write('<ul id="Calculators" class="treeview">');
  	  	document.write('<li><p>Home Calculators</p>');
      		document.write('<ul rel="open">');
	      		document.write('<li><p><a href="http://c03.apogee.net/calcs/rescalc5x/default.aspx?hostheader=westarenergy&utilityid=westarenergy" class="a3" target="_blank" alt="Home Energy">Home Energy</a></p></li>');  
		  		document.write('<li><p><a href="http://c03.apogee.net/calcs/appcalc/default.aspx?utilityid=westarenergy" class="a3" target="_blank" alt="Appliance">Appliance</a></p></li>');  
		  		document.write('<li><p><a href="http://c03.apogee.net/contentplayer/?utilityid=westarenergy&coursetype=misc&id=17876" class="a3" target="_blank" alt="Lighting">Lighting</a></p></li>');  
		  	document.write('</ul>');
	  	document.write('</li>');
	  	document.write('<li><p>Business Calculator</p>');
      		document.write('<ul>');
	      		document.write('<li><p><a href="http://c04.apogee.net/calcs/comcalc/?utilid=westar1" class="a3" target="_blank" alt="Commercial Calculator">Commercial Calculator</a></p></li>');  
	  		document.write('</ul>');
	  	document.write('</li>');
	document.write('</ul>');	  
  break;
      
  case "Calculators Business":
  	document.write('<ul id="Calculators Business" class="treeview">');
  	  	document.write('<li><p>Business Calculator</p>');
      		document.write('<ul rel="open">');
	      		document.write('<li><p><a href="http://c04.apogee.net/calcs/comcalc/?utilid=westar1" class="a3" target="_blank" alt="Commercial Calculator">Commercial Calculator</a></p></li>');  
	  		document.write('</ul>');
	  	document.write('</li>');
	  	document.write('<li><p>Home Calculators</p>');
      		document.write('<ul>');
	      		document.write('<li><p><a href="http://c03.apogee.net/calcs/rescalc5x/default.aspx?hostheader=westarenergy&utilityid=westarenergy" class="a3" target="_blank" alt="Home Energy">Home Energy</a></p></li>');  
		  		document.write('<li><p><a href="http://c03.apogee.net/calcs/appcalc/default.aspx?utilityid=westarenergy" class="a3" target="_blank" alt="Appliance">Appliance</a></p></li>');  
		  		document.write('<li><p><a href="http://c03.apogee.net/contentplayer/?utilityid=westarenergy&coursetype=misc&id=17876" class="a3" target="_blank" alt="Lighting">Lighting</a></p></li>');  
		  	document.write('</ul>');
	  	document.write('</li>');
	document.write('</ul>');	  
  break;

  case "Careers":
  	document.write('<ul id="Careers" class="treeview">');
  	  	document.write('<li><p>Apply</p>');
      		document.write('<ul rel="open">');
	      		document.write('<li><p><a href="#" onClick="window.open(\'https://wrnet2.wr.com/psc/HR8PRODSS/EMPLOYEE/HRMS/c/HRS_HRAM.HRS_CE.GBL?NAVSTACK=Clear&SiteId=100\' ,\'popup\',\'top=0,left=200,toolbar=no,resizable=yes,location=no,directories=no,scrollbars=yes,status=no,menubar=no,copyhistory=no,width=700,height=700\');" class="a3" target="" alt="View jobs/Apply">View jobs/Apply</a></p></li>');  
	      		document.write('<li><p><a href="https://wrnet2.wr.com/psp/HR8PRODSS1/EMPLOYEE/HRMS/c/HRS_HRAM_EMP.HRS_CE.GBL?&siteid=200&FolderPath=PORTAL_ROOT_OBJECT.CO_EMPLOYEE_SELF_SERVICE.WR_JOB_OPPORTUNITIES&IsFolder=false&IgnoreParamTempl=FolderPath%2cIsFolder" class="a3" target="_blank" alt="Westar Employees - Click Here to  Apply">Westar Employees - Click Here to  Apply</a></p></li>');  
		  		document.write('<li><p><a href="/wcm.nsf/content/how to apply" class="a3" target="" alt="How to Apply">How to Apply</a></p></li>');  
		  		document.write('<li><p><a href="/wcm.nsf/content/employee testing" class="a3" target="" alt="Employee Testing">Employee Testing</a></p></li>');  
	  		document.write('</ul>');
	  	document.write('</li>');
	  	document.write('<li><p>Career Resources</p>');
      		document.write('<ul>');
	      		document.write('<li><p><a href="/wcm.nsf/content/our communities" class="a3" target="" alt="Our Communities">Our Communities</a></p></li>');  
	      		document.write('<li><p><a href="/wcm.nsf/content/recruiting videos" class="a3" target="" alt="Recruiting Videos">Recruiting Videos</a></p></li>');  
	      		document.write('<li><p><a href="/wcm.nsf/content/shared success" class="a3" target="" alt="Shared Success">Shared Success</a></p></li>');  
	      		document.write('<li><p><a href="/wcm.nsf/content/diversity" class="a3" target="" alt="Diversity">Diversity</a></p></li>');  
		 	document.write('</ul>');
	  	document.write('</li>');
	  	
	document.write('</ul>');	  
  break;

  case "Community Services":
  	document.write('<ul id="Community Services" class="treeview">');
  	  	document.write('<li><p>Community Services</p>');
      		document.write('<ul rel="open">');
	      		document.write('<li><p><a href="/wcm.nsf/content/community partners" class="a3" target="" alt="Community Partners">Community Partners</a></p></li>');  
	      		document.write('<li><p><a href="/wcm.nsf/content/foundation" class="a3" target="" alt="Foundation">Foundation</a></p></li>');  
	      		document.write('<li><p><a href="/wcm.nsf/content/matching gift" class="a3" target="" alt="Matching Gift">Matching Gift</a></p></li>');  
	      		document.write('<li><p><a href="/wcm.nsf/content/project deserve" class="a3" target="" alt="Project DESERVE">Project DESERVE</a></p></li>');  
	      		document.write('<li><p><a href="/wcm.nsf/content/retirees club" class="a3" target="" alt="Retirees Club">Retirees Club</a></p></li>');  
	      		document.write('<li><p><a href="/wcm.nsf/content/school connections" class="a3" target="" alt="School Connections">School Connections</a></p></li>');  
	  		document.write('</ul>');
	  	document.write('</li>');	  	
	document.write('</ul>');	  
  break;
      
  case "Contact Us":
  	document.write('<ul id="Contact Us" class="treeview">');
  	  	document.write('<li><p>Contact Us</p>');
      		document.write('<ul rel="open">');
	      		document.write('<li><p><a href="/wcm.nsf/content/contact" class="a3" target="" alt="Customer Service">Customer Service</a></p></li>');  
	      		document.write('<li><p><a href="/wcm.nsf/content/contact departments" class="a3" target="" alt="Individual Departments">Individual Departments</a></p></li>');  
	  		document.write('</ul>');
	  	document.write('</li>');	  	
	document.write('</ul>');	  
  break;
  
  case "Corporate Governance":
  	document.write('<ul id="Corporate Governance" class="treeview">');
  	  	document.write('<li><p>Leadership Team</p>');
      		document.write('<ul rel="open">');
	      		document.write('<li><p><a href="/wcm.nsf/content/officers" class="a3" target="" alt="Officers">Officers</a></p></li>');  
	      		document.write('<li><p><a href="/wcm.nsf/content/board" class="a3" target="" alt="Board of Directors">Board of Directors</a></p></li>');  
	  		document.write('</ul>');
	  	document.write('</li>');	  	
	  	document.write('<li><p>Business Conduct</p>');
      		document.write('<ul>');
	      		document.write('<li><p><a href="/wcm.nsf/resources/CBC/$file/CBC.pdf?openelement" class="a3" target="" alt="Code of Business Conduct">Code of Business Conduct</a></p></li>');  
	      		document.write('<li><p><a href="/wcm.nsf/content/integrity hotline" class="a3" target="" alt="Integrity Hotline">Integrity Hotline</a></p></li>');  
	  		document.write('</ul>');
	  	document.write('</li>');	  	
	  	document.write('<li><p>Charters and By-laws</p>');
      		document.write('<ul>');
	      		document.write('<li><p><a href="/wcm.nsf/content/audit committee" class="a3" target="" alt="Audit Committee Charter">Audit Committee Charter</a></p></li>');  
	      		document.write('<li><p><a href="/wcm.nsf/content/bylaws" class="a3" target="" alt="By-laws">By-laws</a></p></li>');  
	      		document.write('<li><p><a href="/wcm.nsf/content/compensation committee charter" class="a3" target="" alt="Compensation Committee Charter">Compensation Committee Charter</a></p></li>');  
	      		document.write('<li><p><a href="/wcm.nsf/content/guidelines" class="a3" target="" alt="Corporate Governance Guidelines">Corporate Governance Guidelines</a></p></li>');  
	      		document.write('<li><p><a href="/wcm.nsf/content/finance committee charter" class="a3" target="" alt="Finance Committee Charter">Finance Committee Charter</a></p></li>');  
	      		document.write('<li><p><a href="/wcm.nsf/content/nominating committee charter" class="a3" target="" alt="Nominating Committee Charter">Nominating Committee Charter</a></p></li>');  
	      		document.write('<li><p><a href="/wcm.nsf/content/stock ownership" class="a3" target="" alt="Stock ownership requirements">Stock ownership requirements</a></p></li>');  
	  		document.write('</ul>');
	  	document.write('</li>');	  	
	document.write('</ul>');	  
  break;

  case "Business With Us":
  	document.write('<ul id="Business With Us" class="treeview">');
	  	document.write('<li><p>Doing Business With Us</p>');
      		document.write('<ul>');
	      		document.write('<li><p><a href="/wcm.nsf/content/power supply services" class="a3" target="" alt="Power Supply Services">Power Supply Services</a></p></li>');  
	      		document.write('<li><p><a href="/wcm.nsf/content/transmission services" class="a3" target="" alt="Transmission Services">Transmission Services</a></p></li>');  
	      		document.write('<li><p><a href="/wcm.nsf/content/power marketing services" class="a3" target="" alt="Power Marketing Services">Power Marketing Services</a></p></li>');  
	      		document.write('<li><p><a href="/wcm.nsf/content/power marketing contacts" class="a3" target="" alt="Power Marketing Contacts">Power Marketing Contacts</a></p></li>');  
	      		document.write('<li><p><a href="/wcm.nsf/content/supplier registration" class="a3" target="" alt="Supplier Registration">Supplier Registration</a></p></li>');  
	      		document.write('<li><p><a href="/wcm.nsf/content/contract management" class="a3" target="" alt="Proj Mgmt for Contractors">Proj Mgmt for Contractors</a></p></li>');  
	  		document.write('</ul>');
	  	document.write('</li>');	  	
	document.write('</ul>');	  
  break;
        
  case "Environment":
  	document.write('<ul id="Environment" class="treeview">');
  	  	document.write('<li><p>Policies</p>');
      		document.write('<ul rel="open">');
	      		document.write('<li><p><a href="/wcm.nsf/content/climate change policy" class="a3" target="" alt="Climate Change Policy">Climate Change Policy</a></p></li>');  
	      		document.write('<li><p><a href="/wcm.nsf/content/environment policy" class="a3" target="" alt="Environmental Policy">Environmental Policy</a></p></li>');  
	  		document.write('</ul>');
	  	document.write('</li>');
	  	document.write('<li><p>Resources</p>');
      		document.write('<ul>');
	      		document.write('<li><p><a href="/wcm.nsf/content/air quality" class="a3" target="" alt="Air quality">Air quality</a></p></li>');  
	      		document.write('<li><p><a href="/wcm.nsf/content/inventory reporting" class="a3" target="" alt="Inventory reporting">Inventory reporting</a></p></li>');  
	      		document.write('<li><p><a href="/wcm.nsf/content/resource conservation" class="a3" target="" alt="Resource conservation">Resource conservation</a></p></li>');  
	      		document.write('<li><p><a href="/wcm.nsf/content/water quality" class="a3" target="" alt="Water quality">Water quality</a></p></li>');  
	      		document.write('<li><p><a href="/wcm.nsf/content/kdhe ghg report" class="a3" target="" alt="KDHE GHG Report">KDHE GHG Report</a></p></li>');  
	  		document.write('</ul>');
	  	document.write('</li>');	  	
	document.write('</ul>');	  
  break;

  case "Generation":
  	document.write('<ul id="Generation" class="treeview">');
  	  	document.write('<li><p>Coal</p>');
      		document.write('<ul rel="open">');
	      		document.write('<li><p><a href="/wcm.nsf/content/jeffrey" class="a3" target="" alt="Jeffrey">Jeffrey</a></p></li>');  
	      		document.write('<li><p><a href="/wcm.nsf/content/lacygne" class="a3" target="" alt="LaCygne">LaCygne</a></p></li>');  
	      		document.write('<li><p><a href="/wcm.nsf/content/lawrence" class="a3" target="" alt="Lawrence">Lawrence</a></p></li>');  
	      		document.write('<li><p><a href="/wcm.nsf/content/tecumseh" class="a3" target="" alt="Tecumseh">Tecumseh</a></p></li>');  
	  		document.write('</ul>');
	  	document.write('</li>');	  	
		document.write('<li><p>Natural Gas</p>');
      		document.write('<ul>');
	      		document.write('<li><p><a href="/wcm.nsf/content/abilene" class="a3" target="" alt="Abilene">Abilene</a></p></li>');  
	      		document.write('<li><p><a href="/wcm.nsf/content/emporia" class="a3" target="" alt="Emporia">Emporia</a></p></li>');  
	      		document.write('<li><p><a href="/wcm.nsf/content/gordon evans" class="a3" target="" alt="Gordon Evans">Gordon Evans</a></p></li>');  
	      		document.write('<li><p><a href="/wcm.nsf/content/hutchinson" class="a3" target="" alt="Hutchinson">Hutchinson</a></p></li>');  
	      		document.write('<li><p><a href="/wcm.nsf/content/murray gill" class="a3" target="" alt="Murray Gill">Murray Gill</a></p></li>');  
	      		document.write('<li><p><a href="/wcm.nsf/content/neosho" class="a3" target="" alt="Neosho">Neosho</a></p></li>');  
	      		document.write('<li><p><a href="/wcm.nsf/content/spring creek" class="a3" target="" alt="Spring Creek">Spring Creek</a></p></li>');  
	      		document.write('<li><p><a href="/wcm.nsf/content/state line" class="a3" target="" alt="State Line">State Line</a></p></li>');  
	  		document.write('</ul>');
	  	document.write('</li>');	  
	  	document.write('<li><p>Landfill Gas</p>');
      		document.write('<ul>');
	      		document.write('<li><p><a href="/wcm.nsf/content/rolling meadows" class="a3" target="" alt="Rolling Meadows">Rolling Meadows</a></p></li>');  
	  		document.write('</ul>');
	  	document.write('</li>');
	  	document.write('<li><p>Nuclear</p>');
      		document.write('<ul>');
	      		document.write('<li><p><a href="/wcm.nsf/content/wolf creek" class="a3" target="" alt="Wolf Creek">Wolf Creek</a></p></li>');  
	  		document.write('</ul>');
	  	document.write('</li>');	  	
	  	document.write('<li><p>Wind</p>');
      		document.write('<ul>');
	      		document.write('<li><p><a href="/wcm.nsf/content/central plains" class="a3" target="" alt="Central Plains">Central Plains</a></p></li>');  
	      		document.write('<li><p><a href="/wcm.nsf/content/flat ridge" class="a3" target="" alt="Flat Ridge">Flat Ridge</a></p></li>');  
	      		document.write('<li><p><a href="/wcm.nsf/content/ironwood" class="a3" target="" alt="Ironwood">Ironwood</a></p></li>');  
	      		document.write('<li><p><a href="/wcm.nsf/content/meridian way" class="a3" target="" alt="Meridian Way">Meridian Way</a></p></li>');  
	      		document.write('<li><p><a href="/wcm.nsf/content/post rock" class="a3" target="" alt="Post Rock">Post Rock</a></p></li>');  
	  		document.write('</ul>');
	  	document.write('</li>');	  	
	document.write('</ul>');	  
  break;

  case "Green Team":
  	document.write('<ul id="Green Team" class="treeview">');
  	  	document.write('<li><p>Events</p>');
      		document.write('<ul rel="open">');
	      		document.write('<li><p><a href="/wcm.nsf/content/green team" alt="Green Team Home" class="a3">Green Team Home</a></p></li>');
            	document.write('<li><p><a href="/wcm.nsf/content/volunteer" class="a3" target="" alt="Upcoming Events">Upcoming Events</a></p></li>');  
	      		document.write('<li><p><a href="/wcm.nsf/content/green team completed" class="a3" target="" alt="Completed Events">Completed Events</a></p></li>');  
	      		document.write('<li><p><a href="/wcm.nsf/content/youth hunts" class="a3" target="" alt="Youth Hunts">Youth Hunts</a></p></li>');  
	  		document.write('</ul>');
	  	document.write('</li>');
	  	document.write('<li><p>Peregrine Falcons</p>');
      		document.write('<ul>');
	      		document.write('<li><p><a href="/wcm.nsf/content/falcons" class="a3" target="" alt="Falcon cam/updates">Falcon cam/updates</a></p></li>');  
	      		document.write('<li><p><a href="/wcm.nsf/content/falcon history" class="a3" target="" alt="mom and dad falcons">mom and dad falcons</a></p></li>');  
	      		document.write('<li><p><a href="/wcm.nsf/content/2007 falcon" class="a3" target="" alt="2007 young">2007 young</a></p></li>');  
	      		document.write('<li><p><a href="/wcm.nsf/content/2008 falcon" class="a3" target="" alt="2008 young">2008 young</a></p></li>');  
	      		document.write('<li><p><a href="/wcm.nsf/content/2009 falcon" class="a3" target="" alt="2009 young">2009 young</a></p></li>');  
	  			document.write('<li><p><a href="/wcm.nsf/content/2010 falcon" class="a3" target="" alt="2010 young">2010 young</a></p></li>');  
	  		document.write('</ul>');
	  	document.write('</li>');	  	
	document.write('</ul>');	  
  break;

  case "Jeffrey Energy Center Wildlife":
  	document.write('<ul id="Jeffrey Energy Center Wildlife" class="treeview">');
	  	document.write('<li><p>Wildlife Area</p>');
      		document.write('<ul rel="open">');
	      		document.write('<li><p><a href="/wcm.nsf/content/jec 1" class="a3" target="" alt="Area 1">Area 1</a></p></li>');  
	      		document.write('<li><p><a href="/wcm.nsf/content/jec 2" class="a3" target="" alt="Area 2">Area 2</a></p></li>');  
	      		document.write('<li><p><a href="/wcm.nsf/content/jec 3" class="a3" target="" alt="Area 3">Area 3</a></p></li>');  
	      		document.write('<li><p><a href="/wcm.nsf/content/jec 4" class="a3" target="" alt="Area 4">Area 4</a></p></li>');  
	      		document.write('<li><p><a href="/wcm.nsf/content/jec fish" class="a3" target="" alt="Fishing">Fishing</a></p></li>');  
	      		document.write('<li><p><a href="/wcm.nsf/content/jec history" class="a3" target="" alt="History">History</a></p></li>');  
	  		document.write('</ul>');
	  	document.write('</li>');	  	
	document.write('</ul>');	  
  break;
  
  case "News":
      document.write('<ul id="News" class="treeview">');
      	document.write('<li><p>Media</p>');
      		document.write('<ul rel="open">');
          		document.write('<li><p><a href="/corp_com/corpcomm.nsf/newsreleaselatestweb" class="a3" target="" alt="News releases">News releases</a></p></li>');  
	      		document.write('<li><p><a href="/wcm.nsf/content/media representatives" class="a3" target="" alt="Media representatives">Media representatives</a></p></li>');  
	      		document.write('<li><p><a href="/wcm.nsf/content/social media" class="a3" target="" alt="Social Media">Social Media</a></p></li>');  
	      		document.write('<li><p><a href="/wcm.nsf/content/advertise" class="a3" target="" alt="Why we \'Advertise\'">Why we \'Advertise\'</a></p></li>');  
	  		document.write('</ul>');
	  	document.write('</li>');	  	
		document.write('<li><p>Resources</p>');
      		document.write('<ul>');
	      		document.write('<li><p><a href="/wcm.nsf/content/cep" class="a3" target="" alt="Comprehensive Energy Plan">Comprehensive Energy Plan</a></p></li>');  
	  		document.write('</ul>');
	  	document.write('</li>');	  
	document.write('</ul>');	  
  break;

  case "Powerpedia":
      document.write('<ul id="Powerpedia" class="treeview">');
      	document.write('<li><p>Powerpedia</p>');
      		document.write('<ul rel="open">');
          		document.write('<li><p><a href="/wcm.nsf/content/powerpedia" class="a3" target="" alt="Powerpedia Home">Powerpedia Home</a></p></li>');  
	      		document.write('<li><p><a href="/wcm.nsf/content/powerpedia ee lessons" class="a3" target="" alt="Energy Efficiency Lessons">Energy Efficiency Lessons</a></p></li>');  
	      		document.write('<li><p><a href="/wcm.nsf/content/powerpedia safety lessons" class="a3" target="" alt="Safety Lessons">Safety Lessons</a></p></li>');  
	      	document.write('</ul>');
	  	document.write('</li>');	  	
	document.write('</ul>');	  
  break;
  
  case "Rates":
  	document.write('<ul id="Rates" class="treeview">');
  	  	document.write('<li><p>Rates</p>');
      		document.write('<ul rel="open">');
	      		document.write('<li><p><a href="/wcm.nsf/content/rates" class="a3" target="" alt="Rates Home">Rates Home</a></p></li>');  
	      		document.write('<li><p><a href="/wcm.nsf/content/2011ratereview" class="a3" target="" alt="2011 Rate Review">2011 Rate Review</a></p></li>');  
	  		document.write('</ul>');
	  	document.write('</li>');
	  	document.write('<li><p>Northern Region</p>');
      		document.write('<ul>');
	      		document.write('<li><p><a href="/wcm.nsf/tariffnorth?openview" class="a3" target="" alt="Tariffs">Tariffs</a></p></li>');  
	      		document.write('<li><p><a href="/wcm.nsf/content/fuel charge" class="a3" target="" alt="Fuel Charge">Fuel Charge</a></p></li>');  
	      		document.write('<li><p><a href="/wcm.nsf/content/communities north" class="a3" target="" alt="Communities">Communities</a></p></li>');  
	  		document.write('</ul>');
	  	document.write('</li>');
	  	document.write('<li><p>Southern Region</p>');
      		document.write('<ul>');
	      		document.write('<li><p><a href="/wcm.nsf/tariffsouth?openview" class="a3" target="" alt="Tariffs">Tariffs</a></p></li>');  
	      		document.write('<li><p><a href="/wcm.nsf/content/fuel charge" class="a3" target="" alt="Fuel Charge">Fuel Charge</a></p></li>');  
	      		document.write('<li><p><a href="/wcm.nsf/content/communities south" class="a3" target="" alt="Communities">Communities</a></p></li>');  
	  		document.write('</ul>');
	  	document.write('</li>');	  	
	  	document.write('<li><p>Regulatory</p>');
      		document.write('<ul>');
	      		document.write('<li><p><a href="/wcm.nsf/content/active dockets" class="a3" target="" alt="Active dockets">Active dockets</a></p></li>');  
	      		document.write('<li><p><a href="/wcm.nsf/content/ferc" class="a3" target="" alt="FERC">FERC</a></p></li>');  
	      		document.write('<li><p><a href="/wcm.nsf/content/kcc" class="a3" target="" alt="KCC">KCC</a></p></li>');  
	  		document.write('</ul>');
	  	document.write('</li>');	  	
	document.write('</ul>');	  
  break;
  
  case "Regulatory":
  	document.write('<ul id="Regulatory" class="treeview">');
  	  	document.write('<li><p>Regulatory</p>');
      		document.write('<ul rel="open">');
	      		document.write('<li><p><a href="/wcm.nsf/content/active dockets" class="a3" target="" alt="Active dockets">Active dockets</a></p></li>');  
	      		document.write('<li><p><a href="/wcm.nsf/content/ferc" class="a3" target="" alt="FERC">FERC</a></p></li>');  
	      		document.write('<li><p><a href="/wcm.nsf/content/kcc" class="a3" target="" alt="KCC">KCC</a></p></li>');  
	  		document.write('</ul>');
	  	document.write('</li>');
	document.write('</ul>');	  
  break;

  case "Safety":
  	document.write('<ul id="Safety" class="treeview">');
  	  	document.write('<li><p>Electric Safety</p>');
      		document.write('<ul rel="open">');
	      		document.write('<li><p><a href="/wcm.nsf/content/safety" class="a3" target="" alt="Safety tips">Safety tips</a></p></li>');  
	      		document.write('<li><p><a href="/wcm.nsf/content/energy theft" class="a3" target="" alt="Energy/Copper wire theft">Energy/Copper wire theft</a></p></li>');  
	      		document.write('<li><p><a href="/wcm.nsf/content/contractor safety" class="a3" target="" alt="Contractor safety">Contractor safety</a></p></li>');  
	      		document.write('<li><p><a href="/wcm.nsf/content/inside safety" class="a3" target="" alt="Inside safety">Inside safety</a></p></li>');  
	      		document.write('<li><p><a href="/wcm.nsf/content/outside safety" class="a3" target="" alt="Outside safety">Outside safety</a></p></li>');  
	      		document.write('<li><p><a href="/wcm.nsf/content/hot weather safety" class="a3" target="" alt="Hot weather safety">Hot weather safety</a></p></li>');  
	      		document.write('<li><p><a href="/wcm.nsf/content/electric shock" class="a3" target="" alt="Electric shock safety">Electric shock safety</a></p></li>');  
	      		document.write('<li><p><a href="/wcm.nsf/content/flood safety" class="a3" target="" alt="Flood safety">Flood safety</a></p></li>');  
	      		document.write('<li><p><a href="/wcm.nsf/content/holiday safety" class="a3" target="" alt="Holiday safety">Holiday safety</a></p></li>');  
	      		document.write('<li><p><a href="/wcm.nsf/content/generator safety" class="a3" target="" alt="Generator safety">Generator safety</a></p></li>');  
	      		document.write('<li><p><a href="/wcm.nsf/content/westar safety" class="a3" target="" alt="Westar\'s safety practices">Westar\'s safety practices</a></p></li>');  
	  		document.write('</ul>');
	  	document.write('</li>');	  	
	document.write('</ul>');	  
  break;

  case "Tips Home":
  	document.write('<ul id="Tips Home" class="treeview">');
  	  	document.write('<li><p>Energy Saving Tips</p>');
      		document.write('<ul rel="open">');
	      		document.write('<li><p><a href="/wcm.nsf/content/home tips" class="a3" target="" alt="Energy efficiency videos">Energy efficiency videos</a></p></li>');  
	      		document.write('<li><p><a href="/wcm.nsf/content/no cost" class="a3" target="" alt="No cost">No cost</a></p></li>');  
	      		document.write('<li><p><a href="/wcm.nsf/content/low cost" class="a3" target="" alt="Low cost">Low cost</a></p></li>');  
	      		document.write('<li><p><a href="/wcm.nsf/content/summer" class="a3" target="" alt="Summer tips">Summer tips</a></p></li>');  
	      		document.write('<li><p><a href="/wcm.nsf/content/fall" class="a3" target="" alt="Fall tips">Fall tips</a></p></li>');  
	      		document.write('<li><p><a href="/wcm.nsf/content/winter" class="a3" target="" alt="Winter tips">Winter tips</a></p></li>');  
	      		document.write('<li><p><a href="/wcm.nsf/content/home energy audit" class="a3" target="" alt="Home energy audit">Home energy audit</a></p></li>');  
	      		document.write('<li><p><a href="/wcm.nsf/content/energy myths" class="a3" target="" alt="Energy myths">Energy myths</a></p></li>');  
	  		document.write('</ul>');
	  	document.write('</li>');
	document.write('</ul>');	  
  break;
				
  case "Transmission":
  	document.write('<ul id="Transmission" class="treeview">');
  	  	document.write('<li><p>Transmission</p>');
      		document.write('<ul rel="open">');
	      		document.write('<li><p><a href="/wcm.nsf/content/transmission" class="a3" target="" alt="Transmission home">Transmission home</a></p></li>');  
	  		document.write('</ul>');
	  	document.write('</li>');
	  	document.write('<li><p>Lines</p>');
      		document.write('<ul>');
	      		document.write('<li><p><a href="http://prairiewindtransmission.com/" target="_blank" class="a3" target="" alt="Prairie Wind Transmission">Prairie Wind Transmission</a></p></li>');  
	      		document.write('<li><p><a href="/wcm.nsf/content/rose hill to perry" class="a3" target="" alt="Rose Hill to Oklahoma">Rose Hill to Oklahoma</a></p></li>');  
	      		document.write('<li><p><a href="/wcm.nsf/content/wichita to salina" class="a3" target="" alt="Wichita to Salina line">Wichita to Salina line</a></p></li>');  
	  		document.write('</ul>');
	  	document.write('</li>');	  	
	document.write('</ul>');	  
  break;
		
  case "Vegetation Management":
  	document.write('<ul id="Vegetation Management" class="treeview">');
  	  	document.write('<li><p>ReliabiliTree</p>');
      		document.write('<ul rel="open">');
	      		document.write('<li><p><a href="/wcm.nsf/content/reliabilitree" class="a3" target="" alt="ReliabiliTree home">ReliabiliTree home</a></p></li>');  
	      		document.write('<li><p><a href="/wcm.nsf/content/reliabilitree overview" class="a3" target="" alt="Overview">Overview</a></p></li>');  
	      		document.write('<li><p><a href="/wcm.nsf/content/reliabilitree faq" class="a3" target="" alt="FAQ">FAQ</a></p></li>');  
	      		document.write('<li><p><a href="https://www-11.westarenergy.com/ReliabiliTREE/" class="a3" target="" alt="Line clearance schedule">Line clearance schedule</a></p></li>');  
	      		document.write('<li><p><a href="/wcm.nsf/content/reliabilitree progress" class="a3" target="" alt="Progress">Progress</a></p></li>');  
	      	document.write('</ul>');
	  	document.write('</li>');
	  	document.write('<li><p>Line Clearance</p>');
      		document.write('<ul>');
	      		document.write('<li><p><a href="/wcm.nsf/content/pruning" class="a3" target="" alt="Overhead line clearance">Overhead line clearance</a></p></li>');  
	  			document.write('<li><p><a href="/wcm.nsf/content/pruning responsibilities" class="a3" target="" alt="Westar/Customer responsibility">Westar/Customer responsibility</a></p></li>');  
	      		document.write('<li><p><a href="/wcm.nsf/content/tree safety" class="a3" target="" alt="Tree pruning safety">Tree pruning safety</a></p></li>');  
	  		document.write('</ul>');
	  	document.write('</li>');
	  	document.write('<li><p>Tree Planting</p>');
      		document.write('<ul>');
	      		document.write('<li><p><a href="/wcm.nsf/content/right tree" class="a3" target="" alt="Right tree right place">Right tree right place</a></p></li>');  
	      		document.write('<li><p><a href="/wcm.nsf/content/checklist" class="a3" target="" alt="Tree planting checklist">Tree planting checklist</a></p></li>');  
	      		document.write('<li><p><a href="/wcm.nsf/content/tree savings" class="a3" target="" alt="Tree energy savings">Tree energy savings</a></p></li>');  
	  		document.write('</ul>');
	  	document.write('</li>');	  	
	document.write('</ul>');	  
  break;
				
  case "Wattsaver":
  	document.write('<ul id="Wattsaver" class="treeview">');
  	  	document.write('<li><p>About WattSaver</p>');
      		document.write('<ul rel="open">');
	      		document.write('<li><p><a href="/wcm.nsf/content/wattsaver" class="a3" target="" alt="WattSaver Home">WattSaver Home</a></p></li>');  
	      		document.write('<li><p><a href="/wcm.nsf/content/wattsaver about" class="a3" target="" alt="How WattSaver works">How WattSaver works</a></p></li>');  
	      		document.write('<li><p><a href="/wcm.nsf/content/wattsaver program technology" class="a3" target="" alt="Program technology">Program technology</a></p></li>');  
	      		document.write('<li><p><a href="/wcm.nsf/content/wattsaver faq" class="a3" target="" alt="FAQ">FAQ</a></p></li>');  
	  		document.write('</ul>');
	  	document.write('</li>');
	  	document.write('<li><p>Contact</p>');
      		document.write('<ul>');
	      		document.write('<li><p><a href="/wcm.nsf/content/wattsaver contact" class="a3" target="" alt="Contact WattSaver">Contact WattSaver</a></p></li>');  
	      		document.write('<li><p><a href="/wcm.nsf/content/wattson" class="a3" target="" alt="Wattson">Wattson</a></p></li>');  
	  		document.write('</ul>');
	  	document.write('</li>');	  	
	document.write('</ul>');	  
  break;
			
  case "Wholesale":
  	document.write('<ul id="Wholesale" class="treeview">');
  	  	document.write('<li><p>Services</p>');
      		document.write('<ul rel="open">');
	      		document.write('<li><p><a href="/wcm.nsf/content/power supply services" class="a3" target="" alt="Power Supply Services">Power Supply Services</a></p></li>');  
	      		document.write('<li><p><a href="/wcm.nsf/content/transmission services" class="a3" target="" alt="Tranmission Services">Tranmission Services</a></p></li>');  
	  		document.write('</ul>');
	  	document.write('</li>');
	document.write('</ul>');	  
  break;
	  	  
  case "EVS":
    	document.write('<ul id="EVS" class="treeview">');
		document.write('<li><p>EV Basics</p>');
      		document.write('<ul rel="open">');
	      		document.write('<li><p><a href="/wcm.nsf/content/ev" class="a3" target="" alt="EV home">EV home</a></p></li>');  
		  		document.write('<li><p><a href="/wcm.nsf/content/ev about" class="a3" target="" alt="EV basics">EV basics</a></p></li>');  
		  		document.write('<li><p><a href="/wcm.nsf/content/ev faq" class="a3" target="" alt="EV FAQ\'s">EV FAQ\'s</a></p></li>');  
		  	document.write('</ul>');
	  	document.write('</li>');
	  	document.write('<li><p>EV Resources</p>');
      		document.write('<ul>');
	      		document.write('<li><p><a href="/wcm.nsf/content/ev cost comparison" class="a3" target="" alt="EV gas vs electric costs">EV gas vs electric costs</a></p></li>');  
	      		document.write('<li><p><a href="/wcm.nsf/content/ev ready" class="a3" target="" alt="EV ready">EV ready</a></p></li>');  
		  		document.write('<li><p><a href="/wcm.nsf/content/ev resources" class="a3" target="" alt="EV resources">EV resources</a></p></li>');  
	  		document.write('</ul>');
	  	document.write('</li>');	  	
		document.write('</ul>');
	break;
  
  }
  

}  






