<!-- //Hide script from old browsers
function SwapImage(pImage, pSrc) {
	var objStr,obj;
	// Check to make sure that images are supported in the DOM.
	if(document.images) {
		// Check to see whether you are using a name, number, or object
		if (typeof(pImage) == 'string') {
			// objStr is here solely to gain compatability
			// with ie3 for the mac.
			objStr = 'document.' + pImage;
			obj = eval(objStr);
			obj.src = pSrc;
		} 
		else if ((typeof(pImage) == 'object') && pImage && pImage.src) {
			pImage.src = pSrc;
		}
	}
}

function preloadImages(pImages) {
    for(loop = 0; loop < pImages.length; loop++) {
	    var vImage = new Image();
    	vImage.src = pImages[loop];
    }
}

function doPreload(pLang) {
	var vImages = new Array("tab-on-1-" + pLang + ".gif", "tab-on-2-" + pLang + ".gif", "tab-on-3-" + pLang + ".gif", "tab-on-4-" + pLang + ".gif", "tab-on-5-" + pLang + ".gif",
		"tab-on-6-" + pLang + ".gif", "tab-off-1-" + pLang + ".gif", "tab-off-2-" + pLang + ".gif", "tab-off-3-" + pLang + ".gif", "tab-off-4-" + pLang + ".gif", "tab-off-5-" + pLang + ".gif", "tab-off-6-" + pLang + ".gif");
	preloadImages(vImages);
}

// End the hiding -->
