// GX jQuery UI 0.1.0.1ß function errorMessage(text) {		if (!document.getElementById("errMsg")) {		$("#Wrapper").append("<div id=\"errMsg\"></div>");	}		$("#errMsg").dialog({	modal: true,	title: "Hiba történt!",	autoOpen: true, 	open: function() {		$(this).html(text);	},	buttons: {		"OK": function() {			$(this).dialog("destroy");		}	}	});		$(".ui-dialog").css("zIndex", 399900);    $(".ui-widget-overlay").css("zIndex", 399000);    return false;	}function alertMessage(text, title) {		if (!document.getElementById("alertMsg")) {		$("#Wrapper").append("<div id=\"alertMsg\"></div>");	}		$("#alertMsg").dialog({	modal: true,	bgiframe: true,	title: title,	autoOpen: true, 	open: function() {		$(this).html(text);	},	buttons: {		"OK": function() {			$(this).dialog("destroy");		}	}	});	    $(".ui-dialog").css("zIndex", 399900);    $(".ui-widget-overlay").css("zIndex", 399000);	return false;	}function infoMessage(text, title) {		if (!document.getElementById("infoMsg")) {		$("#Wrapper").append("<div id=\"infoMsg\"></div>");	}		$("#infoMsg").dialog({	modal: true,	bgiframe: true,	title: title,	autoOpen: true, 	open: function() {		$(this).html(text);	},	buttons: {		"OK": function() {			$(this).dialog("destroy");		}	}	});	    $(".ui-dialog").css("zIndex", 399900);    $(".ui-widget-overlay").css("zIndex", 399000);	return false;	}function fnMessage(text, title, action) {		if (!document.getElementById("fnMsg")) {		$("#Wrapper").append("<div id=\"fnMsg\"></div>");	}		if (title=="") { title="Információ!"; }		$("#fnMsg").dialog({	modal: true,	title: title,	autoOpen: true, 	open: function() {		$(this).html(text);	},	buttons: {		"Rendben": function() {			action();			$(this).dialog("destroy");		}	}	});    	$(".ui-dialog").css("zIndex", 399900);    $(".ui-widget-overlay").css("zIndex", 399000);    return false;}function updateCoords(c){	$('#x').val(c.x);	$('#y').val(c.y);    $('#x2').val(c.x2);    $('#y2').val(c.y2);	$('#w').val(c.w);	$('#h').val(c.h);}function checkCoords(){	if (parseInt($('#w').val())) {			$.post("/documents/nice-sz/php_new/ccrop.php", {			x: $("#x").val(),			y: $("#y").val(),            x2: $("#x").val(),			y2: $("#y").val(),			w: $("#w").val(),			h: $("#h").val(),			fn: $("#fn").val()		}, function(xml) {                        if ($("#userPicture").length>0)            {                $("#userPicture").val(xml);            }                        if ($(document.getElementById("kep1")))            {                $("#kep1").val(xml);            }                        if (document.getElementById("ajaxModPic"))            {                document.getElementById("ajaxModPic").innerHTML = 'A képet feltöltöttem! Mentéshez kattints az "OK" gombra!';            }                                    if (document.getElementById("crop2"))             {                $("#crop2").html("<img src=\"http://szepsegverseny.nice.hu/"+xml+"\" />");            }                        if (document.getElementById("crop"))             {                $("#crop").html("<img src=\"http://szepsegverseny.nice.hu/"+xml+"\" />");                            }		});				return false;			}		errorMessage('Kérlek jelöld ki a kivágni kívánt képrészletet az egérrel!');	return false;    }            function closeBox() {	if (api) $.mask.close();}$(document).ready(function() {    if (!document.getElementById("loading"))  {		$("#Wrapper").append('<img src="/admin/php/gyogyitok/loading.gif" width="41" height="39" border="0" id="loading" style="display: none; z-index: 9999999;" />');	}		$("#loading")	.ajaxStart(function(){		$(this).show();		$(document).mousemove(function(e) {					$("#loading").css({				position: "absolute",				top: e.pageY,				left: e.pageX			});					});	})	.ajaxComplete(function(e){		$(this).hide();	});            $('ul.sf-menu').superfish();       $(".ui-button").button();        //$('ul.sf-menu').superfish();        if (document.getElementById("Player"))    {        $("#Player ul").cycle({            fx: "fade",            timeout: 6000,            speed: 1000,            pager: "#pager",            next: "#next",            prev: "#prev"        });                $("#Player").mouseenter(function() {            $("#NavBar").fadeIn(500);        }).mouseleave(function() {            $("#NavBar").fadeOut(500);        });    }});function Register(params) {        if (!document.getElementById("regForm")) {        $("#Wrapper").append("<iframe name=\"regFrame\" allowTransparency=\"true\" id=\"regFrame\" />");        $("#Wrapper").append("<div id=\"regForm\" />");    }    rLeft = $(window).width()/2-450;        $("#regFrame").css({        position: "absolute",        left: rLeft,        top: 150,        width: 880,        padding: 10,        height: 490,        background: "#fff",        WebkitBorderRadius: 10,         MozBorderRadius: 10,         BorderRadius: 10,        zIndex: 299990,        display: "none",        opacity: 0,        visibility: "hidden"     }).stop().show(800);        $("#regForm").css({        position: "absolute",        left: rLeft,        top: 120,        width: 880,        padding: 10,        height: 490,        background: "#fff",        border: "2px solid #b00",        WebkitBorderRadius: 15,         MozBorderRadius: 15,         BorderRadius: 15,        zIndex: 299999    }).show("slow");               $.post("documents/nice-sz/php_new/regform.php?a="+Math.random(), {        email: params[0],        fullname: params[1],        pwd: params[2]    }, function(xml) {              $("#regForm").html(xml);            });            }function fanReg(userID){                if (!document.getElementById("regForm")) {        $("#Wrapper").append("<iframe name=\"regFanFrame\" allowTransparency=\"true\" id=\"regFrame\" />");        $("#Wrapper").append("<div id=\"regFanForm\" />");    }    rLeft = $(window).width()/2-230;        $("#regFanFrame").css({        position: "absolute",        left: rLeft,        top: 150,        width: 440,        padding: 10,        height: 490,        background: "#fff",        WebkitBorderRadius: 10,         MozBorderRadius: 10,         BorderRadius: 10,        zIndex: 299990,        display: "none",        opacity: 0,        visibility: "hidden"     }).stop().show(800);        $("#regFanForm").css({        position: "absolute",        left: rLeft,        top: 120,        width: 440,        padding: 10,        height: 490,        background: "#fff",        border: "2px solid #b00",        WebkitBorderRadius: 15,         MozBorderRadius: 15,         BorderRadius: 15,        zIndex: 299999    }).show("slow");               $.post("documents/nice-sz/php_new/regfanform.php?a="+Math.random(), {        userID: userID    }, function(xml) {              $("#regFanForm").html(xml);            });        }function UserDatas(id) {        if (!document.getElementById("userInfo")) {        $("#Wrapper").append("<iframe name=\"userInfoFrame\" id=\"userInfoFrame\" allowTransparency=\"true\" />");        $("#Wrapper").append("<div id=\"userInfo\" />");    }    rLeft = $(window).width()/2-450;        $("#userInfoFrame").css({        position: "absolute",        left: rLeft,        top: 100,        width: 880,        padding: 10,        height: 490,        background: "#fff",        WebkitBorderRadius: 10,         MozBorderRadius: 10,         BorderRadius: 10,        display: "none",        zIndex: 299990    }).stop().show(800);            $("#userInfo").load("documents/nice-sz/php_new/userinfo.php?userid="+id).css({        position: "absolute",        left: rLeft,        top: 100,        width: 880,        padding: 10,        height: 490,        background: "#fff",        border: "1px solid #ccc",        WebkitBorderRadius: 10,         MozBorderRadius: 10,         BorderRadius: 10,        zIndex: 299999    }).show("drop", 800).animate({        width: 880    }, 1000).expose({api: true, closeOnClick: false, closeOnEsc: true, onClose: function() { $("#userInfoFrame").hide(); $("#userInfo").hide("drop", 800, function() { $("#userInfoFrame").remove(); $("#userInfo").remove(); }); } }).disableSelection();    }function sendActivation() {        var email = $("#email").val();        var lname = $("#lastname").val();        var fname = $("#firstname").val();        var bdate = $("#birthdate").val();        var pwd = $("#pwd").val();        var pic = $("#userPicture").val();        var compID = $("#compID").val();        var phone = $("#phone").val();        var error = 0;        var errorString = "";                if (pwd.length<6)        {            error = 1;            errorString += "A megadott jelszó túl rövid! (Minimum 6 karakter!) <br/>";        }                if (lname.length<2 || fname.length<2) {            error = 1;            errorString += "A megadott név túl rövid! A vezetéknév és keresztnév együttesen minimum 4 karakter kell legyen! <br/>";         }                if (email.indexOf("@")<1 || email.length<4 || email=="E-mail cím, pl.: nevem@szolgaltato.hu") {            error = 1;            errorString += "A megadott E-mail cím nem megfelelő! <br/>";        }                if (pic.length<10) {            error = 1;            errorString += "Nincs profilkép kiválasztva! Kérjük, kattints a \"Fájl kiválasztása!\" lehetőségre és tölts fel egy profilképet! <br />";            }                if ($("#referer").val()!="")        {            if (phone=="" || phone==0 || phone==null || phone==undefined)            {                error = 1;                errorString += "<b>*Amennyiben ajánlói kóddal szeretnél regisztrálni, kérjük add meg a telefonszámod!</b> <br/>";            }        }                if (error==0) {            $.post("documents/nice-sz/php_new/register.php?a="+Math.random(), {                email: email,                lastname: lname,                firstname: fname,                password: pwd,                birthdate: bdate,                competitionID: compID,                referer: $("#referer").val(),                phone: phone,                picture: pic            }, function(xml) {                fnMessage(xml, "Regisztráció az oldalra", function() {                    $('#regFrame').remove();                     $("#regForm").fadeOut(300, function() {$(this).remove(); });                });            });        } else {            errorMessage(errorString);        }}function sendFanActivation() {        var email = $("#email").val();        var lname = $("#lastname").val();        var fname = $("#firstname").val();        var fuid = $("#fanUserID").val();        var uname = $("#username").val(); 		var phone = $("#phone").val();        var pwd = $("#pwd").val();        var pwd1 = $("#pwd1").val();        var error = 0;        var errorString = "";           if (pwd!=pwd1 || pwd.length<6)        {            error = 1;            errorString += "A megadott Jelszavak nem egyeznek meg, vagy a megadott jelszó túl tövid! (minimum 6 karakter!) <br/>";            }				if (phone.length<8) {			error = 1;			errorString += "A megadott telefonszám túl rövid! <br/>";		}                if (email.indexOf("@")<1 || email.length<4 || email=="E-mail cím, pl.: nevem@szolgaltato.hu") {            error = 1;            errorString += "A megadott E-mail cím nem megfelelő! <br />";        }                if (uname.length<4 || uname=="Minimum 4 karakter" )        {            error = 1;            errorString += "A megadott Felhasználó név túl rövid! (minimum 4 karakter!) <br />";        }                if (error==0) {            $.post("documents/nice-sz/php_new/registerfan.php?a="+Math.random(), {                email: email,				phone: phone,                lastname: lname,                firstname: fname,                username: uname,                password: pwd,                fanUserID: fuid            }, function(xml) {                                errorMsg = xml.split(":");                                fnMessage(errorMsg[1], "Rajongói regisztráció", function() {                                        if (errorMsg[0]=="1")                    {                        $('#regFanFrame').remove();                         $("#regFanForm").fadeOut(300, function() {$(this).remove(); });                    }                                        });            });        } else {            errorMessage(errorString);        }}function fanChange(userID, fanID, compID){    var fuid = userID;    var uid = fanID;    var cid = compID;        var mode = "";        $.post("documents/nice-sz/php_new/checkfan.php?a="+Math.random(),     {        fanID: uid,        compID: cid    }, function(xml)     {              if (xml=="1")      {        // Ha valakinek már rajongója        mode = "changeFan";       }       else      {        // Ha valakinek még nem rajongója        mode = "newFan";       }            if (mode!="")      {                if (xml=="1")        {                    if (!document.getElementById("confirmFanBox"))        {            $("#Wrapper").append("<div id=\"confirmFanBox\"></div>");        }                $("#confirmFanBox").html("<b>Kedves Rajongó!</b> <br /><br /> Ugyan abban a versenyben egyszerre csak 1 versenyzőnek lehetsz a rajongója! <br /> Amennyiben váltani szeretnél erre a versenyzőre, kattints a \"Mehet\" gombra!");                $("#confirmFanBox").dialog({            autoOpen: true,            bgiframe: true,            modal: true,            width: 400,            height: 200,            resizable: false,            title: "Rajongói megerősítés",            buttons:             {                "Mehet": function() {                    $.post("documents/nice-sz/php_new/registerfan.php?a="+Math.random(), {                        mode: mode,                        fanUserID: fuid,                        userID: uid                    }, function(xml) {                                                var Message = xml.split(":");                        infoMessage(Message[1], "Rajongói regisztráció");                                             });                                        $(this).dialog("destroy");                                     },                "Mégse": function() {                    $(this).dialog("destroy");                }            }        });                }        else        {            $.post("documents/nice-sz/php_new/registerfan.php?a="+Math.random(), {                mode: mode,                fanUserID: fuid,                userID: uid            }, function(xml) {                                var Message = xml.split(":");                infoMessage(Message[1], "Rajongói regisztráció");                             });          }              }          })    }function saveUserDatas() {            var userid = $("#userid").val();        var email = $("#email").val();        var fullname = $("#fullname").val();        var bdate = $("#birthdate").val();        var pwd = $("#pwd").val();        var pwd1 = $("#pwd1").val();        var pic = $("#userPicture").val();        var error = 0;        var errorString = "";                if ((pwd!=pwd1 || pwd.length<4) && pwd.length>0) {            error = 1;            errorString += "A megadott jelszavak nem egyeznek, vagy a megadott jelszó nincs meg legalább 5 karakter! \r\n";                         }                if (fullname.length<5) {            error = 1;            errorString += "A megadott név túl rövid! \r\n";         }                if (email.indexOf("@")<1 || email.length<4) {            error = 1;            errorString += "A megadott E-mail cím nem megfelelő! \r\n";        }                if (pic.length<4) {            error = 1;            errorString += "Nincs profilkép kiválasztva! Kérjük, kattintson a \"Fájl kiválasztása!\" lehetőségre és töltsön fel egy profilképet! \r\n";            }                if (userid==null) {            error = 1;            errorString += "Jogusultság hiba! Kérjük lépjen ki, és be újra! \r\n";        }                if (error==0) {            $.post("documents/nice-sz/php_new/register.php", {                userid: userid,                email: email,                fullname: fullname,                password: pwd,                birthdate: bdate,                picture: pic,                doctorID: $("#doctors").val(),                dsID: $("#diseaseID").val()            }, function(xml) {                alertMessage(xml, "Adatok módosítása");            });        } else {            alert(errorString);        }}/* jCrop with ajax file upload */function ajaxFileUpload(num){	$("#loading")	.ajaxStart(function(){		$(this).show();	})	.ajaxComplete(function(){		$(this).hide();	});		$.ajaxFileUpload	(		{			url:'documents/nice-sz/php_new/uploadpic.php?num='+num,			secureuri:false,			fileElementId:'fileToUpload'+num,			dataType: 'json',			success: function (data, status)			{				if(typeof(data.error) != 'undefined')				{					if(data.error != '')					{						alert(data.error);					}else					{						if (!document.getElementById("CB_diag")) {							$("#Wrapper").append("<div id=\"CB_diag\"></div>");						}																		//$("#CB_diag").html("<><>");						var height_b = $(window).height()-100;						var width_b = $(window).width()-100;												$("#CB_diag").load("documents/nice-sz/php_new/crop.php?fn="+data.msg).dialog({							modal: true,							autoOpen: true,							width: width_b,							height:  height_b,							buttons: {								"OK": function() {																		checkCoords();																		$(this).dialog("close");								}							}						});                                                $(".ui-dialog").css("zIndex", 399900);                        $(".ui-widget-overlay").css("zIndex", 399000);                        					}				}			},			error: function (data, status, e)			{				alert(e);			}		}	)		return false;	}    function ajaxFileUpload_v2(num){		$.ajaxFileUpload	(		{			url:'documents/nice-sz/php_new/uploadpic_v2.php?num='+num,			secureuri:false,			fileElementId:'fileToUpload'+num,			MAX_FILE_SIZE: 1000000,			dataType: 'json',			success: function (data, status)			{				if(typeof(data.error) != 'undefined')				{					if(data.error != '')					{						alert(data.error);					}else					{											if (!document.getElementById("CB_diag")) {							$("#Wrapper").append("<div id=\"CB_diag\"></div>");						}																		//$("#CB_diag").html("<><>");						var height_b = $(window).height()-100;						var width_b = $(window).width()-100;												$("#CB_diag").load("documents/nice-sz/php_new/crop.php?fn="+data.msg).dialog({							modal: true,							autoOpen: true,							width: width_b,							height:  height_b,							buttons: {								"OK": function() {																		$("#kep"+num).val(data.msg);                                    									alertMessage("<font color='red'><a href=\""+data.msg+"\" target=\"_blank\" style=\"color: #c00; font-weight: bold;\">A kép sikeresen meg lett vágva!</a></font>", "Üzenet az oldalról");                                                                        $("#okicon"+num).html("<br /><h4 class=\"picInform\" style=\"color: red;\">Kép megvágva! <br /><br />Adjon egy rövid leírást a képnek, majd kattintson a <u>\"Fotó feltöltése\"</u> gombra!</h4>");                                                                                                            									checkCoords();																		$(this).dialog("close");								}							}						});					}				}			},			error: function (data, status, e)			{				alert(e);			}		}	)		return false;	}	function ajaxFileUpload_MW(num)	{		$("#loading")		.ajaxStart(function(){			$(this).show();		})		.ajaxComplete(function(){			$(this).hide();		});    				$.ajaxFileUpload		(			{				url:'documents/nice-sz/php_new/uploadpic.php?num='+num,				secureuri:false,				fileElementId:'fileToUpload'+num,				dataType: 'json',				success: function (data, status)				{					if(typeof(data.error) != 'undefined')					{						if(data.error != '')						{							alert(data.error);						}else						{							if (!document.getElementById("CB_diag")) {								$("#Wrapper").append("<div id=\"CB_diag\"></div>");							}																					//$("#CB_diag").html("<><>");							var height_b = $(window).height()-100;							var width_b = $(window).width()-100;														$("#CB_diag").load("documents/nice-sz/php_new/crop.php?fn="+data.msg).dialog({								modal: true,								autoOpen: true,								width: width_b,								height:  height_b,								buttons: {									"OK": function() {																				checkCoords();																				$(this).dialog("close");									}								}							});                                                        $(".ui-dialog").css("zIndex", 399900);                            $(".ui-widget-overlay").css("zIndex", 399000);                            						}					}				},				error: function (data, status, e)				{					alert(e);				}			}		)				return false;			}     function needReg() {    errorMessage("A funkció használatához Regisztráció szükséges!"); }  	function htmlspecialchars(ch) {ch = ch.replace(/&/g,"&amp;");ch = ch.replace(/\"/g,"&quot;");ch = ch.replace(/\'/g,"&#039;");ch = ch.replace(/</g,"&lt;");ch = ch.replace(/>/g,"&gt;");return ch;}function htmlspecialchars_decode(ch) {ch = ch.replace(/&amp;/g,"&");ch = ch.replace(/&quot;/g,"\"");ch = ch.replace(/&#039;/g,"\'");ch = ch.replace(/&lt;/g,"<");ch = ch.replace(/&gt;/g,">");return ch;}function htmlspecialchars_v1(ch) {	ch = ch.replace(/&/g,"&amp;");	ch = ch.replace(/\"/g,"&quot;");	ch = ch.replace(/\'/g,"&#039;");	ch = ch.replace(/</g,"&lt;");	ch = ch.replace(/>/g,"&gt;");	ch = ch.replace(/é/g,"&eacute;");	ch = ch.replace(/á/g,"&aacute;");	ch = ch.replace(/ó/g,"&oacute;");	ch = ch.replace(/ő/g,"&#337;");	ch = ch.replace(/ú/g,"&uacute;");	ch = ch.replace(/í/g,"&iacute;");	ch = ch.replace(/ű/g,"&#369;");	ch = ch.replace(/ü/g,"&uuml;");	ch = ch.replace(/ö/g,"&ouml;");	ch = ch.replace(/É/g,"&Eacute;");	ch = ch.replace(/Á/g,"&Aacute;");	ch = ch.replace(/Ó/g,"&Oacute;");	ch = ch.replace(/Ú/g,"&Uacute;");	ch = ch.replace(/Í/g,"&Iacute;");	ch = ch.replace(/Ü/g,"&Uuml;");	ch = ch.replace(/Ö/g,"&Ouml;");	ch = ch.replace(/Ő/g,"&#336;");	ch = ch.replace(/Ű/g,"&#368;");	return ch;}function htmlspecialchars_decode_v1(ch) {	ch = ch.replace(/&amp;/g,"&");	ch = ch.replace(/&quot;/g,"\"");	ch = ch.replace(/&#039;/g,"\'");	ch = ch.replace(/&lt;/g,"<");	ch = ch.replace(/&gt;/g,">");	ch = ch.replace(/&eacute;/g,"é");	ch = ch.replace(/&aacute;/g,"á");	ch = ch.replace(/&oacute;/g,"ó");	ch = ch.replace(/&uacute;/g,"ú");	ch = ch.replace(/&iacute;/g, "í");	ch = ch.replace(/&#369;/g, "ű");	ch = ch.replace(/&uuml;/g, "ü");	ch = ch.replace(/&ouml;/g, "ö");	ch = ch.replace(/&#337;/g,"ő");	ch = ch.replace(/&Eacute;/g,"É");	ch = ch.replace(/&Aacute;/g, "Á");	ch = ch.replace(/&Oacute;/g, "Ó");	ch = ch.replace(/&Uacute;/g, "Ú");	ch = ch.replace(/&Iacute;/g, "Í");	ch = ch.replace(/&Uuml;/g, "Ü");	ch = ch.replace(/&Ouml;/g, "Ö");	ch = ch.replace(/&#336;/g,"Ő");	ch = ch.replace(/&#368;/g, "Ű");	return ch;}function forgotpwd() {    if (!document.getElementById("forgotDiag")) {    	$("#Wrapper").append("<div id=\"forgotDiag\" />");    }        $("#forgotDiag").html("<br /> <b>Kérjük adja meg e-mail címét amivel a rendszerbe regisztrált! </b><br /><div id=\"ajax\"></div><br /> <input type=\"text\" id=\"forgotEmail\" class=\"ui-widget ui-input ui-state-active ui-corner-all ui-helper-clearfix\" style=\"width: 98%; padding: 2px;\" name=\"mail\" /><br /> <div class=\"ui-widget ui-state-highlight ui-corner-all ui-helper-clearfix\" style=\"float: left; clear: both; width: 98%; padding: 3px;\">A megadott e-mail címre küldünk egy új jelszót, melyet később meg tud változtatni az oldalon történő belépés után, az \"Adataim\" menüponton keresztül!</div>");	        $("#forgotDiag").dialog({    	modal: true,        bgiframe: true,        autoOpen: true,    	width: 400,        height: 270,    	title: "Elfelejtett jelszó",    	buttons: {    		"Új jelszó küldése": function() {    				var mail = $("#forgotEmail").val();    				$.post("/documents/nice-sz/php_new/forgotpwd.php", {    					email: mail    				}, function(xml) {    					$("#forgotDiag #ajax").html(xml);    					var timeOutID = setTimeout(function() { $("#forgotDiag").dialog("destroy"); }, 2000);    				});    			    		},    		"Mégse": function() {    			$(this).dialog("destroy");    		}    	}    });	$(".ui-dialog").css("zIndex", 399900);    $(".ui-widget-overlay").css("zIndex", 399000);}function picDialog(id, userid) {var pics = "#userPicture";	if (!document.getElementById("picsDialog")) { $("body").append("<div id=\"picsDialog\" />"); }	$("#picsDialog").html("<center><b>Válassz ki egy képet amire ki szeretnéd cserélni a jelenlegi profilképed!</b></center> <br />"+"<input type=\"hidden\" readonly=\"true\" value=\"\" id=\"userPicture\" name=\"userPicture\" class=\"ui-widget ui-state-default ui-button-text-only\"><input type=\"file\" name=\"fileToUpload"+id+"\" id=\"fileToUpload"+id+"\" class=\"ui-widget ui-state-default ui-button-text-only\" onchange=\"return ajaxFileUpload("+id+");\" /><br /><div id=\"ajaxModPic\" align=\"center\">...</div>");										$("#picsDialog").dialog({		modal: true,		autoOpen: true,		width: 400,		height: 230,		title: "Profilkép módosítása",		buttons: {			"OK": function()  {								var picurl = $("#userPicture").val();							if (picurl!="") {					$.post("/documents/nice-sz/php_new/moduserpic.php", {						uid: userid,						picid: id,						picurl: picurl					}, function(xml) {						fnMessage(xml, "Képcsere", function() { location.href=location.href; });											});				} else {					fnMessage("Nem adtál meg új képet, így profilképed <b>nem változik</b>!", "Nem történt módosítás", function() { $("#picsDialog").dialog("destroy"); } );				}			}		}	});}
