var gGrotes = { 
	src: '/nzfiles/verdo/js/sifr/flash/geoGrotesque.swf',
	ratios: [8, 1.3, 9, 1.22, 10, 1.25, 15, 1.22, 19, 1.18, 26, 1.17, 31, 1.15, 36, 1.14, 37, 1.15, 47, 1.14, 68, 1.13, 69, 1.12, 75, 1.13, 1.12]
	};
sIFR.useStyleCheck = true;
sIFR.activate(gGrotes);



sIFR.replace(gGrotes, {
	selector: '#MainNavigation div.ActivateDD'		
		,wmode: 'transparent'
		,forceSingleLine: true
		,onRelease: function(fi){dropMenu()}

	,css: [
		'.sIFR-root { color: #0b1d4e; font-size:14px; margin:0px; text-transform:uppercase; }',
		'a { color: #0b1d4e; text-decoration:none; cursor: pointer; }',
		'a:hover { color: #cb4830; text-decoration:none; cursor: pointer; }'
	]
});
sIFR.replace(gGrotes, {
	selector: '#MainNavigation div.ActivateDDActive'		
		,wmode: 'transparent'
		,forceSingleLine: true
		,onRelease: function(fi){dropMenu()}

	,css: [
		'.sIFR-root { color: #cb4830; font-size:14px; margin:0px; text-transform:uppercase; }',
		'a { color: #cb4830; text-decoration:none; cursor: pointer; }',
		'a:hover { color: #cb4830; text-decoration:none; cursor: pointer; }'
	]
});
sIFR.replace(gGrotes, {
	selector: '#MainNavigation div.Active, #MainNavigation div.ActiveSector'		
		,wmode: 'transparent'
		,forceSingleLine: true

	,css: [
		'.sIFR-root { color: #cb4830; font-size:14px; margin:0px; text-transform:uppercase; }',
		'a { color: #cb4830; text-decoration:none; cursor: pointer; }',
		'a:hover { color: #cb4830; text-decoration:none; cursor: pointer; }'
	]
});
sIFR.replace(gGrotes, {
	selector: '#MainNavigation div'		
		,wmode: 'transparent'
		,forceSingleLine: true

	,css: [
		'.sIFR-root { color: #0b1d4e; font-size:14px; margin:0px; text-transform:uppercase; }',
		'a { color: #0b1d4e; text-decoration:none; cursor: pointer; }',
		'a:hover { color: #cb4830; text-decoration:none; cursor: pointer; }'
	]
});
sIFR.replace(gGrotes, {
	selector: '.NewsBlock h2, .Related h3'		
		,wmode: 'transparent'
		,forceSingleLine: true
	,css: [
		'.sIFR-root { color: #000000; font-size:12px; margin:0px; text-transform:uppercase; }',
		'a { color: #000000; text-decoration:none; cursor: pointer; }',
		'a:hover { color: #000000; text-decoration:none; cursor: pointer; }'
	]
	,filters: {
		DropShadow: {
			knockout: false
			,distance: 1
			,color: '#ffffff'
			,strength: 3
		}
	}
});
/*sIFR.replace(gGrotes, {
	selector: '#AreaButtons span'		
		,wmode: 'transparent'
		,forceSingleLine: true
	,css: [
		'.sIFR-root { color: #000000; font-size:12px; margin:0px; text-transform:uppercase; cursor:pointer; }',
		'a { color: #000000; text-decoration:none; cursor: pointer; }',
		'a:hover { color: #cb4830; text-decoration:none; cursor: pointer; }'
	]
	,filters: {
		DropShadow: {
			knockout: false
			,distance: 1
			,color: '#ffffff'
			,strength: 3
		}
	}
});*/
sIFR.replace(gGrotes, {
	selector: '.NewsBlock .NewsArticle h1, #SectorIntro h1, .SectorHomeContent.Power h1, .NewsListItemImage h2, .NewsListItem h2'		
		,wmode: 'transparent'
	,css: [
		'.sIFR-root { color: #000000; font-size:14px; margin:0px; text-transform:uppercase; }',
		'a { color: #000000; text-decoration:none; cursor: pointer; }',
		'a:hover { color: #000000; text-decoration:none; cursor: pointer; }'
	]
});
sIFR.replace(gGrotes, {
	selector: '.PageHeader'		
		,wmode: 'transparent'
	,css: [
		'.sIFR-root { color: #7cb229; font-size:24px; margin:0px; }',
		'a { color: #000000; text-decoration:none; cursor: pointer; }',
		'a:hover { color: #000000; text-decoration:none; cursor: pointer; }'
	]
});
sIFR.replace(gGrotes, {
	selector: '.QuickFactBox h4'		
		,wmode: 'transparent'
	,css: [
		'.sIFR-root { color: #7cb229; font-size:18px; margin:0px; }',
		'a { color: #000000; text-decoration:none; cursor: pointer; }',
		'a:hover { color: #000000; text-decoration:none; cursor: pointer; }'
	]
});
sIFR.replace(gGrotes, {
	selector: '.NewsListItemImage .Date, .NewsListItem .Date'		
		,wmode: 'transparent'
	,css: [
		'.sIFR-root { color: #767676; font-size:10px; margin:0px; text-transform:uppercase; }',
		'a { color: #000000; text-decoration:none; cursor: pointer; }',
		'a:hover { color: #000000; text-decoration:none; cursor: pointer; }'
	]
});
sIFR.replace(gGrotes, {
	selector: '#ConfigFrame h1, #ConfigFrame h2, #PriceFrame h3, #PriceFrame h4, #AddressFrame h3'		
		,wmode: 'transparent'
	,css: [
		'.sIFR-root { color: #000000; font-size:13px; margin:0px; text-transform:uppercase; }',
		'a { color: #000000; text-decoration:none; cursor: pointer; }',
		'a:hover { color: #000000; text-decoration:none; cursor: pointer; }'
	]
});
sIFR.replace(gGrotes, {
	selector: '.WideHelpTeaser h2, .FAQGroup h3, #TeleContent #Inner h1, .ThreeStepGuide h3, .TeleTab.Active, .Bundle h2'		
		,wmode: 'transparent'
	,css: [
		'.sIFR-root { color: #000000; font-size:18px; margin:0px; text-transform:uppercase; }',
		'a { color: #000000; text-decoration:none; cursor: pointer; }',
		'a:hover { color: #000000; text-decoration:none; cursor: pointer; }'
	]
});
sIFR.replace(gGrotes, {
	selector: '.TeleTab'		
		,wmode: 'transparent'
	,css: [
		'.sIFR-root { color: #666666; font-size:18px; margin:0px; text-transform:uppercase; }',
		'a { color: #666666; text-decoration:none; cursor: pointer; }',
		'a:hover { color: #666666; text-decoration:none; cursor: pointer; }'
	]
});
sIFR.replace(gGrotes, {
	selector: '#PackageSelect .sifr'		
		,wmode: 'transparent'
		,forceSingleLine: true
	,css: [
		'.sIFR-root { color: #000000; font-size:11px; margin:0px; text-transform:uppercase; }',
		'a { color: #000000; text-decoration:none; cursor: pointer; }',
		'a:hover { color: #000000; text-decoration:none; cursor: pointer; }'
	]
});
sIFR.replace(gGrotes, {
	selector: 'h1.LinkButtonHeader, #TeleContentIconTop h1, #TeleContentTop h1'		
		,wmode: 'transparent'
		,forceSingleLine: true
	,css: [
		'.sIFR-root { color: #ffffff; font-size:41px; margin:0px; text-transform:uppercase; }',
		'a { color: #000000; text-decoration:none; cursor: pointer; }',
		'a:hover { color: #000000; text-decoration:none; cursor: pointer; }'
	]
	,filters: {
		DropShadow: {
			knockout: false
			,distance: 1
			,color: '#000000'
			,strength: 1
			,alpha: .58
		}
	}
});
sIFR.replace(gGrotes, {
	selector: '.SuggestedPrice span'		
		,wmode: 'transparent'
		,forceSingleLine: true
	,css: [
		'.sIFR-root { color: #000000; font-size:15px; margin:0px; text-align:center; }',
		'a { color: #000000; text-decoration:none; cursor: pointer; }',
		'a:hover { color: #000000; text-decoration:none; cursor: pointer; }'
	]
});
sIFR.replace(gGrotes, {
	selector: '.HalfBox.Home h2'		
		,wmode: 'transparent'
		,forceSingleLine: true
		,css: [
			'.sIFR-root { color: #0b1d4e; font-size:24px; margin:0px; text-transform:uppercase; }',
			'a { color: #0b1d4e; text-decoration:none; cursor: pointer; }',
			'a:hover { color: #cb4830; text-decoration:none; cursor: pointer; }'
		]
});
sIFR.replace(gGrotes, {
	selector: '.HalfBox.Home .Left p'		
		,wmode: 'transparent'
		,forceSingleLine: true
		,css: [
			'.sIFR-root { color: #6c6c6c; font-size:14px; margin:0px; text-transform:uppercase; }'
		]
});
var timeOut;
function dropMenu(){
	jQuery(".DropDownBox").slideDown();
	clearTimeout(timeOut);
	jQuery(".DropDownBox").hover(
		function () {
			clearTimeout(timeOut);
		}, 
		function () {
			timeOut = setTimeout(function(){jQuery(".DropDownBox").slideUp()},2000);
		}
	);
}

