Warning: Undefined array key "amilgam_amilgamid" in /home/thingma/public_html/index.php on line 119
function ChangeGender(genderid) { $.post("/emptypopupsettings", { 'genderid': genderid }, function(data){ if(genderid==1) { document.getElementById("GMGenderBox1").className = "tabframegreen"; document.getElementById("GMGenderBox2").className = "tabframe"; document.getElementById("GMGenderBox3").className = "tabframe"; } if(genderid==2) { document.getElementById("GMGenderBox1").className = "tabframe"; document.getElementById("GMGenderBox2").className = "tabframegreen"; document.getElementById("GMGenderBox3").className = "tabframe"; } if(genderid==3) { document.getElementById("GMGenderBox1").className = "tabframe"; document.getElementById("GMGenderBox2").className = "tabframe"; document.getElementById("GMGenderBox3").className = "tabframegreen"; } },"html" ); } function ChangeBirthYear() { $.post("/emptypopupsettings", { 'birthyear': document.getElementById("birthyear").value }, function(data){},"html" ); } function ChangeNameSurname(namesurmame) { $.post("/emptypopupsettings", { 'Lfirstname': document.getElementById("Lfirstname").value, 'Lsurname': document.getElementById("Lsurname").value }, function(data){ },"html" ); } function ChangeEducation(educationid) { $.post("/emptypopupsettings", { 'educationid': educationid }, function(data){ if(educationid==1) { document.getElementById("GMEducationBox1").className = "tabframegreen"; document.getElementById("GMEducationBox2").className = "tabframe"; document.getElementById("GMEducationBox3").className = "tabframe"; document.getElementById("GMEducationBox4").className = "tabframe"; document.getElementById("GMEducationBox5").className = "tabframe"; document.getElementById("GMEducationBox6").className = "tabframe"; } if(educationid==2) { document.getElementById("GMEducationBox1").className = "tabframe"; document.getElementById("GMEducationBox2").className = "tabframegreen"; document.getElementById("GMEducationBox3").className = "tabframe"; document.getElementById("GMEducationBox4").className = "tabframe"; document.getElementById("GMEducationBox5").className = "tabframe"; document.getElementById("GMEducationBox6").className = "tabframe"; } if(educationid==3) { document.getElementById("GMEducationBox1").className = "tabframe"; document.getElementById("GMEducationBox2").className = "tabframe"; document.getElementById("GMEducationBox3").className = "tabframegreen"; document.getElementById("GMEducationBox4").className = "tabframe"; document.getElementById("GMEducationBox5").className = "tabframe"; document.getElementById("GMEducationBox6").className = "tabframe"; } if(educationid==4) { document.getElementById("GMEducationBox1").className = "tabframe"; document.getElementById("GMEducationBox2").className = "tabframe"; document.getElementById("GMEducationBox3").className = "tabframe"; document.getElementById("GMEducationBox4").className = "tabframegreen"; document.getElementById("GMEducationBox5").className = "tabframe"; document.getElementById("GMEducationBox6").className = "tabframe"; } if(educationid==5) { document.getElementById("GMEducationBox1").className = "tabframe"; document.getElementById("GMEducationBox2").className = "tabframe"; document.getElementById("GMEducationBox3").className = "tabframe"; document.getElementById("GMEducationBox4").className = "tabframe"; document.getElementById("GMEducationBox5").className = "tabframegreen"; document.getElementById("GMEducationBox6").className = "tabframe"; } if(educationid==6) { document.getElementById("GMEducationBox1").className = "tabframe"; document.getElementById("GMEducationBox2").className = "tabframe"; document.getElementById("GMEducationBox3").className = "tabframe"; document.getElementById("GMEducationBox4").className = "tabframe"; document.getElementById("GMEducationBox5").className = "tabframe"; document.getElementById("GMEducationBox6").className = "tabframegreen"; } },"html" ); } function ChangeEthnicity(ethnicityid) { $.post("/emptypopupsettings", { 'ethnicityid': ethnicityid }, function(data){ if(ethnicityid==1) { document.getElementById("GMEthnicityBox1").className = "tabframegreen"; document.getElementById("GMEthnicityBox2").className = "tabframe"; document.getElementById("GMEthnicityBox3").className = "tabframe"; document.getElementById("GMEthnicityBox4").className = "tabframe"; document.getElementById("GMEthnicityBox5").className = "tabframe"; document.getElementById("GMEthnicityBox6").className = "tabframe"; } if(ethnicityid==2) { document.getElementById("GMEthnicityBox1").className = "tabframe"; document.getElementById("GMEthnicityBox2").className = "tabframegreen"; document.getElementById("GMEthnicityBox3").className = "tabframe"; document.getElementById("GMEthnicityBox4").className = "tabframe"; document.getElementById("GMEthnicityBox5").className = "tabframe"; document.getElementById("GMEthnicityBox6").className = "tabframe"; } if(ethnicityid==3) { document.getElementById("GMEthnicityBox1").className = "tabframe"; document.getElementById("GMEthnicityBox2").className = "tabframe"; document.getElementById("GMEthnicityBox3").className = "tabframegreen"; document.getElementById("GMEthnicityBox4").className = "tabframe"; document.getElementById("GMEthnicityBox5").className = "tabframe"; document.getElementById("GMEthnicityBox6").className = "tabframe"; } if(ethnicityid==4) { document.getElementById("GMEthnicityBox1").className = "tabframe"; document.getElementById("GMEthnicityBox2").className = "tabframe"; document.getElementById("GMEthnicityBox3").className = "tabframe"; document.getElementById("GMEthnicityBox4").className = "tabframegreen"; document.getElementById("GMEthnicityBox5").className = "tabframe"; document.getElementById("GMEthnicityBox6").className = "tabframe"; } if(ethnicityid==5) { document.getElementById("GMEthnicityBox1").className = "tabframe"; document.getElementById("GMEthnicityBox2").className = "tabframe"; document.getElementById("GMEthnicityBox3").className = "tabframe"; document.getElementById("GMEthnicityBox4").className = "tabframe"; document.getElementById("GMEthnicityBox5").className = "tabframegreen"; document.getElementById("GMEthnicityBox6").className = "tabframe"; } if(ethnicityid==6) { document.getElementById("GMEthnicityBox1").className = "tabframe"; document.getElementById("GMEthnicityBox2").className = "tabframe"; document.getElementById("GMEthnicityBox3").className = "tabframe"; document.getElementById("GMEthnicityBox4").className = "tabframe"; document.getElementById("GMEthnicityBox5").className = "tabframe"; document.getElementById("GMEthnicityBox6").className = "tabframegreen"; } },"html" ); } function ChangeCategory(categoryid) { $.post("/emptypopupsettings", { 'categoryid': categoryid }, function(data){ if(document.getElementById('GMCCategoryBox'+categoryid).className=="tabframebig") document.getElementById('GMCCategoryBox'+categoryid).className = "tabframegreenbig"; else document.getElementById('GMCCategoryBox'+categoryid).className = "tabframebig"; },"html" ); } function ChangeCountry(countryid) { $("div[country-attribute='true']").attr('class', 'tabframebig'); $.post("/emptypopupsettings", { 'countryid': countryid }, function(data){ if(document.getElementById('GMCCountryBox'+countryid).className=="tabframebig") document.getElementById('GMCCountryBox'+countryid).className = "tabframegreenbig"; else document.getElementById('GMCCountryBox'+countryid).className = "tabframebig"; },"html" ); }