/*----------------------------------------
AAGP Javascript
Author: Marcus Ellis
Last Updated: January 10, 2012
(c) 2012 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: 'Apartment Association of Greater Philadelphia',
        url: 'http://www.aagp.com'
    });
					   
});


// Redirect Mobile Devices
SA.redirection_mobile ({
	noredirection_param: 'noredirection',
	mobile_url: 'aagp.com/mobile',
	cookie_hours: 2
});


// Embed Flash Sponsor Box
function incSponsor() {
	var str = '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,115,0" width="200" height="150"><param name="movie" value="/associations/11216/sponsors.swf" /><param name="quality" value="high" /><param name="wmode" value="transparent" /><embed src="/associations/11216/sponsors.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="200" height="150" wmode="transparent"></embed></object>';
   document.write(str);
}

