﻿// Module ID & link definitions
// Format:
// moduleId:{l:"url_of_this_module",
// 			 t:"title_for_this_module",
// 			 c:"optional color definition for title bar"}
var _modules={
	m101:{l:"mHome.php",	t:"Menu Home", c:"blue"},
	m102:{l:"m102.php?load=info",	t:"Info Terkini", c:"green"}, // English
	m103:{l:"m102.php?load=profil",	t:"Profil Sekolah", c:"green"},
	m104:{l:"m102.php?load=peta",	t:"Peta Lokasi", c:"green"},
	m105:{l:"m103.php",		t:"Info Lowongan Pekerjaan", c:"yellow"},
	m106:{l:"m104.php",		t:"Link Terkait", c:"yellow"},

	m301:{l:"mJur.php",		t:"Jurusan", c:"green"}, // English

	m400:{l:"mFas.php",			t:"Menu Fasilitas", c:"blue"}, // English
	m401:{l:"m401.php?id=1",	t:"Bengkel Otomotif", c:"green"}, // English
	m402:{l:"m401.php?id=2",	t:"Bengkel Teknik Pemesinan", c:"green"}, // English
	m403:{l:"m401.php?id=3",	t:"Bengkel Las", c:"green"}, // English
	m404:{l:"m401.php?id=4",	t:"Laboratorium Multimedia", c:"green"}, // English
	m405:{l:"m401.php?id=10",	t:"Laboratorium Teknik Komputer & Jaringan", c:"green"}, // English
	m406:{l:"m401.php?id=5",	t:"Laboratorium KKPI", c:"green"}, // English
	m407:{l:"m401.php?id=6",	t:"Sarana Olahraga", c:"green"}, // English
	m408:{l:"m401.php?id=7",	t:"Masjid", c:"green"}, // English
	m409:{l:"m401.php?id=8",	t:"UKS", c:"green"}, // English
	m4010:{l:"m401.php?id=9",	t:"Parkir", c:"green"}, // English
	m4011:{l:"kontak.php",		t:"Hubungi Kami", c:"yellow"},
	
	m500:{l:"mPSB.php",	t:"Menu PSB Online"},
	m501:{l:"m501.php",	t:"Jadwal PSB", c:"green"},
	m502:{l:"m502.php",	t:"Syarat Pendaftaran", c:"green"},
	m503:{l:"m503.php",	t:"Brosur", c:"green"},
	m504:{l:"m504.php",	t:"Data Seluruh Pendaftar PSB", c:"green"},
	m505:{l:"m505.php",	t:"Hasil PSB", c:"green"},

	m602:{l:"m602.php",	t:"Data Guru, Karyawan", c:"green"},
	
	m701:{l:"mRekap.php",	t:"Menu Rekap"},
	m702:{l:"rekap.php?ref=siswa",	t:"Rekap Data Siswa", c:"green"},
	m703:{l:"rekap.php?ref=guru",	t:"Rekap Data Guru", c:"green"},
	m704:{l:"rekap.php?ref=psg",	t:"Rekap Data Praktek Industri", c:"green"},
	m705:{l:"kontak.php",	t:"Hubungi Kami", c:"yellow"}
};

// Layout definitions for each tab, aka, which modules go to which columns under which tab
// Format:
//	{i:"id_of_the_module	(refer to _modules)",
//	c:"column_it_belongs_to	(c1, c2, c3)"
//	t:"tab_it_belongs_to	(t1, t2, ...)"}
var _layout=[
	{i:'m101',c:'c1',t:'t1'},{i:'m102',c:'c2',t:'t1'},
	{i:'m105',c:'c1',t:'t1'},
	{i:'m106',c:'c1',t:'t1'},

	{i:'m301',c:'c1',t:'t3'},

	{i:'m400',c:'c1',t:'t4'},{i:'m401',c:'c2',t:'t4'},
	{i:'m4011',c:'c1',t:'t4'},

	{i:'m500',c:'c1',t:'t5'},{i:'m501',c:'c2',t:'t5'},
	{i:'m4011',c:'c1',t:'t5'},

	{i:'m602',c:'c1',t:'t6'},
	
	{i:'m701',c:'c1',t:'t7'},{i:'m702',c:'c2',t:'t7'},
	{i:'m705',c:'c1',t:'t7'}
];

// Column width definitions for each tab
// Valid values are pixel, % or auto
// Currently, "auto" is only valid on column2
// You can support more features by refining function HeaderTabClick()
var _tabs={
	t1:{c1:"270px",c2:"auto",c3:0,helper:true},
	t2:{c1:"33.3%",c2:"33.3%",c3:"33.3%",helper:true},
	t3:{c1:"100%",c2:0,c3:0,helper:true},
	t4:{c1:"270px",c2:"auto",c3:0,helper:true},
	t5:{c1:"270px",c2:"auto",c3:0,helper:true},
	t6:{c1:"100%",c2:0,c3:0},
	t7:{c1:"270px",c2:"auto",c3:0,helper:true}
};