VET_IfVer="05.00.02.29";
VET_ch=VET_Mc=null;
VET_Ap=navigator.appName;
VET_Bv=parseInt(navigator.appVersion.substring(0,1));
VET_Ag=navigator.userAgent.toLowerCase();
VET_IE=VET_Ag.indexOf("msie")!=-1&&(VET_Bv>=4)&&VET_Ag.indexOf("opera")==-1;
VET_IE6=(VET_IE&&(VET_Ag.charAt(VET_Ag.indexOf('msie')+5)*1>=6));//require at least IE6 now
VET_Firefox=VET_Ag.indexOf('firefox')!=-1;
VET_Safari=((VET_Ag.indexOf("safari/")!=-1)&&(parseInt(VET_Ag.substring(VET_Ag.indexOf("safari/")+7,VET_Ag.length))>=100));
VET_NN=VET_Ap.indexOf("Netscape")!=-1;
VET_Gecko=VET_Ag.indexOf('gecko')!=-1;
VET_AOL=VET_Ag.indexOf('aol')!=-1&&(VET_Ag.charAt(VET_Ag.indexOf('aol')+4)*1>=7);
VET_NN7=(VET_NN&&(parseInt(navigator.vendorSub)>=7));
VET_XP=VET_Ag.indexOf("nt 5.1")!=-1;
VET_Vista=VET_Ag.indexOf("nt 6.")!=-1;
VET_Win=navigator.platform=="Win32";
VET_Mac=VET_Ag.indexOf('mac')!=-1;
VET_AxID="03F998B2-0E00-11D3-A498-00104B6EB52E";
VET_AxSecID="1B00725B-C455-4DE6-BFB6-AD540AD427CD";
VET_Mim="application/x-mtx";//default it to mtx
VET_Dbg=VET_Sdr=0;
VET_AltPlugin=0;
VET_TopURL="";
VET_Dv="http:/"+"/www.viewpoint.com/installer/";//default to viewpoint neinstaller directory
VET_Re=VET_Dv+'index.html?';
VET_Rtyp=1;
VET_Ic="ISceneComponent";
VET_Cf="ComponentFileName";
VET_Sc="SceneComponent.mtc";
VET_Bk="BroadcastKeyFileURL";
VET_VistaHostMin=50659328;

VET_PageLoaded = false;
VET_CheckAgainAfterPageLoad = false;
VET_MTSUnsupported = function()
{
    VET_PageLoaded = true;
    MTSUnsupported();
}
//if (VET_Safari && document.addEventListener)
//    document.addEventListener("DOMContentLoaded", VET_MTSUnsupported, false);

MTSPlugin.prototype.genid=0;

RequiredVersionsUnsupported=function(ctlName)
{
	var reloadPage = true;
	var vmpObj = document.getElementById(ctlName);
	if (vmpObj != null)
	{
		if (VET_Win && VET_IE)
		{
			if (typeof vmpObj.PluginCommand != "undefined")//how can we be at this point and it not be valid?!
			{
				var guid = vmpObj.PluginCommand("GetResourceString('GUID')", 0 ,0);
				if (guid != "" && guid.indexOf(VET_AxID) != -1 )
				{
					vmpObj.PluginCommand("HideScene(false)", 0 ,0);
					reloadPage = false;
				}
			}
		}
		else
		{
			if (typeof vmpObj.DoCommand == "function")//how can we be at this point and it not be valid?!
			{
				var supportedMimes = vmpObj.DoCommand("GetResourceString('MIMEType')");
				if (supportedMimes != "" && supportedMimes.indexOf(VET_Mim) == 0)
				{
					vmpObj.DoCommand("HideScene(false)");
					reloadPage = false;
				}
			}
		}
	}

	if (reloadPage == false)
	{
		return;
	}

    MTSUnsupported();
}

Check_OSX=function()
{
	if(!VET_Mac)
		return false;
	if(VET_Ag.indexOf("mac os x")!=-1)
		return true;
	var n = navigator.plugins;
	if(n)
	{
		for(var i = 0; i < n.length; i++)
		{
			if(n[i].name.toLowerCase() == "default plugin carbon.cfm")
				return true;
		}
	}

	return false;
}

VET_MacOSX=Check_OSX();

