window.addEvent('domready', function() {

	politixPage = {
		
		//initPageFixes: function() {
			//$$('#footer li:last-child').setStyle('borderRight', 'none');
		//},
		
		createStickyWindows: function() {
			
			// setup objects
			stickyPrivacy = new StickyWin.Fx({
				content: $('privacypolicy').get('html'),
				position: 'center',
				offset: {x: 0, y: 0},
				edge: 'center',
				fade: true,
				fadeDuration: 600,
				showNow: false
			});
			
			stickyDisclaimer = new StickyWin.Fx({
				content: $('disclaimer').get('html'),
				position: 'center',
				offset: {x: 0, y: 0},
				edge: 'center',
				fade: true,
				fadeDuration: 600,
				showNow: false
			});
			
			// bindings
			$$('#footer li.privacy a').addEvent('click', function () {
				stickyPrivacy.show();
				return false;
			});
			
			// bindings
			$$('#footer li.disclaimer a').addEvent('click', function () {
				stickyDisclaimer.show();
				return false;
			});

		}
		
		
	};


	//politixPage.initPageFixes();
	//politixPage.createStickyWindows();


});