// JavaScript Document

// Clear Field////////////////////////////////////////////////////////////////////////////////////////////////////////

 function doClear(theText) {
     if (theText.value == theText.defaultValue) {
         theText.value = ""
     }
 }


// Example of Doc Inclusion
//<form>
//<input type="text" size=15 value="Enter name" onFocus="doClear(this)">
//</form>
//END OF CLEAR FIELD/////////////////////////////////////////////////////////////////////////////////////////////////

//FormVerify/////////////////////////////////////////////////////////////////////////////////////////////////////////
function FormVerify(msg) { 
 return confirm(msg);
}
//End FormVerify/////////////////////////////////////////////////////////////////////////////////////////////////////


//Example of Doc Inclusion
//<a href="photoList.php?delKey=<? echo $row_photos['photo_Key']; ?>" onclick="return FormVerify('Are you sure you want to delete this photo?')"> DELETE </a>


//Pop-up Picture Album/////////////////////////////////////////////////////////////////////////////////////////////////
function picturePopup(sURL) {
window.open(sURL,"Pictures",
"menubar=no,width=430,scrollbars=1, height=400,toolbar=no");
}
//End Pop-up Picture //////////////////////////////////////////////////////////////////////////////////////////////////
//Example of Inclusion
//


//Help Pop-Up/////////////////////////////////////////////////////////////////////////////////////////////////
function helpPopup(sURL) {
window.open(sURL,"Help",
"menubar=no,width=600,scrollbars=1, height=600,toolbar=no");
}
//End Pop-up Picture //////////////////////////////////////////////////////////////////////////////////////////////////
//Example of Inclusion
//



