 function openw(str,x,y)
{
  str3="scrollbars=auto,status=no,resizable=yes,width="+x+",height="+y+",left="+(screen.availWidth-x)/2+",top="
  +(screen.availHeight-y)/2;
  open(str, "_blank", str3, true);
                       
}
 function openw(str,x,y)
{
  str3="scrollbars=yes,status=no,resizable=yes,width="+x+",height="+y+",left="+(screen.availWidth-x)/2+",top="
  +(screen.availHeight-y)/2;
  open(str, "_blank", str3, true);
                       
}

function oknoh(str,x,y)
{
  if(y < (screen.availHeight - 20) )str3="scrollbars=yes,status=no,resizable=yes,width="+x+",height="+y+",left="+(screen.availWidth-x)/2+",top="+(screen.availHeight-y)/2;
  else str3="scrollbars= yes,width="+ (x + 20) +",height="+ (screen.availHeight - 50)  +",left="+(screen.availWidth-x)/2+",top= 10";
  newWindow = window.open(str,"newWindow",str3);
  newWindow.focus();
}

function okno(str,x,y)
{

  if(y < (screen.availHeight - 20) )str3="scrollbars=no,status=no,resizable=yes,width="+x+",height="+y+",left="+(screen.availWidth-x)/2+",top="+(screen.availHeight-y)/2;
  else str3="scrollbars= yes,width="+ (x + 20) +",height="+ (screen.availHeight - 50)  +",left="+(screen.availWidth-x)/2+",top= 10";

  newWindow = window.open("","newWindow",str3);
  newWindow.document.open();
  newWindow.document.write('<html><title> ÀÊÖÈß!!! &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</title> <body leftmargin="0" topmargin="0" marginheight="0" marginwidth="0"  onBlur="self.close()" onClick="self.close()">');  
  newWindow.document.write('<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" height="100%"><tr><td>');
  newWindow.document.write('<img src="'+str+'" width="'+x+'" height="'+y+'" alt="ÇÀÊÐÛÒÜ" >'); 
  newWindow.document.write('</td></tr></table></body></html>');
  newWindow.document.close();
  newWindow.focus();

}  


function text01()
{
		if (t1.style.display == 'none') {
		t1.style.display = '';
		t2.style.display = 'none';
		t3.style.display = 'none';
		t4.style.display = 'none';
		t5.style.display = 'none';
		p1.style.color = '#050BD8';
		p2.style.color = '';
		p3.style.color = '';
		p4.style.color = '';
		p5.style.color = '';
		p1.style.backgroundColor = '#EBEBFE';
		p2.style.backgroundColor = '';
		p3.style.backgroundColor = '';
		p4.style.backgroundColor = '';
		p5.style.backgroundColor = ''; }
		else {
		t1.style.display = 'none';
		p1.style.color = '';
		p1.style.backgroundColor = '';
}
}
function text02()
{
		if (t2.style.display == 'none') {
		t1.style.display = 'none';
		t2.style.display = '';
		t3.style.display = 'none';
		t4.style.display = 'none';
		t5.style.display = 'none';
		p1.style.color = '';
		p2.style.color = '#050BD8';
		p3.style.color = '';
		p4.style.color = '';
		p5.style.color = '';
		p1.style.backgroundColor = '';
		p2.style.backgroundColor = '#EBEBFE';
		p3.style.backgroundColor = '';
		p4.style.backgroundColor = '';
		p5.style.backgroundColor = ''; }
		else {
		t2.style.display = 'none';
		p2.style.color = '';
		p2.style.backgroundColor = '';
}
}
function text03()
{
		if (t3.style.display == 'none') {
		t1.style.display = 'none';
		t2.style.display = 'none';
		t3.style.display = '';
		t4.style.display = 'none';
		t5.style.display = 'none';
		p1.style.color = '';
		p2.style.color = '';
		p3.style.color = '#050BD8';
		p4.style.color = '';
		p5.style.color = '';
		p1.style.backgroundColor = '';
		p2.style.backgroundColor = '';
		p3.style.backgroundColor = '#EBEBFE';
		p4.style.backgroundColor = '';
		p5.style.backgroundColor = ''; }
		else {
		t3.style.display = 'none';
		p3.style.color = '';
		p3.style.backgroundColor = '';
}
}
function text04()
{
		if (t4.style.display == 'none') {
		t1.style.display = 'none';
		t2.style.display = 'none';
		t3.style.display = 'none';
		t4.style.display = '';
		t5.style.display = 'none';
		p1.style.color = '';
		p2.style.color = '';
		p3.style.color = '';
		p4.style.color = '#050BD8';
		p5.style.color = '';
		p1.style.backgroundColor = '';
		p2.style.backgroundColor = '';
		p3.style.backgroundColor = '';
		p4.style.backgroundColor = '#EBEBFE';
		p5.style.backgroundColor = ''; }
		else {
		t4.style.display = 'none';
		p4.style.color = '';
		p4.style.backgroundColor = '';
}
}
function text05()
{
		if (t5.style.display == 'none') {
		t1.style.display = 'none';
		t2.style.display = 'none';
		t3.style.display = 'none';
		t4.style.display = 'none';
		t5.style.display = '';
		p1.style.color = '';
		p2.style.color = '';
		p3.style.color = '';
		p4.style.color = '';
		p5.style.color = '#050BD8';
		p1.style.backgroundColor = '';
		p2.style.backgroundColor = '';
		p3.style.backgroundColor = '';
		p4.style.backgroundColor = '';
		p5.style.backgroundColor = '#EBEBFE'; }
		else {
		t5.style.display = 'none';
		p5.style.color = '';
		p5.style.backgroundColor = '';
}
}
