	$(function() {

		$.fn.txt2img.defaults.path = '/img/titles/';
		//$.fn.txt2img.defaults.extension = '.png';
		$('.txt2img').txt2img();
		$('.heading').txt2img({path: '/img/headings/'});
		$('.nav-title').txt2img({path: '/img/nav/'});
		$('#price-img').txt2img({path: '/img/titles/', extension: '.jpg', forceFileName: 'img_price'});


		// Use this example, or...
		//$('a[@rel*=lightbox]').lightBox(); // Select all links that contains lightbox in the attribute rel
		// This, or..."D:/02 NameFrames/Website/v3/html/nameframes.css"
		//$('#gallery a').lightBox(); // Select all links in object with gallery ID
		// This, or...
		$('a.lightbox-scroller').lightBox({
			fixedNavigation: true,
			imageBtnClose: '/img/lightbox-btn-close.gif',
			imageBlank: '/img/lightbox-blank.gif',
			imageBtnPrev: '/img/lightbox-btn-prev.gif',
			imageBtnNext: '/img/lightbox-btn-next.gif'
		}); // Select all links with lightbox class
		$('a.lightbox-example').lightBox({
			fixedNavigation: true,
			imageBtnClose: '/img/lightbox-btn-close.gif',
			imageBlank: '/img/lightbox-blank.gif',
			imageBtnPrev: '/img/lightbox-btn-prev.gif',
			imageBtnNext: '/img/lightbox-btn-next.gif'
		}); // Select all links with lightbox class
		// This, or...
		//$('a').lightBox(); // Select all links in the page
		// ... The possibility are many. Use your creative or choose one in the examples above

	});

	$(window).load(function () {

		$("#announcement").css({ marginLeft:"10px", opacity: 0 });
		
		$("#tag1").css({ opacity: 0 });
		$("#tag2").css({ opacity: 0 });
		$("#tag3").css({ opacity: 0 });

		$("#tag1").animate( 
				{ opacity: 1 },
				1000, 
				null,
				function () {
					$("#tag2").animate( 
							{ opacity: 1 },
							1000, 
							null,
							function () {
								$("#tag3").animate( 
										{ opacity: 1 },
										1000, 
										null,
										function () {
											$("#announcement").animate( 
													{ opacity: 1, marginLeft: "265px" },
													1500, 
													null
											);
											
										}

								);
								
							}
					);
					
				}
		);


	});
	
/*
	$(document).ready(function () {	
	
		$(".div-link").click(function() {
			varId = $(this).children("a").attr("href"); 
			alert(varId);
		});
	
	});
*/

/*
      jQuery(document).ready(function($) {
        $("#news").tweet({
          join_text: "auto",
          username: "name_frames",
          //avatar_size: 48,
          count: 5,
          auto_join_text_default: " - ", 
          auto_join_text_ed: " - ",
          auto_join_text_ing: " - ",
          auto_join_text_reply: "we replied",
          auto_join_text_url: "we were checking out",
          loading_text: "loading tweets..."
        });

      })
*/