// JavaScript Document var baselink = "http://waterboys.com/"; // AJAX object var responseDiv = ""; function ajaxObject(url, callbackFunction, responseDiv) { responseDiv = responseDiv; var that=this; this.updating = false; this.abort = function() { if (that.updating) { that.updating=false; that.AJAX.abort(); that.AJAX=null; } } this.update = function(passData,postMethod) { if (that.updating) { return false; } that.AJAX = null; if (window.XMLHttpRequest) { that.AJAX=new XMLHttpRequest(); } else { that.AJAX=new ActiveXObject("Microsoft.XMLHTTP"); } if (that.AJAX==null) { return false; } else { that.AJAX.onreadystatechange = function() { if (that.AJAX.readyState==4) { that.updating=false; that.callback(that.AJAX.responseText,that.AJAX.status,that.AJAX.responseXML,responseDiv); that.AJAX=null; } } that.updating = new Date(); if (/post/i.test(postMethod)) { // encode all POST data var str = ""; for(var i = 0;i < passData.elements.length;i++) { switch(passData.elements[i].type){ case "text": case "textarea": case "password": if (!passData.elements[i].disabled) str += passData.elements[i].name + "=" + encodeURIComponent(passData.elements[i].value) + "&"; break; case "hidden": // hidden cannot be disabled str += passData.elements[i].name + "=" + encodeURIComponent(passData.elements[i].value) + "&"; break; case "checkbox": case "radio": if(passData.elements[i].checked && !passData.elements[i].disabled) str += passData.elements[i].name + "=" + encodeURIComponent(passData.elements[i].value) + "&"; break; case "select-one": if (!passData.elements[i].disabled) str += passData.elements[i].name + "=" + encodeURIComponent(passData.elements[i].options[passData.elements[i].selectedIndex].value) + "&"; break; case "select-multiple": if (!passData.elements[i].disabled){ for (var j = 0; j < passData.elements[i].length; j++){ var optElem = passData.elements[i].options[j]; if (optElem.selected == true){ str += passData.elements[i].name + "[]" + "=" + encodeURIComponent(optElem.value) + "&"; } } } break; } } // strip final & str = str.substr(0,(str.length - 1)); // end secure var uri=urlCall+'?'+that.updating.getTime(); that.AJAX.open("POST", uri, true); that.AJAX.setRequestHeader("Content-type", "application/x-www-form-urlencoded; charset=UTF-8"); that.AJAX.setRequestHeader("Content-Length", str.length); that.AJAX.send(str); } else { var uri=urlCall+'?'+passData+'×tamp='+(that.updating.getTime()); that.AJAX.open("GET", uri, true); that.AJAX.send(null); } return true; } } var urlCall = url; this.callback = callbackFunction || function () { }; } // processData process ajaxObject response: optional // ajaxObject processes task and ignores response when processData is not used // different functions can be made to serve different purposes function processResponse(responseText, responseStatus, responseXML, responseDiv) { if (responseStatus==200 || responseStatus==304) { parent.top.document.getElementById(''+responseDiv+'').innerHTML=responseText; } else { //showPop('connection'); } } // use when waiting needs to be shown , and timeout function processWait(request,div,action){ if (request.updating) { parent.top.document.getElementById('' + div + '').innerHTML = '' + action + ''; } else { alert('this object is idle'); } } function timezone(id){ now = new Date() offset = now.getTimezoneOffset(); document.getElementById(id).value=offset; } // LINKS function menulink(cl,d){ var i,ob,tA,h=document.location.href; if(document.getElementById){ ob=(d)?document.getElementById(d):document; if(ob){ tA=ob.getElementsByTagName('A'); for(i=0;i"; } else if(type2 == "blocked"){ header = 'Blocked!'; txt2 = 'You have been blocked by this member.

You can no longer open this profile or send messages to this member.'; } else if(type2 == "approved"){ header = 'Pissfuck!'; txt2 = 'Your profile has not beed approved yet.

