/*
 * MyFonts Webfont Build ID 757800, 2011-04-14T13:47:22-0400
 * 
 * The fonts listed in this notice are subject to the End User License
 * Agreement(s) entered into by the website owner. All other parties are 
 * explicitly restricted from using the Licensed Webfonts(s).
 * 
 * You may obtain a valid license at the URLs below.
 * 
 * Webfont: Orpheus Pro Italic
 * URL: http://new.myfonts.com/fonts/canadatype/orpheus-pro/pro-italic/
 * Foundry: Canada Type
 * Copyright: Copyright 2011 &#x00A9; Canada Type. All rights reserved.
 * License: http://www.myfonts.com/viewlicense?1056
 * Licensed pageviews: 10,000/month
 * CSS font-family: OrpheusPro-Italic
 * CSS font-weight: normal
 * 
 * Webfont: Orpheus Pro
 * URL: http://new.myfonts.com/fonts/canadatype/orpheus-pro/pro/
 * Foundry: Canada Type
 * Copyright: Copyright 2011 &#x00A9; Canada Type. All rights reserved.
 * License: http://www.myfonts.com/viewlicense?1056
 * Licensed pageviews: 10,000/month
 * CSS font-family: OrpheusPro
 * CSS font-weight: normal
 * 
 * Webfont: Orpheus Ligatures I
 * URL: http://new.myfonts.com/fonts/canadatype/orpheus-pro/lig-1/
 * Foundry: Canada Type
 * Copyright: Copyright 2011 &#x00A9; Canada Type. All rights reserved.
 * License: http://www.myfonts.com/viewlicense?1056
 * Licensed pageviews: 10,000/month
 * CSS font-family: OrpheusLigaturesI
 * CSS font-weight: normal
 * 
 * Webfont: Orpheus Ligatures II
 * URL: http://new.myfonts.com/fonts/canadatype/orpheus-pro/lig-2/
 * Foundry: Canada Type
 * Copyright: Copyright 2011 &#x00A9; Canada Type. All rights reserved.
 * License: http://www.myfonts.com/viewlicense?1056
 * Licensed pageviews: 10,000/month
 * CSS font-family: OrpheusLigaturesII
 * CSS font-weight: normal
 * 
 * Webfont: Orpheus Italic Alts I
 * URL: http://new.myfonts.com/fonts/canadatype/orpheus-pro/italic-alts-1/
 * Foundry: Canada Type
 * Copyright: Copyright 2011 &#x00A9; Canada Type. All rights reserved.
 * License: http://www.myfonts.com/viewlicense?1056
 * Licensed pageviews: 10,000/month
 * CSS font-family: OrpheusItalicAltsI
 * CSS font-weight: normal
 * 
 * Webfont: Orpheus Italic Alts II
 * URL: http://new.myfonts.com/fonts/canadatype/orpheus-pro/italic-alts-2/
 * Foundry: Canada Type
 * Copyright: Copyright 2011 &#x00A9; Canada Type. All rights reserved.
 * License: http://www.myfonts.com/viewlicense?1056
 * Licensed pageviews: 10,000/month
 * CSS font-family: OrpheusItalicAltsII
 * CSS font-weight: normal
 * 
 * Webfont: Orpheus Italic
 * URL: http://new.myfonts.com/fonts/canadatype/orpheus-pro/italic/
 * Foundry: Canada Type
 * Copyright: Copyright 2011 &#x00A9; Canada Type. All rights reserved.
 * License: http://www.myfonts.com/viewlicense?1056
 * Licensed pageviews: 10,000/month
 * CSS font-family: OrpheusItalic
 * CSS font-weight: normal
 * 
 * Webfont: Orpheus Italic Extras
 * URL: http://new.myfonts.com/fonts/canadatype/orpheus-pro/italic-extras/
 * Foundry: Canada Type
 * Copyright: Copyright 2011 &#x00A9; Canada Type. All rights reserved.
 * License: http://www.myfonts.com/viewlicense?1056
 * Licensed pageviews: 10,000/month
 * CSS font-family: OrpheusItalicExtras
 * CSS font-weight: normal
 * 
 * Webfont: Orpheus Italic Endings
 * URL: http://new.myfonts.com/fonts/canadatype/orpheus-pro/orpheus-italic-endings/
 * Foundry: Canada Type
 * Copyright: Copyright 2011 &#x00A9; Canada Type. All rights reserved.
 * License: http://www.myfonts.com/viewlicense?1056
 * Licensed pageviews: 10,000/month
 * CSS font-family: OrpheusItalicEndings
 * CSS font-weight: normal
 * 
 * Webfont: Orpheus
 * URL: http://new.myfonts.com/fonts/canadatype/orpheus-pro/regular/
 * Foundry: Canada Type
 * Copyright: Copyright 2011 &#x00A9; Canada Type. All rights reserved.
 * License: http://www.myfonts.com/viewlicense?1056
 * Licensed pageviews: 10,000/month
 * CSS font-family: Orpheus
 * CSS font-weight: normal
 * 
 * Webfont: Orpheus Alts II
 * URL: http://new.myfonts.com/fonts/canadatype/orpheus-pro/alts-2/
 * Foundry: Canada Type
 * Copyright: Copyright 2011 &#x00A9; Canada Type. All rights reserved.
 * License: http://www.myfonts.com/viewlicense?1056
 * Licensed pageviews: 10,000/month
 * CSS font-family: OrpheusAltsII
 * CSS font-weight: normal
 * 
 * Webfont: Orpheus Italic Ligatures
 * URL: http://new.myfonts.com/fonts/canadatype/orpheus-pro/italic-lig/
 * Foundry: Canada Type
 * Copyright: Copyright 2011 &#x00A9; Canada Type. All rights reserved.
 * License: http://www.myfonts.com/viewlicense?1056
 * Licensed pageviews: 10,000/month
 * CSS font-family: OrpheusItalicLigatures
 * CSS font-weight: normal
 * 
 * Webfont: Orpheus SC
 * URL: http://new.myfonts.com/fonts/canadatype/orpheus-pro/orpheus-sc/
 * Foundry: Canada Type
 * Copyright: Copyright 2011 &#x00A9; Canada Type. All rights reserved.
 * License: http://www.myfonts.com/viewlicense?1056
 * Licensed pageviews: 10,000/month
 * CSS font-family: OrpheusSC
 * CSS font-weight: normal
 * 
 * Webfont: Orpheus Alts I
 * URL: http://new.myfonts.com/fonts/canadatype/orpheus-pro/alts-1/
 * Foundry: Canada Type
 * Copyright: Copyright 2011 &#x00A9; Canada Type. All rights reserved.
 * License: http://www.myfonts.com/viewlicense?1056
 * Licensed pageviews: 10,000/month
 * CSS font-family: OrpheusAltsI
 * CSS font-weight: normal
 * 
 * (c) 2011 Bitstream, Inc
*/



