אתנ"כתא - משלי טו, יא '; if (perek==15) from=11; else from=1; if (perek==15) until=11; else until=books[currentBook][parseInt(perek)-1]; insertOptions(document.getElementById('hodaaPasukSpan'),otiotOptions(from,until)); //document.getElementById('hodaaPasukSpan').innerHTML=' '+otiotOptions(from,until)+' '; //	alert(from+'-'+until); document.getElementById('hodaaPerek').value=perek; document.getElementById('hodaaPasuk').value=pasuk; } function setPerekOtiot(num,prefix) { var options=''; options=otiotOptions(1,books[num-1].length); document.getElementById(prefix+'hiddenName').value=bookNames[num-1]; insertOptions(document.getElementById(prefix+'fromPerekSpan'),options); insertOptions(document.getElementById(prefix+'toPerekSpan'),options); setPsukimOtiot('fromPasuk',document.getElementById(prefix+'fromPerek').value,prefix); setPsukimOtiot('toPasuk',document.getElementById(prefix+'toPerek').value,prefix); } function setPsukimOtiot(id,num,prefix) { var options=''; insertOptions(document.getElementById(prefix+id+'Span'),otiotOptions(1,books[document.getElementById(prefix+'book').value-1][num-1])); //	document.getElementById(prefix+id+'Span').innerHTML=' '+options+' '; } function chooseCurrentPlace() { } a=document.getElementsByTagName('body'); function setOMessageOptions(id,options,selectIdName) { document.getElementById('messagesSelectDiv'+id).innerHTML=' '+options+' '; } function searchMessage(id,selectIdName) { var arr=new Array(); arr['title']=document.getElementById('oMessageSearchTitle'+id).value; if (arr['title']=='') alert('לא יכול להיות ריק.'); else {	eval('get_results(arr,\'searchMessage.php\',function(){if(connection.readyState==4){if (connection.responseText==\'noresults\')alert(\'אין הודעה כזו.\');else{setOMessageOptions(id,connection.responseText,selectIdName);document.getElementById(\'oMessageSpan'+id+'\').style.display=\'\';}}})'); } } var numOPasuk=1; var numOMessage=1; var numOLink=1; function setLastOPasuk(title,book,fromPerek,fromPasuk,toPerek,toPasuk) { document.getElementById('oPasuk'+(numOPasuk-1)+'Title').value=title; document.getElementById('oPasuk'+(numOPasuk-1)+'book').selectedIndex=book-1; document.getElementById('oPasuk'+(numOPasuk-1)+'fromPerek').value=fromPerek; document.getElementById('oPasuk'+(numOPasuk-1)+'fromPasuk').value=fromPasuk; document.getElementById('oPasuk'+(numOPasuk-1)+'toPerek').value=toPerek; document.getElementById('oPasuk'+(numOPasuk-1)+'toPasuk').value=toPasuk; } function setLastOMessage(title,mid,searchTitle,options) { document.getElementById('oMessageSearchTitle'+(numOMessage-1)).value=searchTitle; document.getElementById('oMessageTitle'+(numOMessage-1)).value=title; setOMessageOptions((numOMessage-1),options); document.getElementById('oMessageSpan'+(numOMessage-1)).style.display=''; } function setLastOLink(title,link,type) { document.getElementById('oLinkType'+(numOLink-1)+type).checked=true; document.getElementById('oLinkTitle'+(numOLink-1)).value=title; document.getElementById('oLinkAddress'+(numOLink-1)).value=link; } function addOPasuk() // add other pasuk { var a=document.createElement('div'); a.innerHTML= '
'; p.innerHTML+='צפיה בגודל מלא'; p.innerHTML+='סגור הפניה';	} function afterShowOPasuk() { if(connection.readyState==4) document.getElementById('OPasukText').innerHTML=connection.responseText; } function openClose(id) { document.getElementById(id).style.display=(document.getElementById(id).style.display=='none'?'':'none'); } function openCloseReply(id) { openClose('replyCalendar_'+id); openClose('replyDate_'+id); openClose('replyButtons_'+id); openClose('replyTohen_'+id); document.getElementById('replyImage_'+id).style.width=(document.getElementById('replyImage_'+id).style.width=='19px'?'33px':'19px'); } function flag(messageid) { var arr=new Array(); arr['flagged']=1; arr['message']=messageid; get_results(arr,'/tanach.php',afterFlag) } function afterFlag() { if(connection.readyState==4) { if (connection.responseText=='err') alert('שגיאה באזהרה.'); else alert('אזהרתך התקבלה ותטופל בהקדם, תודה.'); } } function deleteMessage(messageid,userID,messageTitle) { var arr=new Array(); var reason=prompt('מה הסיבה למחיקה? שים לב: ימחקו גם תגובות ותשובות.'); if (reason!=null) { arr['delete']=1; arr['message']=messageid; arr['user']=userID; arr['messageTitle']=messageTitle; arr['reason']=reason; get_results(arr,'/tanach.php',afterDelete); deleteElement('message_'+messageid); } } function delete4everMessage(messageid,userID,messageTitle) { var arr=new Array(); var reason=prompt('מה הסיבה למחיקה? שים לב: ימחקו גם תשובות ותגובות לצמיתות.'); if (reason!=null) { arr['delete4ever']=1; arr['message']=messageid; arr['messageTitle']=messageTitle; arr['user']=userID; arr['reason']=reason; get_results(arr,'/tanach.php',afterDelete); deleteElement('message_'+messageid); } } function afterDelete() { if(connection.readyState==4) { if (connection.responseText=='err') alert('שגיאה במחיקה.'); else { alert('ההודעה נמחקה, תודה.'); document.location='?&book=משלי&fromPerek=15&fromPasuk=11&toPerek=15&toPasuk=11'; } } } function autorizeMessage(messageid,userID) { var arr=new Array(); if (confirm('האם לאשר את ההודעה?')) { arr['autorize']=1; arr['message']=messageid; arr['user']=userID; get_results(arr,'/tanach.php',afterAutorizing); deleteElement('autorizeButton'); } } function afterAutorizing() { if(connection.readyState==4) { if (connection.responseText=='err') alert('שגיאה באישור'); else { alert('האישור התקבל, תודה.'); } } } function vote(messageid,starid) { var arr=new Array(); arr['rate']=starid; arr['message']=messageid; get_results(arr,'/tanach.php',afterVote) } function afterVote() { if(connection.readyState==4) { if (connection.responseText=='err') alert('שגיאה בדירוג.'); else { a=connection.responseText.split('&&&&&'); document.getElementById('rates_'+a[0]).innerHTML=a[1]; alert('דירוגך התקבל, תודה.'); } } } function rate(message,starid) { for (i=0;i<5;i++) { s=document.getElementById('star_'+message+'_'+i); if (iהרשם'; document.getElementById('displayBlock').innerHTML+='
'; document.getElementById('form').action='?&book=משלי&fromPerek=15&fromPasuk=11&toPerek=15&toPasuk=11&new='+kind+(messageID!=0?'&messageID='+messageID:''); } function openAnswers(id) { if(document.getElementById(id+'_Answers')) document.getElementById(id+'_Answers').style.display=(document.getElementById(id+'_Answers').style.display=='none'?'':'none'); if(document.getElementById('answerButton'+id)) document.getElementById('answerButton'+id).style.display=(document.getElementById(id+'_Answers').style.display=='none'?'':'none'); if(document.getElementById('closeAnswers'+id)) document.getElementById('closeAnswers'+id).style.display=(document.getElementById(id+'_Answers').style.display=='none'?'none':''); } function bold() { if(document.getElementById('bold').style.display=='none') { document.getElementById('bold').style.display=''; document.getElementById('removeBold').style.display='none'; insertAtCursor('[/ד]'); } else { document.getElementById('bold').style.display='none'; document.getElementById('removeBold').style.display=''; insertAtCursor('[ד]'); } } function underline() { if(document.getElementById('underline').style.display=='none') { document.getElementById('underline').style.display=''; document.getElementById('removeUnderline').style.display='none'; insertAtCursor('[/ק]'); } else { document.getElementById('underline').style.display='none'; document.getElementById('removeUnderline').style.display=''; insertAtCursor('[ק]'); } } function insertAtCursor(myValue) { //IE support if (document.selection) { document.getElementById('textArea').focus(); sel = document.selection.createRange(); sel.text = myValue; } //MOZILLA/NETSCAPE support else if (document.getElementById('textArea').selectionStart||document.getElementById('textArea').selectionStart==0) { var startPos = document.getElementById('textArea').selectionStart; var endPos = document.getElementById('textArea').selectionEnd; document.getElementById('textArea').value = document.getElementById('textArea').value.substring(0, startPos) + myValue + document.getElementById('textArea').value.substring(endPos, document.getElementById('textArea').value.length); document.getElementById('textArea').selectionStart=document.getElementById('textArea').selectionEnd+=myValue.length; document.getElementById('textArea').focus(); } else { document.getElementById('textArea').value += myValue; document.getElementById('textArea').focus(); } } function afterUnload(){} function fontSize(ajax) { var arr=new Array(); if(document.getElementById('bibleText')) arr['fontSize']=document.getElementById('bibleText').style.fontSize=document.getElementById('fontSize').value+'px'; if(ajax==1) get_results(arr,'displayPsukim.php',afterUnload); } function psukim(ajax) { var arr=new Array(); var p; p=document.getElementsByTagName('small'); for(i=0;i<2) { a=a.replace(/־/g,' '); a=a.replace(/ֽ*֓*֤*֙*֔*֕*֥*֖*֣*֑*֡*֩*֠*֜*֞*֧*֛*֮*֒*֗*֟*֚*׀*֨*֝*֭*֬*֪*֫*֘*֦*ׄ*/g,''); } if (value==0) { a=a.replace(/ְ*ֱ*ֲ*ֳ*ִ*ֵ*ֶ*ַ*ָ*ֻ*ּ*ְ*ׁ*ׂ*ֹ*/g,''); } document.getElementById('bibleText').innerHTML=a; messagesPresent(); if (secondTime) { get_results_simple('teamim='+value,'displayPsukim.php?ajax',function(){}); psukim(); fontSize(); aliot(); } } /*	function afterPsukim() { document.getElementById('psukim&versions').innerHTML=connection.responseText; }*/
&nbspיא שְׁא֣וֹל וַ֭אֲבַדּוֹן נֶ֣גֶד יְדוָ֑ד אַ֝֗ף כִּֽי־לִבּ֥וֹת בְּֽנֵי־אָדָֽם׃