VMPInstalled=function()
{
	if(window.location.search.indexOf("MTS3Debug=true") > -1)
		VET_IsIn = true;
	if(typeof window.VET_IsIn == "undefined" || window.VET_IsIn == null)
		VET_IsIn = (VET_Win && VET_IE) ? VET_Ax() : VET_Np();
	return VET_IsIn;
}

VMPSupported=function()
{
	if(VET_Win)
		return (VET_IE6 || VET_Firefox || VET_NN7 || VET_AOL);
	if(VET_MacOSX)
		return (VET_IE6 || VET_Firefox || VET_Safari);
	return false;
}

VET_Local='You are not online.\n\nViewpoint Media Player can not auto-install without an internet connection.';

VMPInstallWithFrame=function(){alert(VET_Local);}
VMPInstallWithPopup=function(){alert(VET_Local);}
VMPInstallURL=function(){return "javascript:alert(VET_Local)";}

MTSDebugger=function(i){VET_Dbg=i;}
MTSConsole=function(p1,p2){_mtsConsole.apply(this,arguments);}

MTSopenBrWindow=function(u,n,f){VET_ch=window.open(u,n,f);setTimeout("VET_Ci(1)",2000);}

VET_TestPlugin=function(create, axID)
{
	if(create)
	{
		var typeOfElement = "embed";
		if (VET_IE && !VET_Mac)
			typeOfElement = "object";

		if (axID == null)
			axID = VET_AxID;

		try
		{
			var vmpTestObj = document.getElementById("vmpTest");
			if (vmpTestObj == null)
			{
				var d = document.createElement("div");
				d.setAttribute("id","vmpTempDiv");
				d.setAttribute("style","position:absolute;top:1px;left:1px;z-index:1000;");
				document.body.appendChild(d);
				var strInnerHTML = "";
				if (typeOfElement == "embed")
					strInnerHTML = '<embed component="' + VET_Ic + '" componentfilename="' + VET_Sc + '" type="' + VET_Mim + '" name="vmpTest" id="vmpTest" TestOnly="true" width="2" height="2" script="true" VMPClassID="{' + axID + '}"></embed>';
				else if (typeOfElement == "object")
				{
					var ch = MTSParm("Component",VET_Ic) + MTSParm(VET_Cf,VET_Sc) + MTSParm("properties","TestOnly=true");
					strInnerHTML = MTSMarkup("object", ch, "name", "vmpTest", "id", "vmpTest", "classid", ("CLSID:" + axID), "width", 2, "height", 2);
				}

				document.getElementById('vmpTempDiv').innerHTML = strInnerHTML;
				vmpTestObj = document.getElementById('vmpTest');

				if (vmpTestObj != null)
				{
					if (VET_Win && VET_IE)
					{
						if (typeof vmpTestObj.PluginCommand == "undefined")
							vmpTestObj = null;
					}
					else
					{
						if (typeof vmpTestObj.DoCommand != "function")
                            if (VET_MacOSX && VET_Safari && !VET_CheckAgainAfterPageLoad) VET_CheckAgainAfterPageLoad = true; // dd: css issue
                            else vmpTestObj = null;
					}


					if (VET_Vista && vmpTestObj && !IsHostSupported(vmpTestObj))
					{
						vmpTestObj = null;
					}
				}
			}
		}
		catch(e)
		{
			vmpTestObj = null;
		}
		return (vmpTestObj != null);
	}
	else
	{
		if(typeof document.getElementById("vmpTempDiv") == "object")
		{
			var t = document.getElementById("vmpTempDiv");
            try
            {
                t.innerHTML = "";
                t.parentNode.removeChild(t);
            }
            catch (e)
            {
            }
		}
	}
}

IsHostSupported=function(vmpObject)
{
	if (vmpObject == null || vmpObject == "undefined")
		return false;

	if (!VET_Vista)
		return true;

	var vr = 0;
	if (VET_IE)
	{
		if (typeof vmpObject.PluginCommand != "undefined")
		{
			vr = vmpObject.PluginCommand('GetVersion(Host)', 0, 0);
			if (vr == 0)
			{
				try
				{
					var vmpObject2 = new ActiveXObject("AxMetaStream.MetaStreamCtl");
				}
				catch(e)
				{
					if (e.description.indexOf("Automation") != -1)
					{
						vmpObject2 = null;
					}
				}

				if (vmpObject2 != null)
				{
					vr = vmpObject2.PluginCommand('GetVersion(Host)',0,0);
					vmpObject2 = null;
				}
			}
			if (vr == 0)
			{
				vr = vmpObject.PluginCommand('GetVersion(SceneComponent.dll)', 0, 0);
			}
		}
	}
	else
	{
		if (typeof vmpObject.DoCommand == "function")
			vr = vmpObject.DoCommand('GetVersion(Host)');
	}

	return ((vr == "No base control") ? false : (vr >= VET_VistaHostMin));
}

