function fnRedirect(selectFrm){var tagName=document.getElementById(selectFrm);var OptionData=tagName.options[tagName.selectedIndex].text;if(selectFrm=='fea')
{if(OptionData=='Sales Force Automation')
window.location.href='sales-force-automation.html';if(OptionData=='Web Forms')
window.location.href='web-forms.html';if(OptionData=='Marketing Automation')
window.location.href='marketing-automation.html';if(OptionData=='Customer Support & Service')
window.location.href='customer-support.html';if(OptionData=='Inventory Management')
window.location.href='crm-email.html';if(OptionData=='CRM with Email')
window.location.href='order-management.html';if(OptionData=='Reports & Dashboards')
window.location.href='reports-dashboards.html';if(OptionData=='Workflow Management')
window.location.href='workflow-rules.html';if(OptionData=='Role-based Security')
window.location.href='role-based-security.html';if(OptionData=='Zoho CRM Plug-in for MS Outlook')
window.location.href='outlook-edition.html';if(OptionData=='Zoho CRM Plug-in for MS Office')
window.location.href='office-plug-in.html';if(OptionData=='API for Third-party Integration')
window.location.href='http://zohocrm.wiki.zoho.com/Zoho-CRM-API.html';}
if(selectFrm=='support')
{if(OptionData=='Request Support')
window.location.href='request-support.html';if(OptionData=='Need Features')
window.location.href='need-features.html';if(OptionData=='User Forums')
window.location.href='http://forums.zohocrm.com';if(OptionData=='Testimonials')
window.location.href='testimonials.html';if(OptionData=='Documentation')
window.location.href='documents.html';}}
function zohocrmimagepopup(imageurl,pagetitle,popupwidth,popupheight){var windowid=window.open('about:blank','','width='+popupwidth+',height='+popupheight);var documentwindow=windowid.document;documentwindow.writeln('<html><head><title>'+pagetitle+'</title>');documentwindow.writeln('</head><body>');documentwindow.writeln("<img src='"+imageurl+"'/>");documentwindow.writeln('</body></html>');documentwindow.close();}


<!--Tab menu and popup->
	var prev="tab1";
	var paId="anc1";
	function showTab(tabId,aId)
	{
		if(prev!='')
		{
			var pObj = document.getElementById(prev);
			var pObjlnk = document.getElementById(paId);
			pObj.style.display = "none";
			pObjlnk.className = "";
		}
		var cntObj = document.getElementById(tabId);
		var aObj = document.getElementById(aId);
		cntObj.style.display = "";
		aObj.className = "active";
		prev = tabId;
		paId = aId;

	}
	
	var prevId ="";
	function showPopup(divId,x,y){
	 document.getElementById('bg').style.display = "block";
	 var sw = (window.screen.availWidth/2)-230;
	 var sh = (window.screen.availHeight/2)-200;
	 var obj = document.getElementById(divId);
	if(prevId!="")
	{
		var pobj = document.getElementById(prevId);
		pobj.style.display = "none";
	}
	obj.style.display = "";
	obj.style.left = sw+"px";
	obj.style.top = sh+"px";
	prevId = divId;
}

	function closePopup(divid){
		var obj = document.getElementById(divid);
		obj.style.display = "none";
		document.getElementById('bg').style.display = "none";
}
	function showPopup1(furl)
	{
		document.personalizeddemo.returnURL.value=furl;
		showPopup("adm");
	}
	
<!--Tab menu and popup->

