/**************** BrowserDetect.js ******************/

var BrowserDetect = {
	init: function () {
		this.browser = this.searchString(this.dataBrowser) || "An unknown browser";
		this.version = this.searchVersion(navigator.userAgent)
			|| this.searchVersion(navigator.appVersion)
			|| "an unknown version";
		this.OS = this.searchString(this.dataOS) || "an unknown OS";
	},
	searchString: function (data) {
		for (var i=0;i<data.length;i++)	{
			var dataString = data[i].string;
			var dataProp = data[i].prop;
			this.versionSearchString = data[i].versionSearch || data[i].identity;
			if (dataString) {
				if (dataString.indexOf(data[i].subString) != -1)
					return data[i].identity;
			}
			else if (dataProp)
				return data[i].identity;
		}
	},
	searchVersion: function (dataString) {
		var index = dataString.indexOf(this.versionSearchString);
		if (index == -1) return;
		return parseFloat(dataString.substring(index+this.versionSearchString.length+1));
	},
	dataBrowser: [
		{ 	string: navigator.userAgent,
			subString: "OmniWeb",
			versionSearch: "OmniWeb/",
			identity: "OmniWeb"
		},
		{
			string: navigator.vendor,
			subString: "Apple",
			identity: "Safari"
		},
		{
			prop: window.opera,
			identity: "Opera"
		},
		{
			string: navigator.vendor,
			subString: "iCab",
			identity: "iCab"
		},
		{
			string: navigator.vendor,
			subString: "KDE",
			identity: "Konqueror"
		},
		{
			string: navigator.userAgent,
			subString: "Firefox",
			identity: "Firefox"
		},
		{
			string: navigator.vendor,
			subString: "Camino",
			identity: "Camino"
		},
		{		// for newer Netscapes (6+)
			string: navigator.userAgent,
			subString: "Netscape",
			identity: "Netscape"
		},
		{
			string: navigator.userAgent,
			subString: "MSIE",
			identity: "Explorer",
			versionSearch: "MSIE"
		},
		{
			string: navigator.userAgent,
			subString: "Gecko",
			identity: "Mozilla",
			versionSearch: "rv"
		},
		{ 		// for older Netscapes (4-)
			string: navigator.userAgent,
			subString: "Mozilla",
			identity: "Netscape",
			versionSearch: "Mozilla"
		}
	],
	dataOS : [
		{
			string: navigator.platform,
			subString: "Win",
			identity: "Windows"
		},
		{
			string: navigator.platform,
			subString: "Mac",
			identity: "Mac"
		},
		{
			string: navigator.platform,
			subString: "Linux",
			identity: "Linux"
		}
	]

};
BrowserDetect.init();





/**************** SBBVideo.js ******************/

/*
	SBBVideo.js
	By Jarrod Carlson :: jarrod.carlson@turner.com
	
	ABOUT:
	This document contains necessary functions to create and control a Windows Media stream.
	
	REQUIRES:
	BrowserDetect.js: Support for detecting client operating system and browser.
	
	TO DO: 
	  - Add support for detection of Flip4Mac in toggleFullScreen - required for this to work on Macs
	  - Enable use of vParams in drawVideo()
	  - Add detection for cases where "allow javascript to move/resize window" is disabled
	  - Have full screen mode attach a .fullScreen class to the div for custom full screen styles
	  
	FUNCTIONS:
		drawVideo():		Creates an instance of a Windows Media Player.
		getDimensions():	Returns the correct dimensions for the media player depending on
							the user's operating system and browser.
		toggleFullScreen():	Enables full screen mode switching via a button/link.

*/

function SBBVideo(vID, vWidth, vHeight, vURL, vPad, vSpace, vFSLink, vFSLinkSpace, vParams, vMode) {
	// Set User Controlled Object Properties
	this.vID = (vID != null) ? vID : "sbbVPlayer";
	this.vWidth = (vWidth != null) ? vWidth : 420;
	this.vHeight = (vHeight != null) ? vHeight : 270;
	this.vURL = (vURL != null) ? vURL : ""; //"http://acc.playonsports.tv/video/ACC_web_vid.wmv";
	this.fsLink = (vFSLink == null) ? false : true;
	this.fsLinkSpace = (vFSLinkSpace != null) ? vFSLinkSpace : 20;
	this.vParams = (vParams != null) ? vParams : "";
	this.isFS = (vMode == "fullscreen") ? true : false;
	this.lrtPad = (vPad != null) ? vPad : 10;
	this.bSpace = (vSpace != null) ? vSpace : 45
	
	// In the instance about to be created and destroyed, the protyped methods do not
	// yet exist, so we'll have to watch out for that error. Once the prototype is defined,
	// these properties will be set correctly. But since the dimensions will need to be calculated
	// on the fly at run time, we'll let each member function that needs these calculations be
	// responsible for setting/updating these dimensions before use.
	this.dimensions = new Array();
	
}

// For compatability with JS 1.1, a dummy instance of SBBVideo will be
// created and destroyed in order to instantiate the prototype object in JS 1.1
new SBBVideo(); 

// Define global vars for SBBVideo class
SBBVideo.f4m = 16; // height of Flip4Mac controls
SBBVideo.wmc = 64; // height of Windows Media Controls
	
	


/*
	_drawVideo(vID, vWidth, vHeight, vURL, {vParams} ):
		Creates an instance of a Windows Media Player.
		Writes the necessary HTML code to the document for viewing a video. This function
		will take care of all necessary detection for platform-dependent variables, such as height/width.
	
		vID:		(String) Unique name for the video player instance.
		
		vWidth:		(Integer) Width, in pixels, of the target video.
		
		vHeight:	(Integer) Height, in pixels, of the target video.
		
		vURL:		(String) Absolute URL to target video file or ASX stream file.
		
		vParams:	(String) (Optional) Allows instance-specific parameter values to be specified 
					for a given video. Params defined in this argument will override default values 
					if necessary.
					
					Expected format for vParams:
					"Param1:Value;Param2:Value"
*/

