﻿

function cmdYazdir_Click()
{		
	var ilactur = document.getElementById('ctl00_ContentPlaceHolder1_cbIlac');
	var cihaztur = document.getElementById('ctl00_ContentPlaceHolder1_cbTibbiIlac');
		
	var ilaccihaz = "";
	if(ilactur.checked == true)
		ilaccihaz = "İlaç";
	if(cihaztur.checked == true)
	{
		if(ilactur.checked == true)
			ilaccihaz += ", Cihaz";
		else
			ilaccihaz = "Cihaz";
	}
	
	
	var cmbIl = document.getElementById('ctl00_ContentPlaceHolder1_cmbIl');
	var IlAdi = cmbIl.options[cmbIl.selectedIndex].text;
	var cmbIlce = document.getElementById('ctl00_ContentPlaceHolder1_cmbIlce');
	var IlceAdi = cmbIlce.options[cmbIlce.selectedIndex].text;
	
	var printSize = 7;
    var NoOfCopies = 1; 
	var fntSize = 10;

	var paperWidthScale = printSize;
	var wndPreview = window.open( "about:blank", "_blank", "directories=no, location=no, menubar=no, status=no, toolbar=no, height=500, width=700" );
	var frmData = document.getElementById( "ctl00_ContentPlaceHolder1_Form1" );
	//var styleBold = "font-weight:bold;font-family:trebuchet;font-size:"+fntSize+"pt;";
	//var styleNorm = "font-family:trebuchet;font-size:"+fntSize+"pt;";
	var strFullOutput = "";
	var strOutput = "";
	var paperWidth = 80 + (paperWidthScale * 15);

strFullOutput += "<html>";

strFullOutput += "<head>";
strFullOutput += "<meta http-equiv=\"Content-Language\" content=\"tr\">";
strFullOutput += "<meta http-equiv=\"Content-Type\" content=\"text/html; charset=windows-1254\">";
strFullOutput += "<title>Tedarikçi Firma Kayıt Formu</title>";
strFullOutput += "<style type=\"text/css\">";
strFullOutput += "	.bigheading_old";
strFullOutput += "	{";
strFullOutput += "		font-family: Microsoft Sans Serif,Arial,Verdana;";
strFullOutput += "		font-weight: bold;";
strFullOutput += "		font-size: 18px;";
strFullOutput += "		text-align: center;";
strFullOutput += "	}";

strFullOutput += "	.bigheading";
strFullOutput += "	{";
strFullOutput += "		font-weight:bold;font-family:trebuchet;font-size:14pt;";
strFullOutput += "	}";
	
strFullOutput += "	.bigheadingtight";
strFullOutput += "	{";
strFullOutput += "		font-weight:bold;font-family:trebuchet;font-size:12pt;";
strFullOutput += "	}";

strFullOutput += "	.smallheading";
strFullOutput += "	{";
strFullOutput += "		font-weight:bold;font-family:trebuchet;font-size:"+fntSize+"pt;";
strFullOutput += "	}";
	
strFullOutput += "	.desc";
strFullOutput += "	{";
strFullOutput += "		font-weight: normal;";
strFullOutput += "		font-size: "+fntSize+"px;";
strFullOutput += "		width: 80%;";
strFullOutput += "		color: gray;";
strFullOutput += "		font-family: Microsoft Sans Serif,Arial,Verdana;";
strFullOutput += "	}";
	
strFullOutput += "	.norm";
strFullOutput += "	{";
strFullOutput += "		font-family:trebuchet;font-size:"+fntSize+"pt;";
strFullOutput += "	}";
strFullOutput += "</style>";
strFullOutput += "</head>";

strFullOutput += "<body>";

strOutput += "<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width="+paperWidth+"mm id=\"table0\" height=\"100%\">";
strOutput += "<tr>";
strOutput += "<td nowrap width=\"100%\" height=\"80%\">";
strOutput += "	<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\" id=\"table0\">";
strOutput += "		<tr>";
strOutput += "			<td nowrap width=\"5%\">&nbsp;</td>";
strOutput += "			<td nowrap width=\"15%\" align=\"center\"><img border=\"0\" src=\"Images\\logo.jpg\" width=\"112\" height=\"106\"></td>";
strOutput += "			<td nowrap width=\"80%\" align=\"center\" class=\"bigheadingtight\">T.C.<BR>SAĞLIK BAKANLIĞI<BR>TÜRKİYE İLAÇ VE TIBBİ CİHAZ ULUSAL BİLGİ BANKASI</td>";
strOutput += "		</tr>";
strOutput += "	</table>";
strOutput += "	<BR>";
strOutput += "	<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\" id=\"table1\">";
strOutput += "		<tr>";
strOutput += "			<td colspan=\"6\" class=\"bigheading\" align=\"center\">TEDARİKÇİ FİRMA KAYIT FORMU</td>";
strOutput += "		</tr>";
strOutput += "		<tr>";
strOutput += "			<td nowrap width=\"100%\" colspan=\"6\">&nbsp;</td>";
strOutput += "		</tr>";
strOutput += "		<tr>";
strOutput += "			<td width=\"4%\">&nbsp;</td>";
strOutput += "			<td width=\"23%\" align=\"center\" class=\"smallheading\">1 Tarih</td>";
strOutput += "			<td width=\"23%\" align=\"center\" class=\"smallheading\">2 Mesaj Türü</td>";
strOutput += "			<td width=\"23%\" align=\"center\" class=\"smallheading\">3 Mesaj No</td>";
strOutput += "			<td width=\"23%\" align=\"center\" class=\"smallheading\">4 İşlem Kodu</td>";
strOutput += "			<td width=\"4%\">&nbsp;</td>";
strOutput += "		</tr>";
strOutput += "		<tr>";
strOutput += "			<td width=\"4%\">&nbsp;</td>";
strOutput += "			<td width=\"23%\" align=\"center\" class=\"norm\">";
strOutput += "			<p align=\"center\">"+document.getElementById('ctl00_ContentPlaceHolder1_txtTarih').value+"</td>";
strOutput += "			<td width=\"23%\" align=\"center\" class=\"norm\">"+document.getElementById('ctl00_ContentPlaceHolder1_txtMesajTur').value+"</td>";
strOutput += "			<td width=\"23%\" align=\"center\" class=\"norm\">"+document.getElementById('ctl00_ContentPlaceHolder1_txtMesajNo').value+"</td>";
strOutput += "			<td width=\"23%\" align=\"center\" class=\"norm\">"+document.getElementById('ctl00_ContentPlaceHolder1_txtIslemKodu').value+"</td>";
strOutput += "			<td width=\"4%\">&nbsp;</td>";
strOutput += "		</tr>";
strOutput += "		<tr>";
strOutput += "			<td width=\"100%\" colspan=\"6\">&nbsp;</td>";
strOutput += "		</tr>";
strOutput += "	</table>";
strOutput += "	<BR>";
strOutput += "	<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\" id=\"table1\">";
strOutput += "		<tr>";
strOutput += "			<td width=\"4%\">&nbsp;</td>";
strOutput += "			<td width=\"6%\" align=\"right\" class=\"smallheading\">5</td>";
strOutput += "			<td width=\"36%\" align=\"right\" class=\"smallheading\">Veri Geçerlilik Başlangıç Tarihi :</td>";
strOutput += "			<td width=\"1%\">&nbsp;</td>";
strOutput += "			<td width=\"50%\" class=\"norm\" colspan=\"2\">"+document.getElementById('ctl00_ContentPlaceHolder1_txtVeriGecerlilikTrh').value+"</td>";
strOutput += "			<td width=\"4%\">&nbsp;</td>";
strOutput += "		</tr>";
strOutput += "		<tr>";
strOutput += "			<td width=\"4%\">&nbsp;</td>";
strOutput += "			<td width=\"6%\" align=\"right\" class=\"smallheading\">6</td>";
strOutput += "			<td width=\"36%\" align=\"right\" class=\"smallheading\">Onaylayanın TC Kimlik Numarası :</td>";
strOutput += "			<td width=\"1%\">&nbsp;</td>";
strOutput += "			<td width=\"50%\" colspan=\"2\" class=\"norm\">"+document.getElementById('ctl00_ContentPlaceHolder1_txtVeriGiren').value+"</td>";
strOutput += "			<td width=\"4%\">&nbsp;</td>";
strOutput += "		</tr>";
strOutput += "		<tr>";
strOutput += "			<td width=\"4%\">&nbsp;</td>";
strOutput += "			<td width=\"6%\" align=\"right\" class=\"smallheading\">7</td>";
strOutput += "			<td width=\"36%\" align=\"right\" class=\"smallheading\">Firma Tanımlayıcı Numarası :</td>";
strOutput += "			<td width=\"1%\">&nbsp;</td>";
strOutput += "			<td width=\"50%\" colspan=\"2\" class=\"norm\">"+document.getElementById('ctl00_ContentPlaceHolder1_txtGlobalLocationNo').value+"</td>";
strOutput += "			<td width=\"4%\">&nbsp;</td>";
strOutput += "		</tr>";
strOutput += "		<tr>";
strOutput += "			<td width=\"4%\">&nbsp;</td>";
strOutput += "			<td width=\"6%\" align=\"right\" class=\"smallheading\">8</td>";
strOutput += "			<td width=\"36%\" align=\"right\" class=\"smallheading\">Tedarikçi Firma Ticari Adı :</td>";
strOutput += "			<td width=\"1%\">&nbsp;</td>";
strOutput += "			<td width=\"50%\" colspan=\"2\" class=\"norm\">"+document.getElementById('ctl00_ContentPlaceHolder1_txtFirma').value+"</td>";
strOutput += "			<td width=\"4%\">&nbsp;</td>";
strOutput += "		</tr>";
strOutput += "		<tr>";
strOutput += "			<td width=\"4%\">&nbsp;</td>";
strOutput += "			<td width=\"6%\" align=\"right\" class=\"smallheading\">9</td>";
strOutput += "			<td width=\"36%\" align=\"right\" class=\"smallheading\">Birleşilen Firma ";
strOutput += "			Tanımlayıcı No :</td>";
strOutput += "			<td width=\"1%\">&nbsp;</td>";
strOutput += "			<td width=\"50%\" colspan=\"2\" class=\"norm\">"+document.getElementById('ctl00_ContentPlaceHolder1_txtBirlesilenFirmaTanNo').value+"</td>";
strOutput += "			<td width=\"4%\">&nbsp;</td>";
strOutput += "		</tr>";
strOutput += "		<tr>";
strOutput += "			<td width=\"4%\">&nbsp;</td>";
strOutput += "			<td width=\"6%\" align=\"right\" class=\"smallheading\">10</td>";
strOutput += "			<td width=\"36%\" align=\"right\" class=\"smallheading\">Faaliyet Alanı :</td>";
strOutput += "			<td width=\"1%\">&nbsp;</td>";
strOutput += "			<td width=\"50%\" colspan=\"2\" class=\"norm\">"+ilaccihaz+"</td>";
strOutput += "			<td width=\"4%\">&nbsp;</td>";
strOutput += "		</tr>";
strOutput += "		<tr>";
strOutput += "			<td width=\"100%\" colspan=\"7\">&nbsp;</td>";
strOutput += "		</tr>";
strOutput += "		<tr>";
strOutput += "			<td width=\"4%\">&nbsp;</td>";
strOutput += "			<td width=\"6%\" align=\"right\" class=\"smallheading\">11</td>";
strOutput += "			<td width=\"36%\" align=\"right\" class=\"smallheading\">Genel Müdürlük Adresi :</td>";
strOutput += "			<td width=\"1%\">&nbsp;</td>";
strOutput += "			<td width=\"50%\" colspan=\"2\" class=\"norm\">"+document.getElementById('ctl00_ContentPlaceHolder1_txtGenelMudAdres').value+"</td>";
strOutput += "			<td width=\"4%\">&nbsp;</td>";
strOutput += "		</tr>";
strOutput += "		<tr>";
strOutput += "			<td width=\"4%\">&nbsp;</td>";
strOutput += "			<td width=\"6%\" align=\"right\" class=\"smallheading\">&nbsp;</td>";
strOutput += "			<td width=\"36%\" align=\"right\" class=\"smallheading\">";
strOutput += "			<span style=\"width=\"80%\" class=\"desc\">Yazışmalarda kullanılacak firmanızın genel müdürlüğünün veya ana ";
strOutput += "														merkezinin açık posta adresini hiç bir alanı boş bırakmadan giriniz.<br>";
strOutput += "			Posta Kodu, İlçe ve İl bilgilerini sadece ilgili alanlara yazınız. İlçe ";
strOutput += "			kodunu/adını EK-1 den seçiniz.</span></td>";
strOutput += "			<td width=\"1%\">&nbsp;</td>";
strOutput += "			<td width=\"50%\" colspan=\"2\">";
strOutput += "				<table border=\"1px\" bordercolor=\"#808080\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\">";
strOutput += "					<tr>";
strOutput += "						<td align=\"right\" width=\"188\" class=\"smallheading\">Posta Kodu :</td>";
//strOutput += "						<td width=\"8\">&nbsp;</td>";
strOutput += "						<td class=\"norm\">&nbsp;"+document.getElementById('ctl00_ContentPlaceHolder1_txtPostaKodu').value+"</td>";
strOutput += "					</tr>";
strOutput += "					<tr>";
strOutput += "						<td align=\"right\" width=\"188\" class=\"smallheading\">İl :</td>";
//strOutput += "						<td width=\"8\">&nbsp;</td>";
strOutput += "						<td class=\"norm\">&nbsp;"+ IlAdi +"</td>";
strOutput += "					</tr>";
strOutput += "					<tr>";
strOutput += "						<td align=\"right\" width=\"188\" class=\"smallheading\">İlçe :</td>";
//strOutput += "						<td width=\"8\">&nbsp;</td>";
strOutput += "						<td class=\"norm\">&nbsp;" + IlceAdi +"</td>";
strOutput += "					</tr>";
strOutput += "				</table>";
strOutput += "			</td>";
strOutput += "			<td width=\"4%\">&nbsp;</td>";
strOutput += "		</tr>";
strOutput += "		<tr>";
strOutput += "			<td width=\"100%\" colspan=\"7\">&nbsp;</td>";
strOutput += "		</tr>";
strOutput += "		<tr>";
strOutput += "			<td width=\"4%\">&nbsp;</td>";
strOutput += "			<td width=\"6%\" align=\"right\" class=\"smallheading\">12</td>";
strOutput += "			<td width=\"36%\" align=\"right\" class=\"smallheading\">Diğer İletişim ";
strOutput += "			Bilgileri :</td>";
strOutput += "			<td width=\"1%\">&nbsp;</td>";
strOutput += "			<td width=\"50%\" colspan=\"2\" rowspan=\"2\">";
strOutput += "				<table border=\"1px\" bordercolor=\"#808080\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\">";
strOutput += "					<tr>";
strOutput += "						<td align=\"right\" width=\"188\" class=\"smallheading\">Telefon ";
strOutput += "						No :</td>";
//strOutput += "						<td width=\"8\">&nbsp;</td>";
strOutput += "						<td class=\"norm\">&nbsp;"+document.getElementById('ctl00_ContentPlaceHolder1_txtTelefonNo').value+"</td>";
strOutput += "					</tr>";
strOutput += "					<tr>";
strOutput += "						<td align=\"right\" width=\"188\" class=\"smallheading\">Telefon ";
strOutput += "						No2 :</td>";
//strOutput += "						<td width=\"8\">&nbsp;</td>";
strOutput += "						<td class=\"norm\">&nbsp;"+document.getElementById('ctl00_ContentPlaceHolder1_txtTelefonNo2').value+"</td>";
strOutput += "					</tr>";
strOutput += "					<tr>";
strOutput += "						<td align=\"right\" width=\"188\" class=\"smallheading\">Fax No :</td>";
//strOutput += "						<td width=\"8\">&nbsp;</td>";
strOutput += "						<td class=\"norm\">&nbsp;"+document.getElementById('ctl00_ContentPlaceHolder1_txtFaxNo').value+"</td>";
strOutput += "					</tr>";
strOutput += "					<tr>";
strOutput += "						<td align=\"right\" width=\"188\" class=\"smallheading\">Web Site ";
strOutput += "						Adresi :</td>";
//strOutput += "						<td width=\"8\">&nbsp;</td>";
strOutput += "						<td class=\"norm\">&nbsp;"+document.getElementById('ctl00_ContentPlaceHolder1_txtWebSiteAdr').value+"</td>";
strOutput += "					</tr>";
strOutput += "					<tr>";
strOutput += "						<td align=\"right\" width=\"188\" class=\"smallheading\">E-Posta ";
strOutput += "						Adresi :</td>";
//strOutput += "						<td width=\"8\">&nbsp;</td>";
strOutput += "						<td class=\"norm\">&nbsp;"+document.getElementById('ctl00_ContentPlaceHolder1_txtEmail').value+"</td>";
strOutput += "					</tr>";
strOutput += "				</table>";
strOutput += "			</td>";
strOutput += "			<td width=\"4%\">&nbsp;</td>";
strOutput += "		</tr>";
strOutput += "		<tr>";
strOutput += "			<td width=\"4%\">&nbsp;</td>";
strOutput += "			<td width=\"6%\" align=\"right\" class=\"smallheading\">&nbsp;</td>";
strOutput += "			<td width=\"36%\" align=\"right\" class=\"smallheading\">";
strOutput += "			<span style=\"width=\"80%\" class=\"desc\">Telefon ve faks numaralarını alan ";
strOutput += "			kodu telefon numarası şeklinde giriniz. Alan kodunun başına 0 <i>koymayınız</i>. Telefon numaraları arasında aşağıdaki örneğe uygun boşluk kullanınız.<br>";
strOutput += "			Örnek: 312 345 67 89</span></td>";
strOutput += "			<td width=\"1%\">&nbsp;</td>";
strOutput += "			<td width=\"4%\">&nbsp;</td>";
strOutput += "		</tr>";
strOutput += "		<tr>";
strOutput += "			<td width=\"100%\" colspan=\"7\">&nbsp;</td>";
strOutput += "		</tr>";
strOutput += "		<tr>";
strOutput += "			<td width=\"4%\">&nbsp;</td>";
strOutput += "			<td width=\"6%\" align=\"right\" class=\"smallheading\">13</td>";
strOutput += "			<td width=\"36%\" align=\"right\" class=\"smallheading\">Faaliyete Başladığı ";
strOutput += "			Tarih :</td>";
strOutput += "			<td width=\"1%\">&nbsp;</td>";
strOutput += "			<td width=\"50%\" colspan=\"2\" class=\"norm\">"+document.getElementById('ctl00_ContentPlaceHolder1_txtFaaliyetBasTrh').value+"</td>";
strOutput += "			<td width=\"4%\">&nbsp;</td>";
strOutput += "		</tr>";
strOutput += "		<tr>";
strOutput += "			<td width=\"4%\">&nbsp;</td>";
strOutput += "			<td width=\"6%\" align=\"right\" class=\"smallheading\">14</td>";
strOutput += "			<td width=\"36%\" align=\"right\" class=\"smallheading\">Vergi Dairesinin Adı :</td>";
strOutput += "			<td width=\"1%\">&nbsp;</td>";
strOutput += "			<td width=\"25%\" class=\"norm\">"+document.getElementById('ctl00_ContentPlaceHolder1_txtVergiDairesi').value+"</td>";
strOutput += "			<td width=\"25%\">";
strOutput += "				<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\" id=\"table1\">";
strOutput += "					<tr>";
strOutput += "						<td width=\"87\" class=\"smallheading\">15 Vergi No :</td>";
strOutput += "						<td class=\"norm\">"+document.getElementById('ctl00_ContentPlaceHolder1_txtVergiNo').value+"</td>";
strOutput += "					</table>";
strOutput += "			</td>";
strOutput += "			<td width=\"4%\">&nbsp;</td>";
strOutput += "		</tr>";
strOutput += "		<tr>";
strOutput += "			<td width=\"4%\">&nbsp;</td>";
strOutput += "			<td width=\"6%\" align=\"right\" class=\"smallheading\">16</td>";
strOutput += "			<td width=\"36%\" align=\"right\" class=\"smallheading\">Sanayi ve/veya ";
strOutput += "			Ticaret Odası Adı :</td>";
strOutput += "			<td width=\"1%\">&nbsp;</td>";
strOutput += "			<td width=\"25%\" class=\"norm\">"+document.getElementById('ctl00_ContentPlaceHolder1_txtSanayiTicaretOdasi').value+"</td>";
strOutput += "			<td width=\"25%\">";
strOutput += "				<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\" id=\"table1\">";
strOutput += "					<tr>";
strOutput += "						<td width=\"87\" class=\"smallheading\">17 Kayıt No :</td>";
strOutput += "						<td class=\"norm\">"+document.getElementById('ctl00_ContentPlaceHolder1_txtKayitNo').value+"</td>";
strOutput += "					</table>";
strOutput += "			</td>";
strOutput += "			<td width=\"4%\">&nbsp;</td>";
strOutput += "		</tr>";
strOutput += "		<tr>";
strOutput += "			<td width=\"100%\" colspan=\"7\">&nbsp;</td>";
strOutput += "		</tr>";
strOutput += "		<tr>";
strOutput += "			<td width=\"4%\">&nbsp;</td>";
strOutput += "			<td width=\"6%\" align=\"right\" class=\"smallheading\">18</td>";
strOutput += "			<td width=\"36%\" align=\"right\" class=\"smallheading\">Formun Onaylandığı ";
strOutput += "			Tarih :</td>";
strOutput += "			<td width=\"1%\">&nbsp;</td>";
strOutput += "			<td width=\"25%\" class=\"norm\">&nbsp;</td>";
strOutput += "			<td width=\"25%\">&nbsp;</td>";
strOutput += "			<td width=\"4%\">&nbsp;</td>";
strOutput += "		</tr>";
strOutput += "		<tr>";
strOutput += "			<td width=\"4%\">&nbsp;</td>";
strOutput += "			<td width=\"6%\" align=\"right\" class=\"smallheading\">19</td>";
strOutput += "			<td width=\"36%\" align=\"right\" class=\"smallheading\">Onaylayan Ad-Soyad Ve ";
strOutput += "			İmza :</td>";
strOutput += "			<td width=\"1%\">&nbsp;</td>";
strOutput += "			<td width=\"25%\" class=\"norm\">&nbsp;</td>";
strOutput += "			<td width=\"25%\">&nbsp;</td>";
strOutput += "			<td width=\"4%\">&nbsp;</td>";
strOutput += "		</tr>";
strOutput += "		<tr>";
strOutput += "			<td width=\"100%\" colspan=\"7\">&nbsp;</td>";
strOutput += "		</tr>";
strOutput += "		</table>";
strOutput += "</td>";
strOutput += "</tr>";
strOutput += "<tr>";
strOutput += "<td width=\"100%\" height=\"20%\" valign=\"bottom\">";
strOutput += "	<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\" id=\"table1\">";
strOutput += "		<tr>";
strOutput += "			<td nowrap width=\"4%\">&nbsp;</td>";
strOutput += "			<td nowrap width=\"92%\" class=\"norm\"><span class=\"smallheading\">Yardım İçin</span><br>";
strOutput += "				<span class=\"smallheading\">Telefon:</span> 312 266 29 92 <span class=\"smallheading\">Fax:</span> 312 266 29 98<br>";
strOutput += "				<span class=\"smallheading\">Yazışma Adresi:</span> Hacettepe Üniversitesi Hastaneleri, Türkiye İlaç ";
strOutput += "				Ve Tıbbi Cihaz Ulusal Bilgi Bankası, 06100<br>";
strOutput += "				Sıhhiye Ankara<br>";
strOutput += "				<span class=\"smallheading\">e-posta:</span> ubb@huap.org <span class=\"smallheading\">Web Sitesi:</span> www.huap.org.tr/ubb";
strOutput += "			</td>";
strOutput += "			<td nowrap width=\"4%\">&nbsp;</td>";
strOutput += "		</tr>";
strOutput += "		<tr>";
strOutput += "			<td colspan=\"4\">&nbsp;</td>";
strOutput += "		</tr>";
strOutput += "		<tr>";
strOutput += "			<td nowrap width=\"4%\">&nbsp;</td>";
strOutput += "			<td nowrap width=\"92%\" colspan=\"2\" class=\"norm\">";
strOutput += "				<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\" id=\"tablerevizyon\">";
strOutput += "					<tr>";
strOutput += "						<td width =\"33%\" align=\"left\" class=\"smallheading\">Form No: TITUBB-P002-F001</td>";
strOutput += "						<td width =\"34%\" align=\"center\" class=\"smallheading\">&nbsp;</td>";
strOutput += "						<td width =\"33%\" align=\"right\" class=\"smallheading\">Revizyon No: 1.1</td>";
strOutput += "					</tr>";
strOutput += "				</table>";
strOutput += "			</td>";
//strOutput += "			<td nowrap width=\"4%\">&nbsp;</td>";
//strOutput += "				<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\" id=\"tablemesajno\">";
//strOutput += "					<tr>";
//strOutput += "						<td width =\"33%\" align=\"left\" class=\"smallheading\">Mesaj No: " + document.getElementById('ctl00_ContentPlaceHolder1_HiddenFieldMesajNo').value + "</td>";
//strOutput += "					</tr>";
//strOutput += "				</table>";
//strOutput += "			</td>";
strOutput += "			<td nowrap width=\"4%\">&nbsp;</td>";
strOutput += "		</tr>";
strOutput += "	</table>";
strOutput += "</td>";
strOutput += "</tr>";
strOutput += "</table>";


//strOutput += "						<td width =\"33%\" align=\"left\" class=\"smallheading\">Mesaj No:" + document.getElementById('HiddenFieldMesajNo').value + "</td>";				
    var i = 0;
    while (i < NoOfCopies)
    {
	    strFullOutput += strOutput;
	    i++;
	    if (i != NoOfCopies)
		    strFullOutput += "<div style='page-break-after: always'></div>"; // page break
    }

    strFullOutput += "<script language=javaScript>";
    strFullOutput += " if( window.print ) window.print();\<\/script\>";
    strFullOutput += "</body>";
    strFullOutput += "</html>";

    wndPreview.document.open();
    wndPreview.document.write( strFullOutput );
    wndPreview.document.close();
}



