function myGetFileName(file_url){
	file_url = file_url.substring(file_url.lastIndexOf("/")+1,file_url.length)
	return file_url;
}

window.addEvent('domready', function(){

	/* ----------------------------- for ie6 */
	if(Browser.Engine.trident && Browser.Engine.version == 4){
		/* ----------------------------- png alpha image */
		DD_belatedPNG.fix('.cmt_ipt, .cfm_blk, .m_gds');
	}

	/* ----------------------------- window scroll */
	new SmoothScroll({duration:'long',transition:Fx.Transitions.Quint.easeOut});

	/* ----------------------------- button hover */
	$$('.submit').each(function(btn){
//		var col1 = (btn.className == 'next')?'#906':'#999';
		var col1 = '#fff';
		var col2 = btn.getStyle('color');
		var bgcol1 = '#A6BB80';
		var bgcol2 = btn.getStyle('backgroundColor');
		btn.addEvents({
			'mouseover': function(){btn.get('tween',{property:'background-color',duration:'normal',transition:Fx.Transitions.Quart.easeOut}).start(bgcol2,bgcol1);},
			'mouseout': function(){btn.get('tween', {property:'background-color',duration:'normal',transition:Fx.Transitions.Quart.easeOut}).start(bgcol1,bgcol2);}
//			'mouseover': function(){btn.setStyles({'background':bgcol1,'color':col1});},
//			'mouseout': function(){btn.setStyles({'background':bgcol2,'color':col2});}
		});
	});

}); 

