document.write("<style>.navigationPrimary .dropdown { display: none; }</style>");
/*Execute your scripts when DOM is ready.*/
$(document).ready(function() {		
	/*Initialize Primary Navigation*/
	$(".navigationPrimary .dropdown").toggle();
	ddsmoothmenu.init({
		mainmenuid: "navigationPrimary", /*menu DIV id*/
		orientation: 'h', /*Horizontal or vertical menu: Set to "h" or "v"*/
		//classname: '.dropdown', /*class added to menu's outer DIV*/
		//customtheme: ["#1c5a80", "#18374a"],/**/
		contentsource: "markup" /*"markup" or ["container_id", "path_to_menu_file"]*/
	})
	
	/*Add blockquote quotes*/
	$("blockquote").prepend('<img class="openQuote" alt="" src="/images/display/bullets/openQuote.gif" />');
	$("blockquote").append('<img class="closeQuote" alt="" src="/images/display/bullets/closeQuote.gif" />');
	
	/*Add text dropshadows*/

    $("h3.spifHeadline").textShadow({x:'2',y:'2',radius: '2',color:'#333333'});
    $("h3.spifHeadline").css('text-shadow','#333333 1px 1px 2px');

    // initialize scrollable together with the autoscroll plugin for home page wide banner
    var root = $(".wideBanner .scrollable").scrollable({circular: true}).autoscroll({ autoplay: true, interval: 5000 });
    // provide scrollable API for the action buttons
    window.api = root.data("scrollable");

	/* initialize drop shadows*/
	
	if ($.browser.msie) {
		$('.bannerImage').boxShadow(0, 0, 7, "#666666");
	}

	//Initialize rounded corners based on roundCornerClass
	$(".callout").corner("10px");
	$(".button a").corner("10px");
});
