
if($.browser.msie && parseInt($.browser.version)<9){

	/**
	 * Alexander Farkas 
	 * v.1.1 
	 * not: caner'cim adamin koduyla insa edilmis orneklerin ie6 karsiliginin nasil calistigina baktim durum o ki 1.1 surumu IE 6 isliyor.
	*/

	(function($){if(!document.defaultView||!document.defaultView.getComputedStyle){var oldCurCSS=jQuery.curCSS;jQuery.curCSS=function(elem,name,force){if(name!=='backgroundPosition'||!elem.currentStyle||elem.currentStyle[name]){return oldCurCSS.apply(this,arguments)}var style=elem.style;if(!force&&style&&style[name]){return style[name]}return oldCurCSS(elem,'backgroundPositionX',force)+' '+oldCurCSS(elem,'backgroundPositionY',force)}}})(jQuery);(function($){function toArray(strg){strg=strg.replace(/left|top/g,'0px');strg=strg.replace(/right|bottom/g,'100%');strg=strg.replace(/([0-9\.]+)(\s|\)|$)/g,"$1px$2");var res=strg.match(/(-?[0-9\.]+)(px|\%|em|pt)\s(-?[0-9\.]+)(px|\%|em|pt)/);return[parseFloat(res[1],10),res[2],parseFloat(res[3],10),res[4]]}$.fx.step.backgroundPosition=function(fx){if(!fx.bgPosReady){var start=$.curCSS(fx.elem,'backgroundPosition');if(!start){start='0px 0px'}start=toArray(start);fx.start=[start[0],start[2]];var end=toArray(fx.options.curAnim.backgroundPosition);fx.end=[end[0],end[2]];fx.unit=[end[1],end[3]];fx.bgPosReady=true}var nowPosX=[];nowPosX[0]=((fx.end[0]-fx.start[0])*fx.pos)+fx.start[0]+fx.unit[0];nowPosX[1]=((fx.end[1]-fx.start[1])*fx.pos)+fx.start[1]+fx.unit[1];fx.elem.style.backgroundPosition=nowPosX[0]+' '+nowPosX[1]}})(jQuery);
}
else{
	
	/**
	 * Alexander Farkas 
	 * v. 1.2  
	*/
	(function($){$.extend($.fx.step,{backgroundPosition:function(fx){if(fx.state===0&&typeof fx.end=='string'){var start=$.curCSS(fx.elem,'backgroundPosition');start=toArray(start);fx.start=[start[0],start[2]];var end=toArray(fx.end);fx.end=[end[0],end[2]];fx.unit=[end[1],end[3]]}var nowPosX=[];nowPosX[0]=((fx.end[0]-fx.start[0])*fx.pos)+fx.start[0]+fx.unit[0];nowPosX[1]=((fx.end[1]-fx.start[1])*fx.pos)+fx.start[1]+fx.unit[1];fx.elem.style.backgroundPosition=nowPosX[0]+' '+nowPosX[1];function toArray(strg){strg=strg.replace(/left|top/g,'0px');strg=strg.replace(/right|bottom/g,'100%');strg=strg.replace(/([0-9\.]+)(\s|\)|$)/g,"$1px$2");var res=strg.match(/(-?[0-9\.]+)(px|\%|em|pt)\s(-?[0-9\.]+)(px|\%|em|pt)/);return[parseFloat(res[1],10),res[2],parseFloat(res[3],10),res[4]]}}})})(jQuery);

}


/**
 * Effect
 * Background Effect Atama
 * @ eleman: html tagi
 * @ x0: yatay default, x1: yatay hover,
 * @ y0: dikey default, x1: dikey hover
*/
function effect(eleman,x0,x1,y0,y1,d){var link_elements=eleman;if(!d){d=200}else{d=d}$(link_elements).each(function(i){$(this).hover(function(){$(this).animate({backgroundPosition:"("+x0+" "+y0+")"},{duration:d})},function(){$(this).animate({backgroundPosition:"("+x1+" "+y1+")"},{duration:d})})})}


/**
 * Share
 * Sosyal paylasim linklerinin efek fonksiyonu
*/
function share(){var link_elements=".share a";d=200;$(link_elements).each(function(i){$(this).hover(function(){pos=(i*25);$(this).animate({backgroundPosition:"(-"+pos+" -25px)"},{duration:d})},function(){$(this).animate({backgroundPosition:"(-"+pos+" 0)"},{duration:d})})})}


/**
 * Slide
 * Kromel sitemizin ana menu efekti
*/
function slide(navigation_id,pad_out,pad_in,time,multiplier){var list_elements=navigation_id+" li";var link_elements=list_elements+" div.mp div";var timer=0;$(link_elements).each(function(i){$(this).css("margin-top","-40px");timer=(timer*multiplier+time);$(this).animate({marginTop:"0"},timer)});$(link_elements).each(function(i){$(this).hover(function(){$(this).animate({paddingTop:pad_out},180)},function(){$(this).animate({paddingTop:pad_in},180)})})}


/**
 * Link
 * link kaydirma efektidir, html tagi verilen elementin hover'unda padding-left 5 verir
 * @ eleman : html tagi
 * @ d: efek hizi varsayilan 200 dur
*/
function link(eleman,d,hiz){var link_elements=eleman;if(!hiz)hiz=200;else hiz=hiz;  if(!d)d=3;else d=d;$(link_elements).each(function(i){$(this).hover(function(){$(this).animate({paddingLeft:d+"px"},hiz)},function(){$(this).animate({paddingLeft:"0"},hiz)})})}