SBBVideo.prototype.getHTML = function() {

	var videoString = '';
	this.setDimensions(); // update dimensions based on current window size
	videoString += '\n' + '<div style="width: '+this.dimensions["normal"]["divW"]+'px; height: '+(this.dimensions["normal"]["divH"]+this.fsLinkSpace)+'px;">';
	videoString += '\n' + '<div id="'+this.vID+'" style="z-index: 9999; width: '+this.dimensions["normal"]["divW"]+'px;">';
	videoString += this.getCoreHTML();
	videoString += '\n' + '</div></div>\n';
	
	return videoString;
}

SBBVideo.prototype.getCoreHTML = function() {

	var innerString = '';
	this.setDimensions(); // update dimensions based on current window size
	var inW = (this.isFS) ? this.dimensions["fullscreen"]["w"] : this.dimensions["normal"]["w"];
	var inH = (this.isFS) ? this.dimensions["fullscreen"]["h"] : this.dimensions["normal"]["h"];
	
	innerString += '\n' + '<div id="'+this.vID+'Vid" style="margin: auto; width: '+inW+'px; height: '+inH+'px;">';
	innerString += '\n' + '<object classid="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6"';
	innerString += '\n' + '     width="100%" height="100%" id="'+this.vID+'Obj">';
	innerString += '\n' + '     <param name="URL" value="'+this.vURL+'"/>';
	innerString += '\n' + '     <param name="AutoStart" value="True"/>';
	innerString += '\n' + '     <param name="uiMode" value="full"/>';
	innerString += '\n' + '     <param name="stretchToFit" value="True"/>';
	innerString += '\n' + '     <embed type="application/x-mplayer2"';
	innerString += '\n' + '          id="'+this.vID+'Emb"';
	innerString += '\n' + '          pluginspage="http://www.microsoft.com/Windows/Downloads/Contents/MediaPlayer/"';
	innerString += '\n' + '          src="'+this.vURL+'"';
	innerString += '\n' + '          autostart="1"';
	innerString += '\n' + '          showstatusbar="1"';
	innerString += '\n' + '          showcontrols="1"';
	innerString += '\n' + '          showdisplay="0"';
	innerString += '\n' + '          stretchtofit="1"';
	innerString += '\n' + '          width="100%" height="100%" />';
	innerString += '\n' + '</object>';
	innerString += '\n' + '</div>\n';
	innerString += (this.fsLink) ? "<div id='"+this.vID+"FSLink'>"+this.getFSLink()+"</div>" : "";
	
	return innerString;

}

SBBVideo.prototype.writeHTML = function(elmnt, append) {
	
	if (elmnt != null) { // An element was passed in. We'll insert our code in that element
		// If append mode is true, add the video code to the element specified. Otherwise,
		// just replace the contents with our code.
		document.getElementById(elmnt).innerHTML = (append) ? document.getElementById(elmnt).innerHTML + this.getHTML() : this.getHTML();
	}
	
	else { // No element was specified, so just document.write the code in the current spot
		document.write(this.getHTML());
	}
}

SBBVideo.prototype.changeURL = function(nURL) {
	this.vURL = nURL;
	document.getElementById(this.vID).innerHTML = this.getCoreHTML();
	return false;
}



/*
	toggleFullScreen(vID, vWidth, vHeight):
		Enables full screen mode switching via a button/link.
		Use of this function depends on a properly structured document (ideally, your video 
		component should be written to the HTML document using the drawVideo() function in 
		this file.
		
		This functionality requires that the video OBJECT/EMBED tag be placed inside a DIV
		tag. The DIV should control the height and width of the player. The DIV should also
		have a unique ID attribute. The OBJECT tag of the player should also have a unique
		ID attribute equal to the DIV tag name plus "Obj".
		
		This function requires BrowserDetect.js to be included on the calling page as well.
		It is recommended that video.js be used to draw the video component.
		
		USAGE: toggleFull(NameOfPlayer, VideoWidth, VideoHeight)
		
		vID:		(String) Unique name for the video player instance.
		
		vWidth:		(Integer) Width, in pixels, of the target video.
		
		vHeight:	(Integer) Height, in pixels, of the target video.
		
		RETURNS:	(Boolean) False, to prevent browsers from following any HREF in a link.
	
*/