You will be notified by email when your profile is approved.

If you received the approval email while being online, please log out and log in again in order for your account to be adjusted.'; } else if(type2 == "connection"){ header = 'Pissfuck!'; txt2 = 'There seems to be a problem with your connection.

Re-load this page and try again, and/or check your internet connection.'; } else if(type2 == "profile"){ header = 'Pissfuck!'; txt2 = '

You don\'t have a profile yet.

To add locations and feedbacks to the Guide you need to create a profile first.

Click here to create a profile now, or wait till your profile is approved.'; } else if(type2 == "activate"){ header = 'Yeah!'; txt2 = txt; } else if(type2 == "photos"){ header = 'Info'; loadPhotoInfo = new ajaxObject(baselink+'info/photos.php',processResponse,'pop_text'); loadPhotoInfo.update(); txt2 = "
"; } else if(type2 == "guidephotos"){ header = 'Info'; loadPhotoInfo = new ajaxObject(baselink+'info/text.php',processResponse,'pop_text'); loadPhotoInfo.update('infotype=guidephotos','GET'); txt2 = "
"; } else if(type2 == "prof_deleted"){ header = 'Profile deleted'; txt2 = 'Your profile is deleted.

You must create a new profile within 30 days or your account will be deleted.'; } else if(type2 == "account_deleted"){ header = 'Account deleted'; txt2 = 'Your account is deleted.

We\'re sorry to see you go...

Please feel free to create a new account at any given time.'; } else if(type2 == "access"){ header = 'Warning'; txt2 = '
Waterboys.com is an adult site and contains sexually explicit material.

By entering this site I attest that I am at least 18 years of age, and/or of legal age to receive, view and possess such material in the the legal jurisdiction in which I live.

I will not allow any person not of legal age to view such materials.

I attest that viewing of such material in my governmental jurisdiction is legal, and understand that I am solely responsible for ascertaining the legality of viewing such material in my legal jurisdiction.


'; } else if(type2 == "searchinfo"){ header = 'Search Info'; txt2 = 'Example search: If you\'re looking for a guy with \"piss\" in his profile name, just enter \"piss\" in the Profile Name field and hit the Search button: all profiles with \"piss\" will be shown, i.e. \'pissguy\', \'somepiss\', \'thispiss\', \'thatpiss\', etc.

If you know the guy lives in New York, just add United States and New York to your search and you will see all profiles names with \"piss\" in it in New York.

Tip: Use less search terms to find more profiles.'; } else if(type2 == "del_id"){ header = 'Delete Account'; txt2 = ''+txt+'


'; } else if(type2 == "del_prof"){ header = 'Delete Profile'; txt2 = ''+txt+'


'; } else if(type2 == "change_email"){ header = 'Change Email'; changeMail = new ajaxObject(baselink+'inc/access.php',processResponse,'pop_text'); changeMail.update('poptype=changeemail','GET'); txt2 = "
"; } else if(type2 == "change_pass"){ header = 'Change Password'; changePass = new ajaxObject(baselink+'inc/access.php',processResponse,'pop_text'); changePass.update('poptype=changepassword','GET'); txt2 = "
"; } else if(type2 == "emailerror"){ header = 'Pissfuck!'; txt2 = txt + "

try again"; } else if(type2 == "passerror"){ header = 'Pissfuck!'; txt2 = txt + "

try again"; } else if(type2 == "choose"){ header = 'Alert'; txt2 = ''+txt+'


