function bannerShow(x, y, file, path){
	var result = '';
	result += '<object width="'+x+'" height="'+y+'">';
	result += '<param name="movie" value="'+path+'/file/open/'+file+'">';
	result += '<param name="wmode" value="transparent" />';
	result += '<embed src="'+path+'/file/open/'+file+'" width="'+x+'" height="'+y+'" wmode="transparent"></embed>';
	result += '</object>';
	document.write(result);
}

//jquery
$(document).ready(function() {
	$('a.banner_link').each(function(el){
		el.click(function(e){
			e.preventDefault()
			if(el.rel == '_blank'){
				window.open(el.href);
			}else{
				window.location=el.href;
			}
		});
	});
});

//mootools
/*
window.addEvent('domready',function(){
	$$('a.banner_link').each(function(el){
		el.addEvent('click',function(e){
			e.stop();
			if(el.rel == '_blank'){
				window.open(el.href);
			}else{
				window.location=el.href;
			}
		});
	});
});*/
