document.write(menu_top());

// BEGIN HOME BUTTON
if(sectionid=="home"){
document.write(button_write('Home','/index.html','LeftNavBold'));
}
else{
document.write(button_write('Home','index.html','LeftNav'));
}
document.write(divider_write());
// END HOME BUTTON



// BEGIN REPORTS INQUIRY
document.write(button_write('Tracing','http://ncss.net/reports.html','LeftNav'));
document.write(divider_write());
// END REPORTS INQUIRY BUTTON



// BEGIN PROOF OF DELIVERY
document.write(button_write('Proof of Delivery','proof/index.php','LeftNav'));
document.write(divider_write());
// END PROOF OF DELIVERY INQUIRY BUTTON


// BEGIN PICKUP ENTRY
//document.write(button_write('Pickup Entry','http://www.ncss.net/pickups/','LeftNav'));
//document.write(divider_write());
// END PROOF OF DELIVERY INQUIRY BUTTON



// END REPORTS INQUIRY BUTTON
// BEGIN CONTACT BUTTON
if(sectionid=="contact"){
document.write(button_write('Contacts','/contacts.html','LeftNavBold'));


// BEGIN CONTACT SUB BUTTONS
if(sectionsubid=="generaloffice"){
document.write(sub_button_write('General Office','contacts.html#generaloffice','LeftNavSubBold'));
}
else{
document.write(sub_button_write('General Office','contacts.html#generaloffice','LeftNavSub'));
}



if(sectionsubid=="sales"){
document.write(sub_button_write('Sales','contacts.html#sales','LeftNavSubBold'));
}
else{
document.write(sub_button_write('Sales','contacts.html#sales','LeftNavSub'));
}

if(sectionsubid=="customerservice"){
document.write(sub_button_write('Customer Service','contacts.html#customerservice','LeftNavSubBold'));
}
else {
document.write(sub_button_write('Customer Service','contacts.html#customerservice','LeftNavSub'));
}


if(sectionsubid=="salesadmin"){
document.write(sub_button_write('Sales Administration','contacts.html#salesadmin','LeftNavSubBold'));
}
else{
document.write(sub_button_write('Sales Administration','contacts.html#salesadmin','LeftNavSub'));
}


if(sectionsubid=="pods"){
document.write(sub_button_write('Proof of Deliveries','contacts.html#pods','LeftNavSubBold'));
}
else{
document.write(sub_button_write('Proof of Deliveries','contacts.html#pods','LeftNavSub'));
}

if(sectionsubid=="operations"){
document.write(sub_button_write('Operations','contacts.html#operations','LeftNavSubBold'));
}
else {
document.write(sub_button_write('Operations','contacts.html#operations','LeftNavSub'));
}




if(sectionsubid=="transportation"){
document.write(sub_button_write('Transportation','contacts.html#transportation','LeftNavSubBold'));
}
else{
document.write(sub_button_write('Transportation','contacts.html#transportation','LeftNavSub'));
}


if(sectionsubid=="accounting"){
document.write(sub_button_write('Accounting','contacts.html#accounting','LeftNavSubBold'));
}
else{
document.write(sub_button_write('Accounting','contacts.html#accounting','LeftNavSub'));
}


if(sectionsubid=="claims"){
document.write(sub_button_write('Claims & OS&D','contacts.html#claims','LeftNavSubBold'));
}
else{
document.write(sub_button_write('Claims & OS&D','contacts.html#claims','LeftNavSub'));
}

if(sectionsubid=="informationtechnology"){
document.write(sub_button_write('Information Technology','contacts.html#informationtechnology','LeftNavSubBold'));
}
else {
document.write(sub_button_write('Information Technology','contacts.html#informationtechnology','LeftNavSub'));
}


if(sectionsubid=="westcoast"){
document.write(sub_button_write('West Coast Operations','contacts.html#westcoast','LeftNavSubBold'));
}
else{
document.write(sub_button_write('West Coast Operations','contacts.html#westcoast','LeftNavSub'));
}


}

