function getCookieVal (offset) 
{
	var endstr = document.cookie.indexOf (";", offset);
	if (endstr == -1)
		endstr = document.cookie.length;

	return unescape(document.cookie.substring(offset, endstr));
}

function GetCookie (name)  
{
	var arg = name + "=";
	var alen = arg.length;
	var clen = document.cookie.length;
	var i = 0;
	
	while (i < clen)  
	{
		var j = i + alen;
		
		if (document.cookie.substring(i, j) == arg)
			return getCookieVal (j);i = document.cookie.indexOf(" ", i) + 1;

		if (i == 0) 
			break; 
	}
	return null;
}

function SetCookie (name, value)  
{
	var argv = SetCookie.arguments;
	var argc = SetCookie.arguments.length;
	var expires = (argc > 2) ? argv[2] : null;
	var path = (argc > 3) ? argv[3] : null;
	var domain = (argc > 4) ? argv[4] : null;
	var secure = (argc > 5) ? argv[5] : false;
	document.cookie = name + "=" + escape (value) +
	((expires == null) ? "" : ("; expires=" + expires.toGMTString())) +
	((path == null) ? "" : ("; path=" + path)) +
	((domain == null) ? "" : ("; domain=" + domain)) +
	((secure == true) ? "; secure" : "");
}

/* PluginDetect v0.1.9 by Eric Gerds */ var PluginDetect={minIEver:5.5,getNum:function(A){if(!A){return null}var m=/[\d][\d\.\_,-]*/.exec(A);return m?m[0].replace(/[\.\_-]/g,","):null},hasMimeType:function(_3){var s,t,z,M=_3.constructor==String?[_3]:_3;for(z=0;z<M.length;z++){s=navigator.mimeTypes[M[z]];if(s&&s.enabledPlugin){t=s.enabledPlugin;if(t.name||t.description){return s}}}return null},findNavPlugin:function(N,_6){var _7=N.constructor==String?N:N.join(".*"),numS=_6===false?"":"\\d";var i,re=new RegExp(_7+".*"+numS+"|"+numS+".*"+_7,"i");var _9=navigator.plugins;for(i=0;i<_9.length;i++){if(re.test(_9[i].description)||re.test(_9[i].name)){return _9[i]}}return null},getAXO:function(_a){var _b,e;try{_b=new ActiveXObject(_a);return _b}catch(e){}return null},num:function(A){return (typeof A!="string"?false:(/\d/).test(A))},compareNums:function(_d,_e){if(!this.num(_d)||!this.num(_e)){return 0}var m1=_d.split(","),m2=_e.split(","),x,p=parseInt;for(x=0;x<Math.min(m1.length,m2.length);x++){if(p(m1[x],10)>p(m2[x],10)){return 1}if(p(m1[x],10)<p(m2[x],10)){return -1}}return 0},formatNum:function(num){if(!this.num(num)){return null}var n=num.replace(/[\.\_]/g,","),i;n=n.split(",").concat(["0","0","0","0"]);return n.slice(0,4).join(",")},initScript:function(){var $=this,IE;$.isIE=(/*@cc_on!@*/false);$.IEver=-1;if($.isIE){var IE=(/msie\s*\d\.{0,1}\d*/i).exec(navigator.userAgent),progid,x;if(IE){$.IEver=parseFloat((/\d.{0,1}\d*/i).exec(IE[0]),10)}progid=["ShockwaveFlash.ShockwaveFlash","Msxml2.XMLHTTP","Microsoft.XMLDOM","Msxml2.DOMDocument","TDCCtl.TDCCtl","Shell.UIHelper","Scripting.Dictionary"];$.ActiveXEnabled=false;for(x=0;x<progid.length;x++){if($.getAXO(progid[x])){$.ActiveXEnabled=true;break}}}},init:function(_17){var $=this,IE,p;_17=_17.toLowerCase().replace(/\s/g,"");p=$.plugin=$[_17];if(!p){return -3}if(typeof p.minversion=="undefined"){p.minversion={}}if(typeof p.version=="undefined"){p.version=null}if(typeof p.installed=="undefined"){p.installed=null}$.garbage=false;if($.isIE&&!$.ActiveXEnabled){return -2}return 1},isMinVersion:function(_19,_1a){var $=PluginDetect,i=$.init(_19);if(i<0){return i}if(!$.num(_1a)){return -3}var p=$.plugin,m=p.minversion;_1a=$.formatNum(_1a);if(typeof m["a"+_1a]=="undefined"){if(p.installed==null&&p.getCodeBaseVersion&&$.IEver>=p.minIEver){}else{if(p.installed==null){p.getVersion()}if(p.installed==-1){m["a"+_1a]=-1}else{if(p.version==null){m["a"+_1a]=0}else{m["a"+_1a]=($.compareNums(p.version,_1a)>=0?1:-1)}}}}$.cleanup();return m["a"+_1a];return -3},getVersion:function(_1e){var $=PluginDetect,i=$.init(_1e);if(i<0){return null}var p=$.plugin;if(p.installed==null){p.getVersion()}$.cleanup();return p.version;return null},cleanup:function(){},isActiveXObject:function(_22){},detect:function(_24){},search:function(){},dummy1:0};PluginDetect.initScript();PluginDetect.flash={mimeType:["application/x-shockwave-flash","application/futuresplash"],progID:"ShockwaveFlash.ShockwaveFlash",classID:"clsid:D27CDB6E-AE6D-11CF-96B8-444553540000",getVersion:function(){var _3f=function(A){if(!A){return null}var m=/[\d][\d\,\.\s]*[rRdD]{0,1}[\d\,]*/.exec(A);return m?m[0].replace(/[rRdD\.]/g,",").replace(/\s/g,""):null};var p,$=PluginDetect,e,i,version=null,AXO=null,majV=null;if(!$.isIE){p=$.findNavPlugin("Flash");if(p&&p.description&&$.hasMimeType(this.mimeType)){version=_3f(p.description)}}else{for(i=15;i>2;i--){AXO=$.getAXO(this.progID+"."+i);if(AXO){majV=i.toString();break}}if(majV=="6"){try{AXO.AllowScriptAccess="always"}catch(e){return "6,0,21,0"}}try{version=_3f(AXO.GetVariable("$version"))}catch(e){}if(!version&&majV){version=majV}}this.installed=version?1:-1;this.version=$.formatNum(version)}};


function isFlashInstalled()
{
	return PluginDetect.isMinVersion ("Flash", "8");
}


function detectFlash()
{
	if (! GetCookie ("EVIDetectFlash") )
	{
		var flashInstalled = (isFlashInstalled() == true) ? 1 : 0;
		SetCookie ("EVIDetectFlash", flashInstalled);
	}
}

detectFlash();

/**
 * mm_menu 20MAR2002 Version 6.0
 * Andy Finnell, March 2002
 * Copyright (c) 2000-2002 Macromedia, Inc.
 *
 * based on menu.js
 * by gary smith, July 1997
 * Copyright (c) 1997-1999 Netscape Communications Corp.
 *
 * Netscape grants you a royalty free license to use or modify this
 * software provided that this copyright notice appears on all copies.
 * This software is provided "AS IS," without a warranty of any kind.
 */
function Menu(label, mw, mh, fnt, fs, fclr, fhclr, bg, bgh, halgn, valgn, pad, space, to, sx, sy, srel, opq, vert, idt, aw, ah) 
{
	this.version = "020320 [Menu; mm_menu.js]";
	this.type = "Menu";
	this.menuWidth = mw;
	this.menuItemHeight = mh;
	this.fontSize = fs||12;
	this.fontWeight = "plain";
	this.fontFamily = fnt||"Verdana, Arial, sans-serif";
	this.fontColor = fclr||"#F4ECD0";
	this.fontColorHilite = fhclr||"#FDBF4D";
	this.bgColor = "#000000";
	this.menuBorder = 1;
	this.menuBgOpaque=opq;
	this.menuItemBorder = 1;
	this.menuItemIndent = idt;
	this.menuItemBgColor = bg||"#354465";
	this.menuItemVAlign = valgn;
	this.menuItemHAlign = halgn;
	this.menuItemPadding = pad;
	this.menuItemSpacing = space;
	this.menuLiteBgColor = "#000000";
	this.menuBorderBgColor = "#354465";
	this.menuHiliteBgColor = bgh||"#1F2A40";
	this.menuContainerBgColor = "#354465";
	this.childMenuIcon = "arrows.gif";
	this.submenuXOffset = sx;
	this.submenuYOffset = sy;
	this.submenuRelativeToItem = srel;
	this.vertical = vert;
	this.items = new Array();
	this.actions = new Array();
	this.childMenus = new Array();
	this.hideOnMouseOut = true;
	this.hideTimeout = to;
	this.addMenuItem = addMenuItem;
	this.writeMenus = writeMenus;
	this.MM_showMenu = MM_showMenu;
	this.onMenuItemOver = onMenuItemOver;
	this.onMenuItemAction = onMenuItemAction;
	this.hideMenu = hideMenu;
	this.hideChildMenu = hideChildMenu;
	if (!window.menus) window.menus = new Array();
	this.label = " " + label;
	window.menus[this.label] = this;
	window.menus[window.menus.length] = this;
	if (!window.activeMenus) window.activeMenus = new Array();
}

function addMenuItem(label, action) {
	this.items[this.items.length] = label;
	this.actions[this.actions.length] = action;
}

function FIND(item) {
	if( window.mmIsOpera ) return(document.getElementById(item));
	if (document.all) return(document.all[item]);
	if (document.getElementById) return(document.getElementById(item));
	return(false);
}

