/***********************************************************************
*  3M.com Corporate JavaScript v 4.02
*  Copyright (c) 3M 2011. All rights reserved
*  Last Modified: 03/30/2011
*  Asset ID: 1273678258924
*  Authors: @A1RQLZZ, @US338674 
************************************************************************/

function getUrlVars() {   
//function to extract parameters from URL 
	var vars = [], 
		urlHash, 
		urlHashes = window.location.href.slice(window.location.href.indexOf('?') + 1).split('&'),
		i;     
	for (i = 0; i < urlHashes.length; i = i + 1) {        
		urlHash = urlHashes[i].split('=');        
		vars.push(urlHash[0]);        
		vars[urlHash[0]] = urlHash[1];    
	}     
	return vars;
}
var urlHash = getUrlVars();

function $debug(msg, param){
//debug function (message to write to log, parameter to enable (default is debug=corpJS)
	if (!param) {
		var param = '';
	}
	if (urlHash.debug === 'corpJS' || urlHash.debug === param) {
		if (window.console && window.console.log) 
			window.console.log(msg);
	}
};
$debug('Start Corp JS');


function readMetatagValue(tagname)
{
  $debug('Read MetatagValue: ' + tagname);
  //  rolled back for v4 temporarily
  var MetaTagList, MetaName, MetaContent, MetaTags, Success, i;

  // Initializiation of some variables
  MetaTags = "";
  Success = 0;

  if (document.all)
  {
    MetaTagList=document.all.tags("meta");
  }
  else if (document.documentElement)
  {
    MetaTagList=document.getElementsByTagName("meta");
  }
  var ListLength = MetaTagList.length;

  for (i = 0; i < ListLength; i++)
  {
    MetaName = MetaTagList[i].name;
    if (MetaName == tagname)
    {
      Success = 1;
      return "" + MetaTagList[i].content;
    }
  }
  if (Success === 0)
  {
    return "No Meta Tag Found";
  }
}

function clearCookies() {
	$debug('Clearing Cookies');
    //CLEARS LTPATOKEN AND WPSJSESSION COOKIES
    document.cookie = 'LtpaToken=clear; expires=Thu, 2 Aug 2001 20:47:11 UTC; path=/; domain=.' + document.domain;    
    document.cookie = 'WPSJSESSIONID=clear; expires=Thu, 2 Aug 2001 20:47:11 UTC; path=/;';
}

function setActiveTabs(string, id) {
    $debug('setActiveTabs - This function is deprecated, please contact Corporate eBusiness');
}

function setActiveTabs_dep(string, id) {
	//this will soon be deprecated
    $debug('Setting Active Tab (soon to be deprecated!): string=' + string + ', id=' + id);
    if (window.location.href.indexOf(string) !== -1) {
		jQuery(id).addClass("selected");
	} else {
		jQuery(id).removeClass("selected");
	}
}

function changePSNimage(string, id) {
	$debug('Changing Background Image of PSN: string=' + string + ', id=' + id);
	if (window.location.href.indexOf(string) !== -1) {
		jQuery('#psnwrap').css('background-image', 'url(/3MContentRetrievalAPI/BlobServelet?univid=' + id + '&fallback=true&assetType=MMM_Image&blobAttribute=ImageFile)');
	} else {
		jQuery(id).removeClass("selected");
	}
}

//CSS Browser Selector v0.4.0 (Nov 02, 2010) http://rafael.adm.br/css_browser_selector
function css_browser_selector(u){var ua=u.toLowerCase(),is=function(t){return ua.indexOf(t)>-1},g='gecko',w='webkit',s='safari',o='opera',m='mobile',h=document.documentElement,b=[(!(/opera|webtv/i.test(ua))&&/msie\s(\d)/.test(ua))?('ie ie'+RegExp.$1):is('firefox/2')?g+' ff2':is('firefox/3.5')?g+' ff3 ff3_5':is('firefox/3.6')?g+' ff3 ff3_6':is('firefox/3')?g+' ff3':is('gecko/')?g:is('opera')?o+(/version\/(\d+)/.test(ua)?' '+o+RegExp.$1:(/opera(\s|\/)(\d+)/.test(ua)?' '+o+RegExp.$2:'')):is('konqueror')?'konqueror':is('blackberry')?m+' blackberry':is('android')?m+' android':is('chrome')?w+' chrome':is('iron')?w+' iron':is('applewebkit/')?w+' '+s+(/version\/(\d+)/.test(ua)?' '+s+RegExp.$1:''):is('mozilla/')?g:'',is('j2me')?m+' j2me':is('iphone')?m+' iphone':is('ipod')?m+' ipod':is('ipad')?m+' ipad':is('mac')?'mac':is('darwin')?'mac':is('webtv')?'webtv':is('win')?'win'+(is('windows nt 6.0')?' vista':''):is('freebsd')?'freebsd':(is('x11')||is('linux'))?'linux':'','js']; c = b.join(' '); h.className += ' '+c; return c;}; 

