
/* 
image swap
*/
function newImage(arg) {
	if (document.images) {
		rslt = new Image();
		rslt.src = arg;
		return rslt;
	}
}

function changeImages() {
	if (document.images && (preloadFlag == true)) {
		for (var i=0; i<changeImages.arguments.length; i+=2) {
			document[changeImages.arguments[i]].src = changeImages.arguments[i+1];
		}
	}
}

var preloadFlag = false;
function preloadImages() {
	if (document.images) {
		home_over = newImage("images/home-over.gif");
		about_over = newImage("images/about-over.gif");
		practice_over = newImage("images/practice-over.gif");
		attorney_over = newImage("images/attorney-over.gif");
		search_over = newImage("images/search-over.gif");
		news_over = newImage("images/news-over.gif");
		seminar_over = newImage("images/seminar-over.gif");
		recruting_over = newImage("images/recruting-over.gif");
		contact_over = newImage("images/contact-over.gif");
		preloadFlag = true;
	}
}


<!--
function reDo(){ window.location.reload() }
window.onresize = reDo;
//-->




/****************************************************
pop-up script
****************************************************/
var win=null;
function NewWindow(mypage,myname,w,h,scroll,pos){
if(pos=="random"){LeftPosition=(screen.width)?Math.floor(Math.random()*(screen.width-w)):100;TopPosition=(screen.height)?Math.floor(Math.random()*((screen.height-h)-75)):100;}
if(pos=="center"){LeftPosition=(screen.width)?(screen.width-w)/2:100;TopPosition=(screen.height)?(screen.height-h)/2:100;}
else if((pos!="center" && pos!="random") || pos==null){LeftPosition=0;TopPosition=20}
settings='width='+w+',height='+h+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',location=no,directories=no,status=no,menubar=no,toolbar=no,resizable=no';
win=window.open(mypage,myname,settings);}
// -->


<!--
function cOn(TR){
if(document.getElementById||(document.all && !(document.getElementById))){
TR.style.backgroundColor="#996666";
}
}

function cOut(TR){
if(document.getElementById||(document.all && !(document.getElementById))){
TR.style.backgroundColor="#640722";
}
}
//-->

<!--
function cOn2(TD){
if(document.getElementById||(document.all && !(document.getElementById))){
TD.style.backgroundColor="#8F636D";
}
}

function cOut2(TD){
if(document.getElementById||(document.all && !(document.getElementById))){
TD.style.backgroundColor="#640722";
}
}
//-->

var ns4class=''


<!-- Begin
function formHandler(form){
var URL = document.form.mysearchcategory.options
[document.form.mysearchcategory.selectedIndex].value;
window.location.href = URL;
}
// End -->

<!-- Begin
function formHandler2(form2){
var URL = document.form2.mythispractice.options
[document.form2.mythispractice.selectedIndex].value;
window.location.href = URL;
}
// End -->


<!-- Begin
function formHandler3(form3){
var URL = document.form3.mysearchcategory.options
[document.form3.mysearchcategory.selectedIndex].value;
window.location.href = URL;
}
// End -->

<!-- Begin
function formHandler4(form4){
var URL = document.form4.mythisoffice.options
[document.form4.mythisoffice.selectedIndex].value;
window.location.href = URL;
}
// End -->


<!--
function targetopener(mylink, closeme, closeonly)
{
if (! (window.focus && window.opener))return true;
window.opener.focus();
if (! closeonly)window.opener.location.href=mylink.href;
if (closeme)window.close();
return false;
}
//-->

<!-- Begin
function MyformHandler(form){var URL = document.form.Wfile2.options[document.form.Wfile2.selectedIndex].value;window.location.href = URL;}
// End -->

<!-- Begin
function formPhotoPopup(form) {
var windowprops = "height=175,width=140,location=no,scrollbars=no,menubars=no,toolbars=no,resizable=yes,top=260,left=0";

var URL = form.att_picname2.options[form.att_picname2.selectedIndex].value;
popup = window.open(URL,"PhotoPopup",windowprops);
}
// End -->


<!--
function canManipulateImages() {
	if (document.images)
		return true;
	else
		return false;
}
function loadPosterImage(imageURL) {
	if (gImageCapableBrowser) {
		document.imagePoster.src = imageURL;
		return false;
	}
	else {
		return true;
	}
}
gImageCapableBrowser = canManipulateImages();
// -->