SBBVideo.prototype.toggleFullScreen = function() {

	// IE can go true full screen, so if IE, do that
	// We will not track full screen state with this method since exiting full screen does not
	// involve JS code, and so cannot be tracked.
	if (BrowserDetect.browser == "Explorer") {  // likely an IE browser
		var wmvPlayer = document.getElementById(this.vID+"Obj"); // a reference to the player object
		if (wmvPlayer.playState == 3) { // full screen mode only works while playing
			// alert("To return from full screen mode, press the 'escape' key");
			wmvPlayer.fullScreen = true;
		}
		else {
			alert("Full screen mode is not available because the video is not currently playing.\nPlease ensure the video is playing before attempting to enter full screen mode.");
		}
	}
	
	
	
	// We're not in IE, so we'll have to do this another way
	
	// Mac users can have their windows resized on the fly... pseudo-full screen
	else if (BrowserDetect.OS == "Mac") {
		
		var newWidth, newHeight, newX, newY; // initialize math vars
	
		// Prep work
		if (this.isFS) { // If currently in Full Screen, set the parameters for Normal mode
			newWidth = this.dimensions["normal"]["winW"]; // set window to original width
			newHeight = this.dimensions["normal"]["winH"]; // set window to original height
			newX = this.dimensions["normal"]["winX"]; // put the window back where it was
			newY = this.dimensions["normal"]["winY"];  // put the window back where it was
		}
		else { // If currently in Normal mode, set the parameters for Full Screen mode
			newWidth = screen.availWidth; // max usable screen width
			newHeight = screen.availHeight; // max usable screen height
			newX = 0; // top
			newY = 0; // left
		}
		

		// change size of div tag!
		/* NOTE:
		
		When switching TO full-screen, Safari needs to have the window moved and then resized.
		Resize commands which would make the window flow off the page are ignored, so you have
		to move it first.
		
		Unfortunately, when switching FROM full-screen mode, both Safari and Firefox will ignore
		the moveTo() command if it would flow the window off the screen at all.
		
		So basically going to full screen, move the window first, then resize it.
		Going to normal mode, resize the window first, then move it.
		
		
		*/
		
		if (this.isFS) {
			var wmDivVid = document.getElementById(this.vID + "Vid");
			wmDivVid.style.width = this.dimensions["normal"]["w"]+"px";
			wmDivVid.style.height = this.dimensions["normal"]["h"]+"px";
			wmDivVid.removeAttribute("class");
			var wmDiv = document.getElementById(this.vID);
			wmDiv.style.width = this.dimensions["normal"]["divW"]+"px";
			this.clearStyles();
			window.resizeTo(newWidth,newHeight);
			window.moveTo(newX,newY);
			this.isFS = false; // we are now in normal mode

			if ( document.getElementById(this.vID+"FSLink") != null ) {
				document.getElementById(this.vID+"FSLink").innerHTML = this.getFSLink();
			}
		}
		else {
			window.moveTo(newX,newY);
			window.resizeTo(newWidth,newHeight);
			this.isFS = true; // we are now full screen
			this.setDimensions(); // update dimensions based on resized window size
			var wmDiv = document.getElementById(this.vID);
			wmDiv.style.position = "fixed";
			wmDiv.style.left = "0px";
			wmDiv.style.top = "0px";
			wmDiv.style.right = "";
			wmDiv.style.bottom = "";
			wmDiv.style.padding = "";
			wmDiv.style.paddingTop = this.lrtPad + "px";
			wmDiv.style.paddingLeft = this.lrtPad + "px";
			wmDiv.style.paddingRight = this.lrtPad + "px";
			wmDiv.style.paddingBottom = "0px";
			wmDiv.style.margin = "0px";
			wmDiv.style.marginTop = "0px";
			wmDiv.style.marginLeft = "0px";
			wmDiv.style.marginRight = "0px";
			wmDiv.style.marginBottom = "0px";
			wmDiv.style.width = window.innerWidth-this.lrtPad*2 + "px";
			wmDiv.style.height = window.innerHeight-this.lrtPad + "px";
			wmDiv.style.textAlign = "center";
			var wmDivVid = document.getElementById(this.vID + "Vid");
			wmDivVid.style.width = this.dimensions["fullscreen"]["w"]+"px";
			wmDivVid.style.height = this.dimensions["fullscreen"]["h"]+"px";
			wmDivVid.setAttribute("class", this.vID+"FS");
			
			
			
			if ( document.getElementById(this.vID+"FSLink") != null ) {
				document.getElementById(this.vID+"FSLink").innerHTML = this.getFSLink();
			}
		}
		
	}
	
	// Some other browser, which is not likely supported, including Firefox PC
	else {
		alert("To switch to full screen mode, double-click on the video.\n\nYou can also right-click the video, point to 'zoom', and select 'full screen'.\n\nTo return from full screen mode, press 'escape'.");
	}
	
	return false;
}



SBBVideo.prototype.clearStyles = function() {

	var sbbDiv = document.getElementById(this.vID);
	sbbDiv.style.position = "";
	sbbDiv.style.left = "";
	sbbDiv.style.right = "";
	sbbDiv.style.top = "";
	sbbDiv.style.bottom = "";
	sbbDiv.style.padding = "";
	sbbDiv.style.paddingLeft = "";
	sbbDiv.style.paddingRight = "";
	sbbDiv.style.paddingTop = "";
	sbbDiv.style.paddingBottom = "";
	sbbDiv.style.margin = "";
	sbbDiv.style.marginLeft = "";
	sbbDiv.style.marginRight = "";
	sbbDiv.style.marginTop = "";
	sbbDiv.style.marginBottom = "";
	sbbDiv.style.textAlign = "";
	sbbDiv.style.height = "";
	
}




SBBVideo.prototype.setDimensions = function() {

	var ctrls = (BrowserDetect.OS == "Mac") ? SBBVideo.f4m : SBBVideo.wmc; // Set user's player control size
	
	
	if (this.isFS) { // we are in full screen, so update only those dimensions

		if (this.dimensions["fullscreen"] == null) this.dimensions["fullscreen"] = new Array();

		// Width is max possible minus any padding specified
		this.dimensions["fullscreen"]["w"] = window.innerWidth-(this.lrtPad*2);
		
		// Height is max possible with respect to aspect ratio
		this.dimensions["fullscreen"]["h"] = ((this.vHeight)*(this.dimensions["fullscreen"]["w"])/this.vWidth)+ctrls;
		
		// Check to see if user has widescreen, and video would be too tall for it
		if (this.dimensions["fullscreen"]["h"] > window.innerHeight-this.bSpace) { // leaves us room for the exit button
			// Apparently the calculated height is too great, so let's redo it
			// using the height as the base, not the width.
			
			// New height calculation based on max usable screen height, less 50 for controls
			this.dimensions["fullscreen"]["h"] = (window.innerHeight-this.bSpace);
			
			// Again, calculate aspect ratio, only this time we're calculating the width.
			// Can't forget to lose the 16 pixels for player control height before calculating.
			this.dimensions["fullscreen"]["w"] = (this.vWidth*(this.dimensions["fullscreen"]["h"]-ctrls)/(this.vHeight));
		}
		
	}
	else { // we are in normal mode, so update only those dimensions

		if (this.dimensions["normal"] == null) this.dimensions["normal"] = new Array();
		
		
		// Width is the same for any platform
		this.dimensions["normal"]["w"] = this.vWidth; 
		this.dimensions["normal"]["divW"] = this.vWidth;
		
		// Account for platform-specific player control heights
		this.dimensions["normal"]["h"] = this.vHeight+ctrls;
		this.dimensions["normal"]["divH"] = this.vHeight+ctrls; // leave room for the fullscreen link

		this.dimensions["normal"]["winW"] = window.outerWidth;
		this.dimensions["normal"]["winH"] = window.outerHeight;
		this.dimensions["normal"]["winX"] = window.screenX;
		this.dimensions["normal"]["winY"] = window.screenY;

	}		
	
}

