// JavaScript Document
function BrowserDetect()
{
	var ua = navigator.userAgent.toLowerCase();
	this.isOpera = (ua.indexOf('opera') != -1); 
	this.isIE6_SP2 = ((ua.indexOf('windows nt 5.1; sv1;') != -1 || ua.indexOf('windows nt 5.2; sv1;') != -1) && ua.indexOf('infopath') == -1 && ua.indexOf('fdm') == -1 && ua.indexOf('ypc') == -1);
	this.isIE = (ua.indexOf('msie') != -1 && !this.isOpera && (ua.indexOf('webtv') == -1) );
	var vMinor = parseFloat(navigator.appVersion); 
	if (this.isIE && vMinor >= 4) { vMinor = parseFloat( ua.substring( ua.indexOf('msie ') + 5 ) ); }
	var vMajor = parseInt(vMinor);
	this.isWin32  = ((ua.indexOf('win') != -1) && ( ua.indexOf('95') != -1 || ua.indexOf('98') != -1 || ua.indexOf('nt') != -1 || ua.indexOf('win32') != -1 || ua.indexOf('32bit') != -1 || ua.indexOf('xp') != -1) );
	this.isIE55 = (this.isIE && vMinor == 5.5);
	this.isIE6up = (this.isIE && vMajor >= 6);
	this.isIE7up = (this.isIE && vMajor >= 7);
}
var browser = new BrowserDetect();

if(browser.isIE7up || browser.isIE6_SP2)
{
	e1 = new Image(); 
	e1.src = "https://greenbar.digicert.com/ev.gif";
}
	
if (browser.isIE7up) 
{
	e2 = new Image(); 
	e2.src = "https://assured.beacon.digicert.com/b.gif";
	e3 = new Image(); 
	e3.src = "https://global.beacon.digicert.com/b.gif";
}
if((browser.isIE55 || browser.isIE6up) && browser.isWin32)
{
	var pngAlpha = true;
}
else
{
	var pngNormal = true;
}

function od_displayImage(strId, strPath, intWidth, intHeight, strClass, strAlt)
{
	if(pngAlpha)
	{
		document.write('<div style="background: none; height:' + intHeight + 'px; width:' + intWidth + 'px; filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src=\'' + strPath + '\', sizingMethod=\'crop\')" id="' + strId + '" class="' + strClass + '"><a href="http://www.digicert.com" onclick="VerifySSL(\'00116834\',\'\'); return false;" style="background: transparent !important; position: relative;"><img src="https://www.digicert.com/images/Site-Seal-large.gif" border="0" width="' + intWidth + '" height="' + intHeight + '" style="display: inline;" /><span id="digisealvaliddate">06-30-08</span></a></div><div id="digilinkstuff" style="text-decoration: none; font-family: \'small fonts\', Arial, sans-serif; display: block; color: #423C42; background: transparent; font-weight: normal !important;">');
	}
	else
	{
		document.write('<div style="background: transparent url(' + strPath + ') no-repeat top center; position: relative;"><a href="http://www.digicert.com" onclick="VerifySSL(\'00116834\',\'\'); return false;" style="background: transparent !important;"><img src="https://www.digicert.com/images/Site-Seal-large.gif" border="0" width="' + intWidth + '" height="' + intHeight + '" style="display: inline;" /><span id="digisealvaliddate">06-30-08</span></a></div><div id="digilinkstuff" style="text-decoration: none; font-family: \'small fonts\', Arial, sans-serif; display: block; color: #423C42; background: transparent; font-weight: normal !important;"');
	}
}
function writeBeginningCode(alignz,marginz)
{
		var margin = marginz + ' ' + (alignz == 'left' || alignz == 'center' ? 'auto' : marginz) + ' ' + marginz + ' ' + (alignz == 'right' || alignz == 'center' ? 'auto' : marginz);
	document.write('<div id="digicertsitesealcode2" style="margin: ' + margin + '; position: relative; width: 81px; height: 63px;">');
}

function writeEndingCode()
{
	document.write('</div></div>');
	}

writeBeginningCode('center','0');

function addLoadEvent(func) {
  var oldonload = window.onload;
  if (typeof window.onload != 'function') {
    window.onload = func;
  } else {
    window.onload = function() {
      oldonload();
      func();
    }
  }
}

function VerifySSL(num,old)
{
	var width = 480;
	var height = 525;
	var ww = screen.width;
	var hh = screen.height;
	var left = (ww - width) / 2;
	var top = (hh - height) / 2;
	window.open('https://www.digicert.com/custsupport/sspopup.php?order_id=' + num + '&hostname=','oo',"dependent=1,height="+height+",width="+width+",left="+left+",top="+top+",location=0,menubar=0,resizable=0,scrollbars=0,status=0,toolbar=0");
	return false;
}

coderzDone = false;
function coderz()
{
		writeEndingCode();
	if(document.getElementById("digicertsitesealcode2"))
	{
		var x = document.getElementById('digicertsitesealcode2');
		x.style.display = 'block';
		x.style.lineHeight = '10px';
		x.style.background = 'transparent';
		x.style.fontSize = '8px';
		x.style.fontWeight = 'normal';
		x.style.fontFamily = "'Small Fonts', Arial, sans-serif";
		x.style.fontWeight = 'normal';
		x.style.textAlign = 'center';
		x.style.textTransform = 'uppercase';
		x.style.color = '#ffffff';
		var z = document.getElementById("digicertsitesealcode2").getElementsByTagName("A");
		for (var i=0; i < z.length; i++)
		{
			z[i].href = '#';
			if(browser.isIE)
			{
				//z[i].style.background = 'transparent';
			}
			else
			{
				z[i].style.background = 'transparent';
			}
			//z[i].style.backgroundImage = 'inherit';
			z[i].style.display = 'inline';
			z[i].style.width = 'auto';
			z[i].style.fontSize = '8px';
			z[i].style.fontWeight = 'normal';
			z[i].style.fontFamily = "'Small Fonts', Arial, sans-serif";
			z[i].style.color = '#ffffff';
			z[i].style.textDecoration = 'none';
			z[i].style.textTransform = 'uppercase';
			z[i].style.textAlign = 'center';
			z[i].onmouseover = function()
			{
				window.status='';
				return true;
			}
			z[i].onclick = function()
			{
				VerifySSL('00116834','');
				return false;
			}
			var q = z[i].getElementsByTagName("IMG");
			for(var j=0; j<q.length; j++)
			{
				q[j].style.backgroundColor = 'transparent';
			}
		}
		var q = document.getElementById('digisealvaliddate');
		if(q)
		{
			q.style.display = 'block';
			q.style.position = 'absolute';
			q.style.fontSize = '9px';
			q.style.fontFamily = "'Small Fonts', Arial, sans-serif";
						q.style.top = '35px';
			q.style.left = '33px';
			q.style.color = '#333333';
						}
		var y = document.getElementById('digilinkstuff');
		y.style.position = 'relative';
		y.style.fontWeight = 'normal';
		y.style.fontSize = '8px';
		var yy = y.getElementsByTagName("A");
				for (var i=0; i < yy.length; i++)
		{
			yy[i].style.whiteSpace = 'nowrap';
			yy[i].style.fontWeight = 'normal';
		}
				}
	coderzDone = true;
}

od_displayImage('aaaadigisealseal','https://www.digicert.com/custsupport/showsiteseal_new.php?order_id=00116834&amp;type=order&amp;seal_size=large&amp;hostaddr=&amp;order_type=ov&amp;seal_color=blue',81,63,'','');