
function send() {

$.get("index.php", { s: "1" },function(result) {$('#result').html(result).hide().fadeIn('slow');});  

}
function send2() {
var mobile = document.getElementById('mobile');
if (mobile.value == '') {
alert('يرجى كتابةرقم الجوال');
}else if (mobile.value.length != 10) {
alert('رقم الجوال يجب ان  يكون عشرة ارقام');
} else {

$.get("index.php", { s: "2" ,mobile:mobile.value},function(result) {$('#result').html(result).hide().fadeIn('slow');});  
//$.post(

}

}
function send3() {
var activationcode = document.getElementById('activationcode');
if (activationcode.value == '') {
alert('يرجى ادخال كود التفعيل');
}else if (activationcode.value.length != 6 ) {
alert('كود التفعيل الذي ادخلته غير صحيح');
} else {

$.get("index.php", { s: "3",activationcode:activationcode.value },function(result) {$('#result').html(result).hide().fadeIn('slow');}); 

}
}
function about() {
$.get("services.php", { p: "about" },function(result) {$('#result').html(result).hide().fadeIn('slow');
});  
}
function activation() {
$.get("services.php", { p: "activate" },function(result) {$('#result').html(result).hide().fadeIn('slow');});  
}
function gov_pubplic() {
$("#result").slideUp("slow",function(){
   $('#result').html("قريباً سوف يتم توفير خدمة الرسائل المجانية للجهات الحكومية والخيريةبواسطة خدمة API").animate({left: 50, opacity: 'show'}, 500);});
}
//$("statusContainer").toggle();
$().ajaxSend(function(result){$("#statusContainer").toggle();});
$().ajaxStop(function(result){$("#statusContainer").fadeOut("fast");});