1var sz=new Array();var sz_inicial=10;var sz_maximo=10;var sz_minimo=10;var formato="px";var sz_inc=1;function init_common_datos(inicial,maximo,minimo,txt_format,inc) 2{sz_inicial=inicial;sz_maximo=maximo;sz_minimo=minimo;formato=txt_format;sz_inc=inc;} 3function init_individual_datos(contador) 4{sz[contador]=sz_inicial;} 5function modify_size(busca,inc,contador){var doc=document,eldoc=null,busca_tgs,i,j;switch(inc) 6{case 0:sz[contador]=sz_inicial;break;case 1:inc=sz_inc;sz[contador]+=inc;if(sz[contador]>(sz_maximo))sz[contador]=sz_maximo;break;case-1:inc=sz_inc*(-1);sz[contador]+=inc;if(sz[contador]<sz_minimo)sz[contador]=sz_minimo;break;case 2:sz[contador]=sz_maximo;break;} 7busca=busca+ contador;if(!(eldoc=doc.getElementById(busca)))return;eldoc.style.fontSize=sz[contador]+ formato;for(i=0;i<tgs.length;i++) 8{busca_tgs=eldoc.getElementsByTagName(tgs[i]);for(j=0;j<busca_tgs.length;j++)busca_tgs[j].style.fontSize=sz[contador]+ formato;}} 9var tgs=new Array('div','p','tr','td','table','ul','ol','li');init_common_datos(12,30,6,"px",1);init_individual_datos(1);function validation() 10{var login=document.comments_form;if(login.name.value==""){document.getElementById("name-errmsg").innerHTML="Enter the Name";login.name.focus();return false;} 11if(login.email.value==""){document.getElementById("email-errmsg").innerHTML="Enter the Email";login.email.focus();return false;} 12var validate_email=validateEmail(login.email.value);if(validate_email==false) 13{document.getElementById("email-errmsg").innerHTML="Enter the Valid Email";login.email.focus();login.email.value="";return false;} 14if(login.captcha_code.value==""){document.getElementById("captcha-errmsg").innerHTML="Enter the Verification Code";login.captcha_code.focus();return false;}} 15function validateEmail(elementValue){var emailPattern=/^[a-zA-Z0-9._-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,4}$/;return emailPattern.test(elementValue);} 16function validateEmail(elementValue){var emailPattern=/^[a-zA-Z0-9._-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,4}$/;return emailPattern.test(elementValue);} 17$(function(){$('#refer_form_submit').submit(function(e){e.preventDefault();vlivelink=$("#vlivelink").val();vembedcode=$("#vembedcode").val();vname=$("#vname").val();vmyemail=$("#vmyemail").val();var validate_email=validateEmail(vmyemail);vemailto=$("#vemailto").val();vmessage=$("#vmessage").val();captcha_code=$("#captcha_code").val();if(vname=='') 18{alert('Enter the Name');document.getElementById("vname").focus();return false;} 19else if(vmyemail=='') 20{alert('Enter the Email');document.getElementById("vmyemail").focus();return false;} 21if(validate_email==false) 22{alert("Enter Valid Email address");document.getElementById("vmyemail").focus();return false;} 23else if(vemailto=='') 24{alert('Enter the Recepients');document.getElementById("vemailto").focus();return false;} 25else if(vmessage=='') 26{alert('Enter the Enquiry');document.getElementById("vmessage").focus();return false;} 27else if(captcha_code=='') 28{alert('Enter the Verification Code');document.getElementById("captcha_code").focus();return false;} 29else 30{var datastr='vlivelink='+ vlivelink+'&vembedcode='+vembedcode+'&vname='+vname+'&vmyemail='+vmyemail+'&vemailto='+ vemailto+'&vmessage='+vmessage+'&captcha_code='+captcha_code;$.ajax({type:'POST',url:'<?php echo base_url(); ?>index.php/contact/videoshare_success',data:datastr,success:function(html) 31{if(html==1) 32{document.getElementById("newmessages").style.marginTop="21px";document.getElementById("newmessages").style.marginBottom="25px";document.getElementById("newmessages").style.textAlign="center";document.getElementById('newmessages').innerHTML='Thank You for your Sharing';$('#refer_form_submit').slideUp();} 33else if(html==2) 34{document.getElementById('newmessages').innerHTML='Enter the Valid Verification Code';} 35else 36{$('#newmessages').append('<p>Error Occur. Try again Later</p>');}}});}});});$(function(){$('#new_comments_form_submit').submit(function(e){e.preventDefault();page_id=$("#page_id").val();page_catid=$("#page_catid").val();name=$("#name").val();email=$("#email").val();var validate_email=validateEmail(email);if($("#subscribe").is(':checked')) 37{var subscribe=1;} 38else 39{var subscribe=0;} 40comment_subject=$("#comment_subject").val();comment=$("#comment").val();captcha_code=$("#captcha_code").val();if(name=='') 41{alert('Enter the Name');document.getElementById("name").focus();return false;} 42else if(email=='') 43{alert('Enter the Email');document.getElementById("email").focus();return false;} 44if(validate_email==false) 45{alert("Enter Valid Email address");document.getElementById("email").focus();return false;} 46else if(captcha_code=='') 47{alert('Enter the Verification Code');document.getElementById("captcha_code").focus();return false;} 48else 49{var datastr='page_id='+page_id+'&page_catid='+page_catid+'&name='+name+'&email='+email+'&comment_subject='+ comment_subject+'&comment='+comment+'&subscribe='+subscribe+'&captcha_code='+captcha_code;$.ajax({type:'POST',url:'http://www.egypttoday.co.uk/index.php/contact/comment_success',data:datastr,success:function(html) 50{if(html==1) 51{document.getElementById("newmessages").style.marginTop="21px";document.getElementById("newmessages").style.marginBottom="25px";document.getElementById("newmessages").style.textAlign="center";document.getElementById('newmessages').innerHTML='Thank You for your Comment';$('#new_comments_form_submit').slideUp();} 52else if(html==2) 53{document.getElementById('newmessages').innerHTML='Enter the Valid Verification Code';} 54else 55{document.getElementById('newmessages').innerHTML='Error Occur. Try again Later';}}});}});});var xmlHttp=GetXmlHttpObject();function GetXmlHttpObject() 56{try 57{xmlHttp=new XMLHttpRequest();} 58catch(e) 59{try{xmlHttp=new ActiveXObject("Msxml2.XMLHTTP");} 60catch(e){xmlHttp=new ActiveObject("Microsoft.XMLHTTP");}} 61return xmlHttp;} 62function getNewCaptcha(url) 63{xmlHttp=GetXmlHttpObject();if(xmlHttp==null){return;} 64xmlHttp.open("get",url,true);xmlHttp.onreadystatechange=newCaptchaStateChanged;xmlHttp.send(null);} 65function newCaptchaStateChanged() 66{if(xmlHttp.readyState==4) 67{if(xmlHttp.status==200) 68{document.getElementById('d_img').innerHTML=xmlHttp.responseText;}}} 69function getNewCaptcha_share(url) 70{xmlHttp=GetXmlHttpObject();if(xmlHttp==null){return;} 71xmlHttp.open("get",url,true);xmlHttp.onreadystatechange=newCaptchaStateChanged_share;xmlHttp.send(null);} 72function newCaptchaStateChanged_share() 73{if(xmlHttp.readyState==4) 74{if(xmlHttp.status==200) 75{document.getElementById('d_img1').innerHTML=xmlHttp.responseText;}}} 76function cdisplayHideBox(boxNumber) 77{if(document.getElementById("Light"+boxNumber).style.display=="none"){document.getElementById("Light"+boxNumber).style.display="block";document.getElementById("grayBGL").style.display="block";}else{document.getElementById("Light"+boxNumber).style.display="none";document.getElementById("grayBGL").style.display="none";}} 78$(function(){$('#refer_form_submit_share').submit(function(e){e.preventDefault();name=$("#share_name").val();email=$("#share_email").val();var validate_email=validateEmail(email);emailto=$("#share_email_to").val();message=$("#share_message").val();captcha_code=$("#share_captcha_code").val();url=$("#url").val();if(name=='') 79{alert('Enter the Name');document.getElementById("share_name").focus();return false;} 80else if(email=='') 81{alert('Enter the Email');document.getElementById("share_email").focus();return false;} 82if(validate_email==false) 83{alert("Enter Valid Email address");document.getElementById("share_email").focus();return false;} 84else if(emailto=='') 85{alert('Enter the Recepients');document.getElementById("share_email_to").focus();return false;} 86else if(message=='') 87{alert('Enter the Enquiry');document.getElementById("share_message").focus();return false;} 88else if(captcha_code=='') 89{alert('Enter the Verification Code');document.getElementById("share_captcha_code").focus();return false;} 90else 91{var datastr='name='+name+'&email='+email+'&emailto='+ emailto+'&message='+message+'&captcha_code='+captcha_code+'&url='+url;$.ajax({type:'POST',url:'<?php echo base_url(); ?>index.php/contact/refer_success',data:datastr,success:function(html) 92{if(html==1) 93{document.getElementById("sharerefermessages").style.marginTop="21px";document.getElementById("sharerefermessages").style.marginBottom="25px";document.getElementById("sharerefermessages").style.textAlign="center";document.getElementById('sharerefermessages').innerHTML='Thank You for your Sharing';$('#refer_form_submit_share').slideUp();} 94else if(html==2) 95{document.getElementById('sharerefermessages').innerHTML='Enter the Valid Verification Code';} 96else 97{$('#sharerefermessages').append('<p>Error Occur. Try again Later</p>');}}});}}
97);});$(function(){$('#my_form').submit(function(e){e.preventDefault();page_id=$("#page_id").val();page_catid=$("#page_catid").val();name=$("#names_cmt").val();email=$("#email_cmt").val();var validate_email=validateEmail(email);my_title=$("#my_title_cmt").val();my_text=$("#my_text_cmt").val();captcha_code=$("#captcha_code").val();fullurl=$("#commentred").val();if(name=='') 98{alert('Enter your name');document.getElementById("names_cmt").focus();return false;} 99else if(email=='') 100{alert('Enter your email');document.getElementById("email_cmt").focus();return false;} 101if(validate_email==false) 102{alert("Enter valid email address");document.getElementById("email_cmt").focus();return false;} 103else if(my_title=='') 104{alert('Enter your comment title');document.getElementById("my_title_cmt").focus();return false;} 105else if(my_text=='') 106{alert('Enter your comment');document.getElementById("my_text_cmt").focus();return false;} 107else if(captcha_code=='') 108{alert('Enter the Verification Code');document.getElementById("captcha_code").focus();return false;} 109else 110{var datastr='name='+name+'&email='+email+'&my_title='+my_title+'&my_text='+my_text+'&page_id='+page_id+'&page_catid='+page_catid+'&captcha_code='+captcha_code+'&fullurl='+fullurl;$.ajax({type:'POST',url:'http://www.arabtoday.net/index.php/footer/comment_save',data:datastr,success:function(html) 111{if(html==1) 112{document.getElementById("commentajax").style.marginTop="21px";document.getElementById("commentajax").style.marginBottom="25px";document.getElementById("commentajax").style.textAlign="center";document.getElementById("commentajax").style.color="green";document.getElementById("commentajax").style.fontWeight="bold";document.getElementById("commentajax").style.fontSize="24px";document.getElementById('commentajax').innerHTML='Thank you for your comment';$('#my_form').slideUp();} 113else if(html==2) 114{document.getElementById("commentajax_error").style.color="#F00";document.getElementById("commentajax_error").style.fontWeight="bold";document.getElementById("commentajax_error").style.fontSize="12px";document.getElementById('commentajax_error').innerHTML='Enter the Valid Verification Code';} 115else if(html==3) 116{document.getElementById("commentajax").style.marginTop="21px";document.getElementById("commentajax").style.marginBottom="25px";document.getElementById("commentajax").style.textAlign="center";document.getElementById("commentajax").style.color="red";document.getElementById("commentajax").style.fontWeight="bold";document.getElementById("commentajax").style.fontSize="22px";document.getElementById('commentajax').innerHTML='You are not able to comment because you are blocked by our Admin';$('#my_form').slideUp();} 117else 118{document.getElementById("commentajax").style.textAlign="center";document.getElementById("commentajax").style.color="#F00";document.getElementById("commentajax").style.fontWeight="bold";$('#commentajax').append('<p>Error Occur. Try again Later</p>');}}});}});});
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.