// safari 3.1: data-css
// firefox 3.6+: woff
// firefox 3.5+: data-css
// chrome 4+: data-css
// chrome 6+: woff
// IE 5+: eot
// IE 9: woff
// opera 10.1+: data-css
// mobile safari: svg/data-css
// android: data-css

var browserName, browserVersion, webfontType,  webfontTypeOverride;
 
if (typeof(customPath) == 'undefined')
	var customPath = false;


if (typeof(woffEnabled) == 'undefined')
	var woffEnabled = true;


if (/myfonts_test=on/.test(window.location.search))
	var myfonts_webfont_test = true;

else if (typeof(myfonts_webfont_test) == 'undefined')
	var myfonts_webfont_test = false;


if (customPath)
	var path = customPath;

else {
	var scripts = document.getElementsByTagName("SCRIPT");
	var script = scripts[scripts.length-1].src;

	if (!script.match("://") && script.charAt(0) != '/')
		script = "./"+script;
		
	var path = script.replace(/\\/g,'/').replace(/\/[^\/]*\/?$/, '');
}


if (myfonts_webfont_test)
	document.write('<script type="text/javascript" src="' +path+ '/MyFontsWebfontsOrderM2863435_test.js"></script>');


if (/webfont=(woff|ttf|eot)/.test(window.location.search))
{
	webfontTypeOverride = RegExp.$1;

	if (webfontTypeOverride == 'ttf')
		webfontTypeOverride = 'data-css';
}


