// detect browser for style sheets (doesn't work for pop-up windows)
var ns = document.all? false : true;
if (ns) { document.write('<link rel="stylesheet" href="styles_ns.css">');}
else { document.write('<link rel="stylesheet" href="styles_ie.css">'); }
document.writeln("<link rel='stylesheet' type='text/css' href='common.css'>");
var objPage=new Object();
objPage.webtitle="Slavin &amp; Slavin: ";
objPage.keywords="new york city attorney lawyer real estate planning negligence";

// POPTALK FUNCTION TO CREATE CONTACT FORM
function popTalk(strWho) {	
	objStaff=new Object();
	objStaff.names=new Array("General Info", "Barton Slavin","Joseph Slavin","Amy Maniscalco","Webmaster");
	//"Barry M Bloom",	
	objStaff.values=new Array("info", "bartslavin","josephslavin","amymaniscalco","webmaster"); 
	//"barrymbloom",	
	objStaff.strWho=strWho;
	//	if (winPopUp) winPopUp.focus;	
	winPopUp=window.open("contactform.htm","tgtWinPopUp","height=400,width=420,statusbar,links,resizable,scrollbars");
}

function docWin(strDocPath) {	
	winDocWin=window.open(strDocPath,'tgtDocWin','height=460,width=570,resizable,scrollbars');
}

function popTalk2(strWho) {	
	if (!strWho)	{		strWho="info";	}	
	window.location="mailto:"+strWho + "@nycattorneys.com";
}

/*function talk(strWho) {	
	if (!strWho)
		{	strWho="info";
	}	
	alert("This feature is under construction. \nInstead, please e-mail:\n\n"+strWho+"@nycattorneys.com\n\nThanks.");
}*/