function writeMenus(container) {
	if (window.triedToWriteMenus) return;
	var agt = navigator.userAgent.toLowerCase();
	window.mmIsOpera = agt.indexOf("opera") != -1;
	if (!container && document.layers) {
		window.delayWriteMenus = this.writeMenus;
		var timer = setTimeout('delayWriteMenus()', 500);
		container = new Layer(100);
		clearTimeout(timer);
	} else if (document.all || document.hasChildNodes || window.mmIsOpera) {
		document.writeln('<span id="menuContainer"></span>');
		container = FIND("menuContainer");
	}

	window.mmHideMenuTimer = null;
	if (!container) return;	
	window.triedToWriteMenus = true; 
	container.isContainer = true;
	container.menus = new Array();
	for (var i=0; i<window.menus.length; i++) 
		container.menus[i] = window.menus[i];
	window.menus.length = 0;
	var countMenus = 0;
	var countItems = 0;
	var top = 0;
	var content = '';
	var lrs = false;
	var theStat = "";
	var tsc = 0;
	if (document.layers) lrs = true;
	for (var i=0; i<container.menus.length; i++, countMenus++) {
		var menu = container.menus[i];
		if (menu.bgImageUp || !menu.menuBgOpaque) {
			menu.menuBorder = 0;
			menu.menuItemBorder = 0;
		}
		if (lrs) {
			var menuLayer = new Layer(100, container);
			var lite = new Layer(100, menuLayer);
			lite.top = menu.menuBorder;
			lite.left = menu.menuBorder;
			var body = new Layer(100, lite);
			body.top = menu.menuBorder;
			body.left = menu.menuBorder;
		} else {
			content += ''+
			'<div id="menuLayer'+ countMenus +'" style="position:absolute;z-index:1;left:10px;top:'+ (i * 100) +'px;visibility:hidden;color:' +  menu.menuBorderBgColor + ';">\n'+
			'  <div id="menuLite'+ countMenus +'" style="position:absolute;z-index:1;left:'+ menu.menuBorder +'px;top:'+ menu.menuBorder +'px;visibility:hide;" onmouseout="mouseoutMenu();">\n'+
			'	 <div id="menuFg'+ countMenus +'" style="position:absolute;left:'+ menu.menuBorder +'px;top:'+ menu.menuBorder +'px;visibility:hide;">\n'+
			'';
		}
		var x=i;
		for (var i=0; i<menu.items.length; i++) {
			var item = menu.items[i];
			var childMenu = false;
			var defaultHeight = menu.fontSize+2*menu.menuItemPadding;
			if (item.label) {
				item = item.label;
				childMenu = true;
			}
			menu.menuItemHeight = menu.menuItemHeight || defaultHeight;
			var itemProps = '';
			if( menu.fontFamily != '' ) itemProps += 'font-family:' + menu.fontFamily +';';
			itemProps += 'font-weight:' + menu.fontWeight + ';fontSize:' + menu.fontSize + 'px;';
			if (menu.fontStyle) itemProps += 'font-style:' + menu.fontStyle + ';';
			if (document.all || window.mmIsOpera) 
				itemProps += 'font-size:' + menu.fontSize + 'px;" onmouseover="onMenuItemOver(null,this);" onclick="onMenuItemAction(null,this);';
			else if (!document.layers) {
				itemProps += 'font-size:' + menu.fontSize + 'px;';
			}
			var l;
			if (lrs) {
				var lw = menu.menuWidth;
				if( menu.menuItemHAlign == 'right' ) lw -= menu.menuItemPadding;
				l = new Layer(lw,body);
			}
			var itemLeft = 0;
			var itemTop = i*menu.menuItemHeight;
			if( !menu.vertical ) {
				itemLeft = i*menu.menuWidth;
				itemTop = 0;
			}
			var dTag = '<div id="menuItem'+ countItems +'" style="position:absolute;white-space:nowrap;left:' + itemLeft + 'px;top:'+ itemTop +'px;'+ itemProps +'">';
			var dClose = '</div>'
			if (menu.bgImageUp) dTag = '<div id="menuItem'+ countItems +'" style="background:url('+menu.bgImageUp+');position:absolute;white-space:nowrap;left:' + itemLeft + 'px;top:'+ itemTop +'px;'+ itemProps +'">';

			var left = 0, top = 0, right = 0, bottom = 0;
			left = 1 + menu.menuItemPadding + menu.menuItemIndent;
			right = left + menu.menuWidth - 2*menu.menuItemPadding - menu.menuItemIndent;
			if( menu.menuItemVAlign == 'top' ) top = menu.menuItemPadding;
			if( menu.menuItemVAlign == 'bottom' ) top = menu.menuItemHeight-menu.fontSize-1-menu.menuItemPadding;
			if( menu.menuItemVAlign == 'middle' ) top = ((menu.menuItemHeight/2)-(menu.fontSize/2)-1);
			bottom = menu.menuItemHeight - 2*menu.menuItemPadding;
			var textProps = 'position:absolute;white-space:nowrap;left:' + left + 'px;top:' + top + 'px;';
			if (lrs) {
				textProps +=itemProps + 'right:' + right + ';bottom:' + bottom + ';';
				dTag = "";
				dClose = "";
			}
			
			if(document.all && !window.mmIsOpera) {
				item = '<div align="' + menu.menuItemHAlign + '">' + item + '</div>';
			} else if (lrs) {
				item = '<div style="text-align:' + menu.menuItemHAlign + ';">' + item + '</div>';
			} else {
				var hitem = null;
				if( menu.menuItemHAlign != 'left' ) {
					if(window.mmIsOpera) {
						var operaWidth = menu.menuItemHAlign == 'center' ? -(menu.menuWidth-2*menu.menuItemPadding) : (menu.menuWidth-6*menu.menuItemPadding);
						hitem = '<div id="menuItemHilite' + countItems + 'Shim" style="position:absolute;top:1px;left:' + menu.menuItemPadding + 'px;width:' + operaWidth + 'px;text-align:' 
							+ menu.menuItemHAlign + ';visibility:visible;">' + item + '</div>';
						item = '<div id="menuItemText' + countItems + 'Shim" style="position:absolute;top:1px;left:' + menu.menuItemPadding + 'px;width:' + operaWidth + 'px;text-align:' 
							+ menu.menuItemHAlign + ';visibility:visible;">' + item + '</div>';
					} else {
						hitem = '<div id="menuItemHilite' + countItems + 'Shim" style="position:absolute;white-space:nowrap;top:1px;left:1px;right:-' + (left+menu.menuWidth-3*menu.menuItemPadding) + 'px;text-align:' 
							+ menu.menuItemHAlign + ';visibility:visible;">' + item + '</div>';
						item = '<div id="menuItemText' + countItems + 'Shim" style="position:absolute;white-space:nowrap;top:1px;left:1px;right:-' + (left+menu.menuWidth-3*menu.menuItemPadding) + 'px;text-align:' 
							+ menu.menuItemHAlign + ';visibility:visible;">' + item + '</div>';
					}
				} else hitem = null;
			}
			if(document.all && !window.mmIsOpera) item = '<div id="menuItemShim' + countItems + '" style="position:absolute;left:0px;top:0px;">' + item + '</div>';
			var dText	= '<div id="menuItemText'+ countItems +'" style="' + textProps + 'color:'+ menu.fontColor +';">'+ item +'&nbsp</div>\n'
						+ '<div id="menuItemHilite'+ countItems +'" style="' + textProps + 'color:'+ menu.fontColorHilite +';visibility:hidden;">' 
						+ (hitem||item) +'&nbsp</div>';
			if (childMenu) content += ( dTag + dText + '<div id="childMenu'+ countItems +'" style="position:absolute;left:0px;top:3px;"><img src="'+ menu.childMenuIcon +'"></div>\n' + dClose);
			else content += ( dTag + dText + dClose);
			if (lrs) {
				l.document.open("text/html");
				l.document.writeln(content);
				l.document.close();	
				content = '';
				theStat += "-";
				tsc++;
				if (tsc > 50) {
					tsc = 0;
					theStat = "";
				}
				status = theStat;
			}
			countItems++;  
		}
		if (lrs) {
			var focusItem = new Layer(100, body);
			focusItem.visiblity="hidden";
			focusItem.document.open("text/html");
			focusItem.document.writeln("&nbsp;");
			focusItem.document.close();	
		} else {
		  content += '	  <div id="focusItem'+ countMenus +'" style="position:absolute;left:0px;top:0px;visibility:hide;" onclick="onMenuItemAction(null,this);">&nbsp;</div>\n';
		  content += '   </div>\n  </div>\n</div>\n';
		}
		i=x;
	}
	if (document.layers) {		
		container.clip.width = window.innerWidth;
		container.clip.height = window.innerHeight;
		container.onmouseout = mouseoutMenu;
		container.menuContainerBgColor = this.menuContainerBgColor;
		for (var i=0; i<container.document.layers.length; i++) {
			proto = container.menus[i];
			var menu = container.document.layers[i];
			container.menus[i].menuLayer = menu;
			container.menus[i].menuLayer.Menu = container.menus[i];
			container.menus[i].menuLayer.Menu.container = container;
			var body = menu.document.layers[0].document.layers[0];
			body.clip.width = proto.menuWidth || body.clip.width;
			body.clip.height = proto.menuHeight || body.clip.height;
			for (var n=0; n<body.document.layers.length-1; n++) {
				var l = body.document.layers[n];
				l.Menu = container.menus[i];
				l.menuHiliteBgColor = proto.menuHiliteBgColor;
				l.document.bgColor = proto.menuItemBgColor;
				l.saveColor = proto.menuItemBgColor;
				l.onmouseover = proto.onMenuItemOver;
				l.onclick = proto.onMenuItemAction;
				l.mmaction = container.menus[i].actions[n];
				l.focusItem = body.document.layers[body.document.layers.length-1];
				l.clip.width = proto.menuWidth || body.clip.width;
				l.clip.height = proto.menuItemHeight || l.clip.height;
				if (n>0) {
					if( l.Menu.vertical ) l.top = body.document.layers[n-1].top + body.document.layers[n-1].clip.height + proto.menuItemBorder + proto.menuItemSpacing;
					else l.left = body.document.layers[n-1].left + body.document.layers[n-1].clip.width + proto.menuItemBorder + proto.menuItemSpacing;
				}
				l.hilite = l.document.layers[1];
				if (proto.bgImageUp) l.background.src = proto.bgImageUp;
				l.document.layers[1].isHilite = true;
				if (l.document.layers.length > 2) {
					l.childMenu = container.menus[i].items[n].menuLayer;
					l.document.layers[2].left = l.clip.width -13;
					l.document.layers[2].top = (l.clip.height / 2) -4;
					l.document.layers[2].clip.left += 3;
					l.Menu.childMenus[l.Menu.childMenus.length] = l.childMenu;
				}
			}
			if( proto.menuBgOpaque ) body.document.bgColor = proto.bgColor;
			if( proto.vertical ) {
				body.clip.width  = l.clip.width +proto.menuBorder;
				body.clip.height = l.top + l.clip.height +proto.menuBorder;
			} else {
				body.clip.height  = l.clip.height +proto.menuBorder;
				body.clip.width = l.left + l.clip.width  +proto.menuBorder;
				if( body.clip.width > window.innerWidth ) body.clip.width = window.innerWidth;
			}
			var focusItem = body.document.layers[n];
			focusItem.clip.width = body.clip.width;
			focusItem.Menu = l.Menu;
			focusItem.top = -30;
            focusItem.captureEvents(Event.MOUSEDOWN);
            focusItem.onmousedown = onMenuItemDown;
			if( proto.menuBgOpaque ) menu.document.bgColor = proto.menuBorderBgColor;
			var lite = menu.document.layers[0];
			if( proto.menuBgOpaque ) lite.document.bgColor = proto.menuLiteBgColor;
			lite.clip.width = body.clip.width +1;
			lite.clip.height = body.clip.height +1;
			menu.clip.width = body.clip.width + (proto.menuBorder * 3) ;
			menu.clip.height = body.clip.height + (proto.menuBorder * 3);
		}
	} else {
		if ((!document.all) && (container.hasChildNodes) && !window.mmIsOpera) {
			container.innerHTML=content;
		} else {
			container.document.open("text/html");
			container.document.writeln(content);
			container.document.close();	
		}
		if (!FIND("menuLayer0")) return;
		var menuCount = 0;
		for (var x=0; x<container.menus.length; x++) {
			var menuLayer = FIND("menuLayer" + x);
			container.menus[x].menuLayer = "menuLayer" + x;
			menuLayer.Menu = container.menus[x];
			menuLayer.Menu.container = "menuLayer" + x;
			menuLayer.style.zindex = 1;
		    var s = menuLayer.style;
			s.pixeltop = -300;
			s.pixelleft = -300;
			s.top = '-300px';
			s.left = '-300px';

			var menu = container.menus[x];
			menu.menuItemWidth = menu.menuWidth || menu.menuIEWidth || 140;
			if( menu.menuBgOpaque ) menuLayer.style.backgroundColor = menu.menuBorderBgColor;
			var top = 0;
			var left = 0;
			menu.menuItemLayers = new Array();
			for (var i=0; i<container.menus[x].items.length; i++) {
				var l = FIND("menuItem" + menuCount);
				l.Menu = container.menus[x];
				l.Menu.menuItemLayers[l.Menu.menuItemLayers.length] = l;
				if (l.addEventListener || window.mmIsOpera) {
					l.style.width = menu.menuItemWidth + 'px';
					l.style.height = menu.menuItemHeight + 'px';
					l.style.pixelWidth = menu.menuItemWidth;
					l.style.pixelHeight = menu.menuItemHeight;
					l.style.top = top + 'px';
					l.style.left = left + 'px';
					if(l.addEventListener) {
						l.addEventListener("mouseover", onMenuItemOver, false);
						l.addEventListener("click", onMenuItemAction, false);
						l.addEventListener("mouseout", mouseoutMenu, false);
					}
					if( menu.menuItemHAlign != 'left' ) {
						l.hiliteShim = FIND("menuItemHilite" + menuCount + "Shim");
						l.hiliteShim.style.visibility = "inherit";
						l.textShim = FIND("menuItemText" + menuCount + "Shim");
						l.hiliteShim.style.pixelWidth = menu.menuItemWidth - 2*menu.menuItemPadding - menu.menuItemIndent;
						l.hiliteShim.style.width = l.hiliteShim.style.pixelWidth;
						l.textShim.style.pixelWidth = menu.menuItemWidth - 2*menu.menuItemPadding - menu.menuItemIndent;
						l.textShim.style.width = l.textShim.style.pixelWidth;	
					}
				} else {
					l.style.pixelWidth = menu.menuItemWidth;
					l.style.pixelHeight = menu.menuItemHeight;
					l.style.pixelTop = top;
					l.style.pixelLeft = left;
					if( menu.menuItemHAlign != 'left' ) {
						var shim = FIND("menuItemShim" + menuCount);
						shim[0].style.pixelWidth = menu.menuItemWidth - 2*menu.menuItemPadding - menu.menuItemIndent;
						shim[1].style.pixelWidth = menu.menuItemWidth - 2*menu.menuItemPadding - menu.menuItemIndent;
						shim[0].style.width = shim[0].style.pixelWidth + 'px';
						shim[1].style.width = shim[1].style.pixelWidth + 'px';
					}
				}
				if( menu.vertical ) top = top + menu.menuItemHeight+menu.menuItemBorder+menu.menuItemSpacing;
				else left = left + menu.menuItemWidth+menu.menuItemBorder+menu.menuItemSpacing;
				l.style.fontSize = menu.fontSize + 'px';
				l.style.backgroundColor = menu.menuItemBgColor;
				l.style.visibility = "inherit";
				l.saveColor = menu.menuItemBgColor;
				l.menuHiliteBgColor = menu.menuHiliteBgColor;
				l.mmaction = container.menus[x].actions[i];
				l.hilite = FIND("menuItemHilite" + menuCount);
				l.focusItem = FIND("focusItem" + x);
				l.focusItem.style.pixelTop = -30;
				l.focusItem.style.top = '-30px';
				var childItem = FIND("childMenu" + menuCount);
				if (childItem) {
					l.childMenu = container.menus[x].items[i].menuLayer;
					childItem.style.pixelLeft = menu.menuItemWidth -11;
					childItem.style.left = childItem.style.pixelLeft + 'px';
					childItem.style.pixelTop = (menu.menuItemHeight /2) -4;
					childItem.style.top = childItem.style.pixelTop + 'px';
					l.Menu.childMenus[l.Menu.childMenus.length] = l.childMenu;
				}
				l.style.cursor = "hand";
				menuCount++;
			}
			if( menu.vertical ) {
				menu.menuHeight = top-1-menu.menuItemSpacing;
				menu.menuWidth = menu.menuItemWidth;
			} else {
				menu.menuHeight = menu.menuItemHeight;
				menu.menuWidth = left-1-menu.menuItemSpacing;
			}

			var lite = FIND("menuLite" + x);
			var s = lite.style;
			s.pixelHeight = menu.menuHeight +(menu.menuBorder * 2);
			s.height = s.pixelHeight + 'px';
			s.pixelWidth = menu.menuWidth + (menu.menuBorder * 2);
			s.width = s.pixelWidth + 'px';
			if( menu.menuBgOpaque ) s.backgroundColor = menu.menuLiteBgColor;

			var body = FIND("menuFg" + x);
			s = body.style;
			s.pixelHeight = menu.menuHeight + menu.menuBorder;
			s.height = s.pixelHeight + 'px';
			s.pixelWidth = menu.menuWidth + menu.menuBorder;
			s.width = s.pixelWidth + 'px';
			if( menu.menuBgOpaque ) s.backgroundColor = menu.bgColor;

			s = menuLayer.style;
			s.pixelWidth  = menu.menuWidth + (menu.menuBorder * 4);
			s.width = s.pixelWidth + 'px';
			s.pixelHeight  = menu.menuHeight+(menu.menuBorder*4);
			s.height = s.pixelHeight + 'px';
		}
	}
	if (document.captureEvents) document.captureEvents(Event.MOUSEUP);
	if (document.addEventListener) document.addEventListener("mouseup", onMenuItemOver, false);
	if (document.layers && window.innerWidth) {
		window.onresize = NS4resize;
		window.NS4sIW = window.innerWidth;
		window.NS4sIH = window.innerHeight;
		setTimeout("NS4resize()",500);
	}
	document.onmouseup = mouseupMenu;
	window.mmWroteMenu = true;
	status = "";
}

function NS4resize() {
	if (NS4sIW != window.innerWidth || NS4sIH != window.innerHeight) window.location.reload();
}

function onMenuItemOver(e, l) {
	MM_clearTimeout();
	l = l || this;
	var a = window.ActiveMenuItem;
	if (document.layers) {
		if (a) {
			a.document.bgColor = a.saveColor;
			if (a.hilite) a.hilite.visibility = "hidden";
			if (a.Menu.bgImageOver) a.background.src = a.Menu.bgImageUp;
			a.focusItem.top = -100;
			a.clicked = false;
		}
		if (l.hilite) {
			l.document.bgColor = l.menuHiliteBgColor;
			l.zIndex = 1;
			l.hilite.visibility = "inherit";
			l.hilite.zIndex = 2;
			l.document.layers[1].zIndex = 1;
			l.focusItem.zIndex = this.zIndex +2;
		}
		if (l.Menu.bgImageOver) l.background.src = l.Menu.bgImageOver;
		l.focusItem.top = this.top;
		l.focusItem.left = this.left;
		l.focusItem.clip.width = l.clip.width;
		l.focusItem.clip.height = l.clip.height;
		l.Menu.hideChildMenu(l);
	} else if (l.style && l.Menu) {
		if (a) {
			a.style.backgroundColor = a.saveColor;
			if (a.hilite) a.hilite.style.visibility = "hidden";
			if (a.hiliteShim) a.hiliteShim.style.visibility = "inherit";
			if (a.Menu.bgImageUp) a.style.background = "url(" + a.Menu.bgImageUp +")";;
		} 
		l.style.backgroundColor = l.menuHiliteBgColor;
		l.zIndex = 1;
		if (l.Menu.bgImageOver) l.style.background = "url(" + l.Menu.bgImageOver +")";
		if (l.hilite) {
			l.hilite.style.visibility = "inherit";
			if( l.hiliteShim ) l.hiliteShim.style.visibility = "visible";
		}
		l.focusItem.style.pixelTop = l.style.pixelTop;
		l.focusItem.style.top = l.focusItem.style.pixelTop + 'px';
		l.focusItem.style.pixelLeft = l.style.pixelLeft;
		l.focusItem.style.left = l.focusItem.style.pixelLeft + 'px';
		l.focusItem.style.zIndex = l.zIndex +1;
		l.Menu.hideChildMenu(l);
	} else return;
	window.ActiveMenuItem = l;
}

function onMenuItemAction(e, l) {
	l = window.ActiveMenuItem;
	if (!l) return;
	hideActiveMenus();
	if (l.mmaction) eval("" + l.mmaction);
	window.ActiveMenuItem = 0;
}

function MM_clearTimeout() {
	if (mmHideMenuTimer) clearTimeout(mmHideMenuTimer);
	mmHideMenuTimer = null;
	mmDHFlag = false;
}

function MM_startTimeout() {
	if( window.ActiveMenu ) {
		mmStart = new Date();
		mmDHFlag = true;
		mmHideMenuTimer = setTimeout("mmDoHide()", window.ActiveMenu.Menu.hideTimeout);
	}
}

function mmDoHide() {
	if (!mmDHFlag || !window.ActiveMenu) return;
	var elapsed = new Date() - mmStart;
	var timeout = window.ActiveMenu.Menu.hideTimeout;
	if (elapsed < timeout) {
		mmHideMenuTimer = setTimeout("mmDoHide()", timeout+100-elapsed);
		return;
	}
	mmDHFlag = false;
	hideActiveMenus();
	window.ActiveMenuItem = 0;
}

function MM_showMenu(menu, x, y, child, imgname) {
	if (!window.mmWroteMenu) return;
	MM_clearTimeout();
	if (menu) {
		var obj = FIND(imgname) || document.images[imgname] || document.links[imgname] || document.anchors[imgname];
		x = moveXbySlicePos (x, obj);
		y = moveYbySlicePos (y, obj);
	}
	if (document.layers) {
		if (menu) {
			var l = menu.menuLayer || menu;
			l.top = l.left = 1;
			hideActiveMenus();
			if (this.visibility) l = this;
			window.ActiveMenu = l;
		} else {
			var l = child;
		}
		if (!l) return;
		for (var i=0; i<l.layers.length; i++) { 			   
			if (!l.layers[i].isHilite) l.layers[i].visibility = "inherit";
			if (l.layers[i].document.layers.length > 0) MM_showMenu(null, "relative", "relative", l.layers[i]);
		}
		if (l.parentLayer) {
			if (x != "relative") l.parentLayer.left = x || window.pageX || 0;
			if (l.parentLayer.left + l.clip.width > window.innerWidth) l.parentLayer.left -= (l.parentLayer.left + l.clip.width - window.innerWidth);
			if (y != "relative") l.parentLayer.top = y || window.pageY || 0;
			if (l.parentLayer.isContainer) {
				l.Menu.xOffset = window.pageXOffset;
				l.Menu.yOffset = window.pageYOffset;
				l.parentLayer.clip.width = window.ActiveMenu.clip.width +2;
				l.parentLayer.clip.height = window.ActiveMenu.clip.height +2;
				if (l.parentLayer.menuContainerBgColor && l.Menu.menuBgOpaque ) l.parentLayer.document.bgColor = l.parentLayer.menuContainerBgColor;
			}
		}
		l.visibility = "inherit";
		if (l.Menu) l.Menu.container.visibility = "inherit";
	} else if (FIND("menuItem0")) {
		var l = menu.menuLayer || menu;	
		hideActiveMenus();
		if (typeof(l) == "string") l = FIND(l);
		window.ActiveMenu = l;
		var s = l.style;
		s.visibility = "inherit";
		if (x != "relative") {
			s.pixelLeft = x || (window.pageX + document.body.scrollLeft) || 0;
			s.left = s.pixelLeft + 'px';
		}
		if (y != "relative") {
			s.pixelTop = y || (window.pageY + document.body.scrollTop) || 0;
			s.top = s.pixelTop + 'px';
		}
		l.Menu.xOffset = document.body.scrollLeft;
		l.Menu.yOffset = document.body.scrollTop;
	}
	if (menu) window.activeMenus[window.activeMenus.length] = l;
	MM_clearTimeout();
}

