/*
 --- rfms ---
filename: 000com01.js
Authors and Copyright (c) 2001-2002 Hubert George Taylor and Vijay Banger
All Rights Reserved.
11 July 2002 (updated) created: 8 Mar 2002
*/
// ----------------------------------------------
var indexfile0 = "index\.shtml";
var framefile0 = "iframe0\.html";
//
var sitedesign0 = "VJ Designs";
var emailaddressee0 = "roger";
var emaildomain0 = "rfms.org.uk";
var remotefiles0 = "http:\/\/www.rfms.org.uk\/";
var scriptpath0 = "http:\/\/www.rfms.org.uk\/";
var remoteformcgi0 = "cgi-bin\/form_to_mail.php";
// var countercommand0 = '<!--#exec cgi="/cgi-bin/counter.pl"-->';
var sysproblemfile0 = "00prosys\.shtml";
var broproblemfile0 = "00probro\.shtml";
var crawlerfile0 = "00craw01\.shtml";
var qtyoflists0 = 1;  // qty of contents or topics lists
var qtyofmenus0 = 2;  //  value must be 2 for this web site
var printbar0 = true;
var findpage0 = false;
var greetingpage0 = true;
var backgroundsound0 = false;
var checksys0 = true;
var checkbro0 = true;
// -----------------------------------------------
var telephone00 = "\(0\)\&nbsp\;121\&nbsp\;422\&nbsp\;8590";
var mobile00 = "\(0\)&nbsp;794\&nbsp\;108\&nbsp\;9218";
var fax00 = "\(0\)\&nbsp\;121\&nbsp\;422\&nbsp\;8590";
var businessname0 = "Roger\&nbsp\;Fisher\&nbsp\;Music\&nbsp\;Services";
var mainname0 = "Roger\&nbsp\;Fisher";
var address01 = "RFMS";
var address02 = "64\&nbsp\;Whitley\&nbsp\;Court\&nbsp\;Road";
var address03 = "Birmingham";
var address04 = "B32\&nbsp\;1EY";
var address05 = "West\&nbsp\;Midlands";
var address06 = "England";
var address07 = "United\&nbsp\;Kingdom";
var address08 = "";
var teleregion0 = "\(UK\)";
var biggerpicnote00 = "Please click here to enlarge the above picture";
var detailsnote00 = "Please click to display more details";
var pleasecont0 = "Please contact us if your requirement is not listed above.  We may be able to refer you to an appropriate band or music agency\.";
var whatever0 = "Whatever your requirements, for a high quality service, contact <font class=fonttextaa>RFMS<\/font> by email, telephone, post or the booking-enquiry form on this site.";
var clickoption0 = "Click any option on the left of this screen to display the related information\.";
var returnto0 = "To Return To the Previous Page Click the \'Back\' option of your Browser\.  Or, on your keyboard, hold down the 'Alt' key then hit the 'left arrow' key.";
//
out0 = new Image(9,9);
out0.src = "images/00out01.gif";
over1 = new Image(9,9);
over1.src = "images/00over01.gif";
over2 = new Image(9,9);
over2.src = "images/00over02.gif";
// ----------------------------------------------
var website00 = "";
var cgiscript0 = "";
var check1 = false;
var check2 = "";
var check3 = false;
defaultStatus = '';
// ----------------------------------------------
website00 = remotefiles0;
cgiscript0 = scriptpath0 + remoteformcgi0;
// ----------------------------------------------
var email00 = emailaddressee0 + "\@" + emaildomain0;
// ----------------------------------------------
if(navigator.appVersion.indexOf("Win") != -1){
check3 = true;
}
//
if(navigator.appVersion.indexOf("Mac") != -1){
check3 = false;
}
//
if (navigator.appName.toLowerCase() == "microsoft internet explorer") {
if (parseInt(navigator.appVersion,10) >= "4") {
check1 = true;
check2 = "msie";
printbar0 = false;
findpage0 = true;
}
}
//
if (navigator.appName.toLowerCase() == "netscape") {
if (parseInt(navigator.appVersion,10) >= "4") {
check1 = true;
check2 = "nets";
printbar0 = false;
findpage0 = true;
}
}
//
var navagent0 = navigator.userAgent.toLowerCase();
if (navagent0.indexOf("opera",0,navigator.userAgent.length) != -1) {
check1 = false;
check2 = "opera";
printbar0 = true;
findpage0 = false;
}
//
function sysbrocheck0() {
if (check3 == false && checksys0 == true) {
top.location.replace(sysproblemfile0);
return false;
}
if (check1 == false && checkbro0 == true) {
top.location.replace(broproblemfile0);
return false;
}
return true;
}
// ==================================================
var fsetfirm0 = 60;
var fsetcontents0 = 115;
var fsettopics0 = 130;
var fsettopics1 = 40;
var fsetpage0 = 40;
//
var loadfile0 = "";
var extn0 = "";
var XPos0 = -1;
var anchorstring0 = "";
var anchorprefix0 = "AAA";
var anchorchar0 = "\#";
// var searchprefix0 = "SSS";
// var searchchar0 = "\?";
var topnameprefix0 = "ZZZ";
var extensionprefix0 = "XXX";
var contentnamelen0 = 2;  // applies only when qtyof menus = 2 or more
var topicnamelen0 = 5;
var pagenamelen0 = 5;
// ---------------------------------------
function checkwindow0f() {
if (top.location.href != self.location.href) { 
return false
}
return true
}
//
function checkwindow0contents() {
if (top.location.href == self.location.href || self.name != "contentslisttitle0") {
return false
}
return true
}
//
function checkwindow0ct() {
if (top.location.href == self.location.href || self.name != "contentslisttitle1") {
return false
}
return true
}
//
function checkwindow0cl() {
if (top.location.href == self.location.href || self.name != "contentslist1") {
return false
}
return true
}
//
function checkwindow0tt() {
if (top.location.href == self.location.href || self.name != "topicslisttitle1") {
return false
}
return true
}
//
function checkwindow0tl() {
if (top.location.href == self.location.href || self.name != "topicslist1") {
return false
}
return true
}
//
function checkwindow0pt() {
if (top.location.href == self.location.href || self.name != "pagetitle1") {
return false
}
return true
}
//
function checkwindow0p(window0pfile0) {
if (top.location.href == self.location.href || self.name != "page1") {
return false
}
if (top.location.href != self.location.href && self.name == "page1") {
parent.frames[0].focus();
parent.frames[0].location.reload();
parent.frames[1].focus();
top.name = window0pfile0;
return true
}
}
//
function checkwindow0ft() {
if (top.location.href == self.location.href || self.name != "firmtitle0") { 
return false
}
return true
}
//
function checkwindow0cw0() {
if (top.location.href == self.location.href || self.name != "firmcontents0") { 
return false
}
return true
}
//
function checkwindow0tw() {
if (top.location.href == self.location.href || self.name != "topicslisttitle0") { 
return false
}
return true
}
//
function checkwindow0pw() {
if (top.location.href == self.location.href || self.name != "pagetitle0") { 
return false
}
return true
}
//
function checkstrings0(stringsfile0) {
var stringsanchor0 = top.location.hash;
splitstringsfile0 = stringsfile0.split("."); // array
stringsfile0 = splitstringsfile0[0] + extensionprefix0 + splitstringsfile0[1];
stringsanchor0 = (stringsanchor0 != "") ? anchorprefix0 + stringsanchor0.substring(1,stringsanchor0.length) : stringsanchor0;
stringsfile0 = stringsfile0 + stringsanchor0;
return stringsfile0;
}
//
function problemwindow0(pfname0) {
destination0(pfname0)
top.focus();
top.location.replace(framefile0);
}
//
function destination0(destin0) {
top.name=""
if (destin0 != "") {
destin0 = topnameprefix0 + destin0;
}
top.name = destin0
}
//
function fnamedetect0(code0) {
loadfile0 = ""
extn0 = "";
anchorstring0 = "";
XPos0 = -1;
var detectfile0 = "";
var detectextn0 = "";
var detectanchor0 = "";
var detecttopname0 = top.name;
var detectXPos1 = detecttopname0.length;
if (findpage0 == true && detecttopname0 != "") {
var detectZPos0 = -1;
detectZPos0 = detecttopname0.indexOf(topnameprefix0,0,detecttopname0.length)
if (detectZPos0 == 0) {
var detectXPos0 = -1;
detectXPos0 = detecttopname0.indexOf(extensionprefix0,0,detecttopname0.length);
if (detectXPos0 != -1 && detectXPos0 > topnameprefix0.length) {
var detectAPos0 = -1;
detectAPos0 = detecttopname0.indexOf(anchorprefix0,0,detecttopname0.length);
if (detectAPos0 != -1 && detectAPos0 > topnameprefix0.length + extensionprefix0.length + 2) {
detectanchor0 = anchorchar0 + detecttopname0.substring(detectAPos0 + anchorprefix0.length,detecttopname0.length);
detectXPos1 = detectAPos0;
}
detectfile0 = detecttopname0.substring(topnameprefix0.length,detectXPos0);
detectextn0 = detecttopname0.substring(detectXPos0 + extensionprefix0.length,detectXPos1);
}
}
}
loadfile0 = detectfile0;
extn0 = detectextn0;
XPos0 = detectXPos0;
anchorstring0 = detectanchor0;
}
//
function framefirm0(file0f1,file0f2) {
var name0f1 = "firmtitle0";
if (qtyofmenus0 == 1) {
var name0f2 = "topicslisttitle0";
if (top.location.href != self.location.href) {
name0f1 = "firmtitle0err";
name0f2 = "topicslisttitle0err";
}
}
if (qtyofmenus0 == 2) {
var name0f2 = "firmcontents0";
if (top.location.href != self.location.href) {
name0f1 = "firmtitle0err";
name0f2 = "firmcontents0err";
}
}
fnamedetect0("f0")
if (loadfile0 != "") {
if (qtyofmenus0 == 1) {
file0f2 = loadfile0.substring(contentnamelen0,contentnamelen0 + topicnamelen0) + "w.htm";
}
if (qtyofmenus0 == 2) {
file0f2 = loadfile0.substring(0,contentnamelen0) + "w.htm";
}
}
if (check2 == "msie") {
document.write('<frameset onLoad="sysbrocheck0()" rows="' +fsetfirm0+ ',*" frameborder="0" border="0" marginwidth="0" marginheight="0" topmargin="0" leftmargin="0" framespacing="0" scrolling="no" noresize>');
}
else {
if (check2 == "nets") {
fsetfirm0 = fsetfirm0 + 4;
document.write('<frameset onLoad="sysbrocheck0()" rows="' +fsetfirm0+ ',*" frameborder="0" border="0" marginwidth="0" marginheight="0" topmargin="0" leftmargin="0" framespacing="0" scrolling="no" noresize>');
}
}
document.write('<frame src="' +file0f1+ '" name="' +name0f1+ '" frameborder="0" border="0" marginwidth="0" marginheight="0" topmargin="0" leftmargin="0" framespacing="0" scrolling="no" noresize>');
document.write('<frame src="' +file0f2+ '" name="' +name0f2+ '" frameborder="0" border="0" marginwidth="0" marginheight="0" topmargin="0" leftmargin="0" framespacing="0" scrolling="no" noresize>');
document.write('<\/frameset>');
}
//
function framecontents0(file0c1,file0c2) {
var name0c1 = "contentslisttitle0";
var name0c2 = "topicslisttitle0";
if (checkwindow0cw0() == false) {
name0c1 = "contentslisttitle0err";
name0c2 = "topicslisttitle0err";
}
fnamedetect0("c0")
if (loadfile0 != "") {
file0c1 = loadfile0.substring(0,contentnamelen0) + "cplus.shtml";
file0c2 = loadfile0.substring(contentnamelen0,contentnamelen0 + topicnamelen0) + "w.htm";
}
document.write('<frameset onLoad="sysbrocheck0()" cols="' +fsetcontents0+ ',*" frameborder="0" framespacing="0" border="0" marginwidth="0" marginheight="0" topmargin="0" leftmargin="0" >');
document.write('<frame src="' +file0c1+ '" name="' +name0c1+ '" frameborder="0" framespacing="0" border="0" marginwidth="0" marginheight="0" topmargin="0" leftmargin="0" scrolling="no" noresize>');
document.write('<frame src="' +file0c2+ '" name="' +name0c2+ '" frameborder="0" framespacing="0" border="0" marginwidth="0" marginheight="0" topmargin="0" leftmargin="0" scrolling="no" noresize>');
document.write('<\/frameset>');
}
//
function frametopics0(file0t1,file0t2,file0t3) {
var name0t1 = "topicslisttitle1";
var name0t2 = "topicslist1";
var name0t3 = "pagetitle0";
if (checkwindow0tw() == false) {
name0t1 = "topicslisttitle1err";
name0t2 = "topicslist1err";
name0t3 = "pagetitle0err";
}
fnamedetect0("t0")
if (loadfile0 != "") {
file0t1 = loadfile0.substring(contentnamelen0,contentnamelen0 + topicnamelen0) + "ct.htm";
file0t2 = loadfile0.substring(contentnamelen0,contentnamelen0 + topicnamelen0) + "c.htm";
file0t3 = loadfile0.substring(contentnamelen0,contentnamelen0 + topicnamelen0 + pagenamelen0) + "w.htm";
}
document.write('<frameset onLoad="sysbrocheck0()" cols="' +fsettopics0+ ',*" rows="*" frameborder="0" framespacing="0" border="0" marginwidth="0" marginheight="0" topmargin="0" leftmargin="0">');
document.write('<frameset rows="' +fsettopics1+ ',*" frameborder="0" framespacing="0" border="0" marginwidth="0" marginheight="0" topmargin="0" leftmargin="0">');
document.write('<frame src="' +file0t1+ '" name="' +name0t1+ '" frameborder="0" framespacing="0" border="0" marginwidth="0" marginheight="0" topmargin="0" leftmargin="0" scrolling="no" noresize>');
document.write('<frame src="' +file0t2+ '" name="' +name0t2+ '" frameborder="0" framespacing="0" border="0" marginwidth="0" marginheight="0" topmargin="0" leftmargin="0" scrolling="auto" noresize>');
document.write('<\/frameset>');
document.write('<frame src="' +file0t3+ '" name="' +name0t3+ '" frameborder="0" framespacing="0" border="0" marginwidth="0" marginheight="0" topmargin="0" leftmargin="0" scrolling="auto" noresize>');
document.write('<\/frameset>');
}
//
function framepage0(file0p1,file0p2) {
var name0p1 = "pagetitle1";
var name0p2 = "page1";
if (checkwindow0pw() == false) {
name0p1 = "pagetitle1err";
name0p2 = "page1err";
}
fnamedetect0("p0")
if (loadfile0 != "") {
file0p1 = loadfile0.substring(contentnamelen0,contentnamelen0 + topicnamelen0 + pagenamelen0) + "t.htm";
file0p2 = loadfile0.substring(contentnamelen0,XPos0) + "\." + extn0 + anchorstring0;
top.name = "";
loadfile0 = "";
}
document.write('<frameset onLoad="sysbrocheck0()" rows = "' +fsetpage0+ ',*" frameborder="0" framespacing="0" border="0" marginwidth="0" marginheight="0">');
document.write('<frame src="' +file0p1+ '" name="' +name0p1+ '" frameborder="0" framespacing="0" border="0" marginwidth="0" marginheight="0" topmargin="0" leftmargin="0" scrolling="no" noresize>');
document.write('<frame src="' +file0p2+ '" name="' +name0p2+ '" frameborder="0" framespacing="0" border="0" marginwidth="0" marginheight="0" topmargin="0" leftmargin="0" scrolling="auto" noresize>');
document.write('<\/frameset>');
}
// ==========================================================
function stylecontents0() {
if (check2 == "nets") {
document.write('<LINK REL="stylesheet" type="text\/css" href="00stylecontents01nets.css">');
} 
else { 
document.write('<LINK REL="stylesheet" type="text\/css" href="00stylecontents01msie.css">');
}
}
//
function styletopics0() {
if (check2 == "nets") {
document.write('<LINK REL="stylesheet" type="text\/css" href="00styletopics01nets.css">');
}
else {
document.write('<LINK REL="stylesheet" type="text\/css" href="00styletopics01msie.css">');
}
}
//
function stylepage0() {
if (check2 == "nets") {
document.write('<LINK REL="stylesheet" type="text\/css" href="00stylepage01nets.css">');
}
else {
document.write('<LINK REL="stylesheet" type="text\/css" href="00stylepage01msie.css">');
}
}
//
function overcheck0(action0,imageno0) {
if (action0 == "over") {
document.images[imageno0].src=over1.src;
}
if (action0 == "out") {
document.images[imageno0].src=out0.src;
}
}
//
function overcheck1(action0,imageno0) {
if (action0 == "over") {
document.images[imageno0].src=over2.src;
}
if (action0 == "out") {
document.images[imageno0].src=out0.src;
}
}
//
function printalert0(code0) {
if (code0 == "print0") {
if (check2 == "msie") {
parent.frames[1].focus();
print();
}
else {
alert('To print the article below\, please click \"Print Page\" at top of \"frame\" below page title-bar\.  There will be a short delay after your click\.  See also \"Website Help\" topic under \"General Information\"\, contents on this website\.');
}
}
if (code0 == "printno0") {
alert('1\. Please click on section of screen to print\.  2\. Then use the print option on your browser\. Also see the \"Website Help\" topic under \"General Information\"\, contents on this website\.');
}
if (code0 == "printhelp0") {
alert('To print the page below\, please click the \"Print Page\" option on our webpages\.  See also the \"Website Help\" topic under \"General Information\"\, on this website\.');
}
}
//
function markalert0(code0) {
if (code0 != "0") {
if (check2 == "msie") {
alert('Help notes for marking \"Favorite\" pages is available under the \"Website Help\" topic on this website.');
}
if (check2 == "nets") {
alert('Help notes for \"Bookmarking\" pages is available under the \"Website Help\" topic on this website.');
}
}
}
//
function backarrow0(code0) { 
document.write('<a class=inneranchor0a href="javascript\:history\.go\(\-1\)" onMouseOver="window.status=\'\'; return true;" onMouseOut="window.status=\'\'; return true;"> To Previous Page <\/a>');
}
//
function bookmarkwrite0(code0) {
if (code0 != "0") {
if (check2 == "msie") {
document.write('<a class="inneranchor0a" onClick="markalert0\(\'\'\)" href="javascript\:void\(0\)" onMouseOver="window.status=\'\'; return true;" onMouseOut="window.status=\'\'; return true;"> Favourite Help <\/a>');
}
if (check2 == "nets") { 
document.write('<a class="inneranchor0a" onClick="markalert0\(\'\'\)" href="javascript\:void\(0\)" onMouseOver="window.status=\'\'; return true;" onMouseOut="window.status=\'\'; return true;"> Bookmark Help <\/a>');
}
}
else {
document.write(' \&nbsp\; ');
}
}
//
function printpagewrite0(code0) { 
if (code0 != "0") {
if (printbar0 == true) {
document.write('<a class="inneranchor0a" onClick="printalert0\(\'printno0\'\)" href="javascript\:void\(0\)" onMouseOver="window.status=\'\'; return true;" onMouseOut="window.status=\'\'; return true;"> Print Help <\/a>');
}
else {
document.write('<a class="inneranchor0a" href="javascript:self.print()" onMouseOver="window.status=\'\'; return true;" onMouseOut="window.status=\'\'; return true;"> Print Page <\/a>');
}
}
else {
document.write(' \&nbsp\; ');
}
}
//
function footnote0(code0,foocode0) { 
if (code0 != "0") {
var foofont1 = '<font class="fonttextf">';
var foonote1 = foocode0;
foonote1 = (foocode0 == "biggerpic") ? biggerpicnote00 : foonote1;
foonote1 = (foocode0 == "details") ? detailsnote00 : foonote1;
document.write(foofont1);
document.write(foonote1);
document.write('<\/font>');
document.write(foofont1);
document.write('<br><br><br><\/font>');
}
}
//
function pleasecontact0() { 
if (pleasecont0 != "") {
document.write('<p>');
document.write(pleasecont0);
document.write('<\/p>');
}
}
//
function whatevernote0(file0) { 
if (whatever0 != "") {
document.write('<font class="fonttexta">');
if (file0 == "heavy0") {
document.write('<hr Rclass="linepagea" size="2" Rnoshade>');
}
else
{
document.write('<hr class="linepagea" size="1">');
}
document.write(whatever0 + '<\/font>');
}
}
//
function clickoptionnote0(file0) { 
if (clickoption0 != "") {
document.write('<font class="fonttexte"><hr class="linepagea" size="1">' + clickoption0 + '<\/font>');
}
}
//
function returntoprevious0(file0) { 
if (returnto0 != "") {
document.write('<font class="fonttexte"><hr class="linepagea" size="1">' + returnto0 + '<\/font>');
}
}
//
function businessnamewrite0(format0) { 
if (businessname0 != "") { 
if (format0 == "online") {
document.write('<br>' + businessname0 + '<br>');
}
else {
document.write(businessname0);
}
}
}
//
var email01 = '<font class="fonttextd1">e\-mail<\/font><font class="fonttextd">\: <\/font>';
var telephone01 = '<font class="fonttextd1">telephone\&nbsp\;<\/font><font class="fonttextd2">' + teleregion0 + '<\/font><font class="fonttextd1">\: ' + telephone00 + '<\/font>';
var fax01 = '<font class="fonttextd1">fax\&nbsp\;<\/font><font class="fonttextd2">' + teleregion0 + '<\/font><font class="fonttextd2">\: ' + fax00 + '<\/font>';
var mobile01 = '<font class="fonttextd1">mobile\&nbsp\;<\/font><font class="fonttextd2">' + teleregion0 + '<\/font><font class="fonttextd2">\: ' + mobile00 + '<\/font>';
var website01 = '<font class="fonttextd1">website<\/font><font class="fonttextd">\: ' + website00 + '<\/font>';
//
function pagebottomcontact0() { 
if (email00 + telephone00 + mobile00 + website00 != "") { document.write('<br><br>')};
if (telephone00 != "") { document.write(telephone01 + '<br>')};
if (mobile00 != "") { document.write(mobile01 + '<br>')};
if (fax00 != "") { document.write(fax01 + "<br>")};
if (email00 != "") {
document.write(email01);
emailaddress0('','');
document.write('<br>')
}
if (website00 != "") { document.write(website01 + '<br>')};
document.write('<br>');
}
//
function telephoneno0(code0,telonline0) { 
if (telephone00 != "") {
var telfont1 = '<font class="fonttexta">';
var telonline1 = "";
if (code0 == "bold") {
var telfont1 = '<font class="fonttexta1">';
}
if (telonline0  == "online") {
telonline1 = "<br>";
}
document.write(telfont1);
document.write(telephone00);
document.write(telonline1);
document.write('<\/font>');
}
}
//
function mobilenote0(code0,mobonline0) { 
if (mobile00 != "") {
var mobfont1 = '<font class="fonttexta">';
var mobfont1a = '<font class="fonttexta1">';
var mobfont2 = mobfont1a;
var mobonline1 = "";
if (code0 == "bold") {
var mobfont2 = mobfont1a;
}
if (mobonline0  == "online") {
mobonline1 = "<br>";
}
document.write(mobfont1);
document.write('\(');
document.write('<\/font>');
document.write(mobfont2);
document.write('Mobile\&nbsp\;\&nbsp\;');
document.write(mobile00);
document.write(mobonline1);
document.write('<\/font>');
document.write(mobfont1);
document.write('\&nbsp\;\)');
document.write('<\/font>');
}
}
//
function faxno0(code0,faxonline0) { 
if (fax00 != "") {
var faxfont1 = '<font class="fonttexta">';
var faxonline1 = "";
if (code0 == "bold") {
var faxfont1 = '<font class="fonttexta1">';
}
if (faxonline0  == "online") {
faxonline1 = "<br>";
}
document.write(faxfont1);
document.write(fax00);
document.write(faxonline1);
document.write('<\/font>');
}
}
//
function emailaddress0(code0,emailsubject0) { 
if (email00 != "") {
var mailto00 = "mailto\:" + email00
document.write('<a class="inneranchor1" href="' +mailto00+ '">');
document.write(email00);
document.write('<\/a>');
}
}
//
function address0(code0,addressonline0) { 
var address00 = "";
var addressonline1 = "";
var addressfont1 = '<font class="fonttexta">';
address00 = (mainname0 != "") ? address00 + mainname0 + "<br>" : address00;
address00 = (address01 != "") ? address00 + address01 + "<br>" : address00;
address00 = (address02 != "") ? address00 + address02 + "<br>" : address00;
address00 = (address03 != "") ? address00 + address03 + "<br>" : address00;
address00 = (address04 != "") ? address00 + address04 + "<br>" : address00;
address00 = (address05 != "") ? address00 + address05 + "<br>" : address00;
address00 = (address06 != "") ? address00 + address06 + "<br>" : address00;
address00 = (address07 != "") ? address00 + address07 + "<br>" : address00;
address00 = (address08 != "") ? address00 + address08 + "<br>" : address00;
if (address00 != "") {
if (addressonline0  == "online") {
addressonline1 = "<br>";
}
if (code0 == "bold") {
var addressfont1 = '<font class="fonttexta1">';
}
document.write(addressfont1);
document.write(address00);
document.write(addressonline1);
document.write('<\/font>');
}
}
//
function bottomlines0() {
document.write('<font class="fonttextc">Copyright\&nbsp\;\&\#169\; All\&nbsp\;rights\&nbsp\;reserved<\/font>');
}
//
function pageloaded0(code0,pagestart0) {
if (greetingpage0 == true && code0 != "0") {
if (pagestart0 == "") {
pagestart0 = false;
}
var now0 = new Date();
var month0 = now0.getMonth();
var date0 = now0.getDate();
document.write('<font class="fontspace1">');
if ( date0 == 25 && month0 == 11 ) { 
document.write('<embed mastersound name="greeting1" src="000mer00.wav" width="2" height="0" autostart="' +pagestart0+ '" loop="false" hidden="true" controls="false">');
}
else {
if ( date0 == 1 && month0 == 0 ) { 
document.write('<embed mastersound name="greeting1" src="000hap00.wav" width="2" height="0" autostart="' +pagestart0+ '" loop="false" hidden="true" controls="false">');
}
else {
document.write('<embed mastersound name="greeting1" src="000con00.wav" width="2" height="0" autostart="' +pagestart0+ '" loop="false" hidden="true" controls="false">');
}
}
document.write('<\/font>');
}
}
//
function asound0(code0,pagestart0) {
if (backgroundsound0 == true && code0 != "0") {
if (!pagestart0 || pagestart0) {
}
else {
pagestart0 = false;
}
document.write('<font class="fontspace1">');
document.write('<embed mastersound name="sound1" src="000slo00.mid" height="0" width="2" autostart="' +pagestart0+ '" loop="false" hidden="true" controls="false">');
document.write('<embed mastersound name="sound2" src="000oni00.mid" height="0" width="2" autostart="' +pagestart0+ '" loop="false" hidden="true" controls="false">');
document.write('<\/font>');
}
}
//
function soundindexpage0(code0) {
if (backgroundsound0 == true && code0 != "0") {
document.write('<font class="fontspace1"><br><\/font>');
document.write('<center>');
document.write('<table border="0" cellpadding="2" cellspacing="0" summary="">');
document.write('<tr><td colspan="2" class="tdpageinneranchor1a" align="center">');
document.write('<a href="javascript:void(0)" onClick="soundplay0\(\'sound1\'\);return false;" onMouseOver="window.status=\'Play music\';return true;" onMouseOut="window.status=\'\';return true;">');
// document.write('<font class="fonttextd2">[<\/font>Play\&nbsp\;1<font class="fonttextd2">]<\/font>');
document.write('<img src="images\/0play01.gif" width="23" height="22" hspace="0" vspace="0" border="0" alt="">');
document.write('<\/a>');
document.write('<\/td><td class="tdpageinneranchor1a" align="center">');
document.write('<font class="fonttextd2">Sound\&nbsp\;Snip<br><\/font>');
document.write('<\/td><td class="tdpageinneranchor1a" align="center">');
document.write('<a href="javascript:void(0)" onClick="soundstop0\(\'sound1\'\);return false;" onMouseOver="window.status=\'Play music\';return true;" onMouseOut="window.status=\'\';return true;">');
// document.write('<font class="fonttextd2">[<\/font>Stop\&nbsp\;1<font class="fonttextd2">]<\/font>');
document.write('<img src="images\/0stop01.gif" width="23" height="22" hspace="0" vspace="0" border="0" alt="">');
document.write('<\/a>');
document.write('<\/td><\/tr><\/table>');
document.write('<\/center>');
}
}
//
function soundcontents0(code0){
if (backgroundsound0 == true && code0 != "0"){
tdcontents0a2();
tdcontents0a1("sound");
document.write('<table border="0" cellpadding="0" cellspacing="0" summary="">');
document.write('<tr><td colspan="2" Rclass="td" align="center">');
document.write('<font class="fonttextd2">Sound\&nbsp\;Snip<\/font>');
document.write('<\/td></tr><tr><td align="center">');
document.write('<a href="javascript:void(0)" onClick="soundplay0\(\'sound1\'\);return false;" onMouseOver="window.status=\'Play music\';return true;" onMouseOut="window.status=\'\';return true;">');
// document.write('<font class="fonttextd2">[<\/font>PLAY<font class="fonttextd2">]<\/font>');
document.write('<img src="images\/0play01.gif" width="23" height="22" hspace="0" vspace="0" border="0" alt="">');
document.write('<\/a>');
document.write('<\/td><td align="center">');
document.write('<a href="javascript:void(0)" onClick="soundstop0\(\'sound1\'\);return false;" onMouseOver="window.status=\'Play music\';return true;" onMouseOut="window.status=\'\';return true;">');
// document.write('<font class="fonttextd2">[<\/font>STOP<font class="fonttextd2">]<\/font>');
document.write('<img src="images\/0stop01.gif" width="23" height="22" hspace="0" vspace="0" border="0" alt="">');
document.write('<\/a>');
document.write('<\/td><\/tr><\/table>');
}
}
//
function soundplay0(code0){
var sound0 = eval("document." + code0);
sound0.play();
}
//
function soundstop0(code0){
var sound0 = eval("document." + code0)
sound0.stop();
}
//
function endpagenote0() {
document.write('<font class="fonttextd">End of this Page<\/font>');
}
//
function blankspace0(position0) {
document.write('<font class="fonttextc">\&nbsp\;<\/font>');
}
//
function websitehost0() {
document.write('<font class="fonttextc">');
if (remotefiles0 != "") {
document.write('This website is hosted at ' + website00);
}
else {
document.write('\&nbsp\;');
}
document.write('<\/font>');
}
//
function websitedesign0() {
document.write('<font class="fonttextc">');
if (sitedesign0 != "") {
document.write('Website coded by ' + sitedesign0);
document.write('<br>Website published by '+ businessname0 + '<br><br>');
}
else {
document.write('\&nbsp\;');
}
document.write('<\/font>');
}
//
function counterline0(switch0) {
document.write('<font class="fonttextc">');
if (switch0 == true) {
if (countercommand0 != "") {
document.write(countercommand0);
}
else {
document.write('\.');
}
}
else {
document.write('\&nbsp\;');
}
document.write('<\/font>');
}
//
// example of command below
// pagedisplay0("03w.htm","firmcontents0","ZZZ03map01map01Xhtml","Click here for Soho Road map")
// target0 and destin0 can be empty for target='self' and no change of other frames
function pagedisplay0(href0,target0,destin0,linktext0) {
target0 = (target0 != "") ? " target='" +target0+ "' " : " target='_self'";
destin0 = (destin0 != "") ? "destination0(\'" + destin0 + "\')" : "";
destin0 = (destin0 != "") ? " onClick='" +destin0+ "' " : " ";
destin0 = destin0 + " ";
document.write('<a class="pageanchorsmall0" href="' +href0+ '" ');
document.write(target0 + destin0);
document.write('onMouseOver="window\.status=\'\'\;return true" onMouseOut="window\.status=\'\'\;return true">');
document.write(linktext0 + '<\/a>');
}
//
function writecreatedate0(datetext0) {
document.write('<font class="fonttextc">' + datetext0 + '<\/font>');
}
//
function datedisplay001(date01,wdayformat01,mformat01,yformat01,greeting01) {
var specialday01 = "";
var wday01 = date01.getDay();
var day01 = date01.getDate();
var month01 = date01.getMonth();
var year01 = date01.getYear();
var ystring01 = year01.toString();
if(ystring01.length < 4) {
year01 = year01 + 1900;
}
ystring01 = year01.toString();
year01 = ystring01;
//
if (greeting01 =="yes") {
if(day01 == "25" && month01 == "11") {
specialday01 = " \- Merry Christmas";
}
if(day01 == "1" && month01 == "0") {
specialday01 = " \- Happy New Year";
} 
}
day01 = "\&nbsp\;" + day01;
if (wdayformat01 == "full") {
var wdaychr01 = new Array("Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday");
wday01 = "\&nbsp\;" + wdaychr01[wday01] + " ";
}
if (wdayformat01 == "short") {
wdaychr01 = new Array("Sun","Mon","Tue","Wed","Thu","Fri","Sat");
wday01 = "\&nbsp\;" + wdaychr01[wday01] + " ";
}
if (wdayformat01=="nil") {
wday01 = "";
}
if (mformat01 == "full") {
var mchr01 = new Array("January","February","March","April","May","June","July","August","September","October","November","December");
month01 = mchr01[month01];
}
if (mformat01 == "short") {
mchr01 = new Array("Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec");
month01 = mchr01[month01];
}
var separator01 = "\&nbsp\;";
if(mformat01 == "number") {
separator01 = "\/";
}
if (yformat01 == "short") {
year01 = year01.substring(year01.length - 2,year01.length + 1);
}
var dtodisplay01 = wday01 + day01 + separator01 + month01 + separator01 + year01 + specialday01;
return dtodisplay01;
}
//
function datedisplay000(input00,input01)
{
var dtodisplay00 = "";
var fontopen01 = "";
var fontclose01 = "";
if (input00 == "topdate" || input00 == "today") {
var date00 = new Date();
var wdayformat00 = "full";
var mformat00 = "full";
var yformat00 = "full";
var greeting00 = "yes";
var updated00 = "";
}
if (input00 == "lastupdate") {
date00 = input01;
fontopen01 = "<font class='fonttextc'>"
fontclose01 = "<\/font>";
if (date00 != "") {
date00 = new Date(date00);
}
wdayformat00 = "nil";
mformat00 = "short";
yformat00 = "full";
greeting00 = "no";
updated00 = "Updated\: ";
}
if(date00 == "") {
dtodisplay00 = "";
updated00 = "";
}
else {
dtodisplay00 = datedisplay001(date00,wdayformat00,mformat00,yformat00,greeting00);
dtodisplay00 = fontopen01 + updated00 + dtodisplay00 + fontclose01;
}
return dtodisplay00;
}
//
function form00(emailname0,subject0) {
var missingfield0 = website00 + "00finc01.html";
var formsent0 = website00 + "00fsen01.html";
var formfailed0 = website00 + "00finc01.html";
var emailto0 = emailaddressee0 + '\@' + emaildomain0;
var emailfrom0 = emailaddressee0 + '\@' + emaildomain0;
emailto0 = (emailname0 == "") ? emailto0 : emailname0 + emaildomain0;
subject0 = subject0 + " " + remotefiles0;
document.write('<form name="form1" action="' +cgiscript0+ '" method="post">');
document.write('<input type="hidden" name="recipient" value="' +emailto0+ '">');
document.write('<input type="hidden" name="from" value="' +emailfrom0+ '">');
document.write('<input type="hidden" name="subject" value="' +subject0+ '">');
document.write('<input type="hidden" name="require" value="realname,phone1,email">');
document.write('<input type="hidden" name="missing_fields_redirect" value="' +missingfield0+ '">');
document.write('<input type="hidden" name="success_redirect" value="' +formsent0+ '">');
document.write('<input type="hidden" name="fail_redirect" value="' +formfailed0+ '">');

alert('script' + cgiscript0);
alert('emailto ' + emailto0);
alert('email from ' + emailfrom0);
alert('missing field ' + missingfield0);

}
//
function formsubmit00() {
document.write('<a class="formlink1" href="javascript:document.form1.submit()" onMouseOver="window.status=\'\'; return true;" onMouseOut="window.status=\'\'; return true;"> \&nbsp\; Send \&nbsp\; <\/a>');
}
//
function formreset00() {
document.write('<a class="formlink1" href="javascript:document.form1.reset()" onMouseOver="window.status=\'\'; return true;" onMouseOut="window.status=\'\'; return true;"> Clear\&nbsp\;Form <\/a>');
}
//
function formcancel00() {
document.write('<a class="formlink1" href="00fcan01.html" onMouseOver="window.status=\'\'; return true;" onMouseOut="window.status=\'\'; return true;"> \&nbsp\; Cancel \&nbsp\; <\/a>');
}
//
function body000(class0) {
document.write('<body onLoad="load0()" class="' +class0+ '" link="#800080" alink="#800080" vlink="#800080" marginwidth="0" leftmargin="0" marginheight="0" topmargin="0">');
}
// BELOW function returns the qty of lists as applicable
function listqty0() {
return qtyoflists0;
}
// ABOVE function returns the qty of lists as applicable
// ------------------------------------------------------
//
function firmtoptitle0(code0,fthref0,fttarget0,ftaddcode1,ftaddcode2,ftaddcode3) {
document.write('<table align="center" width="100\%" height="60" border="0" cellpadding="0" cellspacing="0" summary="">');
document.write('<tr><td valign="middle" align="left" width="10\%">');
document.write('<table border="0" cellpadding="0" cellspacing="0" summary="">');
document.write('<tr>');
if (ftaddcode1 == "0" || ftaddcode1 == "blank") {
if (ftaddcode1 == "blank") {
document.write('<td valign="middle" align="left">');
document.write('\&nbsp\;');
document.write('<\/td>');
}
}
else {
document.write('<td valign="middle" align="left">');
if (ftaddcode1 == "") {
document.write('<img src="images/0adv01.gif" hspace="0" vspace="0" border="0" alt="">');
}
else {
document.write('<img src="' +ftaddcode1+ '" hspace="0" vspace="0" border="0" alt="">');
}
document.write('<\/td>');
}
if (code0 != "homepage" && code0 != "center") {
if (ftaddcode2 == "0" || ftaddcode2 == "blank") {
if (ftaddcode2 == "blank") {
document.write('<td valign="middle" align="left">');
document.write('\&nbsp\;');
document.write('<\/td>');
}
}
else {
document.write('<td valign="middle" align="left">');
if (ftaddcode1 == "") {
document.write('<img src="images\/0adv02\.gif" hspace="0" vspace="0" border="0" alt="">');
}
else {
document.write('<img src="' +ftaddcode2+ '" hspace="0" vspace="0" border="0" alt="">');
}
document.write('<\/td>');
}
}
document.write('<\/tr><\/table>');
if (code0 == "homepage" || code0 == "center") {
document.write('<\/td><td valign="middle" align="center" width="80\%">');
} 
else {
document.write('<\/td><td valign="middle" align="center" width="90\%">');
}
document.write('<table align="center" border="0" cellpadding="0" cellspacing="0" summary="">');
document.write('<tr><td valign="middle" align="center">');
if (fthref0 != "0") {
fthref0 = indexfile0;
fttarget0 = "_top";
// document.write('<a class="titlelink1" href="' +fthref0+ '" target="' +fttarget0+ '" onMouseOver="window.status=\'Click to display Homepage\';return true" onMouseOut="window.status=\'\';return true">');
document.write('<img src="images\/0title0n\.gif" hspace="0" vspace="0" border="0" alt="">');
// document.write('<\/a>');
}
else {
document.write('<img src="images\/0title0n\.gif" hspace="0" vspace="0" border="0" alt="">');
}
document.write('<\/td><\/tr><\/table>');
if (code0 == "homepage" || code0 == "center") {
document.write('<\/td><td valign="middle" align="left" width="10\%">');
document.write('<table border="0" cellpadding="0" cellspacing="0" summary="">');
document.write('<tr>');
if (ftaddcode3 == "0" || ftaddcode3 == "blank") {
if (ftaddcode3 == "blank") {
document.write('<td valign="middle" align="right">');
document.write('\&nbsp\;');
document.write('<\/td>');
}
}
else {
document.write('<td valign="middle" align="right">');
if (ftaddcode3 == "") {
document.write('<img src="images\/0adv02\.gif" hspace="0" vspace="0" border="0" align="left" alt="">');
}
else {
document.write('<img src="' +ftaddcode3+ '" hspace="0" vspace="0" border="0" align="left" alt="">');
}
document.write('<\/td>');
}
document.write('<\/tr><\/table>');
}
document.write('<\/td><\/tr><\/table>');
}
//
function writetexttitle0(code0,writetitle0,writealign0) {
writealign0 = "";
if (code0 != "0" && writetitle0 != "") {
var writealign1 = "left";
var writefontstart1 = "";
var writefontend1 = "";
if (code0 == "b") {
writefontstart1 = '<h1 class="h1texttitle1b">';
writefontend1 = "<\/h1>";
}
if (code0 == "c") {
writefontstart1 = '<h1 class="h1texttitle1c">';
writefontend1 = "<\/h1>";
}
if (code0 == "d") {
writefontstart1 = '<h1 class="h1texttitle1d">';
writefontend1 = "<\/h1>";
}
writealign1 = (writealign0 == "") ? "left" : writealign1;
writealign1 = (writealign0 == "center") ? "center" : writealign1;
document.write('<div align="' +writealign1+ '">')
document.write(writefontstart1);
document.write(writetitle0);
document.write(writefontend1);
document.write('<\/div>');
}
}
//
function tablecontents0(listsuffix0) {
if (check2 == "msie") {
document.write('<table align="right" class="tcontentslisttitle1a" width="100\%" height="40" border="0" cellpadding="0" cellspacing="0" summary="">');
}
if (check2 == "nets") {
document.write('<table align="right" class="tcontentslisttitle1a" width="100\%" height="37" border="0" cellpadding="0" cellspacing="0" summary="">');
}
var listsuffix1= "";
if (qtyoflists0 > 1) {
listsuffix1 = "\/" + qtyoflists0.toString();
}
document.write('<tr><td class="tdcontentslisttitle1a" width="1\%">');
document.write('<img src="images\/0cortl01\.gif" hspace="0" vspace="0" border="0" alt="">');
document.write('<\/td><td class="tdcontentslisttitle1b" width="98\%"><font class="fontcontentslisttitle1a">');
document.write('WEBSITE');
document.write('<br><\/font><font class="fontcontentslisttitle1b">');
document.write('Contents ' + listsuffix0 + listsuffix1);
document.write('<\/font><\/td><td class="tdcontentslisttitle1c" width="1\%">');
document.write('<img src="images\/0cortr01\.gif" hspace="0" vspace="0" border="0" alt="">');
document.write('<\/td><\/tr><\/table>');
document.write('<br clear="all">');
}
//
function tablecontents0a() {
document.write('<table class="tcontentslist1a" width="100\%" align="right" border="0" cellpadding="0" cellspacing="0" summary=""><tr><td class="tdcontentslist1a">');
document.write('<font class="fontspace1"><br><br><\/font>');
document.write('<table align="left" width="100\%" border="0" cellpadding="2" cellspacing="0" summary="">');
}
//
function tdcontents0a1() {
document.write('<tr><td class="tdcontentslist1a" height="40" width="10"><img src="images\/00out01\.gif" vspace="0" hspace="0" border="0" align="top"><\/td><td class="tdcontentslist1b" height="40"><font class="fontnolink1a">');
}
//
function tdcontents0a2() {
document.write('<\/font><\/td><\/tr>');
}
//
function tdcontents0a3() {
document.write('<\/table><\/td><\/tr><\/table>');
}
//
function tablecontents2() {
document.write('<br clear="all">');
if (check2 == "msie") {
document.write('<table class="tcontentslist3a" width="100\%" align="right" border="0" cellpadding="0" cellspacing="0" summary=""><tr>');
}
if (check2 == "nets") {
document.write('<table class="tcontentslist3a" width="100\%" align="right" border="0" cellpadding="0" cellspacing="0" summary=""><tr>');
}
}
//
function tdcontents2a1() {
document.write('<td colspan="3" class="tdcontentslist3a" height="5"><font class="fontspace1">\&nbsp\;<\/font><\/td><\/tr><tr>');
document.write('<td class="tdcontentslist3a" width="1\%" height="15"><img src="images\/00out01\.gif" hspace="0" vspace="0" border="0" align="top"><\/td>');
document.write('<td colspan="2" class="tdcontentslist3b" height="15"><font class="fontnolink1a">');
}
//
function tdcontents2a2() {
document.write("<\/font><\/td><\/tr><tr>");
}
//
function tdcontents2b1() {
document.write('<td class="tdcontentslist3a" width="1\%" height="15"><img src="images\/00out01\.gif" width="8" height="8" hspace="0" vspace="0" border="0" align="top"><\/td>');
document.write('<td colspan="2" class="tdcontentslist3b" height="15">');
}
//
function tdcontents2b2() {
document.write('<\/td><\/tr><tr>');
}
//
function tdcontents2c1() {
document.write('<td class="tdcontentslist4a" align="left" valign="bottom" width="1\%" height="25"><img src="images\/0corbl01\.gif" hspace="0" vspace="0" border="0"><\/td>');
document.write('<td class="tdcontentslist4b" align="center" valign="bottom" width="98\%"><font class="fonttextc">');
}
//
function tdcontents2c2() {
document.write('<\/font><\/td><td class="tdcontentslist4c" align="right" valign="bottom" width="1\%" height="15"><img src="images\/0corbr01\.gif" hspace="0" vspace="0" border="0"><\/td>');
}
//
function tableend2() {
document.write('<\/tr><\/table>');
}
//
// topics list functions below
function tabletopicstitle0(listtitle0,listtitle1) {
if (check2 == "msie") {
document.write('<table align="right" class="ttopicslisttitle1a" width="100\%" height="40" border="0" cellpadding="0" cellspacing="0" summary="">');
}
if (check2 == "nets") {
document.write('<table align="right" class="ttopicslisttitle1a" width="100\%" height="40" border="0" cellpadding="0" cellspacing="0" summary="">');
}
document.write('<tr><td class="tdtopicslisttitle1a" width="1\%">');
document.write('<img src="images\/0cortl01\.gif" hspace="0" vspace="0" border="0" alt="">');
document.write('<\/td><td class="tdtopicslisttitle1b" width="99\%"><font class="fonttopicslisttitle1a">');
document.write(listtitle0);
document.write('<br><\/font><font class="fonttopicslisttitle1b">');
document.write(listtitle1);
document.write('<\/font><\/td><\/tr><\/table>');
}
//
function tabletopics0a() {
document.write('<table class="ttopicslist1a" width="100\%" align="right" border="0" cellpadding="0" cellspacing="0" summary=""><tr><td>');
document.write('<font class="fontspace1"><br><br><\/font>');
document.write('<table align="left" width="100\%" border="0" cellpadding="2" cellspacing="0" summary="">');
}
//
function tdtopics0a1() {
document.write('<tr><td  class="tdtopicslist1a" height="40" width="10"><img src="images\/00out01\.gif" hspace="0" vspace="0" border="0" align="top"><\/td><td class="tdtopicslist1b" height="40"><font class="fontnolink1a">');
}
//
function tdtopics0a2() {
document.write('<\/font><\/td><\/tr>');
}
//
function tdtopics0a3() {
document.write('<\/table><\/td><\/tr><\/table>');
}
//
function tabletopics1() {
document.write('<br clear="all">');
if (check2 == "msie") {
document.write('<table class="ttopicslist3a" width="100\%" align="right" border="0" cellpadding="0" cellspacing="0" summary=""><tr>');
}
if (check2 == "nets") {
document.write('<table class="ttopicslist3a" width="100\%" align="right" border="0" cellpadding="0" cellspacing="0" summary=""><tr>');
}
}
//
function tdtopics1a1() {
document.write('<td class="tdopicslist3a" align="left" valign="bottom" width="1\%" height="30"><img src="images\/0corbl01\.gif" hspace="0" vspace="0" border="0" alt=""><\/td>');
document.write('<td class="tdopicslist3a" align="center" valign="bottom" width="98\%"><font class="fonttextc">');
}
//
function tdtopics1a2() {
document.write('<\/font><\/td><td class="tdopicslist3a" align="right" valign="bottom" width="1\%" height="15"><img src="images\/0corbr01\.gif" hspace="0" vspace="0" border="0" alt=""><\/td>');
document.write('<\/tr><\/table>');
}
//
function tpagetitle1(code0) {
var currentpagefile0 = top.name;
var pagefilearray0 = currentpagefile0.split(extensionprefix0);
var pagetop0 = pagefilearray0[0] + "\." + pagefilearray0[1] + "\#top0";
var pagebottom0 = pagefilearray0[0] + "\." + pagefilearray0[1] + "\#bottom0";
document.write('<table class="tpagetitle1a" width="100\%" height="100\%" border="0" align="center" cellpadding="0" cellspacing="0" summary="">');
document.write('<tr><td class="tdpagetitle1a3" align="left" width="16\%">');
document.write('<a class="pageanchorsmall0b" target="page1" href="' +pagetop0+ '" onMouseOver="window\.status=\'\'\;return true" onMouseOut="window\.status=\'\'\;return true"> *Page\&nbsp\;Top <\/a>');
document.write('<font class="fontspace1"><br><\/font><a class="pageanchorsmall0b" target="page1" href="' +pagebottom0+ '" onMouseOver="window\.status=\'\'\;return true" onMouseOut="window\.status=\'\'\;return true"> *Page\&nbsp\;Bottom <\/a>');
document.write('<\/td><td class="tdpagetitle1a" align="center"><font class="fontpagetitle0">');
document.write(code0);
document.write('<\/font><\/td><td class="tdpagetitle1a4" align="right" width="16\%">');
document.write('<\/a>');
if (check2 == "msie" && printbar0 == false) {
document.write('<a class="pageanchorsmall0b" onClick="printalert0\(\'print0\'\)" href="javascript\:void\(0\)" onMouseOver="window\.status=\'\'\;return true" onMouseOut="window\.status=\'\'\;return true"> *Print\&nbsp\;Page <\/a>');
}
else {
if (printbar0 == true) {
document.write('<a class="pageanchorsmall0b" onClick="printalert0\(\'printno0\'\)" href="javascript\:void\(0\)" onMouseOver="window\.status=\'\'\;return true" onMouseOut="window\.status=\'\'\;return true"> *Print\&nbsp\;Help <\/a>');
}
else {
document.write('<a class="pageanchorsmall0b" onClick="printalert0\(\'printhelp0\'\)" href="javascript\:void\(0\)" onMouseOver="window\.status=\'\'\;return true" onMouseOut="window\.status=\'\'\;return true"> *Print\&nbsp\;Help <\/a>');
}
}
document.write('<font class="fontspace1"><br><\/font><a class="pageanchorsmall0b" target="_top" href="' +indexfile0+ '" onMouseOver="window\.status=\'\'\;return true" onMouseOut="window\.status=\'\'\;return true"> *Homepage <\/a>');
document.write('<\/td>');
}
//
function tdpagetitle1ab(code0) {
document.write('<td class="tdpagetitle1ab" align="right" width="1\%"><img src="images\/0cortr01\.gif" hspace="0" vspace="0" border="0" alt=""><\/td>');
}
//
function tpagetitleend1(code0) {
document.write('<\/tr><\/table>');
}
//
function tableinneranchor0B(code0) { 
if (code0 == "anchorstart") {
document.write('<a name="top0">');
}
document.write('<table class="tpageinneranchor1a" width="100\%" border="0" cellpadding="0" cellspacing="0" summary=""><tr><td class="tdpageinneranchor1a"><font class="fonttextdate1">');
}
//
function tdinneranchor0B(code0) {
document.write('<\/font><\/td><td class="tdpageinneranchor1a">');
}
//
function tableinneranchor0a(code0) { 
document.write('<table class="tpageinneranchor1b" border="0" cellpadding="2" cellspacing="0" align="right"><tr><td class="tdpageinneranchor1b">');
}
//
function tableinneranchor1a(code0) { 
document.write('<table class="tanchor1a" border="0" cellpadding="1" cellspacing="0" summary=""><tr><td class="tdanchor1a">');
}
//
function tableinnerend0(code0) { 
document.write('<\/td><\/tr><\/table>');
if (code0 == "anchorend") {
document.write('<\/a>');
}
}
//
function tdinneranchor0b(code0) { 
document.write('<\/td><td class="tdpageinneranchor1b">');
}
//
function tablepage0(code0) {
tclass0 = "tpage1a";
tdclass0 = "tdpagetext1a";
if (code0 == "welcome") {
tclass0 = "twelcome1a";
tdclass0 = "tdwelcome1a";
}
document.write('<table class="' +tclass0+ '" width="100\%" border="0" cellpadding="0" cellspacing="0" summary=""><tr>');
document.write('<td class="' +tdclass0+ '">');
}
//
function tablepageend0(code0) {
document.write('<\/td><\/tr><\/table>');
}
//
function tabletexttitle0(code0) {
// document.write('<br clear="all">');
document.write('<table width="100\%" border="0" cellpadding="0" cellspacing="0" summary="">');
document.write('<tr><td valign="top" width="1\%">');
pagelogowrite0("");
}
//
function tdtexttitle0(code0,texttitle0) {
document.write('<\/td><td valign="middle"><font class="fonttexttitle1a">');
document.write(texttitle0);
document.write('<\/font>')
}
//
function tabletexttitleend0(code0) {
document.write('<\/td><\/tr><\/table>');
}
//
function tablepagemenu0(code0) {
tdalign0 = "center";
if (code0 == "notice" || code0 == "noticewithline") {
tdalign0 = "left";
}
document.write('<table class="tanchor2a" width="100\%" border="0" cellpadding="3" cellspacing="0" summary="">');
if (code0 == "blank") {
document.write('<tr><td class="tdanchor2a1" align="center">');
document.write('<font class="fontspace1">');
document.write('\&nbsp\;');
document.write('<\/font>');
document.write('<\/td><\/tr>');
}
else {
if (code0 != "0" && code0 != "notice") {
document.write('<tr><td class="tdanchor2a1" align="center">');
document.write('<hr size="1" noshade>');
if (code0 != "noticewithline") {
document.write('<font class="fonttexttitle1d">Page\&nbsp\;Menu<\/font><font class="fonttexta"> \(Sub\-Titles\&nbsp\;On\&nbsp\;This\&nbsp\;Page\)<\/font>'); 
}
document.write('<\/td><\/tr>');
}
}
document.write('<tr><td class="tdanchor2a2" align="' +tdalign0+ '">');
if (code0 == "notice" || code0 == "noticewithline") {
document.write('<font class="fonttexttitle1b">');
}
else {
document.write('<font class="fontnolink1a">');
}
}
//
function tablepagemenuend0(code0) {
document.write('<\/font><\/td><\/tr><\/table>');
if (code0 != "blank" && code0 != "notice") {
document.write('<hr size="1" noshade>');
}
}
//
function tablepagetext0(code0) {
if (code0 == "top") {
document.write('<br>');
}
document.write('<table class="tpagetext1" width="100\%" border="0" cellpadding="0" cellspacing="0" summary="">');
}
//
function tdpagetextrow0(code0,tdwidth1,tdalign1) {
var tdclass1 = "";
tdclass1 = (code0=="") ? "tdcolumnbackground0" : tdclass1;
tdclass1 = (code0=="plain") ? "tdpagetext1a" : tdclass1;
tdwidth1 = (tdwidth1=="") ? "18\%" : tdwidth1;
tdalign1 = (tdalign1=="") ? "center": tdalign1;
document.write('<tr><td class="' +tdclass1+ '" align="' +tdalign1+ '" valign="top" width="' +tdwidth1+ '">');
}
//
function tdpagetext0a(code0,tdwidth1,tdalign1,tdalign2,textalign2,tdfont1,tdfont2,tdsubtitle0) {
var tdfont2a = '<h1 class="h1texttitle1b">';
var textalign2a = "left";
tdalign2a = "left";
tdwidth1 = "3\%";
tdalign2a = (tdalign2 == "center") ? "center" : tdalign2a;
tdalign2 = tdalign2a;
textalign2a = (textalign2 == "centertext") ? "center" : textalign2a;
textalign2 = textalign2a;
tdfont2a = (tdfont2 == "a") ? '<h1 class="h1texttitle1a">' : tdfont2a;
tdfont2a = (tdfont2 == "b") ? '<h1 class="h1texttitle1b">' : tdfont2a;
tdfont2a = (tdfont2 == "c") ? '<h1 class="h1texttitle1c">' : tdfont2a;
tdfont2 = tdfont2a;
tdfont2end = '<\/h1>';
document.write('<\/td>');
document.write('<td valign="top" width="' +tdwidth1+ '">');
document.write('<font class="fontspace1">\&nbsp\;<\/font>');
document.write('<\/td><td valign="top" align="' +tdalign2+ '">');
if (tdsubtitle0 != "") {
if (tdsubtitle0 != "0") {
document.write('<div align="' +textalign2+ '">');
document.write(tdfont2 + tdsubtitle0 + tdfont2end);
document.write('<\/div>');
}
}
else {
document.write('<font class="fontspace1"> \&nbsp\; <\/font>');
}
}
//
function tdpagetextrowend0(code0) {
document.write('<\/td><\/tr>');
}
//
function tablepagetextend0(code0) {
document.write('<\/td><\/tr><\/table>');
}
//
function tablepagenote0(code0) {
var notealign0="left";
var tclass0 = "tpage1d";
var tdclass0 = "tdpagetext1d";
if (code0 == "center0") {
notealign0 = "center";
}
document.write('<table class="' +tclass0+ '" width="100\%" border="0" cellpadding="0" cellspacing="0" summary=""><tr>');
document.write('<td class="' +tdclass0+ '" align="' +notealign0+ '">');
}
//
function tablepagenoteend0(code0) {
document.write('<hr class="linepagea" size="1" noshade>');
document.write('<\/td><\/tr><\/table>');
}
//
function pagebottomheader0(code0) {
tclass0 = "tpagebottomheader1a";
tdclass0 = "tdpagebottomheader1a";
if (code0 == "welcome") {
tclass0 = "twelcomebottomheader1a";
tdclass0 = "tdwelcomebottomheader1a";
}
document.write('<table class="' +tclass0+ '" width="100\%" border="0" align="center" cellpadding="0" cellspacing="0" summary="">');
document.write('<tr><td class="' +tdclass0+ '" align="center">');
document.write('<font  class="fonttextd"><a name="bottom0"> \&nbsp\; <\/a>');
}
//
function pagebottomheaderend0(code0) {
document.write('<\/font><\/td><\/tr><\/table>');
}
//
function tablebottom0(code0) {
tclass0 = "tpagebottom1a";
if (code0 == "welcome") {
tclass0 = "twelcomebottom1a";
}
document.write('<table class="' +tclass0+ '"  width="100\%" border="0" cellpadding="1" cellspacing="0" summary=""><tr>');
}
//
function tdbottom0(code0) {
var tdwidth0 = "";
var tdclass0 = "";
var tdalign0 = "left";
tdclass0 = (code0 == "1") ? "tdpage1c1" : tdclass0;
tdclass0 = (code0 == "2") ? "tdpage1c2" : tdclass0;
tdclass0 = (code0 == "3") ? "tdpage1c3" : tdclass0;
tdclass0 = (code0 == "1a") ? "tdpage1c1a" : tdclass0;
tdclass0 = (code0 == "2a") ? "tdpage1c2a" : tdclass0;
tdclass0 = (code0 == "3a") ? "tdpage1c3a" : tdclass0;
tdclass0 = (code0 == "1b") ? "tdpage1c1b" : tdclass0;
tdclass0 = (code0 == "2b") ? "tdpage1c2b" : tdclass0;
tdclass0 = (code0 == "3b") ? "tdpage1c3b" : tdclass0;
tdwidth0 = (code0 == "1") ? "36\%" : tdwidth0;
tdwidth0 = (code0 == "2") ? "28\%" : tdwidth0;
tdwidth0 = (code0 == "3") ? "36\%" : tdwidth0;
tdwidth0 = (code0 == "1a") ? "25\%" : tdwidth0;
tdwidth0 = (code0 == "2a") ? "50\%" : tdwidth0;
tdwidth0 = (code0 == "3a") ? "25\%" : tdwidth0;
tdwidth0 = (code0 == "1b") ? "15\%" : tdwidth0;
tdwidth0 = (code0 == "2b") ? "70\%" : tdwidth0;
tdwidth0 = (code0 == "3b") ? "15\%" : tdwidth0;
if (code0 !== "") {
tdalign0 = (code0.charAt(0)=="2") ? "center" : tdalign0;
tdalign0 = (code0.charAt(0,0)=="3") ? "right" : tdalign0;
}
document.write('<td align="' +tdalign0+ '" class="' +tdclass0+ '" width="' +tdwidth0+ '">');
}
//
function tdbottomcellend0(code0) {
document.write('<\/td>');
}
//
function tablebottomend0(code0) {
document.write('<\/tr><\/table>');
}
// ==== specific functions below ====
//
function pagelogowrite0() {
document.write('<img src="images\/0treble0\.gif" border="0" hspace="0" vspace="0" alt="">');
}
//
function pagebottomlogowrite0() { 
document.write('<img src="images\/0instr01\.jpg" width="70" height="64" border="0" hspace="0" vspace="0" alt="">');
}