stop();
a=0;

//Uzimanje vrmena
cTime = new Date();
hour = cTime.getHours();
minute = cTime.getMinutes();
allTime = hour*60+minute;

//-------------------------------//
//Valjevo - Lajkovac - Beograd   //
//-------------------------------//

//vlb1
vlb1_h1 = 8;
vlb1_h2 = 9;
vlb1_m1 = 0;
vlb1_m2 = 45;
vlb1_1 = vlb1_h1*60+vlb1_m1;
vlb1_2 = vlb1_h2*60+vlb1_m2;
if (allTime>=vlb1_1 and allTime<vlb1_2) {
	vlb1._visible = true;
} else {
	vlb1._visible = false;
}

//vlv2
vlb2_h1 = 10;
vlb2_h2 = 11;
vlb2_m1 = 0;
vlb2_m2 = 45;
vlb2_1 = vlb2_h1*60+vlb2_m1;
vlb2_2 = vlb2_h2*60+vlb2_m2;
if (allTime>=vlb2_1 and allTime<vlb2_2) {
	vlb2._visible = true;
} else {
	vlb2._visible = false;
}

//vlb3
vlb3_h1 = 12;
vlb3_h2 = 13;
vlb3_m1 = 0;
vlb3_m2 = 45;
vlb3_1 = vlb3_h1*60+vlb3_m1;
vlb3_2 = vlb3_h2*60+vlb3_m2;
if (allTime>=vlb3_1 and allTime<vlb3_2) {
	vlb3._visible = true;
} else {
	vlb3._visible = false;
}

//vlb4
vlb4_h1 = 14;
vlb4_h2 = 16;
vlb4_m1 = 15;
vlb4_m2 = 0;
vlb4_1 = vlb4_h1*60+vlb4_m1;
vlb4_2 = vlb4_h2*60+vlb4_m2;
if (allTime>=vlb4_1 and allTime<vlb4_2) {
	vlb4._visible = true;
} else {
	vlb4._visible = false;
}

//vlb5
vlb5_h1 = 15;
vlb5_h2 = 17;
vlb5_m1 = 45;
vlb5_m2 = 30;
vlb5_1 = vlb5_h1*60+vlb5_m1;
vlb5_2 = vlb5_h2*60+vlb5_m2;
if (allTime>=vlb5_1 and allTime<vlb5_2) {
	vlb5._visible = true;
} else {
	vlb5._visible = false;
}

//vlb6
vlb6_h1 = 18;
vlb6_h2 = 19;
vlb6_m1 = 0;
vlb6_m2 = 45;
vlb6_1 = vlb6_h1*60+vlb6_m1;
vlb6_2 = vlb6_h2*60+vlb6_m2;
if (allTime>=vlb6_1 and allTime<vlb6_2) {
	vlb6._visible = true;
} else {
	vlb6._visible = false;
}

//-------------------------//
//Valjevo - Ub - Beograd   //
//-------------------------//

//vub1
vub1_h1 = 8;
vub1_h2 = 9;
vub1_m1 = 0;
vub1_m2 = 45;
vub1_1 = vub1_h1*60+vub1_m1;
vub1_2 = vlb1_h2*60+vub1_m2;
if (allTime>=vub1_1 and allTime<vub1_2) {
	vub1._visible = true;
} else {
	vub1._visible = false;
}

//vub2
vub2_h1 = 10;
vub2_h2 = 11;
vub2_m1 = 0;
vub2_m2 = 45;
vub2_1 = vub2_h1*60+vub2_m1;
vub2_2 = vub2_h2*60+vub2_m2;
if (allTime>=vub2_1 and allTime<vub2_2) {
	vub2._visible = true;
} else {
	vub2._visible = false;
}

//vub3
vub3_h1 = 12;
vub3_h2 = 13;
vub3_m1 = 0;
vub3_m2 = 45;
vub3_1 = vub3_h1*60+vub3_m1;
vub3_2 = vub3_h2*60+vub3_m2;
if (allTime>=vub3_1 and allTime<vub3_2) {
	vub3._visible = true;
} else {
	vub3._visible = false;
}

//vub4
vub4_h1 = 14;
vub4_h2 = 16;
vub4_m1 = 15;
vub4_m2 = 00;
vub4_1 = vub4_h1*60+vub4_m1;
vub4_2 = vub4_h2*60+vub4_m2;
if (allTime>=vub4_1 and allTime<vub4_2) {
	vub4._visible = true;
} else {
	vub4._visible = false;
}