
function writeHeader(rootPath) {
   document.write('<p class="siteTitle"><img src="favicon.ico" border="0"> dev.FYIcenter.com</p>');
   document.write('<p class="siteSubTitle"><form method="get" action="http://www.google.com/custom" target="_top">');
   document.write('<input type="hidden" name="domains" value="dev.fyicenter.com"></input>');
   document.write('<input type="text" name="q" size="40" maxlength="255" value=""></input> &nbsp;');
   document.write('<input type="submit" name="sa" value="Google Search"></input>');
   document.write('<input type="radio" name="sitesearch" value="dev.fyicenter.com" checked="checked"></input>');
   document.write('<font size="-1" color="#000000">This site</font>');
   document.write('<input type="radio" name="sitesearch" value=""></input>');
   document.write('<font size="-1" color="#000000">Web</font>');
   document.write('<input type="hidden" name="client" value="pub-4844318048770734"></input>');
   document.write('<input type="hidden" name="forid" value="1"></input>');
   document.write('<input type="hidden" name="ie" value="ISO-8859-1"></input>');
   document.write('<input type="hidden" name="oe" value="ISO-8859-1"></input>');
   document.write('<input type="hidden" name="cof" value="GALT:#008000;GL:1;DIV:#336699;VLC:663399;AH:center;BGC:FFFFFF;LBGC:336699;ALC:0000FF;LC:0000FF;T:000000;GFNT:0000FF;GIMP:0000FF;FORID:1;"></input>');
   document.write('<input type="hidden" name="hl" value="en"></input>');
   document.write('</form></p>');
}

function writeFooter(rootPath) {
   document.write('<p class="copyRight">Copyright &#169; 2006 FYIcenter.com</p>');
}

function writeMenuA(rootPath) {
   document.write('&nbsp;<a href="' + rootPath + 'index.html">Home<a><br>');
   document.write('&nbsp;<a href="' + rootPath + 'search.html">Search<a><br>');
   document.write('&nbsp;<a href="' + rootPath + 'link_us.html">Link to Us<a><br>');
   document.write('&nbsp;<br>');
   document.write('&nbsp;<a href="' + rootPath + 'jobs/index.html">Developer Jobs<a><br>');
   document.write('&nbsp;<a href="http://www.fyicenter.com/forum/index.php?forumID=2">Post Jobs</a><br>');
   document.write('&nbsp;<a href="' + rootPath + 'interview/index.html">Interview Questions<a><br>');
   document.write('&nbsp;<br>');
   document.write('&nbsp;<a href="' + rootPath + 'faq/index.html">Tutorials/FAQs<a><br>');
   document.write('&nbsp;<a href="http://dev.fyicenter.com/dir/index.php">Resource Directory</a>');
}

function writeMenuB(rootPath) {
   document.write('<b>Related Websites:</b>');
   document.write('<br/>&nbsp;<a href="http://sqa.fyicenter.com">Software QA Info</a>');
   document.write('<br/>&nbsp;<a href="http://dev.fyicenter.com">Developer Resources</a>');
   document.write('<br/>&nbsp;<a href="http://dba.fyicenter.com">DBA Resources</a>');
   document.write('<br/>&nbsp;<a href="http://tutorial.fyicenter.com">Tutorial Directory</a>');
   document.write('<br/>&nbsp;<a href="http://windows.fyicenter.com">Windows Information</a>');
   document.write('<br/>&nbsp;<a href="http://biotech.fyicenter.com">BioTech Resources</a>');
   document.write('<br/>&nbsp;<a href="http://link.fyicenter.com">Link Directory</a>');
   document.write('<br/>&nbsp;<a href="http://www.fyicenter.com/forum/">Job Forums</a>');
}