if (/MSIE (\d+\.\d+)/.test(navigator.userAgent))
{
	browserName = 'MSIE';
	browserVersion = new Number(RegExp.$1);
	if (browserVersion >= 9.0 && woffEnabled)
		webfontType = 'woff';
	else if (browserVersion >= 5.0)
		webfontType = 'eot';
}
else if (/Firefox[\/\s](\d+\.\d+)/.test(navigator.userAgent))
{
	browserName = 'Firefox';
	browserVersion = new Number(RegExp.$1);
	if (browserVersion >= 3.6 && woffEnabled)
		webfontType = 'woff';
	else if (browserVersion >= 3.5)
		webfontType = 'data-css';
}
else if (/Chrome\/(\d+\.\d+)/.test(navigator.userAgent)) // must check before safari
{
	browserName = 'Chrome';
	browserVersion = new Number(RegExp.$1);

	if (browserVersion >= 6.0 && woffEnabled)
		webfontType = 'woff';

	else if (browserVersion >= 4.0)
		webfontType = 'data-css';
}
else if (/Mozilla.*(iPhone|iPad).* OS (\d+)_(\d+).* AppleWebKit.*Safari/.test(navigator.userAgent))
{
		browserName = 'MobileSafari';
		browserVersion = new Number(RegExp.$2) + (new Number(RegExp.$3) / 10)

	if(browserVersion >= 4.2)
		webfontType = 'data-css';

	else
		webfontType = 'svg';
}
else if (/Mozilla.*(iPhone|iPad|BlackBerry).*AppleWebKit.*Safari/.test(navigator.userAgent))
{
	browserName = 'MobileSafari';
	webfontType = 'svg';
}
else if (/Safari\/(\d+\.\d+)/.test(navigator.userAgent))
{
	browserName = 'Safari';
	if (/Version\/(\d+\.\d+)/.test(navigator.userAgent))
	{
		browserVersion = new Number(RegExp.$1);
		if (browserVersion >= 3.1)
			webfontType = 'data-css';
	}
}
else if (/Opera\/(\d+\.\d+)/.test(navigator.userAgent))
{
	browserName = 'Opera';
	if (/Version\/(\d+\.\d+)/.test(navigator.userAgent))
	{
		browserVersion = new Number(RegExp.$1);
		if (browserVersion >= 10.1)
			webfontType = 'data-css';
	}
}


if (webfontTypeOverride)
	webfontType = webfontTypeOverride;