function cmdPrintKullanici_Click()
{
	var printSize = 7;
    var NoOfCopies = 1; 
	var fntSize = 10;
	var paperWidthScale = printSize;
	var wndPreview = window.open( "about:blank", "_blank", "directories=no, location=no, menubar=no, status=no, toolbar=no, height=500, width=700" );
	var frmData = document.getElementById( "Form1" );
	var strFullOutput = "";
	var strOutput = "";
	var paperWidth = 80 + (paperWidthScale * 15);
				
strFullOutput += "<html>";

strFullOutput += "<head>";
strFullOutput += "<meta http-equiv=\"Content-Language\" content=\"tr\">";
strFullOutput += "<meta http-equiv=\"Content-Type\" content=\"text/html; charset=windows-1254\">";
strFullOutput += "<title>Tedarikçi Firma Kullanıcı Kayıt Formu</title>";
strFullOutput += "<style type=\"text/css\">";

strFullOutput += "	.bigheading";
strFullOutput += "	{";
strFullOutput += "		font-weight:bold;font-family:trebuchet;font-size:14pt;";
strFullOutput += "	}";
	
strFullOutput += "	.bigheadingtight";
strFullOutput += "	{";
strFullOutput += "		font-weight:bold;font-family:trebuchet;font-size:12pt;";
strFullOutput += "	}";

strFullOutput += "	.smallheading";
strFullOutput += "	{";
strFullOutput += "		font-weight:bold;font-family:trebuchet;font-size:"+fntSize+"pt;";
strFullOutput += "	}";
	
strFullOutput += "	.desc";
strFullOutput += "	{";
strFullOutput += "		font-weight: normal;";
strFullOutput += "		font-size: "+fntSize+"px;";
strFullOutput += "		width: 80%;";
strFullOutput += "		color: gray;";
strFullOutput += "		font-family: Microsoft Sans Serif,Arial,Verdana;";
strFullOutput += "	}";
	
strFullOutput += "	.norm";
strFullOutput += "	{";
strFullOutput += "		font-family:trebuchet;font-size:"+fntSize+"pt;";
strFullOutput += "	}";
strFullOutput += "</style>";
strFullOutput += "</head>";

strFullOutput += "<body>";

strOutput += "<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width="+paperWidth+"mm id=\"table0\" height=\"100%\">";
strOutput += "<tr>";
strOutput += "<td nowrap width=\"100%\" height=\"80%\">";
strOutput += "	<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\" id=\"table0\">";
strOutput += "		<tr>";
strOutput += "			<td nowrap width=\"5%\">&nbsp;</td>";
strOutput += "			<td nowrap width=\"15%\" align=\"center\"><img border=\"0\" src=\"Images\\logo.jpg\" width=\"112\" height=\"106\"></td>";
strOutput += "			<td nowrap width=\"80%\" align=\"center\" class=\"bigheadingtight\">T.C.<BR>SAĞLIK BAKANLIĞI<BR>TÜRKİYE İLAÇ VE TIBBİ CİHAZ ULUSAL BİLGİ BANKASI</td>";
strOutput += "		</tr>";
strOutput += "	</table>";
strOutput += "	<BR>";
strOutput += "	<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\" id=\"table1\">";
strOutput += "		<tr>";
strOutput += "			<td colspan=\"6\" class=\"bigheading\" align=\"center\">TEDARİKÇİ FİRMA KULLANICI KAYIT FORMU</td>";
strOutput += "		</tr>";
strOutput += "		<tr>";
strOutput += "			<td nowrap width=\"100%\" colspan=\"6\">&nbsp;</td>";
strOutput += "		</tr>";
strOutput += "		<tr>";
strOutput += "			<td width=\"4%\">&nbsp;</td>";
strOutput += "			<td width=\"23%\" align=\"center\" class=\"smallheading\">1 Tarih</td>";
strOutput += "			<td width=\"23%\" align=\"center\" class=\"smallheading\">2 Mesaj Türü</td>";
strOutput += "			<td width=\"23%\" align=\"center\" class=\"smallheading\">3 Mesaj No</td>";
strOutput += "			<td width=\"23%\" align=\"center\" class=\"smallheading\">4 İşlem Kodu</td>";
strOutput += "			<td width=\"4%\">&nbsp;</td>";
strOutput += "		</tr>";
strOutput += "		<tr>";
strOutput += "			<td width=\"4%\">&nbsp;</td>";
strOutput += "			<td width=\"23%\" align=\"center\" class=\"norm\">";
strOutput += "			<p align=\"center\">"+document.getElementById('ctl00_ContentPlaceHolder1_txtTarih').value+"</td>";
strOutput += "			<td width=\"23%\" align=\"center\" class=\"norm\">"+document.getElementById('ctl00_ContentPlaceHolder1_txtMesajTur').value+"</td>";
strOutput += "			<td width=\"23%\" align=\"center\" class=\"norm\">"+document.getElementById('ctl00_ContentPlaceHolder1_txtMesajNo').value+"</td>";
strOutput += "			<td width=\"23%\" align=\"center\" class=\"norm\">"+document.getElementById('ctl00_ContentPlaceHolder1_txtIslemKodu').value+"</td>";
strOutput += "			<td width=\"4%\">&nbsp;</td>";
strOutput += "		</tr>";
strOutput += "		<tr>";
strOutput += "			<td width=\"100%\" colspan=\"6\">&nbsp;</td>";
strOutput += "		</tr>";
strOutput += "	</table>";
strOutput += "	<BR>";
strOutput += "	<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\" id=\"table1\">";
strOutput += "		<tr>";
strOutput += "			<td width=\"4%\">&nbsp;</td>";
strOutput += "			<td width=\"6%\" align=\"right\" class=\"smallheading\">5</td>";
strOutput += "			<td width=\"36%\" align=\"right\" class=\"smallheading\">Veri Geçerlilik Başlangıç Tarihi :</td>";
strOutput += "			<td width=\"1%\">&nbsp;</td>";
strOutput += "			<td width=\"50%\" class=\"norm\" colspan=\"2\">"+document.getElementById('ctl00_ContentPlaceHolder1_txtVeriGecerlilikTrh').value+"</td>";
strOutput += "			<td width=\"4%\">&nbsp;</td>";
strOutput += "		</tr>";
strOutput += "		<tr>";
strOutput += "			<td width=\"4%\">&nbsp;</td>";
strOutput += "			<td width=\"6%\" align=\"right\" class=\"smallheading\">6</td>";
strOutput += "			<td width=\"36%\" align=\"right\" class=\"smallheading\">Onaylayanın TC Kimlik Numarası :</td>";
strOutput += "			<td width=\"1%\">&nbsp;</td>";
strOutput += "			<td width=\"50%\" colspan=\"2\" class=\"norm\">"+document.getElementById('ctl00_ContentPlaceHolder1_txtOnaylayan').value+"</td>";
strOutput += "			<td width=\"4%\">&nbsp;</td>";
strOutput += "		</tr>";
strOutput += "		<tr>";
strOutput += "			<td width=\"4%\">&nbsp;</td>";
strOutput += "			<td width=\"6%\" align=\"right\" class=\"smallheading\">7</td>";
strOutput += "			<td width=\"36%\" align=\"right\" class=\"smallheading\">Firma Tanımlayıcı Numarası :</td>";
strOutput += "			<td width=\"1%\">&nbsp;</td>";
strOutput += "			<td width=\"50%\" colspan=\"2\" class=\"norm\">"+document.getElementById('ctl00_ContentPlaceHolder1_txtFirmaTanNo').value+"</td>";
strOutput += "			<td width=\"4%\">&nbsp;</td>";
strOutput += "		</tr>";
strOutput += "		<tr>";
strOutput += "			<td width=\"4%\">&nbsp;</td>";
strOutput += "			<td width=\"6%\" align=\"right\" class=\"smallheading\">8</td>";
strOutput += "			<td width=\"36%\" align=\"right\" class=\"smallheading\">Firma Ticari Adı :</td>";
strOutput += "			<td width=\"1%\">&nbsp;</td>";
strOutput += "			<td width=\"50%\" colspan=\"2\" class=\"norm\">"+document.getElementById('ctl00_ContentPlaceHolder1_txtFirma').value+"</td>";
strOutput += "			<td width=\"4%\">&nbsp;</td>";
strOutput += "		</tr>";
strOutput += "		<tr>";
strOutput += "			<td width=\"100%\" colspan=\"7\">&nbsp;</td>";
strOutput += "		</tr>";
strOutput += "		<tr>";
strOutput += "			<td width=\"4%\">&nbsp;</td>";
strOutput += "			<td width=\"6%\" align=\"right\" class=\"smallheading\">9</td>";
strOutput += "			<td width=\"36%\" align=\"right\" class=\"smallheading\">Kullanıcı TC Kimlik No :</td>";
strOutput += "			<td width=\"1%\">&nbsp;</td>";
strOutput += "			<td width=\"50%\" colspan=\"2\" class=\"norm\">"+document.getElementById('ctl00_ContentPlaceHolder1_txtTCKimlik').value+"</td>";
strOutput += "			<td width=\"4%\">&nbsp;</td>";
strOutput += "		</tr>";
strOutput += "		<tr>";
strOutput += "			<td width=\"4%\">&nbsp;</td>";
strOutput += "			<td width=\"6%\" align=\"right\" class=\"smallheading\">10</td>";
strOutput += "			<td width=\"36%\" align=\"right\" class=\"smallheading\">Adı Soyadı :</td>";
strOutput += "			<td width=\"1%\">&nbsp;</td>";
strOutput += "			<td width=\"50%\" colspan=\"2\" class=\"norm\">"+document.getElementById('ctl00_ContentPlaceHolder1_txtAdSoyad').value+"</td>";
strOutput += "			<td width=\"4%\">&nbsp;</td>";
strOutput += "		</tr>";
strOutput += "		<tr>";
strOutput += "			<td width=\"100%\" colspan=\"7\">&nbsp;</td>";
strOutput += "		</tr>";
strOutput += "		<tr>";
strOutput += "			<td width=\"4%\">&nbsp;</td>";
strOutput += "			<td width=\"6%\" align=\"right\" class=\"smallheading\">11</td>";
strOutput += "			<td width=\"36%\" align=\"right\" class=\"smallheading\">İletişim Bilgileri :</td>";
strOutput += "			<td width=\"1%\">&nbsp;</td>";
strOutput += "			<td width=\"50%\" colspan=\"2\" rowspan=\"2\">";
strOutput += "				<table border=\"1px\" bordercolor=\"#808080\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\">";
strOutput += "					<tr>";
strOutput += "						<td align=\"right\" width=\"188\" class=\"smallheading\">Telefon ";
strOutput += "						No&nbsp;:&nbsp;</td>";
//strOutput += "						<td width=\"8\">&nbsp;</td>";
strOutput += "						<td class=\"norm\">"+document.getElementById('ctl00_ContentPlaceHolder1_txtTelefonNo').value+"</td>";
strOutput += "					</tr>";
strOutput += "					<tr>";
strOutput += "						<td align=\"right\" width=\"188\" class=\"smallheading\">Telefon ";
strOutput += "						No2&nbsp;:&nbsp;</td>";
//strOutput += "						<td width=\"8\">&nbsp;</td>";
strOutput += "						<td class=\"norm\">"+document.getElementById('ctl00_ContentPlaceHolder1_txtTelefonNo2').value+"</td>";
strOutput += "					</tr>";
strOutput += "					<tr>";
strOutput += "						<td align=\"right\" width=\"188\" class=\"smallheading\">Fax No&nbsp;:&nbsp;</td>";
//strOutput += "						<td width=\"8\">&nbsp;</td>";
strOutput += "						<td class=\"norm\">"+document.getElementById('ctl00_ContentPlaceHolder1_txtFaxNo').value+"</td>";
strOutput += "					</tr>";
strOutput += "					<tr>";
strOutput += "						<td align=\"right\" width=\"188\" class=\"smallheading\">E-Posta ";
strOutput += "						Adresi&nbsp;:&nbsp;</td>";
//strOutput += "						<td width=\"8\">&nbsp;</td>";
strOutput += "						<td class=\"norm\">"+document.getElementById('ctl00_ContentPlaceHolder1_txtEmail').value+"</td>";
strOutput += "					</tr>";
strOutput += "				</table>";
strOutput += "			</td>";
strOutput += "			<td width=\"4%\">&nbsp;</td>";
strOutput += "		</tr>";

strOutput += "		<tr>";
strOutput += "			<td width=\"4%\">&nbsp;</td>";
strOutput += "			<td width=\"6%\" align=\"right\" class=\"smallheading\">&nbsp;</td>";
strOutput += "			<td width=\"36%\" align=\"right\" class=\"smallheading\">";
strOutput += "			<span style=\"width=\"80%\" class=\"desc\">Telefon ve faks numaralarını alan ";
strOutput += "			kodu telefon numarası şeklinde giriniz. Alan kodunun başına 0 <i>koymayınız</i>. Telefon numaraları arasında aşağıdaki örneğe uygun boşluk kullanınız.<br>";
strOutput += "			Örnek: 312 345 67 89</span></td>";
strOutput += "			<td width=\"1%\">&nbsp;</td>";
strOutput += "			<td width=\"4%\">&nbsp;</td>";
strOutput += "		</tr>";

strOutput += "		<tr>";
strOutput += "			<td width=\"100%\" colspan=\"7\">&nbsp;</td>";
strOutput += "		</tr>";
strOutput += "		<tr>";
strOutput += "			<td width=\"4%\">&nbsp;</td>";
strOutput += "			<td width=\"6%\" align=\"right\" class=\"smallheading\">12</td>";
strOutput += "			<td width=\"36%\" align=\"right\" class=\"smallheading\">Rol / Görev :</td>";
strOutput += "			<td width=\"1%\">&nbsp;</td>";
strOutput += "			<td width=\"50%\" colspan=\"2\" rowspan=\"2\">";
strOutput += "				<table border=\"1px\" bordercolor=\"#808080\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\">";
strOutput += "					<tr>";
strOutput += "						<td align=\"right\" width=\"128\" class=\"smallheading\">Firma ";
strOutput += "						Yetkilisi&nbsp;:&nbsp;</td>";
strOutput += "						<td width=\"10\" class=\"norm\"><input type=\"checkbox\" disabled=\"true\"" + ((document.getElementById('ctl00_ContentPlaceHolder1_cbFirmaYetkili').checked) ? " checked=\"true\"" : "") + "></td>";
strOutput += "						<td rowSpan=\"4\" align=\"center\" class=\"smallheading\">TÜM TEDARİKÇİLER İÇİN</td>";
strOutput += "					</tr>";
strOutput += "					<tr>";
strOutput += "						<td align=\"right\" width=\"128\" class=\"smallheading\">Sistem ";
strOutput += "						Kullanıcısı&nbsp;:&nbsp;</td>";
strOutput += "						<td class=\"norm\"><input type=\"checkbox\" disabled=\"true\"" + ((document.getElementById('ctl00_ContentPlaceHolder1_cbSistemKullanici').checked) ? " checked=\"true\"" : "") + "></td>";
strOutput += "					</tr>";
strOutput += "					<tr>";
strOutput += "						<td align=\"right\" width=\"128\" class=\"smallheading\">Kalite Kontrol Sorumlusu&nbsp;:&nbsp;</td>";
strOutput += "						<td class=\"norm\"><input type=\"checkbox\" disabled=\"true\"" + ((document.getElementById('ctl00_ContentPlaceHolder1_cbKaliteKontrol').checked) ? " checked=\"true\"" : "") + "></td>";
strOutput += "					</tr>";
strOutput += "					<tr>";
strOutput += "						<td align=\"right\" width=\"128\" class=\"smallheading\">Sadece Görme Yetkisi&nbsp;:&nbsp;</td>";
strOutput += "						<td class=\"norm\"><input type=\"checkbox\" disabled=\"true\"" + ((document.getElementById('ctl00_ContentPlaceHolder1_cbGormeYetkisi').checked) ? " checked=\"true\"" : "") + "></td>";
strOutput += "					</tr>";

//strOutput += "					<tr>";
//strOutput += "						<td colspan=\"4\">&nbsp;</td>";
//strOutput += "					</tr>";

strOutput += "					<tr>";
strOutput += "						<td align=\"right\" width=\"128\" class=\"smallheading\">Olumsuz Vaka Bildirim Sorumlusu&nbsp;:&nbsp;</td>";
strOutput += "						<td class=\"norm\"><input type=\"checkbox\" disabled=\"true\"" + ((document.getElementById('ctl00_ContentPlaceHolder1_cbOlumsuzVaka').checked) ? " checked=\"true\"" : "") + "></td>";
strOutput += "						<td rowSpan=\"2\" align=\"center\" class=\"smallheading\">TIBBİ CİHAZ FİRMALARI İÇİN</td>";
strOutput += "					</tr>";
strOutput += "					<tr>";
strOutput += "						<td align=\"right\" width=\"128\" class=\"smallheading\">Erken Uyarı Görevlisi&nbsp;:&nbsp;</td>";
strOutput += "						<td class=\"norm\"><input type=\"checkbox\" disabled=\"true\"" + ((document.getElementById('ctl00_ContentPlaceHolder1_cbErkenUyari').checked) ? " checked=\"true\"" : "") + "></td>";
strOutput += "					</tr>";

//strOutput += "					<tr>";
//strOutput += "						<td colspan=\"4\">&nbsp;</td>";
//strOutput += "					</tr>";

strOutput += "					<tr>";
strOutput += "						<td align=\"right\" width=\"128\" class=\"smallheading\">Yan Etki Bildirim Sorumlusu&nbsp;:&nbsp;</td>";
strOutput += "						<td class=\"norm\"><input type=\"checkbox\" disabled=\"true\"" + ((document.getElementById('ctl00_ContentPlaceHolder1_cbYanEtki').checked) ? " checked=\"true\"" : "") + "></td>";
strOutput += "						<td rowSpan=\"2\" align=\"center\" class=\"smallheading\">İLAÇ FİRMALARI İÇİN</td>";
strOutput += "					</tr>";
strOutput += "					<tr>";
strOutput += "						<td align=\"right\" width=\"128\" class=\"smallheading\">Ruhsatlandırma Sorumlusu&nbsp;:&nbsp;</td>";
strOutput += "						<td class=\"norm\"><input type=\"checkbox\" disabled=\"true\"" + ((document.getElementById('ctl00_ContentPlaceHolder1_cbRuhsatlandirma').checked) ? " checked=\"true\"" : "") + "></td>";
strOutput += "					</tr>";


strOutput += "				</table>";
strOutput += "			</td>";
strOutput += "			<td width=\"4%\">&nbsp;</td>";
strOutput += "		</tr>";

strOutput += "		<tr>";
strOutput += "			<td width=\"4%\">&nbsp;</td>";
strOutput += "			<td width=\"6%\" align=\"right\" class=\"smallheading\">&nbsp;</td>";
strOutput += "			<td width=\"36%\" valign=\"top\" align=\"right\" class=\"smallheading\">";
strOutput += "			<span style=\"width=\"80%\" class=\"desc\">Rolü \"Firma Yetkilisi\" olan kişinin firma adına imza yetkisi olmalıdır.<br>";
strOutput += "			Bir kişiye birden fazla rol atanabilir.<br>Her rol için en az bir kişi adı bildirilmelidir.<br>";
strOutput += "			Kalite kontrol sorumlusu tıbbi cihaz üreticileri<br>ve ilaç tedarikçileri tarafından bildirilecektir.</span></td>";
strOutput += "			<td width=\"1%\">&nbsp;</td>";
strOutput += "			<td width=\"4%\">&nbsp;</td>";
strOutput += "		</tr>";

strOutput += "		<tr>";
strOutput += "			<td width=\"100%\" colspan=\"7\">&nbsp;</td>";
strOutput += "		</tr>";
strOutput += "		</table>";
strOutput += "</td>";

strOutput += "</tr>";

strOutput += "<tr>";
strOutput += "<td width=\"100%\" height=\"20%\" valign=\"bottom\">";
strOutput += "	<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\" id=\"table1\">";
strOutput += "		<tr>";
strOutput += "			<td width=\"4%\">&nbsp;</td>";
strOutput += "			<td width=\"6%\" align=\"right\" class=\"smallheading\">13</td>";
strOutput += "			<td width=\"36%\" align=\"right\" class=\"smallheading\">Formun Onaylandığı Tarih : </td>";
strOutput += "			<td width=\"1%\">&nbsp;</td>";
strOutput += "			<td width=\"50%\" class=\"norm\" colspan=\"2\"></td>";
strOutput += "			<td width=\"4%\">&nbsp;</td>";
strOutput += "		</tr>";
strOutput += "		<tr>";
strOutput += "			<td width=\"4%\">&nbsp;</td>";
strOutput += "			<td width=\"6%\" align=\"right\" class=\"smallheading\">14</td>";
strOutput += "			<td width=\"36%\" align=\"right\" class=\"smallheading\">Onaylayan Ad-Soyad Ve İmza : </td>";
strOutput += "			<td width=\"1%\">&nbsp;</td>";
strOutput += "			<td width=\"50%\" class=\"norm\" colspan=\"2\"></td>";
strOutput += "			<td width=\"4%\">&nbsp;</td>";
strOutput += "		</tr>";

strOutput += " </table>";
strOutput += "</tr>";
strOutput += "<tr>";
strOutput += "	<td width=\"100%\" colspan=\"7\">&nbsp;</td>";
strOutput += "</tr>";

strOutput += "<tr>";
strOutput += "<td width=\"100%\" height=\"20%\" valign=\"bottom\">";
strOutput += "	<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\" id=\"table1\">";
strOutput += "		<tr>";
strOutput += "			<td nowrap width=\"4%\">&nbsp;</td>";
strOutput += "			<td nowrap width=\"92%\" class=\"norm\"><span class=\"smallheading\">Yardım İçin</span><br>";
strOutput += "				<span class=\"smallheading\">Telefon:</span> 312 266 29 92 <span class=\"smallheading\">Fax:</span> 312 266 29 98<br>";
strOutput += "				<span class=\"smallheading\">Yazışma Adresi:</span> Hacettepe Üniversitesi Hastaneleri, Türkiye İlaç ";
strOutput += "				Ve Tıbbi Cihaz Ulusal Bilgi Bankası, 06100<br>";
strOutput += "				Sıhhiye Ankara<br>";
strOutput += "				<span class=\"smallheading\">e-posta:</span> ubb@huap.org <span class=\"smallheading\">Web Sitesi:</span> www.huap.org.tr/ubb";
strOutput += "			</td>";
strOutput += "			<td nowrap width=\"4%\">&nbsp;</td>";
strOutput += "		</tr>";
strOutput += "		<tr>";
strOutput += "			<td colspan=\"4\">&nbsp;</td>";
strOutput += "		</tr>";
strOutput += "		<tr>";
strOutput += "			<td nowrap width=\"4%\">&nbsp;</td>";
strOutput += "			<td nowrap width=\"92%\" class=\"norm\">";
strOutput += "				<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\" id=\"tablerevizyon\">";
strOutput += "					<tr>";
strOutput += "						<td width =\"33%\" align=\"left\" class=\"smallheading\">Form No: TITUBB-P002-F002</td>";
strOutput += "						<td width =\"34%\" align=\"center\" class=\"smallheading\">&nbsp;</td>";
strOutput += "						<td width =\"33%\" align=\"right\" class=\"smallheading\">Revizyon No: 1.2</td>";
strOutput += "					</tr>";
strOutput += "				</table>";
strOutput += "			</td>";
//strOutput += "			<td nowrap width=\"4%\">&nbsp;</td>";
//strOutput += "				<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\" id=\"tablemesajno\">";
//strOutput += "					<tr>";
//strOutput += "						<td width =\"33%\" align=\"left\" class=\"smallheading\">Mesaj No: "+document.getElementById('ctl00_ContentPlaceHolder1_HiddenFieldMesajNo').value+"</td>";
//strOutput += "					</tr>";
//strOutput += "				</table>";
//strOutput += "			</td>";
strOutput += "			<td nowrap width=\"4%\">&nbsp;</td>";
strOutput += "		</tr>";
strOutput += "	</table>";
strOutput += "</td>";
strOutput += "</tr>";
strOutput += "</table>";


				
	var i = 0;
	while (i < NoOfCopies)
	{
		strFullOutput += strOutput;
		i++;
		if (i != NoOfCopies)
			strFullOutput += "<div style='page-break-after: always'></div>"; // page break
	}
	
	strFullOutput += "<script language=javaScript>";
	strFullOutput += "if( window.print ) window.print();\<\/script\>";
	strFullOutput += "</body>";
	strFullOutput += "</html>";
	
	wndPreview.document.open();
	wndPreview.document.write( strFullOutput );
	wndPreview.document.close();
}


