<!---
/* CODE FOR DATE AND TIME */
d = new Date();
day = d.getDate();
month = d.getMonth()+1;
year = d.getFullYear();
full = month + "." + day + "." + year;

var pics = 8;
var today = new Date();
var thisHour = today.getSeconds();
var tempVar = thisHour % pics;
var randValue = ++tempVar;

function randomPicPeople()
{
	var imgWidth = "240";
	var imgHeight = "139";
	var altTag = "\"A History Of Helping People\"";
	var domain = "http://www.northdakotapersonalinjurylawyers.com/";
	var imgArray = new Array("images/homepic_people1.jpg","images/homepic_people2.jpg","images/homepic_people3.jpg","images/homepic_people4.jpg","images/homepic_people5.jpg","images/homepic_people6.jpg","images/homepic_people7.jpg","images/homepic_people8.jpg");
	//var imgHrefArray = new Array("#","#","#","#","#","#","#","#");
	var imgTag = "<img src="+domain+imgArray[randValue-1]+" width="+imgWidth+" height="+imgHeight+" alt="+altTag+" border=0  />";

	document.write(imgTag);
}

function randomPicSpec()
{
	var imgWidth = "298";
	var imgHeight = "283";
	var altTag = "\"Special Focus Area: Click here for more information\"";
	var domain = "http://www.northdakotapersonalinjurylawyers.com/";
	var imgArray = new Array("images/homepic_personalinjury.jpg","images/homepic_autoaccidents.jpg","images/homepic_truckingaccidents.jpg","images/homepic_braininjury.jpg","images/homepic_farmaccidents.jpg","images/homepic_defectiveproducts.jpg","images/homepic_dangerousbuildings.jpg","images/homepic_nursinghome.jpg");
	var imgHrefArray = new Array("wrongful_death.html","motor_vehicle_accidents.html","trucking_accidents.html","TBI_traumatic_brain_injury.html","farm_construction_accidents.html","dangerous_defective_products.html","premises_liability_building.html","nursing_home_neglect.html");
	var imgTag = "<a href="+imgHrefArray[randValue-1]+"><img src="+domain+imgArray[randValue-1]+" width="+imgWidth+" height="+imgHeight+" alt="+altTag+" border=0  /></a>";

	document.write(imgTag);
}

//-->
