function changeKecamatan(){
    var x;
    x=document.kecamatan.id.options[document.kecamatan.id.selectedIndex].value;
    window.open('index.php?pilih=pemerintahan&mod=yes&view=kecamatan&id='+x,'_self');
    return true;
}

function changeKecamatanKelurahan(){
    var x;
    x=document.kecamatankelurahan.id.options[document.kecamatankelurahan.id.selectedIndex].value;
    window.open('index.php?pilih=pemerintahan&mod=yes&view=kelurahan&kec='+x,'_self');
    return true;
}

function changeKelurahan(){
    var x,y;
    x=document.kelurahan.id.options[document.kelurahan.id.selectedIndex].value;
    y=document.kecamatankelurahan.id.options[document.kecamatankelurahan.id.selectedIndex].value;
    window.open('index.php?pilih=pemerintahan&mod=yes&view=kelurahan&kec='+y+'&id='+x,'_self');
    return true;
}

function changeAsistenSekda(){
    var x;
    x=document.asisten.id.options[document.asisten.id.selectedIndex].value;
    window.open('index.php?pilih=pemerintahan&mod=yes&view=asisten_sekda&id='+x,'_self');
    return true;
}

function changeBagSekda(){
    var x;
    x=document.bagsekda.id.options[document.bagsekda.id.selectedIndex].value;
    window.open('index.php?pilih=pemerintahan&mod=yes&view=bag_sekda&id='+x,'_self');
    return true;
}

function changeBagSekda2(){
    var x;
    x=document.subbagsekda.bag.options[document.subbagsekda.bag.selectedIndex].value;
    window.open('index.php?pilih=pemerintahan&mod=yes&view=subbag_sekda&bag='+x,'_self');
    return true;
}


function changeSubBagSekda(){
    var x,y;
    x=document.subbagsekda.bag.options[document.subbagsekda.bag.selectedIndex].value;
    y=document.subbagsekda.id.options[document.subbagsekda.id.selectedIndex].value;
    window.open('index.php?pilih=pemerintahan&mod=yes&view=subbag_sekda&bag='+x+'&subbag='+y,'_self');
    return true;
}


function changeInstansi(){
    var x;
    x=document.instansi.id.options[document.instansi.id.selectedIndex].value;
    window.open('index.php?pilih=pemerintahan&mod=yes&view=instansi_vertikal&id='+x,'_self');
    return true;
}

function changeTeknis(){
    var x;
    x=document.teknis.id.options[document.teknis.id.selectedIndex].value;
    window.open('index.php?pilih=pemerintahan&mod=yes&view=kantor_daerah&id='+x,'_self');
    return true;
}

function changeBadanDaerah(){
    var x;
    x=document.badan_daerah.id.options[document.badan_daerah.id.selectedIndex].value;
    window.open('index.php?pilih=pemerintahan&mod=yes&view=badan_daerah&id='+x,'_self');
    return true;
}

function changeDinasDaerah(){
    var x;
    x=document.dinas_daerah.id.options[document.dinas_daerah.id.selectedIndex].value;
    window.open('index.php?pilih=pemerintahan&mod=yes&view=dinas_daerah&id='+x,'_self');
    return true;
}

function changeHotel(){
    var x;
    x=document.hotel_restaurant.kategori.options[document.hotel_restaurant.kategori.selectedIndex].value;
    window.open('index.php?pilih=fasilitasdaerah&mod=yes&view=hotel_restaurant&kategori='+x,'_self');
    return true;
}

function changeSekda(){
    var x;
    x=document.sekda.id.options[document.sekda.id.selectedIndex].value;
    window.open('index.php?pilih=pemerintahan&mod=yes&view=sekda&id='+x,'_self');
    return true;
}

function changeSekwan(){
    var x;
    x=document.sekwan.id.options[document.sekwan.id.selectedIndex].value;
    window.open('index.php?pilih=pemerintahan&mod=yes&view=sekwan&id='+x,'_self');
    return true;
}

