/*! DouglasFir_UI v1 <http://nvinteractive.co.nz>
	Copyright (c) NV Interactive
	
	References:
		jquery-1.2.6.js
		
	Release Notes:

		
*/

douglasfir_ui = function(){
	
	document.write('<style type="text/css">');
	document.write("body {display: none;} ");
	document.write('</style>');
	
	var init = function(){
		$("body").css( {display: "block"} );
		
		$("a[href*='.pdf']").addClass("pdf").attr("target", "_blank");
				
		$("a.lightbox").lightBox({
					imageLoading:			'/images/lightbox/lightbox-ico-loading.gif',		// (string) Path and the name of the loading icon
					imageBtnPrev:			'/images/lightbox/lightbox-btn-prev.gif',			// (string) Path and the name of the prev button image
					imageBtnNext:			'/images/lightbox/lightbox-btn-next.gif',			// (string) Path and the name of the next button image
					imageBtnClose:			'/images/lightbox/lightbox-btn-close.gif',		// (string) Path and the name of the close btn
					imageBlank:				'/images/lightbox/lightbox-blank.gif'			// (string) Path and the name of a blank image (one pixel)
								 });
		
		$("#page-header").append("<div id='page-header-overlay'></div>");

	}	
	
	return {
	/* Public API
	*/
	init: init
	}
		
}();


$(document).ready(douglasfir_ui.init);

