/*----------------------------------------
ASVMAE Javascript
Author: Mitch Dunaway
Last Updated: July 13, 2011
(c) 2011 Affiniscape, Inc.
All Rights Reserved. This JavaScript file must not be reproduced without the express written permission of Affiniscape, Inc.
For questions regarding licensing or setup please contact Affiniscape, projects @ affiniscape dot com
----------------------------------------*/

var j = jQuery.noConflict();
j(document).ready(function($){
	
	// Clickable Logo
    $('body').addClickableLogo({
        name: 'American Society of Veterinary Medical Association Executives',
        url: 'http://vmaexecs.org'
    });
    
    // Header Banner
    $('#header-banner').incHeaderBanner();
    
    // Login Widget
    $('#rightnavcell').prepend('<div id="login-widget">Member Login</div>');
	$('#login-widget').incLoginWidget({
		showAutoLogout: false,
		showForgotUser: false,
		buttonImage: '/associations/2872/imgs/btn-login.png',
    	hoverImage: '/associations/2872/imgs/btn-login-hover.png'
	});
	
	// Search Widget
    $('body').append('<div id="search-widget"></div>');
    $('#search-widget').incSearchWidget({
    	showLabel: false,
    	buttonImage: '/associations/2872/imgs/btn-search.png',
    	hoverImage: '/associations/2872/imgs/btn-search-hover.png'
    });
    $('#search-field').before($('#search-button'));
    
    // Sponsor Box
    $('#sponsors').incSponsorBox();
						   
});