function onMenuItemDown(e, l) {
	var a = window.ActiveMenuItem;
	if (document.layers && a) {
		a.eX = e.pageX;
		a.eY = e.pageY;
		a.clicked = true;
    }
}

function mouseupMenu(e) {
	hideMenu(true, e);
	hideActiveMenus();
	return true;
}

function getExplorerVersion() {
	var ieVers = parseFloat(navigator.appVersion);
	if( navigator.appName != 'Microsoft Internet Explorer' ) return ieVers;
	var tempVers = navigator.appVersion;
	var i = tempVers.indexOf( 'MSIE ' );
	if( i >= 0 ) {
		tempVers = tempVers.substring( i+5 );
		ieVers = parseFloat( tempVers ); 
	}
	return ieVers;
}

function mouseoutMenu() {
	if ((navigator.appName == "Microsoft Internet Explorer") && (getExplorerVersion() < 4.5))
		return true;
	hideMenu(false, false);
	return true;
}

function hideMenu(mouseup, e) {
	var a = window.ActiveMenuItem;
	if (a && document.layers) {
		a.document.bgColor = a.saveColor;
		a.focusItem.top = -30;
		if (a.hilite) a.hilite.visibility = "hidden";
		if (mouseup && a.mmaction && a.clicked && window.ActiveMenu) {
 			if (a.eX <= e.pageX+15 && a.eX >= e.pageX-15 && a.eY <= e.pageY+10 && a.eY >= e.pageY-10) {
				setTimeout('window.ActiveMenu.Menu.onMenuItemAction();', 500);
			}
		}
		a.clicked = false;
		if (a.Menu.bgImageOver) a.background.src = a.Menu.bgImageUp;
	} else if (window.ActiveMenu && FIND("menuItem0")) {
		if (a) {
			a.style.backgroundColor = a.saveColor;
			if (a.hilite) a.hilite.style.visibility = "hidden";
			if (a.hiliteShim) a.hiliteShim.style.visibility = "inherit";
			if (a.Menu.bgImageUp) a.style.background = "url(" + a.Menu.bgImageUp +")";
		}
	}
	if (!mouseup && window.ActiveMenu) {
		if (window.ActiveMenu.Menu) {
			if (window.ActiveMenu.Menu.hideOnMouseOut) MM_startTimeout();
			return(true);
		}
	}
	return(true);
}

function hideChildMenu(hcmLayer) {
	MM_clearTimeout();
	var l = hcmLayer;
	for (var i=0; i < l.Menu.childMenus.length; i++) {
		var theLayer = l.Menu.childMenus[i];
		if (document.layers) theLayer.visibility = "hidden";
		else {
			theLayer = FIND(theLayer);
			theLayer.style.visibility = "hidden";
			if( theLayer.Menu.menuItemHAlign != 'left' ) {
				for(var j = 0; j < theLayer.Menu.menuItemLayers.length; j++) {
					var itemLayer = theLayer.Menu.menuItemLayers[j];
					if(itemLayer.textShim) itemLayer.textShim.style.visibility = "inherit";
				}
			}
		}
		theLayer.Menu.hideChildMenu(theLayer);
	}
	if (l.childMenu) {
		var childMenu = l.childMenu;
		if (document.layers) {
			l.Menu.MM_showMenu(null,null,null,childMenu.layers[0]);
			childMenu.zIndex = l.parentLayer.zIndex +1;
			childMenu.top = l.Menu.menuLayer.top + l.Menu.submenuYOffset;
			if( l.Menu.vertical ) {
				if( l.Menu.submenuRelativeToItem ) childMenu.top += l.top + l.parentLayer.top;
				childMenu.left = l.parentLayer.left + l.parentLayer.clip.width - (2*l.Menu.menuBorder) + l.Menu.menuLayer.left + l.Menu.submenuXOffset;
			} else {
				childMenu.top += l.top + l.parentLayer.top;	
				if( l.Menu.submenuRelativeToItem ) childMenu.left = l.Menu.menuLayer.left + l.left + l.clip.width + (2*l.Menu.menuBorder) + l.Menu.submenuXOffset;
				else childMenu.left = l.parentLayer.left + l.parentLayer.clip.width - (2*l.Menu.menuBorder) + l.Menu.menuLayer.left + l.Menu.submenuXOffset;
			}
			if( childMenu.left < l.Menu.container.clip.left ) l.Menu.container.clip.left = childMenu.left;
			var w = childMenu.clip.width+childMenu.left-l.Menu.container.clip.left;
			if (w > l.Menu.container.clip.width)  l.Menu.container.clip.width = w;
			var h = childMenu.clip.height+childMenu.top-l.Menu.container.clip.top;
			if (h > l.Menu.container.clip.height) l.Menu.container.clip.height = h;
			l.document.layers[1].zIndex = 0;
			childMenu.visibility = "inherit";
		} else if (FIND("menuItem0")) {
			childMenu = FIND(l.childMenu);
			var menuLayer = FIND(l.Menu.menuLayer);
			var s = childMenu.style;
			s.zIndex = menuLayer.style.zIndex+1;
			if (document.all || window.mmIsOpera) {
				s.pixelTop = menuLayer.style.pixelTop + l.Menu.submenuYOffset;
				if( l.Menu.vertical ) {
					if( l.Menu.submenuRelativeToItem ) s.pixelTop += l.style.pixelTop;
					s.pixelLeft = l.style.pixelWidth + menuLayer.style.pixelLeft + l.Menu.submenuXOffset;
					s.left = s.pixelLeft + 'px';
				} else {
					s.pixelTop += l.style.pixelTop;
					if( l.Menu.submenuRelativeToItem ) s.pixelLeft = menuLayer.style.pixelLeft + l.style.pixelLeft + l.style.pixelWidth + (2*l.Menu.menuBorder) + l.Menu.submenuXOffset;
					else s.pixelLeft = (menuLayer.style.pixelWidth-4*l.Menu.menuBorder) + menuLayer.style.pixelLeft + l.Menu.submenuXOffset;
					s.left = s.pixelLeft + 'px';
				}
			} else {
				var top = parseInt(menuLayer.style.top) + l.Menu.submenuYOffset;
				var left = 0;
				if( l.Menu.vertical ) {
					if( l.Menu.submenuRelativeToItem ) top += parseInt(l.style.top);
					left = (parseInt(menuLayer.style.width)-4*l.Menu.menuBorder) + parseInt(menuLayer.style.left) + l.Menu.submenuXOffset;
				} else {
					top += parseInt(l.style.top);
					if( l.Menu.submenuRelativeToItem ) left = parseInt(menuLayer.style.left) + parseInt(l.style.left) + parseInt(l.style.width) + (2*l.Menu.menuBorder) + l.Menu.submenuXOffset;
					else left = (parseInt(menuLayer.style.width)-4*l.Menu.menuBorder) + parseInt(menuLayer.style.left) + l.Menu.submenuXOffset;
				}
				s.top = top + 'px';
				s.left = left + 'px';
			}
			childMenu.style.visibility = "inherit";
		} else return;
		window.activeMenus[window.activeMenus.length] = childMenu;
	}
}

function hideActiveMenus() {
	if (!window.activeMenus) return;
	for (var i=0; i < window.activeMenus.length; i++) {
		if (!activeMenus[i]) continue;
		if (activeMenus[i].visibility && activeMenus[i].Menu && !window.mmIsOpera) {
			activeMenus[i].visibility = "hidden";
			activeMenus[i].Menu.container.visibility = "hidden";
			activeMenus[i].Menu.container.clip.left = 0;
		} else if (activeMenus[i].style) {
			var s = activeMenus[i].style;
			s.visibility = "hidden";
			s.left = '-200px';
			s.top = '-200px';
		}
	}
	if (window.ActiveMenuItem) hideMenu(false, false);
	window.activeMenus.length = 0;
}

function moveXbySlicePos (x, img) { 
	if (!document.layers) {
		var onWindows = navigator.platform ? navigator.platform == "Win32" : false;
		var macIE45 = document.all && !onWindows && getExplorerVersion() == 4.5;
		var par = img;
		var lastOffset = 0;
		while(par){
			if( par.leftMargin && ! onWindows ) x += parseInt(par.leftMargin);
			if( (par.offsetLeft != lastOffset) && par.offsetLeft ) x += parseInt(par.offsetLeft);
			if( par.offsetLeft != 0 ) lastOffset = par.offsetLeft;
			par = macIE45 ? par.parentElement : par.offsetParent;
		}
	} else if (img.x) x += img.x;
	return x;
}

function moveYbySlicePos (y, img) {
	if(!document.layers) {
		var onWindows = navigator.platform ? navigator.platform == "Win32" : false;
		var macIE45 = document.all && !onWindows && getExplorerVersion() == 4.5;
		var par = img;
		var lastOffset = 0;
		while(par){
			if( par.topMargin && !onWindows ) y += parseInt(par.topMargin);
			if( (par.offsetTop != lastOffset) && par.offsetTop ) y += parseInt(par.offsetTop);
			if( par.offsetTop != 0 ) lastOffset = par.offsetTop;
			par = macIE45 ? par.parentElement : par.offsetParent;
		}		
	} else if (img.y >= 0) y += img.y;
	return y;
}


// JavaScript Document
function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}
function MM_displayStatusMsg(msgStr) { //v1.0
  status=msgStr;
  document.MM_returnValue = true;
}

// JavaScript Document
	function OpenMovie(moviename) 
	{
		OpenMovie (moviename, false);
	}

	function GetParms (bWidescreen)
	{
//		if (bWidescreen == 0)
//			return "toolbar=0,status=0,resizable=1,scrollbars=0,width=400,height=386,top=40,left=100";
//		else
//			return "toolbar=0,status=0,resizable=1,scrollbars=0,width=512,height=375,top=40,left=100";
		return "toolbar=0,status=0,resizable=1,scrollbars=0,width=512,height=375,top=0,left=0";
	}
	
	function OpenMovie(moviename, bWidescreen) {
		var moviewindow=window.open ("movie.aspx?widescreen=" + bWidescreen + "&MovieName=" + moviename,"MOVIEWINDOW",GetParms (bWidescreen));
		moviewindow.focus();
	}

	function OpenMovieValidator(movieID, bWidescreen)
	{
		// var moviewindow=window.open ("movievalidator.asp?widescreen=" + bWidescreen + "&ItemID=" + movieID,"MOVIEWINDOW",GetParms (bWidescreen));
		var moviewindow = window.open("movie.aspx?widescreen=" + bWidescreen + "&VideoID=" + movieID, "MOVIEWINDOW", GetParms(bWidescreen));
		moviewindow.focus();
	}

