/* begin Page */ /* Created by Artisteer v3.0.0.35414 */ (function() { // fix ie blinking var m = document.uniqueID && document.compatMode && !window.XMLHttpRequest && document.execCommand; try { if (!!m) { m('BackgroundImageCache', false, true); } } catch (oh) { }; // css helper var u = navigator.userAgent.toLowerCase(); var is = function(t) { return (u.indexOf(t) != -1) }; jQuery('html').addClass([(!(/opera|webtv/i.test(u)) && /msie (\d)/.test(u)) ? ('ie ie' + RegExp.$1) : is('firefox/2') ? 'gecko firefox2' : is('firefox/3') ? 'gecko firefox3' : is('gecko/') ? 'gecko' : is('chrome/') ? 'chrome' : is('opera/9') ? 'opera opera9' : /opera (\d)/.test(u) ? 'opera opera' + RegExp.$1 : is('konqueror') ? 'konqueror' : is('applewebkit/') ? 'webkit safari' : is('mozilla/') ? 'gecko' : '', (is('x11') || is('linux')) ? ' linux' : is('mac') ? ' mac' : is('win') ? ' win' : '' ].join(' ')); })(); var _artStyleUrlCached = null; function artGetStyleUrl() { if (null == _artStyleUrlCached) { var ns; _artStyleUrlCached = ''; ns = jQuery('link'); for (var i = 0; i < ns.length; i++) { var l = ns[i].href; if (l && /style\.ie6\.css(\?.*)?$/.test(l)) return _artStyleUrlCached = l.replace(/style\.ie6\.css(\?.*)?$/, ''); } ns = jQuery('style'); for (var i = 0; i < ns.length; i++) { var matches = new RegExp('import\\s+"([^"]+\\/)style\\.ie6\\.css"').exec(ns[i].html()); if (null != matches && matches.length > 0) return _artStyleUrlCached = matches[1]; } } return _artStyleUrlCached; } function artFixPNG(element) { if (jQuery.browser.msie && parseInt(jQuery.browser.version) < 7) { var src; if (element.tagName == 'IMG') { if (/\.png$/.test(element.src)) { src = element.src; element.src = artGetStyleUrl() + 'images/spacer.gif'; } } else { src = element.currentStyle.backgroundImage.match(/url\("(.+\.png)"\)/i); if (src) { src = src[1]; element.runtimeStyle.backgroundImage = 'none'; } } if (src) element.runtimeStyle.filter = "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='" + src + "')"; } } jQuery(function() { jQuery.each(jQuery('ul.art-menu>li:not(.art-menu-li-separator),ul.art-vmenu>li:not(.art-vmenu-separator)'), function (i, val) { var l = jQuery(val); var s = l.children('span'); if (s.length == 0) return; var t = l.find('span.t').last(); l.children('a').append(t.html(t.text())); s.remove(); }); });/* end Page */ /* begin Box, Sheet */ function artFluidSheetComputedWidth(percent, minval, maxval) { percent = parseInt(percent); var val = document.body.clientWidth / 100 * percent; return val < minval ? minval + 'px' : val > maxval ? maxval + 'px' : percent + '%'; }/* end Box, Sheet */ /* begin Menu */ jQuery(function() { jQuery.each(jQuery('ul.art-menu>li:not(:last-child)'), function(i, val) { jQuery('