function bookLoad(BOOKID,TRC) { window.open('http://www.bookrix.com/book.php?bookID='+BOOKID+'&trc='+TRC, '', 'location=no,menubar=no,resizable=yes,scrollbars=yes,status=no,toolbar=no'); } function bookDownload(BOOKID,LANG) { window.open('http://www.bookrix.com/book_download2.php?bookID='+BOOKID, 'BookDLWindow', 'left=0,top=0,width=400,height=250,location=no,menubar=no,resizable=no,scrollbars=no,status=no,toolbar=no'); } function bookRecommend(BOOKID) { window.open('http://www.bookrix.com/importer/bx_invitesender.php?promoobject=book&promoid='+BOOKID, 'BXinviteWindow', 'left=0,top=0,width=646,height=409,location=no,menubar=no,resizable=no,scrollbars=no,status=no,toolbar=no'); } function groupRecommend(GROUPUTLID) { window.open('http://www.bookrix.com/importer/bx_invitesender.php?promoobject=group&promoid='+GROUPUTLID, 'BXinviteWindow', 'left=0,top=0,width=646,height=409,location=no,menubar=no,resizable=no,scrollbars=no,status=no,toolbar=no'); } function myBookInvite(BOOKID) { window.open('http://www.bookrix.com/importer/bx_invitesender.php?promoobject=mybook&promoid='+BOOKID, 'BXinviteWindow', 'left=0,top=0,width=646,height=409,location=no,menubar=no,resizable=no,scrollbars=no,status=no,toolbar=no'); } function userRecommend(USERID) { window.open('http://www.bookrix.com/importer/bx_invitesender.php?promoobject=user&promoid='+USERID, 'BXinviteWindow', 'left=0,top=0,width=646,height=409,location=no,menubar=no,resizable=no,scrollbars=no,status=no,toolbar=no'); } function myprofileRecommend(MYPROFILE) { window.open('http://www.bookrix.com/importer/bx_invitesender.php?promoobject=myprofile&promoid='+MYPROFILE, 'BXinviteWindow', 'left=0,top=0,width=646,height=409,location=no,menubar=no,resizable=no,scrollbars=no,status=no,toolbar=no'); } function myprofileMGM() { window.open('http://www.bookrix.com/importer/bx_invitesender.php?promoobject=myprofileMGM&promoid=', 'BXinviteWindow', 'left=0,top=0,width=646,height=409,location=no,menubar=no,resizable=no,scrollbars=no,status=no,toolbar=no'); } function contestRecommend(CONTESTID) { window.open('http://www.bookrix.com/importer/bx_invitesender.php?promoobject=contest&promoid='+CONTESTID, 'BXinviteWindow', 'left=0,top=0,width=646,height=409,location=no,menubar=no,resizable=no,scrollbars=no,status=no,toolbar=no'); } function BXRecommend() { window.open('http://www.bookrix.com/importer/bx_invitesender.php', 'BXinviteWindow', 'left=0,top=0,width=646,height=409,location=no,menubar=no,resizable=no,scrollbars=no,status=no,toolbar=no'); } function contactuser(USERID) { window.open('http://www.bookrix.com/contactuser.php?user='+USERID, 'ContactUserWindow', 'left='+(screen.availWidth/2-350)+',top='+(screen.availHeight/2-200)+',width=700,height=400,location=no,menubar=no,resizable=yes,scrollbars=yes,status=no,toolbar=no'); } function quizBattle(subject,message) { window.open('http://www.bookrix.com/contactuser.php?subject='+subject+'&message='+message, 'quizBattle', 'left='+(screen.availWidth/2-350)+',top='+(screen.availHeight/2-200)+',width=700,height=400,location=no,menubar=no,resizable=yes,scrollbars=yes,status=no,toolbar=no'); } function contactuserRPL(USERID,MSGID) { window.open('http://www.bookrix.com/contactuser.php?user='+USERID+'&msgid='+MSGID, 'ContactUserWindow', 'left='+(screen.availWidth/2-350)+',top='+(screen.availHeight/2-200)+',width=700,height=400,location=no,menubar=no,resizable=yes,scrollbars=yes,status=no,toolbar=no'); } function coverzoom(BOOKID) { window.open('http://www.bookrix.com/coverzoom.php?p='+BOOKID, 'CoverZoomWindow', 'left='+(screen.availWidth/2-300)+',top='+(screen.availHeight/2-150)+',width=600,height=300,location=no,menubar=no,resizable=yes,scrollbars=no,status=no,toolbar=no'); } function getpasswordwin() { window.open('http://www.bookrix.com/getpassword.php', 'GetPasswordWindow', 'left='+(screen.availWidth/2-350)+',top='+(screen.availHeight/2-150)+',width=700,height=300,location=no,menubar=no,resizable=yes,scrollbars=yes,status=no,toolbar=no'); } function getusernamewin() { window.open('http://www.bookrix.com/getusername.php', 'GetUsernameWindow', 'left='+(screen.availWidth/2-350)+',top='+(screen.availHeight/2-150)+',width=700,height=300,location=no,menubar=no,resizable=yes,scrollbars=yes,status=no,toolbar=no'); } function gethelp(TOPIC) { window.open('http://www.bookrix.com/help.php?modus=&topic='+TOPIC, 'GetHelpWindow', 'left='+(screen.availWidth/2-350)+',top='+(screen.availHeight/2-200)+',width=700,height=400,location=no,menubar=no,resizable=no,scrollbars=yes,status=no,toolbar=no'); } function bookPDFDownload(BOOKID,LANG) { window.open('/get_original_pdf.php?bookID='+BOOKID, 'BookPDFDLWindow', 'left=0,top=0,width=400,height=250,location=no,menubar=no,resizable=no,scrollbars=no,status=no,toolbar=no'); } function getPOST(DABA,DAFI,DAID,SRCH,EBID,FORM,FELD,WDTH,COLR,SBMT,FNCT,LANG) { $.ajax({ type: 'POST', url: '/getautocomplete.php', data: 'daba='+DABA+'&dafi='+DAFI+'&daid='+DAID+'&srch='+SRCH+'&ebid='+EBID+'&form='+FORM+'&feld='+FELD+'&wdth='+WDTH+'&colr='+COLR+'&sbmt='+SBMT+'&fnct='+FNCT+'&lang='+LANG, success: function(ret){ $('#newpostcountID').html(ret); $('#newpostcountID2').html(ret); } }) } var xmlHttp = null; function getautocompleteJS(DABA,DAFI,DAID,SRCH,EBID,FORM,FELD,WDTH,COLR,SBMT,FNCT,LANG) { xmlHttp = null; // Mozilla, Opera, Safari sowie Internet Explorer (ab v7) if (typeof XMLHttpRequest != 'undefined') { xmlHttp = new XMLHttpRequest(); } if (!xmlHttp) { // Internet Explorer 6 und älter try { xmlHttp = new ActiveXObject("Msxml2.XMLHTTP"); } catch(e) { try { xmlHttp = new ActiveXObject("Microsoft.XMLHTTP"); } catch(e) { xmlHttp = null; } } } if (xmlHttp) { xmlHttp.open('GET', '/getautocomplete.php?daba='+DABA+'&dafi='+DAFI+'&daid='+DAID+'&srch='+SRCH+'&ebid='+EBID+'&form='+FORM+'&feld='+FELD+'&wdth='+WDTH+'&colr='+COLR+'&sbmt='+SBMT+'&fnct='+FNCT+'&lang='+LANG, true); xmlHttp.onreadystatechange = function () { if (xmlHttp.readyState == 4) { if (xmlHttp.responseText) { document.getElementById(EBID).innerHTML=xmlHttp.responseText; if (EBID=='newpostcountID') { try{ document.getElementById('newpostcountID2').innerHTML=document.getElementById(EBID).innerHTML; }catch(e){} } } } }; xmlHttp.send(null); } } function allDIVSwhite() { for(aaa=1;aaa<=10;aaa++) { if (document.getElementById('naviDiv'+aaa) && document.getElementById('naviDiv'+aaa).innerHTML!='') { document.getElementById('naviDiv'+aaa).style.backgroundColor=''; } } } function blurIDelement(THISID) { document.getElementById(THISID).innerHTML='';}