function WriteWMVTag (nWidth, nHeight, strMoviePath)
{
 var strWMVTag = "<object id=\"player\" classid=\"clsid:22D6f312-B0F6-11D0-94AB-0080C74C7E95\" " +
			"codebase=\"http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701\" " +
			"standby=\"Loading Microsoft Windows Media Player components...\" type=\"application/x-oleobject\" width=\"" + nWidth + "\" VIEWASTEXT height=\"" + nHeight + "\"> " +
			"<param name=\"filename\" value=\"" + strMoviePath + "\"><param name=\"transparentatstart\" value=\"true\"><param name=\"autostart\" value=\"true\"><param name=\"showcontrols\" value=\"1\"> " +
			"<embed type=\"application/x-mplayer2\" pluginspage=\"http://www.microsoft.com/windows/windowsmedia/en/download/default.asp\" width=\"" + nWidth + "\" height=\"" + nHeight + "\" src=\"" + strMoviePath + "\" " +
				"animationatstart=\"true\" transparentatstart=\"true\" autostart=\"true\" showcontrols=\"1\"></embed></object>";
	document.write (strWMVTag);

}
olLoaded=0;pmStart=10000000;pmUpper=10001000;pmCount=pmStart+1;pmt='';pms=new Array();olInfo=new Info('4.22',0);FREPLACE=0;FBEFORE=1;FAFTER=2;FALTERNATE=3;FCHAIN=4;olHideForm=0;olHautoFlag=0;olVautoFlag=0;var hookPts=new Array(),postParse=new Array(),cmdLine=new Array(),runTime=new Array();registerCommands('donothing,inarray,caparray,sticky,background,noclose,caption,left,right,center,offsetx,offsety,fgcolor,bgcolor,textcolor,capcolor,closecolor,width,border,cellpad,status,autostatus,autostatuscap,height,closetext,snapx,snapy,fixx,fixy,relx,rely,fgbackground,bgbackground,padx,pady,fullhtml,above,below,capicon,textfont,captionfont,closefont,textsize,captionsize,closesize,timeout,function,delay,hauto,vauto,closeclick,wrap,followmouse,mouseoff,closetitle,cssoff,compatmode,cssclass,fgclass,bgclass,textfontclass,captionfontclass,closefontclass');ol_width=350;if(typeof ol_fgcolor=='undefined')ol_fgcolor="#000000";if(typeof ol_bgcolor=='undefined')ol_bgcolor="#354465";if(typeof ol_textcolor=='undefined')ol_textcolor="#F4ECD0";if(typeof ol_capcolor=='undefined')ol_capcolor="#FDBF4D";if(typeof ol_closecolor=='undefined')ol_closecolor="#9999FF";if(typeof ol_textfont=='undefined')ol_textfont="Verdana,Arial,Helvetica";if(typeof ol_captionfont=='undefined')ol_captionfont="Verdana,Arial,Helvetica";if(typeof ol_closefont=='undefined')ol_closefont="Verdana,Arial,Helvetica";if(typeof ol_textsize=='undefined')ol_textsize="1";if(typeof ol_captionsize=='undefined')ol_captionsize="1";if(typeof ol_closesize=='undefined')ol_closesize="1";if(typeof ol_width=='undefined')ol_width="200";if(typeof ol_border=='undefined')ol_border="3";if(typeof ol_cellpad=='undefined')ol_cellpad=2;if(typeof ol_offsetx=='undefined')ol_offsetx=10;if(typeof ol_offsety=='undefined')ol_offsety=10;if(typeof ol_text=='undefined')ol_text="Default Text";if(typeof ol_cap=='undefined')ol_cap="";if(typeof ol_sticky=='undefined')ol_sticky=0;if(typeof ol_background=='undefined')ol_background="";if(typeof ol_close=='undefined')ol_close="Close";if(typeof ol_hpos=='undefined')ol_hpos=RIGHT;if(typeof ol_status=='undefined')ol_status="";if(typeof ol_autostatus=='undefined')ol_autostatus=0;if(typeof ol_height=='undefined')ol_height=-1;if(typeof ol_snapx=='undefined')ol_snapx=0;if(typeof ol_snapy=='undefined')ol_snapy=0;if(typeof ol_fixx=='undefined')ol_fixx=-1;if(typeof ol_fixy=='undefined')ol_fixy=-1;if(typeof ol_relx=='undefined')ol_relx=null;if(typeof ol_rely=='undefined')ol_rely=null;if(typeof ol_fgbackground=='undefined')ol_fgbackground="";if(typeof ol_bgbackground=='undefined')ol_bgbackground="";if(typeof ol_padxl=='undefined')ol_padxl=1;if(typeof ol_padxr=='undefined')ol_padxr=1;if(typeof ol_padyt=='undefined')ol_padyt=1;if(typeof ol_padyb=='undefined')ol_padyb=1;if(typeof ol_fullhtml=='undefined')ol_fullhtml=0;if(typeof ol_vpos=='undefined')ol_vpos=BELOW;if(typeof ol_aboveheight=='undefined')ol_aboveheight=0;if(typeof ol_capicon=='undefined')ol_capicon="";if(typeof ol_frame=='undefined')ol_frame=self;if(typeof ol_timeout=='undefined')ol_timeout=0;if(typeof ol_function=='undefined')ol_function=null;if(typeof ol_delay=='undefined')ol_delay=0;if(typeof ol_hauto=='undefined')ol_hauto=0;if(typeof ol_vauto=='undefined')ol_vauto=0;if(typeof ol_closeclick=='undefined')ol_closeclick=0;if(typeof ol_wrap=='undefined')ol_wrap=0;if(typeof ol_followmouse=='undefined')ol_followmouse=1;if(typeof ol_mouseoff=='undefined')ol_mouseoff=0;if(typeof ol_closetitle=='undefined')ol_closetitle='Close';if(typeof ol_compatmode=='undefined')ol_compatmode=0;if(typeof ol_css=='undefined')ol_css=CSSOFF;if(typeof ol_fgclass=='undefined')ol_fgclass="";if(typeof ol_bgclass=='undefined')ol_bgclass="";if(typeof ol_textfontclass=='undefined')ol_textfontclass="";if(typeof ol_captionfontclass=='undefined')ol_captionfontclass="";if(typeof ol_closefontclass=='undefined')ol_closefontclass="";if(typeof ol_texts=='undefined')ol_texts=new Array("Text 0","Text 1");if(typeof ol_caps=='undefined')ol_caps=new Array("Caption 0","Caption 1");o3_text="";o3_cap="";o3_sticky=0;o3_background="";o3_close="Close";o3_hpos=RIGHT;o3_offsetx=2;o3_offsety=2;o3_fgcolor="";o3_bgcolor="";o3_textcolor="";o3_capcolor="";o3_closecolor="";o3_width=100;o3_border=1;o3_cellpad=2;o3_status="";o3_autostatus=0;o3_height=-1;o3_snapx=0;o3_snapy=0;o3_fixx=-1;o3_fixy=-1;o3_relx=null;o3_rely=null;o3_fgbackground="";o3_bgbackground="";o3_padxl=0;o3_padxr=0;o3_padyt=0;o3_padyb=0;o3_fullhtml=0;o3_vpos=BELOW;o3_aboveheight=0;o3_capicon="";o3_textfont="Verdana,Arial,Helvetica";o3_captionfont="Verdana,Arial,Helvetica";o3_closefont="Verdana,Arial,Helvetica";o3_textsize="1";o3_captionsize="1";o3_closesize="1";o3_frame=self;o3_timeout=0;o3_timerid=0;o3_allowmove=0;o3_function=null;o3_delay=0;o3_delayid=0;o3_hauto=0;o3_vauto=0;o3_closeclick=0;o3_wrap=0;o3_followmouse=1;o3_mouseoff=0;o3_closetitle='';o3_compatmode=0;o3_css=CSSOFF;o3_fgclass="";o3_bgclass="";o3_textfontclass="";o3_captionfontclass="";o3_closefontclass="";o3_x=0;o3_y=0;o3_showingsticky=0;o3_removecounter=0;over=null;var fnRef,hoveringSwitch=false;var olHideDelay;isMac=(navigator.userAgent.indexOf("Mac")!=-1);olOp=(navigator.userAgent.toLowerCase().indexOf('opera')>-1&&document.createTextNode);olNs4=(navigator.appName=='Netscape'&&parseInt(navigator.appVersion)==4);olNs6=(document.getElementById)?true:false;olKq=(olNs6&&/konqueror/i.test(navigator.userAgent));olIe4=(document.all)?true:false;olIe5=false;olIe55=false;docRoot='document.body';if(olNs4){oW=window.innerWidth;oH=window.innerHeight;window.onresize=function(){if(oW!=window.innerWidth||oH!=window.innerHeight)location.reload();}}if(olIe4){agent=navigator.userAgent;if(/MSIE/.test(agent)){versNum=parseFloat(agent.match(/MSIE[ ](\d\.\d+)\.*/i)[1]);if(versNum>=5){olIe5=true;olIe55=(versNum>=5.5&&!olOp)?true:false;if(olNs6)olNs6=false}}if(olNs6)olIe4=false}if(document.compatMode&&document.compatMode=='CSS1Compat'){docRoot=((olIe4&&!olOp)?'document.documentElement':docRoot);}if(window.addEventListener)window.addEventListener("load",OLonLoad_handler,false);else if(window.attachEvent)window.attachEvent("onload",OLonLoad_handler);var capExtent;function overlib(){if(!olLoaded||isExclusive(overlib.arguments))return true;if(olCheckMouseCapture)olMouseCapture();if(over){over=(typeof over.id!='string')?o3_frame.document.all['overDiv']:over;cClick();}olHideDelay=0;o3_text=ol_text;o3_cap=ol_cap;o3_sticky=ol_sticky;o3_background=ol_background;o3_close=ol_close;o3_hpos=ol_hpos;o3_offsetx=ol_offsetx;o3_offsety=ol_offsety;o3_fgcolor=ol_fgcolor;o3_bgcolor=ol_bgcolor;o3_textcolor=ol_textcolor;o3_capcolor=ol_capcolor;o3_closecolor=ol_closecolor;o3_width=ol_width;o3_border=ol_border;o3_cellpad=ol_cellpad;o3_status=ol_status;o3_autostatus=ol_autostatus;o3_height=ol_height;o3_snapx=ol_snapx;o3_snapy=ol_snapy;o3_fixx=ol_fixx;o3_fixy=ol_fixy;o3_relx=ol_relx;o3_rely=ol_rely;o3_fgbackground=ol_fgbackground;o3_bgbackground=ol_bgbackground;o3_padxl=ol_padxl;o3_padxr=ol_padxr;o3_padyt=ol_padyt;o3_padyb=ol_padyb;o3_fullhtml=ol_fullhtml;o3_vpos=ol_vpos;o3_aboveheight=ol_aboveheight;o3_capicon=ol_capicon;o3_textfont=ol_textfont;o3_captionfont=ol_captionfont;o3_closefont=ol_closefont;o3_textsize=ol_textsize;o3_captionsize=ol_captionsize;o3_closesize=ol_closesize;o3_timeout=ol_timeout;o3_function=ol_function;o3_delay=ol_delay;o3_hauto=ol_hauto;o3_vauto=ol_vauto;o3_closeclick=ol_closeclick;o3_wrap=ol_wrap;o3_followmouse=ol_followmouse;o3_mouseoff=ol_mouseoff;o3_closetitle=ol_closetitle;o3_css=ol_css;o3_compatmode=ol_compatmode;o3_fgclass=ol_fgclass;o3_bgclass=ol_bgclass;o3_textfontclass=ol_textfontclass;o3_captionfontclass=ol_captionfontclass;o3_closefontclass=ol_closefontclass;setRunTimeVariables();fnRef='';o3_frame=ol_frame;if(!(over=createDivContainer()))return false;parseTokens('o3_',overlib.arguments);if(!postParseChecks('o3_',overlib.arguments))return false;if(o3_delay==0){return runHook("olMain",FREPLACE);}else{o3_delayid=setTimeout("runHook('olMain', FREPLACE)",o3_delay);return false}}function nd(time){if(olLoaded&&!isExclusive()){hideDelay(time);if(o3_removecounter>=1){o3_showingsticky=0};if(o3_showingsticky==0){o3_allowmove=0;if(over!=null&&(o3_compatmode?1:o3_timerid==0))runHook("hideObject",FREPLACE,over);}else{o3_removecounter++}}return true}function cClick(){if(olLoaded){runHook("hideObject",FREPLACE,over);o3_showingsticky=0}return false}function overlib_pagedefaults(){parseTokens('ol_',overlib_pagedefaults.arguments);}function olMain(){var layerhtml,styleType;runHook("olMain",FBEFORE);if(o3_background!=""||o3_fullhtml){layerhtml=runHook('ol_content_background',FALTERNATE,o3_css,o3_text,o3_background,o3_fullhtml);}else{styleType=(pms[o3_css-1-pmStart]=="cssoff"||pms[o3_css-1-pmStart]=="cssclass");if(o3_fgbackground!="")o3_fgbackground="background=\""+o3_fgbackground+"\"";if(o3_bgbackground!="")o3_bgbackground=(styleType?"background=\""+o3_bgbackground+"\"":o3_bgbackground);if(o3_fgcolor!="")o3_fgcolor=(styleType?"bgcolor=\""+o3_fgcolor+"\"":o3_fgcolor);if(o3_bgcolor!="")o3_bgcolor=(styleType?"bgcolor=\""+o3_bgcolor+"\"":o3_bgcolor);if(o3_height>0)o3_height=(styleType?"height=\""+o3_height+"\"":o3_height);else o3_height="";if(o3_cap==""){layerhtml=runHook('ol_content_simple',FALTERNATE,o3_css,o3_text);}else{if(o3_sticky){layerhtml=runHook('ol_content_caption',FALTERNATE,o3_css,o3_text,o3_cap,o3_close);}else{layerhtml=runHook('ol_content_caption',FALTERNATE,o3_css,o3_text,o3_cap,"");}}}if(o3_sticky){if(o3_timerid>0){clearTimeout(o3_timerid);o3_timerid=0}o3_showingsticky=1;o3_removecounter=0}if(!runHook("olCreatePopup",FREPLACE,layerhtml))return false;if(o3_autostatus>0){o3_status=o3_text;if(o3_autostatus>1)o3_status=o3_cap;if(o3_wrap)o3_status=o3_status.replace(/&nbsp;/g,' ');}o3_allowmove=0;if(o3_timeout>0){if(o3_timerid>0)clearTimeout(o3_timerid);o3_timerid=setTimeout("cClick()",o3_timeout);}runHook("disp",FREPLACE,o3_status);runHook("olMain",FAFTER);return(olOp&&event&&event.type=='mouseover'&&!o3_status)?'':(o3_status!='');}function ol_content_simple(text){var cpIsMultiple=/,/.test(o3_cellpad);var txt='<table width="'+o3_width+'" border="0" cellpadding="'+o3_border+'" cellspacing="0" '+(o3_bgclass?'class="'+o3_bgclass+'"':o3_bgcolor+' '+o3_height)+'><tr><td><table width="100%" border="0" '+((olNs4||!cpIsMultiple)?'cellpadding="'+o3_cellpad+'" ':'')+'cellspacing="0" '+(o3_fgclass?'class="'+o3_fgclass+'"':o3_fgcolor+' '+o3_fgbackground+' '+o3_height)+'><tr><td valign="TOP"'+(o3_textfontclass?' class="'+o3_textfontclass+'">':((!olNs4&&cpIsMultiple)?' style="'+setCellPadStr(o3_cellpad)+'">':'>'))+(o3_textfontclass?'':wrapStr(0,o3_textsize,'text'))+text+(o3_textfontclass?'':wrapStr(1,o3_textsize))+'</td></tr></table></td></tr></table>';set_background("");return txt}function ol_content_caption(text,title,close){var nameId,txt,cpIsMultiple=/,/.test(o3_cellpad);var closing,closeevent;closing="";closeevent="onmouseover";if(o3_closeclick==1)closeevent=(o3_closetitle?"title='"+o3_closetitle+"'":"")+" onclick";if(o3_capicon!=""){nameId=' hspace = \"5\"'+' align = \"middle\" alt = \"\"';if(typeof o3_dragimg!='undefined'&&o3_dragimg)nameId=' hspace=\"5\"'+' name=\"'+o3_dragimg+'\" id=\"'+o3_dragimg+'\" align=\"middle\" alt=\"Drag Enabled\" title=\"Drag Enabled\"';o3_capicon='<img src=\"'+o3_capicon+'\"'+nameId+' />'}if(close!="")closing='<td '+(!o3_compatmode&&o3_closefontclass?'class="'+o3_closefontclass:'align="RIGHT')+'"><a href="javascript:return '+fnRef+'cClick();"'+((o3_compatmode&&o3_closefontclass)?' class="'+o3_closefontclass+'" ':' ')+closeevent+'="return '+fnRef+'cClick();">'+(o3_closefontclass?'':wrapStr(0,o3_closesize,'close'))+close+(o3_closefontclass?'':wrapStr(1,o3_closesize,'close'))+'</a></td>';txt='<table width="'+o3_width+'" border="0" cellpadding="'+o3_border+'" cellspacing="0" '+(o3_bgclass?'class="'+o3_bgclass+'"':o3_bgcolor+' '+o3_bgbackground+' '+o3_height)+'><tr><td><table width="100%" border="0" cellpadding="2" cellspacing="0"><tr><td'+(o3_captionfontclass?' class="'+o3_captionfontclass+'">':'>')+(o3_captionfontclass?'':'<b>'+wrapStr(0,o3_captionsize,'caption'))+o3_capicon+title+(o3_captionfontclass?'':wrapStr(1,o3_captionsize)+'</b>')+'</td>'+closing+'</tr></table><table width="100%" border="0" '+((olNs4||!cpIsMultiple)?'cellpadding="'+o3_cellpad+'" ':'')+'cellspacing="0" '+(o3_fgclass?'class="'+o3_fgclass+'"':o3_fgcolor+' '+o3_fgbackground+' '+o3_height)+'><tr><td valign="TOP"'+(o3_textfontclass?' class="'+o3_textfontclass+'">':((!olNs4&&cpIsMultiple)?' style="'+setCellPadStr(o3_cellpad)+'">':'>'))+(o3_textfontclass?'':wrapStr(0,o3_textsize,'text'))+text+(o3_textfontclass?'':wrapStr(1,o3_textsize))+'</td></tr></table></td></tr></table>';set_background("");return txt}function ol_content_background(text,picture,hasfullhtml){var txt;if(hasfullhtml){txt=text}else{txt='<table width="'+o3_width+'" border="0" cellpadding="0" cellspacing="0" height="'+o3_height+'"><tr><td colspan="3" height="'+o3_padyt+'"></td></tr><tr><td width="'+o3_padxl+'"></td><td valign="TOP" width="'+(o3_width-o3_padxl-o3_padxr)+(o3_textfontclass?'" class="'+o3_textfontclass:'')+'">'+(o3_textfontclass?'':wrapStr(0,o3_textsize,'text'))+text+(o3_textfontclass?'':wrapStr(1,o3_textsize))+'</td><td width="'+o3_padxr+'"></td></tr><tr><td colspan="3" height="'+o3_padyb+'"></td></tr></table>'}set_background(picture);return txt}function set_background(pic){if(pic==""){if(olNs4){over.background.src=null}else if(over.style){over.style.backgroundImage="none"}}else{if(olNs4){over.background.src=pic}else if(over.style){over.style.width=o3_width+'px';over.style.backgroundImage="url("+pic+")"}}}olShowId=-1;function disp(statustext){runHook("disp",FBEFORE,statustext);if(o3_allowmove==0){runHook("placeLayer",FREPLACE);(olNs6&&olShowId<0)?olShowId=setTimeout("runHook('showObject', FREPLACE, over)",1):runHook("showObject",FREPLACE,over);o3_allowmove=(o3_sticky||o3_followmouse==0)?0:1}runHook("disp",FAFTER,statustext);if(statustext!="")self.status=statustext}function olCreatePopup(lyrContent){runHook("olCreatePopup",FBEFORE,lyrContent);if(o3_wrap){var wd,ww,theObj=(olNs4?over:over.style);theObj.top=theObj.left=((olIe4&&!olOp)?0:-10000)+(!olNs4?'px':0);layerWrite(lyrContent);wd=(olNs4?over.clip.width:over.offsetWidth);if(wd>(ww=windowWidth())){lyrContent=lyrContent.replace(/\&nbsp;/g,' ');o3_width=ww;o3_wrap=0}}layerWrite(lyrContent);if(o3_wrap)o3_width=(olNs4?over.clip.width:over.offsetWidth);runHook("olCreatePopup",FAFTER,lyrContent);return true}function placeLayer(){var placeX,placeY,widthFix=0;if(o3_frame.innerWidth)widthFix=18;iwidth=windowWidth();winoffset=(olIe4)?eval('o3_frame.'+docRoot+'.scrollLeft'):o3_frame.pageXOffset;placeX=runHook('horizontalPlacement',FCHAIN,iwidth,winoffset,widthFix);if(o3_frame.innerHeight){iheight=o3_frame.innerHeight}else if(eval('o3_frame.'+docRoot)&&eval("typeof o3_frame."+docRoot+".clientHeight=='number'")&&eval('o3_frame.'+docRoot+'.clientHeight')){iheight=eval('o3_frame.'+docRoot+'.clientHeight');}scrolloffset=(olIe4)?eval('o3_frame.'+docRoot+'.scrollTop'):o3_frame.pageYOffset;placeY=runHook('verticalPlacement',FCHAIN,iheight,scrolloffset);repositionTo(over,placeX,placeY);}function olMouseMove(e){var e=(e)?e:event;if(e.pageX){o3_x=e.pageX;o3_y=e.pageY}else if(e.clientX){o3_x=eval('e.clientX+o3_frame.'+docRoot+'.scrollLeft');o3_y=eval('e.clientY+o3_frame.'+docRoot+'.scrollTop');}if(o3_allowmove==1)runHook("placeLayer",FREPLACE);if(hoveringSwitch&&!olNs4&&runHook("cursorOff",FREPLACE)){(olHideDelay?hideDelay(olHideDelay):cClick());hoveringSwitch=!hoveringSwitch}}function no_overlib(){return ver3fix}function olMouseCapture(){capExtent=document;var fN,str='',l,k,f,wMv,sS,mseHandler=olMouseMove;var re=/function[ ]*(\w*)\(/;wMv=(!olIe4&&window.onmousemove);if(document.onmousemove||wMv){if(wMv)capExtent=window;f=capExtent.onmousemove.toString();fN=f.match(re);if(fN==null){str=f+'(e); '}else if(fN[1]=='anonymous'||fN[1]=='olMouseMove'||(wMv&&fN[1]=='onmousemove')){if(!olOp&&wMv){l=f.indexOf('{')+1;k=f.lastIndexOf('}');sS=f.substring(l,k);if((l=sS.indexOf('('))!=-1){sS=sS.substring(0,l).replace(/^\s+/,'').replace(/\s+$/,'');if(eval("typeof "+sS+" == 'undefined'"))window.onmousemove=null;else str=sS+'(e);'}}if(!str){olCheckMouseCapture=false;return}}else{if(fN[1])str=fN[1]+'(e); ';else{l=f.indexOf('{')+1;k=f.lastIndexOf('}');str=f.substring(l,k)+'\n'}}str+='olMouseMove(e); ';mseHandler=new Function('e',str);}capExtent.onmousemove=mseHandler;if(olNs4)capExtent.captureEvents(Event.MOUSEMOVE);}function parseTokens(pf,ar){var v,i,mode=-1,par=(pf!='ol_');var fnMark=(par&&!ar.length?1:0);for(i=0;i<ar.length;i++){if(mode<0){if(typeof ar[i]=='number'&&ar[i]>pmStart&&ar[i]<pmUpper){fnMark=(par?1:0);i--;}else{switch(pf){case'ol_':ol_text=ar[i].toString();break;default:o3_text=ar[i].toString();}}mode=0}else{if(ar[i]>=pmCount||ar[i]==DONOTHING){continue}if(ar[i]==INARRAY){fnMark=0;eval(pf+'text=ol_texts['+ar[++i]+'].toString()');continue}if(ar[i]==CAPARRAY){eval(pf+'cap=ol_caps['+ar[++i]+'].toString()');continue}if(ar[i]==STICKY){if(pf!='ol_')eval(pf+'sticky=1');continue}if(ar[i]==BACKGROUND){eval(pf+'background="'+ar[++i]+'"');continue}if(ar[i]==NOCLOSE){if(pf!='ol_')opt_NOCLOSE();continue}if(ar[i]==CAPTION){eval(pf+"cap='"+escSglQuote(ar[++i])+"'");continue}if(ar[i]==CENTER||ar[i]==LEFT||ar[i]==RIGHT){eval(pf+'hpos='+ar[i]);if(pf!='ol_')olHautoFlag=1;continue}if(ar[i]==OFFSETX){eval(pf+'offsetx='+ar[++i]);continue}if(ar[i]==OFFSETY){eval(pf+'offsety='+ar[++i]);continue}if(ar[i]==FGCOLOR){eval(pf+'fgcolor="'+ar[++i]+'"');continue}if(ar[i]==BGCOLOR){eval(pf+'bgcolor="'+ar[++i]+'"');continue}if(ar[i]==TEXTCOLOR){eval(pf+'textcolor="'+ar[++i]+'"');continue}if(ar[i]==CAPCOLOR){eval(pf+'capcolor="'+ar[++i]+'"');continue}if(ar[i]==CLOSECOLOR){eval(pf+'closecolor="'+ar[++i]+'"');continue}if(ar[i]==WIDTH){eval(pf+'width='+ar[++i]);continue}if(ar[i]==BORDER){eval(pf+'border='+ar[++i]);continue}if(ar[i]==CELLPAD){i=opt_MULTIPLEARGS(++i,ar,(pf+'cellpad'));continue}if(ar[i]==STATUS){eval(pf+"status='"+escSglQuote(ar[++i])+"'");continue}if(ar[i]==AUTOSTATUS){eval(pf+'autostatus=('+pf+'autostatus == 1) ? 0 : 1');continue}if(ar[i]==AUTOSTATUSCAP){eval(pf+'autostatus=('+pf+'autostatus == 2) ? 0 : 2');continue}if(ar[i]==HEIGHT){eval(pf+'height='+pf+'aboveheight='+ar[++i]);continue}if(ar[i]==CLOSETEXT){eval(pf+"close='"+escSglQuote(ar[++i])+"'");continue}if(ar[i]==SNAPX){eval(pf+'snapx='+ar[++i]);continue}if(ar[i]==SNAPY){eval(pf+'snapy='+ar[++i]);continue}if(ar[i]==FIXX){eval(pf+'fixx='+ar[++i]);continue}if(ar[i]==FIXY){eval(pf+'fixy='+ar[++i]);continue}if(ar[i]==RELX){eval(pf+'relx='+ar[++i]);continue}if(ar[i]==RELY){eval(pf+'rely='+ar[++i]);continue}if(ar[i]==FGBACKGROUND){eval(pf+'fgbackground="'+ar[++i]+'"');continue}if(ar[i]==BGBACKGROUND){eval(pf+'bgbackground="'+ar[++i]+'"');continue}if(ar[i]==PADX){eval(pf+'padxl='+ar[++i]);eval(pf+'padxr='+ar[++i]);continue}if(ar[i]==PADY){eval(pf+'padyt='+ar[++i]);eval(pf+'padyb='+ar[++i]);continue}if(ar[i]==FULLHTML){if(pf!='ol_')eval(pf+'fullhtml=1');continue}if(ar[i]==BELOW||ar[i]==ABOVE){eval(pf+'vpos='+ar[i]);if(pf!='ol_')olVautoFlag=1;continue}if(ar[i]==CAPICON){eval(pf+'capicon="'+ar[++i]+'"');continue}if(ar[i]==TEXTFONT){eval(pf+"textfont='"+escSglQuote(ar[++i])+"'");continue}if(ar[i]==CAPTIONFONT){eval(pf+"captionfont='"+escSglQuote(ar[++i])+"'");continue}if(ar[i]==CLOSEFONT){eval(pf+"closefont='"+escSglQuote(ar[++i])+"'");continue}if(ar[i]==TEXTSIZE){eval(pf+'textsize="'+ar[++i]+'"');continue}if(ar[i]==CAPTIONSIZE){eval(pf+'captionsize="'+ar[++i]+'"');continue}if(ar[i]==CLOSESIZE){eval(pf+'closesize="'+ar[++i]+'"');continue}if(ar[i]==TIMEOUT){eval(pf+'timeout='+ar[++i]);continue}if(ar[i]==FUNCTION){if(pf=='ol_'){if(typeof ar[i+1]!='number'){v=ar[++i];ol_function=(typeof v=='function'?v:null);}}else{fnMark=0;v=null;if(typeof ar[i+1]!='number')v=ar[++i];opt_FUNCTION(v);}continue}if(ar[i]==DELAY){eval(pf+'delay='+ar[++i]);continue}if(ar[i]==HAUTO){eval(pf+'hauto=('+pf+'hauto == 0) ? 1 : 0');continue}if(ar[i]==VAUTO){eval(pf+'vauto=('+pf+'vauto == 0) ? 1 : 0');continue}if(ar[i]==CLOSECLICK){eval(pf+'closeclick=('+pf+'closeclick == 0) ? 1 : 0');continue}if(ar[i]==WRAP){eval(pf+'wrap=('+pf+'wrap == 0) ? 1 : 0');continue}if(ar[i]==FOLLOWMOUSE){eval(pf+'followmouse=('+pf+'followmouse == 1) ? 0 : 1');continue}if(ar[i]==MOUSEOFF){eval(pf+'mouseoff=('+pf+'mouseoff==0) ? 1 : 0');v=ar[i+1];if(pf!='ol_'&&eval(pf+'mouseoff')&&typeof v=='number'&&(v<pmStart||v>pmUpper))olHideDelay=ar[++i];continue}if(ar[i]==CLOSETITLE){eval(pf+"closetitle='"+escSglQuote(ar[++i])+"'");continue}if(ar[i]==CSSOFF||ar[i]==CSSCLASS){eval(pf+'css='+ar[i]);continue}if(ar[i]==COMPATMODE){eval(pf+'compatmode=('+pf+'compatmode==0) ? 1 : 0');continue}if(ar[i]==FGCLASS){eval(pf+'fgclass="'+ar[++i]+'"');continue}if(ar[i]==BGCLASS){eval(pf+'bgclass="'+ar[++i]+'"');continue}if(ar[i]==TEXTFONTCLASS){eval(pf+'textfontclass="'+ar[++i]+'"');continue}if(ar[i]==CAPTIONFONTCLASS){eval(pf+'captionfontclass="'+ar[++i]+'"');continue}if(ar[i]==CLOSEFONTCLASS){eval(pf+'closefontclass="'+ar[++i]+'"');continue}i=parseCmdLine(pf,i,ar);}}if(fnMark&&o3_function)o3_text=o3_function();if((pf=='o3_')&&o3_wrap){o3_width=0;var tReg=/<.*\n*>/ig;if(!tReg.test(o3_text))o3_text=o3_text.replace(/[ ]+/g,'&nbsp;');if(!tReg.test(o3_cap))o3_cap=o3_cap.replace(/[ ]+/g,'&nbsp;');}if((pf=='o3_')&&o3_sticky){if(!o3_close&&(o3_frame!=ol_frame))o3_close=ol_close;if(o3_mouseoff&&(o3_frame==ol_frame))opt_NOCLOSE(' ');}}function layerWrite(txt){txt+="\n";if(olNs4){var lyr=o3_frame.document.layers['overDiv'].document;lyr.write(txt);lyr.close()}else if(typeof over.innerHTML!='undefined'){if(olIe5&&isMac)over.innerHTML='';over.innerHTML=txt}else{range=o3_frame.document.createRange();range.setStartAfter(over);domfrag=range.createContextualFragment(txt);while(over.hasChildNodes()){over.removeChild(over.lastChild);}over.appendChild(domfrag);}}function showObject(obj){runHook("showObject",FBEFORE,obj);var theObj=(olNs4?obj:obj.style);theObj.visibility='visible';runHook("showObject",FAFTER,obj);}function hideObject(obj){runHook("hideObject",FBEFORE,obj);var theObj=(olNs4?obj:obj.style);if(olNs6&&olShowId>0){clearTimeout(olShowId);olShowId=0}theObj.visibility='hidden';theObj.top=theObj.left=((olIe4&&!olOp)?0:-10000)+(!olNs4?'px':0);if(o3_timerid>0)clearTimeout(o3_timerid);if(o3_delayid>0)clearTimeout(o3_delayid);o3_timerid=0;o3_delayid=0;self.status="";if(obj.onmouseout||obj.onmouseover){if(olNs4)obj.releaseEvents(Event.MOUSEOUT||Event.MOUSEOVER);obj.onmouseout=obj.onmouseover=null}runHook("hideObject",FAFTER,obj);}function repositionTo(obj,xL,yL){var theObj=(olNs4?obj:obj.style);theObj.left=xL+(!olNs4?'px':0);theObj.top=yL+(!olNs4?'px':0);}function cursorOff(){var left=parseInt(over.style.left);var top=parseInt(over.style.top);var right=left+(over.offsetWidth>=parseInt(o3_width)?over.offsetWidth:parseInt(o3_width));var bottom=top+(over.offsetHeight>=o3_aboveheight?over.offsetHeight:o3_aboveheight);if(o3_x<left||o3_x>right||o3_y<top||o3_y>bottom)return true;return false}function opt_FUNCTION(callme){o3_text=(callme?(typeof callme=='string'?(/.+\(.*\)/.test(callme)?eval(callme):callme):callme()):(o3_function?o3_function():'No Function'));return 0}function opt_NOCLOSE(unused){if(!unused)o3_close="";if(olNs4){over.captureEvents(Event.MOUSEOUT||Event.MOUSEOVER);over.onmouseover=function(){if(o3_timerid>0){clearTimeout(o3_timerid);o3_timerid=0}};over.onmouseout=function(e){if(olHideDelay)hideDelay(olHideDelay);else cClick(e);}}else{over.onmouseover=function(){hoveringSwitch=true;if(o3_timerid>0){clearTimeout(o3_timerid);o3_timerid=0}}}return 0}function opt_MULTIPLEARGS(i,args,parameter){var k=i,re,pV,str='';for(k=i;k<args.length;k++){if(typeof args[k]=='number'&&args[k]>pmStart)break;str+=args[k]+','}if(str)str=str.substring(0,--str.length);k--;pV=(olNs4&&/cellpad/i.test(parameter))?str.split(',')[0]:str;eval(parameter+'="'+pV+'"');return k}function nbspCleanup(){if(o3_wrap){o3_text=o3_text.replace(/\&nbsp;/g,' ');o3_cap=o3_cap.replace(/\&nbsp;/g,' ');}}function escSglQuote(str){return str.toString().replace(/'/g,"\\'");}function OLonLoad_handler(e){var re=/\w+\(.*\)[;\s]+/g,olre=/overlib\(|nd\(|cClick\(/,fn,l,i;if(!olLoaded)olLoaded=1;if(window.removeEventListener&&e.eventPhase==3)window.removeEventListener("load",OLonLoad_handler,false);else if(window.detachEvent){window.detachEvent("onload",OLonLoad_handler);var fN=document.body.getAttribute('onload');if(fN){fN=fN.toString().match(re);if(fN&&fN.length){for(i=0;i<fN.length;i++){if(/anonymous/.test(fN[i]))continue;while((l=fN[i].search(/\)[;\s]+/))!=-1){fn=fN[i].substring(0,l+1);fN[i]=fN[i].substring(l+2);if(olre.test(fn))eval(fn);}}}}}}function wrapStr(endWrap,fontSizeStr,whichString){var fontStr,fontColor,isClose=((whichString=='close')?1:0),hasDims=/[%\-a-z]+$/.test(fontSizeStr);fontSizeStr=(olNs4)?(!hasDims?fontSizeStr:'1'):fontSizeStr;if(endWrap)return(hasDims&&!olNs4)?(isClose?'</span>':'</div>'):'</font>';else{fontStr='o3_'+whichString+'font';fontColor='o3_'+((whichString=='caption')?'cap':whichString)+'color';return(hasDims&&!olNs4)?(isClose?'<span style="font-family: '+quoteMultiNameFonts(eval(fontStr))+'; color: '+eval(fontColor)+'; font-size: '+fontSizeStr+';">':'<div style="font-family: '+quoteMultiNameFonts(eval(fontStr))+'; color: '+eval(fontColor)+'; font-size: '+fontSizeStr+';">'):'<font face="'+eval(fontStr)+'" color="'+eval(fontColor)+'" size="'+(parseInt(fontSizeStr)>7?'7':fontSizeStr)+'">'}}function quoteMultiNameFonts(theFont){var v,pM=theFont.split(',');for(var i=0;i<pM.length;i++){v=pM[i];v=v.replace(/^\s+/,'').replace(/\s+$/,'');if(/\s/.test(v)&&!/['"]/.test(v)){v="\'"+v+"\'";pM[i]=v}}return pM.join();}function isExclusive(args){return false}function setCellPadStr(parameter){var Str='',j=0,ary=new Array(),top,bottom,left,right;Str+='padding: ';ary=parameter.replace(/\s+/g,'').split(',');switch(ary.length){case 2:top=bottom=ary[j];left=right=ary[++j];break;case 3:top=ary[j];left=right=ary[++j];bottom=ary[++j];break;case 4:top=ary[j];right=ary[++j];bottom=ary[++j];left=ary[++j];break}Str+=((ary.length==1)?ary[0]+'px;':top+'px '+right+'px '+bottom+'px '+left+'px;');return Str}function hideDelay(time){if(time&&!o3_delay){if(o3_timerid>0)clearTimeout(o3_timerid);o3_timerid=setTimeout("cClick()",(o3_timeout=time));}}function horizontalPlacement(browserWidth,horizontalScrollAmount,widthFix){var placeX,iwidth=browserWidth,winoffset=horizontalScrollAmount;var parsedWidth=parseInt(o3_width);if(o3_fixx>-1||o3_relx!=null){placeX=(o3_relx!=null?(o3_relx<0?winoffset+o3_relx+iwidth-parsedWidth-widthFix:winoffset+o3_relx):o3_fixx);}else{if(o3_hauto==1){if((o3_x-winoffset)>(iwidth/2)&&o3_hpos==RIGHT&&((o3_x-winoffset)-(parsedWidth+o3_offsetx-iwidth>(iwidth-widthFix)))){o3_hpos=LEFT}else if(o3_hpos==LEFT&&((o3_x-o3_offsetx-parsedWidth)<winoffset)){o3_hpos=RIGHT}}if(o3_hpos==CENTER){placeX=o3_x+o3_offsetx-(parsedWidth/2);if(placeX<winoffset)placeX=winoffset}if(o3_hpos==RIGHT){placeX=o3_x+o3_offsetx;if((placeX+parsedWidth)>(winoffset+iwidth-widthFix)){placeX=iwidth+winoffset-parsedWidth-widthFix;if(placeX<0)placeX=0}}if(o3_hpos==LEFT){placeX=o3_x-o3_offsetx-parsedWidth;if(placeX<winoffset)placeX=winoffset}if(o3_snapx>1){var snapping=placeX%o3_snapx;if(o3_hpos==LEFT){placeX-=(o3_snapx+snapping);}else{placeX+=(o3_snapx-snapping);}if(placeX<winoffset)placeX=winoffset}}return placeX}function verticalPlacement(browserHeight,verticalScrollAmount){var placeY,iheight=browserHeight,scrolloffset=verticalScrollAmount;var parsedHeight=(o3_aboveheight?parseInt(o3_aboveheight):(olNs4?over.clip.height:over.offsetHeight));if(o3_fixy>-1||o3_rely!=null){placeY=(o3_rely!=null?(o3_rely<0?scrolloffset+o3_rely+iheight-parsedHeight:scrolloffset+o3_rely):o3_fixy);}else{if(o3_vauto==1){if((o3_y-scrolloffset)>(iheight/2)&&o3_vpos==BELOW&&(o3_y+parsedHeight+o3_offsety-(scrolloffset+iheight)>0)){o3_vpos=ABOVE}else if(o3_vpos==ABOVE&&(o3_y-(parsedHeight+o3_offsety)-scrolloffset<0)){o3_vpos=BELOW}}if(o3_vpos==ABOVE){if(o3_aboveheight==0)o3_aboveheight=parsedHeight;placeY=o3_y-(o3_aboveheight+o3_offsety);if(placeY<scrolloffset)placeY=scrolloffset}else{placeY=o3_y+o3_offsety}if(o3_snapy>1){var snapping=placeY%o3_snapy;if(o3_aboveheight>0&&o3_vpos==ABOVE){placeY-=(o3_snapy+snapping);}else{placeY+=(o3_snapy-snapping);}if(placeY<scrolloffset)placeY=scrolloffset}}return placeY}function checkPositionFlags(){if(olHautoFlag)olHautoFlag=o3_hauto=0;if(olVautoFlag)olVautoFlag=o3_vauto=0;return true}function windowWidth(){var w;if(o3_frame.innerWidth)w=o3_frame.innerWidth;else if(eval('o3_frame.'+docRoot)&&eval("typeof o3_frame."+docRoot+".clientWidth=='number'")&&eval('o3_frame.'+docRoot+'.clientWidth'))w=eval('o3_frame.'+docRoot+'.clientWidth');return w}function createDivContainer(id,frm,zValue){id=(id||'overDiv'),frm=(frm||o3_frame),zValue=(zValue||1000);var objRef,divContainer=layerReference(id);if(divContainer==null){if(olNs4){divContainer=frm.document.layers[id]=new Layer(window.innerWidth,frm);objRef=divContainer}else{var body=(olIe4?frm.document.all.tags('BODY')[0]:frm.document.getElementsByTagName("BODY")[0]);if(olIe4&&!document.getElementById){body.insertAdjacentHTML("beforeEnd",'<div id="'+id+'"></div>');divContainer=layerReference(id);}else{divContainer=frm.document.createElement("DIV");divContainer.id=id;body.appendChild(divContainer);}objRef=divContainer.style}objRef.position='absolute';objRef.visibility='hidden';objRef.zIndex=zValue;if(olIe4&&!olOp)objRef.left=objRef.top='0px';else objRef.left=objRef.top=-10000+(!olNs4?'px':0);}return divContainer}function layerReference(id){return(olNs4?o3_frame.document.layers[id]:(document.all?o3_frame.document.all[id]:o3_frame.document.getElementById(id)));}function isFunction(fnRef){var rtn=true;if(typeof fnRef=='object'){for(var i=0;i<fnRef.length;i++){if(typeof fnRef[i]=='function')continue;rtn=false;break}}else if(typeof fnRef!='function'){rtn=false}return rtn}function argToString(array,strtInd,argName){var jS=strtInd,aS='',ar=array;argName=(argName?argName:'ar');if(ar.length>jS){for(var k=jS;k<ar.length;k++)aS+=argName+'['+k+'], ';aS=aS.substring(0,aS.length-2);}return aS}function reOrder(hookPt,fnRef,order){var newPt=new Array(),match,i,j;if(!order||typeof order=='undefined'||typeof order=='number')return hookPt;if(typeof order=='function'){if(typeof fnRef=='object'){newPt=newPt.concat(fnRef);}else{newPt[newPt.length++]=fnRef}for(i=0;i<hookPt.length;i++){match=false;if(typeof fnRef=='function'&&hookPt[i]==fnRef){continue}else{for(j=0;j<fnRef.length;j++)if(hookPt[i]==fnRef[j]){match=true;break}}if(!match)newPt[newPt.length++]=hookPt[i]}newPt[newPt.length++]=order}else if(typeof order=='object'){if(typeof fnRef=='object'){newPt=newPt.concat(fnRef);}else{newPt[newPt.length++]=fnRef}for(j=0;j<hookPt.length;j++){match=false;if(typeof fnRef=='function'&&hookPt[j]==fnRef){continue}else{for(i=0;i<fnRef.length;i++)if(hookPt[j]==fnRef[i]){match=true;break}}if(!match)newPt[newPt.length++]=hookPt[j]}for(i=0;i<newPt.length;i++)hookPt[i]=newPt[i];newPt.length=0;for(j=0;j<hookPt.length;j++){match=false;for(i=0;i<order.length;i++){if(hookPt[j]==order[i]){match=true;break}}if(!match)newPt[newPt.length++]=hookPt[j]}newPt=newPt.concat(order);}hookPt=newPt;return hookPt}function setRunTimeVariables(){if(typeof runTime!='undefined'&&runTime.length){for(var k=0;k<runTime.length;k++){runTime[k]();}}}function parseCmdLine(pf,i,args){if(typeof cmdLine!='undefined'&&cmdLine.length){for(var k=0;k<cmdLine.length;k++){var j=cmdLine[k](pf,i,args);if(j>-1){i=j;break}}}return i}function postParseChecks(pf,args){if(typeof postParse!='undefined'&&postParse.length){for(var k=0;k<postParse.length;k++){if(postParse[k](pf,args))continue;return false;}}return true}function registerCommands(cmdStr){if(typeof cmdStr!='string')return;var pM=cmdStr.split(',');pms=pms.concat(pM);for(var i=0;i<pM.length;i++){eval(pM[i].toUpperCase()+'='+pmCount++);}}function registerNoParameterCommands(cmdStr){if(!cmdStr&&typeof cmdStr!='string')return;pmt=(!pmt)?cmdStr:pmt+','+cmdStr}function registerHook(fnHookTo,fnRef,hookType,optPm){var hookPt,last=typeof optPm;if(fnHookTo=='plgIn'||fnHookTo=='postParse')return;if(typeof hookPts[fnHookTo]=='undefined')hookPts[fnHookTo]=new FunctionReference();hookPt=hookPts[fnHookTo];if(hookType!=null){if(hookType==FREPLACE){hookPt.ovload=fnRef;if(fnHookTo.indexOf('ol_content_')>-1)hookPt.alt[pms[CSSOFF-1-pmStart]]=fnRef}else if(hookType==FBEFORE||hookType==FAFTER){var hookPt=(hookType==1?hookPt.before:hookPt.after);if(typeof fnRef=='object'){hookPt=hookPt.concat(fnRef);}else{hookPt[hookPt.length++]=fnRef}if(optPm)hookPt=reOrder(hookPt,fnRef,optPm);}else if(hookType==FALTERNATE){if(last=='number')hookPt.alt[pms[optPm-1-pmStart]]=fnRef}else if(hookType==FCHAIN){hookPt=hookPt.chain;if(typeof fnRef=='object')hookPt=hookPt.concat(fnRef);else hookPt[hookPt.length++]=fnRef}return}}function registerRunTimeFunction(fn){if(isFunction(fn)){if(typeof fn=='object'){runTime=runTime.concat(fn);}else{runTime[runTime.length++]=fn}}}function registerCmdLineFunction(fn){if(isFunction(fn)){if(typeof fn=='object'){cmdLine=cmdLine.concat(fn);}else{cmdLine[cmdLine.length++]=fn}}}function registerPostParseFunction(fn){if(isFunction(fn)){if(typeof fn=='object'){postParse=postParse.concat(fn);}else{postParse[postParse.length++]=fn}}}function runHook(fnHookTo,hookType){var l=hookPts[fnHookTo],k,rtnVal=null,optPm,arS,ar=runHook.arguments;if(hookType==FREPLACE){arS=argToString(ar,2);if(typeof l=='undefined'||!(l=l.ovload))rtnVal=eval(fnHookTo+'('+arS+')');else rtnVal=eval('l('+arS+')');}else if(hookType==FBEFORE||hookType==FAFTER){if(typeof l!='undefined'){l=(hookType==1?l.before:l.after);if(l.length){arS=argToString(ar,2);for(var k=0;k<l.length;k++)eval('l[k]('+arS+')');}}}else if(hookType==FALTERNATE){optPm=ar[2];arS=argToString(ar,3);if(typeof l=='undefined'||(l=l.alt[pms[optPm-1-pmStart]])=='undefined'){rtnVal=eval(fnHookTo+'('+arS+')');}else{rtnVal=eval('l('+arS+')');}}else if(hookType==FCHAIN){arS=argToString(ar,2);l=l.chain;for(k=l.length;k>0;k--)if((rtnVal=eval('l[k-1]('+arS+')'))!=void(0))break}return rtnVal}function FunctionReference(){this.ovload=null;this.before=new Array();this.after=new Array();this.alt=new Array();this.chain=new Array();}function Info(version,prerelease){this.version=version;this.prerelease=prerelease;this.simpleversion=Math.round(this.version*100);this.major=parseInt(this.simpleversion/100);this.minor=parseInt(this.simpleversion/10)-this.major*10;this.revision=parseInt(this.simpleversion)-this.major*100-this.minor*10;this.meets=meets}function meets(reqdVersion){return(!reqdVersion)?false:this.simpleversion>=Math.round(100*parseFloat(reqdVersion));}registerHook("ol_content_simple",ol_content_simple,FALTERNATE,CSSOFF);registerHook("ol_content_caption",ol_content_caption,FALTERNATE,CSSOFF);registerHook("ol_content_background",ol_content_background,FALTERNATE,CSSOFF);registerHook("ol_content_simple",ol_content_simple,FALTERNATE,CSSCLASS);registerHook("ol_content_caption",ol_content_caption,FALTERNATE,CSSCLASS);registerHook("ol_content_background",ol_content_background,FALTERNATE,CSSCLASS);registerPostParseFunction(checkPositionFlags);registerHook("hideObject",nbspCleanup,FAFTER);registerHook("horizontalPlacement",horizontalPlacement,FCHAIN);registerHook("verticalPlacement",verticalPlacement,FCHAIN);if(olNs4||(olIe5&&isMac)||olKq)olLoaded=1;registerNoParameterCommands('sticky,autostatus,autostatuscap,fullhtml,hauto,vauto,closeclick,wrap,followmouse,mouseoff,compatmode');olCheckMouseCapture=true;if((olNs4||olNs6||olIe4)){olMouseCapture();}else{overlib=no_overlib;nd=no_overlib;ver3fix=true}
/**
 * SWFObject v1.5.1: Flash Player detection and embed - http://blog.deconcept.com/swfobject/
 *
 * SWFObject is (c) 2007 Geoff Stearns and is released under the MIT License:
 * http://www.opensource.org/licenses/mit-license.php
 *
 */
