
/***********************************************
* Image w/ description tooltip- By Dynamic Web Coding
* Copyright 2002-2007 by Sharon Paine
***********************************************/

var dom = (document.getElementById) ? true : false;
var ns5 = (!document.all && dom || window.opera) ? true: false;
var ie5 = ((navigator.userAgent.indexOf("MSIE")>-1) && dom) ? true : false;
var ie4 = (document.all && !dom) ? true : false;
var nodyn = (!ns5 && !ie4 && !ie5 && !dom) ? true : false;

var origWidth, origHeight;

// avoid error of passing event object in older browsers
if (nodyn) { event = "nope" }

///////////////////////  CUSTOMIZE HERE   ////////////////////
// settings for tooltip
// Do you want tip to move when mouse moves over link?
var tipFollowMouse= true;
// Be sure to set tipWidth wide enough for widest image
var tipWidth= 0;
var offX= 20;	// how far from mouse to show tip
var offY= 12;
var tipFontFamily= "Verdana, arial, helvetica, sans-serif";
var tipFontSize= "8pt";
// set default text color and background color for tooltip here
// individual tooltips can have their own (set in messages arrays)
// but don't have to
var tipFontColor= "#000000";
var tipBgColor= "#efefef";
var tipBorderColor= "#1F4C79";
var tipBorderWidth= 0;
var tipBorderStyle= "ridge";
var tipPadding= 0;

// tooltip content goes here (image, description, optional bgColor, optional textcolor)
var messages = new Array();
// multi-dimensional arrays containing:
// image and text for tooltip
// optional: bgColor and color to be sent to tooltip

