/* VeriSign Homepage Scripts */
/***********************************************
* ProHTML Ticker script- � Dynamic Drive (www.dynamicdrive.com)
* This notice must stay intact for use
* Visit http://www.dynamicdrive.com/ for full source code
***********************************************/
/*******************************
All Products Flyout Javascript
*******************************/
var ns=(document.layers);
var ie=(document.all);
var w3=(document.getElementById && !ie);
function initMenu()
{
if(!ns && !ie && !w3) return;
if(ie)
adDiv=eval('document.all.apfly.style');
else if(ns)
adDiv=eval('document.layers["apfly"]');
else if(w3)
adDiv=eval('document.getElementById("apfly").style');
if (ie||w3)
adDiv.visibility="visible";
else
adDiv.visibility ="show";
}
function closeMenu()
{
if (ie||w3)
adDiv.display="none";
else
adDiv.visibility ="hide";
}
function openlm(identifier,type){
if(identifier=="apfly"){
outer="outer"+identifier;
} else return;
document.getElementById(identifier).style.position = 'absolute';
document.getElementById(identifier).style.display = 'inline';
if(type=='on')
document.getElementById(identifier).style.visibility="visible";
else
document.getElementById(identifier).style.visibility="hidden";
return false;
}
function delayClose(id){
setTimeout(openlm(id, 'off'), 3000);
}
/***************************
Customers Logo Scroller US
***************************/
//Getting hostname and port to prepend to image paths for countries other than CH using this script.
var str_host = "";
if (window.location.href.indexOf("verisign.ch") == -1)
{
str_host = window.location.protocol + "//www.verisign.ch";
}
var img1=new Image()
img1.src=str_host+"/hp07/i/logo4.gif"
var img2=new Image()
img2.src=str_host+"/hp07/i/logo5.gif"
var img3=new Image()
img3.src=str_host+"/hp07/i/logo7.gif"
var img4=new Image()
img4.src=str_host+"/hp07/i/logo8.gif"
var img5=new Image()
img5.src=str_host+"/hp07/i/cdiscount_logo.jpg"
var img6=new Image()
img6.src=str_host+"/images/logos/Addison.gif"
var img7=new Image()
img7.src=str_host+"/images/logos/Banco-Indusval_logo.gif"
var step=1;
var wimage=1;
function scrIt(){
if(!document.images)
return
document.images.customers.src=eval("img"+step+".src")
wimage=step
if(step<7)
step++
else
step=1
setTimeout("scrIt()",5000)
}
if (window.addEventListener)
window.addEventListener("load", scrIt, false)
else if (window.attachEvent)
window.attachEvent("onload", scrIt)
function slidelink(){
if (wimage==1)
linkPopUp(str_host+'/static/019968.pdf');
else if (wimage==2)
window.location = str_host+'/success-stories/ssl/opodo.html';
else if (wimage==3)
window.location = str_host+'/success-stories/ssl/postbank.html';
else if (wimage==4)
window.location = str_host+'/success-stories/ssl/interflora.html';
//else if (wimage==5)
// linkPopUp(str_host+'/static/039244.pdf');
else if (wimage==5)
linkPopUp(str_host+'/success-stories/ssl/cdiscount.html');
else if (wimage==6)
linkPopUp('//www.verisign.co.uk/static/040445.pdf');
else if (wimage==7)
linkPopUp(str_host+'/static/indusval-bank.pdf');
}
function VM_Generateobj(objAttrs, params, embedAttrs)
{
var str = '';
document.write(str);
}
function VM_EmbedFlash(){
var ret =
VM_GetArgs
( arguments, "movie", "clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
, "application/x-shockwave-flash"
);
VM_Generateobj(ret.objAttrs, ret.params, ret.embedAttrs);
}
function VM_GetArgs(args, srcParamName, classid, mimeType){
var ret = new Object();
ret.embedAttrs = new Object();
ret.params = new Object();
ret.objAttrs = new Object();
for (var i=0; i < args.length; i=i+2){
var currArg = args[i].toLowerCase();
switch (currArg){
case "classid":
break;
case "pluginspage":
ret.embedAttrs[args[i]] = args[i+1];
break;
case "src":
case "movie":
ret.embedAttrs["src"] = args[i+1];
ret.params[srcParamName] = args[i+1];
break;
case "onafterupdate":
case "onbeforeupdate":
case "onblur":
case "oncellchange":
case "onclick":
case "ondblClick":
case "ondrag":
case "ondragend":
case "ondragenter":
case "ondragleave":
case "ondragover":
case "ondrop":
case "onfinish":
case "onfocus":
case "onhelp":
case "onmousedown":
case "onmouseup":
case "onmouseover":
case "onmousemove":
case "onmouseout":
case "onkeypress":
case "onkeydown":
case "onkeyup":
case "onload":
case "onlosecapture":
case "onpropertychange":
case "onreadystatechange":
case "onrowsdelete":
case "onrowenter":
case "onrowexit":
case "onrowsinserted":
case "onstart":
case "onscroll":
case "onbeforeeditfocus":
case "onactivate":
case "onbeforedeactivate":
case "ondeactivate":
case "type":
case "codebase":
ret.objAttrs[args[i]] = args[i+1];
break;
case "width":
case "height":
case "align":
case "vspace":
case "hspace":
case "class":
case "title":
case "accesskey":
case "name":
case "id":
case "tabindex":
ret.embedAttrs[args[i]] = ret.objAttrs[args[i]] = args[i+1];
break;
default:
ret.embedAttrs[args[i]] = ret.params[args[i]] = args[i+1];
}
}
ret.objAttrs["classid"] = classid;
if (mimeType) ret.embedAttrs["type"] = mimeType;
return ret;
}
function linkPopUp(url) {
popupWin = window.open(url, 'pdfWin', 'width=800,height=575,top=150,left=150,resizable,scrollbars,location,menubar,toolbar');
}
function linkPop() {
var exturlPresent;
var siteName=document.links[0].hostname;
for(i=0;i0 || impactPresent>0){
document.links[i].href = 'javascript:linkPopUp("' + document.links[i].href + '")';
}
//code for pdf
var pdfPresent=linkList.indexOf(".pdf");
if (pdfPresent>0){
document.links[i].href = 'javascript:linkPopUp("' + document.links[i].href + '")';
}
//end code for pdf
}
}