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





/*var jsEditorBaseUrl = false;

var elements = document.getElementsByTagName("script");
for (var i = 0; i < elements.length; i++)
{
    if (elements[i].src && (elements[i].src.indexOf("jseditor.js") != -1)) 
    {
        var src = elements[i].src;
        jsEditorBaseUrl = src.substring(0, src.lastIndexOf('/'));
        break;
    }
}

var jsEditorPathCSS = jsEditorBaseUrl + "/css/";
var jsEditorPathImg = jsEditorBaseUrl + "/img/";

// функция для загрузки
function importCSSToDoc(document, cssFileName) {
	
    var styleSheet = document.GetElementByTagName("HEAD");
	


*/
  /*  var styleSheet = document.createElement("link");
    styleSheet.setAttribute("href", jsEditorPathCSS + cssFileName);
    styleSheet.setAttribute("rel", "stylesheet");
    styleSheet.setAttribute("type", "text/css");
    var head = document.getElementsByTagName("head");
    head[0].appendChild(styleSheet);*/
//}









