				$(document).ready(function(){
					var msgstatus0 = $.cookie('welcomemsg');
					if (msgstatus0 == 'open')
					{
					$(".toggle_container").show();
					$('h2.trigger').css({'background-position' : 'left bottom'});
					} else if (msgstatus0 == 'close') {
					$(".toggle_container").hide();
					$('h2.trigger').css({'background-position' : 'left top'});
					}
					else {
					$(".toggle_container").show();
					$('h2.trigger').css({'background-position' : 'left bottom'});
					$.cookie('welcomemsg', 'open', { expires: 90 });
					};					
					if (msgstatus0 == 'close')
					{
					//Switch the "Open" and "Close" state per click
					$("h2.trigger").toggle(function(){
						$('h2.trigger').css({'background-position' : 'left bottom'});
						}, function () {
						$('h2.trigger').css({'background-position' : 'left top'});
					});
					} else {
					//Switch the "Open" and "Close" state per click
					$("h2.trigger").toggle(function(){
						$('h2.trigger').css({'background-position' : 'left top'});
						}, function () {
						$('h2.trigger').css({'background-position' : 'left bottom'});
					});
					}
					//Slide up and down on click
					$("h2.trigger").click(function(){
						var msgstatus = $.cookie('welcomemsg');
						if (msgstatus == 'open')
						{
						$.cookie('welcomemsg', 'close', { expires: 90 });
						} else if (msgstatus == 'close') {
						$.cookie('welcomemsg', 'open', { expires: 90 });
						}
						else {
						$.cookie('welcomemsg', 'open');
						};
						$(this).next(".toggle_container").slideToggle("slow");
					});
				});