Sorry i dont understand where do i add that code in script.js
<script language="JavaScript">
//Top Nav Bar I v2.1- By Constantin Kuznetsov Jr. (script@esolutiononline.com)
//Modified by Dynamic Drive for NS6/Opera6 compatibility and code streamlining March 4th, 2002
//Visit
http://www.dynamicdrive.com for this script
var keepstatic=1 //specify whether menu should stay static 0=non static (works only in IE4+)
var menucolor="#91bef2" //specify menu color
var submenuwidth=150 //specify sub menus' color
</script>
</head>
<body>
<script language="JavaScript" src="menu.js"></script>
<script language="JavaScript" src="menucontext.js"></script>
<script language="JavaScript">
showToolbar();
</script>
<script language="JavaScript">
function UpdateIt(){
if (ie&&keepstatic&&!opr6)
document.all["MainTable"].style.top = document.body.scrollTop;
setTimeout("UpdateIt()", 200);
}
UpdateIt();
</script>
</body>
and where do i put that code:?
function MM_openBrWindow(theURL,winName,features) { //v2.0
window.open(theURL,winName,features);
}
function writeCookie(name, data, noDays){
var cookieStr = name + "="+ data
if (writeCookie.arguments.length > 2){
cookieStr += "; expires=" + getCookieExpireDate(noDays)
}
document.cookie = cookieStr
}
function readCookie(cookieName){
var searchName = cookieName + "="
var cookies = document.cookie
var start = cookies.indexOf(cookieName)
if (start == -1){ // cookie not found
return ""
}
start += searchName.length //start of the cookie data
var end = cookies.indexOf(";", start)
if (end == -1){
end = cookies.length
}
return cookies.substring(start, end)
}
function blocking(nr, cookie, vis_state)
{
if (document.layers)
{
current = (document.layers[nr].display == 'none') ? vis_state : 'none';
if (cookie != '')
writeCookie(nr, current);
document.layers[nr].display = current;
}
else if (document.all)
{
current = (document.all[nr].style.display == 'none') ? vis_state : 'none';
if (cookie != '')
writeCookie(nr, current);
document.all[nr].style.display = current;
}
else if (document.getElementById)
{
display = (document.getElementById(nr).style.display == 'none') ? vis_state : 'none';
if (cookie != '')
writeCookie(nr, display);
document.getElementById(nr).style.display = display;
}
}
function adjust_popup()
{
var w, h, fixedW, fixedH, diffW, diffH;
if (document.all) {
fixedW = document.body.clientWidth;
fixedH = document.body.clientHeight;
window.resizeTo(fixedW, fixedH);
diffW = fixedW - document.body.clientWidth;
diffH = fixedH - document.body.clientHeight;
} else {
fixedW = window.innerWidth;
fixedH = window.innerHeight;
window.resizeTo(fixedW, fixedH);
diffW = fixedW - window.innerWidth;
diffH = fixedH - window.innerHeight;
}
w = fixedW + diffW;
h = fixedH + diffH;
if (h >= screen.availHeight) w += 16;
if (w >= screen.availWidth) h += 16;
w = Math.min(w,screen.availWidth);
h = Math.min(h,screen.availHeight);
window.resizeTo(w,h);
window.moveTo((screen.availWidth-w)/2, (screen.availHeight-h)/2);
}
thanks