	// 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:300px; padding: 2px; margin: 0px; border: 1px solid #336699; background-color:#FFFFFF;'>"+
  					"<div style='background-color:#336699; padding: 2px 2px 2px 6px; color:#FFFFFF; font-weight:bold;'>%title%</div>" +
  					"<div style='padding: 6px; text-align:center;' class='ColorsTextures_divImg'><img src='%img%' /></div>" +
  					"<div style='padding: 6px;'>%content%</div>" +
					"</div>";
	 
  function getUpdatedContent(selTemplate, title, line1)
  {
    var ret = selTemplate
    ret = ret.replace("%title%", title);
    ret = ret.replace("%content%", line1);
    return ret;
  }
	 
  function getLargerColorTexture(selTemplate, title, line1, line2)
  {
    var ret = selTemplate
    ret = ret.replace("%title%", title);
    ret = ret.replace("%content%", line1);
    ret = ret.replace("%img%", line2);
    return ret;
  }
