// Common JavaScript functions

/////////////////////////////////////////////////////////////////////
function DisplayHeader()
{
    document.open();
    document.writeln("<table border='0' width='100%' cellspacing='0' cellpadding='0' height='50' bgcolor='#FFFFFF' background='/fr/images/bg1.gif'>");
    document.writeln("  <tr>");
    document.writeln("    <td width='160' height='50' valign='center' align='center' nowrap bgcolor='#FFFFFF'>");
    document.writeln("    <p style='text-indent: 0; margin: 0'>");
    document.writeln("    <a href='http://www.mcfunsoft.com/fr/'><img border='0' src='/fr/images/McFun_logo.gif' width='138' height='44'></a></p>");
    document.writeln("    </td>");
    document.writeln("    <td align='right'>");
    document.writeln("    <table border='0' cellpadding='0' cellspacing='0' width='100%'>");
    document.writeln("      <tr>");
    document.writeln("        <td style='PADDING-RIGHT: 20px; ' vAlign='bottom' align='right'>");
    document.writeln("        <table cellSpacing='0' cellPadding='0' border='0'>");
    
    document.writeln("            <tr>");
    document.writeln("              <td ><a href='http://www.mcfunsoft.com/'>");
    document.writeln("              <img border='0' src='/fr/images/flags/en.gif' hspace='3' width='18' height='12'></a></td>");
    document.writeln("              <td width='10' align='center'>");
    document.writeln("              <img height='13' hspace='2' src='/fr/images/flags/d1.gif' width='1' border='0'></td>");
    document.writeln("              <td ><a href='http://www.mcfunsoft.com/fr/'>");
    document.writeln("              <img border='0' src='/fr/images/flags/fr.gif' hspace='3' width='18' height='12'></a></td>");
    document.writeln("              <td width='10' align='center'>");
    document.writeln("              <img height='13' hspace='2' src='/fr/images/flags/d1.gif' width='1' border='0'></td>");
    document.writeln("              <td ><a href='http://www.mcfunsoft.com/de/'>");
    document.writeln("              <img border='0' src='/fr/images/flags/de.gif' hspace='3' width='18' height='12'></a></td>");
    document.writeln("            </tr>");
        
    document.writeln("        </table>");
    document.writeln("        </td>");
    document.writeln("      </tr>");
    document.writeln("      <tr>");
    document.writeln("        <td style='PADDING-RIGHT: 10px;' align='right'>");
    document.writeln("        <img border='0' src='/fr/images/sp.gif' width='10' height='10'></td>");
    document.writeln("      </tr>");
    document.writeln("    </table>");
    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='/fr/images/bk1.gif'>");
    document.writeln("<div align='center'>");
    document.writeln("<center>");
    document.writeln("<script type='text/javascript' language='JavaScript1.2'>");
    document.writeln("<!--");
    document.writeln("stm_bm(['mainmenu',430,'','/fr/images/sp.gif',0,'','',1,0,0,0,50,1,0,0,'','',0],this);");
    document.writeln("stm_bp('p0',[0,4,0,0,3,0,15,0,100,'progid:DXImageTransform.Microsoft.Fade(overlap=.5,enabled=0,Duration=0.20)',-2,'',-2,90,0,0,'#7f7f7f','#000000','/fr/images/bk1.gif',3,0,0,'#000000']);");
    document.writeln("stm_ai('p0i0',[6,16,'transparent','/fr/images/d2.gif',2,15,0]);");
    document.writeln("stm_ai('p0i1',[0,'Produits','','',-1,-1,0,'http://www.mcfunsoft.com/fr/products.htm','_self','','','','',0,0,0,'','',-1,-1,0,0,1,'#f0f0f0',1,'#f0f0f0',1,'','',0,3,0,0,'#ffffff','#ffffff','#333333','#cc0000','bold 8pt Verdana','bold 8pt Verdana',0,0]);");
    document.writeln("stm_bp('p1',[1,4,-10,4,0,3,7,0,100,'',-2,'',-2,90,0,0,'#cccccc','transparent','',3,1,1,'#808080']);");
    document.writeln("stm_aix('p1i0','p0i1',[0,'McFunSoft Video/Capture/Convert/Burn DVD Solution         ','','',-1,-1,0,'http://www.mcfunsoft.com/fr/mvs/','_self','','','/fr/images/a1.gif','/fr/images/a1.gif',7,7,0,'','',0,0,0,0,1,'#f0f0f0',0,'#969696',0,'','',3,3,0,0,'#ffffff','#ffffff','#505050','#ffffff','11px Verdana','11px Verdana']);");
    document.writeln("stm_aix('p1i1','p0i0',[6,1,'#cccccc','',-1,-1]);");
    document.writeln("stm_aix('p1i2','p1i0',[0,'McFunSoft Video Convert Master','','',-1,-1,0,'http://www.mcfunsoft.com/fr/vcm/']);");
    document.writeln("stm_aix('p1i3','p1i1',[]);");

    document.writeln("stm_aix('p1i4','p1i0',[0,'McFunSoft Audio Studio','','',-1,-1,0,'http://www.mcfunsoft.com/fr/mas/']);");
    document.writeln("stm_aix('p1i5','p1i1',[]);");
    document.writeln("stm_aix('p1i6','p1i0',[0,'McFunSoft Audio Editor','','',-1,-1,0,'http://www.mcfunsoft.com/fr/mae/']);");
    document.writeln("stm_aix('p1i7','p1i1',[]);");
    document.writeln("stm_aix('p1i8','p1i0',[0,'Flash Decompile Master','','',-1,-1,0,'http://www.mcfunsoft.com/fr/flash_decompile_master/']);");
    document.writeln("stm_aix('p1i9','p1i1',[]);");

    document.writeln("stm_aix('p1i4','p1i0',[0,'Manuels','','',-1,-1,0,'http://www.mcfunsoft.com/fr/doc/']);");
    document.writeln("stm_aix('p1i5','p1i1',[]);");
    document.writeln("stm_aix('p1i6','p1i0',[0,'FAQ de nos produits','','',-1,-1,0,'http://www.mcfunsoft.com/fr/support/techfaqs.htm']);");
    document.writeln("stm_ep();");
    document.writeln("stm_aix('p0i2','p0i0',[]);");
    document.writeln("stm_aix('p0i3','p0i1',[0,'T&eacute;l&eacute;chargements','','',-1,-1,0,'http://www.mcfunsoft.com/fr/download/']);");
    document.writeln("stm_bpx('p2','p1',[1,4,-10,4,0,3,7,7]);");
    document.writeln("stm_aix('p2i0','p0i1',[0,\"Versions d'essai 30 jours  \",'','',-1,-1,0,'http://www.mcfunsoft.com/fr/download/','_self','','','/fr/images/a1.gif','/fr/images/a1.gif',0,0,0,'/fr/images/a2.gif','/fr/images/a2.gif',7,7,0,0,1,'#f0f0f0',0,'#969696',0,'','',3,3,0,0,'#ffffff','#ffffff','#505050','#ffffff','bold 11px Verdana','bold 11px Verdana']);");
    document.writeln("stm_bpx('p3','p1',[1,4,187,-20]);");
    document.writeln("stm_aix('p3i0','p1i0',[0,\"Tous les produits en version d'essai\",'','',-1,-1,0,'http://www.mcfunsoft.com/fr/download/']);");
    document.writeln("stm_aix('p3i1','p1i1',[]);");
    document.writeln("stm_aix('p3i2','p1i0',[0,'McFunSoft Video/Capture/Convert/Burn DVD Solution          ','','',-1,-1,0,'http://www.mcfunsoft.com/fr/download/index.htm#McFunSoft_Video_Capture/Convert/Burn_DVD_Solution_Download']);");
    document.writeln("stm_aix('p3i3','p1i1',[]);");
    document.writeln("stm_aix('p3i4','p1i0',[0,'McFunSoft Video Convert Master','','',-1,-1,0,'http://www.mcfunsoft.com/fr/download/index.htm#Video_Convert_Master_Download']);");
     document.writeln("stm_aix('p3i5','p1i1',[]);"); 
    document.writeln("stm_aix('p3i6','p1i0',[0,'McFunSoft Audio Studio','','',-1,-1,0,'http://www.mcfunsoft.com/fr/download/index.htm#McFunSoft_Audio_Studio_Download']);");
    document.writeln("stm_aix('p3i7','p1i1',[]);");
    document.writeln("stm_aix('p3i8','p1i0',[0,'McFunSoft Audio Editor','','',-1,-1,0,'http://www.mcfunsoft.com/fr/download/index.htm#McFunSoft_Audio_Editor_Download']);");
    document.writeln("stm_aix('p3i9','p1i1',[]);");
    document.writeln("stm_aix('p3i10','p1i0',[0,'Flash Decompile Master','','',-1,-1,0,'http://www.mcfunsoft.com/fr/download/index.htm#Flash_Decompile_Master_Download']);");
    
    document.writeln("stm_ep();");
    document.writeln("stm_aix('p2i1','p1i1',[]);");
    document.writeln("stm_aix('p2i2','p1i0',[0,'Manuels des produits','','',-1,-1,0,'http://www.mcfunsoft.com/fr/doc/']);");
    document.writeln("stm_ep();");
    document.writeln("stm_aix('p0i4','p0i0',[]);");
    document.writeln("stm_aix('p0i5','p0i1',[0,' Comment acheter','','',-1,-1,0,'http://www.mcfunsoft.com/fr/purchase/','_self','','','/fr/images/c2.gif','/fr/images/c2.gif',15,12]);");
    document.writeln("stm_bpx('p4','p1',[]);");
    document.writeln("stm_aix('p4i0','p2i0',[0,'Boutique en ligne McFun','','',-1,-1,0,'http://www.mcfunsoft.com/fr/purchase/','_self','','','/fr/images/a1.gif','/fr/images/a1.gif',7,7,0,'','',0,0]);");
    document.writeln("stm_aix('p4i1','p1i1',[]);");
    document.writeln("stm_aix('p4i2','p1i0',[0,'T&eacute;l&eacute;phone/Fax/Courrier/Ch&egrave;que','','',-1,-1,0,'http://www.mcfunsoft.com/fr/purchase/index.htm#Other_Ways_to_Purchase']);");
    document.writeln("stm_aix('p4i3','p1i1',[]);");
    document.writeln("stm_aix('p4i4','p1i0',[0,'Centre de r&eacute;ductions','','',-1,-1,0,'http://www.mcfunsoft.com/fr/discount.htm']);");
    document.writeln("stm_aix('p4i5','p1i1',[]);");
    document.writeln("stm_aix('p4i6','p1i0',[0,'Licences en volume','','',-1,-1,0,'http://www.mcfunsoft.com/fr/purchase/volumelicense.htm']);");
    document.writeln("stm_aix('p4i7','p1i1',[]);");
    document.writeln("stm_aix('p4i8','p1i0',[0,\"Qu'est-ce qu'une licence à vie McFun ?         \",'','',-1,-1,0,'http://www.mcfunsoft.com/fr/purchase/lifelicense.htm']);");
    document.writeln("stm_aix('p4i9','p1i1',[]);");
    document.writeln("stm_aix('p4i10','p1i0',[0,'FAQ concernant les commandes','','',-1,-1,0,'http://www.mcfunsoft.com/fr/support/orderingfaqs.htm']);");
    document.writeln("stm_ep();");
    document.writeln("stm_aix('p0i6','p0i0',[]);");
    document.writeln("stm_aix('p0i7','p0i1',[0,'Support','','',-1,-1,0,'http://www.mcfunsoft.com/fr/support/']);");
    document.writeln("stm_bpx('p5','p1',[]);");
    document.writeln("stm_aix('p5i0','p1i0',[0,\"Centre d'apprentissage  \",'','',-1,-1,0,'http://www.mcfunsoft.com/fr/support/learning.htm']);");
    document.writeln("stm_aix('p5i1','p1i1',[]);");
    document.writeln("stm_aix('p5i2','p1i0',[0,'FAQ des produits','','',-1,-1,0,'http://www.mcfunsoft.com/fr/support/techfaqs.htm']);");
    document.writeln("stm_aix('p5i3','p1i1',[]);");
    document.writeln("stm_aix('p5i4','p1i0',[0,'FAQ concernant les commandes','','',-1,-1,0,'http://www.mcfunsoft.com/fr/support/orderingfaqs.htm']);");
    document.writeln("stm_aix('p5i5','p1i1',[]);");
    document.writeln("stm_aix('p5i6','p1i0',[0,'Autres FAQ','','',-1,-1,0,'http://www.mcfunsoft.com/fr/support/otherfaqs.htm','_top']);");
    document.writeln("stm_aix('p5i7','p1i1',[]);");
    document.writeln("stm_aix('p5i8','p1i0',[0,\"Contacter l'équipe de support de McFunSoft         \",'','',-1,-1,0,'http://www.mcfunsoft.com/fr/company/contact.htm']);");
    document.writeln("stm_ep();");
    document.writeln("stm_aix('p0i8','p0i0',[]);");
    document.writeln("stm_aix('p0i9','p0i1',[0,'Partenaires','','',-1,-1,0,'http://www.mcfunsoft.com/fr/partnercenter/']);");
    document.writeln("stm_bpx('p6','p1',[]);");
    document.writeln("stm_aix('p6i0','p1i0',[0,'Partenaires OEM  ','','',-1,-1,0,'http://www.mcfunsoft.com/fr/partnercenter/oem.htm']);");
    document.writeln("stm_aix('p6i1','p1i1',[]);");
    document.writeln("stm_aix('p6i2','p1i0',[0,'Affiliés McFunSoft         ','','',-1,-1,0,'http://www.mcfunsoft.com/fr/partnercenter/affiliate.htm']);");
    document.writeln("stm_aix('p6i3','p1i1',[]);");
    document.writeln("stm_aix('p6i4','p5i4',[0,'Agent publicitaire McFunSoft','','',-1,-1,0,'http://www.mcfunsoft.com/fr/partnercenter/adagent.htm']);");
    document.writeln("stm_aix('p6i5','p1i1',[]);");
    document.writeln("stm_aix('p6i6','p5i4',[0,'Devenir revendeur','','',-1,-1,0,'http://www.mcfunsoft.com/fr/partnercenter/reseller.htm']);");
    
    document.writeln("stm_ep();");
    document.writeln("stm_aix('p0i10','p0i0',[]);");
    document.writeln("stm_aix('p0i11','p0i9',[0,'Soci&eacute;t&eacute;','','',-1,-1,0,'http://www.mcfunsoft.com/fr/company/']);");
    document.writeln("stm_bpx('p7','p1',[]);");
    document.writeln("stm_aix('p7i0','p1i0',[0,'A propos de McFunSoft        ','','',-1,-1,0,'http://www.mcfunsoft.com/fr/company/']);");
    document.writeln("stm_aix('p7i1','p1i1',[]);");
    document.writeln("stm_aix('p7i2','p1i0',[0,'Nous contacter','','',-1,-1,0,'http://www.mcfunsoft.com/fr/company/contact.htm']);");
    document.writeln("stm_ep();");
    document.writeln("stm_aix('p0i12','p0i0',[]);");
    document.writeln("stm_ep();");
    document.writeln("stm_em();");
    document.writeln("//-->");
    document.writeln("</script>");
    document.writeln("</center>");
    document.writeln("</div>");
    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='/fr/images/s1.gif'>");
    document.writeln("    <img SRC='/fr/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='/fr/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='http://www.mcfunsoft.com/fr/products.htm' class='sHeadLink'>Produits</a><span class='copyright'> | </span>");
    document.writeln("  	  <a href='http://www.mcfunsoft.com/fr/purchase/' class='sHeadLink'>Comment acheter</a><span class='copyright'> | </span>");
    document.writeln("	      <a href='http://www.mcfunsoft.com/fr/download/' class='sHeadLink'>T&eacute;l&eacute;chargements</a><span class='copyright'> | </span>");
    document.writeln("	      <a href='http://www.mcfunsoft.com/fr/support/' class='sHeadLink'>Support</a><span class='copyright'> | </span>");
    document.writeln("	      <a href='http://www.mcfunsoft.com/fr/company/' class='sHeadLink'>Soci&eacute;t&eacute;</a>");
    document.writeln("        <table width='100%' border='0' style='margin-bottom: 8pt'>");
    document.writeln("        <tr>");
    document.writeln("          <td width='100%' align='center'><span class='sHeadLink'>Copyright(c) 2005-2009, McFunSoft, Inc. Tous droits r&eacute;serv&eacute;s.");
    document.writeln("            <a href='http://www.mcfunsoft.com/fr/company/terms.htm' class='sHeadLink'>Modalit&eacute;s d\'utilisation</a> | <a href='http://www.mcfunsoft.com/fr/company/privacy.htm' class='sHeadLink'>Confidentialit&eacute;</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='/fr/images/s2.gif'>");
    document.writeln("    <img SRC='/fr/images/sp.gif' width='8' HEIGHT='8' ALT BORDER='0'></td>");
    document.writeln("  </tr>");
    document.writeln("</table>");
}

/////////////////////////////////////////////////////////////////////
function openPopup(url,x,y){
  if (!x){x=760;};
  if (!y){y=630;};
  window.open(url,null,'toolbar=yes,menubar=no,resizable=yes,scrollbars=yes,width='+x+',height='+y)
}

/////////////////////////////////////////////////////////////////////
function openPopupFixed(url,x,y){
  if (!x){x=760;};
  if (!y){y=630;};
  window.open(url,null,'toolbar=no,status=no,menubar=no,resizable=yes,scrollbars=no,width='+x+',height='+y)
}
