function openNewWindow( type, name ) 
{
	if ( type == 'pdf' )
	{
		var options = 'scrollbars=yes,menubar=no,height=620,width=705,resizable=yes,toolbar=no,location=no,status=no';
		var win = window.open('attorney-pdf/'+ name + '.pdf','newWindow',options);
		void (0);
	}
	if ( type == 'vcard' )
	{
		newContainer.location = 'attorney-vcard/'+ name + '.vcf';
		void (0);
	}
	if ( type == 'audio' )
	{
		newContainer.location = 'attorney-audio/'+ name + '.wma';
		void (0);
	}
	if ( type == 'print' )
	{
		var options = 'scrollbars=yes,menubar=no,height=600,width=705,resizable=yes,toolbar=no,location=no,status=no';
		var win = window.open('attorney-print/lawyer-'+ name + '.html','newWindow',options);
		void (0);
	}
}
function gup( name )
{
	name = name.replace(/[\[]/,"\\\[").replace(/[\]]/,"\\\]");
	var regexS = "[\\?&]"+name+"=([^&#]*)";
	var regex = new RegExp( regexS );
	var results = regex.exec( window.location.href );
	if( results == null )
		return "";
	else
		return results[1];
}   
