function return_profile(uid) { location.href = 'myadmin.php?action=admin&findmem=' + uid + '&fin=1&nres=10&mod=user&sortvar=DESC&sortfield=u_credits'; } function toggle_panel(panelrow, panelbegin, panelend) { var id = 'tmp'; var profilepanelcounter = 1; for( profilepanelcounter = panelbegin; profilepanelcounter <= panelend; profilepanelcounter++ ) { id=panelrow+profilepanelcounter; if ( typeof document.all[id] == 'object') { if (document.all[id].className=='admin_text_light_c') { document.all[id].className='hideme'; } else { document.all[id].className='admin_text_light_c'; } } } } function tp(panelrow, panelbegin, panelend, stylea, styleb) { var id = 'tmp'; var profilepanelcounter = 1; for( profilepanelcounter = panelbegin; profilepanelcounter <= panelend; profilepanelcounter++ ) { id=panelrow+profilepanelcounter; if ( typeof document.all[id] == 'object') { if (document.all[id].className==stylea) { document.all[id].className=styleb; } else { document.all[id].className=stylea; } } } } function hiderow(panelrow, panelbegin, panelend) { var id = 'tmp'; var profilepanelcounter = 1; for( profilepanelcounter = panelbegin; profilepanelcounter <= panelend; profilepanelcounter++ ) { id=panelrow+profilepanelcounter; if ( typeof document.all[id] == 'object') { document.all[id].className='hideme'; } } } function conf(mform,msg) { if(window.confirm(' ' + msg + ' ' )) { location.href = mform; } } function hwin(msg) { msgWindow=window.open('','displayWindow','resizable=yes,width=200,height=300'); msgWindow.document.write('MySurfBusiness.com Help'); msgWindow.document.write('' + msg + '
Close window
'); } function doSaveWin(MyNewUrl) { window.opener.document.location.href = MyNewUrl; window.close(); } function prevtext(frm,fld) { var fldtxt = document.getElementById(fld).value; window.open('preview.php?preview=' + fldtxt + ''); } function MM_openBrWindow(theURL,winName,features) { //v2.0 window.open(theURL,winName,features); } function MM_reloadPage(init) { //reloads the window if Nav4 resized if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) { document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }} else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload(); } MM_reloadPage(true); function openPictureWindow_Fever(imageName,imageWidth,imageHeight,alt,posLeft,posTop) { newWindow = window.open("","newWindow","width="+imageWidth+",height="+imageHeight+",left="+posLeft+",top="+posTop); newWindow.document.open(); newWindow.document.write(''+alt+''); newWindow.document.write('+alt+'); newWindow.document.write(''); newWindow.document.close(); newWindow.focus(); } function show(object,e) { if (e != '') { if (document.all) { x = e.clientX; y = e.clientY; //alert(x); //alert(y); obj= document.all(object); } else if (document.layers) { x = e.pageX; y = e.pageY; } else if (document.getElementById) { var evt=arguments.callee.caller.arguments[0]; x=evt.pageX; y=evt.pageY; } } if (document.layers && document.layers[object] != null) { obj= document.all(object); obj.left = x; obj.top = y +20; obj.visibility="visible"; } else if (document.all) { obj.style.pixelLeft=x; obj.style.pixelTop=y +20; obj.style.visibility="visible"; } else if (document.getElementById) { obj=document.getElementById(object); obj.style.left=x; obj.style.top=y +20; obj.style.visibility="visible"; } } function hide(object,e) { if (e != '') { if (document.all) { x = e.clientX; y = e.clientY; //alert(x); //alert(y); obj= document.all(object); } else if (document.layers) { x = e.pageX; y = e.pageY; } else if (document.getElementById) { var evt=arguments.callee.caller.arguments[0]; x=evt.pageX; y=evt.pageY; } } if (document.layers && document.layers[object] != null) { obj= document.all(object); obj.left = x; obj.top = y +20; obj.visibility="hidden"; } else if (document.all) { obj.style.pixelLeft=x; obj.style.pixelTop=y +20; obj.style.visibility="hidden"; } else if (document.getElementById) { obj=document.getElementById(object); obj.style.left=x; obj.style.top=y +20; obj.style.visibility="hidden"; } } function MM_swapImgRestore() { //v3.0 var i,x,a=document.MM_sr; for(i=0;a&&i0&&parent.frames.length) { d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);} if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i