function writeListA(rootPath) {
document.write('<p class="indexTitle">CSS Tutorials by FYIcenter.com:</p>');
document.write('<p class="toc_item"><a href="css_basic_introduction.php">Introduction To CSS Basics</a></p>');
document.write('<p class="toc_item"><a href="css_html_elements_formatting_model.php">HTML Formatting Model: Block, Inline and Floating Elements</a></p>');
document.write('<p class="toc_item"><a href="css_multiple_element_formatting_rules.php">Understanding Multiple Element Formatting Rules</a></p>');
document.write('<p class="toc_item"><a href="psp_fading_images_to_background.php">Fading Images to Background Colors with PSP</a></p>');
document.write('<p class="toc_item"><a href="css_page_layout_and_background_design.php">Page Layout and Background Image Design</a></p>');

document.write('<br/>');
document.write('<p class="indexTitle">CSS Tutorials Directory: <font color=red>NEW</font></p>');
document.write('<p class="toc_item">A comprehensive directory of well written tutorials with 300+ entries and growing. All entries are reviewed and edited by FYIcenter.com.</p>');
document.write('<p class="indexMore"><a href="http://tutorial.fyicenter.com/index.php?K=1">Visit CSS Tutorials Directory...</a></p>');
document.write('<p class="indexMore"><a href="http://tutorial.fyicenter.com/submit.php?Keys=1">Add Your CSS Tutorials...</a></p>');

document.write('<br/>');
document.write('<p class="indexTitle">Other Tutorials by FYIcenter.com:</p>');
document.write('<p class="toc_item"><a href="../xhtml/index.html">XHTML Tutorials &amp; FAQs</a> (182 entries)</p>');
document.write('<p class="toc_item"><a href="../css/index.html">CSS Tutorials &amp; FAQs</a> (83 entries)</p>');
document.write('<p class="toc_item"><a href="../rss/index.html">RSS Tutorials &amp; FAQs</a> (49 entries)</p>');
document.write('<p class="toc_item"><a href="../php/index.html">PHP Tutorials &amp; FAQs</a> (204 entries)</p>');
document.write('<p class="toc_item"><a href="../mysql/index.html">MySQL Tutorials &amp; FAQs</a> (268 entries)</p>');
document.write('<p class="toc_item"><a href="../oracle/index.html">Oracle Tutorials &amp; FAQs</a> (400 entries)</p>');
document.write('<p class="indexMore"><a href="../index.html">More...</a></p>');
}

function writeListB(rootPath) {
document.write('<br/>');
document.write('<p class="indexTitle">Related Resources:</p>');
document.write('<p class="toc_item"><a href="http://dev.fyicenter.com">Developer Resources</a></p>');
document.write('<p class="toc_item"><a href="http://sqa.fyicenter.com">Software QA Resources</a></p>');
document.write('<p class="toc_item"><a href="http://dba.fyicenter.com">Database Administrator Resources</a></p>');
document.write('<p class="toc_item"><a href="' + rootPath + 'interview/index.html">Job Interview Questions</a></p>');
}

function writeAds120x90(rootPath) {
google_ad_client = "pub-4844318048770734";
google_ad_width = 120;
google_ad_height = 90;
google_ad_format = "120x90_0ads_al_s";
google_ad_channel ="6976835346";
google_color_border = "f0e0c0";
google_color_bg = "f0e0c0";
google_color_link = "0000FF";
google_color_text = "000000";
google_color_url = "008000";
}

function writeAds468x60(rootPath) {
google_ad_client = "pub-4844318048770734";
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = "468x60_as";
google_ad_type = "text";
google_ad_channel ="6976835346";
google_color_border = "f0e0c0";
google_color_bg = "f0e0c0";
google_color_link = "0000FF";
google_color_text = "000000";
google_color_url = "008000";
}

function writeAds250x250(rootPath) {
google_ad_client = "pub-4844318048770734";
google_ad_width = 250;
google_ad_height = 250;
google_ad_format = "250x250_as";
google_ad_type = "text";
google_ad_channel ="6976835346";
google_color_border = "f0e0c0";
google_color_bg = "f0e0c0";
google_color_link = "0000FF";
google_color_text = "000000";
google_color_url = "008000";
}

