
// Rollover functions
function glow(x, y)
{
if( compatable ) { document.images[x].src=eval(y+'.src'); }
}


// Open external windows
function OpenMore(moreUrl,windowName) 
{
    var sWindow = window.open(moreUrl,windowName,"width=720,height=500,scrollbars=yes,left=50,top=50,screenx=50,screeny=50,resizable=no,toolbar=no,status=yes,location=no,menubar=no");
    sWindow.focus();
}


// Print current window
function printWindow(){
   bV = parseInt(navigator.appVersion)
   if (bV >= 4) window.print()
}


// Format go to output
function formatGOTO(practiceArea) {

	var paList = new Array();
	var paStr = "";
	
	paList[0] = new Array(practiceArea)
	paStr = paList[0][0];
    paStr = paStr.split(', ');
    
    targetURL = "";
	
	for (count = 0 ; count < paStr.length; count++) {
	
		targetURL = "<a href='../../cgi-bin/lm/exec/search.pl?search=1&perpage=200&sort_order=16,abc,forward&";
	
		switch (paStr[count]) {
			//update_pa_js-top
			case "Alternative Dispute Resolution": 
				document.write(targetURL + "template=h0001.html&lfield7_keyword=Alternative+Dispute+Resolution'>" + paStr[count] + "</a><br>");  break;
			case "Antitrust and Trade Regulation": 
				document.write(targetURL + "template=h0002.html&lfield7_keyword=Antitrust+and+Trade+Regulation'>" + paStr[count] + "</a><br>");  break;
			case "Attorney-Client Privilege": 
				document.write(targetURL + "template=h0007.html&lfield7_keyword=Attorney-Client+Privilege'>" + paStr[count] + "</a><br>");  break;
			case "Bankruptcy and Financial Restructuring": 
				document.write(targetURL + "template=h0038.html&lfield7_keyword=Bankruptcy+and+Financial+Restructuring'>" + paStr[count] + "</a><br>");  break;
			case "Commercial and Public Finance": 
				document.write(targetURL + "template=h0041.html&lfield7_keyword=Commercial+and+Public+Finance'>" + paStr[count] + "</a><br>");  break;
			case "Commercial and Real Estate Finance": 
				document.write(targetURL + "template=h0004.html&lfield7_keyword=Commercial+and+Real+Estate+Finance'>" + paStr[count] + "</a><br>");  break;
			case "Construction Law": 
				document.write(targetURL + "template=h0005.html&lfield7_keyword=Construction+Law'>" + paStr[count] + "</a><br>");  break;
			case "Corporate and Business Law": 
				document.write(targetURL + "template=h0008.html&lfield7_keyword=Corporate+and+Business+Law'>" + paStr[count] + "</a><br>");  break;
			case "Defamation First Amendment and Media Law": 
				document.write(targetURL + "template=h0046.html&lfield7_keyword=Defamation+First+Amendment+and+Media+Law'>" + paStr[count] + "</a><br>");  break;
			case "E-Discovery and Records Management": 
				document.write(targetURL + "template=h0043.html&lfield7_keyword=E-Discovery+and+Records+Management'>" + paStr[count] + "</a><br>");  break;
			case "Employee Benefits and Executive Compensation": 
				document.write(targetURL + "template=h0039.html&lfield7_keyword=Employee+Benefits+and+Executive+Compensation'>" + paStr[count] + "</a><br>");  break;
			case "Employee Benefits Litigation": 
				document.write(targetURL + "template=h0036.html&lfield7_keyword=Employee+Benefits+Litigation'>" + paStr[count] + "</a><br>");  break;
			case "Employment Discrimination Litigation": 
				document.write(targetURL + "template=h0035.html&lfield7_keyword=Employment+Discrimination+Litigation'>" + paStr[count] + "</a><br>");  break;
			case "Energy & Natural Resources Law": 
				document.write(targetURL + "template=h0021.html&lfield7_keyword=Energy+&+Natural+Resources+Law'>" + paStr[count] + "</a><br>");  break;
			case "Environmental Law": 
				document.write(targetURL + "template=h0009.html&lfield7_keyword=Environmental+Law'>" + paStr[count] + "</a><br>");  break;
			case "Estate Planning": 
				document.write(targetURL + "template=h0042.html&lfield7_keyword=Estate+Planning'>" + paStr[count] + "</a><br>");  break;
			case "Estates and Trusts": 
				document.write(targetURL + "template=h0010.html&lfield7_keyword=Estates+and+Trusts'>" + paStr[count] + "</a><br>");  break;
			case "Health Care Law": 
				document.write(targetURL + "template=h0011.html&lfield7_keyword=Health+Care+Law'>" + paStr[count] + "</a><br>");  break;
			case "Insurance and Reinsurance": 
				document.write(targetURL + "template=h0040.html&lfield7_keyword=Insurance+and+Reinsurance'>" + paStr[count] + "</a><br>");  break;
			case "Insurance Litigation and Regulation": 
				document.write(targetURL + "template=h0017.html&lfield7_keyword=Insurance+Litigation+and+Regulation'>" + paStr[count] + "</a><br>");  break;
			case "Intellectual Property - Biomedical Technology": 
				document.write(targetURL + "template=h0013.html&lfield7_keyword=Intellectual+Property+-+Biomedical+Technology'>" + paStr[count] + "</a><br>");  break;
			case "Intellectual Property - Licensing": 
				document.write(targetURL + "template=h0014.html&lfield7_keyword=Intellectual+Property+-+Licensing'>" + paStr[count] + "</a><br>");  break;
			case "Intellectual Property - Software": 
				document.write(targetURL + "template=h0015.html&lfield7_keyword=Intellectual+Property+-+Software'>" + paStr[count] + "</a><br>");  break;
			case "Intellectual Property - Trademark/Trade Dress": 
				document.write(targetURL + "template=h0016.html&lfield7_keyword=Intellectual+Property+-+Trademark/Trade+Dress'>" + paStr[count] + "</a><br>");  break;
			case "Intellectual Property": 
				document.write(targetURL + "template=h0012.html&lfield7_keyword=Intellectual+Property'>" + paStr[count] + "</a><br>");  break;
			case "International Law": 
				document.write(targetURL + "template=h0045.html&lfield7_keyword=International+Law'>" + paStr[count] + "</a><br>");  break;
			case "Labor and Employment Law": 
				document.write(targetURL + "template=h0018.html&lfield7_keyword=Labor+and+Employment+Law'>" + paStr[count] + "</a><br>");  break;
			case "Land Use Development and Regulatory Law": 
				document.write(targetURL + "template=h0019.html&lfield7_keyword=Land+Use+Development+and+Regulatory+Law'>" + paStr[count] + "</a><br>");  break;
			case "Litigation": 
				document.write(targetURL + "template=h0020.html&lfield7_keyword=Litigation'>" + paStr[count] + "</a><br>");  break;
			case "Municipal Law and Public Private Partnerships": 
				document.write(targetURL + "template=h0047.html&lfield7_keyword=Municipal+Law+and+Public+Private+Partnerships'>" + paStr[count] + "</a><br>");  break;
			case "Non-Competition Litigation": 
				document.write(targetURL + "template=h0034.html&lfield7_keyword=Non-Competition+Litigation'>" + paStr[count] + "</a><br>");  break;
			case "Product Liability": 
				document.write(targetURL + "template=h0022.html&lfield7_keyword=Product+Liability'>" + paStr[count] + "</a><br>");  break;
			case "Public Finance": 
				document.write(targetURL + "template=h0023.html&lfield7_keyword=Public+Finance'>" + paStr[count] + "</a><br>");  break;
			case "Real Estate Law": 
				document.write(targetURL + "template=h0024.html&lfield7_keyword=Real+Estate+Law'>" + paStr[count] + "</a><br>");  break;
			case "Real Estate Litigation": 
				document.write(targetURL + "template=h0032.html&lfield7_keyword=Real+Estate+Litigation'>" + paStr[count] + "</a><br>");  break;
			case "Securities": 
				document.write(targetURL + "template=h0025.html&lfield7_keyword=Securities'>" + paStr[count] + "</a><br>");  break;
			case "Strategic Transactions": 
				document.write(targetURL + "template=h0026.html&lfield7_keyword=Strategic+Transactions'>" + paStr[count] + "</a><br>");  break;
			case "Tax": 
				document.write(targetURL + "template=h0027.html&lfield7_keyword=Tax'>" + paStr[count] + "</a><br>");  break;
			case "Technology Law": 
				document.write(targetURL + "template=h0044.html&lfield7_keyword=Technology+Law'>" + paStr[count] + "</a><br>");  break;
			case "Technology Litigation": 
				document.write(targetURL + "template=h0003.html&lfield7_keyword=Technology+Litigation'>" + paStr[count] + "</a><br>");  break;
			case "Technology-based Business": 
				document.write(targetURL + "template=h0028.html&lfield7_keyword=Technology-based+Business'>" + paStr[count] + "</a><br>");  break;
			case "Title Insurance": 
				document.write(targetURL + "template=h0006.html&lfield7_keyword=Title+Insurance'>" + paStr[count] + "</a><br>");  break;
			case "Toxic Torts": 
				document.write(targetURL + "template=h0029.html&lfield7_keyword=Toxic+Torts'>" + paStr[count] + "</a><br>");  break;
			case "Trade Secrets and Unfair Competition Litigation": 
				document.write(targetURL + "template=h0033.html&lfield7_keyword=Trade+Secrets+and+Unfair+Competition+Litigation'>" + paStr[count] + "</a><br>");  break;
			case "Transportation and Logistics": 
				document.write(targetURL + "template=h0030.html&lfield7_keyword=Transportation+and+Logistics'>" + paStr[count] + "</a><br>");  break;
			case "White Collar Criminal Defense - Internal Investigations": 
				document.write(targetURL + "template=h0037.html&lfield7_keyword=White+Collar+Criminal+Defense+-+Internal+Investigations'>" + paStr[count] + "</a><br>");  break;
			case "Wrongful Termination and Workplace Harassment": 
				document.write(targetURL + "template=h0031.html&lfield7_keyword=Wrongful+Termination+and+Workplace+Harassment'>" + paStr[count] + "</a><br>");  break;
			
			
			
			
			
			
			//update_pa_js-bottom
			default:
				targetURL = "<a href='../the_law.html'>";
				document.write(targetURL + paStr[count] + "</a><br>");  break;
		}
		
	}

}