SBBVideo.prototype.insertFSLink = function(elmnt, append) {

	if (elmnt != null) { // Either an element was passed in, or we intend to put the link in the
		// default location, under the video.
		// If append mode is true, add the video code to the element specified. Otherwise,
		// just replace the contents with our code.
		if (elmnt == false) { // specifies that the link should go right under the video.
			document.getElementById(this.vID).innerHTML += "<div id='"+this.vID+"FSLink'>" + this.getFSLink() + "</div>";
			var increase = document.getElementById(this.vID+"FSLink").offsetHeight;
			
		}
		else if (append) { // specifies that link should be apended at the end of given element
			document.getElementById(elmnt).innerHTML += "<div id='"+this.vID+"FSLink'>" + this.getFSLink() + "</div>";
		}
		else { // specifies that link should replace contents of given element
			document.getElementById(elmnt).innerHTML = "<div id='" + this.vID + "FSLink'>" + this.getFSLink() + "</div>";
		}
	}
	
	else { // No element was specified, so just document.write the code in the current spot
		document.write("<div id='" + this.vID + "FSLink'>" + this.getFSLink() + "</div>");
	}

}

SBBVideo.prototype.getFSLink = function() {

	// IE and all Macs can be scripted to full screen mode, so we'll call that function
	if (BrowserDetect.browser == "Explorer" || BrowserDetect.OS == "Mac") {
		// write html link to toggleFullScreen.
		if (!this.isFS) {
			return "<div id='"+this.vID+"FSLinkContent'><a href='#' onclick='return "+this.vID+".toggleFullScreen()'>Watch Full Screen</a></div>";
		}
		else {
			return "<div id='"+this.vID+"FSLinkContent'><input type='submit' onclick='"+this.vID+".toggleFullScreen()' value='Exit Full Screen Mode' /></div>";
		}
	}
	
	// Firefox PC and other browsers probably can't go full screen via a script. The user
	// will have to manually initiate the command.
	else if (BrowserDetect.OS == "Windows" && BrowserDetect.browser != "Explorer") {
		// write html text for users to double click
		return "<div id='"+this.vID+"FSLinkContent'>Double Click the video to view full screen</div>";
	}

}


/**************** s_code.js ******************/

/* SiteCatalyst code version: H.9.
Copyright 1997-2007 Omniture, Inc. More info available at
http://www.omniture.com */
/* Specify the Report Suite ID(s) to track here */
var s_account="playonpac10"
var s=s_gi(s_account)
/************************** CONFIG SECTION **************************/
/* You may add or alter any code config here. */
s.charSet="ISO-8859-1"
/* E-commerce Config */
s.currencyCode="USD"
/* Link Tracking Config */
s.trackDownloadLinks=true
s.trackExternalLinks=true
s.trackInlineStats=true
s.linkDownloadFileTypes="exe,zip,wav,mp3,mov,mpg,avi,wmv,doc,pdf,xls"
s.linkInternalFilters="javascript:,"+window.location.host
s.linkLeaveQueryString=false
s.linkTrackVars="None"
s.linkTrackEvents="None"

/* WARNING: Changing any of the below variables will cause drastic
changes to how your visitor data is collected.  Changes should only be
made when instructed to do so by your account manager.*/
s.visitorNamespace="playon"
s.dc=122

