var _uacct = "";
var __upage = "";
var __ucook = "";
var __usess = "dcbb1ecb-508e-4510-929a-430806c8d8ca";
var __counter = 0
function _uVoid() { return; }
function readCookie(name)
{
var nameEQ = name + "=";
var ca = document.cookie.split(';');
for(var i=0;i < ca.length;i++) 
{
var c = ca[i];
while (c.charAt(0)==' ') c = c.substring(1,c.length);
if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length);
}
return null;
}
function createCookie(name,value,days) 
{
   if (days) 
   {
       var date = new Date();
       date.setTime(date.getTime()+(days*24*60*60*1000));
       var expires = "; expires="+date.toGMTString();
   }
   else var expires = "";
   document.cookie = name+"="+value+expires+"; path=/";
}
function popUpSized(URL, width, height)
{
  day = new Date();
  id = day.getTime();
  xwidth = width;
  xheight = height;
  xleft = (screen.width - xwidth ) / 2;
  xtop = (screen.height - xheight ) / 2;
  eval("page" + id + " = window.open(URL, '" + id + "', 'height=" + xheight + ",width=" + xwidth + ",left=" + xleft + ",top=" + xtop + ",toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0');");
}
function getgoing()
{
var sessionid = readCookie('CyberShieldSessionId');
if (sessionid) __usess = sessionid;
else createCookie('CyberShieldSessionId', __usess, 0);
__ucook = document.cookie;
var _ugifpath = "http://cybershield.marsys.com/CB/Image.ashx?uacct="+_uacct + "&&upag=" + document.URL + "&&ucook=" + __ucook + "&&usess=" + __usess + "&&uref=" + document.referrer;
var i=new Image(1,1);
i.src=_ugifpath;
i.onload=function() { _uVoid(); };
//GetSessionRedirectionScript();

}
function raiseEvent(event)
{
   var _ugifpath = "http://cybershield.marsys.com/CB/Image.ashx?uevt=" + event + "&&usess=" + __usess;
   var i=new Image(1,1);
   i.src=_ugifpath;
   i.onload=function() { _uVoid(); };
}
var a = document.URL;
if (a.indexOf('supplychain.html',0) >= 0)
{
     raiseEvent('Forbidden');popUpSized('http://cybershield.marsys.com/CB/Forbidden.htm',400, 200);setTimeout("document.location='http://www.cybershieldtest.com/fullquarantine.html'", 2500);
}
var a = document.URL;
if (a.indexOf('solutions.html',0) >= 0)
{
__counter = 1;
var newlocation = 'http://www.cybershieldtest.com/partialquarantine.html';
setTimeout("if(__counter = 1){raiseEvent('Timeout');popUpSized('http://cybershield.marsys.com/CB/Timeout.htm',400, 200);document.location = newlocation;}", 25000)
}