VET_Np=function()
{
	var retVal = false;
	if(VET_Gecko && (document.body != null))
	{
        var found = false;
        if (VET_MacOSX && VET_Safari && typeof navigator != "undefined" && navigator.plugins)
        {
            for (var i = 0; i < navigator.plugins.length; i++)
            {
                    for (var j = 0; j < navigator.plugins[i].length; j++)
                    {
                        var mim = navigator.plugins[i][j];
                        if (mim.enabledPlugin && (mim.type == VET_Mim))
                        {
                            if (navigator.plugins[i].name.toLowerCase() != "metastream3")  // dd: here we force old mac plugin to install new one!!!
                                found = true;
                        }
                }
            }
        }

        if (!(VET_MacOSX && VET_Safari) || found)
        {
            retVal = VET_TestPlugin(true);
            if (retVal == true)
            {
                setTimeout('VET_TestPlugin(false)',500);
            }
            else
            {
                VET_TestPlugin(false);
            }
        }
	}
	else if(VET_MacOSX && VET_IE6)
	{
		retVal = false;
	}
	else
	{
		retVal = true;
	}

	return retVal;
}

VET_Ax=function()
{
	var retVal = VET_TestPlugin(true);

	if (retVal == false && VET_AltPlugin == 1)
	{
		VET_TestPlugin(false);
		retVal = VET_TestPlugin(true, VET_AxSecID);

		if (retVal)
			VET_AxID = VET_AxSecID;
	}

	VET_TestPlugin(false);
	return retVal;
}

IsMTSInstalled=VMPInstalled;