function changePerhubungan(){
    var x;
    x=document.perhubungan.kategori.options[document.perhubungan.kategori.selectedIndex].value;
    window.open('index.php?pilih=fasilitasdaerah&mod=yes&view=perhubungan&kategori='+x,'_self');
    return true;
}

function changePariwisata(){
    var x;
    x=document.pariwisata.kategori.options[document.pariwisata.kategori.selectedIndex].value;
    window.open('index.php?pilih=fasilitasdaerah&mod=yes&view=pariwisata&kategori='+x,'_self');
    return true;
}

function changePendidikan(){
    var x;
    x=document.pendidikan.kategori.options[document.pendidikan.kategori.selectedIndex].value;
    window.open('index.php?pilih=fasilitasdaerah&mod=yes&view=pendidikan&kategori='+x,'_self');
    return true;
}

function changeKesehatan(){
    var x;
    x=document.kesehatan.kategori.options[document.kesehatan.kategori.selectedIndex].value;
    window.open('index.php?pilih=fasilitasdaerah&mod=yes&view=kesehatan&kategori='+x,'_self');
    return true;
}

function changeHukum(){
    var x;
    x=document.hukum.kategori.options[document.hukum.kategori.selectedIndex].value;
    window.open('index.php?pilih=fasilitasdaerah&mod=yes&view=hukum&kategori='+x,'_self');
    return true;
}

function changeBank(){
    var x;
    x=document.bank.kategori.options[document.bank.kategori.selectedIndex].value;
    window.open('index.php?pilih=fasilitasdaerah&mod=yes&view=bank&kategori='+x,'_self');
    return true;
}

function changePostel(){
    var x;
    x=document.postel.kategori.options[document.postel.kategori.selectedIndex].value;
    window.open('index.php?pilih=fasilitasdaerah&mod=yes&view=postel&kategori='+x,'_self');
    return true;
}

function changePLN(){
    var x;
    x=document.pln.kategori.options[document.pln.kategori.selectedIndex].value;
    window.open('index.php?pilih=fasilitasdaerah&mod=yes&view=pln&kategori='+x,'_self');
    return true;
}

function changePDAM(){
    var x;
    x=document.air_minum.kategori.options[document.air_minum.kategori.selectedIndex].value;
    window.open('index.php?pilih=fasilitasdaerah&mod=yes&view=air_minum&kategori='+x,'_self');
    return true;
}

//function changeSekwan(){
//    var x;
//    x=document.sekwan.id.options[document.sekwan.id.selectedIndex].value;
//    window.open('index.php?pilih=ProfilDprd&mod=yes&view=sekwan&id='+x,'_self');
//    return true;
//}

//function changeKomisi(){
//    var x;
//    x=document.komisi.id.options[document.komisi.id.selectedIndex].value;
//    window.open('index.php?pilih=ProfilDprd&mod=yes&view=komisi&id='+x,'_self');
//    return true;
//}

function changeFraksi_dewan(){
    var x;
    x=document.fraksi.id.options[document.fraksi.id.selectedIndex].value;
    window.open('index.php?pilih=ProfilDprd&mod=yes&view=fraksi&id='+x,'_self');
    return true;
}

function changeKomisi(){
    var x;
    x=document.legislatif.komisi.options[document.legislatif.komisi.selectedIndex].value;
    window.open('index.php?pilih=pemerintahan&mod=yes&view=lembaga_legislatif&id=4&komisi='+x,'_self');
    return true;
}

function changeFraksi(){
    var x;
    x=document.legislatif.fraksi.options[document.legislatif.fraksi.selectedIndex].value;
    window.open('index.php?pilih=pemerintahan&mod=yes&view=lembaga_legislatif&id=3&fraksi='+x,'_self');
    return true;
}

function changePemasok(){
    var x;
    x=document.pemasok.kategori.options[document.pemasok.kategori.selectedIndex].value;
    window.open('index.php?pilih=Stakeholder&mod=yes&view=pemasok&kategori='+x,'_self');
    return true;
}

