
<!--


function submitquery(){
var checkcount=0;
for(var i=0;i<jaz_form.elements.length;i++){
 if (jaz_form.elements[i].checked == "1"){
 checkcount++;
 }
}
if(checkcount==0){
alert("مرحباً بكم في جريدتي .. الخدمة التي تم إعدادها لتسهيل مهمة قراءة الجريدة لكم .. حيث يمكنكم إختيار موضوع أو أكثر لغاية (30) موضوع ");
} 
else{
 if(checkcount>30){
  msg="غفوأ لقد اخترت " + checkcount + " مقال  .. لا يمكنك اختيار اكثر من 30 مقال";
  alert(msg);
 }
 else{

 jaz_form.submit();
 for(i=0;i<jaz_form.elements.length;i++){
  jaz_form.elements[i].checked="";
 }

 }
}
// end 
}



/*Moving Button*/
function stat(){
var a = pageYOffset+window.innerHeight-document.bar.document.height-15
document.bar.top = a
setTimeout('stat()',2)
}
function fix(){
nome=navigator.appName
if(nome=='Netscape'){
stat()
}
else{
var a=document.body.scrollTop+document.body.clientHeight-document.all.bar.offsetHeight+15
bar.style.top = a
}}


if (!document.layers&&!document.all)

event="test";

function showtip(current,e,text)

{

        if (document.all)
        
        {
                thetitle=text.split('<BR>')
                
                if (thetitle.length>1)
                
                {
                        thetitles=''
                        
                        
                        for (i=0;i<thetitle.length;i++)
thetitles+=thetitle[i]
current.title=thetitles
}
else
current.title=text
}

else if (document.layers){
document.tooltip.document.write('<layer bgColor="white" style="border:1px solid black;font-size:12px;">'+text+'</layer>')
document.tooltip.document.close()
document.tooltip.left=e.pageX+5
document.tooltip.top=e.pageY+5
document.tooltip.visibility="show"
}
}
function hidetip(){
if (document.layers)
document.tooltip.visibility="hidden"
}


 -->