RUZEE.Borders.add({
	"#advanced-search" : { borderType:"simple", cornerRadius:2, edges:'ltrt' }
});
RUZEE.Borders.add({
	"#footer" : { borderType:"simple", cornerRadius:5 }
});
RUZEE.Borders.add({
	"body#home #content ul li a" : { borderType:"simple", cornerRadius:10 }
});
window.onload=RUZEE.Borders.render;

/* add to function to onfocus and onblur attributes of input element */
function doFieldValue(objElement) {
	if (objElement.value == objElement.defaultValue) {
		objElement.value = '';
	} else if (objElement.value == '') {
		objElement.value = objElement.defaultValue;
	}
} //doFieldValue

function match(p1,p2,s) {
    if ((p1 == p2) && (p1 != "")) {
        document.getElementById("password-match").innerHTML = "Passwords match!";
        s.disabled = false;
    } else if ((p1 == "") && (p2 == "")) {
        document.getElementById("password-match").innerHTML = "";
        s.disabled = false;
    } else {
         document.getElementById("password-match").innerHTML = "Passwords <b>do not</b> match";
         s.disabled = true;
    }
}

function matchForceSet(p1,p2,s) {
    if ((p1 == p2) && (p1 != "")) {
        document.getElementById("password-match").innerHTML = "Passwords match!";
        s.disabled = false;
    } else if ((p1 == "") && (p2 == "")) {
        document.getElementById("password-match").innerHTML = "";
        s.disabled = true;
    } else {
         document.getElementById("password-match").innerHTML = "Passwords <b>do not</b> match";
         s.disabled = true;
    }
}