if(typeof deconcept == "undefined") var deconcept = {};
if(typeof deconcept.util == "undefined") deconcept.util = {};
if(typeof deconcept.SWFObjectUtil == "undefined") deconcept.SWFObjectUtil = {};
deconcept.SWFObject = function(swf, id, w, h, ver, c, quality, xiRedirectUrl, redirectUrl, detectKey) {
	if (!document.getElementById) { return; }
	this.DETECT_KEY = detectKey ? detectKey : 'detectflash';
	this.skipDetect = deconcept.util.getRequestParameter(this.DETECT_KEY);
	this.params = {};
	this.variables = {};
	this.attributes = [];
	if(swf) { this.setAttribute('swf', swf); }
	if(id) { this.setAttribute('id', id); }
	if(w) { this.setAttribute('width', w); }
	if(h) { this.setAttribute('height', h); }
	if(ver) { this.setAttribute('version', new deconcept.PlayerVersion(ver.toString().split("."))); }
	this.installedVer = deconcept.SWFObjectUtil.getPlayerVersion();
	if (!window.opera && document.all && this.installedVer.major > 7) {
		// only add the onunload cleanup if the Flash Player version supports External Interface and we are in IE
		// fixes bug in some fp9 versions see http://blog.deconcept.com/2006/07/28/swfobject-143-released/
		if (!deconcept.unloadSet) {
			deconcept.SWFObjectUtil.prepUnload = function() {
				__flash_unloadHandler = function(){};
				__flash_savedUnloadHandler = function(){};
				window.attachEvent("onunload", deconcept.SWFObjectUtil.cleanupSWFs);
			}
			window.attachEvent("onbeforeunload", deconcept.SWFObjectUtil.prepUnload);
			deconcept.unloadSet = true;
		}
	}
	if(c) { this.addParam('bgcolor', c); }
	var q = quality ? quality : 'high';
	this.addParam('quality', q);
	this.setAttribute('useExpressInstall', false);
	this.setAttribute('doExpressInstall', false);
	var xir = (xiRedirectUrl) ? xiRedirectUrl : window.location;
	this.setAttribute('xiRedirectUrl', xir);
	this.setAttribute('redirectUrl', '');
	if(redirectUrl) { this.setAttribute('redirectUrl', redirectUrl); }
}
deconcept.SWFObject.prototype = {
	useExpressInstall: function(path) {
		this.xiSWFPath = !path ? "expressinstall.swf" : path;
		this.setAttribute('useExpressInstall', true);
	},
	setAttribute: function(name, value){
		this.attributes[name] = value;
	},
	getAttribute: function(name){
		return this.attributes[name] || "";
	},
	addParam: function(name, value){
		this.params[name] = value;
	},
	getParams: function(){
		return this.params;
	},
	addVariable: function(name, value){
		this.variables[name] = value;
	},
	getVariable: function(name){
		return this.variables[name] || "";
	},
	getVariables: function(){
		return this.variables;
	},
	getVariablePairs: function(){
		var variablePairs = [];
		var key;
		var variables = this.getVariables();
		for(key in variables){
			variablePairs[variablePairs.length] = key +"="+ variables[key];
		}
		return variablePairs;
	},
	getSWFHTML: function() {
		var swfNode = "";
		if (navigator.plugins && navigator.mimeTypes && navigator.mimeTypes.length) { // netscape plugin architecture
			if (this.getAttribute("doExpressInstall")) {
				this.addVariable("MMplayerType", "PlugIn");
				this.setAttribute('swf', this.xiSWFPath);
			}
			swfNode = '<embed type="application/x-shockwave-flash" src="'+ this.getAttribute('swf') +'" width="'+ this.getAttribute('width') +'" height="'+ this.getAttribute('height') +'" style="'+ (this.getAttribute('style') || "") +'"';
			swfNode += ' id="'+ this.getAttribute('id') +'" name="'+ this.getAttribute('id') +'" ';
			var params = this.getParams();
			 for(var key in params){ swfNode += [key] +'="'+ params[key] +'" '; }
			var pairs = this.getVariablePairs().join("&");
			 if (pairs.length > 0){ swfNode += 'flashvars="'+ pairs +'"'; }
			swfNode += '/>';
		} else { // PC IE
			if (this.getAttribute("doExpressInstall")) {
				this.addVariable("MMplayerType", "ActiveX");
				this.setAttribute('swf', this.xiSWFPath);
			}
			swfNode = '<object id="'+ this.getAttribute('id') +'" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="'+ this.getAttribute('width') +'" height="'+ this.getAttribute('height') +'" style="'+ (this.getAttribute('style') || "") +'">';
			swfNode += '<param name="movie" value="'+ this.getAttribute('swf') +'" />';
			var params = this.getParams();
			for(var key in params) {
			 swfNode += '<param name="'+ key +'" value="'+ params[key] +'" />';
			}
			var pairs = this.getVariablePairs().join("&");
			if(pairs.length > 0) {swfNode += '<param name="flashvars" value="'+ pairs +'" />';}
			swfNode += "</object>";
		}
		return swfNode;
	},
	write: function(elementId){
		if(this.getAttribute('useExpressInstall')) {
			// check to see if we need to do an express install
			var expressInstallReqVer = new deconcept.PlayerVersion([6,0,65]);
			if (this.installedVer.versionIsValid(expressInstallReqVer) && !this.installedVer.versionIsValid(this.getAttribute('version'))) {
				this.setAttribute('doExpressInstall', true);
				this.addVariable("MMredirectURL", escape(this.getAttribute('xiRedirectUrl')));
				document.title = document.title.slice(0, 47) + " - Flash Player Installation";
				this.addVariable("MMdoctitle", document.title);
			}
		}
		if(this.skipDetect || this.getAttribute('doExpressInstall') || this.installedVer.versionIsValid(this.getAttribute('version'))){
			var n = (typeof elementId == 'string') ? document.getElementById(elementId) : elementId;
			n.innerHTML = this.getSWFHTML();
			return true;
		}else{
			if(this.getAttribute('redirectUrl') != "") {
				document.location.replace(this.getAttribute('redirectUrl'));
			}
		}
		return false;
	}
}

