//OCMS CASE 202701 - THIS FUNCTION SOLVES THE PROBLEM WITH NAME.DLL
//DON'T DELETE!!!!
function ProcessImn()
{

}

/* This part defines the sIFR stuff */
$().ready(function(){
	if(typeof sIFR == "function"){
											
		
		bodyh1=named({
						sSelector:"body h1",
						sFlashSrc:"/asset/js/vagRounded.swf",
						sColor:"#756C63",
						sLinkColor:"#000000",
						sBgColor:"#FFFFFF",
						sHoverColor:"#CCCCCC",
						sFlashVars:"textalign=left",
						sWmode: "transparent",
						nPaddingTop:0, 
						nPaddingBottom:0
					});
		sIFR.replaceElement(bodyh1);
		
		homePageH2=named({
						sSelector:".homePage .hero h2",
						sFlashSrc:"/asset/js/vagRounded.swf",
						sColor:"#756C63",
						sLinkColor:"#000000",
						sBgColor:"#FFFFFF",
						sHoverColor:"#CCCCCC",
						sFlashVars:"textalign=left",
						sWmode: "transparent",
						nPaddingTop:0, 
						nPaddingBottom:0
					});
		sIFR.replaceElement(homePageH2);									
		
		// Add DSC
		homeH2=named({
						sSelector:".homePage #contentArea h2",
						sFlashSrc:"/asset/js/vagRounded.swf",
						sColor:"#756C63",
						sLinkColor:"#000000",
						sBgColor:"#FFFFFF",
						sHoverColor:"#CCCCCC",
						sFlashVars:"textalign=left",
						sWmode: "transparent",
						nPaddingTop:0, 
						nPaddingBottom:0
					});
		sIFR.replaceElement(homeH2);	

		textContainerH2=named({
						sSelector:".textContainer h2",
						sFlashSrc:"/asset/js/vagRounded.swf",
						sColor:"#756C63",
						sLinkColor:"#000000",
						sBgColor:"#FFFFFF",
						sHoverColor:"#CCCCCC",
						sFlashVars:"textalign=left",
						sWmode: "transparent",
						nPaddingTop:0, 
						nPaddingBottom:0
					});
		sIFR.replaceElement(textContainerH2)
											
		landingSubHeading=named({
						sSelector:".textContainer h3",
						sFlashSrc:"/asset/js/vagRounded.swf",
						sColor:"#756C63",
						sLinkColor:"#000000",
						sBgColor:"#FFFFFF",
						sHoverColor:"#CCCCCC",
						sFlashVars:"textalign=left",
						sWmode: "transparent",
						nPaddingTop:0, 
						nPaddingLeft:0,
						nPaddingBottom:0
					});
		sIFR.replaceElement(landingSubHeading);														
	};	
								
});


/* improving accessibility adding hover/focus capabilities to IE6 buttons */
$().ready(function(){	
	if($.browser.msie){	
		$("button").focus(function(){
								   	$(this).addClass("hover")}
						).blur(function(){
									$(this).removeClass("hover")
						}).hover(	function(){
								   	$(this).addClass("hover")},
							function(){
									$(this).removeClass("hover")}
						 )							
	}
							
});

/* initialize the Ajax handler */
$().ready(function(){
	//Adecco.init();
	//Adecco.dynamicInputText();
	//Adecco.footerDropDownLinks();
	//Adecco.faqPanelsInit();
	//Adecco.miniPanelsInit();
});




Adecco={
	
	//used by the firstPage / lastPage buttons	
	currentPage:1,		
	pagesCount:0,
	sortBy:null,
	newsCollection:null,
	currentNews:-1,
	rotatorHandler:null,
	
	init:function(){			
            
		$(document.body).addClass("hasJs");
			
	}
}