/** 
 * 
 */  
$(document).ready(function()
{
	$('#mark li>a').pdImageRotator({
			rowTimeOut: 6000,
			imageTimeOut: 150,
			fadeOut: 300,
			fadeIn: 500,
			imagesPath: '/data/imgs/',
			imagesList: logoList
	  	});
	// Init pdBox
	$.pdBox.groupNames = ['attached', 'map'];
	$.pdBox.useHistory = false,
	//$.pdHijax.addController($.pdBox.showImageByHash);
		
	$('.thickbox-map, .thickbox').pdBox({minWidth: 400, maxWidth: 830});
	//$('.thickbox').pdBox({minWidth: 540});

	if(typeof sIFR == "function"){
	    sIFR.replaceElement("", named({sFlashSrc: "/swf/NexusSansPro-Regular.swf", sSelector:".home h2.replace, .product-list h2.replace, .contact-form h2.replace", sColor: "#8F8E8D", sCase: "upper", sWmode:"transparent"}));
	};
	
	if(typeof sIFR == "function"){
	    sIFR.replaceElement("", named({sFlashSrc: "/swf/NexusSansPro-Regular.swf", sSelector:"#col-side .in h2", sColor: "#8F8E8D", sBgColor:"#F7F6F0", sCase: "upper", sWmode:"transparent"}));
	};
	
	if(typeof sIFR == "function"){
	    sIFR.replaceElement("", named({sFlashSrc: "/swf/NexusSansPro-Regular.swf", sSelector:"#col-side .in h3", sColor: "#8F8E8D", sBgColor:"#F7F6F0", sCase: "upper", sWmode:"transparent"}));
	};
	
	if(typeof sIFR == "function"){
	    sIFR.replaceElement("h1.replace", named({sFlashSrc: "/swf/NexusSansPro-Regular.swf", sColor: "#333333", sCase: "upper", sWmode:"transparent"}));
	};
	
	if(typeof sIFR == "function"){
	    sIFR.replaceElement("h2.replace", named({sFlashSrc: "/swf/NexusSansPro-Regular.swf", sColor: "#333333", sCase: "upper", sWmode:"transparent"}));
	};
	
});


