function MM_preloadImages() { var f = document; if (f.images) { if (!f.MM_p) { f.MM_p = new Array() } var e, c = f.MM_p.length, b = MM_preloadImages.arguments; for (e = 0; e < b.length; e++) { if (b[e].indexOf("#") != 0) { f.MM_p[c] = new Image; f.MM_p[c++].src = b[e] } } } } function MM_swapImgRestore() { var d, b, c = document.MM_sr; for (d = 0; c && d < c.length && (b = c[d]) && b.oSrc; d++) { b.src = b.oSrc } } function MM_findObj(f, e) { var c, b, a; if (!e) { e = document } if ((c = f.indexOf("?")) > 0 && parent.frames.length) { e = parent.frames[f.substring(c + 1)].document; f = f.substring(0, c) } if (!(a = e[f]) && e.all) { a = e.all[f] } for (b = 0; !a && b < e.forms.length; b++) { a = e.forms[b][f] } for (b = 0; !a && e.layers && b < e.layers.length; b++) { a = MM_findObj(f, e.layers[b].document) } if (!a && e.getElementById) { a = e.getElementById(f) } return a } function MM_swapImage() { var e, d = 0, b, c = MM_swapImage.arguments; document.MM_sr = new Array; for (e = 0; e < (c.length - 2); e += 3) { if ((b = MM_findObj(c[e])) != null) { document.MM_sr[d++] = b; if (!b.oSrc) { b.oSrc = b.src } b.src = c[e + 2] } } } function MM_openBrWindow(c, a, b) { window.open(c, a, b) } function OpenCertDetails() { thewindow = window.open("https://www.thawte.com/cgi/server/certdetails.exe?code=USIMPR18", "anew", config = "height=400,width=455,toolbar=no,menubar=no,scrollbars=yes,resizable=no,location=no,directories=no,status=yes") } function clearDefault(a) { if (a.defaultValue == a.value) { a.value = "" } } function resetDefault(b, a) { if (b.value == "") { b.value = a } } function WM_netscapeCssFix() { if (document.WM.WM_netscapeCssFix.initWindowWidth != window.innerWidth || document.WM.WM_netscapeCssFix.initWindowHeight != window.innerHeight) { document.location = document.location } } function WM_netscapeCssFixCheckIn() { if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4)) { if (typeof document.WM == "undefined") { document.WM = new Object } if (typeof document.WM.WM_scaleFont == "undefined") { document.WM.WM_netscapeCssFix = new Object; document.WM.WM_netscapeCssFix.initWindowWidth = window.innerWidth; document.WM.WM_netscapeCssFix.initWindowHeight = window.innerHeight } window.onresize = WM_netscapeCssFix } } WM_netscapeCssFixCheckIn(); function stopError() { return true } function writeEmail(a, c) { var b = "impressinprint.com"; if (c != null) { document.write("<A href='mailto:" + a + "@" + b + "'>" + c + "</A>") } else { document.write("<A href='mailto:" + a + "@" + b + "'>" + a + "@" + b + "</A>") } return true } window.onerror = stopError; function showHoverAd(b, f, d, a) { isMac = (navigator.appVersion.indexOf("Mac") != -1) ? true : false; NS4 = (document.layers) ? true : false; IEmac = ((document.all) && (isMac)) ? true : false; IE4plus = (document.all) ? true : false; IE4 = ((document.all) && (navigator.appVersion.indexOf("MSIE 4.") != -1)) ? true : false; IE5 = ((document.all) && (navigator.appVersion.indexOf("MSIE 5.") != -1)) ? true : false; IE6 = ((document.all) && (navigator.appVersion.indexOf("MSIE 6.") != -1)) ? true : false; ver4 = (NS4 || IE4plus) ? true : false; NS6 = (!document.layers) && (navigator.userAgent.indexOf("Netscape") != -1) ? true : false; IE5plus = IE5 || IE6; IEMajor = 0; if (IE4plus) { var e = navigator.appVersion.indexOf("MSIE"); var c = navigator.appVersion.indexOf(".", e); IEMajor = parseInt(navigator.appVersion.substring(e + 5, c)); IE5plus = (IEMajor >= 5) ? true : false } if (IE5plus) { document.write("<DIV id='ad' style='position:absolute; width:" + d + "px; height:" + a + "px; z-index:1; left: " + b + "px; top: " + f + "px; visibility: visible;'>"); document.write("<OBJECT classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0' width='" + d + "' height='" + a + "' id='ad_cutout' align='middle'>"); document.write("<PARAM name='movie' value='/flash/ad_cutout.swf' />"); document.write("<PARAM name='quality' value='high' />"); document.write("<PARAM name='wmode' value='transparent' />"); document.write("<PARAM name='bgcolor' value='#ffffff' />"); document.write("<PARAM name='LOOP' value='false'>"); document.write("<EMBED src='/flash/ad_cutout.swf' quality='high' wmode='transparent' bgcolor='#ffffff' width='" + d + "' height='" + a + "' loop='false' name='ad_cutout' align='middle' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer' />"); document.write("</OBJECT></DIV>") } return true } function hideHoverAd(a, c) { if (document.layers) { document.layers[a].visibility = c ? "show" : "hide" } else { if (document.getElementById) { var b = document.getElementById(a); b.style.visibility = c ? "visible" : "hidden" } else { if (document.all) { document.all[a].style.visibility = c ? "visible" : "hidden" } } } } if (typeof deconcept == "undefined") { var deconcept = new Object() } if (typeof deconcept.util == "undefined") { deconcept.util = new Object() } if (typeof deconcept.SWFObjectUtil == "undefined") { deconcept.SWFObjectUtil = new Object() } deconcept.SWFObject = function(n, b, o, e, j, l, g, f, d, m, k) { if (!document.createElement || !document.getElementById) { return } this.DETECT_KEY = k ? k : "detectflash"; this.skipDetect = deconcept.util.getRequestParameter(this.DETECT_KEY); this.params = new Object(); this.variables = new Object(); this.attributes = new Array(); if (n) { this.setAttribute("swf", n) } if (b) { this.setAttribute("id", b) } if (o) { this.setAttribute("width", o) } if (e) { this.setAttribute("height", e) } if (j) { this.setAttribute("version", new deconcept.PlayerVersion(j.toString().split("."))) } this.installedVer = deconcept.SWFObjectUtil.getPlayerVersion(this.getAttribute("version"), g); if (l) { this.addParam("bgcolor", l) } var a = f ? f : "high"; this.addParam("quality", a); this.setAttribute("useExpressInstall", g); this.setAttribute("doExpressInstall", false); var i = (d) ? d : window.location; this.setAttribute("xiRedirectUrl", i); this.setAttribute("redirectUrl", ""); if (m) { this.setAttribute("redirectUrl", m) } }; deconcept.SWFObject.prototype = { setAttribute: function(a, b) { this.attributes[a] = b }, getAttribute: function(a) { return this.attributes[a] }, addParam: function(b, a) { this.params[b] = a }, getParams: function() { return this.params }, addVariable: function(b, a) { this.variables[b] = a }, getVariable: function(a) { return this.variables[a] }, getVariables: function() { return this.variables }, getVariablePairs: function() { var c = new Array(); var b; var a = this.getVariables(); for (b in a) { c.push(b + "=" + a[b]) } return c }, getSWFHTML: function() { var b = ""; if (navigator.plugins && navigator.mimeTypes && navigator.mimeTypes.length) { if (this.getAttribute("doExpressInstall")) { this.addVariable("MMplayerType", "PlugIn") } b = '<embed type="application/x-shockwave-flash" src="' + this.getAttribute("swf") + '" width="' + this.getAttribute("width") + '" height="' + this.getAttribute("height") + '"'; b += ' id="' + this.getAttribute("id") + '" name="' + this.getAttribute("id") + '" '; var f = this.getParams(); for (var e in f) { b += [e] + '="' + f[e] + '" ' } var d = this.getVariablePairs().join("&"); if (d.length > 0) { b += 'flashvars="' + d + '"' } b += "/>" } else { if (this.getAttribute("doExpressInstall")) { this.addVariable("MMplayerType", "ActiveX") } b = '<object id="' + this.getAttribute("id") + '" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="' + this.getAttribute("width") + '" height="' + this.getAttribute("height") + '">'; b += '<param name="movie" value="' + this.getAttribute("swf") + '" />'; var c = this.getParams(); for (var e in c) { b += '<param name="' + e + '" value="' + c[e] + '" />' } var a = this.getVariablePairs().join("&"); if (a.length > 0) { b += '<param name="flashvars" value="' + a + '" />' } b += "</object>" } return b }, write: function(b) { if (this.getAttribute("useExpressInstall")) { var a = new deconcept.PlayerVersion([6, 0, 65]); if (this.installedVer.versionIsValid(a) && !this.installedVer.versionIsValid(this.getAttribute("version"))) { this.setAttribute("doExpressInstall", true); this.addVariable("MMredirectURL", escape(this.getAttribute("xiRedirectUrl"))); document.title = document.title.slice(0, 47) + " - Flash Player Installation"; this.addVariable("MMdoctitle", document.title) } } if (this.skipDetect || this.getAttribute("doExpressInstall") || this.installedVer.versionIsValid(this.getAttribute("version"))) { var c = (typeof b == "string") ? document.getElementById(b) : b; c.innerHTML = this.getSWFHTML(); return true } else { if (this.getAttribute("redirectUrl") != "") { document.location.replace(this.getAttribute("redirectUrl")) } } return false } }; deconcept.SWFObjectUtil.getPlayerVersion = function(h, g) { var d = new deconcept.PlayerVersion([0, 0, 0]); if (navigator.plugins && navigator.mimeTypes.length) { var a = navigator.plugins["Shockwave Flash"]; if (a && a.description) { d = new deconcept.PlayerVersion(a.description.replace(/([a-z]|[A-Z]|\s)+/, "").replace(/(\s+r|\s+b[0-9]+)/, ".").split(".")) } } else { try { var c = new ActiveXObject("ShockwaveFlash.ShockwaveFlash"); for (var b = 3; c != null; b++) { c = new ActiveXObject("ShockwaveFlash.ShockwaveFlash." + b); d = new deconcept.PlayerVersion([b, 0, 0]) } } catch (f) { } if (h && d.major > h.major) { return d } if (!h || ((h.minor != 0 || h.rev != 0) && d.major == h.major) || d.major != 6 || g) { try { d = new deconcept.PlayerVersion(c.GetVariable("$version").split(" ")[1].split(",")) } catch (f) { } } } return d }; deconcept.PlayerVersion = function(a) { this.major = parseInt(a[0]) != null ? parseInt(a[0]) : 0; this.minor = parseInt(a[1]) || 0; this.rev = parseInt(a[2]) || 0 }; deconcept.PlayerVersion.prototype.versionIsValid = function(a) { if (this.major < a.major) { return false } if (this.major > a.major) { return true } if (this.minor < a.minor) { return false } if (this.minor > a.minor) { return true } if (this.rev < a.rev) { return false } return true }; deconcept.util = { getRequestParameter: function(c) { var d = document.location.search || document.location.hash; if (d) { var b = d.indexOf(c + "="); var a = (d.indexOf("&", b) > -1) ? d.indexOf("&", b) : d.length; if (d.length > 1 && b > -1) { return d.substring(d.indexOf("=", b) + 1, a) } } return "" } }; deconcept.SWFObjectUtil.cleanupSWFs = function() { var b = document.getElementsByTagName("OBJECT"); for (var c = 0; c < b.length; c++) { for (var a in b[c]) { if (typeof b[c][a] == "function") { b[c][a] = null } } } }; if (typeof window.onunload == "function") { var oldunload = window.onunload; window.onunload = function() { deconcept.SWFObjectUtil.cleanupSWFs(); oldunload() } } else { window.onunload = deconcept.SWFObjectUtil.cleanupSWFs } if (Array.prototype.push == null) { Array.prototype.push = function(a) { this[this.length] = a; return this.length } } var getQueryParamValue = deconcept.util.getRequestParameter; var FlashObject = deconcept.SWFObject; var SWFObject = deconcept.SWFObject; function writeLiveHelp() { document.write("<DIV id='flashLiveHelp'></DIV><SCRIPT type='text/javascript'>var so = new SWFObject('/flash/liveHelp.swf', 'liveHelpMC', '76', '73', '6,0,29,0', '#FFFFFF');so.addParam('menu', 'false');so.addParam('wmode', 'transparent');so.write('flashLiveHelp');</SCRIPT>") } function writeLiveHelp_alternate() { document.write("<DIV id='flashLiveHelp_alternate'></DIV><SCRIPT type='text/javascript'>var so = new SWFObject('/flash/liveHelp.swf', 'liveHelpMC', '76', '73', '6,0,29,0', '#FFFFFF');so.addParam('menu', 'false');so.addParam('wmode', 'transparent');so.write('flashLiveHelp_alternate');</SCRIPT>") } var productPreview = new Object(); productPreview.nIntentSensitivity = 4; productPreview.nShowPreviewDelay = 450; productPreview.ini = function() { if (!document.getElementById) { return } var b = document.getElementsByTagName("div"); for (var d = 0; d < b.length; d++) { var c = b[d]; if (c.className == "preview") { var a = c.getElementsByTagName("a")[0]; a.pImage = c.getAttribute("popupImage"); a.pImageWidth = c.getAttribute("popupImageWidth"); a.pImageHeight = c.getAttribute("popupImageHeight"); a.pText = c.getAttribute("popupText"); a.preview = null; a.shield = null; a.id = "productPreview_ID_" + d; a.onmouseover = productPreview.startShowTimers; a.onmouseout = productPreview.startHideTimers } } }; productPreview.startShowTimers = function() { var a = this; if (a.hidePreviewTimer) { clearTimeout(a.hidePreviewTimer); a.hidePreviewTimer = null } if (!a.preview) { productPreview.writeDecision(a) } else { if (a.preview.style.display == "none") { a.showPreviewTimer = setTimeout(function() { productPreview.show(a) }, productPreview.nShowPreviewDelay) } } }; productPreview.writeDecision = function(a) { function c(d) { if (!d) { var d = window.event } a.currentMouseX = d.screenX; a.currentMouseY = d.screenY } a.previousMouseX = a.previousMouseY = 10000; a.onmousemove = c; function b() { if ((Math.abs(a.previousMouseX - a.currentMouseX) < productPreview.nIntentSensitivity) && (Math.abs(a.previousMouseY - a.currentMouseY) < productPreview.nIntentSensitivity)) { clearInterval(a.determineIntentInterval); a.determineIntentInterval = null; a.onmousemove = null; productPreview.write(a); a.showPreviewTimer = setTimeout(function() { productPreview.show(a) }, productPreview.nShowPreviewDelay - 100) } a.previousMouseX = a.currentMouseX; a.previousMouseY = a.currentMouseY } a.determineIntentInterval = setInterval(b, 100) }; productPreview.write = function(h) { var b = document.createElement("div"); b.className = "productPreview"; document.body.appendChild(b); h.preview = b; h.preview.oA_id = h.id; h.preview.onmouseover = productPreview.startShowTimers; h.preview.onmouseout = productPreview.startHideTimers; h.preview.onclick = function() { document.location = h.href }; var c = 0; var k = 1; if (h.pText) { var g = document.createElement("div"); g.className = "previewText"; g.innerHTML = h.pText; g.style.zIndex = 1; b.appendChild(g); c = 30; k = 0.8 } var a; if (h.pImage) { a = h.pImage } else { a = h.getElementsByTagName("img")[0].src; a = a.replace("WIDTH=133", "WIDTH=300") } var e = document.createElement("img"); e.src = a; e.width = h.pImageWidth * k; e.height = h.pImageHeight * k; var d = 50 + parseInt((300 - e.width) / 2) + "px"; e.style.left = d; var i = c + 31 + parseInt((310 - e.height) / 2) + "px"; e.style.top = i; e.style.zIndex = 0; b.appendChild(e); if (document.attachEvent && !window.XMLHttpRequest) { var j = h.preview.currentStyle.backgroundImage; j = j.substring(j.lastIndexOf("images/"), j.length - 2); h.preview.style.backgroundImage = "none"; var f = document.createElement("div"); f.style.filter = "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='" + j + "')"; if (h.pText) { f.className = "previewText"; f.innerHTML = h.pText } b.appendChild(f) } }; productPreview.position = function(a) { var b = posL = 0; if (a.offsetParent) { b = a.offsetTop; posL = a.offsetLeft; while (a = a.offsetParent) { b += a.offsetTop; posL += a.offsetLeft } } return [b, posL] }; productPreview.show = function(c) { var b = productPreview.position(c); var e = (document.all ? b[0] - 53 + "px" : b[0] - 163 + "px"); var d = b[1] + 133 + "px"; c.preview.style.top = e; c.preview.style.left = d; c.preview.style.display = "block"; var a = document.getElementById("productPreviewShield"); if (a) { a.style.top = e; a.style.left = d; a.style.display = "block" } }; productPreview.startHideTimers = function() { var a = this; if (a.determineIntentInterval) { clearInterval(a.determineIntentInterval); a.determineIntentInterval = null } if (a.showPreviewTimer) { clearTimeout(a.showPreviewTimer); a.showPreviewTimer = null } if (a.preview) { a.hidePreviewTimer = setTimeout(function() { productPreview.hide(a) }, 25) } }; productPreview.hide = function(b) { b.preview.style.display = "none"; var a = document.getElementById("productPreviewShield"); if (a) { a.style.display = "none" } }; var Shadowbox = {}; Shadowbox.lib = function() { var c = {}; var f = /(-[a-z])/gi; var g = function(i, h) { return h.charAt(1).toUpperCase() }; var b = function(h) { var i; if (!(i = c[h])) { i = c[h] = h.replace(f, g) } return i }; var a = document.defaultView; var d = /alpha\([^\)]*\)/gi; var e = function(h, j) { var i = h.style; if (window.ActiveXObject) { i.zoom = 1; i.filter = (i.filter || "").replace(d, "") + (j == 1 ? "" : " alpha(opacity=" + (j * 100) + ")") } else { i.opacity = j } }; return { adapter: "standalone", getStyle: function() { return a && a.getComputedStyle ? function(h, i) { var l, j, k; if (i == "float") { i = "cssFloat" } if (l = h.style[i]) { return l } if (j = a.getComputedStyle(h, "")) { return j[b(i)] } return null } : function(n, h) { var k, i, j; if (h == "opacity") { if (typeof n.style.filter == "string") { var l = n.style.filter.match(/alpha\(opacity=(.+)\)/i); if (l) { var m = parseFloat(l[1]); if (!isNaN(m)) { return (m ? m / 100 : 0) } } } return 1 } else { if (h == "float") { h = "styleFloat" } } var j = b(h); if (k = n.style[j]) { return k } if (i = n.currentStyle) { return i[j] } return null } } (), setStyle: function(i, j, h) { if (typeof j == "string") { var l = b(j); if (l == "opacity") { e(i, h) } else { i.style[l] = h } } else { for (var k in j) { this.setStyle(i, k, j[k]) } } }, get: function(h) { return typeof h == "string" ? document.getElementById(h) : h }, remove: function(h) { h.parentNode.removeChild(h) }, getTarget: function(h) { var i = h.target ? h.target : h.srcElement; return i.nodeType == 3 ? i.parentNode : i }, getPageXY: function(i) { var j = i.pageX || (i.clientX + (document.documentElement.scrollLeft || document.body.scrollLeft)); var h = i.pageY || (i.clientY + (document.documentElement.scrollTop || document.body.scrollTop)); return [j, h] }, preventDefault: function(h) { if (h.preventDefault) { h.preventDefault() } else { h.returnValue = false } }, keyCode: function(h) { return h.which ? h.which : h.keyCode }, addEvent: function(h, j, i) { if (h.addEventListener) { h.addEventListener(j, i, false) } else { if (h.attachEvent) { h.attachEvent("on" + j, i) } } }, removeEvent: function(h, j, i) { if (h.removeEventListener) { h.removeEventListener(j, i, false) } else { if (h.detachEvent) { h.detachEvent("on" + j, i) } } }, append: function(i, j) { if (i.insertAdjacentHTML) { i.insertAdjacentHTML("BeforeEnd", j) } else { if (i.lastChild) { var k = i.ownerDocument.createRange(); k.setStartAfter(i.lastChild); var h = k.createContextualFragment(j); i.appendChild(h) } else { i.innerHTML = j } } } } } (); if (typeof Shadowbox == "undefined") { throw "Unable to load Shadowbox, no base library adapter found" } (function() { var version = "2.0"; var options = { animate: true, animateFade: true, animSequence: "wh", flvPlayer: "flvplayer.swf", modal: false, overlayColor: "#000", overlayOpacity: 0.8, flashBgColor: "#000000", autoplayMovies: true, showMovieControls: true, slideshowDelay: 0, resizeDuration: 0.55, fadeDuration: 0.35, displayNav: true, continuous: false, displayCounter: true, counterType: "default", counterLimit: 10, viewportPadding: 20, handleOversize: "resize", handleException: null, handleUnsupported: "link", initialHeight: 160, initialWidth: 320, enableKeys: true, onOpen: null, onFinish: null, onChange: null, onClose: null, skipSetup: false, errors: { fla: { name: "Flash", url: "http://www.adobe.com/products/flashplayer/" }, qt: { name: "QuickTime", url: "http://www.apple.com/quicktime/download/" }, wmp: { name: "Windows Media Player", url: "http://www.microsoft.com/windows/windowsmedia/" }, f4m: { name: "Flip4Mac", url: "http://www.flip4mac.com/wmv_download.htm"} }, ext: { img: ["png", "jpg", "jpeg", "gif", "bmp"], swf: ["swf"], flv: ["flv"], qt: ["dv", "mov", "moov", "movie", "mp4"], wmp: ["asf", "wm", "wmv"], qtwmp: ["avi", "mpg", "mpeg"], iframe: ["asp", "aspx", "cgi", "cfm", "htm", "html", "pl", "php", "php3", "php4", "php5", "phtml", "rb", "rhtml", "shtml", "txt", "vbs"]} }; var SB = Shadowbox; var SL = SB.lib; var default_options; var RE = { domain: /:\/\/(.*?)[:\/]/, inline: /#(.+)$/, rel: /^(light|shadow)box/i, gallery: /^(light|shadow)box\[(.*?)\]/i, unsupported: /^unsupported-(\w+)/, param: /\s*([a-z_]*?)\s*=\s*(.+)\s*/, empty: /^(?:br|frame|hr|img|input|link|meta|range|spacer|wbr|area|param|col)$/i }; var cache = []; var gallery; var current; var content; var content_id = "shadowbox_content"; var dims; var initialized = false; var activated = false; var slide_timer; var slide_start; var slide_delay = 0; var ua = navigator.userAgent.toLowerCase(); var client = { isStrict: document.compatMode == "CSS1Compat", isOpera: ua.indexOf("opera") > -1, isIE: ua.indexOf("msie") > -1, isIE7: ua.indexOf("msie 7") > -1, isSafari: /webkit|khtml/.test(ua), isWindows: ua.indexOf("windows") != -1 || ua.indexOf("win32") != -1, isMac: ua.indexOf("macintosh") != -1 || ua.indexOf("mac os x") != -1, isLinux: ua.indexOf("linux") != -1 }; client.isBorderBox = client.isIE && !client.isStrict; client.isSafari3 = client.isSafari && !!(document.evaluate); client.isGecko = ua.indexOf("gecko") != -1 && !client.isSafari; var ltIE7 = client.isIE && !client.isIE7; var plugins; if (navigator.plugins && navigator.plugins.length) { var detectPlugin = function(plugin_name) { var detected = false; for (var i = 0, len = navigator.plugins.length; i < len; ++i) { if (navigator.plugins[i].name.indexOf(plugin_name) > -1) { detected = true; break } } return detected }; var f4m = detectPlugin("Flip4Mac"); plugins = { fla: detectPlugin("Shockwave Flash"), qt: detectPlugin("QuickTime"), wmp: !f4m && detectPlugin("Windows Media"), f4m: f4m} } else { var detectPlugin = function(plugin_name) { var detected = false; try { var axo = new ActiveXObject(plugin_name); if (axo) { detected = true } } catch (e) { } return detected }; plugins = { fla: detectPlugin("ShockwaveFlash.ShockwaveFlash"), qt: detectPlugin("QuickTime.QuickTime"), wmp: detectPlugin("wmplayer.ocx"), f4m: false} } var apply = function(o, e) { for (var p in e) { o[p] = e[p] } return o }; var isLink = function(el) { return el && typeof el.tagName == "string" && (el.tagName.toUpperCase() == "A" || el.tagName.toUpperCase() == "AREA") }; SL.getViewportHeight = function() { var h = window.innerHeight; var mode = document.compatMode; if ((mode || client.isIE) && !client.isOpera) { h = client.isStrict ? document.documentElement.clientHeight : document.body.clientHeight } return h }; SL.getViewportWidth = function() { var w = window.innerWidth; var mode = document.compatMode; if (mode || client.isIE) { w = client.isStrict ? document.documentElement.clientWidth : document.body.clientWidth } return w }; SL.createHTML = function(obj) { var html = "<" + obj.tag; for (var attr in obj) { if (attr == "tag" || attr == "html" || attr == "children") { continue } if (attr == "cls") { html += ' class="' + obj.cls + '"' } else { html += " " + attr + '="' + obj[attr] + '"' } } if (RE.empty.test(obj.tag)) { html += "/>" } else { html += ">"; var cn = obj.children; if (cn) { for (var i = 0, len = cn.length; i < len; ++i) { html += this.createHTML(cn[i]) } } if (obj.html) { html += obj.html } html += "</" + obj.tag + ">" } return html }; var ease = function(x) { return 1 + Math.pow(x - 1, 3) }; var animate = function(el, p, to, d, cb) { var from = parseFloat(SL.getStyle(el, p)); if (isNaN(from)) { from = 0 } if (from == to) { if (typeof cb == "function") { cb() } return } var delta = to - from; var op = p == "opacity"; var unit = op ? "" : "px"; var fn = function(ease) { SL.setStyle(el, p, from + ease * delta + unit) }; if (!options.animate && !op || op && !options.animateFade) { fn(1); if (typeof cb == "function") { cb() } return } d *= 1000; var begin = new Date().getTime(); var end = begin + d; var timer = setInterval(function() { var time = new Date().getTime(); if (time >= end) { clearInterval(timer); fn(1); if (typeof cb == "function") { cb() } } else { fn(ease((time - begin) / d)) } }, 10) }; var clearOpacity = function(el) { var s = el.style; if (client.isIE) { if (typeof s.filter == "string" && (/alpha/i).test(s.filter)) { s.filter = s.filter.replace(/[\w\.]*alpha\(.*?\);?/i, "") } } else { s.opacity = ""; s["-moz-opacity"] = ""; s["-khtml-opacity"] = "" } }; var getComputedHeight = function(el) { var h = Math.max(el.offsetHeight, el.clientHeight); if (!h) { h = parseInt(SL.getStyle(el, "height"), 10) || 0; if (!client.isBorderBox) { h += parseInt(SL.getStyle(el, "padding-top"), 10) + parseInt(SL.getStyle(el, "padding-bottom"), 10) + parseInt(SL.getStyle(el, "border-top-width"), 10) + parseInt(SL.getStyle(el, "border-bottom-width"), 10) } } return h }; var getPlayer = function(url) { var m = url.match(RE.domain); var d = m && document.domain == m[1]; if (url.indexOf("#") > -1 && d) { return "inline" } var q = url.indexOf("?"); if (q > -1) { url = url.substring(0, q) } if (RE.img.test(url)) { return "img" } if (RE.swf.test(url)) { return plugins.fla ? "swf" : "unsupported-swf" } if (RE.flv.test(url)) { return plugins.fla ? "flv" : "unsupported-flv" } if (RE.qt.test(url)) { return plugins.qt ? "qt" : "unsupported-qt" } if (RE.wmp.test(url)) { if (plugins.wmp) { return "wmp" } if (plugins.f4m) { return "qt" } if (client.isMac) { return plugins.qt ? "unsupported-f4m" : "unsupported-qtf4m" } return "unsupported-wmp" } else { if (RE.qtwmp.test(url)) { if (plugins.qt) { return "qt" } if (plugins.wmp) { return "wmp" } return client.isMac ? "unsupported-qt" : "unsupported-qtwmp" } else { if (!d || RE.iframe.test(url)) { return "iframe" } } } return "unsupported" }; var handleClick = function(ev) { var link; if (isLink(this)) { link = this } else { link = SL.getTarget(ev); while (!isLink(link) && link.parentNode) { link = link.parentNode } } if (link) { SB.open(link); if (gallery.length) { SL.preventDefault(ev) } } }; var toggleNav = function(id, on) { var el = SL.get("shadowbox_nav_" + id); if (el) { el.style.display = on ? "" : "none" } }; var buildBars = function(cb) { var obj = gallery[current]; var title_i = SL.get("shadowbox_title_inner"); title_i.innerHTML = obj.title || ""; var nav = SL.get("shadowbox_nav"); if (nav) { var c, n, pl, pa, p; if (options.displayNav) { c = true; var len = gallery.length; if (len > 1) { if (options.continuous) { n = p = true } else { n = (len - 1) > current; p = current > 0 } } if (options.slideshowDelay > 0 && hasNext()) { pa = slide_timer != "paused"; pl = !pa } } else { c = n = pl = pa = p = false } toggleNav("close", c); toggleNav("next", n); toggleNav("play", pl); toggleNav("pause", pa); toggleNav("previous", p) } var counter = SL.get("shadowbox_counter"); if (counter) { var co = ""; if (options.displayCounter && gallery.length > 1) { if (options.counterType == "skip") { var i = 0, len = gallery.length, end = len; var limit = parseInt(options.counterLimit); if (limit < len) { var h = Math.round(limit / 2); i = current - h; if (i < 0) { i += len } end = current + (limit - h); if (end > len) { end -= len } } while (i != end) { if (i == len) { i = 0 } co += '<a onclick="Shadowbox.change(' + i + ');"'; if (i == current) { co += ' class="shadowbox_counter_current"' } co += ">" + (++i) + "</a>" } } else { co = (current + 1) + " " + SB.LANG.of + " " + len } } counter.innerHTML = co } cb() }; var hideBars = function(anim, cb) { var obj = gallery[current]; var title = SL.get("shadowbox_title"); var info = SL.get("shadowbox_info"); var title_i = SL.get("shadowbox_title_inner"); var info_i = SL.get("shadowbox_info_inner"); var fn = function() { buildBars(cb) }; var title_h = getComputedHeight(title); var info_h = getComputedHeight(info) * -1; if (anim) { animate(title_i, "margin-top", title_h, 0.35); animate(info_i, "margin-top", info_h, 0.35, fn) } else { SL.setStyle(title_i, "margin-top", title_h + "px"); SL.setStyle(info_i, "margin-top", info_h + "px"); fn() } }; var showBars = function(cb) { var title_i = SL.get("shadowbox_title_inner"); var info_i = SL.get("shadowbox_info_inner"); var t = title_i.innerHTML != ""; if (t) { animate(title_i, "margin-top", 0, 0.35) } animate(info_i, "margin-top", 0, 0.35, cb) }; var loadContent = function() { var obj = gallery[current]; if (!obj) { return } var changing = false; if (content) { content.remove(); changing = true } var p = obj.player == "inline" ? "html" : obj.player; if (typeof SB[p] != "function") { SB.raise("Unknown player " + obj.player) } content = new SB[p](content_id, obj); listenKeys(false); toggleLoading(true); hideBars(changing, function() { if (!content) { return } if (!changing) { SL.get("shadowbox").style.display = "" } var fn = function() { resizeContent(function() { if (!content) { return } showBars(function() { if (!content) { return } SL.get("shadowbox_body_inner").innerHTML = SL.createHTML(content.markup(dims)); toggleLoading(false, function() { if (!content) { return } if (typeof content.onLoad == "function") { content.onLoad() } if (options.onFinish && typeof options.onFinish == "function") { options.onFinish(gallery[current]) } if (slide_timer != "paused") { SB.play() } listenKeys(true) }) }) }) }; if (typeof content.ready != "undefined") { var id = setInterval(function() { if (content) { if (content.ready) { clearInterval(id); id = null; fn() } } else { clearInterval(id); id = null } }, 100) } else { fn() } }); if (gallery.length > 1) { var next = gallery[current + 1] || gallery[0]; if (next.player == "img") { var a = new Image(); a.src = next.content } var prev = gallery[current - 1] || gallery[gallery.length - 1]; if (prev.player == "img") { var b = new Image(); b.src = prev.content } } }; var setDimensions = function(height, width, resizable) { resizable = resizable || false; var sb = SL.get("shadowbox_body"); var h = height = parseInt(height); var w = width = parseInt(width); var view_h = SL.getViewportHeight(); var view_w = SL.getViewportWidth(); var border_w = parseInt(SL.getStyle(sb, "border-left-width"), 10) + parseInt(SL.getStyle(sb, "border-right-width"), 10); var extra_w = border_w + 2 * options.viewportPadding; if (w + extra_w >= view_w) { w = view_w - extra_w } var border_h = parseInt(SL.getStyle(sb, "border-top-width"), 10) + parseInt(SL.getStyle(sb, "border-bottom-width"), 10); var bar_h = getComputedHeight(SL.get("shadowbox_title")) + getComputedHeight(SL.get("shadowbox_info")); var extra_h = border_h + 2 * options.viewportPadding + bar_h; if (h + extra_h >= view_h) { h = view_h - extra_h } var drag = false; var resize_h = height; var resize_w = width; var handle = options.handleOversize; if (resizable && (handle == "resize" || handle == "drag")) { var change_h = (height - h) / height; var change_w = (width - w) / width; if (handle == "resize") { if (change_h > change_w) { w = Math.round((width / height) * h) } else { if (change_w > change_h) { h = Math.round((height / width) * w) } } resize_w = w; resize_h = h } else { var link = gallery[current]; if (link) { drag = link.player == "img" && (change_h > 0 || change_w > 0) } } } dims = { height: h + border_h + bar_h, width: w + border_w, inner_h: h, inner_w: w, top: (view_h - (h + extra_h)) / 2 + options.viewportPadding, resize_h: resize_h, resize_w: resize_w, drag: drag} }; var resizeContent = function(cb) { if (!content) { return } setDimensions(content.height, content.width, content.resizable); if (cb) { switch (options.animSequence) { case "hw": adjustHeight(dims.inner_h, dims.top, true, function() { adjustWidth(dims.width, true, cb) }); break; case "wh": adjustWidth(dims.width, true, function() { adjustHeight(dims.inner_h, dims.top, true, cb) }); break; case "sync": default: adjustWidth(dims.width, true); adjustHeight(dims.inner_h, dims.top, true, cb) } } else { adjustWidth(dims.width, false); adjustHeight(dims.inner_h, dims.top, false); var c = SL.get(content_id); if (c) { if (content.resizable && options.handleOversize == "resize") { c.height = dims.resize_h; c.width = dims.resize_w } if (gallery[current].player == "img" && options.handleOversize == "drag") { var top = parseInt(SL.getStyle(c, "top")); if (top + content.height < dims.inner_h) { SL.setStyle(c, "top", dims.inner_h - content.height + "px") } var left = parseInt(SL.getStyle(c, "left")); if (left + content.width < dims.inner_w) { SL.setStyle(c, "left", dims.inner_w - content.width + "px") } } } } }; var adjustHeight = function(height, top, anim, cb) { height = parseInt(height); var sb = SL.get("shadowbox_body"); if (anim) { animate(sb, "height", height, options.resizeDuration) } else { SL.setStyle(sb, "height", height + "px") } var s = SL.get("shadowbox"); if (anim) { animate(s, "top", top, options.resizeDuration, cb) } else { SL.setStyle(s, "top", top + "px"); if (typeof cb == "function") { cb() } } }; var adjustWidth = function(width, anim, cb) { width = parseInt(width); var s = SL.get("shadowbox"); if (anim) { animate(s, "width", width, options.resizeDuration, cb) } else { SL.setStyle(s, "width", width + "px"); if (typeof cb == "function") { cb() } } }; var listenKeys = function(on) { if (!options.enableKeys) { return } SL[(on ? "add" : "remove") + "Event"](document, "keydown", handleKey) }; var handleKey = function(e) { var code = SL.keyCode(e); SL.preventDefault(e); if (code == 81 || code == 88 || code == 27) { SB.close() } else { if (code == 37) { SB.previous() } else { if (code == 39) { SB.next() } else { if (code == 32) { SB[(typeof slide_timer == "number" ? "pause" : "play")]() } } } } }; var toggleLoading = function(on, cb) { var loading = SL.get("shadowbox_loading"); if (on) { loading.style.display = ""; if (typeof cb == "function") { cb() } } else { var p = gallery[current].player; var anim = (p == "img" || p == "html"); var fn = function() { loading.style.display = "none"; clearOpacity(loading); if (typeof cb == "function") { cb() } }; if (anim) { animate(loading, "opacity", 0, options.fadeDuration, fn) } else { fn() } } }; var fixTop = function() { SL.get("shadowbox_container").style.top = document.documentElement.scrollTop + "px" }; var fixHeight = function() { SL.get("shadowbox_overlay").style.height = SL.getViewportHeight() + "px" }; var hasNext = function() { return gallery.length > 1 && (current != gallery.length - 1 || options.continuous) }; var toggleVisible = function(cb) { var els, v = (cb) ? "hidden" : "visible"; var hide = ["select", "object", "embed"]; for (var i = 0; i < hide.length; ++i) { els = document.getElementsByTagName(hide[i]); for (var j = 0, len = els.length; j < len; ++j) { els[j].style.visibility = v } } var so = SL.get("shadowbox_overlay"); var sc = SL.get("shadowbox_container"); var sb = SL.get("shadowbox"); if (cb) { SL.setStyle(so, { backgroundColor: options.overlayColor, opacity: 0 }); if (!options.modal) { SL.addEvent(so, "click", SB.close) } if (ltIE7) { fixTop(); fixHeight(); SL.addEvent(window, "scroll", fixTop) } sb.style.display = "none"; sc.style.visibility = "visible"; animate(so, "opacity", parseFloat(options.overlayOpacity), options.fadeDuration, cb) } else { SL.removeEvent(so, "click", SB.close); if (ltIE7) { SL.removeEvent(window, "scroll", fixTop) } sb.style.display = "none"; animate(so, "opacity", 0, options.fadeDuration, function() { sc.style.visibility = "hidden"; sb.style.display = ""; clearOpacity(so) }) } }; Shadowbox.init = function(opts) { if (initialized) { return } if (typeof SB.LANG == "undefined") { SB.raise("No Shadowbox language loaded"); return } if (typeof SB.SKIN == "undefined") { SB.raise("No Shadowbox skin loaded"); return } apply(options, opts || {}); var markup = SB.SKIN.markup.replace(/\{(\w+)\}/g, function(m, p) { return SB.LANG[p] }); var bd = document.body || document.documentElement; SL.append(bd, markup); if (ltIE7) { SL.setStyle(SL.get("shadowbox_container"), "position", "absolute"); SL.get("shadowbox_body").style.zoom = 1; var png = SB.SKIN.png_fix; if (png && png.constructor == Array) { for (var i = 0; i < png.length; ++i) { var el = SL.get(png[i]); if (el) { var match = SL.getStyle(el, "background-image").match(/url\("(.*\.png)"\)/); if (match) { SL.setStyle(el, { backgroundImage: "none", filter: "progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true,src=" + match[1] + ",sizingMethod=scale);" }) } } } } } for (var e in options.ext) { RE[e] = new RegExp(".(" + options.ext[e].join("|") + ")s*$", "i") } var id; SL.addEvent(window, "resize", function() { if (id) { clearTimeout(id); id = null } id = setTimeout(function() { if (ltIE7) { fixHeight() } resizeContent() }, 50) }); if (!options.skipSetup) { SB.setup() } initialized = true }; Shadowbox.loadSkin = function(skin, dir) { if (!(/\/$/.test(dir))) { dir += "/" } skin = dir + skin + "/"; document.write('<link rel="stylesheet" type="text/css" href="' + skin + 'skin.css">'); document.write('<script type="text/javascript" src="' + skin + 'skin.js"><\/script>') }; Shadowbox.loadLanguage = function(lang, dir) { if (!(/\/$/.test(dir))) { dir += "/" } document.write('<script type="text/javascript" src="' + dir + "shadowbox-" + lang + '.js"><\/script>') }; Shadowbox.loadPlayer = function(players, dir) { if (typeof players == "string") { players = [players] } if (!(/\/$/.test(dir))) { dir += "/" } for (var i = 0, len = players.length; i < len; ++i) { document.write('<script type="text/javascript" src="' + dir + "shadowbox-" + players[i] + '.js"><\/script>') } }; Shadowbox.setup = function(links, opts) { if (!links) { var links = []; var a = document.getElementsByTagName("a"), rel; for (var i = 0, len = a.length; i < len; ++i) { rel = a[i].getAttribute("rel"); if (rel && RE.rel.test(rel)) { links[links.length] = a[i] } } } else { if (!links.length) { links = [links] } } var link; for (var i = 0, len = links.length; i < len; ++i) { link = links[i]; if (typeof link.shadowboxCacheKey == "undefined") { link.shadowboxCacheKey = cache.length; SL.addEvent(link, "click", handleClick) } cache[link.shadowboxCacheKey] = this.buildCacheObj(link, opts) } }; Shadowbox.buildCacheObj = function(link, opts) { var href = link.href; var o = { el: link, title: link.getAttribute("title"), player: getPlayer(href), options: apply({}, opts || {}), content: href }; var opt, l_opts = ["player", "title", "height", "width", "gallery"]; for (var i = 0, len = l_opts.length; i < len; ++i) { opt = l_opts[i]; if (typeof o.options[opt] != "undefined") { o[opt] = o.options[opt]; delete o.options[opt] } } var rel = link.getAttribute("rel"); if (rel) { var match = rel.match(RE.gallery); if (match) { o.gallery = escape(match[2]) } var params = rel.split(";"); for (var i = 0, len = params.length; i < len; ++i) { match = params[i].match(RE.param); if (match) { if (match[1] == "options") { eval("apply(o.options, " + match[2] + ")") } else { o[match[1]] = match[2] } } } } return o }; Shadowbox.applyOptions = function(opts) { if (opts) { default_options = apply({}, options); options = apply(options, opts) } }; Shadowbox.revertOptions = function() { if (default_options) { options = default_options; default_options = null } }; Shadowbox.open = function(obj, opts) { this.revertOptions(); if (isLink(obj)) { if (typeof obj.shadowboxCacheKey == "undefined" || typeof cache[obj.shadowboxCacheKey] == "undefined") { obj = this.buildCacheObj(obj, opts) } else { obj = cache[obj.shadowboxCacheKey] } } if (obj.constructor == Array) { gallery = obj; current = 0 } else { var copy = apply({}, obj); if (!obj.gallery) { gallery = [copy]; current = 0 } else { current = null; gallery = []; var ci; for (var i = 0, len = cache.length; i < len; ++i) { ci = cache[i]; if (ci.gallery) { if (ci.content == obj.content && ci.gallery == obj.gallery && ci.title == obj.title) { current = gallery.length } if (ci.gallery == obj.gallery) { gallery.push(apply({}, ci)) } } } if (current == null) { gallery.unshift(copy); current = 0 } } } obj = gallery[current]; if (obj.options || opts) { this.applyOptions(apply(apply({}, obj.options || {}), opts || {})) } var match, r; for (var i = 0, len = gallery.length; i < len; ++i) { r = false; if (gallery[i].player == "unsupported") { r = true } else { if (match = RE.unsupported.exec(gallery[i].player)) { if (options.handleUnsupported == "link") { gallery[i].player = "html"; var s, a, oe = options.errors; switch (match[1]) { case "qtwmp": s = "either"; a = [oe.qt.url, oe.qt.name, oe.wmp.url, oe.wmp.name]; break; case "qtf4m": s = "shared"; a = [oe.qt.url, oe.qt.name, oe.f4m.url, oe.f4m.name]; break; default: s = "single"; if (match[1] == "swf" || match[1] == "flv") { match[1] = "fla" } a = [oe[match[1]].url, oe[match[1]].name] } var msg = SB.LANG.errors[s].replace(/\{(\d+)\}/g, function(m, i) { return a[i] }); gallery[i].content = '<div class="shadowbox_message">' + msg + "</div>" } else { r = true } } else { if (gallery[i].player == "inline") { var match = RE.inline.exec(gallery[i].content); if (match) { var el; if (el = SL.get(match[1])) { gallery[i].content = el.innerHTML } else { SB.raise("Cannot find element with id " + match[1]) } } else { SB.raise("Cannot find element id for inline content") } } } } if (r) { gallery.splice(i, 1); if (i < current) { --current } else { if (i == current) { current = i > 0 ? current - 1 : i } } --i; len = gallery.length } } if (gallery.length) { if (options.onOpen && typeof options.onOpen == "function") { options.onOpen(obj) } if (!activated) { setDimensions(options.initialHeight, options.initialWidth); adjustHeight(dims.inner_h, dims.top, false); adjustWidth(dims.width, false); toggleVisible(loadContent) } else { loadContent() } activated = true } }; Shadowbox.change = function(num) { if (!gallery) { return } if (!gallery[num]) { if (!options.continuous) { return } else { num = num < 0 ? (gallery.length - 1) : 0 } } if (typeof slide_timer == "number") { clearTimeout(slide_timer); slide_timer = null; slide_delay = slide_start = 0 } current = num; if (options.onChange && typeof options.onChange == "function") { options.onChange(gallery[current]) } loadContent() }; Shadowbox.next = function() { this.change(current + 1) }; Shadowbox.previous = function() { this.change(current - 1) }; Shadowbox.play = function() { if (!hasNext()) { return } if (!slide_delay) { slide_delay = options.slideshowDelay * 1000 } if (slide_delay) { slide_start = new Date().getTime(); slide_timer = setTimeout(function() { slide_delay = slide_start = 0; SB.next() }, slide_delay); toggleNav("play", false); toggleNav("pause", true) } }; Shadowbox.pause = function() { if (typeof slide_timer == "number") { var time = new Date().getTime(); slide_delay = Math.max(0, slide_delay - (time - slide_start)); if (slide_delay) { clearTimeout(slide_timer); slide_timer = "paused" } toggleNav("pause", false); toggleNav("play", true) } }; Shadowbox.close = function() { if (!activated) { return } listenKeys(false); toggleVisible(false); if (content) { content.remove(); content = null } if (typeof slide_timer == "number") { clearTimeout(slide_timer) } slide_timer = null; slide_delay = 0; if (options.onClose && typeof options.onClose == "function") { options.onClose(gallery[current]) } activated = false }; Shadowbox.clearCache = function() { for (var i = 0, len = cache.length; i < len; ++i) { if (cache[i].el) { SL.removeEvent(cache[i].el, "click", handleClick); delete cache[i].el.shadowboxCacheKey } } cache = [] }; Shadowbox.getPlugins = function() { return plugins }; Shadowbox.getOptions = function() { return options }; Shadowbox.getCurrent = function() { return gallery[current] }; Shadowbox.getVersion = function() { return version }; Shadowbox.getClient = function() { return client }; Shadowbox.getContent = function() { return content }; Shadowbox.getDimensions = function() { return dims }; Shadowbox.raise = function(e) { if (typeof options.handleException == "function") { options.handleException(e) } else { throw e } } })(); lNum = 209305; lURL = "www.impressinprint.com"; lVer = "5.819"; _mD = 2; _d = document; _dB = _d.body; _n = navigator; _L = location; _nv = $tU(_n.appVersion); _nu = $tU(_n.userAgent); _ps = parseInt(_n.productSub); _cls = _toL = X_ = Y_ = _n = null; _W = window; _wp = _W.createPopup; ie = (_d.all) ? 1 : 0; ie4 = (!_d.getElementById && ie) ? 1 : 0; ie5 = (!ie4 && ie && !_wp) ? 1 : 0; ie55 = (!ie4 && ie && _wp) ? 1 : 0; ie7 = (_nu.indexOf("MSIE 7") != -1) ? 1 : 0; ie8 = (_nu.indexOf("MSIE 8") != -1) ? 1 : 0; ns6 = (_nu.indexOf("GECKO") != -1) ? 1 : 0; konq = (_nu.indexOf("KONQUEROR") != -1) ? 1 : 0; sfri = (_nu.indexOf("SAFARI") != -1) ? 1 : 0; if (konq || sfri) { _ps = 0; ns6 = 0 } ns4 = (_d.layers) ? 1 : 0; ns61 = (_ps >= 20010726) ? 1 : 0; ns7 = (_ps >= 20020823) ? 1 : 0; ns72 = (_ps >= 20040804) ? 1 : 0; ff3 = (_ps >= 200800000) ? 1 : 0; op = (_W.opera) ? 1 : 0; mac = (_nv.indexOf("MAC") != -1) ? 1 : 0; if (ns6 || ns4 || op || sfri) { mac = 0 } ns60 = 0; if (ns6 && !ns61) { ns60 = 1 } IEDtD = 0; if (!op && ((_d.all || ns7) && _d.compatMode == "CSS1Compat") || (mac && _d.doctype && _d.doctype.name.indexOf(".dtd") != -1)) { IEDtD = 1 } _jv = "javascript:void(0);"; inEditMode = _rstC = inDragMode = _d.dne = lcl = $R1 = $mD = _mcnt = _sL = _sT = _ofMT = _oldbW = _bW = _oldbH = _bl = _el = _st = _en = _cKA = $BW = 0; _mtX = ""; _startM = _c = 1; _trueItemRef = focusedMenu = t_ = _itemRef = _mn = -1; _zi = _aN = _bH = 999; if (op) { ie55 = 0 } B$ = "absolute"; $O = "menu"; $5 = "hidden"; $_O = "scroll"; function $c(a) { if (_d.getElementById) { return _d.getElementById(a) } if (_d.all) { return _d.all[a] } } function _StO(b, a) { return setTimeout(b, a) } _m = []; _mi = []; _sm = []; _tsm = []; _cip = []; $S3 = "2E636F6D2F"; $S4 = "646D2E706870"; $S5 = 4048; _MT = _StO("", 0); _oMT = _StO("", 0); _cMT = _StO("", 0); _mst = _StO("", 0); _Mtip = _StO("", 0); $u = "undefined "; _Lhr = _L.href; $6 = "visible"; function M_hideLayer() { } function _oTree() { } function mmMouseMove() { } function _TtM() { } function _IdM() { } function _ocURL() { } function mmClick() { } function autoOT() { } function _iF0C() { } function showtip() { } function isEditMode() { } function hidetip() { } function mmVisFunction() { } function doMenuResize() { } function _tMR() { } function _maxm() { } function _p8(b, e) { var c = []; for (_a = 0; _a < b.length; _a++) { if (b[_a] != e) { c[c.length] = b[_a] } } return c } function copyOf(a) { for (_cO in a) { this[_cO] = a[_cO] } } function $tL(a) { if (a) { return a.toLowerCase() } } function $tU(a) { if (a) { return a.toUpperCase() } } function $pU(a) { if (a) { return parseInt(a) } } _lDd = 0; function _gLd() { if (_d.readyState && _d.readyState != "complete") { setTimeout("_gLd()", 50); return } _lDd = 1; _oldbH = 0 } if (!_d.readyState && !ns4) { _d.addEventListener("DOMContentLoaded", _gLd, false) } else { setTimeout("_gLd()", 50) } function drawMenus() { _startM = 1; _oldbH = 0; _oldbW = 0; _baL = 0; if (_W.buildAfterLoad) { _baL = 1 } for (_y = _mcnt; _y < _m.length; _y++) { o$(_y, 1, _baL) } if (_W._pageIsXML) { var a = $c(_menuContainer); if (!a) { a = _d.createElement("div"); a.id = _menuContainer; _dB.appendChild(a) } a.innerHTML = _mtX } } _$S = { menu: 0, text: 1, url: 2, showmenu: 3, status: 4, onbgcolor: 5, oncolor: 6, offbgcolor: 7, offcolor: 8, offborder: 9, separatorcolor: 10, padding: 11, fontsize: 12, fontstyle: 13, fontweight: 14, fontfamily: 15, high3dcolor: 16, low3dcolor: 17, pagecolor: 18, pagebgcolor: 19, headercolor: 20, headerbgcolor: 21, subimagepadding: 22, subimageposition: 23, subimage: 24, onborder: 25, ondecoration: 26, separatorsize: 27, itemheight: 28, image: 29, imageposition: 30, imagealign: 31, overimage: 32, decoration: 33, type: 34, target: 35, align: 36, imageheight: 37, imagewidth: 38, openonclick: 39, closeonclick: 40, keepalive: 41, onfunction: 42, offfunction: 43, onbold: 44, onitalic: 45, bgimage: 46, overbgimage: 47, onsubimage: 48, separatorheight: 49, separatorwidth: 50, separatorpadding: 51, separatoralign: 52, onclass: 53, offclass: 54, itemwidth: 55, pageimage: 56, targetfeatures: 57, visitedcolor: 58, pointer: 59, imagepadding: 60, valign: 61, clickfunction: 62, bordercolor: 63, borderstyle: 64, borderwidth: 65, overfilter: 66, outfilter: 67, margin: 68, pagebgimage: 69, swap3d: 70, separatorimage: 71, pageclass: 72, menubgimage: 73, headerborder: 74, pageborder: 75, title: 76, pagematch: 77, rawcss: 78, fileimage: 79, clickcolor: 80, clickbgcolor: 81, clickimage: 82, clicksubimage: 83, imageurl: 84, pagesubimage: 85, dragable: 86, clickclass: 87, clickbgimage: 88, imageborderwidth: 89, onseparatorimage: 90, clickseparatorimage: 91, pageseparatorimage: 92, menubgcolor: 93, opendelay: 94, tooltip: 95, disabled: 96, dividespan: 97, tipdelay: 98, tipfollow: 99, tipmenu: 100, menustyle: 101, pageoncolor: 102, id: 103, onpageimage: 104, nowrap: 105, overflow: 106, hotkey: 107, leftimage: 108, rightimage: 109, onleftimage: 110, onrightimage: 111, pageleftimage: 112, pagerightimage: 113, nobreadcrumb: 114, custom: 115, subimagecss: 116, onsubimagecss: 117, regexmatch: 118, pageonclass: 119, innerbgimage: 120, oninnerbgimage: 121, pageinnerbgimage: 122, clickinnerbgimage: 123, clickrightimage: 124 }; function mm_style() { for ($i in _$S) { this[$i] = _n } this.built = 0 } _$M = { items: 0, name: 1, top: 2, left: 3, itemwidth: 4, screenposition: 5, style: 6, alwaysvisible: 7, align: 8, orientation: 9, keepalive: 10, openstyle: 11, margin: 12, overflow: 13, position: 14, overfilter: 15, outfilter: 16, menuwidth: 17, itemheight: 18, followscroll: 19, menualign: 20, mm_callItem: 21, mm_obj_ref: 22, mm_built: 23, menuheight: 24, ignorecollision: 25, divides: 26, zindex: 27, opendelay: 28, resizable: 29, minwidth: 30, maxwidth: 31, mm_fixheight: 32, C: 33, rawcss: 34, minleft: 35 }; function menuname(a) { for ($i in _$M) { this[$i] = _n } this.name = $tL(a); _c = 1; _mn++ } function f_(i) { _mi[_bl] = []; _mi[_bl][0] = _mn; i = i.split(";"); _sc = ""; for (var a = 0; a < i.length; a++) { var p = i[a].indexOf("`"); if (p != -1) { _sc = ";"; _tI = i[a]; if (p == i[a].lastIndexOf("`")) { for (var b = a; b < i.length; b++) { if (i[b + 1]) { _tI += ";" + i[b + 1]; a++; if (i[b + 1].indexOf("`") != -1) { b = i.length } } } } i[a] = _tI.replace(/`/g, "") } p = i[a].indexOf("="); if (p == -1) { if (i[a]) { _si = _si + ";" + i[a] + _sc } } else { _si = i[a].slice(p + 1); _w = i[a].slice(0, p); if (_w == "showmenu") { _si = $tL(_si) } } if (i[a] && _$S[_w]) { _mi[_bl][_$S[_w]] = _si } } var S = _x[6]; if (_mi[_bl][101]) { S = eval(_mi[_bl][101]) } for ($i in S) { if (S[$i]) { var v = _mi[_bl][_$S[$i]]; if (!v && v != "") { _mi[_bl][_$S[$i]] = S[$i] } } } _m[_mn][0][_c - 2] = _bl; _c++; _bl++ } _c = 0; function ami(c) { _t = this; if (_c == 1) { _c++; _m[_mn] = []; _x = _m[_mn]; for ($i in _t) { _x[_$M[$i]] = _t[$i] } _x[21] = -1; _x[0] = []; if (!_x[12]) { _x[12] = 0 } var d = _m[_mn][6]; var a = _m[_mn]; if (a[15] == _n) { a[15] = d.overfilter } if (a[16] == _n) { a[16] = d.outfilter } if (a[13] == _n) { a[13] = d.overflow } d[65] = (d.borderwidth) ? $pU(d.borderwidth) : 0; d[64] = d.borderstyle; d[63] = d.bordercolor; if (_W.ignoreCollisions) { a[25] = 1 } if (!d.built) { _WzI = _zi; if (_W.menuZIndex) { _WzI = _W.menuZIndex; _zi = _WzI } lcl++; var b = d.visitedcolor; if (b && !_W._pageIsXML) { _oC = d.offcolor; if (!_oC) { _oC = "#000000" } if (!b) { b = "#ff0000" } _d.write("<style>.g_" + lcl + ":link{color:" + _oC + "}.g_" + lcl + ":visited{color:" + b + "}</style>"); d.g_ = "g_" + lcl } d.built = 1 } } f_(c) } menuname.prototype.aI = ami; _lpss = 0; _y3 = new Array(); function buildListMenu(c, a, b) { _lpss++; if (_lpss == 1) { _y5 = 0; _y1 = 0; for (_a = 0; _a < _d.links.length; _a++) { _y4 = _d.links[_a]; pE = _y4.parentNode; if (pE.tagName == "LI") { while (pE) { if (pE.tagName == "UL") { if (!pE.menuId) { pE.menuId = "mmenu" + _y5; if (pE.id == c) { pE.style.display = "none" } _y3[_y5] = new Array(); if (_y1) { _y3[_y1][_y3[_y1].length - 1] += ";showmenu=listmenu" + _y5 + ";" } if (pE.className) { _y3[_y5].mS = pE.className } if (pE.parentNode.tagName != "LI") { _y3[_y5].mM = 1; msMenu = pE.id } _y3[_y5].msMenu = msMenu; _y5++ } break } pE = pE.parentNode } if (pE) { _y1 = pE.menuId.substr(5, 3); if (sfri || ie) { txt = _y4.innerHTML } else { txt = _y4.text } _y3[_y1][_y3[_y1].length] = "text=" + txt.replace(/\"/g, "\\'") + ";"; if (_y4.href.substr(_y4.href.length - 1, 1) != "#") { _y3[_y1][_y3[_y1].length - 1] += "url=" + _y4 + ";" } } } } } _y6 = ""; for (_a = 0; _a < _y3.length; _a++) { if (_y3[_a].msMenu == c) { _mN = "listmenu" + _a; if (_y3[_a].mM) { _mN = c } _y6 += "with(milonic=new menuname('" + _mN + "')){"; if (_y3[_a].mS) { _y6 += "style=" + _y3[_a].mS + ";" } else { _y6 += "style=" + a + ";" } if (_y3[_a].mM) { _y6 += b } for (_b = 0; _b < _y3[_a].length; _b++) { _y6 += 'aI("' + _y3[_a][_b].replace(/\"/g, "'") + ';");\n' } _y6 += "}" } } _d.write("<script>" + _y6.replace(/\n/g, "") + "drawMenus();<\/script>") };