/*
messages[0] = new Array('images/sztukateria_arstyl_profile_ozdobne/sztukateria_arstyl_profile_ozdobne_ac1.jpg','',"#ffffff");
messages[1] = new Array('images/sztukateria_arstyl_profile_ozdobne/sztukateria_arstyl_profile_ozdobne_l1.jpg','',"#FFFFFF");
messages[2] = new Array('images/sztukateria_arstyl_profile_ozdobne/sztukateria_arstyl_profile_ozdobne_l2.jpg','',"#FFFFFF");
messages[3] = new Array('images/sztukateria_arstyl_profile_ozdobne/sztukateria_arstyl_profile_ozdobne_l3.jpg','',"#FFFFFF");
messages[4] = new Array('images/sztukateria_arstyl_profile_ozdobne/sztukateria_arstyl_profile_ozdobne_l4.jpg','',"#FFFFFF");
messages[5] = new Array('images/sztukateria_arstyl_profile_ozdobne/sztukateria_arstyl_profile_ozdobne_l5.jpg','',"#FFFFFF");
messages[6] = new Array('images/sztukateria_arstyl_profile_ozdobne/sztukateria_arstyl_profile_ozdobne_sp1.jpg','',"#FFFFFF");
messages[7] = new Array('images/sztukateria_arstyl_profile_ozdobne/sztukateria_arstyl_profile_ozdobne_sp2.jpg','',"#FFFFFF");
messages[8] = new Array('images/sztukateria_arstyl_profile_ozdobne/sztukateria_arstyl_profile_ozdobne_sp_2_4.jpg','',"#FFFFFF");
messages[9] = new Array('images/sztukateria_arstyl_profile_ozdobne/sztukateria_arstyl_profile_ozdobne_sp_2_5.jpg','',"#FFFFFF");
messages[10] = new Array('images/sztukateria_arstyl_profile_ozdobne/sztukateria_arstyl_profile_ozdobne_sp3.jpg','',"#FFFFFF");
messages[11] = new Array('images/sztukateria_arstyl_profile_ozdobne/sztukateria_arstyl_profile_ozdobne_sp3_3.jpg','',"#FFFFFF");
messages[12] = new Array('images/sztukateria_arstyl_profile_ozdobne/sztukateria_arstyl_profile_ozdobne_sp3_4.jpg','',"#FFFFFF");
messages[13] = new Array('images/sztukateria_arstyl_profile_ozdobne/sztukateria_arstyl_profile_ozdobne_sp3_6.jpg','',"#FFFFFF");
messages[14] = new Array('images/sztukateria_arstyl_profile_ozdobne/sztukateria_arstyl_profile_ozdobne_sp3_7.jpg','',"#FFFFFF");
messages[15] = new Array('images/sztukateria_arstyl_profile_ozdobne/sztukateria_arstyl_profile_ozdobne_z1.jpg','',"#FFFFFF");
messages[16] = new Array('images/sztukateria_arstyl_profile_ozdobne/sztukateria_arstyl_profile_ozdobne_z10.jpg','',"#FFFFFF");
messages[17] = new Array('images/sztukateria_arstyl_profile_ozdobne/sztukateria_arstyl_profile_ozdobne_z101.jpg','',"#FFFFFF");
messages[18] = new Array('images/sztukateria_arstyl_profile_ozdobne/sztukateria_arstyl_profile_ozdobne_z102.jpg','',"#FFFFFF");
messages[19] = new Array('images/sztukateria_arstyl_profile_ozdobne/sztukateria_arstyl_profile_ozdobne_z103.jpg','',"#FFFFFF");
messages[20] = new Array('images/sztukateria_arstyl_profile_ozdobne/sztukateria_arstyl_profile_ozdobne_z104.jpg','',"#FFFFFF");
messages[21] = new Array('images/sztukateria_arstyl_profile_ozdobne/sztukateria_arstyl_profile_ozdobne_z11.jpg','',"#FFFFFF");
messages[22] = new Array('images/sztukateria_arstyl_profile_ozdobne/sztukateria_arstyl_profile_ozdobne_z12.jpg','',"#FFFFFF");
messages[23] = new Array('images/sztukateria_arstyl_profile_ozdobne/sztukateria_arstyl_profile_ozdobne_z1220.jpg','',"#FFFFFF");
messages[24] = new Array('images/sztukateria_arstyl_profile_ozdobne/sztukateria_arstyl_profile_ozdobne_z1240.jpg','',"#FFFFFF");
messages[25] = new Array('images/sztukateria_arstyl_profile_ozdobne/sztukateria_arstyl_profile_ozdobne_z1250.jpg','',"#FFFFFF");
messages[26] = new Array('images/sztukateria_arstyl_profile_ozdobne/sztukateria_arstyl_profile_ozdobne_z13.jpg','',"#FFFFFF");
messages[27] = new Array('images/sztukateria_arstyl_profile_ozdobne/sztukateria_arstyl_profile_ozdobne_z15.jpg','',"#FFFFFF");
messages[28] = new Array('images/sztukateria_arstyl_profile_ozdobne/sztukateria_arstyl_profile_ozdobne_z1550.jpg','',"#FFFFFF");
messages[29] = new Array('images/sztukateria_arstyl_profile_ozdobne/sztukateria_arstyl_profile_ozdobne_z16.jpg','',"#FFFFFF");
messages[30] = new Array('images/sztukateria_arstyl_profile_ozdobne/sztukateria_arstyl_profile_ozdobne_z17.jpg','',"#FFFFFF");
messages[31] = new Array('images/sztukateria_arstyl_profile_ozdobne/sztukateria_arstyl_profile_ozdobne_z18.jpg','',"#FFFFFF");
messages[32] = new Array('images/sztukateria_arstyl_profile_ozdobne/sztukateria_arstyl_profile_ozdobne_z19.jpg','',"#FFFFFF");
messages[33] = new Array('images/sztukateria_arstyl_profile_ozdobne/sztukateria_arstyl_profile_ozdobne_z2.jpg','',"#FFFFFF");
messages[34] = new Array('images/sztukateria_arstyl_profile_ozdobne/sztukateria_arstyl_profile_ozdobne_z20.jpg','',"#FFFFFF");
messages[35] = new Array('images/sztukateria_arstyl_profile_ozdobne/sztukateria_arstyl_profile_ozdobne_z21.jpg','',"#FFFFFF");
messages[36] = new Array('images/sztukateria_arstyl_profile_ozdobne/sztukateria_arstyl_profile_ozdobne_z22.jpg','',"#FFFFFF");
messages[37] = new Array('images/sztukateria_arstyl_profile_ozdobne/sztukateria_arstyl_profile_ozdobne_z24.jpg','',"#FFFFFF");
messages[38] = new Array('images/sztukateria_arstyl_profile_ozdobne/sztukateria_arstyl_profile_ozdobne_z3.jpg','',"#FFFFFF");
messages[39] = new Array('images/sztukateria_arstyl_profile_ozdobne/sztukateria_arstyl_profile_ozdobne_z30.jpg','',"#FFFFFF");
messages[40] = new Array('images/sztukateria_arstyl_profile_ozdobne/sztukateria_arstyl_profile_ozdobne_z31.jpg','',"#FFFFFF");
messages[41] = new Array('images/sztukateria_arstyl_profile_ozdobne/sztukateria_arstyl_profile_ozdobne_z32.jpg','',"#FFFFFF");
messages[42] = new Array('images/sztukateria_arstyl_profile_ozdobne/sztukateria_arstyl_profile_ozdobne_z4.jpg','',"#FFFFFF");
messages[43] = new Array('images/sztukateria_arstyl_profile_ozdobne/sztukateria_arstyl_profile_ozdobne_z40.jpg','',"#FFFFFF");
messages[44] = new Array('images/sztukateria_arstyl_profile_ozdobne/sztukateria_arstyl_profile_ozdobne_z41.jpg','',"#FFFFFF");
messages[45] = new Array('images/sztukateria_arstyl_profile_ozdobne/sztukateria_arstyl_profile_ozdobne_z42.jpg','',"#FFFFFF");
messages[46] = new Array('images/sztukateria_arstyl_profile_ozdobne/sztukateria_arstyl_profile_ozdobne_z5.jpg','',"#FFFFFF");
messages[47] = new Array('images/sztukateria_arstyl_profile_ozdobne/sztukateria_arstyl_profile_ozdobne_z51.jpg','',"#FFFFFF");
messages[48] = new Array('images/sztukateria_arstyl_profile_ozdobne/sztukateria_arstyl_profile_ozdobne_z52.jpg','',"#FFFFFF");
messages[49] = new Array('images/sztukateria_arstyl_profile_ozdobne/sztukateria_arstyl_profile_ozdobne_z6.jpg','',"#FFFFFF");
messages[50] = new Array('images/sztukateria_arstyl_profile_ozdobne/sztukateria_arstyl_profile_ozdobne_z7.jpg','',"#FFFFFF");
messages[51] = new Array('images/sztukateria_arstyl_profile_ozdobne/sztukateria_arstyl_profile_ozdobne_z8.jpg','',"#FFFFFF");
messages[52] = new Array('images/sztukateria_arstyl_profile_ozdobne/sztukateria_arstyl_profile_ozdobne_z9.jpg','',"#FFFFFF");
messages[53] = new Array('images/sztukateria_arstyl_profile_ozdobne/sztukateria_arstyl_profile_ozdobne_z40.jpg','',"#FFFFFF");
messages[54] = new Array('images/sztukateria_arstyl_profile_ozdobne/sztukateria_arstyl_profile_ozdobne_z41.jpg','',"#FFFFFF");
messages[55] = new Array('images/sztukateria_arstyl_profile_ozdobne/sztukateria_arstyl_profile_ozdobne_z42.jpg','',"#FFFFFF");
messages[56] = new Array('images/sztukateria_arstyl_profile_ozdobne/sztukateria_arstyl_profile_ozdobne_z5.jpg','',"#FFFFFF");
messages[57] = new Array('images/sztukateria_arstyl_profile_ozdobne/sztukateria_arstyl_profile_ozdobne_z51.jpg','',"#FFFFFF");
messages[58] = new Array('images/sztukateria_arstyl_profile_ozdobne/sztukateria_arstyl_profile_ozdobne_z52.jpg','',"#FFFFFF");

// pilastry

messages[59] = new Array('images/arstyl_pilastry/arstyl_pilastry_pb1.jpg','',"#FFFFFF");
messages[60] = new Array('images/arstyl_pilastry/arstyl_pilastry_pb2.jpg','',"#FFFFFF");
messages[61] = new Array('images/arstyl_pilastry/arstyl_pilastry_pc1.jpg','',"#FFFFFF");
messages[62] = new Array('images/arstyl_pilastry/arstyl_pilastry_pc2.jpg','',"#FFFFFF");
messages[63] = new Array('images/arstyl_pilastry/arstyl_pilastry_pp1.jpg','',"#FFFFFF");
messages[64] = new Array('images/arstyl_pilastry/arstyl_pilastry_pp2.jpg','',"#FFFFFF");

// rozety

messages[65] = new Array('images/arstyl_rozety/rozety_cn1.jpg','',"#FFFFFF");
messages[66] = new Array('images/arstyl_rozety/rozety_cn2.jpg','',"#FFFFFF");
messages[67] = new Array('images/arstyl_rozety/rozety_cn3.jpg','',"#FFFFFF");
messages[68] = new Array('images/arstyl_rozety/rozety_n1.jpg','',"#FFFFFF");
messages[69] = new Array('images/arstyl_rozety/rozety_n2.jpg','',"#FFFFFF");
messages[70] = new Array('images/arstyl_rozety/rozety_r1.jpg','',"#FFFFFF");
messages[71] = new Array('images/arstyl_rozety/rozety_r10.jpg','',"#FFFFFF");
messages[72] = new Array('images/arstyl_rozety/rozety_r11.jpg','',"#FFFFFF");
messages[73] = new Array('images/arstyl_rozety/rozety_r12.jpg','',"#FFFFFF");
messages[74] = new Array('images/arstyl_rozety/rozety_r13.jpg','',"#FFFFFF");
messages[75] = new Array('images/arstyl_rozety/rozety_r14.jpg','',"#FFFFFF");
messages[76] = new Array('images/arstyl_rozety/rozety_r1410.jpg','',"#FFFFFF");
messages[77] = new Array('images/arstyl_rozety/rozety_r1420.jpg','',"#FFFFFF");
messages[78] = new Array('images/arstyl_rozety/rozety_r15.jpg','',"#FFFFFF");
messages[79] = new Array('images/arstyl_rozety/rozety_r1516.jpg','',"#FFFFFF");
messages[80] = new Array('images/arstyl_rozety/rozety_r1517.jpg','',"#FFFFFF");
messages[81] = new Array('images/arstyl_rozety/rozety_r1520.jpg','',"#FFFFFF");
messages[82] = new Array('images/arstyl_rozety/rozety_r16.jpg','',"#FFFFFF");
messages[83] = new Array('images/arstyl_rozety/rozety_r17.jpg','',"#FFFFFF");
messages[84] = new Array('images/arstyl_rozety/rozety_r18.jpg','',"#FFFFFF");
messages[85] = new Array('images/arstyl_rozety/rozety_r19.jpg','',"#FFFFFF");
messages[86] = new Array('images/arstyl_rozety/rozety_r2.jpg','',"#FFFFFF");
messages[87] = new Array('images/arstyl_rozety/rozety_r20.jpg','',"#FFFFFF");
messages[88] = new Array('images/arstyl_rozety/rozety_r21.jpg','',"#FFFFFF");
messages[89] = new Array('images/arstyl_rozety/rozety_r22.jpg','',"#FFFFFF");
messages[90] = new Array('images/arstyl_rozety/rozety_r23.jpg','',"#FFFFFF");
messages[91] = new Array('images/arstyl_rozety/rozety_r24.jpg','',"#FFFFFF");
messages[92] = new Array('images/arstyl_rozety/rozety_r25.jpg','',"#FFFFFF");
messages[93] = new Array('images/arstyl_rozety/rozety_r3.jpg','',"#FFFFFF");
messages[94] = new Array('images/arstyl_rozety/rozety_r30.jpg','',"#FFFFFF");
messages[95] = new Array('images/arstyl_rozety/rozety_r4.jpg','',"#FFFFFF");
messages[96] = new Array('images/arstyl_rozety/rozety_r5.jpg','',"#FFFFFF");
messages[97] = new Array('images/arstyl_rozety/rozety_r50.jpg','',"#FFFFFF");
messages[98] = new Array('images/arstyl_rozety/rozety_r51.jpg','',"#FFFFFF");
messages[99] = new Array('images/arstyl_rozety/rozety_r52.jpg','',"#FFFFFF");
messages[100] = new Array('images/arstyl_rozety/rozety_r6.jpg','',"#FFFFFF");
messages[101] = new Array('images/arstyl_rozety/rozety_r7.jpg','',"#FFFFFF");
messages[102] = new Array('images/arstyl_rozety/rozety_r8.jpg','',"#FFFFFF");
messages[103] = new Array('images/arstyl_rozety/rozety_r9.jpg','',"#FFFFFF");

// kolumny arstyl

messages[104] = new Array('images/arstyl_kolumny/arstyl_kolumny_fs2.jpg','',"#FFFFFF");
messages[105] = new Array('images/arstyl_kolumny/arstyl_kolumny_modern.jpg','',"#FFFFFF");
messages[106] = new Array('images/arstyl_kolumny/arstyl_kolumny_roman.jpg','',"#FFFFFF");
messages[107] = new Array('images/arstyl_kolumny/arstyl_kolumny_scamozzi.jpg','',"#FFFFFF");
messages[108] = new Array('images/arstyl_kolumny/arstyl_kolumny_sh3.jpg','',"#FFFFFF");
messages[109] = new Array('images/arstyl_kolumny/arstyl_kolumny_ss3.jpg','',"#FFFFFF");
messages[110] = new Array('images/arstyl_kolumny/arstyl_kolumny_toscani.jpg','',"#FFFFFF");
messages[111] = new Array('images/arstyl_kolumny/arstyl_kolumny_tuscanbase.jpg','',"#FFFFFF");

// domostyl

messages[112] = new Array('images/domostyl/domostyl_ba10.jpg','',"#FFFFFF");
messages[113] = new Array('images/domostyl/domostyl_ba11.jpg','',"#FFFFFF");
messages[114] = new Array('images/domostyl/domostyl_ca10.jpg','',"#FFFFFF");
messages[115] = new Array('images/domostyl/domostyl_ca11.jpg','',"#FFFFFF");
messages[116] = new Array('images/domostyl/domostyl_ca12.jpg','',"#FFFFFF");
messages[117] = new Array('images/domostyl/domostyl_fa10.jpg','',"#FFFFFF");
messages[118] = new Array('images/domostyl/domostyl_fa11.jpg','',"#FFFFFF");
messages[119] = new Array('images/domostyl/domostyl_fa12.jpg','',"#FFFFFF");
messages[120] = new Array('images/domostyl/domostyl_fa13.jpg','',"#FFFFFF");
messages[121] = new Array('images/domostyl/domostyl_fa14.jpg','',"#FFFFFF");
messages[122] = new Array('images/domostyl/domostyl_fa15.jpg','',"#FFFFFF");
messages[123] = new Array('images/domostyl/domostyl_ga1.jpg','',"#FFFFFF");
messages[124] = new Array('images/domostyl/domostyl_ga2.jpg','',"#FFFFFF");
messages[125] = new Array('images/domostyl/domostyl_ga3.jpg','',"#FFFFFF");
messages[126] = new Array('images/domostyl/domostyl_ga4.jpg','',"#FFFFFF");
messages[127] = new Array('images/domostyl/domostyl_ma1.jpg','',"#FFFFFF");
messages[128] = new Array('images/domostyl/domostyl_ma10.jpg','',"#FFFFFF");
messages[129] = new Array('images/domostyl/domostyl_ma11.jpg','',"#FFFFFF");
messages[130] = new Array('images/domostyl/domostyl_ma12.jpg','',"#FFFFFF");
messages[131] = new Array('images/domostyl/domostyl_ma13.jpg','',"#FFFFFF");
messages[132] = new Array('images/domostyl/domostyl_ma2.jpg','',"#FFFFFF");
messages[133] = new Array('images/domostyl/domostyl_ma20.jpg','',"#FFFFFF");
messages[134] = new Array('images/domostyl/domostyl_ma21.jpg','',"#FFFFFF");
messages[135] = new Array('images/domostyl/domostyl_ma22.jpg','',"#FFFFFF");
messages[136] = new Array('images/domostyl/domostyl_ma3.jpg','',"#FFFFFF");
messages[137] = new Array('images/domostyl/domostyl_na.jpg','',"#FFFFFF");
messages[138] = new Array('images/domostyl/domostyl_sa1.jpg','',"#FFFFFF");
messages[139] = new Array('images/domostyl/domostyl_sa2.jpg','',"#FFFFFF");
messages[199] = new Array('images/domostyl/domostyl_ma14.jpg','',"#FFFFFF");
messages[200] = new Array('images/domostyl/domostyl_ma15.jpg','',"#FFFFFF");
messages[201] = new Array('images/domostyl/domostyl_ma16.jpg','',"#FFFFFF");

// wallstyl

messages[140] = new Array('images/listwy_podlogowe_wallstyl/listwy_podlogowe_wallstyl_w01.jpg','',"#FFFFFF");
messages[141] = new Array('images/listwy_podlogowe_wallstyl/listwy_podlogowe_wallstyl_w02.jpg','',"#FFFFFF");
messages[142] = new Array('images/listwy_podlogowe_wallstyl/listwy_podlogowe_wallstyl_w03.jpg','',"#FFFFFF");
messages[143] = new Array('images/listwy_podlogowe_wallstyl/listwy_podlogowe_wallstyl_wl1.jpg','',"#FFFFFF");
messages[144] = new Array('images/listwy_podlogowe_wallstyl/listwy_podlogowe_wallstyl_wl2.jpg','',"#FFFFFF");
messages[145] = new Array('images/listwy_podlogowe_wallstyl/listwy_podlogowe_wallstyl_wl3.jpg','',"#FFFFFF");
messages[146] = new Array('images/listwy_podlogowe_wallstyl/listwy_podlogowe_wallstyl_wl4.jpg','',"#FFFFFF");
messages[147] = new Array('images/listwy_podlogowe_wallstyl/listwy_podlogowe_wallstyl_wl5.jpg','',"#FFFFFF");

// floorstyl

messages[148] = new Array('images/listwy_podlogowe_floorstyl/listwy_podlogowe_floorstyl_f01.jpg','',"#FFFFFF");
messages[149] = new Array('images/listwy_podlogowe_floorstyl/listwy_podlogowe_floorstyl_f02.jpg','',"#FFFFFF");
messages[150] = new Array('images/listwy_podlogowe_floorstyl/listwy_podlogowe_floorstyl_fl1.jpg','',"#FFFFFF");
messages[151] = new Array('images/listwy_podlogowe_floorstyl/listwy_podlogowe_floorstyl_fl2.jpg','',"#FFFFFF");
messages[152] = new Array('images/listwy_podlogowe_floorstyl/listwy_podlogowe_floorstyl_fl3.jpg','',"#FFFFFF");
messages[153] = new Array('images/listwy_podlogowe_floorstyl/listwy_podlogowe_floorstyl_fl4.jpg','',"#FFFFFF");
messages[154] = new Array('images/listwy_podlogowe_floorstyl/listwy_podlogowe_floorstyl_fl5.jpg','',"#FFFFFF");
messages[155] = new Array('images/listwy_podlogowe_floorstyl/listwy_podlogowe_floorstyl_fl6.jpg','',"#FFFFFF");
messages[156] = new Array('images/listwy_podlogowe_floorstyl/listwy_podlogowe_floorstyl_fl7.jpg','',"#FFFFFF");
messages[157] = new Array('images/listwy_podlogowe_floorstyl/listwy_podlogowe_floorstyl_fl8.jpg','',"#FFFFFF");

// normastyl

messages[158] = new Array('images/sztukateria_nomastyl/sztukateria_nomastyl_a.jpg','',"#FFFFFF");
messages[159] = new Array('images/sztukateria_nomastyl/sztukateria_nomastyl_a1.jpg','',"#FFFFFF");
messages[160] = new Array('images/sztukateria_nomastyl/sztukateria_nomastyl_a2.jpg','',"#FFFFFF");
messages[161] = new Array('images/sztukateria_nomastyl/sztukateria_nomastyl_a3.jpg','',"#FFFFFF");
messages[162] = new Array('images/sztukateria_nomastyl/sztukateria_nomastyl_at.jpg','',"#FFFFFF");
messages[163] = new Array('images/sztukateria_nomastyl/sztukateria_nomastyl_b1.jpg','',"#FFFFFF");
messages[164] = new Array('images/sztukateria_nomastyl/sztukateria_nomastyl_b2.jpg','',"#FFFFFF");
messages[165] = new Array('images/sztukateria_nomastyl/sztukateria_nomastyl_b5.jpg','',"#FFFFFF");
messages[166] = new Array('images/sztukateria_nomastyl/sztukateria_nomastyl_c.jpg','',"#FFFFFF");
messages[167] = new Array('images/sztukateria_nomastyl/sztukateria_nomastyl_d.jpg','',"#FFFFFF");
messages[168] = new Array('images/sztukateria_nomastyl/sztukateria_nomastyl_e.jpg','',"#FFFFFF");
messages[169] = new Array('images/sztukateria_nomastyl/sztukateria_nomastyl_f.jpg','',"#FFFFFF");
messages[170] = new Array('images/sztukateria_nomastyl/sztukateria_nomastyl_gr.jpg','',"#FFFFFF");
messages[171] = new Array('images/sztukateria_nomastyl/sztukateria_nomastyl_h.jpg','',"#FFFFFF");
messages[172] = new Array('images/sztukateria_nomastyl/sztukateria_nomastyl_i.jpg','',"#FFFFFF");
messages[173] = new Array('images/sztukateria_nomastyl/sztukateria_nomastyl_j.jpg','',"#FFFFFF");
messages[174] = new Array('images/sztukateria_nomastyl/sztukateria_nomastyl_k.jpg','',"#FFFFFF");
messages[175] = new Array('images/sztukateria_nomastyl/sztukateria_nomastyl_m1.jpg','',"#FFFFFF");
messages[176] = new Array('images/sztukateria_nomastyl/sztukateria_nomastyl_m2.jpg','',"#FFFFFF");
messages[177] = new Array('images/sztukateria_nomastyl/sztukateria_nomastyl_n.jpg','',"#FFFFFF");
messages[178] = new Array('images/sztukateria_nomastyl/sztukateria_nomastyl_n24.jpg','',"#FFFFFF");
messages[179] = new Array('images/sztukateria_nomastyl/sztukateria_nomastyl_o.jpg','',"#FFFFFF");
messages[180] = new Array('images/sztukateria_nomastyl/sztukateria_nomastyl_o16.jpg','',"#FFFFFF");
messages[181] = new Array('images/sztukateria_nomastyl/sztukateria_nomastyl_o24.jpg','',"#FFFFFF");
messages[182] = new Array('images/sztukateria_nomastyl/sztukateria_nomastyl_qr.jpg','',"#FFFFFF");
messages[183] = new Array('images/sztukateria_nomastyl/sztukateria_nomastyl_sm.jpg','',"#FFFFFF");
messages[184] = new Array('images/sztukateria_nomastyl/sztukateria_nomastyl_ti.jpg','',"#FFFFFF");
messages[185] = new Array('images/sztukateria_nomastyl/sztukateria_nomastyl_tl.jpg','',"#FFFFFF");

// floorstyl2

messages[186] = new Array('images/listwy_podlogowe_floorstyl/listwy_podlogowe_floorstyl_fd1.jpg','',"#FFFFFF");
messages[187] = new Array('images/listwy_podlogowe_floorstyl/listwy_podlogowe_floorstyl_fd2.jpg','',"#FFFFFF");
messages[188] = new Array('images/listwy_podlogowe_floorstyl/listwy_podlogowe_floorstyl_fd3.jpg','',"#FFFFFF");
messages[189] = new Array('images/listwy_podlogowe_floorstyl/listwy_podlogowe_floorstyl_fd21.jpg','',"#FFFFFF");
messages[190] = new Array('images/listwy_podlogowe_floorstyl/listwy_podlogowe_floorstyl_fd22.jpg','',"#FFFFFF");

// artdeco
messages[191] = new Array('images/artdeco/ad21.jpg','',"#FFFFFF");
messages[192] = new Array('images/artdeco/ad22.jpg','',"#FFFFFF");
messages[193] = new Array('images/artdeco/ad23.jpg','',"#FFFFFF");
messages[194] = new Array('images/artdeco/fd21.jpg','',"#FFFFFF");
messages[195] = new Array('images/artdeco/fd22.jpg','',"#FFFFFF");
messages[196] = new Array('images/artdeco/wt24.jpg','',"#FFFFFF");
messages[197] = new Array('images/artdeco/wt25.jpg','',"#FFFFFF");
messages[198] = new Array('images/artdeco/wt26.jpg','',"#FFFFFF");
*/