// END CONTACT SUB BUTTONS
else{
document.write(button_write('Contacts','/contacts.html','LeftNav'));

}
document.write(divider_write());


// BEGIN PICKUP ENTRY
//document.write(button_write('Current Fuel-Surcharge','http://www.ncss.net/reports/FUEL-SURCHARGE.html','LeftNav'));
//document.write(divider_write());
// END PROOF OF DELIVERY INQUIRY BUTTON


// BEGIN DC LIST
if(sectionid=="dclist"){
document.write(button_write('Distribution Centers','/dclist.html','LeftNavBold'));

// BEGIN DCLIST SUB BUTTONS
if(sectionsubid=="jupiter"){
document.write(sub_button_write('Jupiter','dclist.html#Jupiter','LeftNavSubBold'));
}
else{
document.write(sub_button_write('Jupiter','dclist.html#Jupiter','LeftNavSub'));
}

if(sectionsubid=="berkeley"){
document.write(sub_button_write('Berkeley','dclist.html#Berkeley','LeftNavSubBold'));
}
else{
document.write(sub_button_write('Berkeley','dclist.html#Berkeley','LeftNavSub'));
}

if(sectionsubid=="windsor"){
document.write(sub_button_write('Windsor','dclist.html#Windsor','LeftNavSubBold'));
}
else{
document.write(sub_button_write('Windsor','dclist.html#Windsor','LeftNavSub'));
}

if(sectionsubid=="orlando"){
document.write(sub_button_write('Orlando','dclist.html#Orlando','LeftNavSubBold'));
}
else{
document.write(sub_button_write('Orlando','dclist.html#Orlando','LeftNavSub'));
}


if(sectionsubid=="woodland"){
document.write(sub_button_write('Woodland','dclist.html#Woodland','LeftNavSubBold'));
}
else{
document.write(sub_button_write('Woodland','dclist.html#Woodland','LeftNavSub'));
}


if(sectionsubid=="bethlehem"){
document.write(sub_button_write('Bethlehem','dclist.html#Bethlehem','LeftNavSubBold'));
}
else{
document.write(sub_button_write('Bethlehem','dclist.html#Bethlehem','LeftNavSub'));
}


if(sectionsubid=="mount Vernon"){
document.write(sub_button_write('Mount Vernon','dclist.html#MountVernon','LeftNavSubBold'));
}
else{
document.write(sub_button_write('Mount Vernon','dclist.html#MountVernon','LeftNavSub'));
}


if(sectionsubid=="flagstaff"){
document.write(sub_button_write('Flagstaff','dclist.html#Flagstaff','LeftNavSubBold'));
}
else{
document.write(sub_button_write('Flagstaff','dclist.html#Flagstaff','LeftNavSub'));
}

if(sectionsubid=="waxahacie"){
document.write(sub_button_write('Waxahacie','dclist.html#Waxahacie','LeftNavSubBold'));
}
else{
document.write(sub_button_write('Waxahacie','dclist.html#Waxahacie','LeftNavSub'));
}

if(sectionsubid=="perrysburg"){
document.write(sub_button_write('Perrysburg','dclist.html#Perrysburg','LeftNavSubBold'));
}
else{
document.write(sub_button_write('Perrysburg','dclist.html#Perrysburg','LeftNavSub'));
}


if(sectionsubid=="morenovalley"){
document.write(sub_button_write('Moreno Valley','dclist.html#MorenoValley','LeftNavSubBold'));
}
else{
document.write(sub_button_write('Moreno Valley','dclist.html#MorenoValley','LeftNavSub'));
}



if(sectionsubid=="kutztownrfc88040"){
document.write(sub_button_write('Kutztown RFC 88040','dclist.html#KutztownRFC88040','LeftNavSubBold'));
}
else{
document.write(sub_button_write('Kutztown RFC 88040','dclist.html#KutztownRFC88040','LeftNavSub'));
}

if(sectionsubid=="anderson"){
document.write(sub_button_write('Anderson','dclist.html#Anderson','LeftNavSubBold'));
}
else{
document.write(sub_button_write('Anderson','dclist.html#Anderson','LeftNavSub'));
}


if(sectionsubid=="connecticut"){
document.write(sub_button_write('Connecticut','dclist.html#Connecticut','LeftNavSubBold'));
}
else{
document.write(sub_button_write('Connecticut','dclist.html#Connecticut','LeftNavSub'));
}



if(sectionsubid=="minneapolisrfc88043"){
document.write(sub_button_write('Minneapolis RFC 88043','dclist.html#MinneapolisRFC88043','LeftNavSubBold'));
}
else{
document.write(sub_button_write('Minneapolis RFC 88043','dclist.html#MinneapolisRFC88043','LeftNavSub'));
}



if(sectionsubid=="atlantarfc88042"){
document.write(sub_button_write('Atlanta RFC 88042','dclist.html#AtlantaRFC88042','LeftNavSubBold'));
}
else{
document.write(sub_button_write('Atlanta RFC 88042','dclist.html#AtlantaRFC88042','LeftNavSub'));
}


if(sectionsubid=="houstonrfc88041"){
document.write(sub_button_write('Houston RFC 88041','dclist.html#HoustonRFC88041','LeftNavSubBold'));
}
else{
document.write(sub_button_write('Houston RFC 88041','dclist.html#HoustonRFC88041','LeftNavSub'));
}







}
// END DCLIST SUB BUTTONS
else{
document.write(button_write('Distribution Centers','dclist.html','LeftNav'));
document.write(divider_write());
}


