/***
*	�ndice:
*
*	Log para Debug............................: 20
*	Redimensionar por classe..................: 45
*	Link Ativo................................: 65
*	Blank.....................................: 79
*	Classe Voltar.............................: 92
*	Tira bordas do Flash no IE................: 104
*	Reset de formul�rio.......................: 149
*	Exibe div de bloqueio.....................: 165
*	AbsoluteCenter............................: 230
*
****/

/***
*	:: Log para Debug ::
*	:: 2007 ::
*
*	l(<Mensagem>,<true ou false para IE>);
*
*	Exibe um log para Debug.
*	ex:
*		l("testando");
*		l("testando",true);
***/
$(document).ready( function(){
	/***
	*	:: Tira bordas do Flash no IE ::
	*	:: 2008 ::
	*
	*	Retira as bordas pontilhadas do flash no Internet Explorer
	*	Ex.: 	$("#flash").addFlash({
	*				src: "swf/banner2.swf",
	*				width: 584,
	*				height: 201,
	*				title: "Nome do banner"
	*			});
	***/
	$.extend({
		addFlash: {
			version: 1.2,
			defaults: {
				src: "",
				width: 100,
				height: 50,
				title: "",
				quality: "high",
				menu: "false",
				wmode: "transparent"
			}
		}
	});
	$.fn.extend({
		addFlash: function(options){
			options = $.extend({}, $.addFlash.defaults, options);
			return this.each(function(){
				if(options.src != ""){
					var flash = '<object type="application/x-shockwave-flash" data="'+options.src+'?clicktag=./" width="'+options.width+'" height="'+options.height+'" tabindex="0" title="'+options.title+'">'
					flash += '<param name="movie" value="'+options.src+'?clicktag=./" />'
					flash += '<param name="quality" value="'+options.quality+'" />'
					flash += '<param name="menu" value="'+options.allowFullScreen+'" />'
					flash += '<param name="wmode" value="'+options.wmode+'" />'
					flash += '<p>Para visualizar este conteúdo corretamente, é necessário ter o <a title="Clique para instalar o flash player" href="http://www.macromedia.com/shockwave/download/alternates/" rel="nofollow">Flash Player</a> instalado.</p>'
					flash += '</object>'
					$(this).html(flash);
				}
			});
		}
	});
$("#box_flash").addFlash({src: "flash/teaser02.swf", width: 926, height: 317, title: "Vecchio"});
$("#flashcontentJoias").addFlash({src: "../../flash/joias.swf", width: 924, height: 360, title: "Vecchio Joias"});
$("#flashcontentAneis").addFlash({src: "../../flash/aneis.swf", width: 924, height: 360, title: "Vecchio Anéis"});
$("#flashcontentbrincos").addFlash({src: "../../flash/brincos.swf", width: 924, height: 360, title: "Vecchio Brincos"});
$("#flashcontentColares").addFlash({src: "../../flash/colares.swf", width: 924, height: 360, title: "Vecchio Colares"});
$("#flashcontentcompra").addFlash({src: "../../flash/anime1.swf", width: 457, height: 453, title: "Vecchio compra, Venda e Troca"});
});