Js Error

liunx

Guest
Wow, you seem to be the right place for me!<br /><br />For some reason when I try to update my site, I get an error message regarding my js menus. There has been no problem until today when my update stops to tell me that my *.js has been modified. Since I didn't modify it, I'm not sure where to find the error.<br /><br />Here is a sample:<br />//----------DHTML Menu Created using AllWebMenus PRO ver 3.1-#516---------------<br />var awmMenuName='awards';<br />var awmLibraryPath='/allwebmenus';<br />var awmImagesPath='/allwebmenus';<br />var awmSupported=(navigator.appName + navigator.appVersion.substring(0,1)=="Netscape5" || document.all || document.layers || navigator.userAgent.indexOf('Opera')>-1)?1:0;<br />if (awmAltUrl!='' && !awmSupported) window.location.replace(awmAltUrl);<br />if (awmSupported){<br />var awmMenuPath;<br />if (document.all) mpi=document.all['awmMenuPathImg-awards'].src;<br />if (document.layers) mpi=document.images['awmMenuPathImg-awards'].src;<br />if (navigator.appName + navigator.appVersion.substring(0,1)=="Netscape5" || navigator.userAgent.indexOf('Opera')>-1) mpi=document.getElementById('awmMenuPathImg-awards').src;<br />awmMenuPath=mpi.substring(0,mpi.length-16);<br />while (awmMenuPath.search("'")>-1) {awmMenuPath=awmMenuPath.replace("'", "'");}<br />var nua=navigator.userAgent,scriptNo=(nua.indexOf('Safari')>-1)?7:(nua.indexOf('Gecko')>-1)?2:((document.layers)?3:((nua.indexOf('Opera')>-1)?4:((nua.indexOf('Mac')>-1)?5:((nua.indexOf('Konqueror')>-1)?6:1))));<br />document.write("<script SRC=http://www.totalchoicehosting.com/forums/lofiversion/index.php/'"+awmMenuPath+awmLibraryPath+"/awmlib"+scriptNo+".js'><\/SCRIPT>");<br />var n=null;<br />awmzindex=900;<br />}<br /><br />var awmSubmenusFrame='';<br />var awmSubmenusFrameOffset;<br />var awmOptimize=0;<br />function awmBuildMenu(){<br />if (awmSupported){<br />awmCreateCSS(1,2,0,'#FFFFFF','#5A75A7',n,'bold 12px sans-serif',n,'none',0,n,0,0);<br />awmCreateCSS(0,1,0,n,'#5A75A7',n,n,n,'none',0,'#C0C0C0',0,0);<br />awmCreateCSS(1,2,0,'#FFFFFF','#5A75A7',n,'italic 10px sans-serif',n,'none',1,n,0,1);<br />awmCreateCSS(0,2,0,'#FFFFFF','#5A75A7',n,'italic 10px sans-serif',n,'none',1,n,0,1);<br />var s0=awmCreateMenu(0,0,0,0,1,0,0,0,0,3,134,0,0,1,0,"Awards Program","",n,1,1,1,0,n,n,100);<br />it=s0.addItem(2,3,3,"鐗嬬嚛urpose鐗
 
Back
Top