if (document.images) {
nav0 = new Image(396,41);
nav0.src = "/images/dashboard/photo-gallery.jpg";
navon0 = new Image(396,41);
navon0.src = "/images/dashboard/photo-gallery-over.jpg";
nav1 = new Image(396,41);
nav1.src = "/images/dashboard/faq.jpg";
navon1 = new Image(396,41);
navon1.src = "/images/dashboard/faq-over.jpg";
nav2 = new Image(396,41);
nav2.src = "/images/dashboard/testimonials.jpg";
navon2 = new Image(396,41);
navon2.src = "/images/dashboard/testimonials-over.jpg";
nav3 = new Image(396,41);
nav3.src = "/images/dashboard/doc-lib.jpg";
navon3 = new Image(396,41);
navon3.src = "/images/dashboard/doc-lib-over.jpg";
}
function swapover(n) {
if (document.images) {
document.images['nav' + n].src = eval("navon" + n + ".src");
}
}
function swapout(n) {
if (document.images) {
document.images['nav' + n].src = eval("nav" + n + ".src");
}
}
function toggle_visibility(id) {
var e = document.getElementById(id);
if(e.style.display == 'block')
e.style.display = 'none';
else
e.style.display = 'block';
}
function open_window1(url, width, height) {
mywin1 = window.open(url,"win1",'alwaysRaised=1,toolbar=0,location=0,directories=0,status=1,menubar=0,scrollbars=1,resizable=1,width=' + width + ',height=' + height);
mywin1.resizeTo(width, height);
mywin1.focus();
}
function textLimit() {
var len = document.myform.description.value.length;
if(len > 255) {
document.getElementById('characterNumber').innerHTML = '' + len + ' Limit Exceeded';
} else {
document.getElementById('characterNumber').innerHTML = len;
}
}
function toggle_visibility(id) {
var e = document.getElementById(id);
if(e.style.display == 'block')
e.style.display = 'none';
else
e.style.display = 'block';
}
function addressIsSame() {
document.profile_form.pdca_contact_name.value = document.profile_form.primary_contact_fname.value + ' ' + document.profile_form.primary_contact_lname.value;
document.profile_form.pdca_contact_phone.value = document.profile_form.phone.value;
document.profile_form.pdca_contact_fax.value = document.profile_form.fax.value;
document.profile_form.pdca_contact_email.value = document.profile_form.email_address.value;
document.profile_form.pdca_contact_address.value = document.profile_form.address1.value;
document.profile_form.pdca_contact_city.value = document.profile_form.city.value;
document.profile_form.pdca_contact_zip.value = document.profile_form.zip.value;
document.profile_form.pdca_contact_state.value = document.profile_form.state.value;
/*for (var i=0;i