'; } else if(type2 == "success"){ header = 'Yeah!'; txt2 = txt; } else if(type2 == "loginerror"){ header = 'Pissfuck!'; txt2 = txt; } else if(type2 == "login"){ header = 'Member access'; memberLogin = new ajaxObject(baselink+'inc/access.php', processResponse, 'pop_text'); memberLogin.update('poptype=login','GET'); txt2 = "
"; } else if(type2 == "loginpop"){ header = 'Member access'; memberLogin = new ajaxObject(baselink+'inc/access.php', processResponse, 'pop_text'); memberLogin.update('poptype=loginpop','GET'); txt2 = "
"; } else if(type2 == "apply"){ header = 'Sign up'; memberNew = new ajaxObject(baselink+'inc/access.php', processResponse, 'pop_text'); memberNew.update('poptype=apply','GET'); txt2 = "
"; } else if(type2 == "resend"){ header = 'Re-send'; memberNew = new ajaxObject(baselink+'inc/access.php', processResponse, 'pop_text'); memberNew.update('poptype=resend','GET'); txt2 = "
"; } else if(type2 == "warning"){ header = 'Warning'; txt2 = txt; } else if(type2 == "error"){ header = 'Pissfuck!'; txt2 = txt; } else { header = 'Pissfuck!'; txt2 = txt; } parent.top.document.getElementById('pop').style.display = "block"; parent.top.document.getElementById('pop_content').style.display = "block"; parent.top.document.getElementById('pop_text').innerHTML= txt2; parent.top.document.getElementById('pop_header').innerHTML = header; } // CLOSE POP function hidePop() { document.getElementById('pop').style.display = "none"; document.getElementById('pop_content').style.display = "none"; } function showWait(){ document.getElementById('pop').style.display = "block"; document.getElementById('pop_wait').style.display = "block"; } function firstTime() { setTimeout("window.location='../my/'", 2000); } function setinnerHTML(id,txt){ document.getElementById(id).innerHTML= txt; } // VALIDATE LOGIN function validatelogin(type) { var theMessage = ""; var type; var noErrors = theMessage if(!/\S/.test(document.getElementById('email').value)){ theMessage = theMessage + "Please enter your email address
"; } if(!/\S/.test(document.getElementById('pass').value)){ theMessage = theMessage + "Please enter your password
"; } if (theMessage == noErrors) { doLogin = new ajaxObject(baselink+'inc/login.php', processResponse, 'login'); // create request with url doLogin.update(document.getElementById('loginform'),'POST'); // start request with object (the form) and type (POST), can be left empty for GET unless there are variables after ? processWait(doLogin,'login','


please wait while you are being logged in'); // show and check while waiting for the form to be processed return true; } else { if(type == "home"){ showPop('loginerror',theMessage); } else { theMessage = theMessage + "
try again"; showPop('error',theMessage); } return false; } } // VALIDATE RESEND function validateresend(type) { if(!/\S/.test(document.getElementById('email3').value)){ showPop('error','Please enter your email address'); } else { doResend = new ajaxObject(baselink+'inc/resend.php', processResponse, 'resend'); doResend.update(document.getElementById('resendform'),'POST'); processWait(doResend,'resend','


please wait while we fetch your login data'); return true; } } // VALIDATE APPLY function validateapply(type) { var theMessage = ""; var type; var noErrors = theMessage; var formname = document.getElementById('applyform'+type); if(type == 'pop'){ section = 'applypop'; } else { section = 'apply'; } if(!/\S/.test(formname.email2.value)){ theMessage = theMessage + "Please enter your email address
"; } if(!/\S/.test(formname.pass2.value)){ theMessage = theMessage + "Please enter your password
"; } if (formname.age.checked == false) { theMessage = theMessage + "Please confirm that you're 18 or older
"; } if (theMessage == noErrors) { doApply = new ajaxObject(baselink+'inc/apply.php', processResponse, section); // create request with url doApply.update(formname,'POST'); // start request with object (the form) and type (POST), cab be left empty for GET processWait(doApply,section,'


