function bookmark(){

    var title="Texas Personal Injury Lawyers - Steele Law P.C."

    var url="http://www.steelelawfirm.com/"

    if (window.sidebar) window.sidebar.addPanel(title, url,"");

    else if( window.opera && window.print )

    {

    var mbm = document.createElement('a');

    mbm.setAttribute('rel','sidebar');

    mbm.setAttribute('href',url);

    mbm.setAttribute('title',title);

    mbm.click();

    }

    else if( document.all ) window.external.AddFavorite( url, title);



}



function MM_preloadImages() { //v3.0

  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();

    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)

    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}

}



preload = function() {

	MM_preloadImages('http://www.steelelawfirm.com/images/menu-roll.gif','http://www.steelelawfirm.com/images/prac.gif','http://www.steelelawfirm.com/images/prac1.gif','http://www.steelelawfirm.com/images/prac2.gif','http://www.steelelawfirm.com/images/prac3.gif','http://www.steelelawfirm.com/images/prac4.gif','http://www.steelelawfirm.com/images/prac5.gif','http://www.steelelawfirm.com/images/library-roll.jpg','http://www.steelelawfirm.com/images/after-accident-roll.jpg','http://www.steelelawfirm.com/images/representative-cases-roll.jpg','http://www.steelelawfirm.com/images/free-publications-roll.jpg','http://www.steelelawfirm.com/images/request-guide-roll.jpg','http://www.steelelawfirm.com/images/submit-button-roll.gif','http://www.steelelawfirm.com/images/reset-button-roll.gif','http://www.steelelawfirm.com/images/video-link-roll.jpg')

}



if (window.attachEvent) window.attachEvent("onload", preload);



sfHover = function() {

	var sfEls = document.getElementById("menu").getElementsByTagName("li");

	for (var i=0; i<sfEls.length; i++) {

		sfEls[i].onmouseover=function() {

			this.className+=" sfhover";

		}

		sfEls[i].onmouseout=function() {

			this.className=this.className.replace(new RegExp(" sfhover\\b"), "");

		}

	}

}

if (window.attachEvent) window.attachEvent("onload", sfHover);



var submitRolls = new Object();

var resetRolls = new Object();

function submitroll(src, oversrc, name)

{

this.src=src;

this.oversrc=oversrc;

this.name=name;

this.alt="Submit";

this.write=submitroll_write;

}



function resetroll(src, oversrc, name)

{

this.src=src;

this.oversrc=oversrc;

this.name=name;

this.alt="Reset";

this.write=resetroll_write;

}



function submitroll_write()

{

var thisform = 'document.forms[' + (document.forms.length - 1) + ']';

submitRolls[this.name] = new Object();

submitRolls[this.name].over = new Image();

submitRolls[this.name].over.src = this.oversrc;

submitRolls[this.name].out = new Image();

submitRolls[this.name].out.src = this.src;



document.write

	(

	'<A onMouseOver="if (document.images)document.images[\'' + this.name + "'].src=submitRolls['" + this.name + '\'].over.src"' + 

	' onMouseOut="if (document.images)document.images[\'' + this.name + "'].src=submitRolls['" + this.name + '\'].out.src"' + 

	' HREF="javascript:'

	);



if (this.sendfield)

	{

	if (! this.sendvalue)

		this.sendvalue = 1;

	document.write(thisform, ".elements['", this.sendfield, "'].value='", this.sendvalue, "';");

	}



document.write(thisform + '.submit();void(0);"');

if (this.msg)document.write(' onClick="return confirm(\'' , this.msg, '\')"');

document.write('>');



document.write('<IMG SRC="' + this.src + '" ALT="' + this.alt + '" BORDER=0 NAME="' + this.name + '"');

if (this.height)document.write(' HEIGHT=' + this.height);

if (this.width)document.write(' WIDTH='  + this.width);

if (this.otheratts)document.write(' ' + this.otheratts);

document.write('></A>');

if (this.sendfield)

	{

	document.write('<INPUT TYPE=HIDDEN NAME="' + this.sendfield + '">');

	document.forms[document.forms.length - 1].elements[this.sendfield].value='';

	}

}



function resetroll_write()

{

var thisform = 'document.forms[' + (document.forms.length - 1) + ']';

resetRolls[this.name] = new Object();

resetRolls[this.name].over = new Image();

resetRolls[this.name].over.src = this.oversrc;

resetRolls[this.name].out = new Image();

resetRolls[this.name].out.src = this.src;



document.write

	(

	'<A onMouseOver="if (document.images)document.images[\'' + this.name + "'].src=resetRolls['" + this.name + '\'].over.src"' + 

	' onMouseOut="if (document.images)document.images[\'' + this.name + "'].src=resetRolls['" + this.name + '\'].out.src"' + 

	' HREF="javascript:'

	);



if (this.sendfield)

	{

	if (! this.sendvalue)

		this.sendvalue = 1;

	document.write(thisform, ".elements['", this.sendfield, "'].value='", this.sendvalue, "';");

	}



document.write(thisform + '.reset();void(0);"');

if (this.msg)document.write(' onClick="return confirm(\'' , this.msg, '\')"');

document.write('>');



document.write('<IMG SRC="' + this.src + '" ALT="' + this.alt + '" BORDER=0 NAME="' + this.name + '"');

if (this.height)document.write(' HEIGHT=' + this.height);

if (this.width)document.write(' WIDTH='  + this.width);

if (this.otheratts)document.write(' ' + this.otheratts);

document.write('></A>');

if (this.sendfield)

	{

	document.write('<INPUT TYPE=HIDDEN NAME="' + this.sendfield + '">');

	document.forms[document.forms.length - 1].elements[this.sendfield].value='';

	}

}

//google analytics 062510
  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-17151995-1']);
  _gaq.push(['_trackPageview']);

  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();