/*! Murray Capital General v1 <http://nvinteractive.co.nz>
	Copyright (c) NV Interactive
	
	References:
		jquery-1.2.6.js
		
	Release Notes:

		
*/

sbui = function() {

//document.write('<style type="text/css">');
//document.write("body {display: none;} ");
//document.write('</style>');

    var init = function() {
		//$("body").css( {display: "block"} );
		
		var menuSelector = $(".menu-selector").attr("href");
		$("a[href='" + menuSelector + "']").addClass("selected");
		
//	    $("a.lightbox").lightBox({
//					imageLoading:			'/_resx/js/plugins/lightbox/lightbox-ico-loading.gif',		// (string) Path and the name of the loading icon
//					imageBtnPrev:			'/_resx/js/plugins/lightbox/lightbox-btn-prev.gif',			// (string) Path and the name of the prev button image
//					imageBtnNext:			'/_resx/js/plugins/lightbox/lightbox-btn-next.gif',			// (string) Path and the name of the next button image
//					imageBtnClose:			'/_resx/js/plugins/lightbox/lightbox-btn-close.gif',		// (string) Path and the name of the close btn
//					imageBlank:				'/_resx/js/plugins/lightbox/lightbox-blank.gif'			// (string) Path and the name of a blank image (one pixel)
		//								 });

		$.superbox();


	     /* [ Add code for browsers ] */
	     if (jQuery.browser.safari) $("body").addClass("webkit");
	     if (jQuery.browser.msie) $("body").addClass("msie");
	     if (jQuery.browser.mozilla) $("body").addClass("mozilla");
		
    }

    return {
        /* Public API
        */
        init: init
    }

} ();


$(sbui.init);


