/* Print */
function MVAPrintPage(url,params){
	var PrintWindow = window.open(url + '?TemplateId=37' + params, 'PrintWindow','width=700,height=450');
	//Print.Window.focus();
}


/*SFIR*/

var KlavikaLight = { src: '/media/1033_426.swf' };

var KlavikaMedium = { src: '/media/1033_427.swf' };

//sIFR.fitExactly = true;  //NOTE: disables text right align
sIFR.fixWrap = true;

 

sIFR.activate(KlavikaLight);
sIFR.activate(KlavikaMedium);



sIFR.replace(KlavikaMedium, {
selector: 'h1.pageHeader',
css: '.sIFR-root {font-size: 13px;font-weight:bold;text-transform: uppercase; color: #000000}',
	wmode: 'transparent'
});

sIFR.replace(KlavikaMedium, {
    selector: 'h2.header',
    css: ['.sIFR-root {font-size: 13px;font-weight:bold;text-transform: uppercase; color: #000000}',
	,'a { text-decoration: none;}'
        ,'a:link { color: #000000; }'
        ,'a:hover { color: #000000;}'
      	], 
    wmode: 'transparent'
    });

sIFR.replace(KlavikaLight, {
    selector: 'div.CampaignAreaTitle',
    css: ['.sIFR-root {font-size: 20px;font-weight:normal;text-transform: uppercase; color: #000000;text-align:right; cursor: pointer;padding:0;margin:0;}',
	,'a { text-decoration: none;}'
        ,'a:link { color: #000000; }'
        ,'a:hover { color: #000000;}'
      	],  
    wmode: 'transparent'
});



sIFR.replace(KlavikaLight, {
    selector: 'div.CampaignAreaText',
    css: ['.sIFR-root {font-size: 35px;font-weight:normal;text-transform: uppercase; color: #000000;text-align:right; cursor: pointer;padding:0;margin:0;}',
	,'a { text-decoration: none;}'
        ,'a:link { color: #000000; }'
        ,'a:hover { color: #000000;}'
	],  
    wmode: 'transparent'
    });

sIFR.replace(KlavikaLight, {
    selector: 'div.CampaignAreaLink',
    css: [
    	'.sIFR-root {font-size: 14px;font-weight:normal;text-transform: uppercase; color: #000000;text-align:right; cursor: pointer;padding:0;margin:0;}'
    	,'a { text-decoration: none;}'
        ,'a:link { color: #000000;}'
        ,'a:hover { color: #000000;text-decoration: underline; }'
	],   
	wmode: 'transparent'
    });
  
sIFR.replace(KlavikaMedium, {
    selector: 'li.NavigationItems',
    css: [
    	'.sIFR-root {font-size: 11px;text-transform: uppercase; color: #ffffff;padding:0;margin:0;}'
    	,'a { text-decoration: none; color: #ffffff; }'
        ,'a:link { color: #ffffff; }'
        ,'a:hover { color: #ffffff;text-decoration: none; }'
	],   
	wmode: 'transparent'
    });
    
sIFR.replace(KlavikaMedium, {
    selector: 'li.NavigationItemsSelected',
    css: [
    	'.sIFR-root {font-size: 11px;text-transform: uppercase; color: #6a9233;padding:0;margin:0;}'
    	,'a { text-decoration: none; color: #6a9233;'
        ,'a:link { color: #6a9233; }'
        ,'a:hover { color: #6a9233;text-decoration: none;  }'
	],   
	wmode: 'transparent'
    });
   
   
 sIFR.replace(KlavikaLight, {
    selector: 'li.topNavigationItems',
    css: ['.sIFR-root {font-size: 10px;text-transform: uppercase;}'
    	,'a { text-decoration: none; color: #000000;'
        ,'a:link { color: #000000; }'
        ,'a:hover { color: #000000;text-decoration: underline;  }'
	],   
	wmode: 'transparent'
    });
    
sIFR.replace(KlavikaMedium, {
    selector: 'li.topNavigationItemsSelected',
    css: ['.sIFR-root {font-size: 10px;text-transform: uppercase;}'
    	,'a { text-decoration: none; color: #000000;font-weight:bold;'
        ,'a:link { color: #000000; }'
        ,'a:hover { color: #000000;text-decoration: none;  }'
	],   
    	wmode: 'transparent'
    });
    
    
sIFR.replace(KlavikaLight, {
    selector: 'div.CampaignInfoBoxTitle',
    css: ['.sIFR-root {font-size: 18px;font-weight:normal;text-transform: uppercase; color: #ffffff;}',
	,'a { text-decoration: none;color: #ffffff;}'
        ,'a:link { color: #ffffff; }'
        ,'a:hover { color: #ffffff; }'
      	],  
    wmode: 'transparent'
});


sIFR.replace(KlavikaLight, {
    selector: 'div.CampaignInfoBoxLinks',
    css: ['.sIFR-root {font-size: 13px;font-weight:normal; color: #ffffff;margin-bottom: 50px;}',
	,'a { text-decoration: none;color: #ffffff;margin-bottom: 50px;}'
        ,'a:link { color: #ffffff;}'
        ,'a:hover { color: #ffffff; }'
      	],  
    wmode: 'transparent'
});


//sIFR.replace(modula, {
//  selector: 'h3.invert',
//  css: '.sIFR-root {font-size: 23px; color: #ffffff; padding: 0; margin:0}',
//	wmode: 'transparent',
//	filters: {
//	  DropShadow: {
//	    knockout: false
//	    ,distance: 0.5
//	    ,color: '#000000'
//	    ,strength: 0.7
//	  }
//	}
//});

var delay = 4000;
	var start_frame = 0;
	
	function init() {
		if ($('slide-images') != null) {
		var lis = $('slide-images').getElementsByTagName('li');
			for( i=0; i < lis.length; i++){
			if(i!=0){
				lis[i].style.display= 'none';
			}
			
			
		}
		end_frame = lis.length -1;
	
		start_slideshow(start_frame, end_frame, delay, lis);
		
		}


		
	}
	
	
	
	function start_slideshow(start_frame, end_frame, delay, lis) {
	
		setTimeout(fadeInOut(start_frame,start_frame,end_frame, delay, lis), delay);
		
	}
	
	
	function fadeInOut(frame, start_frame, end_frame, delay, lis) {
	

		return (function() {

			
			lis = $('slide-images').getElementsByTagName('li');
		

			Effect.Fade(lis[frame]);
			if (frame == end_frame) { frame = start_frame; } else { frame++; }
			lisAppear = lis[frame];
						

			setTimeout("Effect.Appear(lisAppear);", 0);
			
			setTimeout(fadeInOut(frame, start_frame, end_frame, delay), delay + 1850);
			
					

			
		})
		
	}
	
	Event.observe(window, 'load', init, false); 




if (document.all && navigator.userAgent.toLowerCase().indexOf('msie 6') == -1) {sIFR.repaintOnResize = true;};
