document.write("<DIV id=\"mylayer\" style=\"DISPLAY: none; Z-INDEX: 9999; VISIBILITY: visible; OVERFLOW: hidden; WIDTH: 204px; BORDER-TOP-STYLE: ridge; BORDER-RIGHT-STYLE: ridge; BORDER-LEFT-STYLE: ridge; POSITION: absolute; TOP: 200px; HEIGHT: 240px;BACKGROUND-COLOR: white; BORDER-BOTTOM-STYLE: ridge\" ms_positioning=\"GridLayout\"><DIV id=\"mydhtmltext\" style=\"FONT-WEIGHT: normal; FONT-SIZE: 8pt; Z-INDEX: 102; LEFT: 2px; OVERFLOW: hidden; WIDTH: 98%; COLOR: black; FONT-FAMILY: verdana; POSITION: absolute; TOP: 40px; TEXT-ALIGN:Left\"	ms_positioning=\"FlowLayout\"></DIV> <IMG id=\"mypopupkapat\" style=\"Z-INDEX: 999; POSITION: absolute;cursor:pointer;\" src=\"/test/images/buton_kapat.gif\" onclick='mycollaps(\"mylayer\",20)' id=\"imgbtnkapat\">					<DIV style=\"Z-INDEX: 999; LEFT: 0px; WIDTH: 100%; POSITION: absolute; TOP: 0px; HEIGHT: 30px; BACKGROUND-COLOR: black\"	ms_positioning=\"GridLayout\"></DIV></div>");
document.write("<iframe id=\"mylayerIF\" src=\"javascript:false;\" style=\"Z-INDEX:9998;POSITION:absolute;BORDER-TOP-STYLE: none; BORDER-RIGHT-STYLE: none; BORDER-LEFT-STYLE: none;DISPLAY:none\"></iframe>");
        function myslide(xctl,i,xtend)
		{
         
         var aa=i;
        if (aa>xtend)
         {
         aa=i-10;
         document.getElementById(xctl).style.top=aa;
         document.getElementById("mylayerIF").style.top=aa;
         var kk=setTimeout("myslide('"+xctl+"',"+aa+","+xtend+")",10);}
     		
		}
		 
		function myshowpopup(xctl,i,xtend,xwidth,xheight,xtext,xleft)
        {       
        document.getElementById(xctl).style.height=xheight+"px";
        document.getElementById(xctl).style.width=xwidth+"px";
        document.getElementById(xctl).style.top=i+"px";
        document.getElementById(xctl).style.left=xleft+"px";
        document.getElementById(xctl).style.display="";
        document.getElementById("mylayerIF").style.height=xheight+"px";
        document.getElementById("mylayerIF").style.width=xwidth+"px";
        document.getElementById("mylayerIF").style.top=i+"px";
        document.getElementById("mylayerIF").style.left=xleft+"px";
        document.getElementById("mylayerIF").style.display="";
		document.getElementById("mydhtmltext").innerHTML=xtext;
        document.getElementById("mydhtmltext").style.height=xheight-60+"px";       
        document.getElementById("mypopupkapat").style.top=xheight-30+"px";
        document.getElementById("mypopupkapat").style.left=xwidth/2-30+"px";
        myslide(xctl,i,xtend);
        } 


		function mycollaps(xctl,xstep)
		{
		 document.getElementById("mylayerIF").style.display="none";
		 var xw=document.getElementById(xctl).style.width;
		 var xwidth=parseInt(xw.replace("px",""));
		   
		 var xh=document.getElementById(xctl).style.height
		 var xheigth=parseInt(xh.replace("px",""));    
	
		 if (xwidth>xstep)
		 {
			document.getElementById(xctl).style.width=xwidth-xstep;   
			
         }
         
         if (xheigth>xstep)
         document.getElementById(xctl).style.height=xheigth-xstep;
         if (xwidth>xstep || xheigth>xstep)
         {
         var tmp=setTimeout("mycollaps('"+xctl+"',"+xstep+")",10);}
         else
         document.getElementById(xctl).style.display="none";  
        		
		}

		function manuallink(myurl,myopt)
         {
         window.open(myurl,"userwindow",myopt);
         mycollaps("mylayer",20);
         }
		 
		function openpopup(myurl,myopt)
		{
					try
					{ 
						var WindowOpen = window.open(myurl,"user_window",myopt);
						var obj = WindowOpen.Name;
					} 
					catch(e)
					{ 		
						var mytext="<p class=MsoNormal style='margin-left:0;margin-bottom:0cm;'><span lang=TR>www.wordtest.com sitesindeki bütün fonksiyonlara eriþmek için bilgisayarýnýzdaki pop-up blocker(açýlýr pencere engelleyici) fonksiyonunu iptal edin veya buraya <a href=# onclick='manuallink(\""+myurl+"\",\""+myopt+"\")'>týklayýn.</a></span></p>";
						myshowpopup("mylayer",450,200,200,200,mytext,200);
					}
		}