MTSPlugin.prototype.createParams=function(p)
{
	this.props="";
	var cMV="50333440",gMV="50333440",hMV="50333440",parms="";
	if(p!=null)
	{
		var xso=p.indexOf("xmltext");
		if(xso!=-1)
		{
			var op=p,xs=xso+7;
			while((xs<p.length)&&(p.substring(xs,xs+1)!="<"))
				xs++
			if(xs<p.length)
			{
				var xe = xs, xc = 0;
				while(xe<p.length)
				{
					var chr = p.substring(xe++,xe);
					if(chr == "&")
						xc = 2;
					else if(chr==";")
					{
						if(xc>0)
							xc--;
						else
						{
							xe--;
							break;
						}
					}
				}
				var xt=p.substring(xs,xe);
				parms+=AddParm("xmltext",xt);
				if(op.substring(xe,xe+1) == ";")
					xe++;
				p=op.substring(0,xso);
				if(xe<op.length-1)
					p+=op.substring(xe,op.length);
			}
		}
	}

	if(p!=null)
	{
		var tA=p.split(";");
		for(var i=0;i<tA.length;i++)
		{
			if(tA[i]!=""){var tV=tA[i].split("=");re= / /g;
				tV[0]=tV[0].replace(re,"");var tv0l=tV[0].toLowerCase();
				if(tv0l=="genieminimumversion"){tV[1]=tV[1].replace(re,"");gMV=tV[1];}
				else if(tv0l=="hostminimumversion"){tV[1]=tV[1].replace(re,"");hMV=tV[1];}
				else if(tv0l=="componentminimumversion"){tV[1]=tV[1].replace(re,"");cMV=tV[1];}
				else if(tv0l=="classid"){tV[1]=tV[1].replace(re,"");VET_AxID=tV[1];}
				else if(tv0l=="mime"){tV[1]=tV[1].replace(re,"");VET_Mim="application/x-" + tV[1];}
				else if(tv0l=="nei"){tV[1]=tV[1].replace(re,"");VET_Dv=tV[1];VET_Re=VET_Dv+'index.html?';}
				else if(tv0l=="layer"){}
				else if(tv0l=="componentname"){tV[1]=tV[1].replace(re,"");VET_Ic=tV[1];}
				else if(tv0l=="imagelink"){tV[1]=tV[1].replace(re,"");this.ImageLink=tV[1];}
				else if(tv0l=="altplugin"){tV[1]=tV[1].replace(re,"");if(tV[1]=="1"||tV[1]=='true')VET_AltPlugin=1;else VET_AltPlugin=0;}
				else if(tv0l=="basehref"){tV[1]=tV[1].replace(re,"");if(tV[1]=="1")this.props+="basehref"+"="+VET_href()+";";}
				else if(tv0l=="topurl"){tV[1]=tV[1].replace(re,"");if(VET_TopURL=="")VET_TopURL=tV[1];}
				else{var idx=1,t1=tV[idx-1],t2=tV[idx];idx++
					while(tV[idx]!=null){t2+="="+tV[idx];idx++;}
					parms+=AddParm(t1,t2);
					this.props+=t1+"="+t2+";";
				}
			}
		}
	}
	parms+=AddParm("HostMinimumVersion",hMV);
	parms+=AddParm("ComponentMinimumVersion",cMV);
	parms+=AddParm("GenieMinimumVersion",gMV);
	parms+=AddParm("VMPClassID",("{"+VET_AxID+"}"));
	parms+=AddParm("PageURL",window.location.href);
	this.props+="parentlocation="+self.location.href+";";
	this.props+="mts3interfaceversion="+VET_IfVer+";";
	this.props+="referrer="+(window.VET_Referrer?window.VET_Referrer:window.location.href)+";";
	this.props+="name="+ this.name +";";
	this.props+="starthidden=" + true +";";
	return parms;
}
AddParm=function(n,v){if(VET_IE&&VET_Win)return MTSParm(n,v);else return (n+"="+"'"+v+"' ");}
GetCookie=function(a){var e,m=" "+document.cookie+";",N=" "+a+"=",s=m.indexOf(N),r="";if(s!=-1){s+=N.length;e=m.indexOf(";",s);r=unescape(m.substring(s,e))}return r}
SetCookie=function(n,v){document.cookie=n+"="+escape(v)}
ClearCookie=function(n){var e=new Date();e.setTime(e.getTime()-(3*24*60*60*1000));document.cookie=n+"=ImOutOfHere; expires="+e.toGMTString()}
VET_href=function()
{
	if(VET_Gecko){
		var ob=document.getElementsByTagName('BASE');
		return (ob&&ob.length)?ob[0].href:"";
	}
	var t="mtsEmpty.html",d="document.",c,l;
	eval("c="+d+"links.length");
	var y="write(\"<a href='\"+t+\"'></a>\")";
	eval(d+y);
	eval("l="+d+"links[c].href");
	if(t==l)l="";
	else{var re= /mtsEmpty.html/g;
		l=l.replace(re,"");
	}
	return l;
}
MTS_IsString=function(s){if(s=="")return true;for(var i=0;i<s.length;i++){if(((s.charAt(i)<"0")||(s.charAt(i)>"9"))&&(s.charAt(i)!=".")&&(s.charAt(i)!="-"))return true}return false}
MTSWrapValue=function(v){var rs=v.toString();if(MTS_IsString(rs))rs="'"+rs+"'";return rs}