/************* DO NOT ALTER ANYTHING BELOW THIS LINE ! **************/
var s_objectID;function s_c2fe(f){var x='',s=0,e,a,b,c;while(1){e=
f.indexOf('"',s);b=f.indexOf('\\',s);c=f.indexOf("\n",s);if(e<0||(b>=
0&&b<e))e=b;if(e<0||(c>=0&&c<e))e=c;if(e>=0){x+=(e>s?f.substring(s,e):
'')+(e==c?'\\n':'\\'+f.substring(e,e+1));s=e+1}else return x
+f.substring(s)}return f}function s_c2fa(f){var s=f.indexOf('(')+1,e=
f.indexOf(')'),a='',c;while(s>=0&&s<e){c=f.substring(s,s+1);if(c==',')
a+='","';else if(("\n\r\t ").indexOf(c)<0)a+=c;s++}return a?'"'+a+'"':
a}function s_c2f(cc){cc=''+cc;var fc='var f=new Function(',s=
cc.indexOf(';',cc.indexOf('{')),e=cc.lastIndexOf('}'),o,a,d,q,c,f,h,x
fc+=s_c2fa(cc)+',"var s=new Object;';c=cc.substring(s+1,e);s=
c.indexOf('function');while(s>=0){d=1;q='';x=0;f=c.substring(s);a=
s_c2fa(f);e=o=c.indexOf('{',s);e++;while(d>0){h=c.substring(e,e+1);if(
q){if(h==q&&!x)q='';if(h=='\\')x=x?0:1;else x=0}else{if(h=='"'||h=="'"
)q=h;if(h=='{')d++;if(h=='}')d--}if(d>0)e++}c=c.substring(0,s)
+'new Function('+(a?a+',':'')+'"'+s_c2fe(c.substring(o+1,e))+'")'
+c.substring(e+1);s=c.indexOf('function')}fc+=s_c2fe(c)+';return s");'
eval(fc);return f}function s_gi(un,pg,ss){var c="function s_c(un,pg,s"
+"s){var s=this;s.wd=window;if(!s.wd.s_c_in){s.wd.s_c_il=new Array;s."
+"wd.s_c_in=0;}s._il=s.wd.s_c_il;s._in=s.wd.s_c_in;s._il[s._in]=s;s.w"
+"d.s_c_in++;s.m=function(m){return (''+m).indexOf('{')<0};s.fl=funct"
+"ion(x,l){return x?(''+x).substring(0,l):x};s.co=function(o){if(!o)r"
+"eturn o;var n=new Object,x;for(x in o)if(x.indexOf('select')<0&&x.i"
+"ndexOf('filter')<0)n[x]=o[x];return n};s.num=function(x){x=''+x;for"
+"(var p=0;p<x.length;p++)if(('0123456789').indexOf(x.substring(p,p+1"
+"))<0)return 0;return 1};s.rep=function(x,o,n){var i=x.indexOf(o);wh"
+"ile(x&&i>=0){x=x.substring(0,i)+n+x.substring(i+o.length);i=x.index"
+"Of(o,i+n.length)}return x};s.ape=function(x){var s=this,i;x=x?s.rep"
+"(escape(''+x),'+','%2B'):x;if(x&&s.charSet&&s.em==1&&x.indexOf('%u'"
+")<0&&x.indexOf('%U')<0){i=x.indexOf('%');while(i>=0){i++;if(('89ABC"
+"DEFabcdef').indexOf(x.substring(i,i+1))>=0)return x.substring(0,i)+"
+"'u00'+x.substring(i);i=x.indexOf('%',i)}}return x};s.epa=function(x"
+"){var s=this;return x?unescape(s.rep(''+x,'+',' ')):x};s.pt=functio"
+"n(x,d,f,a){var s=this,t=x,z=0,y,r;while(t){y=t.indexOf(d);y=y<0?t.l"
+"ength:y;t=t.substring(0,y);r=s.m(f)?s[f](t,a):f(t,a);if(r)return r;"
+"z+=y+d.length;t=x.substring(z,x.length);t=z<x.length?t:''}return ''"
+"};s.isf=function(t,a){var c=a.indexOf(':');if(c>=0)a=a.substring(0,"
+"c);if(t.substring(0,2)=='s_')t=t.substring(2);return (t!=''&&t==a)}"
+";s.fsf=function(t,a){var s=this;if(s.pt(a,',','isf',t))s.fsg+=(s.fs"
+"g!=''?',':'')+t;return 0};s.fs=function(x,f){var s=this;s.fsg='';s."
+"pt(x,',','fsf',f);return s.fsg};s.c_d='';s.c_gdf=function(t,a){var "
+"s=this;if(!s.num(t))return 1;return 0};s.c_gd=function(){var s=this"
+",d=s.wd.location.hostname,n=s.fpCookieDomainPeriods,p;if(!n)n=s.coo"
+"kieDomainPeriods;if(d&&!s.c_d){n=n?parseInt(n):2;n=n>2?n:2;p=d.last"
+"IndexOf('.');if(p>=0){while(p>=0&&n>1){p=d.lastIndexOf('.',p-1);n--"
+"}s.c_d=p>0&&s.pt(d,'.','c_gdf',0)?d.substring(p):d}}return s.c_d};s"
+".c_r=function(k){var s=this;k=s.ape(k);var c=' '+s.d.cookie,i=c.ind"
+"exOf(' '+k+'='),e=i<0?i:c.indexOf(';',i),v=i<0?'':s.epa(c.substring"
+"(i+2+k.length,e<0?c.length:e));return v!='[[B]]'?v:''};s.c_w=functi"
+"on(k,v,e){var s=this,d=s.c_gd(),l=s.cookieLifetime,t;v=''+v;l=l?(''"
+"+l).toUpperCase():'';if(e&&l!='SESSION'&&l!='NONE'){t=(v!=''?parseI"
+"nt(l?l:0):-60);if(t){e=new Date;e.setTime(e.getTime()+(t*1000))}}if"
+"(k&&l!='NONE'){s.d.cookie=k+'='+s.ape(v!=''?v:'[[B]]')+'; path=/;'+"
+"(e&&l!='SESSION'?' expires='+e.toGMTString()+';':'')+(d?' domain='+"
+"d+';':'');return s.c_r(k)==v}return 0};s.eh=function(o,e,r,f){var s"
+"=this,b='s_'+e+'_'+s._in,n=-1,l,i,x;if(!s.ehl)s.ehl=new Array;l=s.e"
+"hl;for(i=0;i<l.length&&n<0;i++){if(l[i].o==o&&l[i].e==e)n=i}if(n<0)"
+"{n=i;l[n]=new Object}x=l[n];x.o=o;x.e=e;f=r?x.b:f;if(r||f){x.b=r?0:"
+"o[e];x.o[e]=f}if(x.b){x.o[b]=x.b;return b}return 0};s.cet=function("
+"f,a,t,o,b){var s=this,r;if(s.apv>=5&&(!s.isopera||s.apv>=7))eval('t"
+"ry{r=s.m(f)?s[f](a):f(a)}catch(e){r=s.m(t)?s[t](e):t(e)}');else{if("
+"s.ismac&&s.u.indexOf('MSIE 4')>=0)r=s.m(b)?s[b](a):b(a);else{s.eh(s"
+".wd,'onerror',0,o);r=s.m(f)?s[f](a):f(a);s.eh(s.wd,'onerror',1)}}re"
+"turn r};s.gtfset=function(e){var s=this;return s.tfs};s.gtfsoe=new "
+"Function('e','var s=s_c_il['+s._in+'];s.eh(window,\"onerror\",1);s."
+"etfs=1;var c=s.t();if(c)s.d.write(c);s.etfs=0;return true');s.gtfsf"
+"b=function(a){return window};s.gtfsf=function(w){var s=this,p=w.par"
+"ent,l=w.location;s.tfs=w;if(p&&p.location!=l&&p.location.host==l.ho"
+"st){s.tfs=p;return s.gtfsf(s.tfs)}return s.tfs};s.gtfs=function(){v"
+"ar s=this;if(!s.tfs){s.tfs=s.wd;if(!s.etfs)s.tfs=s.cet('gtfsf',s.tf"
+"s,'gtfset',s.gtfsoe,'gtfsfb')}return s.tfs};s.ca=function(){var s=t"
+"his,imn='s_i_'+s.fun;if(s.d.images&&s.apv>=3&&(!s.isopera||s.apv>=7"
+")&&(s.ns6<0||s.apv>=6.1)){s.ios=1;if(!s.d.images[imn]&&(!s.isns||(s"
+".apv<4||s.apv>=5))){s.d.write('<im'+'g name=\"'+imn+'\" height=1 wi"
+"dth=1 border=0 alt=\"\">');if(!s.d.images[imn])s.ios=0}}};s.mr=func"
+"tion(sess,q,ta){var s=this,dc=s.dc,t1=s.trackingServer,t2=s.trackin"
+"gServerSecure,ns=s.visitorNamespace,unc=s.rep(s.fun,'_','-'),imn='s"
+"_i_'+s.fun,im,b,e,rs='http'+(s.ssl?'s':'')+'://'+(t1?(s.ssl&&t2?t2:"
+"t1):((ns?ns:(s.ssl?'102':unc))+'.'+(s.dc?s.dc:112)+'.2o7.net'))+'/b"
+"/ss/'+s.un+'/1/H.9-pdv-2/'+sess+'?[AQB]&ndh=1'+(q?q:'')+(s.q?s.q:''"
+")+'&[AQE]';if(s.isie&&!s.ismac){if(s.apv>5.5)rs=s.fl(rs,4095);else "
+"rs=s.fl(rs,2047)}if(s.ios||s.ss){if (!s.ss)s.ca();im=s.wd[imn]?s.wd"
+"[imn]:s.d.images[imn];if(!im)im=s.wd[imn]=new Image;im.src=rs;if(rs"
+".indexOf('&pe=')>=0&&(!ta||ta=='_self'||ta=='_top'||(s.wd.name&&ta="
+"=s.wd.name))){b=e=new Date;while(e.getTime()-b.getTime()<500)e=new "
+"Date}return ''}return '<im'+'g sr'+'c=\"'+rs+'\" width=1 height=1 b"
+"order=0 alt=\"\">'};s.gg=function(v){var s=this;return s.wd['s_'+v]"
+"};s.glf=function(t,a){if(t.substring(0,2)=='s_')t=t.substring(2);va"
+"r s=this,v=s.gg(t);if(v)s[t]=v};s.gl=function(v){var s=this;s.pt(v,"
+"',','glf',0)};s.gv=function(v){var s=this;return s['vpm_'+v]?s['vpv"
+"_'+v]:(s[v]?s[v]:'')};s.havf=function(t,a){var s=this,b=t.substring"
+"(0,4),x=t.substring(4),n=parseInt(x),k='g_'+t,m='vpm_'+t,q=t,v=s.li"
+"nkTrackVars,e=s.linkTrackEvents;s[k]=s.gv(t);if(s.lnk||s.eo){v=v?v+"
+"','+s.vl_l:'';if(v&&!s.pt(v,',','isf',t))s[k]='';if(t=='events'&&e)"
+"s[k]=s.fs(s[k],e)}s[m]=0;if(t=='visitorID')q='vid';else if(t=='page"
+"URL')q='g';else if(t=='referrer')q='r';else if(t=='vmk')q='vmt';els"
+"e if(t=='charSet'){q='ce';if(s[k]&&s.em==2)s[k]='UTF-8'}else if(t=="
+"'visitorNamespace')q='ns';else if(t=='cookieDomainPeriods')q='cdp';"
+"else if(t=='cookieLifetime')q='cl';else if(t=='variableProvider')q="
+"'vvp';else if(t=='currencyCode')q='cc';else if(t=='channel')q='ch';"
+"else if(t=='campaign')q='v0';else if(s.num(x)) {if(b=='prop')q='c'+"
+"n;else if(b=='eVar')q='v'+n;else if(b=='hier'){q='h'+n;s[k]=s.fl(s["
+"k],255)}}if(s[k]&&t!='linkName'&&t!='linkType')s.qav+='&'+q+'='+s.a"
+"pe(s[k]);return ''};s.hav=function(){var s=this;s.qav='';s.pt(s.vl_"
+"t,',','havf',0);return s.qav};s.lnf=function(t,h){t=t?t.toLowerCase"
+"():'';h=h?h.toLowerCase():'';var te=t.indexOf('=');if(t&&te>0&&h.in"
+"dexOf(t.substring(te+1))>=0)return t.substring(0,te);return ''};s.l"
+"n=function(h){var s=this,n=s.linkNames;if(n)return s.pt(n,',','lnf'"
+",h);return ''};s.ltdf=function(t,h){t=t?t.toLowerCase():'';h=h?h.to"
+"LowerCase():'';var qi=h.indexOf('?');h=qi>=0?h.substring(0,qi):h;if"
+"(t&&h.substring(h.length-(t.length+1))=='.'+t)return 1;return 0};s."
+"ltef=function(t,h){t=t?t.toLowerCase():'';h=h?h.toLowerCase():'';if"
+"(t&&h.indexOf(t)>=0)return 1;return 0};s.lt=function(h){var s=this,"
+"lft=s.linkDownloadFileTypes,lef=s.linkExternalFilters,lif=s.linkInt"
+"ernalFilters;lif=lif?lif:s.wd.location.hostname;h=h.toLowerCase();i"
+"f(s.trackDownloadLinks&&lft&&s.pt(lft,',','ltdf',h))return 'd';if(s"
+".trackExternalLinks&&(lef||lif)&&(!lef||s.pt(lef,',','ltef',h))&&(!"
+"lif||!s.pt(lif,',','ltef',h)))return 'e';return ''};s.lc=new Functi"
+"on('e','var s=s_c_il['+s._in+'],b=s.eh(this,\"onclick\");s.lnk=s.co"
+"(this);s.t();s.lnk=0;if(b)return this[b](e);return true');s.bc=new "
+"Function('e','var s=s_c_il['+s._in+'],f;if(s.d&&s.d.all&&s.d.all.cp"
+"pXYctnr)return;s.eo=e.srcElement?e.srcElement:e.target;eval(\"try{i"
+"f(s.eo&&(s.eo.tagName||s.eo.parentElement||s.eo.parentNode))s.t()}c"
+"atch(f){}\");s.eo=0');s.ot=function(o){var a=o.type,b=o.tagName;ret"
+"urn (a&&a.toUpperCase?a:b&&b.toUpperCase?b:o.href?'A':'').toUpperCa"
+"se()};s.oid=function(o){var s=this,t=s.ot(o),p=o.protocol,c=o.oncli"
+"ck,n='',x=0;if(!o.s_oid){if(o.href&&(t=='A'||t=='AREA')&&(!c||!p||p"
+".toLowerCase().indexOf('javascript')<0))n=o.href;else if(c){n=s.rep"
+"(s.rep(s.rep(s.rep(''+c,\"\\r\",''),\"\\n\",''),\"\\t\",''),' ','')"
+";x=2}else if(o.value&&(t=='INPUT'||t=='SUBMIT')){n=o.value;x=3}else"
+" if(o.src&&t=='IMAGE')n=o.src;if(n){o.s_oid=s.fl(n,100);o.s_oidt=x}"
+"}return o.s_oid};s.rqf=function(t,un){var s=this,e=t.indexOf('='),u"
+"=e>=0?','+t.substring(0,e)+',':'';return u&&u.indexOf(','+un+',')>="
+"0?s.epa(t.substring(e+1)):''};s.rq=function(un){var s=this,c=un.ind"
+"exOf(','),v=s.c_r('s_sq'),q='';if(c<0)return s.pt(v,'&','rqf',un);r"
+"eturn s.pt(un,',','rq',0)};s.sqp=function(t,a){var s=this,e=t.index"
+"Of('='),q=e<0?'':s.epa(t.substring(e+1));s.sqq[q]='';if(e>=0)s.pt(t"
+".substring(0,e),',','sqs',q);return 0};s.sqs=function(un,q){var s=t"
+"his;s.squ[un]=q;return 0};s.sq=function(q){var s=this,k='s_sq',v=s."
+"c_r(k),x,c=0;s.sqq=new Object;s.squ=new Object;s.sqq[q]='';s.pt(v,'"
+"&','sqp',0);s.pt(s.un,',','sqs',q);v='';for(x in s.squ)s.sqq[s.squ["
+"x]]+=(s.sqq[s.squ[x]]?',':'')+x;for(x in s.sqq)if(x&&s.sqq[x]&&(x=="
+"q||c<2)){v+=(v?'&':'')+s.sqq[x]+'='+s.ape(x);c++}return s.c_w(k,v,0"
+")};s.wdl=new Function('e','var s=s_c_il['+s._in+'],r=true,b=s.eh(s."
+"wd,\"onload\"),i,o,oc;if(b)r=this[b](e);for(i=0;i<s.d.links.length;"
+"i++){o=s.d.links[i];oc=o.onclick?\"\"+o.onclick:\"\";if((oc.indexOf"
+"(\"s_gs(\")<0||oc.indexOf(\".s_oc(\")>=0)&&oc.indexOf(\".tl(\")<0)s"
+".eh(o,\"onclick\",0,s.lc);}return r');s.wds=function(){var s=this;i"
+"f(s.apv>3&&(!s.isie||!s.ismac||s.apv>=5)){if(s.b&&s.b.attachEvent)s"
+".b.attachEvent('onclick',s.bc);else if(s.b&&s.b.addEventListener)s."
+"b.addEventListener('click',s.bc,false);else s.eh(s.wd,'onload',0,s."
+"wdl)}};s.vs=function(x){var s=this,v=s.visitorSampling,g=s.visitorS"
+"amplingGroup,k='s_vsn_'+s.un+(g?'_'+g:''),n=s.c_r(k),e=new Date,y=e"
+".getYear();e.setYear(y+10+(y<1900?1900:0));if(v){v*=100;if(!n){if(!"
+"s.c_w(k,x,e))return 0;n=x}if(n%10000>v)return 0}return 1};s.dyasmf="
+"function(t,m){if(t&&m&&m.indexOf(t)>=0)return 1;return 0};s.dyasf=f"
+"unction(t,m){var s=this,i=t?t.indexOf('='):-1,n,x;if(i>=0&&m){var n"
+"=t.substring(0,i),x=t.substring(i+1);if(s.pt(x,',','dyasmf',m))retu"
+"rn n}return 0};s.uns=function(){var s=this,x=s.dynamicAccountSelect"
+"ion,l=s.dynamicAccountList,m=s.dynamicAccountMatch,n,i;s.un.toLower"
+"Case();if(x&&l){if(!m)m=s.wd.location.host;if(!m.toLowerCase)m=''+m"
+";l=l.toLowerCase();m=m.toLowerCase();n=s.pt(l,';','dyasf',m);if(n)s"
+".un=n}i=s.un.indexOf(',');s.fun=i<0?s.un:s.un.substring(0,i)};s.sa="
+"function(un){s.un=un;if(!s.oun)s.oun=un;else if((','+s.oun+',').ind"
+"exOf(un)<0)s.oun+=','+un;s.uns()};s.t=function(){var s=this,trk=1,t"
+"m=new Date,sed=Math&&Math.random?Math.floor(Math.random()*100000000"
+"00000):tm.getTime(),sess='s'+Math.floor(tm.getTime()/10800000)%10+s"
+"ed,yr=tm.getYear(),vt=tm.getDate()+'/'+tm.getMonth()+'/'+(yr<1900?y"
+"r+1900:yr)+' '+tm.getHours()+':'+tm.getMinutes()+':'+tm.getSeconds("
+")+' '+tm.getDay()+' '+tm.getTimezoneOffset(),tfs=s.gtfs(),ta='',q='"
+"',qs='';s.uns();if(!s.q){var tl=tfs.location,x='',c='',v='',p='',bw"
+"='',bh='',j='1.0',k=s.c_w('s_cc','true',0)?'Y':'N',hp='',ct='',pn=0"
+",ps;if(s.apv>=4)x=screen.width+'x'+screen.height;if(s.isns||s.isope"
+"ra){if(s.apv>=3){j='1.1';v=s.n.javaEnabled()?'Y':'N';if(s.apv>=4){j"
+"='1.2';c=screen.pixelDepth;bw=s.wd.innerWidth;bh=s.wd.innerHeight;i"
+"f(s.apv>=4.06)j='1.3'}}s.pl=s.n.plugins}else if(s.isie){if(s.apv>=4"
+"){v=s.n.javaEnabled()?'Y':'N';j='1.2';c=screen.colorDepth;if(s.apv>"
+"=5){bw=s.d.documentElement.offsetWidth;bh=s.d.documentElement.offse"
+"tHeight;j='1.3';if(!s.ismac&&s.b){s.b.addBehavior('#default#homePag"
+"e');hp=s.b.isHomePage(tl)?\"Y\":\"N\";s.b.addBehavior('#default#cli"
+"entCaps');ct=s.b.connectionType}}}else r=''}if(s.pl)while(pn<s.pl.l"
+"ength&&pn<30){ps=s.fl(s.pl[pn].name,100)+';';if(p.indexOf(ps)<0)p+="
+"ps;pn++}s.q=(x?'&s='+s.ape(x):'')+(c?'&c='+s.ape(c):'')+(j?'&j='+j:"
+"'')+(v?'&v='+v:'')+(k?'&k='+k:'')+(bw?'&bw='+bw:'')+(bh?'&bh='+bh:'"
+"')+(ct?'&ct='+s.ape(ct):'')+(hp?'&hp='+hp:'')+(p?'&p='+s.ape(p):'')"
+"}if(s.usePlugins)s.doPlugins(s);var l=s.wd.location,r=tfs.document."
+"referrer;if(!s.pageURL)s.pageURL=s.fl(l?l:'',255);if(!s.referrer)s."
+"referrer=s.fl(r?r:'',255);if(s.lnk||s.eo){var o=s.eo?s.eo:s.lnk;if("
+"!o)return '';var p=s.gv('pageName'),w=1,t=s.ot(o),n=s.oid(o),x=o.s_"
+"oidt,h,l,i,oc;if(s.eo&&o==s.eo){while(o&&!n&&t!='BODY'){o=o.parentE"
+"lement?o.parentElement:o.parentNode;if(!o)return '';t=s.ot(o);n=s.o"
+"id(o);x=o.s_oidt}oc=o.onclick?''+o.onclick:'';if((oc.indexOf(\"s_gs"
+"(\")>=0&&oc.indexOf(\".s_oc(\")<0)||oc.indexOf(\".tl(\")>=0)return "
+"''}ta=n?o.target:1;h=o.href?o.href:'';i=h.indexOf('?');h=s.linkLeav"
+"eQueryString||i<0?h:h.substring(0,i);l=s.linkName?s.linkName:s.ln(h"
+");t=s.linkType?s.linkType.toLowerCase():s.lt(h);if(t&&(h||l))q+='&p"
+"e=lnk_'+(t=='d'||t=='e'?s.ape(t):'o')+(h?'&pev1='+s.ape(h):'')+(l?'"
+"&pev2='+s.ape(l):'');else trk=0;if(s.trackInlineStats){if(!p){p=s.g"
+"v('pageURL');w=0}t=s.ot(o);i=o.sourceIndex;if(s.gg('objectID')){n=s"
+".gg('objectID');x=1;i=1}if(p&&n&&t)qs='&pid='+s.ape(s.fl(p,255))+(w"
+"?'&pidt='+w:'')+'&oid='+s.ape(s.fl(n,100))+(x?'&oidt='+x:'')+'&ot='"
+"+s.ape(t)+(i?'&oi='+i:'')}}if(!trk&&!qs)return '';if(s.p_r)s.p_r();"
+"var code='';if(trk&&s.vs(sed))code=s.mr(sess,(vt?'&t='+s.ape(vt):''"
+")+s.hav()+q+(qs?qs:s.rq(s.un)),ta);s.sq(trk?'':qs);s.lnk=s.eo=s.lin"
+"kName=s.linkType=s.wd.s_objectID=s.ppu='';return code};s.tl=functio"
+"n(o,t,n){var s=this;s.lnk=s.co(o);s.linkType=t;s.linkName=n;s.t()};"
+"s.ssl=(s.wd.location.protocol.toLowerCase().indexOf('https')>=0);s."
+"d=document;s.b=s.d.body;s.n=navigator;s.u=s.n.userAgent;s.ns6=s.u.i"
+"ndexOf('Netscape6/');var apn=s.n.appName,v=s.n.appVersion,ie=v.inde"
+"xOf('MSIE '),o=s.u.indexOf('Opera '),i;if(v.indexOf('Opera')>=0||o>"
+"0)apn='Opera';s.isie=(apn=='Microsoft Internet Explorer');s.isns=(a"
+"pn=='Netscape');s.isopera=(apn=='Opera');s.ismac=(s.u.indexOf('Mac'"
+")>=0);if(o>0)s.apv=parseFloat(s.u.substring(o+6));else if(ie>0){s.a"
+"pv=parseInt(i=v.substring(ie+5));if(s.apv>3)s.apv=parseFloat(i)}els"
+"e if(s.ns6>0)s.apv=parseFloat(s.u.substring(s.ns6+10));else s.apv=p"
+"arseFloat(v);s.em=0;if(String.fromCharCode){i=escape(String.fromCha"
+"rCode(256)).toUpperCase();s.em=(i=='%C4%80'?2:(i=='%U0100'?1:0))}s."
+"sa(un);s.vl_l='visitorID,vmk,ppu,charSet,visitorNamespace,cookieDom"
+"ainPeriods,cookieLifetime,pageName,pageURL,referrer,currencyCode,pu"
+"rchaseID';s.vl_t=s.vl_l+',variableProvider,channel,server,pageType,"
+"campaign,state,zip,events,products,linkName,linkType';for(var n=1;n"
+"<51;n++)s.vl_t+=',prop'+n+',eVar'+n+',hier'+n;s.vl_g=s.vl_t+',track"
+"DownloadLinks,trackExternalLinks,trackInlineStats,linkLeaveQueryStr"
+"ing,linkDownloadFileTypes,linkExternalFilters,linkInternalFilters,l"
+"inkNames';if(pg)s.gl(s.vl_g);s.ss=ss;if(!ss){s.wds();s.ca()}}",
l=window.s_c_il,n=navigator,u=n.userAgent,v=n.appVersion,e=v.indexOf(
'MSIE '),m=u.indexOf('Netscape6/'),a,i,s;if(l)for(i=0;i<l.length;i++){
s=l[i];if(s.oun==un)return s;else if(s.fs(s.oun,un)){s.sa(un);return s
}}if(e>0){a=parseInt(i=v.substring(e+5));if(a>3)a=parseFloat(i)}
else if(m>0)a=parseFloat(u.substring(m+10));else a=parseFloat(v);if(a
>=5&&v.indexOf('Opera')<0&&u.indexOf('Opera')<0){eval(c);return new
s_c(un,pg,ss)}else s=s_c2f(c);return s(un,pg,ss)}

