<!--

var myPlatform=navigator.platform.substr(0,3);
if (myPlatform=="Mac") {
     document.write("<link rel=\"stylesheet\" href=\"js_bin/mcclayalton_mac.css\" type=\"text/css\">");
}
else {
     document.write("<link rel=\"stylesheet\" href=\"js_bin/mcclayalton_win.css\" type=\"text/css\">");
}

var object=new Array();

object['firm']= new objectdata(105,30,"imgs/firm_o.gif","imgs/firm.gif","Firm Overview");
object['profiles']= new objectdata(118,30,"imgs/profiles_o.gif","imgs/profiles.gif","Attorney Profiles");
object['areas']= new objectdata(104,30,"imgs/areas_o.gif","imgs/areas.gif","Practice Areas");
object['clients']= new objectdata(57,30,"imgs/clients_o.gif","imgs/clients.gif","Clients");
object['affiliations']= new objectdata(83,30,"imgs/affiliations_o.gif","imgs/affiliations.gif","Affiliations");
object['credits']= new objectdata(250,15,"imgs/credits_o.gif","imgs/credits.gif","http://www.webstrim.com/");

function objectdata(hsize,vsize,imgovr,imgout,msg) {
		this.img_ovr=new Image(hsize,vsize);
		this.img_ovr.src=imgovr;
		this.img_out=new Image(hsize,vsize);
		this.img_out.src=imgout;
		this.msg=msg;
}

function m_ovr(name) {
		window.status=object[name].msg;
		document.getElementById(name).src=object[name].img_ovr.src;
//		document[name].src=object[name].img_ovr.src;
//      and change "id" for "name" in the <img src> tag of the source file
}

function m_out(name) {
		window.status="";
        document.getElementById(name).src=object[name].img_out.src;
//		document[name].src=object[name].img_out.src;
}

function doResize() {
        location.reload();
}

// -->
