 if (document.images)
	{
		// main
		logo = new Image();
		logo.src = "/Interactive/LookAndFeel/4057132/banner_00_logo.jpg";
		header = new Image();
		header.src = "/Interactive/LookAndFeel/4057132/About_Us.gif";
		subbanner = new Image();
		subbanner.src = "/Interactive/LookAndFeel/4057132/header_About.jpg";
		tout = new Image();
		tout.src = "/CMS300/uploadedImages/Right_Channel/Touts/NWN_AR05_Tout_4-06.jpg";
		phones = new Image();
		phones.src = "/CMS300/uploadedImages/Right_Channel/Touts/right_phone_numbers.gif";
		signin = new Image();
		signin.src = "/Interactive/LookAndFeel/4057132/right_sign_in.gif";
		signout = new Image();
		signout.src = "/images/common/buttons/sign_out_btn.gif";
		yourservice = new Image();
		yourservice.src = "/Interactive/LookAndFeel/4057132/right_at_your_service.gif";
		offers = new Image();
		offers.src = "/Interactive/LookAndFeel/4057132/right_special_offers.gif";
		login = new Image();
		login.src = "/images/common/buttons/login_btn.gif";
		arrow = new Image();
		arrow.src = "/Interactive/LookAndFeel/4057132/arrow_green.gif";
		arrow_black = new Image();
		arrow_black.src = "/Interactive/LookAndFeel/4057132/arrow_black.gif";
		lock = new Image();
		lock.src = "/Interactive/LookAndFeel/4057132/right_lock.gif";
		bullit = new Image();
		bullit.src = "/Interactive/LookAndFeel/4057132/blk_bullet.gif";
		grayline = new Image();
		grayline.src = "/Interactive/LookAndFeel/4057132/line_gray.gif";
	
		// normal
		home = new Image();
		home.src = "/Interactive/LookAndFeel/4057132/nav_01_home.gif";
		account = new Image();
		account.src = "/Interactive/LookAndFeel/4057132/nav_02_your_account.gif";
		yourhome_tab = new Image();
		yourhome_tab.src = "/Interactive/LookAndFeel/4057132/nav_03_your_home.gif";
		business = new Image();
		business.src = "/Interactive/LookAndFeel/4057132/nav_04_your_business.gif";
		gas = new Image();
		gas.src = "/Interactive/LookAndFeel/4057132/nav_05_benefits_of_gas.gif";
		safety = new Image();
		safety.src = "/Interactive/LookAndFeel/4057132/nav_06_safety.gif";
   
   		// submenus
		aboutus = new Image();
		aboutus.src = "/Interactive/LookAndFeel/4057132/menu_01_about_us-o.gif";
		jobs = new Image();
		jobs.src = "/Interactive/LookAndFeel/4057132/menu_02_jobs.gif";
		investors = new Image();
		investors.src = "/Interactive/LookAndFeel/4057132/menu_03_investors.gif";
		contactus = new Image();
		contactus.src = "/Interactive/LookAndFeel/4057132/menu_04_contact_us.gif";
		search = new Image();
		search.src = "/images/common/buttons/search_btn2.gif";

		// on
		home_on = new Image();
		home_on.src = "/Interactive/LookAndFeel/4057132/nav_01_home-o.gif";
		account_on = new Image();
		account_on.src = "/Interactive/LookAndFeel/4057132/nav_02_your_account-o.gif";
		yourhome_on = new Image();
		yourhome_on.src = "/Interactive/LookAndFeel/4057132/nav_03_your_home-o.gif";
		business_on = new Image();
		business_on.src = "/Interactive/LookAndFeel/4057132/nav_04_your_business-o.gif";
		gas_on = new Image();
		gas_on.src = "/Interactive/LookAndFeel/4057132/nav_05_benefits_of_gas-o.gif";
		safety_on = new Image();
		safety_on.src = "/Interactive/LookAndFeel/4057132/nav_06_safety-o.gif";

}


