<!--
// JavaScript Document

function prodMenuCellMouseOver(td) {
	td.style.backgroundColor = '#ffedcc';
}

function prodMenuCellMouseOut(td) {
	td.style.backgroundColor = '#c9d6eE';
}

function xprodMenuCellClick(url, windowName) {
	winType = typeof windowName;
	if (winType == 'undefined') {
		location = url;
	} else {
		window.open(url, windowName, 'menubar=no,toolbar=no,location=no,scrollbars=yes,resizable=yes,width=800,height=600)');
	}
}

function prodMenuCellClick(url, windowName, winwidth, winheight) {
	winType = typeof windowName;
	if (winType == 'undefined') {
		location = url;
	} else {
		wtype = typeof winwidth;
		htype = typeof winheight;
		size = 'width=800,height=600)';
		if (wtype == 'undefined' || htype == 'undefined') {
			size = 'width=800,height=600)';
		} else {
			size = 'width=' + winwidth + ',height=' + winheight + ')';
		}
		window.open(url, windowName, 'menubar=no,toolbar=no,location=no,scrollbars=yes,resizable=yes,' + size);
	}
}

function showTpfgiDemo(demoFileName) {
  window.open('/products/tpfgi/demos/' + demoFileName, 'demoWindow', 'dependent=yes,menubar=no,toolbar=no,location=no,scrollbars=no,resizable=yes,width=820,height=620');
}

function showTtfsPresentation() {
  window.open('/products/ttfs/ttfs-05a.html', 'ttfsWindow', 'dependent=yes,menubar=no,toolbar=no,location=no,scrollbars=no,resizable=yes,width=610,height=500');
}

function showZtpfgiDemo(demoFileName) {
  window.open('/products/ztpfgi/demos/' + demoFileName, 'demoWindow', 'dependent=yes,menubar=no,toolbar=no,location=no,scrollbars=no,resizable=yes,width=820,height=620');
}

function createEmailAddr(name, domainName, domainType, params, caption, atImgPath, dotImgPath){
	var at = '@';
	var dot = '.';
	var imgAt = '';
	var imgDot = '';
	
	var text = '<a href="Javascript:at=\'' + at + '\';dot=\'' + dot + '\';';
	text = text + 'window.location=\'ma\'+\'ilto:\'+\'' + name + '\'+at+';
	text = text + '\'' + domainName + '\'' + '+dot+' + '\'' + domainType + '\';">';	
		
	if(caption == ''){
		if(atImgPath != ''){
			imgAt = '<img class="email_image" style="border: 0; vertical-align: middle;" src="' + atImgPath + '" />';
		} 
		if(dotImgPath != ''){
			imgDot = '<img class="email_image" style="border: 0; vertical-align: middle;" src="' + dotImgPath + '" />';
		} 
	}
	
	if(imgAt != ''){
		caption = name + imgAt + domainName;
	}
	else {
		caption = name + at + domainName;
	}
	
	if(imgDot != ''){
		caption = caption + imgDot + domainType;
	}
	else {
		caption = caption + dot + domainType;
	}
		
	text = text + caption + '</a>'; 
	return(text);
}

function submitClicked(form) {
	form.submit();
}
-->