(function(){
	
	$j = jQuery;
		 
	Website = new function(){

		//Private
		var _self = this;

		//End Private


		//Public

		this.ready = function(){
			
			_self.externalLinksInit();
			
			_self.ifixpng('img[@src$=.png], .add, div#NavigationPrimaryL ul, div#NavigationPrimaryR ul');
			
		};
		
		
		// Fix PNGs
		this.ifixpng = function(selectors){
			$j.ifixpng(Code.resolveUrl('~/_Client/Scripts/Lib/jQueryIFixPNG/images/pixel.gif'));
			$j(selectors).ifixpng();
		};
		
		
		// External links
		this.externalLinksInit = function() {
			$j("a.external").each(function(){
				$j(this).click(function(){return !window.open($j(this).attr('href'));});
			});
		};
		//End Public

	};
	
})();


$j().ready(function(){
	Website.ready();
});