function MTSPlugin(fi,wi,hi,bk,alt,par)
{
	try
	{
		VET_TopURL = top.location.href;
	}
	catch(e) {}
	alt="popup";
	if(arguments.length>6)
		MTSConsole("Error: MTSPlugin function takes up to 6 parameters. You supplied "+arguments.length+".");
	var str="";
	var na=this.name="MetaCtl"+MTSPlugin.prototype.genid.toString();
	MTSPlugin.prototype.genid++;
	this.ImageLink = "0";
	var parms = this.createParams(par);

	var skipVMP = false;
	{
		var refURL = (document.referrer && document.referrer != null) ? document.referrer : "";
		if (refURL != "")
		{
			var refURLArray = refURL.split('&');
			if (refURLArray.length > 1)
			{
				var refURLArray2 = refURLArray[0].split('?');
				if ( (refURLArray2.length > 0) && ((refURLArray2[0] + '?') == VET_Re) && (refURLArray[1] == window.location.href))
				{
					skipVMP = true;
				}
			}
		}
	}

	if (skipVMP == true)
		return;

	IsMTSInstalled();

	if(VET_IsIn)
	{
		if(VET_Win && VET_IE)
		{
			var ch = "";
			if(fi != "")
				ch = MTSParm("Source",fi);
			ch += MTSParm("Component",VET_Ic) + MTSParm(VET_Cf,VET_Sc) + MTSParm(VET_Bk,bk);
			ch += parms;
			ch += MTSParm("properties",this.props);
			str = MTSMarkup("object",ch,"id",na,"name",na,"classid",("CLSID:"+VET_AxID),"width",wi,"height",hi/*,((MTSPlugin.prototype.genid==1)?"codebase":"dummy"),cbURL*/);
		}
		else
		{
			if(VET_Mac)
				bk = "http:/"+"/www.viewpoint.com/installer/UniversalBroadcastKey.mtx";
			str = MTSMarkup("embed","<!-- -->","component",VET_Ic,"componentfilename",VET_Sc,"source",fi,"type",VET_Mim,"width",wi,"height",hi,"script",true,"name",na,"id",na,VET_Bk,bk,"properties",this.props,"instancename",na,"PluginURL","",parms);
		}
	}
	else
	{
        MTSUnsupported();
	}

	if(str != "")
	{
		document.write(str);
		MTSConsole(str,na);
	}
}

mtsClick=function()
{
	var t = GetCookie(this.name);
	for(var i = 0; i < MTSPlugin.prototype.genid; i++)
	{
		SetCookie("MetaCtl" + i,"1");
	}
	if(t!="1")
		MTSJumpToRedirector();
}

MTSPlugin.prototype.Console=function(m){_mtsConsole(m,this.name)}
MTSPlugin.prototype.Execute=function(){return this._mtsCall.apply(this,arguments)}
MTSPlugin.prototype.SetProperty=function(n,p,v,t,o){if(arguments.length==5)return this.Execute("SetProperty",n,p,MTSWrapValue(v),t,o);else return this.Execute("SetProperty",n,p,MTSWrapValue(v),t)}
MTSPlugin.prototype.GetProperty=function(n,p,t){return this.Execute("GetProperty",n,p,t)}
MTSPlugin.prototype.TriggerAnim=function(a){return this.Execute("TriggerAnimation",VET_An(a))}
MTSPlugin.prototype.ReverseAnim=function(a){return this.Execute("ReverseAnimation",VET_An(a))}
MTSPlugin.prototype.StopAnim=function(a){return this.Execute("StopAnimation",VET_An(a))}
MTSPlugin.prototype.StartAnim=function(a){return this.Execute("StartAnimation",VET_An(a))}
MTSPlugin.prototype.ResetAnim=function(a){return this.Execute("ResetAnimation",VET_An(a))}
MTSPlugin.prototype.ToggleCollapse=function(n){this.SetProperty(n,'clps',this.GetProperty(n,'clps')==0?1:0)}
MTSPlugin.prototype.SetCollapsed=function(n,v){return this.SetProperty(VET_In(n),'clps',MTSWrapValue(v),'mts_int')}
MTSPlugin.prototype.ToggleVisible=function(n){this.SetProperty(n,'visb',this.GetProperty(n,'visb')==0?1:0)}
MTSPlugin.prototype.SetVisible=function(n,v){return this.SetProperty(VET_In(n),'visb',MTSWrapValue(v),'mts_int')}
MTSPlugin.prototype.ClearScene=function(){return this.Execute("ClearScene")}
MTSPlugin.prototype.TogglePano=function(n){this.SetProperty('MTSScene','paac',this.GetProperty('MTSScene','paac')==0?1:0)}
MTSPlugin.prototype.Render=function(){return this.Execute("Render")}
MTSPlugin.prototype.LoadMTX=function(p){return this.Execute("LoadMTX",p)}
MTSPlugin.prototype.ResetCamera=function(){this.SetProperty('MTSScene','rstc','0')}
MTSPlugin.prototype.GetVer=function(c){return this.Execute("GetVersion",c)}
MTSPlugin.prototype.GetLastErrCode=function(){return this.Execute("GetLastErrCode")}
MTSPlugin.prototype.GetLastPluginErr=function(t){return this.Execute("GetLastPluginErr",t)}
MTSPlugin.prototype.SetPluginErr=function(t,v){return this.Execute("SetPluginErr",t,v)}
MTSPlugin.prototype.GetAllPluginErrFor=function(t){return this.Execute("GetAllPluginErrFor",t)}
MTSPlugin.prototype.ClearAllPluginErrs=function(t){return this.Execute("ClearAllPluginErrs",t)}
MTSPlugin.prototype.ExecuteVETScript=function(vs){return this.Execute("VETScript(" + vs + ")")}
MTSPlugin.prototype.PostEvent=function(n,d){var a=arguments,x=d;for(var i=2;i<a.length;i++)x+=(","+arguments[i]);return this.Execute("PostEvent",n,x)}

