function openForgotWin(){ openWin("/forgotten_password.asp", "forgottenPassword" , 350 , 210, 0, 0); } // - - - ŞİİR - - - function openContestRulesWin(){ openWin("/Siir/Kurallar.asp", "contest" , 500 , 500, 0, 1); } function openPoemWin(id){ openWin("/Siir/popup_poem.asp?ID=" + id, "poem" , 500 , 500, 0, 1); } function openPreviewWin(id){ openWin("/Siir/print.asp?ID=" + id, "printPoem" , 350 , 400, 1, 1); } function openPreviewFSWin(id){ openWin("/Turkuler/print.asp?ID=" + id, "printFS" , 350 , 400, 1, 1); } function openSentPoemWin(id){ openWin("/Siir/Send.asp?ID=" + id, "sentPoem" , 400 , 350, 0, 0); } function openSentFSWin(id){ openWin("/Turkuler/Send.asp?ID=" + id, "sentFS" , 400 , 350, 0, 0); } function openSentHFWin(id){ openWin("/Saglik/GidaRehberi/Send.asp?ID=" + id, "sentHF" , 400 , 350, 0, 0); } function openWrongPoemWin(id){ openWin("/Siir/wrong_poem.asp?ID=" + id, "wrongPoem" , 400 , 350, 0, 0); } function openWrongFSWin(id){ openWin("/Turkuler/wrong_folksong.asp?ID=" + id, "wrongFS" , 400 , 350, 0, 0); } // - - - SAGLIK - - - function openPreviewFWin(id){ openWin("/Saglik/GidaRehberi/print.asp?ID=" + id, "printFood" , 480 , 500, 1, 1); } function openContactWin(){ openWin("/iletisim.asp", "contact" , 480 , 450, 1, 1); } function openAddToFavWin(f, catID){ if (!isChecked(f)){ alert("Lütfen Ekleyeceğiniz Kayıtları Seçin!..."); return false; } window.open('', 'insertFav', 'toolbar=0, location=0, status=0, menubar=0, scrollbars=0, resizable=0, copyhistory=0, width=200, height=150, ' + getCenter(200, 150)); f.action = "/UyeSayfam/addToFavorites.asp?CID=" + catID; f.target = "insertFav"; f.submit(); } function openDeleteToFavWin(f){ if (!isChecked(f)){ alert("Lütfen Sileceğiniz Kayıtları Seçin!..."); return false; } window.open('', 'deleteFav', 'toolbar=0, location=0, status=0, menubar=0, scrollbars=0, resizable=0, copyhistory=0, width=400, height=110, ' + getCenter(400, 110)); f.action = "/UyeSayfam/deleteToFavorites.asp"; f.target = "deleteFav"; f.submit(); } function openImportPoetsWin(){ openWin("/Turkuler/popup_import_poets.asp", "importPoets", 300 , 365, 0, 0); } function openImportEnvironsWin(){ openWin("/Turkuler/popup_import_environs.asp", "importEnvirons", 300 , 365, 0, 0); } function openChangePassWin(sId){ openWin("/UyeSayfam/change_pass.asp?SessionID=" + sId, "changePass" , 400 , 230, 0, 0); } function openHelpWin(){ openWin("/UyeSayfam/help.htm", "help" , 500 , 450, 0, 1); } function openWin(theURL, winName, w, h, r, s){ window.open(theURL, winName, 'toolbar=0, location=0, status=0, menubar=0, copyhistory=0, scrollbars=' + s + ', resizable=' + r + ', width= ' + w + ', height= ' + h + ',' + getCenter(w, h)); } function getCenter(w, h){ var scrleft = (screen.width - w)/2; var scrtop = (screen.height - h)/2; return ('left=' + scrleft + ', top=' + scrtop) }