function UADetect(){
var a = navigator.userAgent.toLowerCase();
this.isOpera = (a.indexOf('opera') != -1);
var IE = (a.indexOf('msie') != -1 && !this.isOpera && (a.indexOf('webtv') == -1) );
this.IE = IE;
var vMin=parseFloat(navigator.appVersion);
if (IE && vMin >= 4){vMin=parseFloat(a.substring(a.indexOf('msie ') + 5 ) ); }
var vMaj=parseInt(vMin);
this.isWin32=((a.indexOf('win') != -1) && ( a.indexOf('95') != -1 || a.indexOf('98') != -1 || a.indexOf('nt') != -1 || a.indexOf('win32') != -1 || a.indexOf('32bit') != -1 || a.indexOf('xp') != -1) );
this.IE55=(IE && vMin == 5.5);
this.IE6up=(IE && vMaj >= 6);
this.IE7up=(IE && vMaj >= 7);
this.isWin2003=(a.indexOf('windows nt 5.2') != -1);
this.doctype='trans';
if(IE && vMaj >= 8){
this.IE8t=(document.documentMode >= '8')
var nv=document.all[0].nodeValue;
if(nv && nv.indexOf('Strict')!= -1 && nv.indexOf('XHTML')!= -1){this.doctype='strict';}
}
}
var _u=new UADetect();
if(_u.IE7up && !_u.isWin2003)
{
e1=new Image();e1.src="https://extended-validation.beacon.digicert.com/ev.gif";
e3=new Image();e3.src="https://global-root.beacon.digicert.com/b.gif";
}
if((_u.IE55||_u.IE6up) && _u.isWin32){var pngA=true;}
function od_displayImage(strId, strPath, intWidth, intHeight, strClass, strAlt)
{
if(pngA)
{
document.write('
');
}
else
{
document.write('
');
}
}
function writeBeginningCode(alignz,marginz)
{
var margin=marginz + ' ' + (alignz == 'left' || alignz == 'center' ? 'auto' : marginz) + ' ' + marginz + ' ' + (alignz == 'right' || alignz == 'center' ? 'auto' : marginz);
document.write('
');
}
function writeEndingCode()
{
document.write('
');
}
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=490;
var height=550;
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=http%3A%2F%2Fwww1.thebrick.com','oo',"dependent=1,height="+height+",width="+width+",left="+left+",top="+top+",location=0,menubar=0,resizable=1,scrollbars=yes,status=0,toolbar=0");
return false;
}
coderzDone=false;
function coderz()
{
writeEndingCode();
if(document.getElementById("digicertsitesealcode2small"))
{
var x=document.getElementById('digicertsitesealcode2small');
x.style.display='block';
x.style.lineHeight='10px';
x.style.background='transparent';
x.style.fontSize='9px';
x.style.fontWeight='normal';
x.style.fontFamily="Arial, sans-serif";
x.style.fontWeight='normal';
x.style.textAlign='center';
x.style.textTransform='uppercase';
x.style.color='#FFF';
var z=document.getElementById("digicertsitesealcode2small").getElementsByTagName("A");
for (var i=0; i < z.length; i++)
{
z[i].target='_blank';
z[i].style.padding='0';
z[i].style.margin='0';
if(_u.IE)
{
// Nothing
}
else
{
z[i].style.background='transparent';
}
z[i].style.display='inline';
z[i].style.width='auto';
z[i].style.fontSize='9px';
z[i].style.fontWeight='normal';
z[i].style.fontFamily="Arial, sans-serif";
z[i].style.color='#FFF';
z[i].style.textDecoration='none';
z[i].style.textTransform='uppercase';
z[i].style.textTransform='lowercase';
z[i].style.textAlign='center';
z[i].onmouseover=function()
{
window.status='';
return true;
}
var q=z[i].getElementsByTagName("IMG");
for(var j=0; j
/i,'');
var t=document.createElement('div');
t.id='rotateContainer';
document.getElementById("digicertsitesealcode2small").appendChild(t);
t.style.position='absolute';
t.style.top='22px';
t.style.left='0';
t.style.color='#FFF';
t.style.width='69px';
t.style.textAlign='center';
var t2=document.createElement('div');
t2.id='linkContainer';
t.appendChild(t2);
t2.innerHTML=linkcode;
t2.style.textTransform='lowercase';
t2.style.marginRight='1px';
var t3=document.createElement('div');
t3.id='dateContainer';
t.appendChild(t3);
t3.innerHTML=datecode;
t3.style.textAlign='left';
t3.style.color='#FFF';
t3.style.fontSize='9px';
t3.style.fontFamily="Arial, sans-serif";
if(pngA)
{
//
t3.style.background='none';
t3.style.width='62px';
t3.style.filter="progid:DXImageTransform.Microsoft.AlphaImageLoader(src='https://www.digicert.com/images/seals/ov-small-lock2.png', sizingMethod='crop')";
t3.style.padding='0 0 0 10px';
t3.style.margin='0 0 0 7px';
}
else
{
t3.style.background='transparent url(https://www.digicert.com/images/seals/ov-small-lock.png) no-repeat 7px 0';
t3.style.padding='1px 0 0 17px';
}
t3.style.display='none';
q.style.display='none';
y.style.display='none';
var c=1;
function scrivi()
{
if(c == 0)
{
t2.style.display='block';
t3.style.display='none';
}
else
{
t2.style.display='none';
t3.style.display='block';
}
c++;
if(c > 1)
{
c=0;
}
}
function rotateText(interv)
{
id=setInterval(scrivi,interv);
}
rotateText(7000);
}
coderzDone=true;
}
od_displayImage('aaaadigisealseal','https://www.digicert.com/custsupport/showsiteseal_new.php?order_id=00139529&type=order&seal_size=small&hostaddr=http%3A%2F%2Fwww1.thebrick.com&order_type=&seal_color=blue&newsmall=1',69,35,'','');