pic_width=437;   /*change to match the height of all your images */
pic_height=91;   /* change to match the width of all your images */
border_size=0;   /* change to the border size you want on the images */

/* define image urls */

if (document.images)
 {
     pic1= new Image(pic_width,pic_height);
     pic1.src="/Interactive/LookAndFeel/4057132/banner1.jpg";
     
     pic2= new Image(pic_width,pic_height);
     pic2.src="/Interactive/LookAndFeel/4057132/banner2.jpg";
     
     pic3= new Image(pic_width,pic_height);
     pic3.src="/Interactive/LookAndFeel/4057132/banner3.jpg";
     
     pic4= new Image(pic_width,pic_height);
     pic4.src="/Interactive/LookAndFeel/4057132/banner4.jpg";
     
     pic5= new Image(pic_width,pic_height);
     pic5.src="/Interactive/LookAndFeel/4057132/banner5.jpg";
     
     pic6= new Image(pic_width,pic_height);
     pic6.src="/Interactive/LookAndFeel/4057132/banner6.jpg"; 
 }

function get_random(maxNum)
{
  if (Math.random && Math.round)
  {
    var ranNum= Math.round(Math.random()*(maxNum-1));
    ranNum+=1;
    return ranNum;
  }
  else
  {
  today= new Date();
  hours= today.getHours();
  mins=   today.getMinutes();
  secn=  today.getSeconds();
  if (hours==19)
   hours=18;
  var ranNum= (((hours+1)*(mins+1)*secn)%maxNum)+1;
  return ranNum;
  }
}

function get_Image()
{
 if (document.images)
 {
  var choose_one= get_random(6);
  choose_one--;

	var pics= new Array(5)
	pics[0]=pic1.src;
	pics[1]=pic2.src;
	pics[2]=pic3.src;
	pics[3]=pic4.src;
	pics[4]=pic5.src;
	pics[5]=pic6.src;

	var banner = pics[choose_one]
	mainbanner = new Image();
	mainbanner.src = banner;

	document.write("<IMG SRC='"+banner+"' width='"+pic_width+"' height='"+pic_height+"' border='"+border_size+"' hspace='0' vspace='0'>");
 }
}





function findDiv(n, d)
{
	var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length)
	{
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);
	}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=findDiv(n,d.layers[i].document);
  if(!x && document.getElementById) x=document.getElementById(n); return x;
}

function toggleNav()
{
	var i,p,v,obj,args=toggleNav.arguments;
  for (i=0; i<(args.length-2); i+=3) if ((obj=findDiv(args[i]))!=null) { v=args[i+2];
    if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v='hide')?'hidden':v; }
    obj.visibility=v; }
}

function hideAllDDs()
{
	//toggleNav('homeDiv','','hide');
	toggleNav('youraccountDiv','','hide');
	toggleNav('yourhomeDiv','','hide');
	toggleNav('yourbusinessDiv','','hide');
	toggleNav('benefitsofgasDiv','','hide');
	toggleNav('safetyDiv','','hide');
}

function hideDD(sect)
{
	toggleNav(sect,'','hide');
	hideAllDDs();
}

var sectionSetting = null;
var activeTimer = null;
var bHover = '';
function setDDactive(sect, windowStatusVal, bshow)
{
	hideAllDDs();
	if ((bHover==windowStatusVal)||(bshow))
	{
		toggleNav(sect,'','show');
		if (sectionSetting != null)
		{
				window.clearTimeout(sectionSetting);
		}
	}
}

function setDDTimeout(sect)
{
	if (sectionSetting != null)
	{
		window.clearTimeout(sectionSetting);
	}
	sectionSetting = window.setTimeout('hideDD("' + sect + '")',500);
}

function hideSelect()
{if (document.all){document.all.formselect.style.visibility="hidden";}}

function unhideSelect()
{if (document.all){document.all.formselect.style.visibility="visible";}}