// BEGIN WALGREENS SUPPLIER NET

document.write(button_write('Walgreens Supplier Net','https://webapp.walgreens.com/VendorPortal/JSP/prototypes/index.html','LeftNav'));
document.write(divider_write());

// BEGIN WALGREENS ASN Questions

document.write(button_write('Walgreens ASN Questions','mailto:ASN.Project@Walgreens.com','LeftNav'));
document.write(divider_write());

// BEGIN WALGREENS EDI Questions
document.write(button_write('Walgreens EDI Questions','mailto:EDI.Support@Walgreens.com','LeftNav'));
document.write(divider_write());

// BEGIN WALGREENS Routing Guide
document.write(button_write('2010 Walgreens Routing Guide','WalgreensPriorityOneService_email.pdf','LeftNav'));
document.write(divider_write());



document.write(button_write('2009 System Transition Information','./2009-transition.html','LeftNav'));
document.write(divider_write());


document.write(button_write('Corporate Environmental Culture','./FCG-SFI-FSC_InternalAnnc-FINAL_0110.pdf','LeftNav'));
document.write(divider_write());


document.write(button_write('Login','http://login.ncss.net/login.msw','LeftNav'));
document.write(divider_write());



document.write(menu_bottom());



// BEGIN MENU DRAW FUNCTIONS

function menu_top(){
	str='<TABLE CELLPADDING="0" CELLSPACING="0" BORDER="0" WIDTH="160">\r'
	str+='<TR>\r'
	str+='<TD WIDTH="160"><IMG SRC="/images/common/spacer.gif" ALT="" WIDTH="147" HEIGHT="5" BORDER="0"></TD>\r'
	str+='</TR>\r'
	return str
}

function button_write(text,lnk,acl){
	str='<TR>\r'
	str+='<TD WIDTH="160"><DIV CLASS="'+acl+'"><A HREF="'+lnk+'">'+text+'</A></DIV></TD>\r'
	str+='</TR>\r'
	return str
}

function sub_button_write(text,lnk,acl){
	str='<TR>\r'
	str+='<TD WIDTH="160"><DIV CLASS="'+acl+'"><A HREF="'+lnk+'">'+text+'</A></DIV></TD>\r'
	str+='</TR>\r'
	return str
}

function divider_write(){
	str='<TR>\r'
	str+='<TD WIDTH="160"><IMG SRC="/images/common/nav_divider.gif" ALT="" WIDTH="160" HEIGHT="1" BORDER="0"></TD>\r'
	str+='</TR>\r'
	return str
}

function menu_bottom(){
	str='</TABLE>\r'
	return str
}
