// QuickMenu Pro, Copyright (c) 1998 - 2003, OpenCube Inc. - http://www.opencube.com var nonsecureurl = "http://www.mydogtess.com" var secureurl = "https://www.mydogtess.com" var siteurl = nonsecureurl // Determine whether browser is okay var okbrowser = (navigator.userAgent.indexOf("Safari")>-1)?false:true; // Set file location dqm__codebase = "/lib/menus/script/" /*------------------------------------------- Colors, Borders, Dividers, and more... --------------------------------------------*/ dqm__sub_menu_width = 175 //default sub menu widths dqm__sub_xy = "-55,-5" //default sub x,y coordinates - defined relative //to the top-left corner of parent image or sub menu dqm__urltarget = "_self" //default URL target: _self, //_parent, _new, or "my frame name" dqm__divider_height = 0 dqm__border_width = 0 dqm__border_color = "transparent" //Hex color or 'transparent' if (okbrowser) dqm__menu_bgcolor = "transparent" //Hex color or 'transparent' else dqm__menu_bgcolor = "#ffffff" dqm__mouse_off_delay = 0 //defined in milliseconds (activated after mouse stops) dqm__nn4_mouse_off_delay = 0 //defined in milliseconds (activated after leaving sub) /*------------------------------------------- Font settings and margins --------------------------------------------*/ //Font settings dqm__textcolor = "#000000" dqm__fontfamily = "Helvetica,Arial" //Any available system font dqm__fontsize = 11 //Defined with pixel sizing dqm__fontsize_ie4 = 9 //Defined with point sizing dqm__textdecoration = "normal" //set to: 'normal', or 'underline' dqm__fontweight = "normal" //set to: 'normal', or 'bold' dqm__fontstyle = "normal" //set to: 'normal', or 'italic' //Rollover font settings dqm__hl_textcolor = "#CC3300" dqm__hl_textdecoration = "normal" //set to: 'normal', or 'underline' dqm__hl_fontweight = "normal" //set to: 'normal', or 'bold' dqm__hl_bgcolor = "" //Margins and text alignment dqm__text_alignment = "left" //set to: 'left', 'center' or 'right' dqm__margin_top = 3 dqm__margin_bottom = 3 dqm__margin_left = 15 dqm__margin_right = 15 dqm__menu_margin_top = 15 dqm__menu_margin_bottom = 15 /*------------------------------------------- Bullet and Icon image library - Unlimited bullet or icon images may be defined below and then associated with any sub menu items within the 'Sub Menu Structure and Text' section of this data file. --------------------------------------------*/ //Relative positioned icon images (flow with sub item text) dqm__icon_image0 = "/lib/images/spacer.gif" dqm__icon_rollover0 = "/lib/images/global_tnav_paw.gif" dqm__icon_image_wh0 = "15,9" //Absolute positioned icon images (coordinate poitioned) dqm__2nd_icon_image0 = "/lib/images/global_tnav_arrow.gif" dqm__2nd_icon_rollover0 = "/lib/images/global_tnav_arrow_on.gif" dqm__2nd_icon_image_wh0 = "14,7" dqm__2nd_icon_image_xy0 = "-5,5" /*--------------------------------------------- Optional Status Bar Text -----------------------------------------------*/ dqm__show_urls_statusbar = false /*------------------------------------------- Internet Explorer Transition Effects --------------------------------------------*/ //Options include - none | fade | pixelate |iris | slide | gradientwipe | checkerboard | radialwipe | randombars | randomdissolve |stretch //dqm__sub_menu_effect = "fade" //dqm__sub_item_effect = "fade" dqm__sub_menu_effect = "none" dqm__sub_item_effect = "none" //Define the effect duration in seconds below. //dqm__sub_menu_effect_duration = .2 //dqm__sub_item_effect_duration = .2 dqm__sub_menu_effect_duration = 0 dqm__sub_item_effect_duration = 0 //Specific settings for various transitions. dqm__effect_pixelate_maxsqare = 25 dqm__effect_iris_irisstyle = "CIRCLE" //CROSS, CIRCLE, PLUS, SQUARE, or STAR dqm__effect_checkerboard_squaresx = 14 dqm__effect_checkerboard_squaresY = 14 dqm__effect_checkerboard_direction = "RIGHT" //UP, DOWN, LEFT, RIGHT //Opacity and drop shadows. dqm__sub_menu_opacity = 100 //1 to 100 dqm__dropshadow_color = "none" //Hex color value or 'none' dqm__dropshadow_offx = 5 //drop shadow width dqm__dropshadow_offy = 5 //drop shadow height /*------------------------------------------- Browser Bug fixes and Workarounds --------------------------------------------*/ //Mac offset fixes, adjust until sub menus position correctly. dqm__os9_ie5mac_offset_X = 0 dqm__os9_ie5mac_offset_Y = 0 dqm__osx_ie5mac_offset_X = 0 dqm__osx_ie5mac_offset_Y = 0 dqm__ie4mac_offset_X = -8 dqm__ie4mac_offset_Y = -50 //Netscape 4 resize bug workaround. dqm__nn4_reaload_after_resize = true dqm__nn4_resize_prompt_user = false dqm__nn4_resize_prompt_message = "To reinitialize the navigation menu please click the 'Reload' button." //Set to true if the menu is the only item on the HTML page. dqm__use_opera_div_detect_fix = false //Pre-defined sub menu item heights for the Espial Escape browser. dqm__escape_item_height = 20 dqm__escape_item_height0_0 = 70 dqm__escape_item_height0_1 = 70 /*--------------------------------------------- Exposed menu events ----------------------------------------------*/ //The 'X' indicates the index number of the sub menu group or item. dqm__showmenu_codeX = "status = 'custom show menu function call - menu0'" dqm__hidemenu_codeX = "status = 'custom hide menu function call - menu0'" dqm__clickitem_codeX_X = "alert('custom Function - Menu Item 0_0')" /*--------------------------------------------- Specific Sub Menu Settings ----------------------------------------------*/ //The following settings may be defined for specific sub menu groups. //The 'X' represents the index number of the sub menu group. dqm__border_widthX = 10; dqm__divider_heightX = 5; dqm__border_colorX = "#0000ff"; dqm__menu_bgcolorX = "#ff0000" dqm__hl_bgcolorX = "#00ff00" dqm__hl_textcolorX = "#ff0000" dqm__text_alignmentX = "left" //The following settings may be defined for specific sub menu items. //The 'X' represents the index number of the sub menu item. dqm__hl_subdescX = "custom highlight text" dqm__urltargetX = "_new" /*---------------------- Licensing -----------------------*/ limit_multiple_users = true /*---------------------- Subroutine to add chamfered corner background to menus -----------------------*/ function SelectFirstEntry() { var bFound = false; //Set the focus on the first field // for each form for (f=0; f < document.forms.length; f++) { // for each element in each form for(i=0; i < document.forms[f].length; i++) { // if it's not a calculator form if (document.forms[f].name != "buyerForm") { // if it's not a calculator form if (document.forms[f].name != "sellerForm") { // if it's not a hidden element if (document.forms[f][i].type != "hidden") { // and it's not disabled if (document.forms[f][i].disabled != true) { // set the focus to it document.forms[f][i].focus(); var bFound = true; } } } } // if found in this element, stop looking if (bFound == true) break; } // if found in this form, stop looking if (bFound == true) break; } } function OnPageLoad() { // Add image handler ih_main.inventory(); // Fix email addresses decryptemail(); // If Safari, skip if (okbrowser) { // Add backgrounds to menus var bg = '
' + '' + '' + '' + '' + '' + '' + '' + '' + '' + '
'; var aDivs = document.body.getElementsByTagName("DIV"); for (var i=0;i