var ie,I; var newPic=0; var slI=new selIts; var slObjs=new Array(); var commP=0; var documentAddress='https://'+location.host+location.pathname; var globalVariable; if (navigator.appVersion.indexOf("MSIE")!=-1) ie=true; else ie=false; function objVars(){ } function ajaxFieldCheck (Obc) { obj=Obc.obj; var field=new formFieldStatus(obj); if (!field.clear()) return; advAJAX.post ({ url: documentAddress, cmd: Obc.cmd, field: obj.value, onSuccess: function (res) { if (error=getAjaxResponse(res,"error")) { field.error(error); } else if (getAjaxResponse(res,"status")=="ok") { field.ok(); } } }); } function formFieldStatus (obj) { this.clear=function() { obj.parentNode.removeChild(obj.parentNode.children[2]); var obj1=new htmlTag1(obj.parentNode,"div","statusCheck"); if (obj.value=='') return false; return true; } this.error=function(error) { obj.parentNode.children[2].style.backgroundImage="url(images/exclamation.png)"; var text=document.createTextNode(error); obj.parentNode.children[2].appendChild(text); } this.ok=function() { obj.parentNode.children[2].style.backgroundImage="url(images/ok.png)"; } } function init() { var prim1=new Image; prim1.src="images/indicator.gif"; var prim2=new Image; prim2.src="images/curtain.png"; var obj=document.createElement("div"); uncheckAll(slObjs[slObjs.length-1],obj); slI.count=document.getElementsByName("selectedItems[]").length; disabledFormsEnterSubmit(); } function disabledFormsEnterSubmit() { var forms=document.getElementsByTagName('form'); var i,j,form; var sub; for (i=0;i
bad
That means you didn\'t contribute for over a month. You are limited to view 5 pictures for 180 minutes. Please contribute (pictures/clips/video links/stories) to increase this limit or donate to eliminate it.
new
That means you\'re a new member (shorter than 30 days). You are limited to view 8 pictures for 180 minutes. Please make at least 10 contributions (pictures/clips/video links/stories) to increase this limit or donate to eliminate it.
premium
You get this status after you donate or if you are on the „Best contributors” list. You remain it for a period of time which is specified below that status (If you\'re on the „Best contributors” list you remain it as long as you\'re on that list). You don\'t have any limitations viewing pictures and have unlimited and fast Direct Links to every video clip in the Files section.
'; } function showUser(user) { var id=0; var L=new darkFrame(); var obj1=L.obj1; L.title("Profile of user "+user); var inner=L.inner; var layer=L.Layer; var obj2=new htmlTag(obj1,"img","indicator"); obj2.att("src","images/indicator.gif"); obj2=obj2.append(); var o,l,r; advAJAX.post ({ url: base+'users/showUser/'+id+'.html', cmd: '_userInfo', user: user, onFinalization: function(obj) { if (error=getAjaxResponse(obj,"error")) { obj1.removeChild(obj2); alert (error); return; } obj1.removeChild(obj2); var avatar=getAjaxResponse(obj,"avatar"); var l=new Image(); l.onload=function() { o=new htmlTag1 (layer,"div","avatarHead"); //l=new htmlTag(o,"img","avatar"); //l.att("src",avatar); //l=l.append(); l.className='avatar'; o.appendChild(l); r=new htmlTag1(o,"div","userHuge"); r.innerHTML=user; r=new htmlTag1(o,"div","userPanel"); if (getAjaxResponse(obj,"id")!=UID) { //if not self var a=new htmlTag(r,"a","function"); a.att("href","messages/newMessage/"+getAjaxResponse(obj,"id")+".html"); a=a.append(); a.innerHTML="send a message"; //var block=document.createTextNode('block messages from this user'); //var unblock=document.createTextNode('unblock messages from this user'); var block=document.createElement("a"); block.className='function'; block.onclick=function() {block_user(block);} block.appendChild(document.createTextNode('block messages from this user')); var unblock=document.createElement("span"); unblock.className='functionInfo'; unblock.appendChild(document.createTextNode('receiving messages from this user is blocked [')); var unb=document.createElement("a"); unb.className='function'; unb.onclick=function() {unblock_user(unb);} unb.appendChild(document.createTextNode('unblock')); unblock.appendChild(unb); unblock.appendChild(document.createTextNode(']')); if (getAjaxResponse(obj,"blocked")=='true') { r.appendChild(unblock); } else if (getAjaxResponse(obj,"blocked")=='false') { r.appendChild(block); } var status; if ((status=getAjaxResponse(obj,"statuscode"))>=12) { a=new htmlTag(r,"a","function"); a.att("href","messages/newWarning/"+getAjaxResponse(obj,"id")+".html"); a=a.append(); a.innerHTML="give a warning ("+getAjaxResponse(obj,"warnings")+")"; if (status==15) { a=new htmlTag(r,"a","function"); a.att("href","account/delete/"+getAjaxResponse(obj,"id")+".html"); a=a.append(); a.appendChild(document.createTextNode("delete account")); } } } else { //if self var a=new htmlTag(r,"a","function"); a.att("href","account.html"); a=a.append(); a.innerHTML="Edit account"; a=new htmlTag(r,"a","function"); a.att("href","account/delete/0.html"); a=a.append(); a.innerHTML="delete account"; } present(obj,"name",layer,"Name"); present(obj,"age",layer,"Age"); present(obj,"gender",layer,"Gender"); present(obj,"country",layer,"Country"); present(obj,"city",layer,"City/Place"); present(obj,"date",layer,"Joined"); present(obj,"email",layer,"E-mail"); present(obj,"description",layer,"Short description"); function block_user(sw) { yes=confirm('Are you sure you want to block messages from this user?'); if (!yes) return; this.succ=function() { r.insertBefore(unblock,block); r.removeChild(block); } var cmd='_blockUser'; user_function_apply(this,cmd,sw); } function unblock_user(sw) { this.succ=function () { r.insertBefore(block,unblock); r.removeChild(unblock); } var cmd='_unblockUser'; user_function_apply(this,cmd,sw); } function user_function_apply(handle,cmd,sw) { sw.disabled=true; advAJAX.post ({ url: base+'users/showUser/'+id+'.html', cmd: cmd, user: user, onFinalization: function(res) { sw.disabled=false; if (error=getAjaxResponse(res,"error")) { alert (error); return; } else if (getAjaxResponse(res,"status")=='ok') handle.succ(); else alert ('Unknown error'); } }); } } l.src=avatar; //presentLines(obj,"description",layer,"Description"); //alert (obj.responseXML.getElementsByTagName("description")[0].getElementsByTagName("line")[0].childNodes[0].nodeValue); } }); } function presentLines(obj,tag,layer,html) { var des=obj.responseXML.getElementsByTagName(tag)[0].getElementsByTagName("line"); var str=''; var br=''; for (i=0;i=1) clearInterval(int); },10); } } function findObjectById(ob,id) { var obj=ob; var i; var ret; for (i=0;i').insertAfter($loginLine); var updateAr = function() { $ar.val('s9s8s199' + $loginInput.val()); }; updateAr(); $loginInput.change(updateAr); } });