        $(document).ready(function(){
			var menuSelect = menuSec();
			setTimeout(init,2000)
			$('#topNavigasyon').flash(
				 {
					 src: '/_swf/nav_rounded.swf',
					 width: "100%",
					 menu: true,
					 height: "100%",
					 id: 'homeFlash',
					 wmode: 'transparent',
					 flashvars:{xmlpath : '/_swf/nav.xml', id:menuSelect }
				  },
				  {
					  expressInstall: true,
					  version: '8'
				  }
			 );
			
			
			$('#homePageContentRightFlash').flash(
				 {
					 src: '/_swf/home_cards.swf',
					 width: "100%",
					 menu: true,
					 height: "100%",
					 id: 'homeFlash',
					 wmode: 'transparent',
					 flashvars:{xmlpath : '/_swf/xml.xml' }
				  },
				  {
					  expressInstall: true,
					  version: '8'
				  }
			 );

			$('#homePageFlash').flash(
				 {
					 src: '/_swf/banner.swf',
					 width: "100%",
					 menu: true,
					 height: "100%",
					 id: 'homeFlash',
					 wmode: 'transparent'
				  },
				  {
					  expressInstall: true,
					  version: '8'
				  }
			 );	
			
			$('#arkadasini_getir').flash(
				 {
					 src: '/_swf/arkadasini_getir.swf',
					 width: "230",
					 menu: true,
					 height: "83",
					 id: 'homeFlash',
					 wmode: 'transparent'
				  },
				  {
					  expressInstall: true,
					  version: '8'
				  }
			 );	
			
			$('#chip_pin').flash(
				 {
					 src: '/_swf/chip_pin.swf',
					 width: "230",
					 menu: true,
					 height: "83",
					 id: 'homeFlash',
					 wmode: 'transparent'
				  },
				  {
					  expressInstall: true,
					  version: '8'
				  }
			 );	
			
			$('#limit_artir').flash(
				 {
					 src: '/_swf/limit_artir.swf',
					 width: "230",
					 menu: true,
					 height: "83",
					 id: 'homeFlash',
					 wmode: 'transparent'
				  },
				  {
					  expressInstall: true,
					  version: '8'
				  }
			 );	
			
			$('#hemen_basvur').flash(
				 {
					 src: '/_swf/hemen_basvur.swf',
					 width: "230",
					 menu: true,
					 height: "83",
					 id: 'homeFlash',
					 wmode: 'transparent'
				  },
				  {
					  expressInstall: true,
					  version: '8'
				  }
			 );	
			 
			 $('#hemen_basvur_sanal').flash(
				 {
					 src: '/_swf/hemen_basvur_sanal.swf',
					 width: "230",
					 menu: true,
					 height: "83",
					 id: 'homeFlash',
					 wmode: 'transparent'
				  },
				  {
					  expressInstall: true,
					  version: '8'
				  }
			 );
			
			$('.bannerAsyaCard').flash(
				 {
					 src: '/_swf/content_AsyaCard.swf',
					 width: "682",
					 menu: true,
					 height: "225",
					 id: 'subFlash',
					 wmode: 'transparent'
				  },
				  {
					  expressInstall: true,
					  version: '8'
				  }
			 );	
			
			$('.bannerAvantajlari').flash(
				 {
					 src: '/_swf/content_Avantajlari.swf',
					 width: "682",
					 menu: true,
					 height: "225",
					 id: 'subFlash',
					 wmode: 'transparent'
				  },
				  {
					  expressInstall: true,
					  version: '8'
				  }
			 );	
			
			$('.bannerOzellikleri').flash(
				 {
					 src: '/_swf/content_Ozellikleri.swf',
					 width: "682",
					 menu: true,
					 height: "225",
					 id: 'subFlash',
					 wmode: 'transparent'
				  },
				  {
					  expressInstall: true,
					  version: '8'
				  }
			 );	
			
			setTimeout (function(){
				$('#menuArea ul li:last-child a').css('border-bottom','none')
			},10) 

			 
			 
// JFR Definitions    
    jfr$('h1').jfr({
        src:'/_swf/h1.swf',
        css :[
            '* { color: #F50C00; text-align: left; }',
            'a { color: #F50C00; text-decoration: none; }',
            'a:hover { text-decoration: underline; }'
            ]
    });
	jfr$('h4.formSearch').jfr({
        src:'/_swf/h1.swf',
        css :[
            '* { color: #1578b3; font-size:19px; }',
            'a { color: #1578b3; text-decoration: none; }',
            'a:hover { text-decoration: underline; }'
            ]
    });
			 $.jfr.render();
			 
		 });
		
	function menuSec(){
		
		var path = window.location.pathname;
		path = path.split('/');
		if ( path[1] == 'asyacard' ){
			return 0;
		}
		else if ( path[1] == 'avantajlari' ){
			return 1;
		}
		
		else if ( path[1] == 'ozellikleri' ){
			return 2;
		}
		
	}
		