// JavaScript Document
/*
function DoThwate() {
	if (location.protocol.indexOf("https")==0) {
		new Ajax.Updater("ThawteDiv", "/js/effects/ThwateAjax.html", {evalScripts:true} );
	}
}
setTimeout("DoThwate()", 1000);
*/
function WriteThwateCode(sDiv) {
	Element.hide(sDiv);
	if (location.protocol.indexOf("https")==0) {
		//document.write("<scr" + "ipt src='https://siteseal.thawte.com/cgi/server/thawte_seal_generator.exe'></scr" + "ipt>");
		//setTimeout("$('"+sDiv+"').innerHTML = \"<scr\" + \"ipt src='https://siteseal.thawte.com/cgi/server/thawte_seal_generator.exe'></scr\" + \"ipt>\";", 1000);
		//new Ajax.Updater(sDiv, "https://siteseal.thawte.com/cgi/server/thawte_seal_generator.exe", {evalScripts:true} );
				
		$(sDiv).innerHTML = "<div style='margin-right:6px; margin-left:4px; text-align:center;'><a href=# onclick='OpenCertDetails(); return false;' style='text-decoration:none;'><img src='/img/thawte-secure-shopping.gif' alt='Thawte Secure Shopping' width='118' height='41' border=0/><br><span class='Text_small'>Thawte Trusted<br>Site (click...)</span></a></div>";		
		// <img src='/img/icons/lock-and-key-w.jpg' border=0>
	} else {
		$(sDiv).innerHTML = "<div style='margin-right:6px; margin-left:4px; text-align:center;'><img src='/img/thawte-secure-shopping.gif' alt='Thawte Secure Shopping' width='118' height='41' /></div>";
	}
	new Effect.Appear(sDiv, {duration:2});
}


function OpenCertDetails()
{
	thewindow = window.open('https://www.thawte.com/cgi/server/certdetails.exe?code=UKDREA1-2', 'anew', config='height=400,width=520,toolbar=no,menubar=no,scrollbars=yes,resizable=no,location=no,directories=no,status=yes');
}

