var is = new Is(); var n=0; var net=0; function Is() { this.ver=navigator.appVersion this.agent=navigator.userAgent.toLowerCase() this.dom=document.getElementById?1:0 this.op5=(this.agent.indexOf("opera 5")>-1 || this.agent.indexOf("opera/5")>-1) && window.opera this.op6=(this.agent.indexOf("opera 6")>-1 || this.agent.indexOf("opera/6")>-1) && window.opera this.ie5 = (this.agent.indexOf("msie 5")>-1 && !this.op5 && !this.op6) this.ie55 = (this.ie5 && this.agent.indexOf("msie 5.5")>-1) this.ie6 = (this.agent.indexOf("msie 6")>-1 && !this.op5 && !this.op6) this.ie4=(this.agent.indexOf("msie")>-1 && document.all &&!this.op5 &&!this.op6 &&!this.ie5&&!this.ie6) this.ie = (this.ie4 || this.ie5 || this.ie6) this.mac=(this.agent.indexOf("mac")>-1) this.ns6=(this.agent.indexOf("gecko")>-1 || window.sidebar) this.ns4=(!this.dom && document.layers)?1:0; this.bw=(this.ie6 || this.ie5 || this.ie4 || this.ns4 || this.ns6 || this.op5 || this.op6) this.usedom= this.ns6//Use dom creation this.reuse = this.ie||this.usedom //Reuse layers this.px=this.dom&&!this.op5?"px":"" return this } var delta = 0; var start_x=0; var start_y=0; var xpos; var ypos; function popmousemove(e) { ypos=is.ns4?e.pageY:event.y if(ypos>240) lha(); } function init_layer() { if(is.ns4) { delta = -8; d5_60Obj = eval('document.'+'d5_60'); d5_61Obj = eval('document.'+'d5_61'); d5_63Obj = eval('document.'+'d5_63'); d5_64Obj = eval('document.'+'d5_64'); } if(is.ie) { d5_60Obj = document.all['d5_60'].style; d5_61Obj = document.all['d5_61'].style; d5_63Obj = document.all['d5_63'].style; d5_64Obj = document.all['d5_64'].style; document.onmousemove=popmousemove; } else if(is.dom==1) { d5_60Obj = document.getElementById('d5_60').style; d5_61Obj = document.getElementById('d5_61').style; d5_63Obj = document.getElementById('d5_63').style; d5_64Obj = document.getElementById('d5_64').style; } } function position() { start_y = available_height-50; if(available_width<760) { start_pos = 30; start_x = start_pos; } else { start_pos = delta+(available_width-730)/2; start_x = start_pos; } layer1('d5_60', start_pos+168, 140, 0); layer1('d5_61', start_pos+168, 162, 0); layer1('d5_63', start_pos+168, 184, 0); layer1('d5_64', start_pos+168, 206, 0); vybor('d5_60', 0); vybor('d5_61', 0); vybor('d5_63', 0); vybor('d5_64', 0); } function lha() { lh('d5_60'); lh('d5_61'); lh('d5_63'); lh('d5_64'); } function lva(ln) { switch(ln) { case 2:case 3: break; break; case 5: lv('d5_60'); lv('d5_61'); lv('d5_63'); lv('d5_64'); break; case 4: break; case 56: break; case 57: break; } } function lv(ln) { var lr = eval(ln + "Obj"); lr.visibility = "visible"; } function lh(ln) { var lr = eval(ln + "Obj"); lr.visibility = "hidden"; } function layer1(ln, x, y, num) { var sup1 = eval(ln + "Obj"); sup1.left = x; sup1.top = y; if(num==1) sup1.visibility = "visible"; else sup1.visibility = "hidden"; } function vybor(ln, key) { var status=0; lha(); lva(ln); }