////////////////////  END OF CUSTOMIZATION AREA  ///////////////////

if (document.images) {
	var theImgs = new Array();
	for (var i=0; i<messages.length; i++) {
  	theImgs[i] = new Image();
		theImgs[i].src = messages[i][0];
  }
}

var startStr = '<table width="' + tipWidth + '"><tr><td align="center" width="100%"><img src="';
var midStr = '" border="0"></td></tr><tr><td valign="top">';
var endStr = '</td></tr></table>';

var tooltip, tipcss;
function initTip() {
	if (nodyn) return;
	tooltip = (ie4)? document.all['tipDiv']: (ie5||ns5)? document.getElementById('tipDiv'): null;
	tipcss = tooltip.style;
	if (ie4||ie5||ns5) {	// ns4 would lose all this on rewrites
		tipcss.width = tipWidth+"px";
		tipcss.fontFamily = tipFontFamily;
		tipcss.fontSize = tipFontSize;
		tipcss.color = tipFontColor;
		tipcss.backgroundColor = tipBgColor;
		tipcss.borderColor = tipBorderColor;
		tipcss.borderWidth = tipBorderWidth+"px";
		tipcss.padding = tipPadding+"px";
		tipcss.borderStyle = tipBorderStyle;
	}
	if (tooltip&&tipFollowMouse) {
		document.onmousemove = trackMouse;
	}
}

