ï»¿function onClickDeleteMessage(aa){OpenL();var ba=document.getElementsByClassName("deleteCheckbox");var ca="";for(i=0;i<ba.length;i++){if(ba[i].checked==true){if(ca=="")ca=ba[i].value;else ca=ca+","+ba[i].value;}}
aa=aa+"&deletes="+ca;new Ajax.Updater('CWTBodyContainer',aa,{onComplete:function(){CloseL();new Effect.Highlight('CWTBodyContainer');},asynchronous:true,evalScripts:true});}
function onClickSelectAll(da){var ea=document.getElementsByClassName("deleteCheckbox");for(i=0;i<ea.length;i++){ea[i].checked=da;}}
function CWTComposeMessage(fa,ga,ha,ia,ja,ka,X,Y){this.Window=new Window("CWTMsg",{className:"dialog",width:400,height:250,zIndex:500,resizable:false,top:Y,left:X,title:fa,draggable:true,closable:true,maximizable:false,minimizable:false,detachable:false,minWidth:205,minHeight:150,showEffectOptions:{duration:0},hideEffectOptions:{duration:0}});this.toUserID=ha;this.PrototypeWindow=ga;var la=$(ga).innerHTML;if(ja=="")ja="-";la=ReplaceAll(la,"_ID_",ha);la=ReplaceAll(la,"_SUBJECT_",ja);la=ReplaceAll(la,"_CONTENT_",ka);la=ReplaceAll(la,"_DISPLAY_NAME_",ia);la=ReplaceAll(la,"__TMP__","");this.Window.getContent().innerHTML=la;this.Window.show();this.Window.toFront();}
function OpenComplain(ma){CloseMB1();OpenMB1(new CWTComposeMessage("Bu Ã¼ye hakkÄ±nda ÅŸikayetinizi gÃ¶nderin","PT_COM_NEW_MB",ma,'','','',100,100));}
function ComposeMessage(na,oa,pa,qa){CloseMB1();OpenMB1(new CWTComposeMessage("Bu Ã¼yeye mesaj gÃ¶nderin","PT_ML_NEW_MB",na,oa,pa,qa,100,100));}
function OpenSuggestion(){CloseMB1();OpenMB1(new CWTComposeMessage("Bize Ã¶nerinizi gÃ¶nderin.","PT_SUG_NEW_MB","","","","",100,100));}
function OpenEmail(i){var ra=$('PT_EM_NEW_MB').innerHTML;ra=ReplaceAll(ra,"__INDEX__",i);ra=ReplaceAll(ra,"__TMP__","");CloseMB1();OpenMB1(new CWTMessageBoxWC("Bu Ã¼yeye E-Posta gÃ¶nderin",ra,100,100));}
function SendMessage(sa){$("MSG_toUserID_").value=$("MSG_toUserID").value;$("MSG_subject_").value=$("MSG_subject").value;$("MSG_content_").value=$("MSG_content").value;SubmitFormMB(sa,"MessageForm");}
function SendSuggestion(ta){$("SUG_subject_").value=$("SUG_subject").value;$("SUG_content_").value=$("SUG_content").value;SubmitFormMB(ta,"SuggestionForm");}
function SendComplain(ua){$("COM_userID_").value=$("COM_userID").value;$("COM_content_").value=$("COM_content").value;SubmitFormMB(ua,"ComplainForm");}
function SendMail(va){$("EM_subject_").value=$("EM_subject").value;$("EM_content_").value=$("EM_content").value;$("EM_index_").value=$("EM_index").value;SubmitFormMB(va,'EmailForm');}
function SendInvitation(wa){$('sendInvitation').disabled='true';var xa=Form.serialize($('InvitationForm'));new Ajax.Request(wa,{method:'post',postBody:xa,onSuccess:function(ya){alert(ya.responseText);$('inviteeName').value='';$('inviteeEmail').value='';$('sendInvitation').disabled='';}});}
function SendPassword(za){if($('username').value==''){$('username').style.backgroundColor='red';alert('Å?ifrenin adresine gÃ¶nderilebilmesi iÃ§in, lÃ¼tfen e-posta adresini gir.');return;}
var Aa=Form.serialize($('Login'));new Ajax.Request(za,{method:'post',postBody:Aa,onSuccess:function(Ba){alert(Ba.responseText);}});}
function DisplayBlog(Ca,Da){var X=150;var Y=Event.pointerY(Da);SubmitURLMB_WC(Ca,X,Y,600,400);}