function showToggleBox(objId)
{
	if(!document.getElementById(objId)){return;}
	var obj = document.getElementById(objId);
	if(obj.className=="rollover hide")
		obj.className=obj.className.replace(" hide"," show");
	else
		obj.className=obj.className.replace(" show"," hide");
}

function showProductInfo(clickedObj,getIndex)
{
	var InfoArray = ["<p>LeHost Property Management system (PMS) provides managers with a unique property management system providing an environment for optimizing all business processes applying to single and multi properties operations. From reservations to customer relations, finance to front desk, housekeeping to room service, food and beverage, all daily tasks are performed within single point of user interface eliminating the need for data transfer between departments.</p> <a href='product_detail.php?f=1'>More &raquo;</a>","<p>If you’re eyeing an ease of use and flexibility in the point-of-sale (POS) software, you can rely on LeHost POS. Optimize your cash flow position by speeding up accounts receivable processes and tracking customer payment activities or increase sales process efficiencies or reduce backlog of receivables, you can now enhance your productivity at greater heights.</p> <a href='emr.php?f=1'>More &raquo;</a>","<p>Materials Management is crucial to gain better visibility on the inventory and to keep the control over the material costs. LeHost Material Management (MMS) has been built to provide inventory managers a robust tool  to tighten inventory management processes to help increase operational efficiency across your business, improve customer service, and reduce inventory and distribution costs. </p> <a href='practice.php?f=1'>More &raquo;</a>","<p>LeHost Club Membership and CRM modules give you user access to all CRM possibilities regarding managing the membership accounts, and ensure the relevant information is synchronized to the members Customer Account. The point of service interface gives access to all the functionality needed at the membership facility- from the visit tracking to A/R transactions, from view of outstanding balance to creating new memberships. </p><a href='billing.php?f=1'>More &raquo;</a>","<p>Going mobile is the mantra, especially, when it comes to sales and marketing department of your business. They are always on the move and hence LeHost Sales and Marketing provides you with a robust sales force automation and events software which can go along with them while keeping a tap on real time accessibility. It’s a highly customizable tool to align to your own sales process. </p><a href='productfive.php?f=1'>More &raquo;</a>","<p>It’s time to go the e-way with your reservations to give maximum  mobility to your customers, travel agents and other booking agencies to reserve your inventory , rooms on the go, on real-time. LeHost Central Reservations System (CRS) gives your business an unique manageability system through which your customers can book their suites, wedding halls or any inventory on the web. </p><a href='productsix.php?f=1'>More &raquo;</a>"];
	var obj= document.getElementById("productBox");
	var getAnchors = obj.getElementsByTagName("a");
	
	var indexInc = getAnchors.length-1;
	for(;indexInc>=0;indexInc--)
	{
		if(getAnchors[indexInc].className=="active")
		  getAnchors[indexInc].className = getAnchors[indexInc].className.replace("active","inactive");
	}
	
	document.getElementById("product_info").innerHTML=unescape(InfoArray[getIndex]);
	clickedObj.className="active";
}

function clearText(inputObj)
{
	if(inputObj.id=="emailid")
	{
		if(inputObj.value=="Email ID")
			inputObj.value="";	
		else
		{
			if(inputObj.value=="")
			inputObj.value="Email ID";
		}
	}
	else
	{
		if(inputObj.value=="Search")
			inputObj.value="";	
		else
		{
			if(inputObj.value=="")
			inputObj.value="Search";
		}
	}
}


var cancel_btnActive = function(textAreaMsg)
{
	if(textAreaMsg.value!="")
		document.getElementById("cancel_a").src="images/cancel_a.jpg";
	else
		document.getElementById("cancel_a").src="images/cancel_btn.jpg";	
}

