	window.onload=function(){
		Nifty("div#menu a","small transparent top");
		Nifty("ul#intro li","same-height");
		Nifty("div.date");
		Nifty("div#content,div#side","same-height");
		Nifty("div#search","small");
		Nifty("div.comments div");
		Nifty("div#footer");
		Nifty("div#container","bottom");
		Nifty("div#topserit","top");
		Nifty("div#samehleft,div#samehright","bottom");

		Nifty("div#box1","small");
		Nifty("div#box2","small");
		Nifty("div#box3","small");
		Nifty("div#box4","small");
		Nifty("div#postakodu","small");
	}

	function pencere1(id){
		if(id==0){
			Element.hide('postakodu1'); Element.hide('box22');  Element.hide('box33');  Element.hide('box44');
		} else {
			new Ajax.Updater('box22', 'postakodlari.php', {onLoading: function() { Element.hide('postakodu1'); Element.hide('box22');  Element.hide('box33');  Element.hide('box44'); Element.show('yukle'); $('sehirler').disable(); }, onComplete: function() { Element.hide('yukle'); Element.show('box22'); $('sehirler').enable(); 
				new Ajax.Updater('postakodu1', 'postakodlari.php', {onLoading: function() { Element.hide('postakodu1'); Element.show('yukle'); }, onComplete: function() { Element.hide('yukle'); Element.show('postakodu1'); }, method: 'post', postBody:'id='+ id +'&pk=postakodu'});
			}, method: 'post', postBody:'id='+ id +'&pk=il'});
		}
	}

	function pencere2(id){
		if(id==0){
			Element.hide('postakodu1'); Element.hide('box33');  Element.hide('box44');
		} else {
			new Ajax.Updater('box33', 'postakodlari.php', {onLoading: function() { Element.hide('postakodu1'); Element.hide('box33'); Element.hide('box44'); Element.show('yukle'); $('ilceler').disable(); }, onComplete: function() {Element.hide('yukle'); Element.show('box33'); $('ilceler').enable(); 
				new Ajax.Updater('postakodu1', 'postakodlari.php', {onLoading: function() { Element.hide('postakodu1'); Element.show('yukle'); }, onComplete: function() { Element.hide('yukle'); Element.show('postakodu1'); }, method: 'post', postBody:'id='+ id +'&pk=postakodu'});
			}, method: 'post', postBody:'id='+ id +'&pk=ilce'});
		}
	}

	function pencere3(id){
		if(id==0){
			Element.hide('postakodu1'); Element.hide('box44');
		} else {
			new Ajax.Updater('box44', 'postakodlari.php', {onLoading: function() { Element.hide('postakodu1'); Element.hide('box44'); Element.show('yukle'); $('semtler').disable(); }, onComplete: function() { Element.hide('yukle'); Element.show('box44'); $('semtler').enable();
				new Ajax.Updater('postakodu1', 'postakodlari.php', {onLoading: function() { Element.hide('postakodu1'); Element.show('yukle'); }, onComplete: function() { Element.hide('yukle'); Element.show('postakodu1'); }, method: 'post', postBody:'id='+ id +'&pk=postakodu'});
			}, method: 'post', postBody:'id='+ id +'&pk=semt'});
			
		}
	}

	function pencere4(id){
		if(id!=0){
			new Ajax.Updater('postakodu1', 'postakodlari.php', {onLoading: function() { Element.hide('postakodu1'); $('mahalleler').disable(); Element.show('yukle'); }, onComplete: function() { Element.hide('yukle'); $('mahalleler').enable(); Element.show('postakodu1'); }, method: 'post', postBody:'id='+ id +'&pk=postakodu'});
		} else {
			Element.hide('postakodu1');
		}
	}
