// Common JavaScript functions

/////////////////////////////////////////////////////////////////////
function DisplayHeader()
{
    document.open();
    document.writeln("<table border='0' width='100%' cellspacing='0' cellpadding='0' height='70' bgcolor='#FFFFFF' background='images/g1.gif'>");
    document.writeln("  <tr>");
    document.writeln("    <td width='160' height='70' valign='bottom' align='center' nowrap bgcolor='#FFFFFF'>");
    document.writeln("    <p style='text-indent: 0; margin: 0;'>");
    document.writeln("    <a href='http://www.video-convert-master.com/'><img border='0' src='images/logo.gif' alt='Homepage of Video Convert Master' title='Homepage of Video Convert Master'></a></p>");
    document.writeln("    </td>");
    document.writeln("    <td align='right'>");
    document.writeln("<div id='top'>");
    document.writeln("	<div id='header'>");
    document.writeln("		<div id='ind_nav'>");
    document.writeln("			<ul>");
    document.writeln("				<li>");
    document.writeln("				<select class='topmenu_website' onchange='MM_jumpMenu(\"parent\",this,0)' name='language'>");
    document.writeln("				<option value='#' selected>Select Language</option>");
    document.writeln("				<option value='http://www.video-convert-master.com/'>English</option>");
    document.writeln("				<option value='http://www.video-convert-master.com/german/'>Deutsch</option>");
    document.writeln("				<option value='http://www.video-convert-master.com/it/'>Italiano</option>");
    document.writeln("			</ul>");
    document.writeln("		</div>");
    document.writeln("	</div>");
    document.writeln("</div>");
    document.writeln("    <table border='0' cellpadding='0' cellspacing='0' width='100%'>");
    document.writeln("      <tr>");
    document.writeln("        <td style='PADDING-RIGHT: 10px;' align='right'>");
    document.writeln("        <img border='0' src='images/sp.gif' width='10' height='10'></td>");
    document.writeln("      </tr>");
    document.writeln("    </table>");
    document.writeln("    </td>");
    document.writeln("  </tr>");
    document.writeln("</table>");
    document.writeln("<table border='0' width='100%' cellspacing='0' cellpadding='0' height='5' bgcolor='#FFFFFF'>");
    document.writeln("  <tr>");
    document.writeln("    <td colspan='2' width='100%' height='5' valign='center' align='center' nowrap background='images/bg.gif'>");
    document.writeln("    </td>");
    document.writeln("  </tr>");
    document.writeln("</table>");

}

/////////////////////////////////////////////////////////////////////
function DisplayNavBar()
{
    document.open();
    document.writeln("<table border='0' width='100%' cellspacing='0' cellpadding='0'>");
    document.writeln("<tr>");
    document.writeln("<td background='images/bg.gif'>");
    document.writeln("</td>");
    document.writeln("</tr>");
    document.writeln("</table>");

}


/////////////////////////////////////////////////////////////////////
function DisplayNavShade()
{
    document.open();
    document.writeln("<table border='0' width='100%' cellspacing='0' cellpadding='0'>");
    document.writeln("  <tr>");
    document.writeln("    <td WIDTH='100%' background='images/s1.gif'>");
    document.writeln("    <img SRC='images/sp.gif' width='8' HEIGHT='8' ALT BORDER='0'></td>");
    document.writeln("  </tr>");
    document.writeln("</table>");
}



/////////////////////////////////////////////////////////////////////
function DisplayStatus()
{
    document.open();
    document.writeln("<table CELLPADDING='0' CELLSPACING='0' WIDTH='100%' BORDER='0' >");
    document.writeln("  <tr>");
    document.writeln("    <td bgcolor='#FCFCFC'><font size='1'>");
    document.writeln("    <img border='0' src='images/sp.gif' width='1' height='1'></font></td>");
    document.writeln("  </tr>");
    document.writeln("  <tr>");
    document.writeln("    <td align='center' VALIGN='BOTTOM' bgcolor='#E0E0E0'>");
    document.writeln("      <p align='center' style='margin-top: 2pt; margin-bottom: 2pt; margin-left: 8pt'>        ");
    document.writeln("  	  <a href='index.htm' class='bodytext'>Video Convert Master</a><span class='copyright'> | </span>");
    document.writeln("  	  <a href='buy_video_converter.htm' class='bodytext'>How to Buy</a><span class='copyright'> | </span>");
    document.writeln("	      <a href='download_video_converter.htm' class='bodytext'>Downloads</a><span class='copyright'> | </span>");
    document.writeln("	      <a href='support_video_converter.htm' class='bodytext'>Support</a><span class='copyright'> | </span>");
    document.writeln("	      <a href='company.htm' class='bodytext'>About</a>");
    document.writeln("        <table width='100%' border='0' style='margin-bottom: 8pt'>");
    document.writeln("        <tr>");
    document.writeln("          <td width='100%'  align='center'><span class='copyright'><b>Copyright(c)2009, <a target='_blank' href='http://www.mcfunsoft.com'>McFunSoft</a>, Inc. All rights reserved.</b>");
    document.writeln("            <a href='terms.htm' class='copyright'>Terms of Use</a> | <a href='privacy.htm' class='copyright'>Privacy Statement</a></span>");
    document.writeln("		  </td>");
    document.writeln("        </tr>");
    document.writeln("      </table>");
    document.writeln("	</td>");
    document.writeln("  </tr>");
    document.writeln("</table>");
}

/////////////////////////////////////////////////////////////////////
function DisplayStatusShade()
{
    document.open();
    document.writeln("<table border='0' width='100%' cellspacing='0' cellpadding='0'>");
    document.writeln("  <tr>");
    document.writeln("    <td WIDTH='100%' background='images/s2.gif'>");
    document.writeln("    <img SRC='images/sp.gif' width='8' HEIGHT='8' ALT BORDER='0'></td>");
    document.writeln("  </tr>");
    document.writeln("</table>");
}