var map;

$(document).ready(function a(){
	init();
	//try {
		load_vehicles(true);
	//}
	//catch(e) {
	//alert ("error");
	//}
	
	setTimeout ( "updateData()", 10000 );
});

function updateData ()
{
	try {
		if (vehicleON)
			load_vehicles(false);
	}
	catch(e) {
	}
	
	setTimeout ( "updateData()", 10000 );
}

window.onunload = GUnload;