/* ---- detection functions ---- */
deconcept.SWFObjectUtil.getPlayerVersion = function(){
	var PlayerVersion = new deconcept.PlayerVersion([0,0,0]);
	if(navigator.plugins && navigator.mimeTypes.length){
		var x = navigator.plugins["Shockwave Flash"];
		if(x && x.description) {
			PlayerVersion = new deconcept.PlayerVersion(x.description.replace(/([a-zA-Z]|\s)+/, "").replace(/(\s+r|\s+b[0-9]+)/, ".").split("."));
		}
	}else if (navigator.userAgent && navigator.userAgent.indexOf("Windows CE") >= 0){ // if Windows CE
		var axo = 1;
		var counter = 3;
		while(axo) {
			try {
				counter++;
				axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash."+ counter);
//				document.write("player v: "+ counter);
				PlayerVersion = new deconcept.PlayerVersion([counter,0,0]);
			} catch (e) {
				axo = null;
			}
		}
	} else { // Win IE (non mobile)
		// do minor version lookup in IE, but avoid fp6 crashing issues
		// see http://blog.deconcept.com/2006/01/11/getvariable-setvariable-crash-internet-explorer-flash-6/
		try{
			var axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7");
		}catch(e){
			try {
				var axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");
				PlayerVersion = new deconcept.PlayerVersion([6,0,21]);
				axo.AllowScriptAccess = "always"; // error if player version < 6.0.47 (thanks to Michael Williams @ Adobe for this code)
			} catch(e) {
				if (PlayerVersion.major == 6) {
					return PlayerVersion;
				}
			}
			try {
				axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash");
			} catch(e) {}
		}
		if (axo != null) {
			PlayerVersion = new deconcept.PlayerVersion(axo.GetVariable("$version").split(" ")[1].split(","));
		}
	}
	return PlayerVersion;
}
deconcept.PlayerVersion = function(arrVersion){
	this.major = arrVersion[0] != null ? parseInt(arrVersion[0]) : 0;
	this.minor = arrVersion[1] != null ? parseInt(arrVersion[1]) : 0;
	this.rev = arrVersion[2] != null ? parseInt(arrVersion[2]) : 0;
}
deconcept.PlayerVersion.prototype.versionIsValid = function(fv){
	if(this.major < fv.major) return false;
	if(this.major > fv.major) return true;
	if(this.minor < fv.minor) return false;
	if(this.minor > fv.minor) return true;
	if(this.rev < fv.rev) return false;
	return true;
}
/* ---- get value of query string param ---- */
deconcept.util = {
	getRequestParameter: function(param) {
		var q = document.location.search || document.location.hash;
		if (param == null) { return q; }
		if(q) {
			var pairs = q.substring(1).split("&");
			for (var i=0; i < pairs.length; i++) {
				if (pairs[i].substring(0, pairs[i].indexOf("=")) == param) {
					return pairs[i].substring((pairs[i].indexOf("=")+1));
				}
			}
		}
		return "";
	}
}
/* fix for video streaming bug */
deconcept.SWFObjectUtil.cleanupSWFs = function() {
	var objects = document.getElementsByTagName("OBJECT");
	for (var i = objects.length - 1; i >= 0; i--) {
		objects[i].style.display = 'none';
		for (var x in objects[i]) {
			if (typeof objects[i][x] == 'function') {
				objects[i][x] = function(){};
			}
		}
	}
}
/* add document.getElementById if needed (mobile IE < 5) */
if (!document.getElementById && document.all) { document.getElementById = function(id) { return document.all[id]; }}