MTSMarkup=function(tag,c){var a=arguments;
	if(a.length==0)return "";
	var i,s="<"+a[0];
	for(var i=2;i<a.length;i+=2){
		if(a[i+1]!=null)s+=(" "+a[i]+"=\'"+a[i+1]+"\'");
		else s+=" "+a[i];
	}
	s+=(c.length?(">"+c+"</"+a[0]+">"):("/>"));
	return s;
}

MTSParm=function(n,v){return MTSMarkup("param","","name",n,"value",v.toString())}

_mtsConsole=function()
{
	var a=arguments;
	var ct=a.length;
	if((VET_Dbg!=1)||(ct==0))return;
	var msg=a[0].toString();
	var pn=(ct==1)?"Default":((a[1].constructor==MTSPlugin)?a[1].name:a[1].toString());
	if(!VET_Mc){
		VET_Mc=window.open("","console","width=700,height=400,resizable,scrollbars");
		if(VET_Mc){
			if(VET_Win&&VET_IE)VET_Mc.document.write('<title>debug_output<\/title><plaintext>');
			VET_Mc.focus();
		}
	}

	if(!VET_Mc.closed)
	{
		var s=pn+"> "+msg+"\n"
		if(VET_Win&&VET_IE)VET_Mc.document.write(s)
		else{
			var re= /</g;s=s.replace(re,"&lt;");
			re= />/g;s=s.replace(re,"&gt;");
			VET_Mc.document.write("<pre>"+s+"</pre>")
		}
	}
}
VET_An=function(n){var s='MTSAnimator.';return n.indexOf(s)==0?n:s+n}
VET_In=function(n){var s='MTSInstance.';return n.indexOf(s)==0?n:s+n}

MTSPlugin.prototype._mtsCall=function(){
	var ar=arguments,c=ar.length+1,p,d='document.';
	var rg=ar[0]+'(',l=c-2,i,li=c-1,pn=this.name;
	for(var i=1;i<li;i++){rg+=ar[i];if(i<l)rg+=','}rg+=')';
	if(VET_Win&&VET_IE)p=d+'all.'+pn+'.PluginCommand(\"'+rg+'\",0,0);';
	else p=d+'embeds.'+pn+'.DoCommand(\"'+rg+'\");';
	MTSConsole(rg,pn);
	return eval(p);
}

MTSJumpToRedirector=function(){
	if(VET_Sdr<1){
		VET_Sdr++;
		var c=GetCookie("VETInstallerPopup");
		var inf=(window.location.search.indexOf("noreloadredir")!=-1);
		var e=new Date();e.setTime(e.getTime()+30000);
		if((c!=""&&c.substring(0,10)=="AutoReload")||inf){
			if((c.substring(10,17)=="Premium")||inf)
				SetCookie("VETInstallerPopup",("AutoReload; expires=" + e.toGMTString()));
			else
				ClearCookie("VETInstallerPopup");
			return;
		}
		SetCookie("VETInstallerPopup",("AutoReloadPremium; expires="+e.toGMTString()));
		var trg=VET_Re+VET_IfVer+"|frame&"+(VET_TopURL!=""?VET_TopURL:window.location.href);
		setTimeout("top.location.href='"+trg+"';",250);
		return;
	}
}

MTSUnsupported=function()
{
    if (VET_CheckAgainAfterPageLoad)
    {
        if (!VET_PageLoaded) return;
        navigator.plugins.refresh(false);
        VET_IsIn = null;
        VET_TestPlugin(false);
        if (IsMTSInstalled()) return;
    }
    MTSJumpToRedirector();
}

VET_SupportURL="https:/"+"/components.viewpoint.com/MTSInstallers/vmpSupport.js";
document.write('<script type="text/javascript" src="'+VET_SupportURL+'" id="VMPSupportLib"></script>');
