function getStyle(el,styleProp){	var x = document.getElementById(el);	if (x.currentStyle)		var y = x.currentStyle[styleProp];	else if (window.getComputedStyle)		var y = document.defaultView.getComputedStyle(x,null).getPropertyValue(styleProp);	return y;}var stobj=new Array()var otostnum=0;function styleto(obj,g,hiz,prop,recall){if(typeof(obj)=="string")obj=document.getElementById(obj)if(!obj.id)obj.id="otoidst_"+(otostnum++);if(!stobj[obj.id])	{	stobj[obj.id]=new Object()	mrgleft = getStyle(obj.id,prop)//	mrgleft = !mrgleft?getStyle(obj.id,"margin").split(" ")[3]:mrgleft	mrgleft = !mrgleft?0:mrgleft	stobj[obj.id].katx=hiz?hiz:4	stobj[obj.id].prop=prop	stobj[obj.id].recall=recall	stobj[obj.id].def=parseInt(mrgleft)		stobj[obj.id].cur=parseInt(mrgleft);//css .tabbtn margin-left*-1 de?eri	//if(!obj.onmouseout)obj.onmouseout=function(){ tbkay(this,tbsobj[this.id].def)}	}var _obj=stobj[obj.id]if(g || g==0)	{	_obj.ycur=g;	_obj.tmo=null	if(prop)_obj.prop=prop	if(hiz)_obj.katx=hiz	if(hiz)_obj.recall=recall	if(!hiz)_obj.katx=Math.abs(_obj.ycur-_obj.cur)/10	_obj.yon=(_obj.ycur>_obj.cur)?1:-1	_obj.tfark=Math.abs(_obj.ycur-_obj.cur)		}_obj.cfark=Math.abs(_obj.ycur-_obj.cur)var kat=_obj.katx*(_obj.cfark/_obj.tfark)+0.5if(Math.abs(_obj.ycur-_obj.cur)>kat)		{		_obj.cur+=kat*_obj.yon;		if(_obj.tmo)clearTimeout(_obj.tmo)		_obj.tmo=setTimeout("styleto('"+obj.id+"')",35)		}else	{		_obj.cur=_obj.ycur;		if(_obj.recall)eval(_obj.recall)		}eval('obj.style.'+_obj.prop+'="'+_obj.cur+'px"')}function getPosition(element) {		var left = 0;		var top = 0;		if(element.offsetParent) {			while(element) {				left += element.offsetLeft;				top += element.offsetTop;				element = element.offsetParent;			}		}		return {offsetLeft: left, offsetTop: top};	}var acilir=0;var autoidnum=0;var mnoutsto=nullvar lstmobj=null;var lstsy=0function kapat1(sy){var nobj=document.getElementsByClassName("altmenu")[sy]	if(!nobj.id)nobj.id="objautoid_"+(autoidnum++)	nobj.setAttribute("type","normal")	nobj.style.left="0px"	nobj.style.minWidth="auto"	s3_play(0,sy)}function mnover(obj,sy,anm){if(sy && !anm)	{	var nobj=document.getElementsByClassName("altmenu")[sy]	if(nobj.onmouseout)nobj.onmouseout=null	setTimeout("kapat1("+sy+")",150)	return s3_play(0,0);	}	var ol=getPosition(obj).offsetLeftvar ow=obj.clientWidth;var _ucgen=document.getElementById("ucgen")//_ucgen.style.left=olif(sy && anm && acilir)	{		var nobj=document.getElementsByClassName("altmenu")[sy]	if(!nobj.id)nobj.id="objautoid_"+(autoidnum++)	nobj.setAttribute("type","acilir")	nobj.style.left=ol+"px"	nobj.style.minWidth=(ow)+"px"	lstsy=sy	if(!nobj.onmouseout){nobj.onmouseout=function(){if(mnoutsto)clearTimeout(mnoutsto);mnoutsto=setTimeout("mnover(0,lstsy);",3000)}}	}	acilir=1if(lstmobj!=obj)	{	styleto("ucgen",ol,0,"left")	_ucgen.style.width=ow+'px';	if(sy!=undefined){s3_play(0,sy)}	else {s3_play(0,0)}	lstmobj=obj	}}document.getElementsByClassName = function(){if(document.hasChildNodes && arguments[0]){var data = new Array();for(a=0;a<document.getElementsByTagName("*").length;a++){if(document.getElementsByTagName("*")[a].className == arguments[0]){data.push(document.getElementsByTagName("*")[a]);}}return data;}}				var _takvim_alani=null		var ust_kisim=orta_kisim=alt_kisim='';		var tb_ay=(new Date()).getMonth();				var tb_yil=2011;		var aylar=["Ocak", "Şubat", "Mart", "Nisan", "Mayıs", "Haziran", "Temmuz", "Ağustos", "Eylül", "Ekim", "Kasım", "Aralık"]		function tablo_olustur(yon)		{		if(yon=="+"){tb_ay++;if(tb_ay==12)tb_yil++,tb_ay=0}		if(yon=="-"){tb_ay--;if(tb_ay==-1)tb_yil--,tb_ay=11}		if(yon=="++")tb_yil++		if(yon=="--")tb_yil--		document.getElementById("text_ay").innerHTML=aylar[tb_ay]		document.getElementById("text_yil").innerHTML=tb_yil		    ust_kisim='<table cellspacing="0" cellpadding="0" class="b_takvim">'				+'<tr>'				+'	<th>Pazartesi</th>'				+'	<th>Salı</th>'				+'	<th>Çarşamba</th>'				+'	<th>Perşembe</th>'				+'	<th>Cuma</th>'				+'	<th>Cumartesi</th>'				+'	<th>Pazar</th>'				+'</tr>';		    orta_kisim='';				var s_tarih=new Date(tb_yil,tb_ay,0)		var s_day=s_tarih.getDay()			while(!s_day==0)				{				s_tarih.setDate(s_tarih.getDate()-1);				s_day=s_tarih.getDay();				}		var s_gun=s_tarih.getDate()		var bitira=0		var bitir=0		for (var tr=0;tr<10 && !bitir;tr++)			{			orta_kisim+='<tr>'						for(var td=0;td<7;td++)				{				s_tarih.setDate(s_tarih.getDate()+1);				s_gun=s_tarih.getDate();				s_ay=s_tarih.getMonth()+1				if(s_gun==1)bitira++				if(s_gun==1 && bitira==2)bitir=1				i_class=''				if(bitira==1)i_class+=' mavi'				var _trh=(s_gun<10?'0'+s_gun:s_gun) + '.' + (s_ay<10?'0'+s_ay:s_ay) + '.' + tb_yil				var etkinlik=""				for(etk=0;etk<data.length;etk++)					{					e_trh=data[etk][0]					e_kategori=data[etk][1]					e_baslik=data[etk][2]					e_link=data[etk][3]					if(_trh==e_trh)						{						i_class='dolu'						etkinlik	='<a href="'+e_link+'">'									+'	<i class="'+i_class+'">'+s_gun+'</i>'									+'	<b>'+e_kategori+'</b><u class="temizle"></u>'									+'	'+e_baslik									+'</a>'						}										}								orta_kisim+='<td>'				if(etkinlik)orta_kisim+=etkinlik				else orta_kisim+='<i class="'+i_class+'">'+s_gun+(s_gun==1?('<font size=5>'+aylar[s_ay-1])+'</font>':'')+'</i>';										/* <a href="javascript:alert('highslide kutusu açılacak..')">							<i class="dolu">22</i>							<b>İZMİR</b><u class="temizle"></u>							Tifaldi Türkçe İfade Edici...						</a>				 */				orta_kisim+='</td>'				}							orta_kisim+='</tr>'			}					    alt_kisim='</table>';		_takvim_alani=document.getElementById("takvim_alani")		_takvim_alani.innerHTML=ust_kisim+orta_kisim+alt_kisim;		}