/* add some aliases for ease of use/backwards compatibility */
var getQueryParamValue = deconcept.util.getRequestParameter;
var FlashObject = deconcept.SWFObject; // for legacy support
var SWFObject = deconcept.SWFObject;


function LoadFlashFile (strFilename, nWidth, nHeight, strControlID)
{
	var so = new SWFObject(strFilename, strControlID, nWidth, nHeight, "6", "#000000");
   so.addParam ("menu", "false");
   so.addParam ("quality", "high");
   so.addParam ("scale", "noscale");
   so.addParam ("salign", "L");
   so.addParam ("wmode", "transparent");
   so.write ("Div1");
}


var m_nOffsetType = 0;

function getHeight(nOffsetType) 
{
	GalleryHeight = 0;
	
	m_nOffsetType = nOffsetType;

	if ( typeof( window.innerHeight ) == 'number' ) 
	{
		//Non-IE
		GalleryHeight = window.innerHeight;
	} 
	else if ( document.documentElement && document.documentElement.clientHeight ) 
	{
		//IE 6+ in 'standards compliant mode'   
		GalleryHeight = document.documentElement.clientHeight;
	} 
	else if ( document.body && document.body.clientHeight) 
	{
		//IE 4 compatible
		GalleryHeight = document.body.clientHeight;
	}

	switch (nOffsetType)
	{
		case 2:
			// Project details page
			GalleryHeight -= 154;
			break;
			
		case 1:
			// Services page with service list
			GalleryHeight -= 234;
			break;
			
		default:
			// All other pages
			GalleryHeight -= 135;
			break;
	}

	return GalleryHeight;
}

function setHeight() 
{ 
	getHeight (m_nOffsetType); 
	document.getElementById("gallery").style.height=GalleryHeight+'px'; 
}



function DisplayVideoInfoVideo_135()
{
 return overlib ('<b>Description:</b> Promotional Spot for the JCPenney Jam re-broadcast on DIRECTV premiering September 18, 2007.&nbsp; This one-hour music special will run through the end of December 2008 on DIRECTV Channel 101.<br><br><b>Run time:</b> 0:30', CAPTION, 'JCPenney Jam DIRECTV Spot', RIGHT);
}
function DisplayVideoInfoVideo_136()
{
 return overlib ('<b>Description:</b> Three songs from a Geanina concert in Las Vegas: A) Kashmir, B) Chopin in C Minor, C) Will I Ever Know<br><br><b>Run time:</b> CLICK ON 3 VIDEOS BELOW', CAPTION, 'Geanina', RIGHT);
}
function DisplayVideoInfoVideo_137()
{
 return overlib ('<b>Description:</b> McAfee General Session Video Module - Focus 2009 Security Conference<br><br><b>Run time:</b> 1:18', CAPTION, 'McAfee General Session Video Module', RIGHT);
}
function DisplayVideoInfoVideo_138()
{
 return overlib ('<b>Description:</b> JCPenney JAM Case Study<br><br><b>Run time:</b> 7:26', CAPTION, 'JCPenney Jam Case Study', RIGHT);
}
function DisplayVideoInfoVideo_139()
{
 return overlib ('<b>Description:</b> David Foster - Hitman<br><br><b>Run time:</b> 2:07', CAPTION, 'David Foster - Hitman', RIGHT);
}
function DisplayVideoInfojcpjam_showopencbs()
{
 return overlib ('<b>Description:</b> Show Open on CBS, Concert For America\'s Kids: JCPenney JAM<br><br><b>Run time:</b> 0:57', CAPTION, 'CBS Show Open, Concert For America\'s Kids: JCPenney JAM', RIGHT);
}
function DisplayVideoInfoaolmusic_jcp()
{
 return overlib ('<b>Description:</b> JCPenney Jam Teaser for AOL Music Website<br><br><b>Run time:</b> 0:57', CAPTION, 'JCPenney Jam Teaser for AOL Music Website', RIGHT);
}
function DisplayVideoInfoconcert_for_wcd()
{
 return overlib ('<b>Description:</b> DVD VIDEO PREVIEW - Performances by Celine Dion &amp; Josh Groban &quot;The Prayer&quot;, Yolanda Adams &quot;I Believe I Can Fly&quot;, Enrique Iglesias &quot;Hero&quot;. Order this stunning DVD at www.getconcert.com (produced in High-Definition 24p)<br><br><b>Run time:</b> 1:42', CAPTION, 'DVD Video Preview: Concert For World Children\'s Day', RIGHT);
}
function DisplayVideoInfowcd_dir_response2minrev()
{
 return overlib ('<b>Description:</b> Primetime Emmy&reg; award-winning 2.5 hour concert DVD, mastered in cinematic high-definition progressive video with Dolby&reg; Digital 5.1 Surround Sound, which contains 19 songs from 11 artists, including music, performances, and footage exclusive to this concert DVD.&nbsp; Songs include &quot;The Prayer&quot; with Celine Dion and Josh Groban, &quot;Maybe&quot; by Enrique Igelsias, &quot;Hits Medley&quot; by Peter Cetera, &ldquo;Help Me&rdquo; by Nick Carter, &quot;Spiderman&quot; by Michael Buble, &quot;I Believe I Can Fly&quot; by Yolanda Adams, &quot;Winter Games&quot; by David Foster, and &quot;Somewhere Over the Rainbow&quot; by Nita Whitaker. Bonus Materials: The Making of the World Children\'s Day Anthem, a David Foster Anthem Solo, a Behind-the-Scenes look at the telecast, Celine Dion &amp; Nick Carter Visit a Ronald McDonald House, Artist Bios &amp; Photos and the Trailer.&nbsp;&nbsp; Available now at www.GetConcert.com.&nbsp; All net proceeds benefit Ronald McDonald House Charities.<br><br><b>Run time:</b> 2:00', CAPTION, 'Direct Response TV Spot produced by EVI, for DVD &amp; VHS video sales of: The Concert for World Children\'s Day', RIGHT);
}
function DisplayVideoInfocincotti_jcp()
{
 return overlib ('<b>Description:</b> Peter Cincotti performs at JCPenney JAM, concert Produced by EVI.<br><br><b>Run time:</b> 3:59', CAPTION, 'Peter Cincotti performs at JCPenney JAM', RIGHT);
}
function DisplayVideoInfowcd_anthem_dvd_60Secs()
{
 return overlib ('<b>Description:</b> TV Commercial for ABC Special &quot;The Concert for World Children\'s Day&quot; with original music &quot;Aren\'t They All Our Children&quot; by David Foster/Linda Thompson, produced by Executive Visions Inc.<br><br><b>Run time:</b> 1:00', CAPTION, 'TV Commercial: World Children\'s Day Anthem w/DVD Tag', RIGHT);
}
function DisplayVideoInfobrothers_conti_mcdonalds_sony_music_connect_30_tv_spot()
{
 return overlib ('<b>Description:</b> EVI architected &amp; facilitated the commercial    music-integration deal between McDonald\'s &amp; Warner Music    for McDonald\'s / Sony Connect worldwide commercial marketing    campaign. Brothers Conti new song \"Automatic\" featured.<br><br><b>Run time:</b> 0:32', CAPTION, 'Brothers Conti McDonald\'s Sony Music Connect, 30 second TV Spot.', RIGHT);
}
function DisplayVideoInfobently_pt1()
{
 return overlib ('<b>Description:</b> 35mm product and training film written/produced by EVI showcasing the most powerful 4-door production sedan in the world, the Bentley Arnage T.<br><br><b>Run time:</b> 13:23', CAPTION, 'Bentley, The Ultimate Driver\'s Bentley', RIGHT);
}
function DisplayVideoInfoevi_fosterintro_nordoffrobins()
{
 return overlib ('<b>Description:</b> Intro video for Lifetime Achievement Award to David Foster.<br><br><b>Run time:</b> 8:35', CAPTION, 'Retrospective on David Foster', RIGHT);
}
function DisplayVideoInfoevi_powerofthedream()
{
 return overlib ('<b>Description:</b> Celine Dion and David Foster performing for Coke and the International Olympic Committee.<br><br><b>Run time:</b> 1:56', CAPTION, 'Power of the Dream', RIGHT);
}
function DisplayVideoInfoevi_fosterintro_rmcc()
{
 return overlib ('<b>Description:</b> Short music-video biography EVI produced to introduce David onto the stage.<br><br><b>Run time:</b> 2:39', CAPTION, 'The Chartmaker', RIGHT);
}
function DisplayVideoInfoevi_fosterinterview()
{
 return overlib ('<b>Description:</b> Personal Interview with David Foster on EVI\'s Signature Series Shows.<br><br><b>Run time:</b> 1:08', CAPTION, 'Foster Interview on Signature Series Shows', RIGHT);
}
function DisplayVideoInfoevi_signitureseries()
{
 return overlib ('<b>Description:</b> Case Study on EVI\'s Entertainment Marketing Program.<br><br><b>Run time:</b> 6:15', CAPTION, 'Signature Series Shows&trade; Case Study', RIGHT);
}
function DisplayVideoInfoevi_winning()
{
 return overlib ('<b>Description:</b> EVI\'s award-winning Corporate Identity Video.<br><br><b>Run time:</b> 5:23', CAPTION, 'Winning', RIGHT);
}
function DisplayVideoInfoevi_powertodoit()
{
 return overlib ('<b>Description:</b> Case Study of training and performance improvement programs EVI produced for Bombardier.<br><br><b>Run time:</b> 4:12', CAPTION, 'Bombardier, Power To Do It! Case Study', RIGHT);
}
function DisplayVideoInfoevi_fasttalker()
{
 return overlib ('<b>Description:</b> Let John Moschitta, Jr. speedtalk you through a few of our prestigious clients.<br><br><b>Run time:</b> 0:45', CAPTION, 'Fast-Talker', RIGHT);
}
function DisplayVideoInfoevi_corpimages()
{
 return overlib ('<b>Description:</b> A collection of clips from video and film projects EVI has produced.<br><br><b>Run time:</b> 4:03', CAPTION, 'Collection of Corporate Images', RIGHT);
}
function DisplayVideoInfoevi_durwood()
{
 return overlib ('<b>Description:</b> Comedic Relief Show Element for Parke-Davis 3-city road tour.<br><br><b>Run time:</b> 3:38', CAPTION, 'Double-Talker', RIGHT);
}
function DisplayVideoInfoevi_module1()
{
 return overlib ('<b>Description:</b> One of three motivational modules to introduce and segue Dr. Robert Ballard (GTE awards).<br><br><b>Run time:</b> 3:33', CAPTION, 'Dr. Ballard Intro Module - Titanic', RIGHT);
}
function DisplayVideoInfoevi_executiveintro()
{
 return overlib ('<b>Description:</b> Fun Elements to introduce presenters onto the stage.<br><br><b>Run time:</b> 3:44', CAPTION, 'Executive Intro: Skiing &amp; Skating Themes', RIGHT);
}
function DisplayVideoInfoevi_candids()
{
 return overlib ('<b>Description:</b> Candids Video for Solvay Pharmaceuticals.<br><br><b>Run time:</b> 2:06', CAPTION, 'Get on your Feet', RIGHT);
}
function DisplayVideoInfoevi_higherhigher()
{
 return overlib ('<b>Description:</b> Original music for motivational modules for a Georgia-Pacific company meeting.<br><br><b>Run time:</b> 3:06', CAPTION, 'Higher and Higher', RIGHT);
}
function DisplayVideoInfoevi_fluordaniel()
{
 return overlib ('<b>Description:</b> Case Study on Fluor Daniel\'s IPEx (Intergrated Project Execution) product launch.<br><br><b>Run time:</b> 1:33', CAPTION, 'Fluor Daniel, IPEx Case Study', RIGHT);
}
function DisplayVideoInfoevi_knowhowintro()
{
 return overlib ('<b>Description:</b> EVI\'s Training, Education and Performance Improvement Programs capabilities explained.<br><br><b>Run time:</b> 2:06', CAPTION, 'Know-How (Opening segment)', RIGHT);
}
function DisplayVideoInfoevi_knowhowclose()
{
 return overlib ('<b>Description:</b> EVI\'s Training, Education and Performance Improvement Programs capabilities explained.<br><br><b>Run time:</b> 0:43', CAPTION, 'Know-How (Closing segment)', RIGHT);
}
function DisplayVideoInfoevi_lanier()
{
 return overlib ('<b>Description:</b> Case study of 25 sales &amp; product training videos that EVI produced for Lanier.<br><br><b>Run time:</b> 1:05', CAPTION, 'Lanier Worldwide, Case Study', RIGHT);
}
function DisplayVideoInfoevi_bellsouth()
{
 return overlib ('<b>Description:</b> Case Study on BellSouth company-wide training which EVI produced.<br><br><b>Run time:</b> 4:03', CAPTION, 'BellSouth, Managing In a Competitive Environment', RIGHT);
}
function DisplayVideoInfoevi_coffeebreak()
{
 return overlib ('<b>Description:</b> Fun video element to introduce a coffee break at a meeting.<br><br><b>Run time:</b> 1:21', CAPTION, 'One Hot Summer', RIGHT);
}
function DisplayVideoInfoevi_merck()
{
 return overlib ('<b>Description:</b> Case Study on training video EVI produced for Merck.<br><br><b>Run time:</b> 1:11', CAPTION, 'Merck &amp; Co., Professional Presence Case Study', RIGHT);
}
function DisplayVideoInfoevi_equitec()
{
 return overlib ('<b>Description:</b> Case Study on training videos on Property and Real Estate Management for Equitec.<br><br><b>Run time:</b> 3:34', CAPTION, 'Equitec, Promises Made - Promises Kept', RIGHT);
}
function DisplayVideoInfoevi_interactivecharacter()
{
 return overlib ('<b>Description:</b> Interactive Character as audience alter-ego.<br><br><b>Run time:</b> 1:39', CAPTION, 'Seymore Sales', RIGHT);
}
function DisplayVideoInfoevi_supra()
{
 return overlib ('<b>Description:</b> Case Study on training and corporate identity programs EVI produced for Supra Boats.<br><br><b>Run time:</b> 1:39', CAPTION, 'Supra Boats, Case Study', RIGHT);
}
function DisplayVideoInfoevi_bwtour()
{
 return overlib ('<b>Description:</b> Highlights reel from the opening, middle and closing sequences of the B&amp;W 3-city road tour.<br><br><b>Run time:</b> 2:10', CAPTION, 'Tour Highlights, State of the Business', RIGHT);
}
function DisplayVideoInfoevi_turnerpavillion()
{
 return overlib ('<b>Description:</b> Highlights reel of the pavillion EVI produced the Turner Broadcasting during the Olympics.<br><br><b>Run time:</b> 1:01', CAPTION, 'Turner Pavilion Highlights', RIGHT);
}
function DisplayVideoInfoemily_spot_30secs()
{
 return overlib ('<b>Description:</b> TV Commercial on Ronald McDonald House Charities<br><br><b>Run time:</b> 0:30', CAPTION, 'Emily, World Children\'s Day (TV Commercial)', RIGHT);
}
function DisplayVideoInfomonica_spot_60secs()
{
 return overlib ('<b>Description:</b> TV Commercial on Ronald McDonald House Charities<br><br><b>Run time:</b> 1:00', CAPTION, 'Monica, World Children\'s Day (TV Commercial-short)', RIGHT);
}
function DisplayVideoInfomonica_spot_90secs()
{
 return overlib ('<b>Description:</b> TV Commercial on Ronald McDonald House Charities<br><br><b>Run time:</b> 1:30', CAPTION, 'Monica, World Children\'s Day (TV Commercial)', RIGHT);
}
function DisplayVideoInfothomas_spot_60secs()
{
 return overlib ('<b>Description:</b> TV Commercial on Ronald McDonald House Charities<br><br><b>Run time:</b> 1:00', CAPTION, 'Thomas, World Children\'s Day (TV Commercial)', RIGHT);
}
function DisplayVideoInfomission_possible_sampler()
{
 return overlib ('<b>Description:</b> Entertainment:&nbsp; Bodyless guy and Mind Reader for Reception, Robots act for 3 min open plus as Awards helpers, Cirque Performers.<br><br><b>Run time:</b> 5:33', CAPTION, 'Mission Possible Sampler', RIGHT);
}
function DisplayVideoInfofinal_omnicareopener()
{
 return overlib ('<b>Description:</b> To Play:&nbsp; 1) Click the Q icon above, then&nbsp;&nbsp; 2) Click DSL/Cable icon, then&nbsp; 3) Click the Play button in lower left of video..the 2nd button (the little arrow).&nbsp; This a Quciktime File.&nbsp; You need the QT player to view.<br><br><b>Run time:</b> 3:47', CAPTION, 'Opening Module Heroes', RIGHT);
}
function DisplayVideoInforev_closer_size320()
{
 return overlib ('<b>Description:</b> To Play:&nbsp; 1) Click the Q icon above, then&nbsp;&nbsp; 2) Click DSL/Cable icon, then&nbsp; 3) Click the Play button in lower left of video..the 2nd button (the little arrow).&nbsp; This a Quciktime File.&nbsp; You need the QT player to view.<br><br><b>Run time:</b> 1:45', CAPTION, 'Closing Module Heroes', RIGHT);
}
function DisplayVideoInfoafter_burner_intro()
{
 return overlib ('<b>Description:</b> To Play:&nbsp; 1) Click the Q icon above, then&nbsp;&nbsp; 2) Click DSL/Cable icon, then&nbsp; 3) Click the Play button in lower left of video..the 2nd button (the little arrow).&nbsp; This a Quciktime File.&nbsp; You need the QT player to view.<br><br><b>Run time:</b> 2:02', CAPTION, 'After Burner video', RIGHT);
}
function DisplayVideoInfosegway()
{
 return overlib ('<b>Description:</b> EVI team Produces high-profile corporate image/sales video (in high-definition) for dealerships and consumers.<br><br><b>Run time:</b> 05:01', CAPTION, 'Segway HT Sales Video', RIGHT);
}
function DisplayVideoInfoVideo_134()
{
 return overlib ('<b>Description:</b> Revolving Carpet Snow Ski Deck &quot;The Mountain&quot; provides event attendees with tremendous fun. No matter where you hold your next event, the ski conditions will be great as our ski pro guides your guests and dazzles them with choreographed ski performances.<br><br><b>Run time:</b> 5:00', CAPTION, 'The Mountain Ski Machine', RIGHT);
}
function DisplayVideoInfofrank_gehry_640x480()
{
 return overlib ('<b>Description:</b> <br><br><b>Run time:</b> 0:53', CAPTION, 'Frank Gehry', RIGHT);
}
function DisplayVideoInfowsop_bluff()
{
 return overlib ('<b>Description:</b> Exhibit produced by EVI for leading poker magazine Bluff Magazine at the 36th Annual World Series of Poker. Bluff Magazine is America\'s Largest Poker Magazine with 225,000 copies distributed nationwide and is created for poker enthusiasts eager to keep up with the fast-paced modern poker lifestyle.<br><br><b>Run time:</b> 0:39', CAPTION, 'Bluff Magazine Exhibit at World Series of Poker', RIGHT);
}
function DisplayVideoInfoResortQuest()
{
 return overlib ('<b>Description:</b> ResortQuest engaged EVI to produce a corporate image video as part of a strategy to building a new level of awareness and credibility within the industry. EVI scripted and producing an engaging three minute video that communicates key brand attributes and connects consumers with the wide range of vacation possibilities available through the ResortQuest network. EVI delivered the final product on DVD and on CD-ROM&rsquo;s for applications requiring Quicktime and Windows Media files.<br><br><b>Run time:</b> 2:56', CAPTION, 'ResortQuest Video', RIGHT);
}
function DisplayVideoInfowho_youd_be_today()
{
 return overlib ('<b>Description:</b> Kenny Chesney - NEW Release - Who You\'d Be Today (mp3)<br><br><b>Run time:</b> 4:12', CAPTION, 'Kenny Chesney - NEW Release - Who You\'d Be Today (streaming)', RIGHT);
}
function DisplayVideoInfo30_second_artist_teaser()
{
 return overlib ('<b>Description:</b> Note:&nbsp; Very large file (59mb) so it takes a while to load.<br><br><b>Run time:</b> 0:30', CAPTION, 'World Children\'s Day&nbsp; - 30 second artist teaser.', RIGHT);
}
function DisplayVideoInfowcd_graphics_tv_open()
{
 return overlib ('<b>Description:</b> Graphics Open on ABC TV Special, Concert for World Chidren\'s Day for McDonald\'s<br><br><b>Run time:</b> 1:00', CAPTION, 'Graphics Open of TV Special, Concert for World Chidren\'s Day', RIGHT);
}

	function DisplayVideoInfo(info,title)
	{
		return overlib (info, CAPTION, title, RIGHT);
	}


