jQuery(document).ready(function()
			{
				if(getCookie('show_message')!='no')
				{
					//Show Box
					jQuery('#message_box').show(); //display the message box
					//scroll the message box to the top offset of browser's scrool bar
					jQuery(window).scroll(function()
					{
						jQuery('#message_box').animate({top:jQuery(window).scrollTop()+"px" },{queue: false, duration: 350});
					});
				}
				//when the close button at right corner of the message box is clicked
				jQuery('#close_message').click(function()
				{
					//the messagebox gets scrool down with top property and gets hidden with zero opacity
					//jQuery('#message_box').css("position","relative");
					jQuery('#message_box').animate({ top:"+=15px",opacity:0 }, "slow");
					setCookie('show_message','no',1); //cookies is set to no value
				});
			});

			//function to set the cookie name, values and expiry time in hours
			function setCookie(c_name,value,expireHours)
			{
				var exhour=new Date(); //create the current date object
				exhour.setHours(exhour.getHours()+48);
				document.cookie=c_name+ "=" +escape(value)+
				((expireHours==null) ? "" : ";expires="+exhour.toGMTString());
			}

			//function to get the value from cookie name
			function getCookie(c_name)
			{
				if (document.cookie.length>0)
				{
					c_start=document.cookie.indexOf(c_name + "=");
					if (c_start!=-1)
					{
						c_start=c_start + c_name.length+1;
						c_end=document.cookie.indexOf(";",c_start);
						if (c_end==-1) c_end=document.cookie.length;
						return unescape(document.cookie.substring(c_start,c_end));
					}
				}
				return "";
			}
