/****************************************
 * Newhost
 * Global JavaScript
 ****************************************/

// Start closure to prevent namespace conflicts
;(function($) {

$.fn.maphilight.defaults = {
	fill: true,
	fillColor: 'acacac',
	fillOpacity: 0.2,
	stroke: false,
	strokeColor: 'ff0000',
	strokeOpacity: 1,
	strokeWidth: 1,
	fade: true,
	alwaysOn: false
}

// Perform initial setup tasks when DOM is ready
$(document).ready( function() {

$('#menumap').maphilight();


	$('.micdom').livequery('click', function(){
											 
	 var thisid = $(this).attr("id").substr($(this).attr("id").lastIndexOf('_')+1,$(this).attr("id").length);
	 var newval = '.' + thisid;
	 $('li[id="domain-selectbox_input_'+newval+'"]').trigger('click');

	     });
 
 
 if ((!$.browser.msie) || ($.browser.msie && $.browser.version.substr(0,1)>7)) {
  $('#clickVertical').livequery(function(){ 
  $(this).lavaLamp({
	fx: 'easeInSine',
	speed: 500
                    });
                                     });
 }

});
})(jQuery);