switch (webfontType)
{
		case 'eot':
		document.write("<style>\n");
				document.write("@font-face {font-family:\"OrpheusPro-Italic\";src:url(\"" + path + "/webfonts/eot/style_198261.eot\");}\n");
				document.write("@font-face {font-family:\"OrpheusPro\";src:url(\"" + path + "/webfonts/eot/style_198262.eot\");}\n");
				document.write("@font-face {font-family:\"OrpheusLigaturesI\";src:url(\"" + path + "/webfonts/eot/style_198249.eot\");}\n");
				document.write("@font-face {font-family:\"OrpheusLigaturesII\";src:url(\"" + path + "/webfonts/eot/style_198250.eot\");}\n");
				document.write("@font-face {font-family:\"OrpheusItalicAltsI\";src:url(\"" + path + "/webfonts/eot/style_198251.eot\");}\n");
				document.write("@font-face {font-family:\"OrpheusItalicAltsII\";src:url(\"" + path + "/webfonts/eot/style_198252.eot\");}\n");
				document.write("@font-face {font-family:\"OrpheusItalic\";src:url(\"" + path + "/webfonts/eot/style_198253.eot\");}\n");
				document.write("@font-face {font-family:\"OrpheusItalicExtras\";src:url(\"" + path + "/webfonts/eot/style_198254.eot\");}\n");
				document.write("@font-face {font-family:\"OrpheusItalicEndings\";src:url(\"" + path + "/webfonts/eot/style_198255.eot\");}\n");
				document.write("@font-face {font-family:\"Orpheus\";src:url(\"" + path + "/webfonts/eot/style_198256.eot\");}\n");
				document.write("@font-face {font-family:\"OrpheusAltsII\";src:url(\"" + path + "/webfonts/eot/style_198257.eot\");}\n");
				document.write("@font-face {font-family:\"OrpheusItalicLigatures\";src:url(\"" + path + "/webfonts/eot/style_198258.eot\");}\n");
				document.write("@font-face {font-family:\"OrpheusSC\";src:url(\"" + path + "/webfonts/eot/style_198259.eot\");}\n");
				document.write("@font-face {font-family:\"OrpheusAltsI\";src:url(\"" + path + "/webfonts/eot/style_198260.eot\");}\n");
				document.write("</style>");
		break;
		
		case 'woff':
		document.write("<style>\n");
				document.write("@font-face {font-family:\"OrpheusPro-Italic\";src:url(\"" + path + "/webfonts/woff/style_198261.woff\") format(\"woff\");}\n");
				document.write("@font-face {font-family:\"OrpheusPro\";src:url(\"" + path + "/webfonts/woff/style_198262.woff\") format(\"woff\");}\n");
				document.write("@font-face {font-family:\"OrpheusLigaturesI\";src:url(\"" + path + "/webfonts/woff/style_198249.woff\") format(\"woff\");}\n");
				document.write("@font-face {font-family:\"OrpheusLigaturesII\";src:url(\"" + path + "/webfonts/woff/style_198250.woff\") format(\"woff\");}\n");
				document.write("@font-face {font-family:\"OrpheusItalicAltsI\";src:url(\"" + path + "/webfonts/woff/style_198251.woff\") format(\"woff\");}\n");
				document.write("@font-face {font-family:\"OrpheusItalicAltsII\";src:url(\"" + path + "/webfonts/woff/style_198252.woff\") format(\"woff\");}\n");
				document.write("@font-face {font-family:\"OrpheusItalic\";src:url(\"" + path + "/webfonts/woff/style_198253.woff\") format(\"woff\");}\n");
				document.write("@font-face {font-family:\"OrpheusItalicExtras\";src:url(\"" + path + "/webfonts/woff/style_198254.woff\") format(\"woff\");}\n");
				document.write("@font-face {font-family:\"OrpheusItalicEndings\";src:url(\"" + path + "/webfonts/woff/style_198255.woff\") format(\"woff\");}\n");
				document.write("@font-face {font-family:\"Orpheus\";src:url(\"" + path + "/webfonts/woff/style_198256.woff\") format(\"woff\");}\n");
				document.write("@font-face {font-family:\"OrpheusAltsII\";src:url(\"" + path + "/webfonts/woff/style_198257.woff\") format(\"woff\");}\n");
				document.write("@font-face {font-family:\"OrpheusItalicLigatures\";src:url(\"" + path + "/webfonts/woff/style_198258.woff\") format(\"woff\");}\n");
				document.write("@font-face {font-family:\"OrpheusSC\";src:url(\"" + path + "/webfonts/woff/style_198259.woff\") format(\"woff\");}\n");
				document.write("@font-face {font-family:\"OrpheusAltsI\";src:url(\"" + path + "/webfonts/woff/style_198260.woff\") format(\"woff\");}\n");
				document.write("</style>");
		break;
	
		case 'data-css':
		document.write("<link rel='stylesheet' type='text/css' href='" + path + "/webfonts/datacss/MyFontsWebfontsOrderM2863435.css'>");
		break;
	
		case 'svg':
		document.write("<style>\n");
				document.write("@font-face {font-family:\"OrpheusPro-Italic\";src:url(\"" + path + "/webfonts/svg/style_198261.svg#OrpheusPro-Italic\") format(\"svg\");}\n");
				document.write("@font-face {font-family:\"OrpheusPro\";src:url(\"" + path + "/webfonts/svg/style_198262.svg#OrpheusPro\") format(\"svg\");}\n");
				document.write("@font-face {font-family:\"OrpheusLigaturesI\";src:url(\"" + path + "/webfonts/svg/style_198249.svg#OrpheusLigaturesI\") format(\"svg\");}\n");
				document.write("@font-face {font-family:\"OrpheusLigaturesII\";src:url(\"" + path + "/webfonts/svg/style_198250.svg#OrpheusLigaturesII\") format(\"svg\");}\n");
				document.write("@font-face {font-family:\"OrpheusItalicAltsI\";src:url(\"" + path + "/webfonts/svg/style_198251.svg#OrpheusItalicAltsI\") format(\"svg\");}\n");
				document.write("@font-face {font-family:\"OrpheusItalicAltsII\";src:url(\"" + path + "/webfonts/svg/style_198252.svg#OrpheusItalicAltsII\") format(\"svg\");}\n");
				document.write("@font-face {font-family:\"OrpheusItalic\";src:url(\"" + path + "/webfonts/svg/style_198253.svg#OrpheusItalic\") format(\"svg\");}\n");
				document.write("@font-face {font-family:\"OrpheusItalicExtras\";src:url(\"" + path + "/webfonts/svg/style_198254.svg#OrpheusItalicExtras\") format(\"svg\");}\n");
				document.write("@font-face {font-family:\"OrpheusItalicEndings\";src:url(\"" + path + "/webfonts/svg/style_198255.svg#OrpheusItalicEndings\") format(\"svg\");}\n");
				document.write("@font-face {font-family:\"Orpheus\";src:url(\"" + path + "/webfonts/svg/style_198256.svg#Orpheus\") format(\"svg\");}\n");
				document.write("@font-face {font-family:\"OrpheusAltsII\";src:url(\"" + path + "/webfonts/svg/style_198257.svg#OrpheusAltsII\") format(\"svg\");}\n");
				document.write("@font-face {font-family:\"OrpheusItalicLigatures\";src:url(\"" + path + "/webfonts/svg/style_198258.svg#OrpheusItalicLigatures\") format(\"svg\");}\n");
				document.write("@font-face {font-family:\"OrpheusSC\";src:url(\"" + path + "/webfonts/svg/style_198259.svg#OrpheusSC\") format(\"svg\");}\n");
				document.write("@font-face {font-family:\"OrpheusAltsI\";src:url(\"" + path + "/webfonts/svg/style_198260.svg#OrpheusAltsI\") format(\"svg\");}\n");
				document.write("</style>");
		break;
		
	default:
		break;
}
