
/* Merged Plone Javascript file
 * This file is dynamically assembled from separate parts.
 * Some of these parts have 3rd party licenses or copyright information attached
 * Such information is valid for that section,
 * not for the entire composite file
 * originating files are separated by - filename.js -
 */

/* - ++resource++hcbase.scripts/jquery.popupwindow.js - */
// http://www.holmescorp.com/portal_javascripts/++resource++hcbase.scripts/jquery.popupwindow.js?original=1
jQuery.fn.popupwindow=function(p){var profiles=p||{};return this.each(function(index){var settings,parameters,mysettings,b,a;mysettings=(jQuery(this).attr("rel")||"").split(",");settings={height:600,width:600,toolbar:0,scrollbars:0,status:0,resizable:1,left:0,top:0,center:0,createnew:1,location:0,menubar:0};if(mysettings.length==1&&mysettings[0].split(":").length==1){a=mysettings[0];if(typeof profiles[a]!="undefined"){settings=jQuery.extend(settings,profiles[a])}}
else{for(var i=0;i<mysettings.length;i++){b=mysettings[i].split(":");if(typeof settings[b[0]]!="undefined"&&b.length==2){settings[b[0]]=b[1]}}}
if(settings.center==1){settings.top=(screen.height-(settings.height+110))/2;settings.left=(screen.width-settings.width)/2}
parameters="location="+settings.location+",menubar="+settings.menubar+",height="+settings.height+",width="+settings.width+",toolbar="+settings.toolbar+",scrollbars="+settings.scrollbars+",status="+settings.status+",resizable="+settings.resizable+",left="+settings.left+",screenX="+settings.left+",top="+settings.top+",screenY="+settings.top;jQuery(this).bind("click", function(){var name=settings.createnew?"PopUpWindow"+index:"PopUpWindow";window.open(this.href,name,parameters).focus();return false})})};(function($){$(document).ready(function(){$('a.popup').popupwindow()})})(jq);

/* - ++resource++hctheme.holmescorp.scripts/fancymessage.js - */
// http://www.holmescorp.com/portal_javascripts/++resource++hctheme.holmescorp.scripts/fancymessage.js?original=1
(function($){$(document).ready(function(){$('#portal_messages').prependTo('#hc-portal-container').fadeIn('slow').animate({opacity:1.0},6000).fadeOut('slow')})})(jq);

/* - ++resource++hctheme.holmescorp.scripts/nav_unhover.js - */
// http://www.holmescorp.com/portal_javascripts/++resource++hctheme.holmescorp.scripts/nav_unhover.js?original=1
var userAgent=navigator.userAgent.toLowerCase();jQuery.browser={version:(userAgent.match(/.+(?:rv|it|ra|ie|me)[\/: ]([\d.]+)/)||[])[1],chrome:/chrome/.test(userAgent),safari:/webkit/.test( userAgent ) && !/chrome/.test(userAgent),opera:/opera/.test(userAgent),msie:/msie/.test( userAgent ) && !/opera/.test(userAgent),mozilla:/mozilla/.test( userAgent ) && !/(compatible|webkit)/.test(userAgent)};(function($){$(document).ready(function(){$('#nav_global li.other, #nav_global li.other ul').hover(function(){$('#nav_global li.selected ul').hide()}, function(){if((!jQuery.browser.chrome)&&(!jQuery.browser.msie)){$('#nav_global li.selected ul').fadeIn('slow')}
else{$('#nav_global li.selected ul').show()}})})})(jq);
