// PNG fix for Internet Explorer
/*
$(document).ready(function(){ 
	$(document).pngFix(); 
}); 
*/


//Toggle function for hidden information
$(document).ready(function() {

	$('div.expander').hide(); 

	$("a.expander_btn").toggle(function(){
		$(this).text("Hide...");
		},function(){
		$(this).text("Read more...");
	});

	$('a.expander_btn').click(function() {
		$(this).next().slideToggle(200);
	});
});

$(document).ready(function() {

	/* This is basic - uses default settings */

	
	$(".iframe").fancybox({
		'centerOnScroll': true,
		'overlayShow':	false,
		'opacity':		true,
		'overlayOpacity': 0.3,
		'padding':		10,
		'width':		800,
		'height':		'80%',
		'scrolling': 'auto',
		'type': 'iframe'
	});

	$(".iframe-2").fancybox({
		'centerOnScroll': true,
		'overlayShow':	false,
		'opacity':		true,
		'padding':		10,
		'width':		800,
		'height':		'65%',
		'scrolling': 'auto',
		'type': 'iframe'
	});	

	
	$(".popcall").fancybox({
		'centerOnScroll': true,
		'overlayShow':	false,
		'titleShow':	false,
		'width':	600,
		'height':	375,
		'scrolling': 'auto',
		'type': 'iframe'
	});
	
	/* Using custom settings */
	

	$("a.group").fancybox({
		'zoomSpeedIn':		300, 
		'zoomSpeedOut':	300, 
		'overlayShow':		false
	});
});