";
var left_pos = (parseInt(workspace.style.left) + (parseInt(workspace.style.width) - x_width) + 1);
btn_save.style.left = left_pos + "px";
btn_save.style.top = (parseInt(workspace.style.top) + 1) + "px";
document.body.appendChild(btn_save);
}
if((t = lookup_prev(requested_id)) !== undefined && t !== null) {
btn_back = document.getElementById("btn_back");
if(!btn_back) {
btn_back = document.createElement("div");
btn_back.style.visibility = "hidden";
btn_back.id = "btn_back";
btn_back.style.position = (is_ie()? "absolute": "fixed");
btn_back.style.width = parseInt(image_obj.width)/2 + "px";
btn_back.style.height = parseInt(image_obj.height) + "px";
btn_back.style.backgroundColor = "black";
btn_back.style.backgroundImage = "url(" + res_left_arrow + ")";
btn_back.style.backgroundRepeat = "no-repeat";
btn_back.style.backgroundPosition = "center";
btn_back.style.zIndex = 10000;
btn_back.onclick = function() { prev_image(); };
btn_back.onmouseover = function() { prev_image_over(); };
btn_back.onmouseout = function() { prev_image_out(); };
btn_back.style.cursor = "pointer";
document.body.appendChild(btn_back);
}
btn_back.style.left = (parseInt(workspace.style.left)+1) + "px";
btn_back.style.top = (parseInt(workspace.style.top)+1) + "px";
set_opacity(btn_back, 0);
show_prev_button();
}
if((t = lookup_next(requested_id)) !== undefined && t !== null) {
btn_fwd = document.getElementById("btn_fwd");
if(!btn_fwd) {
btn_fwd = document.createElement("div");
btn_fwd.style.visibility = "hidden";
btn_fwd.id = "btn_fwd";
btn_fwd.style.position = (is_ie()? "absolute": "fixed");
btn_fwd.style.width = Math.ceil(parseInt(image_obj.width) / 2) + "px";
btn_fwd.style.height = parseInt(image_obj.height) + "px";
btn_fwd.style.backgroundColor = "black";
btn_fwd.style.backgroundImage = "url(" + res_right_arrow + ")";
btn_fwd.style.backgroundRepeat = "no-repeat";
btn_fwd.style.backgroundPosition = "center";
btn_fwd.style.zIndex = 10000;
btn_fwd.onclick = function() { next_image(); };
btn_fwd.onmouseover = function() { next_image_over(); };
btn_fwd.onmouseout = function() { next_image_out(); };
btn_fwd.style.cursor = "pointer";
document.body.appendChild(btn_fwd);
}
var left_pos = (parseInt(workspace.style.left) + (parseInt(workspace.style.width) / 2) + 1);
btn_fwd.style.left = left_pos + "px";
btn_fwd.style.top = (parseInt(workspace.style.top)+1) + "px";
set_opacity(btn_fwd, 0);
show_next_button();
}
}
function show_prev_button() {
btn_prev = document.getElementById('btn_back');
if(btn_prev)
btn_prev.style.visibility = 'visible';
else
setTimeout("show_prev_button()", 10);
}
function show_next_button() {
btn_next = document.getElementById('btn_fwd');
if(btn_next)
btn_next.style.visibility = 'visible';
else
setTimeout("show_next_button()", 10);
}
function remove_navigation() {
var o = document.getElementById("btn_back");
if(o) document.body.removeChild(o);
o = document.getElementById("btn_fwd");
if(o) document.body.removeChild(o);
o = document.getElementById("btn_save");
if(o) document.body.removeChild(o);
}
function setup_state_4(current_img_obj) {
already_loading = false;
current_img_obj.style.visibility = 'hidden';
global_img_obj = img_obj;
acceleration = 10;
state = 4; // powiekszanie
}
function is_ie() {
if(navigator.appVersion && navigator.appVersion.indexOf("MSIE") != -1)
return true;
else
return false;
}
function is_opera() {
return navigator.userAgent.indexOf("Opera") != -1;
}
var image_cache = new Array();
function is_cached(url) {
for(var i = 0, len = image_cache.length; i < len; i++)
if(image_cache[i].src === url)
return true;
return false;
}
function add_to_cache(obj) {
image_cache.push(obj);
}
function load_image_async() {
already_loading = true;
var current_img_obj = document.getElementById('a1image');
if(!current_img_obj) {
already_loading = false;
return;
}
img_obj = new Image();
img_obj.src = request_url + app_id + "/pokaz_zdjecie/" + requested_id;
if((is_opera() || is_ie()) && is_cached(img_obj.src)) {
set_opacity(img_obj, 0);
setup_state_4(current_img_obj);
} else {
img_obj.onload = function()
{
if(is_opera() || is_ie())
add_to_cache(img_obj);
set_opacity(img_obj, 0);
setup_state_4(current_img_obj);
}
}
}
function start_finishing_animation() {
stop_animation = false;
if(animation_id == 0)
animation_id = setInterval("start_finishing_animation()", 15);
switch(state) {
case 0:
set_opacity(workspace, workspace_opacity);
workspace_opacity -= 35;
if(workspace_opacity <= 10) {
workspace_opacity = 0;
set_opacity(workspace, workspace_opacity);
state++;
}
break;
case 1:
set_opacity(backdrop, backdrop_opacity);
backdrop_opacity -= 35;
if(backdrop_opacity <= 0) {
backdrop_opacity = 0;
set_opacity(backdrop, backdrop_opacity);
state++;
}
break;
case 2:
workspace = remove_object(workspace);
backdrop = remove_object(backdrop);
state++;
break;
default:
stop_animation = true;
creation_finished = false;
clearInterval(animation_id);
animation_id = 0;
first_time = true;
show_embeds();
break;
}
}
function remove_object(obj) {
if(obj != null)
remove_from_workspace(obj);
return null;
}
function back_to_page() {
remove_navigation();
if(creation_finished && stop_animation) {
state = 0;
stop_animation = false;
workspace_opacity = 80;
start_finishing_animation();
}
}
function preload_navigation() {
var img = new Image(), img2 = new Image();
img.src = res_left_arrow;
img2.src = res_right_arrow;
}
function show_embeds() {
manipulate_embeds("EMBED", true);
manipulate_embeds("OBJECT", true);
manipulate_embeds("INPUT", true);
manipulate_embeds("SELECT", true);
}
function hide_embeds() {
manipulate_embeds("EMBED", false);
manipulate_embeds("OBJECT", false);
manipulate_embeds("INPUT", false);
manipulate_embeds("SELECT", false);
}
function manipulate_embeds(tagname, flag) {
var embeds = document.getElementsByTagName(tagname);
if(embeds && embeds.length > 0) {
for(var i = 0, l = embeds.length; i < l; i++) {
var el = embeds[i];
el.style.visibility = flag == true? 'visible': 'hidden';
}
}
}
var secondtime = false;
function pokaz(id) {
hide_embeds();
preload_navigation();
caption = captions[id];
if(!workspace || workspace == undefined) {
requested_id = id;
current_caption = caption;
if(!backdrop) {
backdrop = create_backdrop();
append_to_workspace(backdrop);
}
if(!workspace) {
workspace = create_workspace();
append_to_workspace(workspace);
}
state = 0;
stop_animation = false;
start_animation();
}
}
// ]]>
/*


![]() |
Powiat ostrowski - powiat, którego siedzibą jest miasto Ostrów Mazowiecka, znajdujące się w województwie mazowieckim, a dokładnie w jego północno-wschodniej części. Należą do niego gminy: Ostrów Mazowiecka, Brok, Andrzejewo, Boguty-Pianki, Małkinia Górna, Nur, Ostrów Mazowiecka, Stary Lubotyń, Szulborze Wielkie, Wąsewo, Zaręby Kościelne. W ciepły wiosenny lub letni dzień koniecznie trzeba wybrać się na trasę rowerową im. prof. Wojciecha Bogumiła Jastrzębowskiego. Trasa liczy 13 km i obejmuje sosnowe bory, co zapewnia malownicze widoki. Miejsca postojowe wzdłuż trasy na pewno pozwolą zregenerować nadszarpnięte siły. Gdy je odzyskamy, z pewnością dotrzemy do końca, tak czekają na nas ruiny Zamku Biskupów Płockich w Broku i brokowska plaża. Dla wytrwalszych rowerzystów istnieje druga 33 kilometrowa trasa przebiegająca przez tereny gminy Ostrów Mazowiecka. |
Zgłoś uwagi - uzupełnij wszystkie pola