window.onload = initTip;

var t1,t2;	// for setTimeouts
var tipOn = false;	// check if over tooltip link
function doTooltip(evt,num) {
	if (!tooltip) return;
	if (t1) clearTimeout(t1);	if (t2) clearTimeout(t2);
	tipOn = true;
	// set colors if included in messages array
	if (messages[num][2])	var curBgColor = messages[num][2];
	else curBgColor = tipBgColor;
	if (messages[num][3])	var curFontColor = messages[num][3];
	else curFontColor = tipFontColor;
	if (ie4||ie5||ns5) {
		var tip = startStr + messages[num][0] + midStr + '<span style="font-family:' + tipFontFamily + '; font-size:' + tipFontSize + '; color:' + curFontColor + ';">' + messages[num][1] + '</span>' + endStr;
		tipcss.backgroundColor = curBgColor;
	 	tooltip.innerHTML = tip;
	}
	if (!tipFollowMouse) positionTip(evt);
	else t1=setTimeout("tipcss.visibility='visible'",100);
}

var mouseX, mouseY;
function trackMouse(evt) {
	standardbody=(document.compatMode=="CSS1Compat")? document.documentElement : document.body //create reference to common "body" across doctypes
	mouseX = (ns5)? evt.pageX: window.event.clientX + standardbody.scrollLeft;
	mouseY = (ns5)? evt.pageY: window.event.clientY + standardbody.scrollTop;
	if (tipOn) positionTip(evt);
}

