Hi - sorry, it appears the onclick works - but the following javascript
does not work in NN (ok in IE):
function changeLoc(loc,tab){
parent.frames['mainFrame'].location.href=loc;
changeTab(tab);
}
function changeTab(tab)
{
if (tab == "search" || tab == "newsearch" ){
toptSearchb.className="mtTabOnB"
toptQuicklinksb.className="mtTabOffB"
toptAdminb.className="mtTabOffB"
toptOtherb.className="mtTabOffB"
toptSearch.className="mtTabOnTop"
toptQuicklinks.className="mtTabOff"
toptAdmin.className="mtTabOff"
toptOther.className="mtTabOffns"
<% if session("browsol")="1" then %>
toptBrowseb.className="mtTabOffB"
toptBrowse.className="mtTabOff"
<% end if %>
}
else if (tab == "quicklinks"){
toptSearchb.className="mtTabOffB"
toptQuicklinksb.className="mtTabOnB"
toptAdminb.className="mtTabOffB"
toptOtherb.className="mtTabOffB"
toptSearch.className="mtTabOff"
toptQuicklinks.className="mtTabOnTop"
toptAdmin.className="mtTabOff"
toptOther.className="mtTabOffns"
<% if session("browsol")="1" then %>
toptBrowseb.className="mtTabOffB"
toptBrowse.className="mtTabOff"
<% end if %>
}
else if (tab == "admin"){
toptSearchb.className="mtTabOffB"
toptQuicklinksb.className="mtTabOffB"
toptAdminb.className="mtTabOnB"
toptOtherb.className="mtTabOffB"
toptSearch.className="mtTabOff"
toptQuicklinks.className="mtTabOff"
toptAdmin.className="mtTabOnTop"
toptOther.className="mtTabOffns"
<% if session("browsol")="1" then %>
toptBrowseb.className="mtTabOffB"
toptBrowse.className="mtTabOff"
<% end if %>
}
else if (tab == "other"){
toptSearchb.className="mtTabOffB"
toptQuicklinksb.className="mtTabOffB"
toptAdminb.className="mtTabOffB"
toptOtherb.className="mtTabOnB"
toptSearch.className="mtTabOff"
toptQuicklinks.className="mtTabOff"
toptAdmin.className="mtTabOff"
toptOther.className="mtTabOnTop"
<% if session("browsol")="1" then %>
toptBrowseb.className="mtTabOffB"
toptBrowse.className="mtTabOff"
<% end if %>
}
else if (tab == "browse"){
toptSearchb.className="mtTabOffB"
toptQuicklinksb.className="mtTabOffB"
toptAdminb.className="mtTabOffB"
toptOtherb.className="mtTabOffB"
toptSearch.className="mtTabOff"
toptQuicklinks.className="mtTabOff"
toptAdmin.className="mtTabOff"
toptOther.className="mtTabOff"
<% if session("browsol")="1" then %>
toptBrowseb.className="mtTabOnB"
toptBrowse.className="mtTabOnTop"
<% end if %>
}
else {
toptSearchb.className="mtTabOffB"
toptQuicklinksb.className="mtTabOffB"
toptAdminb.className="mtTabOffB"
toptOtherb.className="mtTabOnB"
toptSearch.className="mtTabOff"
toptQuicklinks.className="mtTabOff"
toptAdmin.className="mtTabOff"
toptOther.className="mtTabOnTop"
toptBrowseb.className="mtTabOffB"
toptBrowse.className="mtTabOff"
}
}
*** Sent via Developersdex
http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!