﻿function fSwapColour(inTable)//,inRow2,inRow3,inRow4)
{
	//Mozilla(Gecko)
	document.getElementById(inTable).style.opacity=.75;
	//IE
	document.getElementById(inTable).style.filter= "alpha(opacity=75)";
	document.getElementById(inTable).style.cursor="pointer";

	return false;

}

function fUnSwapColour(inTable) //,inRow2,inRow3,inRow4)
{
	document.getElementById(inTable).style.opacity=1;
	document.getElementById(inTable).style.filter="alpha(opacity=100)"
	
	return false;

}

function fToServices()
{
	window.location="Services.aspx";
}
function fToPharmacy()
{
	window.location="http://www.rx-vantage.com";
}
function fToAppDev()
{
	window.location="Development.aspx";
}
function fToIndustries()
{
	window.location="Industries.aspx";
}

//function fToPartners()
//{
//	window.location="Partners.aspx";
//}

function fExternalLinkWindow(webAddress) {
	//KB: Reusable for any external link or document
	extWindow = window.open(webAddress, 'externalLink');
	//extWindow.resizeTo((screen.availWidth - 150),(screen.availHeight - 150));
	//extWindow.pixelHeight(screen.availHeight - 150);
	//extWindow.pixelWidth(screen.availWidth - 150);
	//extWindow.moveTo(20,20);
	extWindow.focus();
}