function writeNav1(curPath, curFile) {
document.write('<p class="syndication">');
document.write(' <a href="http://fusion.google.com/add?feedurl='+curPath+'/atom.xml"><img src="add_google.gif" border="0" alt="Add to Google"></a>');
document.write(' <a href="http://add.my.yahoo.com/rss?url='+curPath+'/atom.xml"><img border="0" src="http://us.i1.yimg.com/us.yimg.com/i/us/my/addtomyyahoo4.gif" alt="Add to MyYahoo!"></a>');
document.write(' <a href="http://www.bloglines.com/sub/'+curPath+'/atom.xml"><img src="http://www.bloglines.com/images/sub_modern11.gif" border="0" alt="Add to Bloglines"/></a>');
document.write(' <a href="http://www.newsgator.com/ngs/subscriber/subext.aspx?url='+curPath+'/atom.xml"><img runat="server" src="http://www.newsgator.com/images/ngsub1.gif" alt="Add to NewsGator" border="0" /></a>');
document.write(' <a href="http://www.netvibes.com/subscribe.php?url='+curPath+'/atom.xml"><img src="http://www.netvibes.com/img/add2netvibes.gif" border="0" alt="Add to Netvibes"/></a>');
document.write(' <a href="atom.xml"><img src="rss_feed.gif" alt="RSS Feed (Atom 1.0)" border="0"></a>');
document.write('</p>');
document.write('<p class="syndication">');
document.write(' <a href="http://digg.com/submit?phase=2&url='+curPath+'/'+curFile+'"><img src="http://www.digg.com/favicon.ico" alt="Add to Digg" border="0"></a>');
document.write(' <a href="http://del.icio.us/post?url='+curPath+'/'+curFile+'&title=FAQs, Tutorials and Tips"><img src="http://del.icio.us/favicon.ico" alt="Add to del.icio.us" border="0"></a>');
document.write('</p>');
}

function writeNav2(curPath, curFile) {
document.write('<p class="syndication">');
document.write(' <a href="http://fusion.google.com/add?feedurl='+curPath+'/atom.xml"><img src="add_google.gif" border="0" alt="Add to Google"></a>');
document.write(' <a href="http://add.my.yahoo.com/rss?url='+curPath+'/atom.xml"><img border="0" src="http://us.i1.yimg.com/us.yimg.com/i/us/my/addtomyyahoo4.gif" alt="Add to MyYahoo!"></a>');
document.write(' <a href="http://www.bloglines.com/sub/'+curPath+'/atom.xml"><img src="http://www.bloglines.com/images/sub_modern11.gif" border="0" alt="Add to Bloglines"/></a>');
document.write(' <a href="http://www.newsgator.com/ngs/subscriber/subext.aspx?url='+curPath+'/atom.xml"><img runat="server" src="http://www.newsgator.com/images/ngsub1.gif" alt="Add to NewsGator" border="0" /></a>');
document.write(' <a href="http://www.netvibes.com/subscribe.php?url='+curPath+'/atom.xml"><img src="http://www.netvibes.com/img/add2netvibes.gif" border="0" alt="Add to Netvibes"/></a>');
document.write(' <a href="atom.xml"><img src="rss_feed.gif" alt="RSS Feed (Atom 1.0)" border="0"></a>');
document.write('</p>');
document.write('<p class="syndication">');
document.write(' <a href="http://digg.com/submit?phase=2&url='+curPath+'/'+curFile+'"><img src="http://www.digg.com/favicon.ico" alt="Add to Digg" border="0"></a>');
document.write(' <a href="http://del.icio.us/post?url='+curPath+'/'+curFile+'&title=FAQs, Tutorials and Tips"><img src="http://del.icio.us/favicon.ico" alt="Add to del.icio.us" border="0"></a>');
document.write('</p>');
}
