var isNav = (navigator.appName.indexOf ("Netscape") != -1 );
var isIE  = (navigator.appName.indexOf ("Microsoft") != -1 );

var info_id = 1;

var wMsg=" --- All images Copyright 2007 Scott's Upholstery & Carpet Care * Coding by Mike Meek --- ";
window.status=wMsg;
defaultStatus = wMsg;

/*
** generic page top
*/
function gohead(phd) {
	phd.write( '<HTML><HEAD>' );
	phd.write( '<LINK REL="STYLESHEET" TYPE="text/css" HREF="default.css">' );
	phd.writeln( '<SCRIPT>' );
	phd.writeln( 'var wMsg="', wMsg, '";' );
	phd.writeln( 'window.status=wMsg;' );
	phd.writeln( 'defaultStatus = wMsg;' );
	phd.write(   '</SCRIPT>' );
	phd.write(   '</HEAD>');
	}

/*
** rates  
*/
function rates(id) {
	if(id == info_id) { return true; }
	else { info_id = id; }
	var phd = parent.info_box.document; 
   phd.open();
   gohead(phd);
	phd.write(   '<BODY bgcolor="#FFFF86">');
	phd.write(   '<P align="center">' );
	phd.writeln( '<TABLE WIDTH="100%" cellspacing=2 cellpadding=0 BORDER=0>' );
	phd.writeln( '<CAPTION><B><u>Hours & Rates</u></B></CAPTION>' );
	phd.writeln( '<TR><TD rowspan="5" width=50></TD>' );
	phd.writeln( '	   <TD>Carpet Cleaning:<br>&nbsp;&nbsp; $100.00 for the 1st two areas<br>&nbsp;&nbsp; $35.00 ea. additional area' );
	phd.writeln( '	   <br>&nbsp;&nbsp;&nbsp;These prices <u>include</u> prespray traffic lane cleaner when necessary!</TD></TR>' );
	phd.writeln( '<TR>' );
	phd.writeln( ' 	<TD>Carpet repair available - Rates vary</TD></TR>' );
	phd.writeln( '<TR>' );
	phd.writeln( ' 	<TD>Upholstery Cleaning: $10.00 per lineal ft.</TD></TR>' );
	phd.writeln( '<TR>' );
	phd.writeln( '	   <TD><br>Monday - Friday 9:00 am - 6:00 pm &nbsp;&nbsp;&nbsp;Sat. by Appt.</TD></TR>' );
	phd.writeln( '<TR>' );
	phd.writeln( ' 	<TD>Commercial Cleaning after business hours available.</TD></TR>' );
	phd.writeln( '</TABLE>' );
	
	phd.write( '</BODY></HTML>' );
	phd.close();
	return true;
	}


/*
** about  
*/
function about(id) {
	if(id == info_id) { return true; }
	else { info_id = id; }
	var phd = parent.info_box.document; 
   phd.open();
   gohead(phd);
	phd.write( '<BODY bgcolor="#FFFF86">');
	phd.write( '<P align="center">' );
	phd.write( '<TABLE WIDTH="96%" cellspacing=8 cellpadding=0 align="left" BORDER=0>' );
	phd.write( '<TR>' );
	phd.write( '	<TH valign="top"><font color="red"><u>About us</u>... </font><br></TH></TR>' );
	phd.write( '<TR>' );
	phd.write( '	<TD valign="top">' );
	phd.write( '			<ul><li>Scott has been in business since 1985.');
	phd.write( '				 <li>He has completed over 16,000 carpet jobs.' );
	phd.write( '				 <li>Scott is  an IICRC Certified Master Cleaning Technician.' );
	phd.write( '			</ul></TD>' );
	phd.write( '</TR></TABLE>' );

	phd.write( '</BODY></HTML>' );
	phd.close();
	return true;
	}

	
/*
** info  
*/
function info(id) {
	if(id == info_id) { return true; }
	else { info_id = id; }
	var phd = parent.info_box.document; 
   phd.open();
   gohead(phd);
	phd.write(   '<BODY bgcolor="#FFFF86">');
	phd.write(   '<P align="center">' );
	phd.writeln( '<TABLE WIDTH="98%" cellspacing=5 cellpadding=0 align="right" BORDER=0>' );
	phd.writeln( '<TR>' );
	phd.writeln( '	<TH valign="top"><font color="green"><u>Carpet Care</u>...</font></TH></TR>' );
	phd.writeln( '<TR>' );
	phd.writeln( '	<TD valign="top">' );
	phd.writeln( '			<ul><li>The number one cause of carpet wear is lack of proper cleaning. ' );
	phd.writeln( '				 <li>The best method for cleaning carpets is hot water extraction or "steam cleaning". ' );
	phd.writeln( '				 <li>Proper maintenance can add years to the life of your carpet. ' );
	phd.writeln( '				 <li>Soil in the carpet fibers is the real cause of carpet wear. ' );
	phd.writeln( '				 <li>The average carpet takes 5 to 9 hours to dry completely. ' );
	phd.writeln( '			</ul></TD>' );
	phd.writeln( '</TR></TABLE>' );

	phd.write( '</BODY></HTML>' );
	phd.close();
	return true;
	}
	

/*
** setTDstyle 
** 
** 
*/
function setTDstyle() {
	document.write('<STYLE> <!-- ');
	document.write('TD	{font-weight: bold; ' );
	if(navigator.appName == "Netscape") { 
		document.write( 'font-size: 15px;' );
		}
	document.write('}  //--></STYLE>');
	return;	
	/*	HM_NS = navigator.appName == ("Netscape");	*/
	}
	
/* 
** setTDsize  
** 
** 
*/
function setTDsize() {
/* alert(navigator.appName); */
	if(navigator.appName == "Netscape") { 
		document.write( '<STYLE> <!-- TD { font-size: 14px; }  --></STYLE>' );
		}
	}
 
