
document.write("<style type='text/css'>.hidden{display:none;}</style>");
$(document).ready(function(){
$("a[name='acenta']").colorbox({width:"600px", height:"800px",iframe:true});
$("a[name='map']").colorbox({width:"700px", height:"600px",iframe:true});
$("a[name='maske']").colorbox({width:"950px", height:"550px",iframe:true});
$("a[name='cerrahibone']").colorbox({width:"950px", height:"470px",iframe:true});
$("a[name='lastiklimaske']").colorbox({width:"950px", height:"500px",iframe:true});
$("a[name='ctype']").colorbox({width:"950px", height:"500px",iframe:true});
$("a[name='pocketfilter']").colorbox({width:"950px", height:"500px",iframe:true});
$("a[name='other']").colorbox({width:"950px", height:"450px",iframe:true});
$("a[name='galos']").colorbox({width:"950px", height:"470px",iframe:true});
$("a[name='bagciklimaske']").colorbox({width:"950px", height:"400px",iframe:true});
$("a[name='bone']").colorbox({width:"950px", height:"500px",iframe:true});
$("a[name='cuptype']").colorbox({width:"950px", height:"500px",iframe:true});
$("a[name='nonwovenbag']").colorbox({width:"950px", height:"500px",iframe:true});
$("a[name='cover']").colorbox({width:"950px", height:"500px",iframe:true});
$("a[name='gown']").colorbox({width:"950px", height:"500px",iframe:true});
$("a[rel='project']").colorbox({FixedWidth:"auto", FixedHeight:"auto"});
$("a[rel='agency']").colorbox({FixedWidth:"auto", FixedHeight:"auto"});		
$("a[rel='popup']").colorbox({FixedWidth:"auto", FixedHeight:"auto",open:true,close:"Kapat"});	
				$(".send").colorbox({width:"390px",height:"150px", inline:true, href:"#inline_example"},function()
				{
					$("#loading").show();
					  $.ajax({
							type: "Get",
							url: "netcontact.aspx",
							data: "isim="+encodeURIComponent($('#ctl00_ContentPlaceHolder1_txtname').val())+"&mail="+$('#ctl00_ContentPlaceHolder1_txtmail').val()+"&tel="+$('#ctl00_ContentPlaceHolder1_txtphone').val()+"&konu="+encodeURIComponent($('#ctl00_ContentPlaceHolder1_txtsubject').val())+"&mesaj="+encodeURIComponent($('#ctl00_ContentPlaceHolder1_txtmessage').val()), 
							error: function() {
							$("#ok").show().html("Özür Dileriz Bir Hata Olustu.Lütfen Daha Sonra Tekrar Deneyiniz");
							$("#loading").hide();
							},
							success: function(data) 
							{
							$("#ok").show().html(data);
							$("#loading").hide();
							$('#ctl00_ContentPlaceHolder1_txtmail').val("")
							}
						});
				});
			});