function flashGetir(flash,element,w,h,mode){
 if (mode == null){
   mode = 'opaque';
 }
 
	var flashvars = {};
	var params = { wmode: mode , allowscriptaccess: "always"};
	var attributes = {};
	swfobject.embedSWF(flash, element, w, h, "9.0.0", "expressinstall.swf", flashvars, params, attributes);
}

function popup(url){
 $.colorbox({scrolling:false,href:url,'speed':750,'transition':'fade'});
}

$(document).ready(function (){ 




$('.hover').hover(
	function () {
		var src = $(this).attr("src").replace(".png","_hover.png");
		$(this).attr("src", src);
	}, 
	function () {
		var src = $(this).attr("src").replace("_hover", "");
		$(this).attr("src", src);
	}
); 

	$('#menu a:not(.current)').each(function(index) {
		$(this).append("<span class='hoverspan'></span>");
	});


	$('#menu a:not(.current)').hover(
		function () {
			var src = $(this).find('img').attr("src").replace(".png","_hover.png"); 
			$(this).find(".hoverspan").html("<img src='"+src+"'>");
			$(this).find('img').css({
				'filter' : "progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled='true',sizingMethod='crop',src='"+src+"')"
			});
			$(this).find(".hoverspan:not(:animated)").fadeIn(200);
		}, 
		function () {
			$(this).find(".hoverspan").fadeOut(200);
		}
	);
	
	
	

});