please wait while we create your ID'); // show and check while waiting for the form to be processed return true; } else { if(type == 'home'){ showPop('applyerror',theMessage); } else { theMessage = theMessage + "
try again"; showPop('error',theMessage); } return false; } } // HIDE DIVS - COMBO function hideCombo(id1,id2) { document.getElementById(id1).style.display = "none"; document.getElementById(id2).style.display = "none"; } // SHOW DIVS - COMBO function showCombo(id1,id2) { document.getElementById(id1).style.display = "block"; document.getElementById(id2).style.display = "block"; } // HIDE DIV function hidestuff(id) { document.getElementById(id).style.display = "none"; } // SHOW DIV function showstuff(id) { document.getElementById(id).style.display = "block"; } // UNDERLINE LINK function underlineLink(id1,id2){ document.getElementById(id1).style.textDecoration='underline'; document.getElementById(id2).style.textDecoration='none'; } // LIMIT TEXT IN FIELDS function limitText(limitField, limitCount, limitNum) { if (limitField.value.length > limitNum) { limitField.value = limitField.value.substring(0, limitNum); } else { limitCount.value = limitNum - limitField.value.length; } } // SEND REPLY function mailreply(num){ if(/\S/.test(document.getElementById('text'+num).value)){ sendReply(num); } else alert("You did not enter any text for your message") } function sendReply(num){ doSendReply = new ajaxObject(baselink+'mail/mailSendreply.php', processResponse, 'reply'+num+''); doSendReply.update(document.getElementById('domail'),'POST'); processWait(doSendReply,'reply'+num+'','




...sending mail...



'); } // SET MAIL ICON TO 'OPENED' function setOpened(num){ document.getElementById('mailicon'+num).src = '../gfx/mail1.gif'; } // SET MAIL ICON TO 'SENT' function setSent(num){ document.getElementById('mailicon'+num).src = '../gfx/mail2.gif'; } // OPEN REPLY FORM function writemail(num,id,box) { if (document.getElementById('mail_content'+num).style.display = "none") { document.getElementById('reply'+num).style.display = "block"; } doWriteMail = new ajaxObject(baselink+'mail/mailReply.php', processResponse, 'reply'+num+''); doWriteMail.update('id='+id+'&nums='+num+'&box='+box+'','GET'); processWait(doWriteMail,'reply' +num+'','


\"\"

...mailform loading...



'); } // ADD FEEDBACK function checkFeedback(num){ if(/\S/.test(document.getElementById('text'+num).value)){ addFeedback(num); } else { showPop('error','You did not enter any text for your feedback'); } } function addFeedback(num){ doAddFeedback = new ajaxObject(baselink+'guide/addFeedback.php', processResponse, 'feedback'+num+''); doAddFeedback.update(document.getElementById('doguide'+num),'POST'); processWait(doAddFeedback,'feedback'+num+'','




...adding feedback...