function cmdPrintUrun_Click()
{
	var printSize = 7;
    var NoOfCopies = 1; 
	var fntSize = 10;
	//var fntSize = 8;
	var paperWidthScale = printSize;
	var wndPreview = window.open( "about:blank", "_blank", "directories=no, location=no, menubar=no, status=no, toolbar=no, height=1000, width=700" );
	var frmData = document.getElementById( "Form1" );
	var strFullOutput = "";
	var strOutput = "";
	var paperWidth = 80 + (paperWidthScale * 15);

				
strFullOutput += "<html>";

strFullOutput += "<head>";
strFullOutput += "<meta http-equiv=\"Content-Language\" content=\"tr\">";
strFullOutput += "<meta http-equiv=\"Content-Type\" content=\"text/html; charset=windows-1254\">";
strFullOutput += "<title>İlaç ve Tıbbi Cihaz Tanımlama Formu PRICAT</title>";
strFullOutput += "<style type=\"text/css\">";

strFullOutput += "	.bigheading";
strFullOutput += "	{";
strFullOutput += "		font-weight:bold;font-family:trebuchet;font-size:14pt;";
strFullOutput += "	}";
	
strFullOutput += "	.bigheadingtight";
strFullOutput += "	{";
strFullOutput += "		font-weight:bold;font-family:trebuchet;font-size:12pt;";
strFullOutput += "	}";

strFullOutput += "	.smallheading";
strFullOutput += "	{";
strFullOutput += "		font-weight:bold;font-family:trebuchet;font-size:"+fntSize+"pt;";
strFullOutput += "	}";
	
strFullOutput += "	.desc";
strFullOutput += "	{";
strFullOutput += "		font-weight: normal;";
strFullOutput += "		font-size: "+fntSize+"px;";
strFullOutput += "		width: 80%;";
strFullOutput += "		color: gray;";
strFullOutput += "		font-family: Microsoft Sans Serif,Arial,Verdana;";
strFullOutput += "	}";
	
strFullOutput += "	.norm";
strFullOutput += "	{";
strFullOutput += "		font-family:trebuchet;font-size:"+fntSize+"pt;";
strFullOutput += "	}";
strFullOutput += "</style>";
strFullOutput += "</head>";

strFullOutput += "<body>";

strOutput += "<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width="+paperWidth+"mm id=\"table0\" height=\"100%\">";
strOutput += "<tr>";
strOutput += "<td nowrap width=\"100%\" height=\"80%\">";
strOutput += "	<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\" id=\"table0\">";
strOutput += "		<tr>";
strOutput += "			<td nowrap width=\"5%\">&nbsp;</td>";
strOutput += "			<td nowrap width=\"15%\" align=\"center\"><img border=\"0\" src=\"Images\\logo.jpg\" width=\"112\" height=\"106\"></td>";
strOutput += "			<td nowrap width=\"80%\" align=\"center\" class=\"bigheadingtight\">T.C.<BR>SAĞLIK BAKANLIĞI<BR>TÜRKİYE İLAÇ VE TIBBİ CİHAZ ULUSAL BİLGİ BANKASI</td>";
strOutput += "		</tr>";
strOutput += "	</table>";
strOutput += "	<BR>";
strOutput += "	<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\" id=\"table1\">";
strOutput += "		<tr>";
strOutput += "			<td colspan=\"6\" class=\"bigheading\" align=\"center\">İLAÇ VE TIBBİ CİHAZ TANIMLAMA FORMU PRICAT</td>";
strOutput += "		</tr>";
strOutput += "		<tr>";
strOutput += "			<td nowrap width=\"100%\" colspan=\"6\">&nbsp;</td>";
strOutput += "		</tr>";
strOutput += "		<tr>";
strOutput += "			<td width=\"4%\">&nbsp;</td>";
strOutput += "			<td width=\"23%\" align=\"center\" class=\"smallheading\">1 Tarih</td>";
strOutput += "			<td width=\"23%\" align=\"center\" class=\"smallheading\">2 Mesaj Türü</td>";
strOutput += "			<td width=\"23%\" align=\"center\" class=\"smallheading\">3 Mesaj No</td>";
strOutput += "			<td width=\"23%\" align=\"center\" class=\"smallheading\">4 İşlem Kodu</td>";
strOutput += "			<td width=\"4%\">&nbsp;</td>";
strOutput += "		</tr>";
strOutput += "		<tr>";
strOutput += "			<td width=\"4%\">&nbsp;</td>";
strOutput += "			<td width=\"23%\" align=\"center\" class=\"norm\">";
strOutput += "			<p align=\"center\">"+document.getElementById('ctl00_ContentPlaceHolder1_txtTarih').value+"</td>";
strOutput += "			<td width=\"23%\" align=\"center\" class=\"norm\">"+document.getElementById('ctl00_ContentPlaceHolder1_txtMesajTur').value+"</td>";
strOutput += "			<td width=\"23%\" align=\"center\" class=\"norm\">"+document.getElementById('ctl00_ContentPlaceHolder1_txtMesajNo').value+"</td>";
strOutput += "			<td width=\"23%\" align=\"center\" class=\"norm\">"+document.getElementById('ctl00_ContentPlaceHolder1_txtIslemKodu').value+"</td>";
strOutput += "			<td width=\"4%\">&nbsp;</td>";
strOutput += "		</tr>";


strOutput += "	</table>";
strOutput += "	<BR>";
strOutput += "	<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\" id=\"table1\">";
strOutput += "		<tr>";
strOutput += "			<td width=\"4%\">&nbsp;</td>";
strOutput += "			<td width=\"6%\" align=\"right\" class=\"smallheading\">5</td>";
strOutput += "			<td width=\"46%\" align=\"right\" class=\"smallheading\">Veri Geçerlilik Başlangıç Tarihi :</td>";
strOutput += "			<td width=\"1%\">&nbsp;</td>";
strOutput += "			<td width=\"40%\" class=\"norm\" colspan=\"2\">"+document.getElementById('ctl00_ContentPlaceHolder1_txtVeriGecerlilikTrh').value+"</td>";
strOutput += "			<td width=\"4%\">&nbsp;</td>";
strOutput += "		</tr>";
strOutput += "		<tr>";
strOutput += "			<td width=\"4%\">&nbsp;</td>";
strOutput += "			<td width=\"6%\" align=\"right\" class=\"smallheading\">6</td>";
strOutput += "			<td width=\"46%\" align=\"right\" class=\"smallheading\" >Veriyi Giren Kişinin TC Kimlik Numarası :</td>";
strOutput += "			<td width=\"1%\">&nbsp;</td>";
strOutput += "			<td width=\"40%\" colspan=\"2\" class=\"norm\" style=\"width: 130px\">"+document.getElementById('ctl00_ContentPlaceHolder1_txtVeriGiren').value+"</td>";
strOutput += "			<td width=\"4%\">&nbsp;</td>";
strOutput += "		</tr>";
strOutput += "		<tr>";
strOutput += "			<td width=\"4%\">&nbsp;</td>";
strOutput += "			<td width=\"6%\" align=\"right\" class=\"smallheading\">7</td>";
strOutput += "			<td width=\"46%\" align=\"right\" class=\"smallheading\">Firma  Numarası :</td>";
strOutput += "			<td width=\"1%\">&nbsp;</td>";
strOutput += "			<td width=\"40%\" colspan=\"2\" class=\"norm\">"+document.getElementById('ctl00_ContentPlaceHolder1_txtGlobalLocationNo').value+"</td>";
strOutput += "			<td width=\"4%\">&nbsp;</td>";
strOutput += "		</tr>";
strOutput += "		<tr>";
strOutput += "			<td width=\"4%\">&nbsp;</td>";
strOutput += "			<td width=\"6%\" align=\"right\" class=\"smallheading\">8</td>";
strOutput += "			<td width=\"46%\" align=\"right\" class=\"smallheading\">Firma Ticari Adı :</td>";
strOutput += "			<td width=\"1%\">&nbsp;</td>";
strOutput += "			<td width=\"40%\" colspan=\"2\" class=\"norm\">"+document.getElementById('ctl00_ContentPlaceHolder1_txtFirma').value+"</td>";
strOutput += "			<td width=\"4%\">&nbsp;</td>";
strOutput += "		</tr>";
strOutput += "		<tr>";
strOutput += "			<td width=\"100%\" colspan=\"7\">&nbsp;</td>";
strOutput += "		</tr>";
strOutput += "	</table>";

strOutput += "	<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\" id=\"table1\">";
strOutput += "		<tr>";
strOutput += "		    <td colspan=\"3\" style=\"height: 3px; text-align: left;\">";
strOutput += "		        <table>"
strOutput += "		            <tr>"
strOutput += "				        <td class=\"smallheading\" style=\"width: 120px\">";
strOutput += "		                    <strong>9. Ürün Numarası:</strong>";
strOutput += "				        </td>";
strOutput += "				        <td class=\"norm\" style=\"width: 60px\">";
strOutput += document.getElementById('ctl00_ContentPlaceHolder1_txtUrunNo').value;	
strOutput += "		                </td>";
strOutput += "		                <td class=\"smallheading\" style=\"width: 130px\">"
strOutput += "		                    <strong>10. Numaranın Türü:</strong></td>";

var cmbNoTur = document.getElementById('ctl00_ContentPlaceHolder1_cmbNoTur');
var NoTur = cmbNoTur.options[cmbNoTur.selectedIndex].text;

strOutput += "		                <td class=\"norm\"   style=\"width: 50px\">";
strOutput += NoTur;	
strOutput += "		                </td>";
strOutput += "		                <td class=\"smallheading\" style=\"width: 130px\">";
strOutput += "		                        <strong>11. Orjinal Ürün No:</strong>";
strOutput += "		                </td>";
strOutput += "		                <td class=\"norm\"   style=\"width: 90px\">";
strOutput += document.getElementById('ctl00_ContentPlaceHolder1_txtOrjUrunNo').value;	            
strOutput += "		                </td>";
strOutput += "		            </tr>";
strOutput += "		        </table>";
strOutput += "		     </td>";
strOutput += "		</tr>";


strOutput += "		<tr>";
strOutput += "			<td colspan=\"3\" style=\"height: 31px; text-align: left;\">";
strOutput += "		        <table>";
strOutput += "		            <td class=\"smallheading\"  style=\"width: 90px\">";
strOutput += "		                <strong>12. Etiket Adı:</strong>";
strOutput += "		            </td>";
strOutput += "		            <td class=\"norm\" style=\"width: 150px\">";
strOutput += document.getElementById('ctl00_ContentPlaceHolder1_txtEtiketAd').value;
strOutput += "		            </td>";
strOutput += "		        </table>";
strOutput += "		    </td>";
strOutput += "		</tr>";


strOutput += "		<tr>";
strOutput += "			<td colspan=\"3\" style=\"height: 27px; text-align: left;\">";
strOutput += "			    <table>";
strOutput += "			        <tr>";
strOutput += "			            <td class=\"smallheading\"  style=\"width: 90px\">";
strOutput += "		                    <strong>13. Marka Adı:</strong>";
strOutput += "		                </td>";
strOutput += "			            <td class=\"norm\"  style=\"width: 110px\">";
strOutput += document.getElementById('ctl00_ContentPlaceHolder1_txtMarkaAd').value;
strOutput += "		                </td>";
strOutput += "		                <td class=\"smallheading\"  style=\"width: 220px\">";
strOutput += "		                    <strong>14. Tedarikçi Ürün Dahili Referansı:</strong>";
strOutput += "		                </td>";
strOutput += "		                <td class=\"norm\"   style=\"width: 50px\">";
strOutput += document.getElementById('ctl00_ContentPlaceHolder1_txtDahiliRef').value;
strOutput += "		                </td>";
strOutput += "		            </tr>";
strOutput += "		        </table>";
strOutput += "		    </td>";
strOutput += "		</tr>";

strOutput += "		<tr>";
strOutput += "			<td colspan=\"3\" style=\"height: 31px; text-align: left;\">";
strOutput += "			    <table>";
strOutput += "			        <tr>";
strOutput += "			            <td align=\"left\" class=\"smallheading\"  style=\"width: 140px\">";
strOutput += "		                    <strong>15. UNSPSC Kodu:</strong>";
strOutput += "		                </td>";
strOutput += "		                <td class=\"norm\"   style=\"width: 50px\">";
strOutput += document.getElementById('ctl00_ContentPlaceHolder1_txtUNSPSCKodu').value;
strOutput += "		                </td>";             
strOutput += "		                <td align=\"left\" class=\"smallheading\"  style=\"width: 150px\">";
strOutput += "		                    <strong>16. UNSPSC Sınıf Adı:</strong>";
strOutput += "		                </td>";
strOutput += "		                <td class=\"norm\"  style=\"width: 160px\">";
strOutput += document.getElementById('ctl00_ContentPlaceHolder1_txtUNSPSCSinif').value;
strOutput += "		                </td>";
strOutput += "		            </tr>";
strOutput += "		        </table>";
strOutput += "		     </td>";
strOutput += "		</tr>";


strOutput += "		<tr>";
strOutput += "			<td colspan=\"3\" style=\"height: 31px; text-align: left;\">";
strOutput += "			    <table>";
strOutput += "			        <tr>";
strOutput += "			            <td class=\"smallheading\"  style=\"width: 110px\">";
strOutput += "		                    <strong>17. İthal/İmal:</strong>";
strOutput += "		                </td>";
                                        
var cmbIthalImal = document.getElementById('ctl00_ContentPlaceHolder1_cmbIthalImal');
var IthalImal = cmbIthalImal.options[cmbIthalImal.selectedIndex].text;

strOutput += "		                <td class=\"norm\"   style=\"width: 70px\">";
strOutput += IthalImal;
strOutput += "		                </td>";
strOutput += "		                <td class=\"smallheading\" style=\"width: 58px\">";
strOutput += "		                    <strong>18. Renk:</strong>";
strOutput += "		                </td>";
strOutput += "		                <td class=\"norm\"   style=\"width: 170px\">";
strOutput += document.getElementById('ctl00_ContentPlaceHolder1_txtRenk').value;
strOutput += "		                </td>";
strOutput += "		            </tr>";    
strOutput += "		        </table>";
strOutput += "		    </td>";
strOutput += "		</tr>";



strOutput += "		<tr>";
strOutput += "			<td colspan=\"3\" style=\"height: 31px; text-align: left;\">";
strOutput += "			    <table>";
strOutput += "			        <tr>";
strOutput += "			            <td class=\"smallheading\"  style=\"width: 103px\">";
strOutput += "		                    <strong>19. Ambalaj Türü:</strong>";
strOutput += "		                </td>";

var cmbAmbalajTur = document.getElementById('ctl00_ContentPlaceHolder1_cmbAmbalajTur');
var AmbalajTur = cmbAmbalajTur.options[cmbAmbalajTur.selectedIndex].text;

strOutput += "		                <td class=\"norm\"   style=\"width: 50px\">";
strOutput += AmbalajTur; 
strOutput += "		                </td>";
strOutput += "		                <td class=\"smallheading\"  style=\"width: 150px\">";
strOutput += "		                    <strong>20. Ambalaj İç Miktarı:</strong>";
strOutput += "		                </td>";
strOutput += "		                <td class=\"norm\"   style=\"width: 50px\">";
strOutput += document.getElementById('ctl00_ContentPlaceHolder1_txtIcMiktar').value;
strOutput += "		                </td>";
strOutput += "		                <td class=\"smallheading\"  style=\"width: 160px\">";
strOutput += "		                    <strong>21. Ambalaj Miktarı Birimi:</strong>";
strOutput += "		                </td>";

var cmbMiktarBirim = document.getElementById('ctl00_ContentPlaceHolder1_cmbMiktarBirim');
var MiktarBirim = cmbMiktarBirim.options[cmbMiktarBirim.selectedIndex].text;

strOutput += "		                <td class=\"norm\"   style=\"width: 50px\">";
strOutput += MiktarBirim;                     
strOutput += "		                </td>";
strOutput += "		            </tr>";
strOutput += "		        </table>";
strOutput += "		    </td>";
strOutput += "		</tr>";

strOutput += "		<tr>";
strOutput += "			<td colspan=\"3\" style=\"height: 31px; text-align: left;\">";
strOutput += "			    <table>";
strOutput += "			        <tr>";
strOutput += "			            <td class=\"smallheading\"  style=\"width: 142px\">";
strOutput += "		                    <strong>22. Genişlik(mm):</strong>";
strOutput += "		                </td>";
strOutput += "		                <td class=\"norm\"   style=\"width: 45px\">";
strOutput += document.getElementById('ctl00_ContentPlaceHolder1_txtGenislik').value;
strOutput += "		                </td>";
strOutput += "		                <td class=\"smallheading\"  style=\"width: 155px\">";
strOutput += "		                    <strong>23. Yükseklik(mm):</strong>";
strOutput += "		                </td>";
strOutput += "		                <td class=\"norm\"   style=\"width: 45px\">";
strOutput += document.getElementById('ctl00_ContentPlaceHolder1_txtYukseklik').value;
strOutput += "		                </td>";
strOutput += "		                <td class=\"smallheading\"  style=\"width: 142px\">";
strOutput += "		                    <strong>24. Derinlik(mm):</strong>";
strOutput += "		                </td>";
strOutput += "		                <td class=\"norm\"   style=\"width: 45px\">";
strOutput += document.getElementById('ctl00_ContentPlaceHolder1_txtDerinlik').value;
strOutput += "		                </td>";
strOutput += "		                <td class=\"smallheading\"  style=\"width: 155px\">";
strOutput += "		                    <strong>25. Raf Ömrü (ay):</strong>";
strOutput += "		                </td>";
strOutput += "		                <td class=\"norm\"   style=\"width: 40px\">";
strOutput += document.getElementById('ctl00_ContentPlaceHolder1_txtRafOmru').value;
strOutput += "		                </td>";
strOutput += "		            </tr>"; 
strOutput += "		        </table>";
strOutput += "		    </td>";
strOutput += "		</tr>";


if (document.getElementById('ctl00_ContentPlaceHolder1_txtUNSPSCKodu').value == "51000000")
{
    strOutput += "		<tr>";
    strOutput += "			<td colspan=\"3\" style=\"height: 27px; text-align: left;\">";
    strOutput += "			    <table>";
    strOutput += "			        <tr>";
    strOutput += "			            <td class=\"smallheading\" style=\"width: 171px\">";
    strOutput += "		                    <strong>29. Uygulama Yolu Kodu:</strong>";
    strOutput += "		                </td>";

//    var cmbUygulamaYolu = document.getElementById('ctl00_ContentPlaceHolder1_cmbUygulamaYolu');
//    var UygulamaYolu = cmbUygulamaYolu.options[cmbUygulamaYolu.selectedIndex].text;

    var UygulamaYolu = document.getElementById('ctl00_ContentPlaceHolder1_txtUygulamaKodu');

    strOutput += "		                <td class=\"norm\"  style=\"width: 90px\">";
    strOutput += UygulamaYolu.value ;
    strOutput += "		                </td>";
    strOutput += "		                <td class=\"smallheading\" style=\"width: 130px\">";
    strOutput += "		                    <strong>30. Uygulama Yolu Adı:</strong>";
    strOutput += "		                </td>";
    strOutput += "		                <td class=\"norm\"  style=\"width: 100px\">";
    strOutput += document.getElementById('ctl00_ContentPlaceHolder1_txtUygulamaYolu').value;
    strOutput += "		                </td>";
    strOutput += "		                <td class=\"smallheading\"  style=\"width: 130px\">";
    strOutput += "		                    <strong>31. Orjinal/Jenerik:</strong>";
    strOutput += "		                </td>";

    var cmbOrjJen = document.getElementById('ctl00_ContentPlaceHolder1_cmbOrjJen');
    var OrjJen = cmbOrjJen.options[cmbOrjJen.selectedIndex].text;

    strOutput += "		                <td class=\"norm\"  style=\"width: 60px\">";
    strOutput += OrjJen;
    strOutput += "		                </td>";
    strOutput += "		            </tr>";
    strOutput += "		        </table>";
    strOutput += "		    </td>";
    strOutput += "		</tr>";


    strOutput += "		<tr>";
    strOutput += "			<td colspan=\"3\" style=\"height: 31px; text-align: left;\">";
    strOutput += "		        <table>";
    strOutput += "		            <tr>";
    strOutput += "		                <td class=\"smallheading\"  style=\"width: 170px\">";
    strOutput += "		                    <strong>32. Farmasötik Şekil Kodu:</strong>";
    strOutput += "		                </td>";
    strOutput += "		                <td class=\"norm\"   style=\"width: 60px\">";
    strOutput += document.getElementById('ctl00_ContentPlaceHolder1_txtFarmSekilKod').value;
    strOutput += "		                </td>";         
    strOutput += "		                <td class=\"smallheading\"  style=\"width: 150px\">";
    strOutput += "		                    <strong>33. Farmasötik Şekil Adı:</strong>";
    strOutput += "		                </td>";
    strOutput += "		                <td class=\"norm\"   style=\"width: 150px\">";
    strOutput += document.getElementById('ctl00_ContentPlaceHolder1_txtFarmSekil').value;
    strOutput += "		                </td>";
    strOutput += "		            </tr>";
    strOutput += "		        </table>";
    strOutput += "		    </td>";
    strOutput += "		</tr>";


    strOutput += "		<tr>";
    strOutput += "		    <td colspan=\"3\" style=\"height: 31px; text-align: left;\">";
    strOutput += "		        <table>";
    strOutput += "		            <tr>";
    strOutput += "		                <td class=\"smallheading\" style=\"width: 170px\">";
    strOutput += "		                    <strong>34. Birim Ambalaj Hacmi:</strong>";
    strOutput += "		                </td>";
    strOutput += "		                <td class=\"norm\"   style=\"width: 50px\">";
    strOutput += document.getElementById('ctl00_ContentPlaceHolder1_txtAmbalajHacmi').value;
    strOutput += "		                </td>";
    strOutput += "		                <td class=\"smallheading\"  style=\"width: 70px\">";
    strOutput += "		                        <strong>35. Birimi:</strong>";
    strOutput += "		                </td>";

    var cmbHacimBirimi = document.getElementById('ctl00_ContentPlaceHolder1_cmbHacimBirimi');
    var HacimBirimi = cmbHacimBirimi.options[cmbHacimBirimi.selectedIndex].text;

    strOutput += "		                <td class=\"norm\"   style=\"width: 50px\">";
    strOutput += HacimBirimi;
    strOutput += "		                </td>";
    strOutput += "		                <td class=\"smallheading\"  style=\"width: 130px\">";
    strOutput += "		                       <strong> 36. Ölçek Miktarı:</strong>";
    strOutput += "		                </td>";
    strOutput += "		                <td class=\"norm\"   style=\"width: 60px\">";
    strOutput += document.getElementById('ctl00_ContentPlaceHolder1_txtOlcekMiktari').value;
    strOutput += "		                </td>";
    strOutput += "		                <td class=\"smallheading\"  style=\"width: 70px\">";
    strOutput += "		                       <strong>37. Birimi:</strong>";
    strOutput += "		                </td>";

    var cmbOlcekBirimi = document.getElementById('ctl00_ContentPlaceHolder1_cmbOlcekBirimi');
    var OlcekBirimi = cmbOlcekBirimi.options[cmbOlcekBirimi.selectedIndex].text;

    strOutput += "		                <td class=\"norm\"   style=\"width: 50px\">";
    strOutput += OlcekBirimi;
    strOutput += "		                </td>";
    strOutput += "		            </tr>";
    strOutput += "		        </table>";
    strOutput += "		    </td>";
    strOutput += "		</tr>";


    strOutput += "		<tr>";
    strOutput += "			<td colspan=\"3\" style=\"height: 31px; text-align: left;\">";
    strOutput += "			    <table>";
    strOutput += "			        <tr>";
    strOutput += "		                <td class=\"smallheading\" >";
    strOutput += "		                    <strong>38. Kullanım Ömrü(gün):</strong>";
    strOutput += "		                </td>";
    strOutput += "		                <td class=\"norm\"  >";
    strOutput += document.getElementById('ctl00_ContentPlaceHolder1_txtKullanimOmru').value ;
    strOutput += "		                </td>";
    strOutput += "		            </tr>";
    strOutput += "		        </table>";
    strOutput += "		    </td>";
    strOutput += "		</tr>";
}
else
{
    strOutput += "		<tr>";
    strOutput += "			<td colspan=\"3\" style=\"height: 27px; text-align: left;\">";
    strOutput += "			    <table>";
    strOutput += "			        <tr>";
    strOutput += "			            <td class=\"smallheading\" style=\"width: 171px\">";
    strOutput += "		                    <strong>26. GMDN Kodu:</strong>";
    strOutput += "		                </td>";


//    var txtGMDNKod = document.getElementById('ctl00_ContentPlaceHolder1_txtGMDNKod');
//    var UygulamaYolu = cmbUygulamaYolu.options[cmbUygulamaYolu.selectedIndex].text;

    var GMDNKodu = document.getElementById('ctl00_ContentPlaceHolder1_txtGMDNKod');
    
    strOutput += "		                <td class=\"norm\"  style=\"width: 90px\">";
    strOutput += GMDNKodu.value ;
    strOutput += "		                </td>";
    strOutput += "		                <td class=\"smallheading\" style=\"width: 130px\">";
    strOutput += "		                    <strong>27. GMDN Adı:</strong>";
    strOutput += "		                </td>";
    strOutput += "		                <td class=\"norm\"  style=\"width: 100px\">";
    strOutput += document.getElementById('ctl00_ContentPlaceHolder1_txtGMDNAd').value;
    strOutput += "		                </td>";
    
    strOutput += "		            </tr>";
    strOutput += "		        </table>";
    strOutput += "		    </td>";
    strOutput += "		</tr>";
    
    strOutput += "		<tr>";
    strOutput += "			<td colspan=\"3\" style=\"height: 31px; text-align: left;\">";
    strOutput += "		        <table>";
    strOutput += "		            <tr>";
    strOutput += "		                <td class=\"smallheading\"  style=\"width: 170px\">";
    strOutput += "		                    <strong>28. Ait Olduğu Yönetmelik:</strong>";
    strOutput += "		                </td>";
    
    var cmbSinif = document.getElementById('ctl00_ContentPlaceHolder1_cmbSinif');
    var Yonetmelik = cmbSinif.options[cmbSinif.selectedIndex].text;
    
    strOutput += "		                <td class=\"norm\"   style=\"width: 270px\">";
    strOutput += Yonetmelik;
    strOutput += "		                </td>";         

    strOutput += "		            </tr>";
    strOutput += "		        </table>";
    strOutput += "		    </td>";
    strOutput += "		</tr>";
    
}

strOutput += "		<tr>";
strOutput += "			<td colspan=\"3\" style=\"height: 31px; text-align: left;\">";
strOutput += "			    <table>";
strOutput += "			        <tr>";
strOutput += "		                <td class=\"smallheading\" >";
strOutput += "		                    <strong>39. Formun Onaylandığı Tarih:</strong>";
strOutput += "		                </td>";
strOutput += "		            </tr>";
strOutput += "		        </table>";
strOutput += "		    </td>";
strOutput += "		</tr>";
strOutput += "		<tr>";
strOutput += "			<td colspan=\"3\" style=\"height: 31px; text-align: left;\">";
strOutput += "			    <table>";
strOutput += "			        <tr>";
strOutput += "		                <td class=\"smallheading\" >";
strOutput += "		                    <strong>40. Onaylayan Ad-Soyad ve İmza:</strong>";
strOutput += "		                </td>";

strOutput += "		            </tr>";
strOutput += "		        </table>";
strOutput += "		    </td>";
strOutput += "		</tr>";

strOutput += "		<tr>";
strOutput += "		    <td colspan=\"3\" style=\"height: 26px\">";
     
strOutput += "		    </td>";
strOutput += "		</tr>";


strOutput += "</td>";
strOutput += "</tr>";

strOutput += "<tr>";
strOutput += "<td width=\"100%\" height=\"20%\" valign=\"bottom\">";
strOutput += "	<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\" id=\"table1\">";
strOutput += "		<tr>";
strOutput += "			<td nowrap width=\"4%\">&nbsp;</td>";
strOutput += "			<td nowrap width=\"92%\" class=\"norm\"><span class=\"smallheading\">Yardım İçin</span><br>";
strOutput += "				<span class=\"smallheading\">Telefon:</span> 312 266 29 92 <span class=\"smallheading\">Fax:</span> 312 266 29 98<br>";
strOutput += "				<span class=\"smallheading\">Yazışma Adresi:</span> Hacettepe Üniversitesi Hastaneleri, Türkiye İlaç ";
strOutput += "				Ve Tıbbi Cihaz Ulusal Bilgi Bankası, 06100<br>";
strOutput += "				Sıhhiye Ankara<br>";
strOutput += "				<span class=\"smallheading\">e-posta:</span> ubb@huap.org <span class=\"smallheading\">Web Sitesi:</span> www.huap.org.tr/ubb";
strOutput += "			</td>";
strOutput += "			<td nowrap width=\"4%\">&nbsp;</td>";
strOutput += "		</tr>";
strOutput += "		<tr>";
strOutput += "			<td colspan=\"4\">&nbsp;</td>";
strOutput += "		</tr>";
strOutput += "		<tr>";
strOutput += "			<td nowrap width=\"4%\">&nbsp;</td>";
strOutput += "			<td nowrap width=\"92%\" class=\"norm\">";
strOutput += "				<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\" id=\"tablerevizyon\">";
strOutput += "					<tr>";
strOutput += "						<td width =\"33%\" align=\"left\" class=\"smallheading\">Form No: TITUBB-P003-F005</td>";
strOutput += "						<td width =\"34%\" align=\"center\" class=\"smallheading\">&nbsp;</td>";
strOutput += "						<td width =\"33%\" align=\"right\" class=\"smallheading\">Revizyon No: 1</td>";
strOutput += "					</tr>";
strOutput += "				</table>";
strOutput += "			</td>";
strOutput += "			<td nowrap width=\"4%\">&nbsp;</td>";
strOutput += "		</tr>";
strOutput += "	</table>";
strOutput += "</td>";
strOutput += "</tr>";
strOutput += "</table>";


				
	var i = 0;
	while (i < NoOfCopies)
	{
		strFullOutput += strOutput;
		i++;
		if (i != NoOfCopies)
			strFullOutput += "<div style='page-break-after: always'></div>"; // page break
	}
	
	strFullOutput += "<script language=javaScript>";
	strFullOutput += "if( window.print ) window.print();\<\/script\>";
	strFullOutput += "</body>";
	strFullOutput += "</html>";
	
	wndPreview.document.open();
	wndPreview.document.write( strFullOutput );
	wndPreview.document.close();
}





