just another where is everything question. I validate my site threw w3c and it says it is not valid it seems someone left out the "<!--" and "-->" in the javascript for the sidebar login I can view the source and see where the problem is but where can I find this script so I can solve this? Is it in the mysql db if so where is their a guide that shows where all the scripts are coming from? the script is
<h2>Login:</h2>
<div id="sidebarlogin"> <script type="text/JavaScript">
function getElementById(id){
var o, d=document;
if (d.layers) {o=d.layers[id];if(o) o.style=o};
if (!o && d.getElementById) o=d.getElementById(id);
if (!o && d.all) o = d.all[id];
return o;
}
function webLoginShowForm(i){
var a = getElementById(’WebLoginLayer0’);
var b = getElementById(’WebLoginLayer2’);
if(i==1 && a && b) {
a.style.display="block";
b.style.display="none";
document.forms[’loginreminder’].txtpwdrem.value = 0;
}
else if(i==2 && a && b) {
a.style.display="none";
b.style.display="block";
document.forms[’loginreminder’].txtpwdrem.value = 1;
}
};
function webLoginCheckRemember () {
if(document.loginfrm.rememberme.value==1) {
document.loginfrm.rememberme.value=0;
} else {
document.loginfrm.rememberme.value=1;
}
}
function webLoginEnter(nextfield,event) {
if(event && event.keyCode == 13) {
if(nextfield.name==’cmdweblogin’) {
document.loginfrm.submit();
return false;
}
else {
nextfield.focus();
return false;
}
} else {
return true;
}
}
</script>
XML Parsing Error: xmlParseEntityRef: no name. Any help would be greatly appreciated.