
$(document).ready(function(){
	if($.cookie("noimei")=="yes"){
		$("body").append('<div class="noimeimsg">We received data from your mobile but we do not have your mobile IMEI number yet. <br />Please enter it on this <a href="http://www.smsmemo.com/en/imeinumber/">page</a>. <br /><br />Until IMEI number is not filled with correct value received data are unavailable</div>');
		$("div.noimeimsg").dialog({
						bgiframe: true,
						modal: true,
						autoOpen: true,
						width: 600,
						buttons: {
							"Close": function() { 
								$(this).dialog("close"); 
							},
                            "Do not show until next login": function(){
								$.cookie("noimei","no",{expires: null, path: "/"});
                                $(this).dialog("close"); 
                            }
						}
		});
	}
});