function TekilTanimlayiciPrint_Iptal()
{			
	var printSize = 7;
    var NoOfCopies = 1; 
	var fntSize = 8;

	var paperWidthScale = printSize;
	var wndPreview = window.open( "about:blank", "_blank", "directories=no, location=no, menubar=no, status=no, toolbar=no, height=800, width=900" );
	var frmData = document.getElementById( "ctl00_ContentPlaceHolder1_Form1" );
	//var styleBold = "font-weight:bold;font-family:trebuchet;font-size:"+fntSize+"pt;";
	//var styleNorm = "font-family:trebuchet;font-size:"+fntSize+"pt;";
	var strFullOutput = "";
	var strOutput = "";
	var paperWidth = 80 + (paperWidthScale * 15);


    strFullOutput += "<html>";

    strFullOutput += "<head>";
    strFullOutput += "<meta http-equiv=\"Content-Language\" content=\"tr\">";
    strFullOutput += "<meta http-equiv=\"Content-Type\" content=\"text/html; charset=windows-1254\">";
    strFullOutput += "<title>Tekil Tanımlayıcı Formu</title>";
    strFullOutput += "<style type=\"text/css\">";
//    strFullOutput += "	.bigheading_old";
//    strFullOutput += "	{";
//    strFullOutput += "		font-family: Microsoft Sans Serif,Arial,Verdana;";
//    strFullOutput += "		font-weight: bold;";
//    strFullOutput += "		font-size: 18px;";
//    strFullOutput += "		text-align: center;";
//    strFullOutput += "	}";

    strFullOutput += "	.bigheading";
    strFullOutput += "	{";
    strFullOutput += "		font-weight:bold;font-family:trebuchet;font-size:14pt;";
    strFullOutput += "	}";
    
    strFullOutput += "	input";
    strFullOutput += "	{";
    strFullOutput += "		height:14pt;";
    strFullOutput += "	}";
    	
    strFullOutput += "	td";
    strFullOutput += "	{";
    strFullOutput += "		height:14pt;";
    strFullOutput += "	}";
    		
    strFullOutput += "	.bigheadingtight";
    strFullOutput += "	{";
    strFullOutput += "		font-weight:bold;font-family:trebuchet;font-size:12pt;";
    strFullOutput += "	}";

    strFullOutput += "	.smallheading";
    strFullOutput += "	{";
    strFullOutput += "		font-weight:bold;font-family:trebuchet;font-size:"+fntSize+"pt;";
    strFullOutput += "	}";
    	
    strFullOutput += "	.desc";
    strFullOutput += "	{";
    strFullOutput += "		font-weight: normal;";
    strFullOutput += "		font-size: "+fntSize+"px;";
    strFullOutput += "		width: 80%;";
    strFullOutput += "		color: gray;";
    strFullOutput += "		font-family: Microsoft Sans Serif,Arial,Verdana;";
    strFullOutput += "	}";
    	
    strFullOutput += "	.norm";
    strFullOutput += "	{";
    strFullOutput += "		font-family:trebuchet;font-size:"+fntSize+"pt;";
    strFullOutput += "	}";
    strFullOutput += "</style>";
    strFullOutput += "</head>";

    strFullOutput += "<body>";

    
    var icMetin = document.getElementById('distablo');
    
    if (icMetin)
        strOutput += icMetin.innerHTML;
    else
        alert('Yok!!');

    var i = 0;
    while (i < NoOfCopies)
    {
	    strFullOutput += strOutput;
	    i++;
	    if (i != NoOfCopies)
		    strFullOutput += "<div style='page-break-after: always'></div>"; // page break
    }

    strFullOutput += "<script language=javaScript>";
    strFullOutput += " if( window.print ) window.print();\<\/script\>";
    strFullOutput += "</body>";
    strFullOutput += "</html>";

    wndPreview.document.open();
    wndPreview.document.write( strFullOutput );
    wndPreview.document.close();
}