function NavigateTo (strDestination)
{
	if (document.location.protocol != "file:")
	{
		document.location = strDestination;
		return;
	}
	
	var strNewDestination = new String (strDestination);
	if (strNewDestination.indexOf ("/") != -1 )
	{
		strNewDestination = strNewDestination.substring (1);
	}
	
	if (strNewDestination.substring (strNewDestination.length - 4) == ".asp")
	{
		strNewDestination += ".htm";
	}
	
	document.location = strNewDestination;
}

function fwLoadMenus() 
{
  if (window.fw_menu_0) 
    return;

window.fw_menu_0 = new Menu("About Us",96,17,"Verdana, Arial, sans-serif",11,"#F4ECD0", "#FDBF4D", "#354465", "#1F2A40", "left", "middle", 0, 0, 2500, -5, 7, true, true, true, 0, true, false); fw_menu_0.hideOnMouseOut=true;
fw_menu_0.addMenuItem("About Us","NavigateTo('/about_overview.asp')");
fw_menu_0.addMenuItem("Our Clients","NavigateTo('/ourclients.asp')");
fw_menu_0.addMenuItem("Video Library","NavigateTo('/videolibrary.asp')");
fw_menu_0.addMenuItem("Founders","NavigateTo('/founders.asp')");
fw_menu_0.addMenuItem("Why EVI","NavigateTo('/whyevi.asp')");
fw_menu_0.addMenuItem("Awards","NavigateTo('/awards.asp')");
fw_menu_0.addMenuItem("Contact Us","NavigateTo('/contact_us.asp')");
fw_menu_0.addMenuItem("Map to EVI","NavigateTo('/directions.asp')");
fw_menu_0.addMenuItem("Site Map","NavigateTo('/Site_Map.aspx')");
window.fw_menu_1 = new Menu("Services",230,17,"Verdana, Arial, sans-serif",11,"#F4ECD0", "#FDBF4D", "#354465", "#1F2A40", "left", "middle", 0, 0, 2500, -5, 7, true, true, true, 0, true, false); fw_menu_1.hideOnMouseOut=true;
fw_menu_1.addMenuItem("Services Overview","NavigateTo('/services_overview.asp')");
fw_menu_1.addMenuItem("Meetings & Event Production","NavigateTo('/meetings_events.asp')");
fw_menu_1.addMenuItem("Celebrity Entertainment Booking","NavigateTo('/celeb_entertainment.asp')");
fw_menu_1.addMenuItem("Training & Performance Programs","NavigateTo('/training_performance.asp')");
fw_menu_1.addMenuItem("Communications Media Production","NavigateTo('/communications_media.asp')");
fw_menu_1.addMenuItem("Strategic Communications Consulting","NavigateTo('/strategic_communications.asp')");
fw_menu_1.addMenuItem("Environments & AV Systems","NavigateTo('/SystemsIntegration.asp')");
fw_menu_1.addMenuItem("Entertainment Booking Request Form","NavigateTo('/booking-agent.asp')");
window.fw_menu_2 = new Menu("Projects",200,17,"Verdana, Arial, sans-serif",11,"#F4ECD0", "#FDBF4D", "#354465", "#1F2A40", "left", "middle", 0, 0, 2500, -5, 7, true, true, true, 0, true, false); fw_menu_2.hideOnMouseOut=true;
fw_menu_2.addMenuItem("Sorted by the Services Provided","NavigateTo('/by_servicetype.asp')");
fw_menu_2.addMenuItem("Sorted by Client Name","NavigateTo('/by_client.asp')");
fw_menu_2.addMenuItem("Sorted by Industry","NavigateTo('/by_industry.asp')");
fw_menu_2.addMenuItem("Video Library","NavigateTo('/videolibrary.asp')");
fw_menu_2.addMenuItem("Sets, Scenic & Exhibits","NavigateTo('http://www.executivevisions.com/projectdetails.asp?ProjectID=125')");
fw_menu_2.addMenuItem("Tent Rentals & Tent Structures","NavigateTo('http://www.executivevisions.com/evi_tent_rental_supplier/index.aspx')");
window.fw_menu_3 = new Menu("Testimonials",100,17,"Verdana, Arial, sans-serif",11,"#F4ECD0", "#FDBF4D", "#354465", "#1F2A40", "left", "middle", 0, 0, 2500, -5, 7, true, true, true, 0, true, false); fw_menu_3.hideOnMouseOut=true;
fw_menu_3.addMenuItem("Testimonials","NavigateTo('/testimonials.asp')");
fw_menu_3.addMenuItem("Video Library","NavigateTo('/videolibrary.asp')");

	fw_menu_1.writeMenus();

} // fwLoadMenus()

var slideShowSpeedswapme = 2000;var crossFadeDurationswapme = 3;var Picswapme = new Array();Picswapme[0] = ConvertImagePath ('/images/newlarges/105still001anthem21027.jpg');Picswapme[1] = ConvertImagePath ('/images/newlarges/case0097-7f-d47redo1018.jpg');Picswapme[2] = ConvertImagePath ('/images/newlarges/case0097-8a-D48-KLMredo1018.jpg');Picswapme[3] = ConvertImagePath ('/images/newlarges/0008-stage-confetti-lg.jpg');Picswapme[4] = ConvertImagePath ('/images/newlarges/EVI0132.jpg');Picswapme[5] = ConvertImagePath ('/images/newlarges/evi-0128-lg.jpg');Picswapme[6] = ConvertImagePath ('/images/newlarges/IMG0028.jpg');Picswapme[7] = ConvertImagePath ('/images/newlarges/case9-1_ME_Home.jpg');Picswapme[8] = ConvertImagePath ('/images/newlarges/event-management-case21-14_ME.jpg');Picswapme[9] = ConvertImagePath ('/images/newlarges/event-management-companies_case4-9.jpg');Picswapme[10] = ConvertImagePath ('/images/newlarges/case5-1.jpg');Picswapme[11] = ConvertImagePath ('/images/newlarges/EVI0060.jpg');Picswapme[12] = ConvertImagePath ('/images/newlarges/EVI0062.jpg');Picswapme[13] = ConvertImagePath ('/images/newlarges/EVI0063.jpg');Picswapme[14] = ConvertImagePath ('/images/newlarges/EVI0067.jpg');Picswapme[15] = ConvertImagePath ('/images/newlarges/EVI0073.jpg');Picswapme[16] = ConvertImagePath ('/images/newlarges/EVI0081.jpg');Picswapme[17] = ConvertImagePath ('/images/newlarges/EVI0094.jpg');Picswapme[18] = ConvertImagePath ('/images/newlarges/EVI0107.jpg');Picswapme[19] = ConvertImagePath ('/images/newlarges/image17.jpg');Picswapme[20] = ConvertImagePath ('/images/newlarges/Image25.jpg');Picswapme[21] = ConvertImagePath ('/images/newlarges/Image31.jpg');Picswapme[22] = ConvertImagePath ('/images/newlarges/Image50.jpg');Picswapme[23] = ConvertImagePath ('/images/newlarges/IMG0009.jpg');Picswapme[24] = ConvertImagePath ('/images/newlarges/IMG0011.jpg');Picswapme[25] = ConvertImagePath ('/images/newlarges/IMG0015.jpg');Picswapme[26] = ConvertImagePath ('/images/newlarges/EVI0135.jpg');Picswapme[27] = ConvertImagePath ('/images/newlarges/48.jpg');Picswapme[28] = ConvertImagePath ('/images/newlarges/control-console-4675-16-9-lg.jpg');Picswapme[29] = ConvertImagePath ('/images/newlarges/control-console-4672-16-9-lg.jpg');Picswapme[30] = ConvertImagePath ('/images/newlarges/105still266anthem111027.jpg');var timerHandleswapme;
var currentImageIndexswapme = 0;
var pictureCountswapme = Picswapme.length;
var preLoadswapme = new Array();
for (i = 0; i < pictureCountswapme; i++)
{
preLoadswapme[i] = new Image();
preLoadswapme[i].src = Picswapme[i];
}
function DoAnimationswapme()
{
UpdateImage();
currentImageIndexswapme++;
if (currentImageIndexswapme > (pictureCountswapme-1)) 
currentImageIndexswapme=0;
timerHandleswapme = setTimeout('DoAnimationswapme()', slideShowSpeedswapme);
}
function StartAnimationswapme()
{
timerHandleswapme = setTimeout('DoAnimationswapme()', 2500);
}
function StopAnimationswapme()
{
clearTimeout (timerHandleswapme);
}
function IncrementImage()
{
StopAnimationswapme();
currentImageIndexswapme++;
if (currentImageIndexswapme > (pictureCountswapme-1))
 currentImageIndexswapme=0;
UpdateImage();
}
function DecrementImage()
{
StopAnimationswapme();
if (currentImageIndexswapme > 0)
{
currentImageIndexswapme--;
UpdateImage();
}
else
 LastImage();
}
function SetCurrentImage(imageIndex)
{
StopAnimationswapme();
currentImageIndexswapme=imageIndex;
UpdateImage();
}
function FirstImage()
{ SetCurrentImage (0); }
function LastImage()
{
 SetCurrentImage (pictureCountswapme - 1); 
}
function UpdateImage()
{
if (document.all)
{
document.images.swapme.style.filter="blendTrans(duration=2)";
document.images.swapme.style.filter="blendTrans(duration=crossFadeDuration)";
document.images.swapme.filters.blendTrans.Apply();
}
document.images.swapme.src = preLoadswapme[currentImageIndexswapme].src;
if (document.all)
document.images.swapme.filters.blendTrans.Play();
}

function ConvertImagePath (strImagePath)
{
	if (document.location.protocol != "file:")
	{
		return strImagePath;
	}
	
	var strNewDestination = new String (strImagePath);
	if (strNewDestination.indexOf ("/") != -1 )
	{
		strNewDestination = strNewDestination.substring (1);
	}
	
	return strNewDestination;
}



