var buttontarget="" function change(e, color){ var el=window.event? event.srcElement: e.target if (el.tagName=="INPUT"&&el.type=="button") el.style.backgroundColor=color } function jump1(url){ if (buttontarget=="") window.location=url else if (buttontarget=="_new") window.open(url) else parent[buttontarget].location=url } function jump2(url){ window.location=url } function jump3(url){ window.open(url) } function jumpOut(){ if (confirm('Want to Log out?')) { window.location="Logout.asp" } }