_strOverlayElement = '<iframe src="#" width="400" height="300" scrolling="no" frameborder="0"></iframe>';

$(window).ready(function () {
	$("body").addClass("js");	
	$("body").append('<div id="overlay" style="display:none"><div id="ovrlayTitle" class="clearfix"><div id="mediaName">'+oslerMedia+'</div><div id="ovrlayClose" class="close"></div></div>'+_strOverlayElement+'</div>');
	if (trim($("#crumbTrail").html()) == ""){
		$("#breadCrumb").remove();
	}
});

function btnSearch_click(txtKeyword){
	 var TextField = document.getElementById('search');
	if(TextField.value != "")
		window.location.href = "/Search/SearchResults.aspx?kwd=" + encodeURIComponent(TextField.value);
	else
		alert("Please enter text");
}




function trim(stringToTrim) {
	return stringToTrim.replace(/^\s+|\s+$/g,"");
}


function getFlashMovieObject(movieName) { 
	if (window.document[movieName]) { 
		return window.document[movieName]; 
	} 
	if (navigator.appName.indexOf("Microsoft Internet") == -1) { 
		if (document.embeds && document.embeds[movieName]) 
			return document.embeds[movieName]; 
	} 
	else // if (navigator.appName.indexOf("Microsoft Internet")!=-1) 
	{ 
		return document.getElementById(movieName); 
	} 
} 

	function slideExpertiseSecDown(foo){
            $("#expertiseContainer").slideDown();
            foo.fadeOut(function() {
                "normal", $(this).html('<img src="/images/btnIconClose.gif" class="iconOpenClose" /> '+closeExpertiseOptions).fadeIn();
                $("#expertiseContainer").after('<a class="expandableIcon" id="areaExpertise2" style="display:none"><img src="/images/btnIconClose.gif" class="iconOpenClose" /> '+closeExpertiseOptions+'</a>');
                $("#areaExpertise2").fadeIn();
            });		
	}
	

	function slideIndustryExpertiseSecDown(foo){
            $("#industryExpertiseContainer").slideDown();
            foo.fadeOut(function() {
                "normal", $(this).html('<img src="/images/btnIconClose.gif" class="iconOpenClose" /> '+closeIndustryExpertiseOptions).fadeIn();
                $("#industryExpertiseContainer").after('<a class="expandableIcon" id="industryExpertise2" style="display:none"><img src="/images/btnIconClose.gif" class="iconOpenClose" /> '+closeIndustryExpertiseOptions+'</a>');
                $("#industryExpertise2").fadeIn();
            });		
	}	
	
// create custom animation algorithm for jQuery called "bouncy"
$.easing.bouncy = function (x, t, b, c, d) {
	var s = 1.70158;
	if ((t/=d/2) < 1) return c/2*(t*t*(((s*=(1.525))+1)*t - s)) + b;
	return c/2*((t-=2)*t*(((s*=(1.525))+1)*t + s) + 2) + b;
}

// create custom tooltip effect for jQuery Tooltip
$.tools.tooltip.addEffect("bouncy",

	// opening animation
	function(done) {
		this.getTip().animate({top: '+=10'}, 500, 'bouncy', done).show();
	},

	// closing animation
	function(done) {
		this.getTip().animate({top: '-=10'}, 500, 'bouncy', function()  {
			$(this).hide();
			done.call();
		});
	}
);