// Corporate Tab Code -- Optimize or deprecate. 
IE5 = NN6 = false;
if (document.all) {
    IE5 = true;
} else if (document.getElementById) {
	NN6 = true;
}

function showDiv(what, which, numdivs) {
	$debug('ShowDiv: what=' + what + ', which=' + which + ', numdivs' + numdivs);
    var fullImage = document.getElementById("tab" + which), current, current2;
    
    //	TURN OFF ALL LAYERS AND/OR TABS
    for (i = 0; i < numdivs; i = i + 1) {
        if (IE5) {
            eval("document.all." + what + i + ".style.display='none'");
        }
        if (NN6) {
            eval("document.getElementById('" + what + i + "').style.display='none'");
        }
        if (what === "table") {
            current = document.getElementById("tab" + i);
            current.className = '';
            fullImage = document.getElementById("tab" + i);
        }
    }
    //	GO BACK THROUGH AND TURN ON THE DESIRED LAYER AND/OR TABS
    if (IE5) {
        eval("document.all." + what + which + ".style.display='block'");
    }
    if (NN6) {
        eval("document.getElementById('" + what + which + "').style.display='inline'");
    }
    
    if (what === "table") {
        current2 = document.getElementById("tab" + which);
        current2.className = 'current';
        fullImage = document.getElementById("tab" + which);
    }
}

function redirect(obj, pnumId, referrerId )
{
	$debug('Firing Redirect: obj=' + obj + ', pnumId=' + pnumId + ', referrerId=' + referrerId);
    MLTAstring = "http://www3.3m.com/metrics/redirect.jsp?";
    MLTAstring += "pnum=" + pnumId;
    MLTAstring += "&referrer=" + referrerId + "&target=";
    MLTAstring += encodeURIComponent(document.all[obj.sourceIndex].href);
    document.all[obj.sourceIndex].href = MLTAstring;
}


/************************************************************************
* END Utility Functions
************************************************************************/


/************************************************************************
*	3M.com Theme Core Area
************************************************************************/

//default LSN Settings
var $lsnSettings = {
	"actuatorOff" : "http://solutions.3m.com/wps/themes/html/3M.com/images/lsnoff.gif",
	"actuatorOn" : "http://solutions.3m.com/wps/themes/html/3M.com/images/lsnon.gif",
	"actuator1" : "http://solutions.3m.com/wps/themes/html/3M.com/images/lsnpg.gif",
	"actuatorLock" : "http://solutions.3m.com/wps/themes/html/3M.com/images/lsnlock.gif"
}