function changeInvestor(){
    var x;
    x=document.investor.kategori.options[document.investor.kategori.selectedIndex].value;
    window.open('index.php?pilih=Stakeholder&mod=yes&view=investor&kategori='+x,'_self');
    return true;
}

function changeLSM(){
    var x;
    x=document.lsm.kategori.options[document.lsm.kategori.selectedIndex].value;
    window.open('index.php?pilih=Stakeholder&mod=yes&view=lsm&kategori='+x,'_self');
    return true;
}

function changeYayasan(){
    var x;
    x=document.yayasan.kategori.options[document.yayasan.kategori.selectedIndex].value;
    window.open('index.php?pilih=Stakeholder&mod=yes&view=yayasan&kategori='+x,'_self');
    return true;
}

var myMenu =

[
[null,'Tampilan Muka','index.php',null,'Tampilan Muka'],
[null,'Profil',null,null,'Profil',

	[null, 'Eksekutif' , null ,null,'Profil / Eksekutif',
//		[null,'Lembaga Eksekutif' ,'index.php?pilih=pemerintahan&mod=yes&view=lembaga_eksekutif',null,'Profil / Eksekutif / Lembaga Eksekutif'],
		[null,'Bupati','index.php?pilih=profildaerah&mod=yes&view=profil_bupati',null,'Profil / Eksekutif / Bupati'],
		[null,'Wakil Bupati','index.php?pilih=profildaerah&mod=yes&view=profil_wabupati',null,'Profil / Eksekutif / Wakil Bupati'],
		[null,'Setda','index.php?pilih=pemerintahan&mod=yes&view=sekda',null,'Profil / Eksekutif / Sekda'],
		[null,'Asisten Sekda','index.php?pilih=pemerintahan&mod=yes&view=asisten_sekda',null,'Profil / Eksekutif / Asisten Sekda'],
//		[null,'Bag Sekda','index.php?pilih=pemerintahan&mod=yes&view=bag_sekda',null,'Profil / Eksekutif / Bag Sekda'],
//		[null,'Subbag Sekda','index.php?pilih=pemerintahan&mod=yes&view=subbag_sekda',null,'Profil / Eksekutif / Subbag Sekda'],
		[null,'Muspida','index.php?pilih=pemerintahan&mod=yes&view=muspida',null,'Profil / Eksekutif / Muspida'],
		[null,'Dinas Daerah','index.php?pilih=pemerintahan&mod=yes&view=dinas_daerah',null,'Profil / Eksekutif / Dinas Daerah'],
		[null,'Badan Daerah','index.php?pilih=pemerintahan&mod=yes&view=badan_daerah',null,'Profil / Eksekutif / Badan Daerah'],
		[null,'Kantor Daerah','index.php?pilih=pemerintahan&mod=yes&view=kantor_daerah',null,'Profil / Eksekutif / Kantor Daerah'],
		[null,'Satuan','index.php?pilih=pemerintahan&mod=yes&view=satuan_daerah',null,'Profil / Eksekutif / Satuan'],
//		[null,'Instansi Vertikal','index.php?pilih=pemerintahan&mod=yes&view=instansi_vertikal',null,'Profil / Eksekutif / Instansi Vertikal'],
//		[null,'Yayasan Daerah','index.php?pilih=pemerintahan&mod=yes&view=yayasan_daerah',null,'Profil / Eksekutif / Yayasan Daerah'],
//		[null,'Lembaga Teknis Daerah','index.php?pilih=pemerintahan&mod=yes&view=lembaga_teknis_daerah',null,'Profil / Eksekutif / Lembaga Teknis Daerah'],
//		[null,'Lembaga Daerah','index.php?pilih=pemerintahan&mod=yes&view=lembaga_daerah',null,'Profil / Eksekutif / Lembaga Daerah'],
		[null,'Perusahaan Daerah','index.php?pilih=pemerintahan&mod=yes&view=perusahaan_daerah',null,'Profil / Eksekutif / Perusahaan Daerah'],
		[null,'Panca Prasetya KORPRI','index.php?pilih=pemerintahan&mod=yes&view=panca_prasetya',null,'Profil / Eksekutif / Panca Prasetya KORPRI'],
		[null,'Sekretaris Dewan','index.php?pilih=pemerintahan&mod=yes&view=sekwan',null,'Profil / Legislatif / Sekretaris Dewan'],
	],
	[null, 'Legislatif' , null ,null,'Profil / Legislatif',
		[null,'Lembaga Legislatif','index.php?pilih=pemerintahan&mod=yes&view=lembaga_legislatif',null,'Profil / Legislatif / Sekretaris Dewan'],
    ],
],
[null, 'Profil Daerah', null, null, 'Profil Daerah',
	[null,'Profil Kabupaten','index.php?pilih=profildaerah&mod=yes&view=tentang_kabkot',null,'Profil / Daerah / Profil Kabupaten'],
	[null,'Profil Wilayah','index.php?pilih=profildaerah&mod=yes&view=profil_wilayah',null,'Profil / Daerah / Profil Wilayah'],
	[null,'Lambang Kabupaten','index.php?pilih=profildaerah&mod=yes&view=arti_logo',null,'Profil / Daerah / Lambang Kabupaten'],
	[null,'Visi & Misi' ,'index.php?pilih=profildaerah&mod=yes&view=visi_misi',null,'Profil / Daerah / Visi & Misi'],
	[null,'Prestasi Daerah','index.php?pilih=profildaerah&mod=yes&view=prestasi_daerah',null,'Profil / Daerah / Prestasi Daerah'],
	[null,'Pembangunan','index.php?pilih=profildaerah&mod=yes&view=pembangunan',null,'Profil / Daerah / Pembangunan'],
	[null,'Kecamatan','index.php?pilih=pemerintahan&mod=yes&view=kecamatan',null,'Profil / Eksekutif / Kecamatan'],
	[null,'Kelurahan / Desa','index.php?pilih=pemerintahan&mod=yes&view=kelurahan',null,'Profil / Eksekutif / Kelurahan'],
//		[null, 'Data Daerah' , null ,null,'Profil / Daerah / Data Daerah',
//			[null,'Keuangan','index.php?pilih=datadaerah&mod=yes&view=data_keuangan',null,'Profil / Daerah / Data Daerah / Keuangan'],
//			[null,'Industri','index.php?pilih=datadaerah&mod=yes&view=data_industri',null,'Profil / Daerah / Data Daerah / Industri'],
//			[null,'Perdagangan','index.php?pilih=datadaerah&mod=yes&view=data_perdagangan',null,'Profil / Daerah / Data Daerah / Perdagangan'],
//			[null,'Perhubungan','index.php?pilih=datadaerah&mod=yes&view=data_perhubungan',null,'Profil / Daerah / Data Daerah / Perhubungan'],
//			[null,'Pertanian','index.php?pilih=datadaerah&mod=yes&view=data_pertanian',null,'Profil / Daerah / Data Daerah / Pertanian'],
//			[null,'Peternakan','index.php?pilih=datadaerah&mod=yes&view=data_peternakan',null,'Profil / Daerah / Data Daerah / Peternakan'],
//			[null,'Perkebunan & Kehutanan','index.php?pilih=datadaerah&mod=yes&view=data_perkebunan',null,'Profil / Daerah / Data Daerah / Perkebunan'],
//			[null,'Perikanan & Kelautan','index.php?pilih=datadaerah&mod=yes&view=data_perikanan',null,'Profil / Daerah / Data Daerah / Perikanan'],
//			[null,'Pendidikan','index.php?pilih=datadaerah&mod=yes&view=data_pendidikan',null,'Profil / Daerah / Data Daerah / Pendidikan'],
//			[null,'Aset Daerah','index.php?pilih=datadaerah&mod=yes&view=data_asetdaerah',null,'Profil / Daerah / Data Daerah / Aset Daerah'],
//		],
	],
[null,'Komunikasi',null,null,'Komunikasi',
	[null, 'Web Mail', '/webmail/',null,'Komunikasi / Web Mail'],
	[null, 'Web Forum', '/webforum/',null,'Komunikasi / Web Forum'],
//	[null, 'Web Chat', '/cgi-bin/webchat/irc.cgi',null,'Komunikasi / Web Chat'],
],
[null,'Fasilitas Umum',null,null,'Fasilitas Umum',
	[null, 'Pariwisata', 'index.php?pilih=fasilitasdaerah&mod=yes&view=pariwisata',null,'Fasilitas Umum / Pariwisata'],
	[null, 'Pendidikan', 'index.php?pilih=fasilitasdaerah&mod=yes&view=pendidikan',null,'Fasilitas Umum / Pendidikan'],
	[null, 'Kesehatan', 'index.php?pilih=fasilitasdaerah&mod=yes&view=kesehatan',null,'Fasilitas Umum / Kesehatan'],
	[null, 'Perhubungan', 'index.php?pilih=fasilitasdaerah&mod=yes&view=perhubungan',null,'Fasilitas Umum / Perhubungan'],
	[null, 'Hukum', 'index.php?pilih=fasilitasdaerah&mod=yes&view=hukum',null,'Fasilitas Umum / Hukum'],
	[null, 'Bank', 'index.php?pilih=fasilitasdaerah&mod=yes&view=bank',null,'Fasilitas Umum / Bank'],
	[null, 'Postel', 'index.php?pilih=fasilitasdaerah&mod=yes&view=postel',null,'Fasilitas Umum / Postel'],
	[null, 'PLN', 'index.php?pilih=fasilitasdaerah&mod=yes&view=pln',null,'Fasilitas Umum / PLN'],
//	[null, 'PDAM', 'index.php?pilih=fasilitasdaerah&mod=yes&view=air_minum',null,'Fasilitas Umum / PDAM'],
	[null, 'Hotel & Restoran', 'index.php?pilih=fasilitasdaerah&mod=yes&view=hotel_restaurant',null,'Fasilitas Umum / Hotel & Restoran'],
],
[null,'Potensi Daerah',null,null,'Potensi Daerah',
	[null, 'Sumber Daya Masyarakat', 'index.php?pilih=potensidaerah&mod=yes&view=sdm',null,'Potensi Daerah / Sumber Daya Manusia'],
	[null, 'Pendidikan', 'index.php?pilih=potensidaerah&mod=yes&view=pendidikan',null,'Potensi Daerah / Pendidikan'],
	[null, 'Kesehatan', 'index.php?pilih=potensidaerah&mod=yes&view=kesehatan',null,'Potensi Daerah / Kesehatan'],
	[null, 'Sumber Daya Alam', 'index.php?pilih=potensidaerah&mod=yes&view=sda',null,'Potensi Daerah / Sumber Daya Alam'],
	[null, 'Pertanian', 'index.php?pilih=potensidaerah&mod=yes&view=pertanian',null,'Potensi Daerah / Pertanian'],
	[null, 'Perkebunan & Kehutanan', 'index.php?pilih=potensidaerah&mod=yes&view=perkebunan',null,'Potensi Daerah / Perkebunan & Kehutanan'],
	[null, 'Perikanan', 'index.php?pilih=potensidaerah&mod=yes&view=perikanan',null,'Potensi Daerah / Perikanan'],
	[null, 'Peternakan', 'index.php?pilih=potensidaerah&mod=yes&view=peternakan',null,'Potensi Daerah / Peternakan'],
	[null, 'Pertambangan & Energi', 'index.php?pilih=potensidaerah&mod=yes&view=pertambangan',null,'Potensi Daerah / Pertambangan & Energi'],
	[null, 'Pariwisata', 'index.php?pilih=potensidaerah&mod=yes&view=pariwisata',null,'Potensi Daerah / Pariwisata'],
	[null, 'Pelabuhan', 'index.php?pilih=potensidaerah&mod=yes&view=pelabuhan',null,'Potensi Daerah / Pelabuhan'],
	[null, 'Ekonomi', 'index.php?pilih=potensidaerah&mod=yes&view=ekonomi',null,'Potensi Daerah / Ekonomi'],
	[null, 'Perdagangan & Industri', 'index.php?pilih=potensidaerah&mod=yes&view=industri',null,'Potensi Daerah / Perdagangan & Industri'],
	[null, 'Perbankan & Pusat Perbelanjaan', 'index.php?pilih=potensidaerah&mod=yes&view=perbankan',null,'Potensi Daerah / Perbankan & Pusat Perbelanjaan'],
	[null, 'Keagamaan', 'index.php?pilih=potensidaerah&mod=yes&view=keagamaan',null,'Potensi Daerah / Keagamaan'],
	[null, 'Sosial Masyarakat', 'index.php?pilih=potensidaerah&mod=yes&view=sosial',null,'Potensi Daerah / Sosial Masyarakat'],
//	[null, 'Kebudayaan', 'index.php?pilih=potensidaerah&mod=yes&view=kebudayaan',null,'Potensi Daerah / Kebudayaan'],
	[null, 'Sosial Politik', 'index.php?pilih=potensidaerah&mod=yes&view=sospol',null,'Potensi Daerah / Sosial Politik'],
	[null, 'Perhubungan', 'index.php?pilih=potensidaerah&mod=yes&view=perhubungan',null,'Potensi Daerah / Perhubungan'],
	[null, 'Pelayanan Umum', 'index.php?pilih=potensidaerah&mod=yes&view=pelayanan',null,'Potensi Daerah / Pelayanan Umum'],
//	[null, 'Geografis', 'index.php?pilih=potensidaerah&mod=yes&view=geografi',null,'Potensi Daerah / Geografis'],
//	[null, 'pemerintahan', 'index.php?pilih=potensidaerah&mod=yes&view=pemerintahan',null,'Potensi Daerah / pemerintahan'],
//	[null, 'Penduduk', 'index.php?pilih=potensidaerah&mod=yes&view=penduduk',null,'Potensi Daerah / Penduduk'],
//	[null, 'Kehutanan', 'index.php?pilih=potensidaerah&mod=yes&view=kehutanan',null,'Potensi Daerah / Kehutanan'],
//	[null, 'Kerajinan', 'index.php?pilih=potensidaerah&mod=yes&view=kerajinan',null,'Potensi Daerah / Kerajinan'],
//	[null, 'Keuangan', 'index.php?pilih=potensidaerah&mod=yes&view=keuangan',null,'Potensi Daerah / Keuangan'],
],
[null, 'Iklan Baris','index.php?pilih=iklanbaris&mod=yes',null,'Iklan'],
[null, 'Galeri Foto','/galeri/',null,'Galeri Foto'],
[null, 'Download','index.php?pilih=download&mod=yes',null,'Download']
//[null,'Stake holder',null,null,'Stake holder',
//	[null, 'Masyarakat' , null ,null,'Stake holder / Masyarakat',
//		[null,'LSM'       , 'index.php?pilih=Stakeholder&mod=yes&view=lsm',null,'Stake holder / Masyarakat / LSM'],
//		[null,'Yayasan'   , 'index.php?pilih=Stakeholder&mod=yes&view=yayasan',null,'Stake holder / Masyarakat / Yayasan'],
//	],
//	[null, 'Pemasok' , 'index.php?pilih=Stakeholder&mod=yes&view=pemasok' ,null,'Stake holder / Pemasok'],
//	[null, 'Investor' , 'index.php?pilih=Stakeholder&mod=yes&view=investor' ,null,'Stake holder / Investor'],
//]
];
