// ******************************************************************** // // XXAPI3.0 BUILD 01/09/02 (3.0a) // Copyright (c) Y2K-1 - Y2K+1 Xycht (www.xycht.cz) // Copyright (c) Y2K - Y2K+1 Ajosu (www.ajosu.net) // // THIS FILE IS DYNAMAGICALLY GENERATED // FOR MORE INFORMATION READ XXAPI3.TXT! // // This program is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation; either version 2 of the License, or // (at your option) any later version. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. // // You should have received a copy of the GNU General Public License // along with this program; if not, write to the Free Software // Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. // // ******************************************************************** // ******************************************************************** // INCLUDED: core, images, mouse, css, layers, navbar // BROWSER OPTIMALIZATION: microsoft internet explorer document object model // BROWSER AGENT: _mozilla/4.0 (compatible; msie 5.5; windows nt 5.0) // BUILD: 01/09/02 (3.0a) // ******************************************************************** var _width = 0; var _height = 0; var blank_img = 'images/blank.gif'; var add_str = ''; var watch_timer; var _mousex = 0; var _mousey = 0; var _mouse_move_eval = ''; var _mouse_down_eval = ''; var _mouse_up_eval = ''; var css_block = ''; var lr_block = ''; var lr_dyn_count = 0; var lr_dyn_lastdestroy = 1; var nb_timer; var nb_items = new Array(); var nb_l = 0; var nb_item_w = 150; var nb_t = 0; var nb_item_h = 1; var nb_z = 1; var nb_hover_l_w = 1; var nb_hover_l_src = ''; var nb_hover_r_w = 1; var nb_hover_r_src = ''; var nb_hover_tile_src = ''; var nb_subitem_t_h = 1; var nb_subitem_w = 300; var nb_subitem_l_w = 1; var nb_subitem_l_src = ''; var nb_subitem_r_w = 1; var nb_subitem_r_src = ''; var nb_subitem_tile_src = ''; var nb_subitem_bgcolor = 'white'; var nb_subitem_bspc_h = 1; var nb_subitem_b_h = 1; var nb_subitem_b_l_src = ''; var nb_subitem_b_r_src = ''; var nb_subitem_b_tile_src = ''; var nb_waithide = false; var nb_hidetimer; var nb_rolled = -1; var nb_rolled_l = 0; var nb_rolled_r = 0; var nb_rolled_t = 0; var nb_rolled_b = 0; function browser_check() { this.agt = '_mozilla/4.0 (compatible; msie 5.5; windows nt 5.0)'; this.major = 4; this.minor = 0; this.moz = 0; this.ns = 0; this.ns2 = 0; this.ns3 = 0; this.ns4 = 0; this.ns5 = 0; this.ie = 1; this.ie3 = 0; this.ie4 = 0; this.ie5 = 0; this.ie55 = 1; this.ie6 = 0; this.opera = 0; this.webtv = 0; this.wincmd = 0; this.links = 0; this.lynx = 0; this.js = 1.3; this.win = 1; this.winnt = 1; this.win2000 = 1; this.mac = 0; this.linux = 0; this.unix = 0; this.lynx_comp = 0; this.min = 1; this.gen5 = 1; this.dom1 = false; this.domns = false; this.domie = true; this.lang = navigator.language; this.sublang = navigator.language; } function get_scr_res() { // DOMIE _width = document.body.offsetWidth; _height = document.body.offsetHeight; } function get_scr_pos_x() { // DOMIE return( document.body.scrollLeft ); } function get_scr_pos_y() { // DOMIE return( document.body.scrollTop ); } function add_reset() { add_str = ''; } function add( str ) { add_str += str + '\n'; } function add_finish() { document.writeln( add_str ); } function void_fn() { } function watch( str ) { window.status = 'DEBUG INFO: ' + str; clearTimeout( watch_timer ); watch_timer = setTimeout( 'window.status = \'\'', 2500 ); } function im_preload( img_obj, img_src ) { if ( document.images ) { eval( img_obj + ' = new Image()' ); eval( img_obj + '.src = "' + img_src + '"' ); } } function im_change( layer, img_name, img_obj ) { if ( document.images ) { if ( document.layers && layer != null ) eval( 'document.layers["' + layer + '"].document.images["' + img_name + '"].src = ' + img_obj + '.src'); else document.images[ img_name ].src = eval( img_obj + ".src" ); } } function im_swap( layer, my_obj, my_val ) { if ( document.images ) { if ( document.layers && layer != null ) eval( 'document.' + layer + '.document.images["' + my_obj + '"].src = \'' + my_val + '\'' ); else document.images[ my_obj ].src = my_val; } } function mouse_move( e ) { _mousex = event.x + document.body.scrollLeft; _mousey = event.y + document.body.scrollTop; if ( _mouse_move_eval != '' ) eval( _mouse_move_eval ); } function mouse_down( e ) { _mouse_down = true; if ( _mouse_down_eval != '' ) eval( _mouse_down_eval ); } function mouse_up( e ) { _mouse_down = false; if ( _mouse_up_eval != '' ) eval( _mouse_up_eval ); } function write_css( id, str ) { document.writeln( '' ); document.writeln(); } function css_block_reset() { css_block = ''; } function css_block_add( id, str ) { css_block += id + ' { ' + str + ' }\n'; } function css_block_finish() { document.writeln( '' ); document.writeln(); } function lr_set_pos_x( myobj, myvalx ) { if ( is.dom1 ) document.getElementById( myobj ).style.left = myvalx; else if ( is.domns ) document.layers[ myobj ].left = myvalx; else if ( is.domie ) document.all[ myobj ].style.left = myvalx; } function lr_set_pos_y( myobj, myvaly ) { if ( is.dom1 ) document.getElementById( myobj ).style.top = myvaly; else if ( is.domns ) document.layers[ myobj ].top = myvaly; else if ( is.domie ) document.all[ myobj ].style.top = myvaly; } function lr_set_pos( myobj, myvalx, myvaly ) { lr_set_pos_x( myobj, myvalx ); lr_set_pos_y( myobj, myvaly ); } function lr_set_z( myobj, myval ) { if ( is.dom1 ) document.getElementById( myobj ).style.zIndex = myval; else if ( is.domns ) document.layers[ myobj ].zIndex = myval; else if ( is.domie ) document.all[ myobj ].style.zIndex = myval; } function lr_set_clip( myobj, left, top, right, bottom ) { if ( is.dom1 ) document.getElementById( myobj ).style.clip = 'rect( ' + top + ' ' + right + ' ' + bottom + ' ' + left + ' )'; else if ( is.domns ) { document.layers[ myobj ].clip.top = top; document.layers[ myobj ].clip.left = left; document.layers[ myobj ].clip.right = right; document.layers[ myobj ].clip.bottom = bottom; } else if ( is.ie ) document.all[ myobj ].style.clip = 'rect( ' + top + ' ' + right + ' ' + bottom + ' ' + left + ' )'; } function lr_set_vis( myobj, myval ) { if ( myval == true ) { if ( is.dom1 ) document.getElementById( myobj ).style.visibility = 'visible'; else if ( is.domie ) document.all[ myobj ].style.visibility = 'visible'; else if ( is.domns ) document.layers[ myobj ].visibility = 'show'; } else { if ( is.dom1 ) document.getElementById( myobj ).style.visibility = 'hidden'; else if ( is.domie ) document.all[ myobj ].style.visibility = 'hidden'; else if ( is.domns ) document.layers[ myobj ].visibility = 'hide'; } } function lr_get_w( lyr ) { if ( is.dom1 ) return( eval( 'document.getElementById( \'' + lyr + '\' ).offsetWidth' ) ); else if ( is.domns ) return( eval( 'document.layers[ \'' + lyr + '\' ].document.width' ) ); else if ( is.domie ) return( eval( 'document.all[ \'' + lyr + '\' ].clientWidth' ) ); } function lr_get_h( lyr ) { if ( is.dom1 ) return( eval( 'document.getElementById( \'' + lyr + '\' ).offsetHeight' ) ); else if ( is.domns ) return( eval( 'document.layers[ \'' + lyr + '\' ].document.height' ) ); else if ( is.domie ) return( eval( 'document.all[ \'' + lyr + '\' ].clientHeight' ) ); } function lr_write( id, text ) { if ( is.dom1 ) { var div = document.getElementById( id ); while( div.hasChildNodes() ) div.removeChild( div.lastChild ); var range = document.createRange(); range.selectNodeContents( div ); range.collapse( true ); var cf = range.createContextualFragment( text ); div.appendChild( cf ); } else if ( is.domns ) { var lyr = document.layers[ id ].document; lyr.open(); lyr.write( text ); lyr.close(); } else if ( is.domie ) document.all[ id ].innerHTML = text; } function lr_add( name, left, top, width, height, zindex, vis, header_add, header, content ) { if ( vis != true ) vis = 'hidden'; if ( height == 0 ) write_css( '#' + name, 'position: absolute; left: ' + left + 'px; top: ' + top + 'px; width: ' + width + 'px; z-index: ' + zindex + '; visibility: ' + vis + ';' + header_add + ';' ); else write_css( '#' + name, 'position: absolute; left: ' + left + 'px; top: ' + top + 'px; width: ' + width + 'px; height: ' + height + 'px; z-index: ' + zindex + '; visibility: ' + vis + ';' + header_add + ';' ); add_reset(); add( '