
var futura = {  src: DNN_skinPath + 'FuturaBold.swf' };
sIFR.activate(futura);
sIFR.replace(futura, {
selector: 'h5', 
wmode: 'transparent', 
src: DNN_skinPath +  'FuturaBold.swf', 
css: [ '.sIFR-root {color:#48525b; text-transform:uppercase; font-weight:bold; }',
		'.sIFR-root a{color:#667c91; text-transform:uppercase; font-weight:bold; }',
		'.sIFR-root a:hover{color:#48525b; text-transform:uppercase; font-weight:bold; }'
	  ]
});



var futuralarger = {  src: DNN_skinPath + 'FuturaBold.swf' };
sIFR.activate(futuralarger);
sIFR.replace(futuralarger, {
selector: 'h5.larger', 
wmode: 'transparent', 
src: DNN_skinPath +  'FuturaBold.swf', 
css: [ '.sIFR-root {color:#48525b; text-transform:uppercase; font-weight:bold; }	'  ]
});



var futuratestimonial = {  src: DNN_skinPath + 'futuraT_bold_obli.swf' };
sIFR.activate(futuratestimonial);
sIFR.replace(futuratestimonial, {
selector: '.testimonial p, .testimonial h6', 
wmode: 'transparent', 
src: DNN_skinPath +  'futuraT_bold_obli.swf', 
css: [ '.sIFR-root {color:#48525b; font-size:14px; font-weight:normal;}'  ]
});



jQuery(document).ready(function(){
										  
	jQuery(".email_image").rollover();									  
										  
	jQuery("#dnn_ctr535_FormMaster_pnlForm > table").attr("cellspacing","0");
	
	jQuery(".activepage").parent().parent().addClass("activeparent");
	jQuery("#Navigation div.sub").hide();
	jQuery("#Navigation a.active").mouseover(function(){
		jQuery("#Navigation div.active:not(div.active:eq("+ jQuery("#Navigation a.active").index(this) + "))").stop().slideUp("fast");
		jQuery("#Navigation div.active:eq("+ jQuery("#Navigation a.active").index(this) + ")").stop().css("height", "auto").slideDown("slow");
	});
	jQuery("#dnn_ContentPane,a.empty").mouseover(function(){
		jQuery("#Navigation div.active").stop().slideUp("fast");
	}); 

	jQuery(".officetour a").lightBox({
			imageLoading: DNN_skinPath + '/images/lightbox/lightbox-ico-loading.gif',
			imageBtnClose: DNN_skinPath + '/images/lightbox/lightbox-btn-close.gif',
			imageBtnPrev: DNN_skinPath + '/images/lightbox/lightbox-btn-prev.gif',
			imageBtnNext: DNN_skinPath + '/images/lightbox/lightbox-btn-next.gif'									 
		});



// Andy Langton's show/hide/mini-accordion - updated 23/11/2009
// Latest version @ http://andylangton.co.uk/jquery-show-hide


// choose text for the show/hide link - can contain HTML (e.g. an image)
var showText='Show';
var hideText='Hide';

// initialise the visibility check
var is_visible = false;

// append show/hide links to the element directly preceding the element with a class of "toggle"
//jQuery('.toggle').prev().append(' (<a href="#" class="toggleLink">'+showText+'</a>)');

// hide all of the elements with a class of 'toggle'
jQuery('.toggle').hide();

// capture clicks on the toggle links
jQuery('a.toggleLink').click(function() {

// switch visibility
is_visible = !is_visible;

// change the link depending on whether the element is shown or hidden
//jQuery(this).html( (!is_visible) ? showText : hideText);

// toggle the display - uncomment the next line for a basic "accordion" style
//$('.toggle').hide();$('a.toggleLink').html(showText);
jQuery(this).parent().next('.toggle').toggle('slow');

// return false so any link destination is not followed
return false;

});

});




// gets rid of focus box on click
if(document.getElementsByTagName) {
var a = document.getElementsByTagName("a");
//collect all anchors A
for(var i = 0; i < a.length; i++){
// mouse onfocus, blur anchors
a[i].onfocus = function(){this.blur();};
}
}