'); } function reportGD(num,id){ doReportGD = new ajaxObject(baselink+'guide/guideFunctions.php', processResponse, 'reportGD'+num+''); doReportGD.update('reportGD='+id+'','GET'); processWait(doReportGD,'reportGD'+num+'','\"\"  reporting...'); } function approveGD(num,id){ doReportGD = new ajaxObject(baselink+'guide/guideFunctions.php', processResponse, 'reportGD'+num+''); doReportGD.update('approveGD='+id+'','GET'); processWait(doReportGD,'reportGD'+num+'','\"\"  approving...'); } function denyGD(num,id){ doReportGD = new ajaxObject(baselink+'guide/guideFunctions.php', processResponse, 'reportGD'+num+''); doReportGD.update('denyGD='+id+'','GET'); processWait(doReportGD,'reportGD'+num+'','\"\"  disapproving...'); } function reportFB(id){ doReportFB = new ajaxObject(baselink+'guide/guideFunctions.php', processResponse, 'reportFB'+id+''); doReportFB.update('reportFB='+id+'','GET'); processWait(doReportFB,'reportFB'+id+'','\"\"  reporting...'); } // ADD TO MY LOCATIONS function setDest(id,change){ doSetDest = new ajaxObject(baselink+'guide/guideFunctions.php', processResponse, 'set'+change+''); doSetDest.update('setid='+id+'','GET'); processWait(doSetDest,'set'+change+'','\"\"  adding...'); } // REMOVE FROM MY LOCATIONS function delDest(id,change){ doDelDest = new ajaxObject(baselink+'guide/guideFunctions.php', processResponse, 'del'+change+''); doDelDest.update('delid='+id+'&divid='+change+'','GET'); processWait(doDelDest,'del'+change+'','\"\"  deleting...'); } // SET STATUS OF OPENED MAIL function setStatus(id){ doSetStatus = new ajaxObject(baselink+'mail/mailSetStatus.php', processResponse, 'change'); doSetStatus.update('id='+id+'','GET'); } // OPEN PROFILE POPUP function profpop(url) { newwindow=window.open(url,'prof','height=700,width=610,resizable=0,scrollbars=1,top=25,left=25'); if (window.focus) {newwindow.focus()} return false; } // OPEN SUPPORT POPUP function popupform(myform, windowname){ if (!window.focus)return true; window.open('', windowname, 'height=550,width=690'); myform.target=windowname; return true; } // OPEN PHOTO POPUP function photopop(url){ newwindow=window.open(url,'photo','height=700,width=570,top=25,right=25,scrollbars=no,menubar=no'); if (window.focus) {newwindow.focus()} return false; } // CHECK IF NICK IS VALID function checknick(source) { var nick = document.getElementById(source).value; doCheckNick = new ajaxObject(baselink+'inc/checknick.php', processResponse, 'checknick'); doCheckNick.update('nick='+nick+'','GET'); } // RELOAD FORM PULLDOWN MENU TO CITIES function setcity(source) { var dropdownIndex = document.getElementById(source).selectedIndex; var country = document.getElementById(source)[dropdownIndex].value; doSetCity = new ajaxObject(baselink+'inc/setcity.php', processResponse, 'newcity'); doSetCity.update('country='+country+'','GET'); processWait(doSetCity,'newcity','\"\"  loading cities'); } // RELOAD FORM PULLDOWN MENU TO CITIES function setcity2(source,country) { var cc = country; var k = document.getElementById(source).options.selectedIndex; var to = document.getElementById(source).options[k].value; doSetCity2 = new ajaxObject(baselink+'inc/setcity2.php', processResponse, 'city'); doSetCity2.update('state='+to+'&country='+cc+'','GET'); processWait(doSetCity2,'city','\"\"  loading cities'); } // RELOAD FORM PULLDOWN MENU TO STATES/PROVINCES function setstate2(source) { var k = document.getElementById(source).options.selectedIndex; var to = document.getElementById(source).options[k].value; doSetState2 = new ajaxObject(baselink+'inc/setstate.php', processResponse, 'state'); doSetState2.update('country='+to+'','GET'); processWait(doSetState2,'state','\"\"   states/provinces'); } // RELOAD FORM PULLDOWN MENU TO STATES/PROVINCES AND CITIES function setstate(source) { var k = document.getElementById(source).options.selectedIndex; var to = document.getElementById(source).options[k].value; doGetState = new ajaxObject(baselink+'inc/setstate.php',processResponse,'state'); doGetState.update('country='+to+'','GET'); processWait(doGetState,'state','\"\"   states/provinces'); doGetCities = new ajaxObject(baselink+'inc/setcity3.php',processResponse,'city'); doGetCities.update('country='+to+'','GET'); processWait(doGetCities,'city','\"\"  loading cities'); } // RELOAD FORM PULLDOWN MENU TO STATES/PROVINCES AND CITIES function setstate_guide(source) { var k = document.getElementById(source).options.selectedIndex; var to = document.getElementById(source).options[k].value; doGetState = new ajaxObject(baselink+'inc/setstate_guide.php',processResponse,'state'); doGetState.update('country='+to+'','GET'); processWait(doGetState,'state','\"\"   states/provinces'); doGetCities = new ajaxObject(baselink+'inc/setcity_guide.php',processResponse,'city'); doGetCities.update('country='+to+'','GET'); processWait(doGetCities,'city','\"\"  loading cities'); } // RELOAD FORM PULLDOWN MENU TO CITIES > LOCATION function setcity_guide(source,state) { var cc = state; var k = document.getElementById(source).options.selectedIndex; var to = document.getElementById(source).options[k].value; doSetCity2 = new ajaxObject(baselink+'inc/setcity_guide.php', processResponse, 'city1'); doSetCity2.update('state='+to+'','GET'); processWait(doSetCity2,'city1','\"\"  loading cities'); } // RELOAD FORM PULLDOWN MENU TO CITIES > LOCATION function setcity_loc(source,country) { var cc = country; var k = document.getElementById(source).options.selectedIndex; var to = document.getElementById(source).options[k].value; doSetCity2 = new ajaxObject(baselink+'inc/setcity_loc.php', processResponse, 'city_loc'); doSetCity2.update('state='+to+'&country='+cc+'','GET'); processWait(doSetCity2,'city_loc','\"\"  loading cities'); } // RELOAD FORM PULLDOWN MENU TO STATES/PROVINCES AND CITIES > LOCATION function setstate_loc(source) { var k = document.getElementById(source).options.selectedIndex; var to = document.getElementById(source).options[k].value; doSetState2 = new ajaxObject(baselink+'inc/setstate_loc.php', processResponse, 'state_loc'); doSetState2.update('country='+to+'','GET'); processWait(doSetState2,'state_loc','\"\"   states/provinces'); } function deleteAll(){ doDeleteAll = new ajaxObject(baselink+'mail/delall.php',processResponse,'change'); doDeleteAll.update(document.getElementById('domail'),'POST'); } function saveAll(){ doSaveAll = new ajaxObject(baselink+'mail/saveall.php',processResponse,'change'); doSaveAll.update(document.getElementById('domail'),'POST'); } function loadMail(mailbox) { doloadMail = new ajaxObject(baselink+'mail/mailFunctions.php',processResponse,'showmail'); doloadMail.update('box='+mailbox,'GET'); processWait(doloadMail,'showmail',''); } function processMail(msgid,type,profid,divid) { doprocessMail = new ajaxObject(baselink+'mail/mailFunctions.php',processResponse,'mail_content'+divid); doprocessMail.update('type='+type+'&msgid='+msgid+'&profid='+profid+'','GET'); processWait(doprocessMail,'mail_content'+divid,'
'); } function closebox(id) { document.getElementById(id).style.display='none'; } function setprefs(source, value, div) { doSetPrefs= new ajaxObject(baselink+'inc/setprefs.php',processResponse,''+div+''); doSetPrefs.update('source='+source+'&value='+value+'','GET'); processWait(doSetPrefs,''+div+'',''); } function setsearch(value, div) { doSetSearch= new ajaxObject(baselink+'inc/setsearch.php',processResponse,''+div+''); doSetSearch.update('value='+value+'','GET'); processWait(doSetSearch,''+div+'','