function positionTip(evt) {
	if (!tipFollowMouse) {
		mouseX = (ns5)? evt.pageX: window.event.clientX + standardbody.scrollLeft;
		mouseY = (ns5)? evt.pageY: window.event.clientY + standardbody.scrollTop;
	}
	// tooltip width and height
	var tpWd = (ie4||ie5)? tooltip.clientWidth: tooltip.offsetWidth;
	var tpHt = (ie4||ie5)? tooltip.clientHeight: tooltip.offsetHeight;
	// document area in view (subtract scrollbar width for ns)
	var winWd = (ns5)? window.innerWidth-20+window.pageXOffset: standardbody.clientWidth+standardbody.scrollLeft;
	var winHt = (ns5)? window.innerHeight-20+window.pageYOffset: standardbody.clientHeight+standardbody.scrollTop;
	// check mouse position against tip and window dimensions
	// and position the tooltip
	if ((mouseX+offX+tpWd)>winWd)
		tipcss.left = mouseX-(tpWd+offX)+"px";
	else tipcss.left = mouseX+offX+"px";
	if ((mouseY+offY+tpHt)>winHt)
		tipcss.top = winHt-(tpHt+offY)+"px";
	else tipcss.top = mouseY+offY+"px";
	if (!tipFollowMouse) t1=setTimeout("tipcss.visibility='visible'",100);
}

function hideTip() {
	if (!tooltip) return;
	t2=setTimeout("tipcss.visibility='hidden'",100);
	tipOn = false;
}

document.write('<div id="tipDiv" style="position:absolute; visibility:hidden; z-index:100"></div>')