function setActuators(nav) {
	$debug('Firing setActuators: nav=' + nav);
	//THIS FUNCTION CAN BE OPTIMIZED???
    var lis = nav.getElementsByTagName('li'), menudone = [], li, childMenu, parentMenu, a, actuator, selected, i, lastVisHidden, img;
	
	$debug('SetActuators: List Length = ' + lis.length);
	
    for (i = 0; i < lis.length; i = i + 1) {
        li = lis[i];
        childMenu = li.getElementsByTagName('ul')[0];
        selected = (li.className.indexOf('selected') !== -1) ? true : false;
        lastVisHidden = (li.className.indexOf('lastVis') !== -1) ? true : false;
        if (selected || lastVisHidden) {
            parentMenu = li.parentNode;
            while (parentMenu.nodeName === 'UL' || parentMenu.nodeName === 'LI') {
                if (parentMenu.nodeName === 'UL') {
                    parentMenu.style.display = 'block';
                }
                if (parentMenu.nodeName === 'LI') {
                    parentMenu.getElementsByTagName('img')[0].src = $lsnSettings.actuatorLock;
                    parentMenu.getElementsByTagName('img')[0].style.cursor = 'default';
                    parentMenu.className += ' locked';
                }
                parentMenu = parentMenu.parentNode;
            }
        }
        if (childMenu && menudone[i] !== true) {
            actuator = document.createElement('a');
/*
            actuator.style.position = 'absolute';
            actuator.style.left = '-13px';
            actuator.style.top = '3px';
            actuator.style.zIndex = '5';
            actuator.style.backgroundColor = 'transparent';
            actuator.style.cursor = 'pointer';
*/
            actuator.className += ' dontshow actuator';
            img = document.createElement('img');
            (selected || lastVisHidden) ? img.setAttribute('src', $lsnSettings.actuatorOn) : img.setAttribute('src', $lsnSettings.actuatorOff);
            actuator.appendChild(img);
            li.insertBefore(actuator, li.getElementsByTagName('a')[0]);
            li.getElementsByTagName('a')[0].style.backgroundImage = 'none';
            li.getElementsByTagName('a')[1].style.backgroundImage = 'none';
            li.style.position = 'relative';
            if (selected) {
                childMenu.style.display = 'block';
            } else {
                childMenu.style.display = 'none';
            }
            if (lastVisHidden) {
                childMenu.style.display = 'block';
            }
            menudone[i] = true;
        }
    }
}