...changing units...
'); } function validatewmlogin() { var theMessage = ""; var noErrors = theMessage if(!/\S/.test(document.getElementById('username').value)){ theMessage = theMessage + "\n Please enter your username"; } if(!/\S/.test(document.getElementById('pass').value)){ theMessage = theMessage + "\n Please enter your password"; } if (theMessage == noErrors) { doAdminLogin = new ajaxObject(baselink+'admin/wm_login.php', processResponse, 'wmlogin'); doAdminLogin.update(document.getElementById('wmloginform'),'POST'); processWait(doAdminLogin,'wmlogin','please wait while you are being logged in'); return true; } else { alert(theMessage); return false; } } function validatechange_p(){ var theMessage = ""; var noErrors = theMessage if(!/\S/.test(document.getElementById('new_pass').value)){ theMessage = theMessage + "Please enter your new password
"; } if(!/\S/.test(document.getElementById('new_pass2').value)){ theMessage = theMessage + "Please enter your new password again
"; } if (theMessage == noErrors) { doPassChange = new ajaxObject(baselink+'inc/change_password.php', processResponse, 'change_p'); doPassChange.update(document.getElementById('change_p'),'POST'); processWait(doPassChange,'change_p',''); return true; } else { theMessage = theMessage + "
try again"; showPop('error',theMessage); return false; } } function validatechange_e(){ var theMessage = ""; var noErrors = theMessage if(!/\S/.test(document.getElementById('email').value)){ theMessage = theMessage + "Please enter your new email
"; } if(!/\S/.test(document.getElementById('email2').value)){ theMessage = theMessage + "Please enter your new email again
"; } if (theMessage == noErrors) { doEmailChange = new ajaxObject(baselink+'inc/change_email.php', processResponse, 'change_e'); doEmailChange.update(document.getElementById('change_e'),'POST'); processWait(doEmailChange,'change_e',''); return true; } else { theMessage = theMessage + "
try again"; showPop('error',theMessage); return false; } } // RESET RADIO GROUP TO UNSELECTED STATE function resetGroup(radioObj, newValue) { if(!radioObj) return; var radioLength = radioObj.length; if(radioLength == undefined) { radioObj.checked = (radioObj.value == newValue.toString()); return; } for(var i = 0; i < radioLength; i++) { radioObj[i].checked = false; if(radioObj[i].value == newValue.toString()) { radioObj[i].checked = true; } } } function check_boxes(cbname,state,formname) { frmobj = document.forms[formname]; for (i = 0; i < frmobj.elements.length; i++) { if (frmobj.elements[i].name == cbname) { frmobj.elements[i].checked = state; } } } function confirmDelete(img) { doDeletePhoto = new ajaxObject(baselink+'inc/delphoto.php',processResponse,'showphotos'); doDeletePhoto.update('img='+img+'','GET'); processWait(doDeletePhoto,'imgbox'+img,'


