<!--

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

var object=new Array();

object['h_office_arrow']= new objectdata(161,173,"imgs/h_office_arrow_o.gif","imgs/h_office_arrow.gif","Meritor :: Small Office");
object['h_home_arrow']= new objectdata(160,173,"imgs/h_home_arrow_o.gif","imgs/h_home_arrow.gif","Meritor :: Home Office");
object['h_credits']= new objectdata(83,19,"imgs/h_credits_o.gif","imgs/h_credits.gif","http://www.webstrim.com/");
object['smalloff']= new objectdata(132,30,"imgs/office_btn_o.gif","imgs/office_btn.gif","Meritor :: Small Office");
object['homeoff']= new objectdata(130,30,"imgs/home_btn_o.gif","imgs/home_btn.gif","Meritor :: Home Office");

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();
}

// -->
