
    function zModule(vUrl)
    {
      var url = "http://<%=svHost%>/default.asp?vLang=EN&vCust=<%=vCust%>&vId=<%=vId%>&vQModId=" + vUrl;
      modwindow = window.open(url,'zModule','toolbar=no,width=750,height=475,left=50,top=50,status=no,scrollbars=no,resizable=no');
    }


    function fModule(vUrl)
    {
      // pass the fModule Id to Launch which will hide the Password info when it launches the window - otherwise the URL apears as title
      var url = "/Scotia/Code/Launch.asp?vModId=" + vUrl;
      modwindow = window.open(url,'fModule','toolbar=no,width=750,height=475,left=50,top=50,status=no,scrollbars=no,resizable=no');
    }


    function toggle(whichLayer)
    {
    	if (document.getElementById)
    	{
    		// this is the way the standards work
    		var style2 = document.getElementById(whichLayer).style;
    		style2.display = style2.display? "":"block";
    	}
    	else if (document.all)
    	{
    		// this is the way old msie versions work
    		var style2 = document.all[whichLayer].style;
    		style2.display = style2.display? "":"block";
    	}
    	else if (document.layers)
    	{
    		// this is the way nn4 works
    		var style2 = document.layers[whichLayer].style;
    		style2.display = style2.display? "":"block";
    	}
    }
