/* *BU js de Renklendirme i?lemleriyle ilgili functionlar bulunmakta */ function handikaphome(takim1,takim2,handikaphome) { alert("Handikap : maça "+takim1+" " + handikaphome + "-0 önde başlar. maçın resmi sonucu " + (handikaphome-1) + " farklı"+takim2+" lehine biterse " +takim1+" galip, " + handikaphome + " farklı" +takim2+" lehine biterse BERABERE, " + (handikaphome +1) + " ve daha farklı "+takim2 +" lehine biterse "+takim2+ " kazanmış olur."); } function handikapaway(takim1,takim2,awayhandikap) { alert("Handikap : maça "+takim1+" " + awayhandikap + "-0 önde başlar. maçın resmi sonucu " + (awayhandikap-1) + " farklı"+takim1+" lehine biterse " +takim2+" galip, " + awayhandikap + " farklı"+takim1+" lehine biterse BERABERE, " + (awayhandikap +1) + " ve daha farklı "+takim1+" lehine biterse "+takim1+" kazanmış olur."); } function getMatchStatistics(matchid,leage){ /* */ var wurl="http://statistics.bilyoner.com?m="+matchid; if (leage&& leage>0){ wurl+="&l=1"; } window.open(wurl,'Istatistikler','height=600,width=800,status=yes,toolbar=no,menubar=no,location=no,left=25,top=20'); } //Uzun Vadeli ve oZel Eventlar için function kuponDetay(id) { obj = document.getElementById(id); if (obj.style.display == "block") { obj.style.display = "none"; } else { obj.style.display = "block"; } } function ReColorSelectedMatches(genismi,gameType){ var framex=window.frames[0]; var maclistesi; if (parent.getMaclistesi) maclistesi=parent.getMaclistesi(); else maclistesi=getMaclistesi(); //dar ekran icin yapiyoz if (!genismi){ for (ki=0;ki=700){ if ((gameType=='F'|| gameType=='S') ){ //mac sonucu if (match.guess=='1') trx.cells[10].setAttribute("bgColor","#aadf68"); else if (match.guess=='2') trx.cells[12].setAttribute("bgColor","#aadf68"); } else if (gameType=='UO'){ // BUrda kascaz ikinci s�k basket için if (match.guess==1) trx.cells[8].setAttribute("bgColor","#aadf68"); else if (match.guess==2) trx.cells[12].setAttribute("bgColor","#aadf68"); }else if (gameType=='SF'){ var tr_table =document.getElementById("tr_table"+match.matchid); if (match.guess=='1/1'){ tr_table.rows[3].cells[5].setAttribute("bgColor","#aadf68"); } else if (match.guess=='1/2'){ tr_table.rows[3].cells[7].setAttribute("bgColor","#aadf68"); } else if (match.guess=='2/1'){ tr_table.rows[3].cells[9].setAttribute("bgColor","#aadf68"); } else if (match.guess=='2/2'){ tr_table.rows[3].cells[11].setAttribute("bgColor","#aadf68"); } } } } else { //Burda b?t?n roowu seccez haaaa haberin olsun. if (gameType!='AP'){ trx.setAttribute("bgColor","#a0d958"); if (gameType=='SF' || gameType=='SC'){ var tr_table =document.getElementById("tr_table"+match.matchid); if (tr_table){ tr_table.setAttribute("bgColor","#a0d958"); for (i=0;i=700 ){ //Basketler için if (match.gameType=='F'){ //mac sonucu if (match.guess=='1') trx.cells[10].setAttribute("bgColor","#aadf68"); else if (match.guess=='2') trx.cells[12].setAttribute("bgColor","#aadf68"); } if (match.gameType=='S'){ //mac sonucu if (match.guess=='1') trx.cells[16].setAttribute("bgColor","#aadf68"); else if (match.guess=='2') trx.cells[18].setAttribute("bgColor","#aadf68"); } else if (match.gameType=='UO'){ // BUrda kascaz if (match.guess==1) trx.cells[20].setAttribute("bgColor","#aadf68"); else if (match.guess==2) trx.cells[26].setAttribute("bgColor","#aadf68"); } else if (match.gameType=='SF'){ // BUrda ilk satri amc sonucu /(/burda da kascaz if (match.guess=='1/1'){ trx.cells[28].setAttribute("bgColor","#aadf68"); } else if (match.guess=='1/2'){ trx.cells[32].setAttribute("bgColor","#aadf68"); } else if (match.guess=='2/1'){ trx.cells[34].setAttribute("bgColor","#aadf68"); } else if (match.guess=='2/2'){ trx.cells[46].setAttribute("bgColor","#aadf68"); } } } } }//end of for statement } } function changeback(e,OrjinalRenk){ var ie= navigator.appName=="Microsoft Internet Explorer"; if (ie&&(event.fromElement.contains(event.toElement)||source.contains(event.toElement)||source.id=="YokSay")||source.tagName=="TD"||source.tagName=="TABLE") return ; else if (ns6&&(contains_ns6(source, e.relatedTarget)||source.id=="YokSay")) return ; if (source.getAttribute('bgColor')=='#a0d958' || source.getAttribute('bgColor')=='#a0d958'){ return; } if (ie&&event.toElement!=source||ns6&&e.relatedTarget!=source) source.setAttribute("bgColor",OrjinalRenk); } function changeto(e,DegisecekRenk){ var ie= navigator.appName=="Microsoft Internet Explorer"; source=ie? event.srcElement : e.target if (source.tagName=="TR"||source.tagName=="TABLE") return; while(source.tagName!="TR"&&source.tagName!="HTML") { source=ns6? source.parentNode : source.parentElement ; } if (source.getAttribute('bgColor')=='#a0d958'|| source.getAttribute('bgColor')=='#a0d958'){ return; } if (source.id!="YokSay") { source.setAttribute("bgColor",DegisecekRenk); } } function contains_ns6(master, slave) { //master mi slave mi deye kontrol... if (slave) while (slave.parentNode) if ((slave = slave.parentNode) == master) return true; return false; }