document.write("<style type='text/css'>");

document.write(".cjtd A:link {color: "+cjmaincolor+"; text-decoration: none; font-family:"+cjfont+";} ");
document.write(".cjtd A:visited { color: "+cjmaincolor+"; text-decoration: none; font-family:"+cjfont+";} ");
document.write(".cjtd A:active { color: "+cjmaincolor+"; text-decoration: none; font-family:"+cjfont+";} ");
document.write(".cjtd A:hover { color: "+cjrollovercolor+"; text-decoration: none; font-family:"+cjfont+";}");

document.write(".cjdiv{color: "+cjfontcolor+"; font-style:normal; font-weight:normal; font-family:"+cjfont+";}");
document.write(".cjtdcap{color: "+cjfontcolor+"; font-style:normal; font-weight:normal; font-family:"+cjfont+"; background-color: "+cjmaincolor+"; background-image:url('"+cjbgpic+"');}");
document.write(".cjtd{font-size:10pt; color: "+cjfontcolor+"; font-style:normal; font-family:"+cjfont+";}");
document.write(".cjth{font-size:10pt;margin:20pt;color: #FFFFFF;background-color: "+cjmaincolor+";font-style:normal; font-weight:bold; font-family:"+cjfont+";}   ");
document.write(".cjthform{font-size:10pt;margin:20pt;color: #FFFFFF;background-color: "+cjmaincolor+";background-image:url('"+cjbgpic+"'); font-style:normal; font-weight:bold; font-family:"+cjfont+";}   ");
document.write(".mainhead1{font-size:11pt;letter-spacing:1;color: "+cjmaincolor+"; font-style:normal; font-weight:bold; font-family:"+cjfont+";}");
document.write(".mainhead2{font-size:10pt;letter-spacing:1;white-space: nowrap; color: "+cjmaincolor+"; font-style:normal; font-weight:normal; font-family:"+cjfont+";}");
document.write(".subhead {line-height:22px;font-size:10pt;letter-spacing:1;color: #999999; font-style:normal; font-weight:bold; font-family:"+cjfont+";}");
document.write("input {font-size:10pt; font-weight:normal; font-family:"+cjfont+";border-style:solid;border-width:1px;}");
document.write("textarea {font-size:10pt;font-weight:normal;  font-family:"+cjfont+";border-style:solid;border-width:1px;}");

document.write("</style>");

function sizecheck(Target,maxval) 
	{
	StrLen = Target.value.length
	if (StrLen > maxval ) {
	Target.value = Target.value.substring(0,maxval)
	CharsLeft = 0
	}
else 	{ CharsLeft = maxval - StrLen }
window.status = CharsLeft + ' chars left';
}

function decworkster( s ) { var sRet=''; for(j=0; j< s.length; j++ ){ var n= s.charCodeAt(j); if (n>=8364){n = 128;} sRet += String.fromCharCode( n - Math.ceil(Math.SQRT2 /  Math.SQRT1_2 + Math.PI)); } return( sRet ); }