...deleting photo...
'); } function confirmMain(img) { doSetMain = new ajaxObject(baselink+'inc/setmain.php',processResponse,'showphotos'); doSetMain.update('img='+img+'','GET'); processWait(doSetMain,'imgbox'+img,'


...updating photo...
'); } function loadPhotos() { doLoadPhotos = new ajaxObject(baselink+'my/showphotos.php',processResponse,'showphotos'); doLoadPhotos.update('load','GET'); processWait(doLoadPhotos,'showphotos','


...loading photos...
'); } function showphoto() { document.getElementById('photo').style.display='block';document.getElementById('screen').style.display='block'; } function hidephoto() { document.getElementById('photo').style.display='none';document.getElementById('screen').style.display='none'; } // FLASH TITLE BAR WHEN NEW MESSAGE ARRIVES var timer = ""; function titlebar(val) { //var msg = "New message"; var speed = 500; var pos = val; //var msg1 = " !! "+msg+" !!"; //var msg2 = " "+msg+" "; var msg1 = "Waterboys.com"; var msg2 = "New message"; if(pos == 0){ masg = msg1; pos = 1; } else if(pos == 1){ masg = msg2; pos = 0; } document.title = masg; timer = window.setTimeout("titlebar("+pos+")",speed); } function titlebarstop(){ window.clearTimeout(timer); document.title = "Waterboys.com | Gay Piss Barebacking Fisting and Pig Site"; } function showDate(type) { var date_bar = document.getElementById('date_bar'); var date_div = document.getElementById('date_div'); date_bar.style.display = ((type=='6') || (type=='9'))?'block':'none'; date_div.style.display = ((type=='6') || (type=='9'))?'block':'none'; } function swap(me,main,alt) { me.innerHTML = (me.innerHTML == main) ? alt : main; }