




/*
     FILE ARCHIVED ON 18:22:26 sep 20, 2007 AND RETRIEVED FROM THE
     INTERNET ARCHIVE ON 15:11:18 nov 10, 2011.
     JAVASCRIPT APPENDED BY WAYBACK MACHINE, COPYRIGHT INTERNET ARCHIVE.

     ALL OTHER CONTENT MAY ALSO BE PROTECTED BY COPYRIGHT (17 U.S.C.
     SECTION 108(a)(3)).
*/
//  Custom
function salesforce() {
    document.forms[0].action='http://web.archive.org/web/20070920182226/http://www.salesforce.com/servlet/servlet.WebToLead?encoding=UTF-8'
    document.forms[0].submit();
}

function sitestat(ns_l){ns_l+='&amp;ns__t='+(new Date()).getTime();ns_pixelUrl=ns_l;
ns_0=document.referrer;
ns_0=(ns_0.lastIndexOf('/')==ns_0.length-1)?ns_0.substring(ns_0.lastIndexOf('/'),0):ns_0;
if(ns_0.length>0)ns_l+='&amp;ns_referrer='+escape(ns_0);
if(document.images){ns_1=new Image();ns_1.src=ns_l;}else
document.write('<img src="'+ns_l+'" width="1" height="1" alt="">');}

arr = new Array(10);
var q=0;
function go(i) {
    if (q==0 && i == -1) return;
    if (q==9 && i == 1) return;
    showme(q+i);
}
function showme(m) {
    if (arr[m] == null) return;
    
    container = document.getElementById(arr[m][0]);
    if (!container) return;
    for(i=0; i<arr.length; i++) {
        if (arr[i] == null) break;
        clear = document.getElementById(arr[i][0]);
        if (clear) clear.style.display = 'none';
    }
    container.style.display='block';
    document.getElementById(arr[q][1]).className = '';
    document.getElementById(arr[q][2]).className = '';
    q = m;
    document.getElementById(arr[m][1]).className = 'current';
    document.getElementById(arr[m][2]).className = 'current';
    if (document.getElementById('range'))
        document.getElementById('range').innerHTML = arr[m][3];
}

function dopostback(k,v) {
    if (k == undefined) k = window.event.keyCode;
    if (k == 13) {
        if (window.event) window.event.keyCode=0;
        __doPostBack(v,'');
        
    }
}

function openprint(u) {
    window.open(u+'?print=1','printme','width=1000,height=800,scrollbars=yes,toolbar=no,location=no'); 
}
// END CUSTOM

// image preloading
but1_h = new Image(1,1)
but1_h.src = "/images/buttons/but1_h.gif"
but2_h = new Image(1,1)
but2_h.src = "/images/buttons/but2_h.gif"
but3_h = new Image(1,1)
but3_h.src = "/images/buttons/but3_h.gif"
but4_h = new Image(1,1)
but4_h.src = "/images/buttons/but4_h.gif"
but5_h = new Image(1,1)
but5_h.src = "/images/buttons/but5_h.gif"
but6_h = new Image(1,1)
but6_h.src = "/images/buttons/but6_h.gif"
menu_bg = new Image(1,1)
menu_bg.src = "/images/default/menu_bg.png"
menu_bg_bottom = new Image(1,1)
menu_bg_bottom.src = "/images/default/menu_bg_bottom.png"

// fancy getElementById
function findObj(n, d) {
	var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length)
	{
		d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);
	}
	if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
	for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=findObj(n,d.layers[i].document);
	if(!x && d.getElementById) x=d.getElementById(n); return x;
}

// toggle menu layer visibility
function toggle() {
	var i,p,v,obj,args=toggle.arguments;
	for (i=0; i<(args.length-2); i+=3) if ((obj=findObj(args[i]))!=null) {
		v=args[i+2];
		if (obj.style) {
			obj=obj.style; v=(v=='show')?'block':(v=='hide')?'none':v;
		}
		obj.display=v;
	}
}

// hide menu layer
function hide() {
	resetImages();
	for (i=1; i<7; i++) {
		toggle('Topnavigation1_uxSubnav'+i,'','hide');
	}
}

// swap image in navigation
function swapImage() {
	var i,j=0,x,a=swapImage.arguments; document.sr=new Array; for(i=0;i<(a.length-2);i+=3)
	if ((x=findObj(a[i]))!=null){
		document.sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];
	}
}

// return initial image
function resetImages() {
	var i,x,a=document.sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}


// collapsing list code
function showItem(n) {
	divs = document.getElementsByTagName('div');
	el_sub = document.getElementById(n + '_sub');
	for (i=0; i < divs.length; i++) {
		div = divs[i];
		if (div.className == 'child') {
			if (div == el_sub) {
				if (el_sub.style.display == 'block') {
					div.style.display = 'none';
				} else {
					div.style.display = 'block';
				}
			} else {
				if (div.parentNode.className == 'answer') div.style.display = 'none';
			}
		}
	}
	
	anchors = document.getElementsByTagName('a');
	for (i=0; i < anchors.length; i++) {
		a = anchors[i];
		if (a.className == 'currentfaq') {
			a.className = 'normal';
		}
	}
	if (el_sub.style.display == 'block') document.getElementById(n).className = 'currentfaq';
	
}
// end collapsing list code
