var bns4=(document.layers)?true:false;var bie4=(document.all)?true:false;var ekr=new Array("0");var aKontrol=true;var aTumu="";var divKapat="";var durum="";var menuS="";var menuA="";var eRenk="";var hs="";var browser=navigator.appName;var version=navigator.appVersion.indexOf("MSIE 6.0");function mo(c,g){var f=c.split(",");var e=g.split(",");for(i=0;i<e.length;i++){if(document.getElementById(f[i]).className!="select"){document.getElementById(f[i]).className=e[i]}}}function clearMenu(e,c){menuA="";v=e+"_"+c;obj=document.getElementById(v);menuS=setTimeout("hideDiv('"+e+"','"+c+"')",1000)}function onF(e,c){if(e.value==c){e.value=""}}function onB(e,c){if(e.value==""){e.value=c}}function idS(c){obj=document.getElementById(c);if(obj!=null){obj.innerHTML=""}}function idV(c){obj=document.getElementById(c);if(obj!=null){obj.value=""}}function idiv(c){obj=document.getElementById(c);if(obj!=null){obj.innerHTML="";obj.style.display="none"}}function sIH(e,c){obj=document.getElementById(e);if(obj){obj.innerHTML=c;obj.style.display="block"}}function showDiv(g,e,f){for(i=0;i<f;i++){if(i!=e){var c=g+"_"+i;obj=document.getElementById(c);if(obj!=null){obj.style.display="none"}}}var c=g+"_"+e;obj=document.getElementById(c);if(obj!=null){obj.style.display="block";menuS=setTimeout("hideDiv('"+g+"','"+e+"')",2000)}}function Em(e){var c=document.getElementById(e).value;if(c==""){c=0}else{c=parseInt(c)}c=c+1;document.getElementById(e).value=new String(c)}function Cs(e){var c=document.getElementById(e).value;if(c!=""){c=parseInt(c);c=c-1;if(c<1){c=""}}document.getElementById(e).value=new String(c)}function showTab(h,c,f){for(i=0;i<c;i++){var e=f+"_"+i;obj=document.getElementById(e);obj.className="pasifTab";var e=f+"s_"+i;obj=document.getElementById(e);obj.style.display="none"}var e=f+"_"+h;obj=document.getElementById(e);obj.className="aktifTab";var e=f+"s_"+h;obj=document.getElementById(e);obj.style.display="block";obj=document.getElementById("sepetPage");if(obj!=null){var g=parseInt(h+1);obj.innerHTML=g+" / "+c}}function cback(c,f){var g=document.getElementById(c);if(g!=null){var e=g.style.backgroundColor;g.style.backgroundColor=f}}function wback(e,h,c){var k=document.getElementById(e);if(k!=null){var f=k.style.backgroundColor;var g=h;k.style.backgroundColor=g;if(document.getElementById("wysiwyg"+c)!=null){document.getElementById("wysiwyg"+c).contentWindow.document.execCommand("BackColor",0,g)}}}function ceski(c){var e=document.getElementById(c);e.style.backgroundColor=eRenk}function back(c,f){var e=c.className;if(e=="pasif"){c.style.backgroundColor=f}}function cN(f,c,e){obj=document.getElementById(f+"_"+c);obj.className=e}function classN(e,c){obj=document.getElementById(e);obj.className=c}function td_click(c){c.firstChild.click()}function menuShow(e,c){a=document.getElementById(e+"_"+c);a.style.display="block";a.focus()}function menuHide(e,c){a=document.getElementById(e+"_"+c);a.style.display="none"}function moveUp(e,c){topnum=parseInt(document.getElementById(e).style.marginTop);heightnum=parseInt(document.getElementById(e).offsetHeight);test=heightnum-topnum;topnum=topnum+parseInt(c);if(test==heightnum){topnum=parseInt(c)-heightnum}document.getElementById(e).style.marginTop=topnum+"px";page=parseInt(-1*topnum/c)+1;tpage=parseInt(heightnum/c)+1;for(i=1;i<tpage;i++){idp=e+"_page_"+i;document.getElementById(idp).className="textSilver"}idp=e+"_page_"+page;document.getElementById(idp).className="textRed"}function moveDown(e,c){topnum=parseInt(document.getElementById(e).style.marginTop);heightnum=parseInt(document.getElementById(e).offsetHeight);test=heightnum+topnum;topnum=topnum-parseInt(c);if(test==c){topnum=0}document.getElementById(e).style.marginTop=topnum+"px";page=parseInt(-1*topnum/c)+1;tpage=parseInt(heightnum/c)+1;for(i=1;i<tpage;i++){idp=e+"_page_"+i;document.getElementById(idp).className="textSilver"}idp=e+"_page_"+page;document.getElementById(idp).className="textRed"}function moveRight(f,c,e){topnum=parseInt(document.getElementById(f).style.marginLeft);heightnum=parseInt(document.getElementById(f).offsetWidth);test=heightnum+topnum;topnum=topnum-parseInt(c);if(heightnum==c||parseInt(heightnum+topnum)==0){topnum=0}document.getElementById(f).style.marginLeft=topnum+"px";page=parseInt(-1*topnum/c)+1;for(i=1;i<e+1;i++){idp=f+"_page_"+i;document.getElementById(idp).className="textSilver"}if(page>e){page=e}idp=f+"_page_"+page;document.getElementById(idp).className="textRed"}function moveLeft(f,c,e){topnum=parseInt(document.getElementById(f).style.marginLeft);heightnum=parseInt(document.getElementById(f).offsetWidth);test=heightnum-topnum;topnum=topnum+parseInt(c);if(test==heightnum){topnum=c-heightnum}document.getElementById(f).style.marginLeft=topnum+"px";page=parseInt(-1*topnum/c)+1;for(i=1;i<e+1;i++){idp=f+"_page_"+i;document.getElementById(idp).className="textSilver"}if(page>e){page=e}idp=f+"_page_"+page;document.getElementById(idp).className="textRed"}function hides(e,f){for(i=1;i<e+1;i++){var c=f+i;obj=document.getElementById(c);obj.style.display="none"}}function ChangeR(c,k,h,f){for(i=0;i<k;i++){var e="lnk"+i+"1";var g=document.getElementById(e);g.className="pasif";g.style.backgroundColor=f}var e="lnk"+c+"1";g=document.getElementById(e);g.className="aktif";g.style.backgroundColor=h}function MenuClickF(g,c,e){ekr[0]=g;MenuClick(g,c,"sr");document.signupForm.ekr.value=g;document.signupForm.elements[e].focus()}function eFocus(c){document.getElementById(c).focus()}function MenuClick(g,e,f){hide(g,e,f);var c=f+g;obj=document.getElementById(c);obj.style.display=(obj.style.display=="block"?"none":"block")}function listeAc(c,h,g){var f=h.split(",");for(j=0;j<f.length;j++){var e=f[j];document.getElementById(e).disabled=true}if(c>0){for(j=0;j<f.length;j++){var e=f[j];document.getElementById(e).disabled=""}var e=f[0];document.getElementById(e).focus()}else{for(j=0;j<f.length;j++){var e=f[j];document.getElementById(e).checked=false}}if(g!=""){if(c==0){for(j=0;j<f.length;j++){var e=f[j];document.getElementById(e).disabled=""}var e=f[0];document.getElementById(e).focus()}var f=g.split(",");for(j=0;j<f.length;j++){var e=f[j];document.getElementById(e).disabled=true}}}function pdfOpen(g,c,k){var n=document.body.clientWidth;var f=document.body.clientHeight;var e=(f-c)/2;var m=(n-k)/2;var l="toolbar=no,titlebar=1,location=0,directories=0,status=0,menubar=0,scrollbars=yes,resizable=0,width="+c+",height="+k+",left="+m+",top="+e+"";window.open(g,"seraci",l)}function Kontrol(){aKontrol=true}function cKontrol(h,l){var f=document.forms[h].elements;var e=f.length;for(var g=0;g<e;g++){var k=f[g].name;for(j=0;j<oN.length;j++){var c=oN[j].length;if(k.substring(0,c)==oN[j]){if(j==0){if(f[g].checked){d=true}}else{f[g].value="";if(f[g].checked){f[g].checked=false}}}}}return true}function OpenM(e,c){obj=document.getElementById(e);obj.style.display=(obj.style.display=="block"?"none":"block")}function OpenF(e,c){obj=document.getElementById(e);obj.style.display=(obj.style.display=="block"?"none":"block");if(c!=""){if(obj.style.display=="block"){document.getElementById(c).focus()}}}function stil(bolge,renk){var stil=bolge+".style.background='"+renk+"'";eval(stil)}function DSave(c){document.signupForm.ekrSec.value=c;document.signupForm.submit()}function Save(){document.signupForm.ekr.value=ekr[0];document.signupForm.submit()}function gitGozlem(c){document.signupForm.action=c;document.signupForm.submit()}function show(c){obj=document.getElementById(c);obj.style.display=(obj.style.display=="block"?"none":"block")}function showhide(c,e){obj=document.getElementById(c);if(obj!=null){obj.style.display=e}}function gitSecenek(c,f,g){if(g){var e=document.forms[c];LinkText=g+"&"+f+"="+e.elements[f].value;document.location.href=LinkText}}function gUnvan(f,e){var c=e+f;obj=document.getElementById(c);obj.style.display=(obj.style.display=="block"?"none":"block")}function hide(g,e,f){for(i=1;i<e+1;i++){var c=f+i;obj=document.getElementById(c);obj.style.display="none"}}function MenuClickF(g,c,e){ekr[0]=g;MenuClick(g,c,"sr");if(document.signupForm.elements[e].disabled=="false"){document.signupForm.elements[e].focus()}}function MenuClick(g,e,f){hide(g,e,f);var c=f+g;obj=document.getElementById(c);obj.style.display=(obj.style.display=="block"?"none":"block")}function gSave(){obj=document.getElementById("gSave");obj.style.display=(obj.style.display=="block"?"none":"block");document.signupForm.submit()}function sSave(c){var e="sSave"+c;obj=document.getElementById(e);obj.style.display=(obj.style.display=="block"?"none":"block")}function git(c){if(c){document.location.href=c}}function Deger_Ata(c,e){c.value=e}function changeIt(e,c){if(document.images){document.getElementById(e).src=c}}function NewWindow(e,m,h){var f=screen.width;var n=screen.height;var g=50;var k=(f-m)/2;var l="toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=auto,resizable=0,width="+m+",height="+h+",left="+k+",top="+g+"";var c=window.open(e,"Wopen",l);if(navigator.appName.substring(0,8)=="Netscape"){c.location=e}}function cWin(){var g=screen.width;var c=screen.height;var e=document.body.clientWidth;var f=document.body.clientHeight;document.body.left=(g-e)/2;document.body.top=(c-f)/2}function exitOnay(e){var c=confirm(e)}function kayitSil(g,e,h,f){var c=confirm(h);if(c){if(f!=""){loading(f)}changeliste(g,e)}}var aKontrol=true;function number(e,n){if(aKontrol){e.value="";aKontrol=false}var k=e.value.substring(0,1);var h=k.toUpperCase();var m=e.value,l="",f="";var g=String.fromCharCode(event.keyCode);g=g.toUpperCase();for(i=0;i<Bharf.length;i++){if(g==String.fromCharCode(Bharf[i])){l=Bharf[i];f=Charf[i];break}}if(l!=""){if(e.value==""){e.value=String.fromCharCode(l)+String.fromCharCode(f)}e.focus();event.returnValue=false}else{if((event.keyCode<47)||(event.keyCode>57)){event.returnValue=false}else{b=e.value+String.fromCharCode(event.keyCode);if(b.length>=2){if((b>100||b<0)){e.value=m}else{if(b>0){e.value=b}}event.returnValue=false}else{if(b>0){e.value=b}event.returnValue=false}}}}function pdfOpen(c){document.location=c}function newOpen(e){var m="0.994";var l="0.80";if(screen.width==800){var l="0.89"}else{var l="0.92"}var f=(screen.width*m);var h=(screen.width-f)/2;var n=(screen.height*l);var g=(screen.height-n)/2;var k="toolbar=No,titlebar=No,location=No,directories=No,status=No,top=No,left=No,menubar=No,scrollbars=Yes,resizable=No,width="+f+",Height="+n;var c=window.open(e,"pdf",k);if(navigator.appName.substring(0,8)=="Netscape"){c.location=e}}function Popen(e){var m="0.994";var l="0.80";if(screen.width==800){var l="0.89"}else{var l="0.92"}var f=(screen.width*m);var h=(screen.width-f)/2;var n=(screen.height*l);var g=(screen.height-n)/2;var k="toolbar=No,titlebar=No,location=No,directories=No,status=No,top=No,left=No,menubar=No,scrollbars=Yes,resizable=No,width="+f+",Height="+n;var c=window.open(e,"popup",k);if(navigator.appName.substring(0,8)=="Netscape"){c.location=e}}var delta=5;function init(){makeFlash(bir);setInterval("iki.filters.alpha.opacity = (iki.filters.alpha.opacity + 5) % 101",100);setInterval("kronometre(uc)",100)}function kronometre(c){if((c.filters.alpha.opacity+delta>100)||(c.filters.alpha.opacity+delta<0)){delta=-delta}c.filters.alpha.opacity+=delta}function makeFlash(c){c.flashTimer=setInterval("bir.filters.glow.enabled = !bir.filters.glow.enabled",1000)}function stopFlash(c){clearInterval(c.flashTimer)}function seraci(g,c){var l=document.body.clientWidth;var f=document.body.clientHeight;var e=(f-c)/2;var k=(l-g)/2;var h="toolbar=no,location=0,directories=0,status=0,menubar=0,scrollbars=yes,resizable=0,width="+g+",height="+c+",left="+k+",top="+e+"";window.open("newindow.php","seraci",h)}function frmGiris(){gUnvan(1,"unv");document.frmLogin.submit();return true}function dKontrol(o,m,f){var k=document.forms[o].elements;var q=k.length;var g=f.length;var n="";var p="";var e="editor";var l="linkurl";for(var h=0;h<q;h++){var c=k[h].name;if(c.substring(0,g)==f&&k[h].type=="checkbox"){if(k[h].checked){n=true}}if(c=="submitButton"){p=true}}if(p){if(n){document.forms[o].elements[m].disabled=""}else{document.forms[o].elements[m].disabled=true}}return true}function hkpOnay(g){var k=document.signupForm.elements;var e=k.length;var c=g.length;var h="";if(aTumu==""){aTumu="true"}else{aTumu=""}for(var f=0;f<e;f++){var l=k[f].name;if(l.substring(0,c)==g){k[f].checked=aTumu}if(l=="gonder"){h=true}}if(h){if(document.signupForm.gonder.name=="gonder"){document.signupForm.gonder.disabled=""}if(aTumu==""){document.signupForm.gonder.disabled=true}}return true}function araOnay(k,g,c,m){var f=document.forms[g];var l;var h="";if(window.event){h=window.event.keyCode}else{if(k){h=k.which}}if(h==8){if(c.value.length<=1){f.elements[m].disabled=true}return false}if(h==0||h==9){h=13}if(h==13){return tabA(k,c);return false}l=String.fromCharCode(h);if(l!=""){f.elements[m].disabled="";return true}else{f.elements[m].disabled=true}return false}function mover(e,f){e.className=f}function mout(e,f){e.className=f}function HideAll(f,e){for(i=0;i<e;i++){var c=i+"_"+f;obj=document.getElementById(c);obj.style.display="none"}}function showHide(k,h,f,g,e){if(g>3){for(i=1;i<g-1;i++){var c=h+i;divHide(c);obj=document.getElementById(c);obj.style.display="none"}}var c=h+k;divHide(c);if(f!=""){var c=f+k;objR=document.getElementById(c);objR.src=(obj.style.display=="block"?"/image/template/"+e+"/menukapat.gif":"/image/template/"+e+"/menuac.gif")}}function divHide(c){obj=document.getElementById(c);obj.style.display=(obj.style.display=="block"?"none":"block")}function hideDiv(c){obj=document.getElementById(c);if(obj){obj.style.display="none"}}function sN(e,c){obj=document.getElementById(e);obj.style.display=c}function cK(e,c){if(c){document.getElementById(e).value="";document.getElementById(e).disabled=true}else{document.getElementById(e).disabled=""}}function dK(){if(arguments.length>0){var g=$(arguments[arguments.length-1]);for(var c=0;c<arguments.length-1;c++){var h=$(arguments[c]);if(h){h.disabled=g}}}}function rK(e,c){document.getElementById(e).style.color=c}function clear_radio(h,l){var f=document.forms[h];var c=l.length;for(g=0;g<f.length;g++){var k=f[g].name;if(k.substring(0,c)==l){if(l=="kgun"){f[g].value=""}else{f[g].checked=false}}}if(l=="onay"){f.elements.save.disabled=true;for(var g=0;g<f.length;g++){var k=f[g].name;if(l=="onay"&&k.substring(0,3)=="txt"){f[g].value=""}var e="a"+g;if(document.getElementById(e)!=null){document.getElementById(e).style.display="none"}}for(g=0;g<f.length;g++){if(f[g].name=="neden"){f[g].value=""}}}}function closeWin(){window.close()}function cekOnay(c,e){if(c.checked){document.getElementById(e).disabled=""}else{document.getElementById(e).disabled=true}}function addOption(f,c,g){var e=new Option(c,g);document.getElementById(f).options.add(e)}function changeFile(c){xajax_changeFile(c);return false}function sH(e,f,c){xajax_sH(e,f,c);return false}function changeliste(e,c){xajax_changeListe(xajax.getFormValues(e),c);return false}function loadForm(){xajax_loadForm(xajax.getFormValues("signupForm"));return false}function submitSignup(c){xajax_loadForm(xajax.getFormValues(c));return false}function OptSec(e,f){var c=document.getElementById(e).options;for(i=0;i<c.length;i++){if(c.options[i].value==f){c.options[i].selected=true;break}}}function listeSec(k,c){var e=document.forms[k];var h=0;if(e.elements[c]!=null){var h=e.elements[c].options.length;e.elements[c].focus()}var g="";for(i=0;i<h;i++){if(e.elements[c].options[i].selected){var f=e.elements[c].options.selectedIndex;g=e.elements[c].options[f].value;break}}}function addValue(c,e){if(c.checked==true){c.value=e}else{c.value=0}}function yonTus(l,e,m){var g=document.forms[l];var k=g.elements[e].options.length;var f="";var h="";var c="";for(i=0;i<k;i++){if(g.elements[e].options[i].selected){h=g.elements[e].options.selectedIndex;c=h;if(m=="geri"){g.elements.geri.disabled=true;if(h>0){c=h-1;f=g.elements[e].options[c].value}}else{g.elements.ileri.disabled=true;c=h+1;if(c<k){f=g.elements[e].options[c].value}}break}}if(f!=""){g.elements.geri.disabled="";g.elements.ileri.disabled="";if(c==0){g.elements.geri.disabled=true}if(c==k-1){g.elements.ileri.disabled=true}g.elements.id.value=f;changeFile("load")}else{g.elements.geri.disabled=true;g.elements.ileri.disabled=true}}function keypressdown(c){if(document.all){c=window.event}if(_dom==2){if(c.which==116){return false}}else{if(_dom==3){if(c.keyCode==116){c.keyCode=0;return false}}else{if(c.keyCode==116){return false}}}return true}function keypresshandler(c){if(document.all){c=window.event}if(_dom==2){if(c.which==116){return false}}else{if(_dom==3){}else{if(c.keyCode==116){return false}}}return true}_dom=0;function keypress(){_dom=document.all?3:(document.getElementById?1:(document.layers?2:0));document.onkeydown=keypressdown;document.onkeyup=keypresshandler;document.onkeypress=keypresshandler}function hideload(){var f="block";if(arguments.length==1){var g=$(arguments[0]).id;if(g=="loginpopup"){f="none"}}frmEH(f);for(var c=0;c<arguments.length;c++){var g=$(arguments[c]);if(g){g.style.display="none";g.innerHTML=""}}$("i_f_rame_s").style.display="none"}function loading(c){$("cover").style.display="block";$("loginpopup").style.left=Math.round((document.body.clientWidth-620)/2)+"px";$("loginpopup").style.top=Math.round((document.body.clientHeight-100)/3)+"px";$("loginpopup").style.display="block";$("loginpopup").innerHTML="<iframe id='i_f_rame_z' name='i_f_rame_z' frameborder='0' style='z-index:90000007;position:absolute;width:1px;height:1px;'></iframe><div style='position:relative;z-index:90000008;'><table><tr><td width='40'><img src='/image/loading.gif' align='left'></td><td><span class='sC'>"+c+"</span></td><td width='1%' nowrap><button style='border:none;background:transparent;' onClick=\"hideload('cover','loginpopup');\" class='pointer' id='btnClose' name='btnClose'><img src='/image/closeblack.png' alt=''></button></td></tr></table></div>";$("i_f_rame_z").style.display="none";if(browser=="Microsoft Internet Explorer"&&version==17){$("i_f_rame_z").style.display="block";$("i_f_rame_z").style.width=parseInt($("loginpopup").offsetWidth)-5+"px";$("i_f_rame_z").style.height=parseInt($("loginpopup").offsetHeight)-5+"px";$("i_f_rame_z").style.left=0+"px";$("i_f_rame_z").style.top=0+"px"}frmEH("none");document.getElementById("btnClose").focus()}function loadings(c){if(c=="doktor_search_result"){document.getElementById("arama_sonuc").innerHTML=""}document.getElementById(c).style.display="block";document.getElementById(c).innerHTML="<img src='/image/loadings.gif'>"}function ariyor(c){document.getElementById(c).innerHTML="<img src='/image/ariyor.gif'>"}var tempX=0;var tempY=0;function rDetay(e,l){var o=0;var n=0;var h=document.getElementById(e);if(h!=null){var k=document.getElementById("randevu_takvimi_scroll");var f=k.scrollTop;var c=e.split("~");var p=0;if(c[2]>8){var p=(c[2]-8)*4}var m=0;if(c[3]>0){var m=c[3]/15}n=23+(p+m)*23-f;o=50+l*104;if(l>4){o-=390}if(c[2]>19){n-=130}h.style.marginTop=n+"px";h.style.marginLeft=o+"px";h.style.display="block"}}function sDiv(m,c,l,k){var h=document.getElementById(m);if(h!=null){var f=parseInt(h.style.marginLeft);var e=parseInt(h.style.width);var g=e+f;if(l=="last"){f=c}if(l=="end"){f=-c}if(l=="prev"&&f<0){f=f+c}if(l=="next"&&k<g){f=f-c}h.style.marginLeft=f+"px"}}function aDivPoz(f,c){var e=document.getElementById(f);if(e!=null){e.style.marginTop=c+"px"}}function frmHS(h,l,g){var e=document.forms[h].elements;var c=e.length;for(var f=0;f<c;f++){var k=e[f].name;if(k!=""&&k!=l&&e[f].type!="hidden"){e[f].disabled=g}}return true}function change_turkish(h){var c=h.value.toLowerCase();var g=new Array("ğ","ü","ş","ı","ö","ç","�?","Ü","�?","I","Ö","Ç"," ");var f=new Array("g","u","s","i","o","c","g","u","s","i","o","c","");for(i=0;i<g.length;i++){c=new String(c.replace(g[i],f[i]))}h.value=c;var e="id_"+h.name;document.getElementById(e).innerHTML=c}function doPayPal(c){document.getElementById("tc_no").value=c;document.registerForm.action="payment.php";document.registerForm.submit()}function divLoad(f,c){$(f).style.left=Math.round((document.body.clientWidth-700)/2)+"px";$(f).style.top="30px";$(f).style.display="block";$("cover").style.display="block";$("i_f_rame").style.display="none";if(browser=="Microsoft Internet Explorer"&&version==17){var e=f+"Inner";$("i_f_rame").style.display="block";$("i_f_rame").style.top=60+"px";$("i_f_rame").style.left=0+"px";$("i_f_rame").style.width=parseInt($(e).offsetWidth)+"px";$("i_f_rame").style.height=parseInt($(e).offsetHeight)+"px"}$("cover").focus()}function mBox(e,f,c){Modalbox.show(e,{title:f,width:c})}function mmBox(e,f,c){MModalbox.show(e,{title:f,width:c})}function frmEH(k){var g=document.forms;for(var f=0;f<g.length;f++){var e=document.forms[f].elements;var c=e.length;for(var h=0;h<c;h++){var l=e[h].type;if(l=="select-one"){e[h].style.display=k}}}return true}function scroll_down(){var c=crossobj.offsetHeight;if(parseInt(crossobj.style.marginTop)>=(c*(-1)+100)){crossobj.style.marginTop=parseInt(crossobj.style.marginTop)-1+"px"}scroll_down_var=setTimeout("scroll_down()",0)}function scroll_up(){var c=crossobj.offsetHeight;if(parseInt(crossobj.style.marginTop)<=0){crossobj.style.marginTop=parseInt(crossobj.style.marginTop)+1+"px"}scroll_up_var=setTimeout("scroll_up()",0)}function updateTextArea(e){var c=document.getElementById(e);if(c!=null){c.value=tinyMCE.get(e).getContent()}return true}var alertTime=0;function randevuAlert(){if(alertTime){clearTimeout(alertTime);changeFile("randevuAlert");alertTime=setTimeout("randevuAlert()",60000)}else{alertTime=setTimeout("randevuAlert()",60000)}}function Paging(c){document.theForm.p.value=c;document.theForm.submit()}function fullHeight(f,c){if(bie4){var e=Math.round((document.body.clientHeight)-c)}else{var e=Math.round((self.innerHeight)-c)}if(document.getElementById(f)){document.getElementById(f).style.height=e+"px"}}function autoDivHide(){var c=document.getElementsByTagName("div");for(i=0;i<c.length;i++){if(c[i].id.substring(0,10)=="autocombox"){c[i].style.height="19px"}}}var aX="";aW="";function aBoxExpand(e,c){if(e){aX=e;aW=c;autoDivHide();if(aX.xtimeout){clearTimeout(aX.xtimeout)}aX.style.height=aW+"px";aX.xExpand=true}return false}function aBoxExpands(e,c){if(aX.xExpand){aX=e;aW=c;if(aX.xtimeout){clearTimeout(aX.xtimeout)}aX.style.height=aW+"px"}else{autoDivHide()}return false}function aBoxClose(){if(aX.xExpand){clearTimeout(aX.xtimeout);aX.style.height="19px";aX.xExpand=false}else{autoDivHide()}return false}function iL(e){var c="text_"+e;obj=document.getElementById(c);obj.innerHTML="<div style='width:185px;height:13px;' class='back'><img src='/image/loads.gif'></div>"}function xEvent(g,e,c){if(g.attachEvent){return g.attachEvent("on"+e,c)}else{if(g.addEventListener){return g.addEventListener(e,c,false)}}}function xPositionTop(f){try{if(f.offsetParent.tagName=="BODY"){return f.offsetTop}else{if(f.offsetParent.tagName=="TBODY"){return 0}else{return f.offsetTop+nTop(f.offsetParent)}}}catch(c){return 0}}function xPositionLeft(f){try{if(f.offsetParent.tagName=="BODY"){return f.offsetLeft}else{if(f.offsetParent.tagName=="TBODY"){return 0}else{return f.offsetLeft+nLeft(f.offsetParent)}}}catch(c){return 0}}function makeExpandable(n,k,f,c,m,l,h,g,o){n.expandSettings=new Object();n.expandSettings.c1=f;n.expandSettings.c2=c;n.expandSettings.w1=h;n.expandSettings.w2=g;n.expandSettings.h1=m;n.expandSettings.h2=l;if(o){n.expandSettings.t=o}else{n.expandSettings.t=500}n.expandSettings.expanded=false;xEvent(n,k,function(){if(n.expandSettings.timeout){clearTimeout(n.expandSettings.timeout)}n.expandSettings.expanded=true;n.className=n.expandSettings.c2;n.style.width=n.expandSettings.w2+"px";n.style.height=n.expandSettings.h2+"px";return false});xEvent(n,"mouseover",function(){if(n.expandSettings.timeout){clearTimeout(n.expandSettings.timeout)}if(n.expandSettings.expanded==true){n.expandSettings.expanded=true;n.className=n.expandSettings.c2;n.style.width=n.expandSettings.w2+"px";n.style.height=n.expandSettings.h2+"px"}return false});xEvent(n,"mouseout",function(){if(n.expandSettings.timeout){clearTimeout(n.expandSettings.timeout)}n.expandSettings.timeout=setTimeout(function(){n.expandSettings.expanded=false;n.className=n.expandSettings.c1;n.style.width=n.expandSettings.w1+"px";n.style.height=n.expandSettings.h1+"px"},n.expandSettings.t);return false});n.close=function(){if(n.expandSettings.timeout){clearTimeout(n.expandSettings.timeout)}n.expandSettings.expanded=false;n.className=n.expandSettings.c1;n.style.width=n.expandSettings.w1+"px";n.style.height=n.expandSettings.h1+"px";return false}}function makeBox(n,k,f,c,m,l,h,g,o){if(!n.expandSettings){n.expandSettings=new Object();n.expandSettings.c1=f;n.expandSettings.c2=c;n.expandSettings.w1=h;n.expandSettings.w2=g;n.expandSettings.h1=m;n.expandSettings.h2=l;if(o){n.expandSettings.t=o}else{n.expandSettings.t=500}n.expandSettings.expanded=false;n.expandSettings.expanded=true;n.className=n.expandSettings.c2;n.style.width=n.expandSettings.w2+"px";n.style.height=n.expandSettings.h2+"px";xEvent(n,k,function(){if(n.expandSettings.timeout){clearTimeout(n.expandSettings.timeout)}n.expandSettings.expanded=true;n.className=n.expandSettings.c2;n.style.width=n.expandSettings.w2+"px";n.style.height=n.expandSettings.h2+"px";return false});xEvent(n,"mouseover",function(){if(n.expandSettings.timeout){clearTimeout(n.expandSettings.timeout)}if(n.expandSettings.expanded==true){n.expandSettings.expanded=true;n.className=n.expandSettings.c2;n.style.width=n.expandSettings.w2+"px";n.style.height=n.expandSettings.h2+"px"}return false});xEvent(n,"mouseout",function(){if(n.expandSettings.timeout){clearTimeout(n.expandSettings.timeout)}n.expandSettings.timeout=setTimeout(function(){n.expandSettings.expanded=false;n.className=n.expandSettings.c1;n.style.width=n.expandSettings.w1+"px";n.style.height=n.expandSettings.h1+"px"},n.expandSettings.t);return false});n.close=function(){if(n.expandSettings.timeout){clearTimeout(n.expandSettings.timeout)}n.expandSettings.expanded=false;n.className=n.expandSettings.c1;n.style.width=n.expandSettings.w1+"px";n.style.height=n.expandSettings.h1+"px";return false}}}function showIt(c){var e=document.getElementById(c);if(el){el.scrollIntoView(true)}}function aValue(c,e,f){c.elements[f].value=c.elements[e].options[c.elements[e].options.selectedIndex].value};
