var _c = new Array; // context help messages // BrowserCheck Object function _BrowserCheck() { var b = navigator.appName if (b=='Netscape') this.b = 'ns' else if (b=='Microsoft Internet Explorer') this.b = 'ie' else this.b = b this.version = navigator.appVersion this.v = parseInt(this.version) this.ns = (this.b=='ns' && this.v>=4) this.ns4 = (this.b=='ns' && this.v==4) this.ns5 = (this.b=='ns' && this.v==5) this.ie = (this.b=='ie' && this.v>=4) this.ie4 = (this.version.indexOf('MSIE 4')>0) this.ie5 = (this.version.indexOf('MSIE 5')>0) this.ie55 = (this.version.indexOf('MSIE 5.5')>0) this.min = (this.ns||this.ie) } _c['b_help']='Get help on this page.'; _c['b_home']='Return to the home page.'; _c['b_logout']='Log out of website administration.'; _c['b_to_dom_ctrl']='Return to the website administration page.'; _c['b_users']='List of current web users.'; _c['b_orders']='List of current orders.'; _c['b_to_web_users']='Return to the list of web users.'; _c['b_users_remove']='Delete the selected web users.'; _c['b_orders_remove']='Delete the selected web orders.'; _c['b_products_remove']='Delete the selected web users.'; _c['b_notice_remove']='Delete the selected notices.'; _c['b_wu_new']='Click to add a new web user.'; _c['b_wu_preferences']='Web user\'s preferences.'; _c['b_labels']='List of current labels.'; _c['b_to_prod_ctrl']='Return to the gallery administration page.'; _c['b_products']='List of current media.'; _c['b_products_new']='Click to add a new gallery item.'; _c['b_products_remove']='Delete the selected products.'; _c['b_product_image_new']='Click to add a gallery item image.'; _c['b_productstype_new']='Click to add a new subject.'; _c['b_to_type_ctrl']='Return to the product type administration page.'; _c['b_category_new']='Click to add a new media category.'; _c['b_update_cat']='Click to update media category.'; _c['b_delete_cat']='Click to delete media category. Please be aware when a top level media is deleted ALL sub media and ALL galleries contained within will also be deleted.'; _c['b_subcategory_new']='Click to add a new sub media category.'; _c['b_update_subcat']='Click to update sub media category.'; _c['b_delete_subcat']='Click to delete sub media category. Please be aware when a sub media category is deleted ALL galleries contained within will also be deleted.'; _c['b_image_display']='Click to update gallery item image display order.'; _c['b_to_web_products']='Return to the list of galleries.'; _c['b_type_new']='Click to edit gallery details.'; _c['b_edit_type']='Click to edit subject details.'; _c['b_delete_type']='Click to delete subject.'; _c['l_product_edit']='Edit gallery details.'; _c['wu_product']='Product details.'; _c['wu_edit']='Web user details.'; _c['l_wu_edit_seller']='Artist seller details.'; _c['l_wu_edit_cv']='Artist CV.'; _c['l_wu_edit']='Edit web user details.'; _c['l_wu_order']='View web user orders.'; _c['l_wu_offer']='View web user offers.'; _c['l_wu_gallery']='View web user galleries.'; _c['l_notice_edit']='Edit notice details.'; _c['b_notice']='List of current notices.'; _c['b_notice_new']='Click to add a new notice.'; _c['b_wu_rm_submit']='Click to delete the web users.'; _c['b_webuserslist_search']='Enter a search pattern and click to find web users.'; _c['b_webuserslist_show_all']='Show all web users.'; _c['l_webuserslist_name']='Sort web users by name.'; _c['b_webproductslist_search']='Enter a search pattern and click to find products.'; _c['b_webproductslist_show_all']='Show all products.'; _c['l_webproductslist_name']='Sort products by name.'; _c['cl_home']='Client home page.'; _c['clist_search_show']='Click to show search area.'; _c['clist_search_hide']='Click to hide search area.'; _c['i_cl_ok']='GOPortal administration operating successfully.'; _c['i_i_cl_on']='Web User account is active.'; _is = new _BrowserCheck(); function _SetConHelp(conhelp_name, direct) { if(!conhelp_name) conhelp_name = GetConhelp(); if(!conhelp_name) conhelp_name = GetContext(); names = (typeof(conhelp_name) == 'object') ? conhelp_name : [conhelp_name]; msg = ''; for (i = 0; i < names.length; i++) { if (("undefined" == typeof direct) && !_c[names[i]] && names[i].indexOf('b_') == 0) // remove b_ for custom buttons' conhelps names[i] = names[i].substr(2); msg += (("undefined" == typeof direct) && _c[names[i]]) ? _c[names[i]] : names[i]; } return _ShowConHelp(msg); } function _ShowConHelp(conhelp_string) { var prefix = "
"; var suffix = "
"; conhelp_string = conhelp_string.replace(/&/gm, '&'); conhelp_string = conhelp_string.replace(/'); msg = prefix + conhelp_string + suffix; if (_is.ns4) { if ("undefined" == typeof top.leftFrame.document.layers || "undefined" == typeof top.leftFrame.document.layers['contexthelp'] || "undefined" == typeof top.leftFrame.document.layers['contexthelp'].document) { resetHelpPerm(); return false; } lyrdoc = top.leftFrame.document.layers['contexthelp'].document; lyrdoc.open(); lyrdoc.write(msg); lyrdoc.close(); } if (_is.ns5) { lyrdoc = top.leftFrame.document.getElementById('contexthelp'); if (lyrdoc && lyrdoc.innerHTML) lyrdoc.innerHTML = msg; } if (_is.ie) { if ("undefined" == typeof top.leftFrame.document.all || "undefined" == typeof top.leftFrame.document.all['contexthelp'] || "undefined" == typeof top.leftFrame.document.all['contexthelp'].innerHTML) { resetHelpPerm(); return false; } top.leftFrame.document.all['contexthelp'].innerHTML = msg; } return false; }