$(document).ready(function() {
						   
var browser=navigator.appName;
var b_version=navigator.appVersion;
var version=parseFloat(b_version);				



	$(".bookmarkLink").click(function(e){
			e.preventDefault();
			var success=false;
			
			// try each until all fail...
			try {
				window.external.AddFavorite(window.location, document.title);
				success=true;
		   } catch(e) {}
		
			try {
				window.sidebar.addPanel(document.title,location.href,'');
				success=true;
			} catch(e) {}
		
			if(!success)
			{
				alert("One click bookmarking is not supported on your current browser.\r\n\r\nPress CTRL+D, or CMD+D\r\nto manually bookmark this page.");
			}

				
			
	});
						   
    function crossfadeFX(itemName, pos) {
		$(itemName)
			.css({ backgroundPosition: pos })
			.wrapInner("<div class=\"hoverarea\"></div>")
			.prepend("<div class=\"hoverimage\"></div>");
		$(itemName + " .hoverimage").css({ opacity: 0 })
		$(itemName + " .hoverarea")
			.mouseover(function(){
				$(this).parent().find("div.hoverimage").stop().animate({ opacity: 1 }, 250);
			})
			.mouseout(function(){
				$(this).parent().find("div.hoverimage").stop().animate({ opacity: 0 }, 550) ;
			})
	}


	function customRange(input) { 
		return {minDate: (input.id == 'dateToSelector' ? 
			$('.dateFromSelector').datepick('getDate') : null), 
			maxDate: (input.id == 'dateFromSelector' ? 
			$('.dateToSelector').datepick('getDate') : null)}; 
	}


    $.fn.overlabel = function() {
        this.each(function() {
            var $label = $(this), $input = $('#' + $label.attr('for'));
            $label.addClass('overlabel').bind('click', function(event) {
                $input.focus();
            });
            $input.bind('focus blur', function(event) {
                $label.css('display', (event.type == 'blur' && !$input.val() ? '' : 'none'));
            }).trigger('blur');
        });
    };

    $.fn.fadeToggle = function(speed, easing, callback) {
        return this.animate({ opacity: 'toggle' }, speed, easing, callback);
    };
    $.fn.slideFadeToggle = function(speed, easing, callback) {
        return this.animate({ opacity: 'toggle', height: 'toggle' }, speed, easing, callback);
    };

	crossfadeFX("a.imgCrossFade", "0 0");
	
	$('.dateFromSelector,.dateToSelector').datepick({beforeShow: customRange, 
    dateFormat: 'yy/mm/dd', showOn: 'both', buttonImageOnly: true, buttonImage: '/images/iconCalendar.gif', showAnim:'fadeIn', closeAtTop: false}); 

	
	$(".formatContainer a[title], ul.icons a[title]").after("<div class=\"tooltip\"></div>").tooltip({ 
		events: { 
		    def:  "mouseover,mouseout",
			tooltip: ""
		},
        tip: '.tooltip',
        effect: 'slide', 
		direction: 'down',
		delay :	50,
        slideInSpeed: 300, 
		slideOutSpeed: 300,
        predelay: 400,
		slideOffset : 6,
		bounce : false,
		offset : [0,0],
		relative:true,
        position: "bottom center",
		onBeforeShow: function() { 
			var hoverClass = "hovertip";
			var el = this.getTip();
			var t = $(el).clone(false).hide().css({'position': 'absolute','width': 'auto','overflow': 'visible'});
			$("body").prepend(t);
			var totalWidth = t.width() + 6;
			t.remove();
			var tooltip = this.getTip().wrapInner("<div class=\'" + hoverClass + "\'></div>");
			totalWidth += parseInt($(tooltip).find("." + hoverClass).css("padding-left"), 10) + parseInt($(tooltip).find("." + hoverClass).css("padding-right"), 10);
			$(tooltip).css({'width': totalWidth});
    	} 
    });

    //set slide panel initial heights dynamically

    $(".slidePanel a.showMoreAnchor").each(function() {

        totalHeight = 0;
        first2height = 0;
        count = 0;
        thisButton = $(this);

        thisListContainer = thisButton.parent().prev(".vertical.expandable");
	
		
			$(thisListContainer).find("li").each(function(i) {
				count++;
				totalHeight += $(this).height();
	
				if (count < 3) {
					first2height += $(this).height();
				}
	
			});
	
			if (count < 3) {
				thisButton.prev("a.viewAllAnchor").css("display", "block");
				thisButton.css("display", "none");
			}
	
			thisButton.data("fullHeight", totalHeight + 80);
			thisButton.data("first2height", first2height + 15);
	
			if ($.browser.msie && $.browser.version == 6) {
				//animate for ie6 bug
				thisListContainer.animate({ height: thisButton.data("fullHeight") + "px" }, 1);
				thisListContainer.animate({ height: thisButton.data("first2height") + "px" }, 1);
			} else {
				thisListContainer.css("height", first2height + 15);
			}

    });




    $(".slidePanel a.showMoreAnchor").toggle(function() {
        thisButton = $(this);
        thisListContainer = thisButton.parent().prev(".vertical.expandable");
        thisButton.addClass("active");
        thisListContainer.animate({ height: thisButton.data("fullHeight") + "px" }, 1000, '', thisButton.prev("a.viewAllAnchor").fadeIn('normal'));
        thisButton.html("<span>"+showLess+"</span>");
    }, function() {
        thisButton = $(this);
        thisButton.removeClass("active");
        thisButton.parent().prev(".vertical.expandable").animate({ height: thisButton.data("first2height") + "px" }, 1000, '', thisButton.prev("a.viewAllAnchor").fadeOut('normal'));
        thisButton.html("<span>"+showMore+"</span>");

    });
	


    /* ie6 pseudo class hover fix */
    $('.submitButton').not("#btnGo").hover(
		function() { $(this).addClass('submitButtonHover'); }, function() { $(this).removeClass('submitButtonHover'); }
	);

    $(".submitButton").not("#btnGo").mousedown(function() {
        $(this).addClass('submitButtonActive')
    }).mouseup(function() {
        $(this).removeClass('submitButtonActive')
    });
    /* end hover fix */

    $.easing.custom = function(x, t, b, c, d) {
        if (x == undefined) x = 1.70158;
        if ((t /= d / 2) < 1) return c / 2 * (t * t * (((x *= (1.525)) + 1) * t - x)) + b;
        return c / 2 * ((t -= 2) * t * (((x *= (1.525)) + 1) * t + x) + 2) + b;

    }

    // initialize scrollable 
    $("div.scrollable").scrollable({
        vertical: true,
        size: 2,
        easing: "custom",
        speed: 700
        // use mousewheel plugin
    }).mousewheel();
    /*
    $('#mainNavigation').lavaLamp({
    fx: 'easeInOutExpo',
    speed: 1000,
    autoReturn: false
    });
    */

    /* insert shadows into Main nav */
	if (langStr == "fr"){
		navImgType = "gif";
	}else{
		navImgType = "jpg";
	}
    $("#navExpertise a").after('<img src="/images/'+langStr+'/navMainShadowExpertise.'+navImgType+'" alt="" style="display:none" />');
    $("#navPeople a").after('<img src="/images/'+langStr+'/navMainShadowOurPeople.'+navImgType+'" alt="" style="display:none" />');
    $("#navNews a").after('<img src="/images/'+langStr+'/navMainShadowNewsAndResources.'+navImgType+'" alt="" style="display:none" />');
    $("#navStudent a").after('<img src="/images/'+langStr+'/navMainShadowStudents.'+navImgType+'" alt="" style="display:none" />');
    $("#navCareer a").after('<img src="/images/'+langStr+'/navMainShadowCareers.'+navImgType+'" alt="" style="display:none" />');

/* for mandarin class override above shadow sources  */
    $("#navExpertise a.mandarin").next().attr('src', '/images/'+langStr+'/btn_rollover.zh-CHS.jpg');
	$("#navExpertise a.mandarin").next().addClass('fixSpace');
	$("#navPeople a.mandarin").next().attr('src', '/images/'+langStr+'/btn_rollover.zh-CHS.jpg');
	$("#navPeople a.mandarin").next().addClass('fixSpace');
	$("#navNews a.mandarin").next().attr('src', '/images/'+langStr+'/btn_rollover.zh-CHS.jpg');
	$("#navNews a.mandarin").next().addClass('fixSpace');
	$("#navStudent a.mandarin").next().attr('src', '/images/'+langStr+'/btn_rollover.zh-CHS.jpg')
	$("#navStudent a.mandarin").next().addClass('fixSpace');
    $("#navCareer a.mandarin").next().attr('src', '/images/'+langStr+'/btn_rollover.zh-CHS.jpg');
	$("#navCareer a.mandarin").next().addClass('fixSpace');
	
    //$("#mainNavigation li:not(.mainNavHere) a").tooltip();
//mandarinNavMod

/* for mandarin tooltips */
  $("#footerLinks a[title]").tooltip({effect: 'bouncy', offset: [-8, 0], predelay: 200});
  $("#privacyLinks a[title]").tooltip({effect: 'bouncy', offset: [-8, 0], predelay: 200});
  $(".showTooltips a[title]").tooltip({effect: 'bouncy', offset: [-8, 0], predelay: 200});
  $("#secondaryNavigation a[title].showTooltips").tooltip({offset: [10,2], effect: 'bouncy'}).dynamic({ bottom: { direction: 'down' } });
 
//

	$(".mandarinNavMod a").hoverIntent(
      function() {
	  	alert('hi');return;
		var $li = $(this).parents('li');
		$li.text($('body').data('lang')[$li.attr('id')]);
      },
      function() {
      }
	);

    $("#mainNavigation li:not(.mainNavHere) a").hoverIntent(
      function() {
		$(this).next().fadeIn("fast");
      },
      function() {
          $(this).next().fadeOut("slow");
      }
    );

    if ($.browser.msie && $.browser.version == 6) {
        $("#expertiseContainer").slideUp("fast");
    } else {
        $("#expertiseContainer").hide();
    }




    $("#areaExpertise, #industryExpertise").removeAttr("href").css("cursor", "pointer");

    $(".tableOfContentsLink").live("click", function(e) {
		e.preventDefault();
        thisBtn = $(this);
		thisContainer = thisBtn.next(".tableOfContentsContainer");
		thisIcon = $(this).find(".iconOpenClose");

        if (thisContainer.css("display") == "none") {
            thisContainer.slideDown();
            thisIcon.fadeOut(function() {
                "normal", $(this).attr("src", "/images/btnIconClose.gif").fadeIn();
            });
        } else if (thisContainer.css("display") == "block") {
            thisContainer.slideUp();
            thisIcon.fadeOut(
			function() {
                "normal", $(this).attr("src", "/images/btnIconOpen.gif").fadeIn();
			});

        }

    });
	
	$("#areaExpertise, #areaExpertise2").live("click", function() {
        var thisBtn = $("#areaExpertise");
		
        if ($("#expertiseContainer").css("display") == "none") {

			slideExpertiseSecDown(thisBtn);
        } else if ($("#expertiseContainer").css("display") == "block") {

            $("#expertiseContainer").slideUp();
            /*			$('#expertiseContainer input:checkbox').removeAttr('checked'); */
            thisBtn.fadeOut(
			function() {
			    "normal",
			$(this).html('<img src="/images/btnIconOpen.gif" class="iconOpenClose" /> '+chooseArea).fadeIn();
			    $("#areaExpertise2").remove();
			});

        }

    });
	
	$("#industryExpertise, #industryExpertise2").live("click", function() {
        var thisBtn = $("#industryExpertise");
		
        if ($("#industryExpertiseContainer").css("display") == "none") {

			slideIndustryExpertiseSecDown(thisBtn);
        } else if ($("#industryExpertiseContainer").css("display") == "block") {

            $("#industryExpertiseContainer").slideUp();
            /*			$('#expertiseContainer input:checkbox').removeAttr('checked'); */
            thisBtn.fadeOut(
			function() {
			    "normal",
			$(this).html('<img src="/images/btnIconOpen.gif" class="iconOpenClose" /> '+chooseAreaIndustry).fadeIn();
			    $("#industryExpertise2").remove();
			});

        }

    });	

    $("#clearChk").live("click", function() {
        $(':input')
		 .not(':button, :submit, :reset, :hidden, :checkbox, :radio')
		 .val('');
	
        $('input:checked').removeAttr('checked');

        $('select').val("0");


    });

    $("#vertGreenLine").before('<button class="submitButton" type="button" value="clear" id="clearChk" onClick=""><span>'+clear+'</span></button>');


    $(".ourPeopleSubmit, .pubResourceSubmit").click(function() {

		var valid = false;
		var dateValid = true;
		var thisBtn = $(this);


		$(".rightColumnContainer input[type='text']").each(function() {

			if (trim($(this).val()) != "") {
				valid = true;
			}

		});

		if (valid == false) {

			if ($(".rightColumnContainer input[type='checkbox']:checked").length > 0) {
				valid = true;

			}
		}
		if (valid == false) {

			$(".rightColumnContainer select").each(function() {

				if ($(this).val() != 0) {
					valid = true;
				}
			});
		}
		
				
		if ($(this).hasClass("pubResourceSubmit")){
				
			$(".dateSelector").each(function(){
				 
				if($(this).val() != "" && !$(this).val().match(/^(\d{4})[./-](\d{1,2})[./-](\d{1,2})$/)){
						dateValid = false;
						$(this).addClass("error");
						return false; //break
				}
				
				
			});			

			
		}

		

		if (valid == true && dateValid == true) {
			thisBtn.attr("onClick", thisBtn.data("myOnClickVal"));
			$(".hiddenButton").click();
		} else {
			
			$.scrollTo("#header", 800, { onAfter: function() { 
														   
				if (valid == false){
					$(".formInvalid").slideDown();
				}
				
				if (dateValid == false){
					$("#invalidDate").slideDown();
					if (valid == true){
						$(".formInvalid").slideUp() 
					}
				}
				

			} });
		}

    });
	

	
	$(".backToTop a, .smoothAnchor a, a.smoothScroll").click(function(e){
		e.preventDefault(); 
		var thisScrollObj = "";
		var thisHref = $(this).attr("href");
		var found = 0;

		if ($(thisHref).length == 0){
			
			thisScrollObj = $("a[name="+thisHref.substr(1)+"]");
			found = 1;
			
		}else{

			thisScrollObj = thisHref;
			found = 1;
		}
		if (found){
			$.scrollTo(thisScrollObj, {duration: 1300, onAfter: function() { document.location.hash = thisHref.toString() } });
			 
		}
	});
	
	$.tools.tabs.addEffect("slide", function(i, done) { 
		var currentTab = this.getTabs().eq(i);		
		var tabs = this.getTabs();
		this.getPanes().slideUp();

		this.getPanes().eq(i).slideDown(function()  { 
			 tabs.find(".iconOpenClose").each(function() {
				if($(this).attr("src") == "/images/btnIconHere.gif") {
					$(this).attr("src", "/images/btnIconOpen.gif");
				}
			 });
			 currentTab.find(".iconOpenClose").attr("src", "/images/btnIconHere.gif");
			 done.call(); 
		}); 
	});	
	$("#accordion").tabs("#accordion div.tableOfContents", {tabs: 'a.expandableIcon', effect: 'slide', initialIndex: 0});

	if ($("#guideOrderedList li.here").length){
		
			$("#guideOrderedList").closest("div.tableOfContentsContainer").hide().prev().find("img.iconOpenClose").attr("src", "/images/btnIconOpen.gif");
	}


	
	$(".expertiseSubmit").click(function(){
		var valid = false;
		var thisBtn = $(this);	

		
		$(".leftColumn input[type='text']").each(function() {

			if (trim($(this).val()) != "") {
				valid = true;
			}

		});		
		
		if (valid == true) {
		
			$(".hiddenButton").click();

		} else {

			$.scrollTo("#expertiseInvalid", 800, { onAfter: function() { $("#expertiseInvalid").slideDown() } });


		}			
		

										 
	});
/*	
	$("input.expertiseTextbox").keypress(function(){
	
		if ($(this).keycode == 13){
			$(".expertiseSubmit").click();
		}
												  
	});
*/


	function getQuerystring(key, default_, qStringUrl)
	{
	  if (default_==null) default_="";
	  key = key.replace(/[\[]/,"\\\[").replace(/[\]]/,"\\\]");
	  var regex = new RegExp("[\\?&]"+key+"=([^&#]*)");
	  var qs = regex.exec(qStringUrl);
	  if(qs == null)
		return default_;
	  else
		return qs[1];
	}
	
    $(".ovrlay").overlay({ 
			target: "#overlay",
			expose: '#456',
			top: "center",
			onBeforeLoad: function() {
			
			var thisHref= this.getTrigger().attr("href");
			var thisHeight = getQuerystring("height", "", thisHref);
			var thisWidth = getQuerystring("width", "", thisHref);			

			if (thisHref.indexOf("video.aspx?") != -1){


			
				$("#overlay iframe").attr("height", parseInt(thisHeight)); 
				$("#overlay iframe").attr("width", parseInt(thisWidth)); 
				$("#overlay #ovrlayTitle").css("width", parseInt(thisWidth)-10); 
				
			}else if (thisHref.indexOf("audio.aspx?") != -1 ){


				$("#overlay iframe").attr("height", parseInt("38")); 
				$("#overlay iframe").attr("width", parseInt("400")); 	
				$("#overlay #ovrlayTitle").css("width", parseInt("386")); 
			}else{
				$("#overlay iframe").attr("height", parseInt(thisHeight)); 
				$("#overlay iframe").attr("width", parseInt(thisWidth)); 	
	
			}
			$("#overlay iframe").attr("src", thisHref); 			
 
        },
		onClose: function(){
	  		$("#overlay iframe").remove();
			$("#overlay").append(_strOverlayElement);
    		
		}
 
    }); 

$("a.overlay").overlay({ 

    expose: '#456',
	top: "center",
	left: "center",
	onBeforeLoad: function() {
		this.getOverlay().appendTo('body'); 
	}
})	



$("#emailSubscriptions").closest("form").validate({
		rules: {
			FName: "required",
			LastName: "required",
			LName: "required",
			Company: "required",
			JobTitle: "required",
			
			Email: {
			  required: true,
			  email: true
			},
			Prenom: "required",
			Nom: "required",
			Entreprise: "required",
			Titre: "required",
			Courriel:  {
			  required: true,
			  email: true
			}
			
			/*,
			
			MailingPreferences: "required",
			Language: "required",
			Type: "required"				
*/
		},
		messages: {
			FName: pleaseEnterFirstName,
			LastName: pleaseEnterLastName,
			LName: pleaseEnterLastName,
			Company: pleaseEnterCompany,
			JobTitle: pleaseEnterJobTitle,
			Email: {
			  required: pleaseEnterEmailAddress,
			  email: pleaseEnterValidEmail
			},
			Prenom: pleaseEnterFirstName,
			Nom: pleaseEnterLastName,
			Entreprise: pleaseEnterCompany,
			Titre: pleaseEnterJobTitle,
			Courriel: {
			  required: pleaseEnterEmailAddress,
			  email: pleaseEnterValidEmail
			}
			/* ,
			MailingPreferences: "Please select a delivery method",
			Language: "Please select a language preference",
			Type: "Please select whether you would like HTML or text emails"				
		*/
		}
	});

	$('#homeBanner')
	.cycle({ 
		speed:  3800,
		pager:  '#homepagePaging',
		speedIn: 800,
		speedOut: 800,
		pause: true
	});
	
/*		$("#homepagePaging").append('<button value="Start Here" type="button" class="submitButton" id="btnStartHere"><span>Start Here</span></button>');*/
	$("#homepagePagingContainer").after('<a id="homeStartButton" class="imgCrossFade" title=""><span>Start Here</span></a>');	

	$("#search").keypress(function(event){
		 if (event.keyCode == '13') {
			 event.preventDefault();
			 btnSearch_click($(this).val());
		   }
								   
	 });
	
	$("#homeStartButton").click(function(){
								 
		var imgMapLocation = $("#homeBanner img:visible").attr("usemap");
		var href = $("Map"+imgMapLocation+" area").attr("href").toString();
		window.location = href;
		


	});

	

if ((browser=="Microsoft Internet Explorer")
  && (version<=6)){
	$("#overviewOverlay").hide().show(); //ie6 hack	
	$("#homepagePaging").hide().show();	

	
}			
		
$(".slideShow").fade({
	pause: 4000,
	speed:800
});	


	 
	
	
	
$("a[rel^='prettyPhoto']").prettyPhoto({
	theme:'osler',
	opacity: 0.64,
	show_title: true,
	hideflash: true,
	allow_resize: true,
	default_height:'500',
	changepicturecallback: function(){
		if (jQuery.browser.msie) {
			$(".pp_close").show();
		
		}else{
			$(".pp_close").fadeIn();
		}		
	},
	markup: '<div class="pp_pic_holder"> \
				<a class="pp_close" href="#">Close</a> \
				<div class="pp_top"> \
					<div class="pp_left"></div> \
					<div class="pp_middle"></div> \
					<div class="pp_right"></div> \
				</div> \
				<div class="pp_content_container gallery clearfix"> \
					<div class="lbHead"></div> \
					<div class="pp_left"> \
					<div class="pp_right clearfix"> \
						<div class="pp_content clearfix"> \
							<div class="pp_loaderIcon"></div> \
							<div class="pp_fade"> \
								<div class="pp_hoverContainer"> \
									<a class="pp_next" href="#">next</a> \
									<a class="pp_previous" href="#">previous</a> \
								</div> \
								<div id="pp_full_res"></div> \
								<div class="pp_details"> \
									<div class="pp_nav"> \
										<a href="#" class="pp_arrow_previous">Previous</a> \
										<a href="#" class="pp_arrow_next">Next</a> \
									</div> \
									<div class="ppt pp_title">&nbsp;</div> \
									<p class="pp_description"></p> \
									<p class="link"><a class="pp_link"></a></p>\
									<div class="pp_pagination"> \
										<p class="currentTextHolder">0/0</p> \
									</div> \
								</div> \
							</div> \
						</div> \
					</div> \
					</div> \
				</div> \
			</div> \
			<div class="pp_overlay"></div>',
	overlay_gallery: false
});

/*
$("#spotlightLink").hover(
function(){
	$("#spotlightOn").trigger('mouseover');
}, 
function(){
	$("#spotlightOn").trigger('mouseout');

});
*/


});





/*
Cufon('#mainNavigation', {
	fontSize: '22px'
});

Cufon.replace('h4, #footerTag p');*/
