	var address = "#address";
	var logo = "#logo";
	var addressYloc = null;
	var logoYloc = null;
	function moveBottom(element) {
				wheight = jQuery(window).height();
				eheight = jQuery(element).height();
				offset = wheight+jQuery(document).scrollTop()-(eheight+20);
				if (offset > 200) {jQuery(element).animate({top:offset+'px'},{duration:300,queue:false});
				}
	}
	jQuery.noConflict();
		jQuery(document).ready(function(){jQuery(function(){jQuery(document).pngFix();});
			if (jQuery("input#email").length > 0) {
				jQuery('input#email').example('email address');
			}
			moveBottom('#logo');
			moveBottom('#address');
			jQuery(window).scroll(function () { 
				moveBottom('#logo');
				moveBottom('#address');
			});
			jQuery(window).resize(function() {
				moveBottom('#logo');
				moveBottom('#address');
			});

			if (jQuery("#casestudy").length > 0) {
				jQuery("#casestudy").easySlider({
					//auto: true,
					continuous: true,
					numeric: true,
					easing: 'easeInOutExpo'
				});
			}
			if (jQuery("#hp_slideshow").length > 0) {jQuery('#hp_slideshow').slideShow();}
		}); 