jQuery(document).ready(function () {
//Page is fully loaded
$debug('CorpJS: Document is ready');
try {
    $debug('CorpJS: Hiding Empty Nav Items');
    jQuery('#mmmlsnwrap h5').filter(function(){
        if (jQuery.trim(jQuery(this).text()) == '') {
            jQuery(this).addClass('emptylabel');
        }
    });
} 
catch (e) {
    $debug('CorpJS: Hiding Empty Nav Items FAILED: ' + e.message);
}

 

$debug('Loading LSNify');
try {
    (function($){
        $.fn.LSNify = function($$options){
            $debug('Entering LSNify');
            
            // build main settings before element iteration
            var $settings = $.extend({}, $.fn.LSNify.defaults, $$options);
            jQuery('.actuator').remove();
            if ($settings.iconSet !== null) {
                $debug('LSNify: Overriding Default Icons to ' + $settings.iconSet + ' set');
                switch ($settings.iconSet) {
                    case 'white':
                        $lsnSettings.actuatorOff = 'http://solutions.3m.com/wps/themes/html/3M.com/images/lsnoffwht.gif';
                        $lsnSettings.actuatorOn = 'http://solutions.3m.com/wps/themes/html/3M.com/images/lsnonwht.gif';
                        $lsnSettings.actuator1 = 'http://solutions.3m.com/wps/themes/html/3M.com/images/lsnpgwht.gif';
                        $lsnSettings.actuatorLock = 'http://solutions.3m.com/wps/themes/html/3M.com/images/lsnlockwht.gif';
                        jQuery('#mmmlsnwrap UL LI.collapse A').css('background-image','url("http://solutions.3m.com/wps/themes/html/3M.com/images/lsnoffwht.gif")');
                        jQuery('#mmmlsnwrap UL LI.firstLI A').css('background-image','url("http://solutions.3m.com/wps/themes/html/3M.com/images/lsnonwht.gif")');
						jQuery('#mmmlsnwrap UL LI.expanded A').css('background-image','url("http://solutions.3m.com/wps/themes/html/3M.com/images/lsnlockwht.gif")');
                        jQuery('#mmmlsnwrap UL LI.collapse LI A, #mmmlsnwrap UL LI A, #mmmlsnwrap UL LI.lastVis A, #mmmlsnwrap UL LI.selected A, #mmmlsnwrap UL LI.firstLI UL A, #mmmlsnwrap UL LI.expanded LI A, #mmmlsnwrap UL LI.expanded UL LI.expanded UL LI A, #mmmlsnwrap UL LI.expanded UL LI.expanded UL LI A, #mmmlsnwrap UL LI.selected A').css('background-image','url("http://solutions.3m.com/wps/themes/html/3M.com/images/lsnpgwht.gif")');
                        
                        break;
                    case 'gray':
                        $lsnSettings.actuatorOff = 'http://solutions.3m.com/wps/themes/html/3M.com/images/lsnoffgr.gif';
                        $lsnSettings.actuatorOn = 'http://solutions.3m.com/wps/themes/html/3M.com/images/lsnongr.gif';
                        $lsnSettings.actuator1 = 'http://solutions.3m.com/wps/themes/html/3M.com/images/lsnpggr.gif';
                        $lsnSettings.actuatorLock = 'http://solutions.3m.com/wps/themes/html/3M.com/images/lsnlockgr.gif';
						jQuery('#mmmlsnwrap UL LI.collapse A').css('background-image','url("http://solutions.3m.com/wps/themes/html/3M.com/images/lsnoffgr.gif")');
                        jQuery('#mmmlsnwrap UL LI.firstLI A').css('background-image','url("http://solutions.3m.com/wps/themes/html/3M.com/images/lsnongr.gif")');
						jQuery('#mmmlsnwrap UL LI.expanded A').css('background-image','url("http://solutions.3m.com/wps/themes/html/3M.com/images/lsnlockgr.gif")');
                        jQuery('#mmmlsnwrap UL LI.collapse LI A, #mmmlsnwrap UL LI A, #mmmlsnwrap UL LI.lastVis A, #mmmlsnwrap UL LI.selected A, #mmmlsnwrap UL LI.firstLI UL A, #mmmlsnwrap UL LI.expanded LI A, #mmmlsnwrap UL LI.expanded UL LI.expanded UL LI A, #mmmlsnwrap UL LI.expanded UL LI.expanded UL LI A, #mmmlsnwrap UL LI.selected A').css('background-image','url("http://solutions.3m.com/wps/themes/html/3M.com/images/lsnpggr.gif")');          
                        break;
					case 'dark-gray':
                        $lsnSettings.actuatorOff = 'http://solutions.3m.com/wps/themes/html/3M.com/images/lsnoffdkgr.gif';
                        $lsnSettings.actuatorOn = 'http://solutions.3m.com/wps/themes/html/3M.com/images/lsnondkgr.gif';
                        $lsnSettings.actuator1 = 'http://solutions.3m.com/wps/themes/html/3M.com/images/lsnpgdkgr.gif';
                        $lsnSettings.actuatorLock = 'http://solutions.3m.com/wps/themes/html/3M.com/images/lsnlockdkgr.gif';
						jQuery('#mmmlsnwrap UL LI.collapse A').css('background-image','url("http://solutions.3m.com/wps/themes/html/3M.com/images/lsnoffdkgr.gif")');
                        jQuery('#mmmlsnwrap UL LI.firstLI A').css('background-image','url("http://solutions.3m.com/wps/themes/html/3M.com/images/lsnondkgr.gif")');
						jQuery('#mmmlsnwrap UL LI.expanded A').css('background-image','url("http://solutions.3m.com/wps/themes/html/3M.com/images/lsnlockdkgr.gif")');
                        jQuery('#mmmlsnwrap UL LI.collapse LI A, #mmmlsnwrap UL LI A, #mmmlsnwrap UL LI.lastVis A, #mmmlsnwrap UL LI.selected A, #mmmlsnwrap UL LI.firstLI UL A, #mmmlsnwrap UL LI.expanded LI A, #mmmlsnwrap UL LI.expanded UL LI.expanded UL LI A, #mmmlsnwrap UL LI.expanded UL LI.expanded UL LI A, #mmmlsnwrap UL LI.selected A').css('background-image','url("http://solutions.3m.com/wps/themes/html/3M.com/images/lsnpgdkgr.gif")');          
                        break;	
                }
            }
   
            if ($settings.contextualNav == true) {
            	$debug('Firing Contextual Nav');
                try {
                    jQuery('#mmmlsnwrap h5').css({
                        'border-top': 'none',
                        'padding-top': '1px'
                    });
                    jQuery('#mmmlsnwrap h5').not(jQuery('#mmmlsnwrap ul:has(.selected)').prev()).css({
                        'display': 'none'
                    });
                    jQuery('#mmmlsnwrap h5:has(.selected)').css({
                        'display': 'block'
                    });
                    jQuery('#mmmlsnwrap h5.selected').css({
                        'display': 'block'
                    });
                    jQuery('#mmmlsnwrap>ul:not(:has(.selected))').not(jQuery('.selected').next()).css({
                        'display': 'none'
                    });
                    jQuery('#mmmlsnwrap a.activator').css({
                        'top': '0px'
                    });
					if ($settings.cap == false){
						try {
							$debug('Contextual Nav Cap Hide');
							jQuery('#mmmlsnwrap h4:first').hide();
						} catch (e) {
							$debug('Contextual Nav Cap Hide FAILED: ' + e.message);
						}

	
					}
                } 
                catch (e) {
                	$debug('Contextual Nav FAILED: ' + e.message);
                } 
            }
            
            try {
                var menuElement = jQuery('#mmmlsnwrap');
                if (menuElement.length > 0) {
                    setActuators(document.getElementById('mmmlsnwrap')); //call left hand navigation actions	
                };
                            } 
            catch (e) {
                $debug('Call to Set Actuators Failed: ' + e.message);
            }
            // iterate and reformat each matched element - this is where you perform on your object. 
            return this.each(function(){
                $this = jQuery(this);
                
                
            });
            
            // set the plugin defaults
            $.fn.LSNify.defaults = {
                "iconSet": null,
                "contextualNav": false,
                "cap": true
            };
        }
        
    })(jQuery);
} 
catch (e) {
    $debug('Loading LSNify Failed: ' + e.message);
}




try {
	$debug('Loading Placeholdize Plug-in');
	//Placeholdize Plug-in from https://github.com/romac/jQuery.placeHoldize
	(function ($) {$.fn.placeHoldize = (function () {var supportsPlaceholder = (function (elem) {return !!(elem.placeholder === '')&&!!(elem.placeholder !== undefined);})(document.createElement('input'));function _placeHoldize(force){var $this=$(this);if(!force&&(supportsPlaceholder||!$this.attr('placeholder'))&&!$this.is('textarea')){return;}var placeHolder=$this.attr('placeholder');if($this.val().length<=0||$this.val()==placeHolder){$this.val('');$this.removeAttr('placeholder').addClass('placeholder-visible');$this.val(placeHolder);}else
	{$this.removeClass('placeholder-visible').addClass('placeholder-hidden');}$this.addClass('placeholdized');$this.focus(function(){var $this=$(this);if($this.val()===placeHolder){$this.val('');$this.removeClass('placeholder-visible').addClass('placeholder-hidden');}});$this.blur(function(){var $this=$(this);if($this.val()===''){$this.val(placeHolder);$this.removeClass('placeholder-hidden').addClass('placeholder-visible');}else
	{$this.removeClass('placeholder-visible').addClass('placeholder-hidden');}});}function _emptyFormOnSubmit($elements){var $forms=$elements.closest('form');$forms.submit(function(){var $this=$(this);if($this.data('placeHoldize.submitHandlerCalled')){return;}$this.find('.placeholder-visible').val('').data('placeHoldize.submitHandlerCalled',true);});return true;}return function(force){this.each(function(){_placeHoldize.call(this,force);});_emptyFormOnSubmit(this);return this;};})();})(jQuery);
}
catch (e){
	$debug('Loading Placeholdize FAILED: ' + e.message);
}

try {
	$debug('Loading Scrollbar Height Fix Plug-in');
	//Fix Scrollbar Height Plugin http://www.seangw.com/wordpress/index.php/plugins/fix-scrollbar-height-jquery-plugin/
	(function($){$.fn.fixScrollbarHeight=function(){var winHeight=$(window).height();var docHeight=$("body>div").height();var scrollWidth=getScrollerWidth();if(docHeight<winHeight){$("body").css("margin-right",scrollWidth+"px");}};})(jQuery);function getScrollerWidth(){var scr=null;var inn=null;var wNoScroll=0;var wScroll=0;scr=document.createElement('div');scr.style.position='absolute';scr.style.top='-1000px';scr.style.left='-1000px';scr.style.width='100px';scr.style.height='50px';scr.style.overflow='hidden';inn=document.createElement('div');inn.style.width='100%';inn.style.height='200px';scr.appendChild(inn);document.body.appendChild(scr);wNoScroll=inn.offsetWidth;scr.style.overflow='auto';wScroll=inn.offsetWidth;document.body.removeChild(document.body.lastChild);return(wNoScroll-wScroll);}

}
catch (e){
	$debug('Loading Scrollbar Height FAILED: ' + e.message);
}

	
	try {$debug('jQuery Version = ' + jQuery.fn.jquery);}catch (e){$debug('jQuery Version FAILED: ' + e.message);}	
	try {$debug('jQuery UI Version = ' + jQuery.ui.version);}catch (e){$debug('jQuery UI Version FAILED: ' + e.message);}
	
	//MENU ELEMENT OF THEME PASSED THROUGHOUT
	
    try {
        var menuElement = jQuery('#mmmlsnwrap');
        if (menuElement.length > 0) {
            setActuators(document.getElementById('mmmlsnwrap')); //call left hand navigation actions	
        };
        } 

    catch (e) {
    	$debug('Call to Set Actuators Failed: ' + e.message);
    }

	try {$debug('CSS Browser Selector Triggered: ' + navigator.userAgent); css_browser_selector(navigator.userAgent);} catch (e) {$debug('CSS Browser Selector Failed: ' + e.message);}
	try {$debug('Fix Scrollbar Height Triggered'); jQuery(document).fixScrollbarHeight();} catch (e) {$debug('Fix ScrollbarHeight Failed: ' + e.message);}
	try {$debug('Placeholder Text Triggered'); jQuery('input[placeholder], textarea[placeholder]').placeHoldize();} catch (e) {$debug('Placeholdize Failed: ' + e.message);}
	try {$debug('Button 1 Trigger'); jQuery(".primarybutton,.secondarybutton,.tertiarybutton").button();} catch (e) {$debug('Primary - Tertiary Buttons Failed: ' + e.message);}
	try {$debug('Button 2 Trigger'); jQuery(".productsearchbutton").button({text: false, icons: {primary: "ui-icon-search"}}).addClass('secondarybutton');} catch (e) {$debug('Product Buttons Failed: ' + e.message);}
	try {$debug('Carousel Left Trigger'); jQuery(".carouselleftbutton").button({text: false, icons: {primary: "ui-icon-triangle-1-w"}}).addClass('secondarybutton');} catch (e) {$debug('Carousel Left Button Failed: ' + e.message);}
	try {$debug('Carousel Right Trigger'); jQuery(".carouselrightbutton").button({text: false, icons: {primary: "ui-icon-triangle-1-e"}}).addClass('secondarybutton');} catch (e) {$debug('Carousel Right Button Failed: ' + e.message);}	
	try {$debug('3M Tabs Triggered'); jQuery(".tabs3m").tabs();} catch (e){$debug('Tabs Failed: ' + e.message);}
	try {$debug('Accordion'); jQuery(".accordion3m").accordion({autoHeight: false, clearStyle: true, icons: {header: "ui-icon-plus", headerSelected: "ui-icon-minus"}});} catch (e) {$debug('Accordion Failed: ' + e.message);}

   
    try { 
		$debug('seperating admin links');
        $adminlinks = jQuery('.adminlinks').detach();
        $pershello = jQuery('#personalization p').detach();
        $perslinks = jQuery('#personalization ul').detach();
        jQuery('#personalization').append($adminlinks).append($perslinks).append($pershello);
        $persblock = jQuery('#personalization').detach();
        jQuery('#masterwrap').prepend($persblock);
        jQuery('#masterwrap').addClass('persTop');
        
        if (jQuery('#psnwrap').css("display") !== "none") {
            jQuery('#headerRight').addClass('psnOn');
        }
    } 
    catch (e) {
        $debug('Seperating Admin Links FAILED: ' + e.message);
    }




    jQuery('.actuator').live('click', function(){
        $debug('Actuator Clicked: ' + jQuery(this).next().text());
		
        var li = this.parentNode;
        if (li.className.indexOf('locked') !== -1) {
            $debug('Actuator Debug: Parent Class = Locked');
            return;
        }
        else {
			$debug('Actuator Debug: Parent Class != Locked');
            childMenu = li.getElementsByTagName('ul')[0];
			$debug('Actuator Debug: Child Menu: ' + childMenu);
			$debug('Actuator Debug: Child Menu Display: ' + childMenu.style.display);
            if (childMenu.style.display === 'block' || childMenu.style.display === '') {
                jQuery(childMenu).slideUp('fast');
                this.getElementsByTagName('img')[0].src = $lsnSettings.actuatorOff;
				$debug('Actuator Debug: Slide Up, Src=' + $lsnSettings.actuatorOff);
            }
            else {
                jQuery(childMenu).slideDown('fast');
                this.getElementsByTagName('img')[0].src = $lsnSettings.actuatorOn;
				$debug('Actuator Debug: Slide Down, Src=' + $lsnSettings.actuatorOn);
            }
        }
		
    });



});
$debug('End Corp JS');


