htmlheadtitleFanFiction.Net/titleSCRIPT
LANGUAGE="JavaScript"
SRC="http://homepage.mac.com/xing/scripts/flavor.js"/SCRIPT
script LANGUAGE=JAVASCRIPT
TYPE="text/javascript"
!--
function _CF_onError(form_object, input_object,
object_value, error_message)
{
alert(error_message);
return false;
}
function _CF_hasValue(obj, obj_type)
{
if (obj_type ==
"TEXT" || obj_type == "PASSWORD")
{
if (obj.value.length == 0)
return false;
else
return true;
}
else if (obj_type
== "SELECT")
{
for (i=0; i
obj.length; i++)
{
if
(obj.options[i].selected)
return
true;
}
return false;
}
else if (obj_type
== "SINGLE_VALUE_RADIO" || obj_type ==
"SINGLE_VALUE_CHECKBOX")
{
if
(obj.checked)
return
true;
else
return false;
}
else if (obj_type
== "RADIO" || obj_type == "CHECKBOX")
{
for (i=0; i
obj.length; i++)
{
if
(obj[i].checked)
return
true;
}
return false;
}
}
function _CF_checkmyForm(_CF_this)
{
if (!_CF_hasValue(_CF_this.title,
"TEXT" ))
{
if (!_CF_onError(_CF_this, _CF_this.title,
_CF_this.title.value, "Please type in the fanfic title."))
{
return
false;
}
}
if (!_CF_hasValue(_CF_this.summary,
"TEXT" ))
{
if (!_CF_onError(_CF_this, _CF_this.summary,
_CF_this.summary.value, "Please type in a short summary of your
fanfic."))
{
return
false;
}
}
return true;
}
//--
/script
script LANGUAGE=JAVASCRIPT
TYPE="text/javascript"
!--
function _CF_checkChapterOne(_CF_this)
{
if (!_CF_hasValue(_CF_this.Chapter_Title_213422, "TEXT" ))
{
if (!_CF_onError(_CF_this,
_CF_this.Chapter_Title_213422, _CF_this.Chapter_Title_213422.value,
"Please enter the title for chapter 1"))
{
return
false;
}
}
if (!_CF_hasValue(_CF_this.Chapter_Title_213426, "TEXT" ))
{
if (!_CF_onError(_CF_this,
_CF_this.Chapter_Title_213426, _CF_this.Chapter_Title_213426.value,
"Please enter the title for chapter 2"))
{
return
false;
}
}
if (!_CF_hasValue(_CF_this.Chapter_Title_213429,
"TEXT" ))
{
if (!_CF_onError(_CF_this,
_CF_this.Chapter_Title_213429, _CF_this.Chapter_Title_213429.value,
"Please enter the title for chapter 3"))
{
return
false;
}
}
if (!_CF_hasValue(_CF_this.Chapter_Title_222544, "TEXT" ))
{
if (!_CF_onError(_CF_this,
_CF_this.Chapter_Title_222544, _CF_this.Chapter_Title_222544.value,
"Please enter the title for chapter 4"))
{
return
false;
}
}
if (!_CF_hasValue(_CF_this.Chapter_Title_459679, "TEXT" ))
{
if (!_CF_onError(_CF_this,
_CF_this.Chapter_Title_459679, _CF_this.Chapter_Title_459679.value,
"Please enter the title for chapter 5"))
{
return
false;
}
}
return true;
}
//--
/script
script LANGUAGE=JAVASCRIPT
TYPE="text/javascript"
!--
function _CF_checkChapterThree(_CF_this)
{
if (!_CF_hasValue(_CF_this.ChapterTitle,
"TEXT" ))
{
if (!_CF_onError(_CF_this,
_CF_this.ChapterTitle, _CF_this.ChapterTitle.value, "Please enter the
title for the new chapter"))
{
return
false;
}
}
return true;
}
//--
/script
script LANGUAGE=JAVASCRIPT
TYPE="text/javascript"
!--
function _CF_checkChapterSix(_CF_this)
{
return true;
}
//--
/script
script LANGUAGE=JAVASCRIPT
TYPE="text/javascript"
!--
function _CF_checkChapterFour(_CF_this)
{
return true;
}
//--
/script
/head
body ="White" topmargin=2
onLoad="pop();"
SCRIPT
var
banner = 1;
/SCRIPT
SCRIPT LANGUAGE="JavaScript"
SRC="http://homepage.mac.com/xing/scripts/menu_top.js"/SCRIPT
table border="0" cellpadding="0"
cellspacing="0"
tr
td
valign="top"
script
language="JavaScript"
var normalColor;
function
hilite(id){
if(
!document.all ) return false;
//
initialize the hilite object
objHilite
= eval("document.all." + id);
//
get the color of the current table cell
normalColor
= objHilite.style.backgroundColor;
//
set the color equal to the highlight color
objHilite.style.backgroundColor = '#ffffff';
