	// First, the template
	var strTemplate1 = "<table id='over_box' width='' border='0' cellpadding='0' cellspacing='0'>" + 
  "<tr>    <td width='20' style='background-image:url(../images/over_box_01.png); background-repeat:no-repeat; height:20px; width:20px;'><div style='width:20px;'>&nbsp;</div></td>" +
    "<td width='100%' style='background-image:url(../images/over_box_02.png); background-repeat:repeat-x; height:20px;'>&nbsp;</td>" + 
    "<td width='20' style='background-image:url(../images/over_box_04.png); background-repeat:no-repeat; height:20px; width:20px;'><div style='width:20px;'>&nbsp;</div></td>" + 
  "</tr>  <tr>    <td width='20' background='../images/over_box_05.gif' style='background-image:url(../images/over_box_05.png); " + 
  "background-repeat:repeat-y; width:20px;'>&nbsp;</td>" + 
    "<td width='100%' bgcolor='#FFFFFF'><iframe width='500' height='360' scrolling='no' frameborder='0' id='iPreview' src='%fullUrl%' ></iframe></td>" + 
    "<td width='20' style='background-image:url(../images/over_box_07.png); background-repeat:repeat-y; width:20px;'>&nbsp;</td>" + 
  "</tr>  <tr>     <td width='20' style='background-image:url(../images/over_box_10.png); background-repeat:no-repeat; height:20px; width:20px;'>&nbsp;</td>" + 
    "<td width='100%' style='background-image:url(../images/over_box_11.png); background-repeat:repeat-x; height:20px'>&nbsp;</td>" + 
    "<td width='20' style='background-image:url(../images/over_box_13.png); background-repeat:no-repeat; height:20px; width:20px;'></td>" + 
  "</tr></table>";
  
  var strTemplate = "<div style='width=500px; height: 360px; margin: 0px; border: 0px solid #336699;'>"+
  					"<iframe width='500' height='360' scrolling='no' frameborder='0' id='iPreview' src='%fullUrl%' ></iframe>";
					"</div>";
	
	// now the specific products
 
  function getUpdatedContent(strTemplate, line1, line2, line3, line4, line5, line6, font, imprintmode)
  {
	  return strTemplate.replace("%fullUrl%",'../includes/inc_flashpreview.php?line1='+line1+'&line2='+line2+'&line3='+line3+'&line4='+line4+'&line5='+line5+'&line6='+line6+'&selfont='+font+'&imprintmode='+imprintmode);
  }
