function gel_begin(tTitle,tSize,tSize2)
{
    var tStr="";
    tStr='<table width="'+tSize+'" cellspacing="0" cellpadding="0" border="0">\n';
    tStr+='<tr>\n';
    tStr+='<td rowspan="3" colspan="2"><img src="/images/lcurv.gif" width="19" height="24" border="0"></td>\n';
    tStr+='<td bgcolor="#BEE967"><img src="/images/spacer.gif" height="1" width="'+tSize2+'" border="0"></td>\n';
    tStr+='<td rowspan="3" colspan="2" align="right"><img src="/images/rcurv.gif" width="15" height="24" border="0"></td>\n';
    tStr+='</tr>\n';
    tStr+='<tr>\n';
    tStr+='<td height="22" bgcolor="#BEE967" class="inside"><b>'+tTitle+'</b></td>\n';
    tStr+='</tr>\n';
    tStr+='<tr>\n';
    tStr+='<td bgcolor="#DDDDDD" width="1"><img src="/images/spacer.gif" height="1" width="1" border="0"></td>\n';
    tStr+='</tr>\n';
    tStr+='<tr>\n';
    tStr+='<td bgcolor="#DDDDDD" width="1" rowspan="1"><img src="/images/spacer.gif" height="1" width="1" border="0"></td>\n';
    tStr+='<td width="18"><img src="/images/spacer.gif" height="1" width="18" border="0"></td>\n';
    tStr+='<td><br>\n';
    tStr+='<table width="'+tSize2+'" cellpadding="3" cellspacing="0" border="0">\n';
    tStr+='<tr>\n';
    tStr+='<td colspan="2">\n';
    layerWriteStr(tStr);
}

function gel_continue(tTitle,tSize,tSize2)
{
    var tStr="";
    tStr+='</td>\n';
    tStr+='</tr>\n';
    tStr+='</table>\n';
    tStr+='</td>\n';
    tStr+='<td bgcolor="#FFFFFF" width="14"><img src="/images/spacer.gif" height="1" width="14" border="0"></td>\n';
    tStr+='<td bgcolor="#DDDDDD" width="1" rowspan="1"><img src="/images/spacer.gif" height="1" width="1" border="0"></td>\n';
    tStr+='</tr>\n';
    tStr+='<tr>\n';
    tStr+='<td bgcolor="#DDDDDD" width="1" rowspan="1"><img src="/images/spacer.gif" height="1" width="1" border="0"></td>\n';
    tStr+='<td bgcolor="#FFFFFF" colspan="3">&nbsp;</td>\n';
    tStr+='<td bgcolor="#DDDDDD" width="1" rowspan="1"><img src="/images/spacer.gif" height="1" width="1" border="0"></td>\n';
    tStr+='</tr>\n';
    tStr+='<tr>\n';
    tStr+='<td bgcolor="#DDDDDD" width="1" rowspan="1"><img src="/images/spacer.gif" height="1" width="1" border="0"></td>\n';
    tStr+='<td bgcolor="#DDDDDD" colspan="3"><img src="/images/spacer.gif" height="1" width="1" border="0"></td>\n';
    tStr+='<td bgcolor="#DDDDDD" width="1" rowspan="1"><img src="/images/spacer.gif" height="1" width="1" border="0"></td>\n';
    tStr+='</tr>\n';
    tStr+='<tr bgcolor="#DDDDDD">\n';
    tStr+='<td bgcolor="#DDDDDD" width="1" rowspan="1"><img src="/images/spacer.gif" height="1" width="1" border="0"></td>\n';
    tStr+='<td><img src="/images/spacer.gif" height="24" width="1" border="0"></td>\n';
    tStr+='<td height="22" bgcolor="#DDDDDD" colspan="2"><b>'+tTitle+'</b></td>\n';
    tStr+='<td bgcolor="#DDDDDD" width="1" rowspan="1"><img src="/images/spacer.gif" height="1" width="1" border="0"></td>\n';
    tStr+='</tr>\n';
    tStr+='<tr>\n';
    tStr+='<td bgcolor="#DDDDDD" width="1" rowspan="1"><img src="/images/spacer.gif" height="1" width="1" border="0"></td>\n';
    tStr+='<td bgcolor="#DDDDDD" colspan="3"><img src="/images/spacer.gif" height="1" width="1" border="0"></td>\n';
    tStr+='<td bgcolor="#DDDDDD" width="1" rowspan="1"><img src="/images/spacer.gif" height="1" width="1" border="0"></td>\n';
    tStr+='</tr>\n';
    tStr+='<tr valign="top">\n';
    tStr+='<td bgcolor="#DDDDDD" width="1" rowspan="1"><img src="/images/spacer.gif" height="1" width="1" border="0"></td>\n';
    tStr+='<td width="18"><img src="/images/spacer.gif" height="1" width="18" border="0"></td>\n';
    tStr+='<td><br>\n';
    tStr+='<table width="'+tSize2+'" cellpadding="3" cellspacing="0" border="0">\n';
    tStr+='<tr>\n';
    tStr+='<td colspan="2">\n';
    layerWriteStr(tStr);
}

function gel_end(tSize,tSize2)
{
    var tStr="";
    tStr+='</td>\n';
    tStr+='</tr>\n';
    tStr+='</table>\n';
    tStr+='</td>\n';
    tStr+='<td bgcolor="#FFFFFF" width="14"><img src="/images/spacer.gif" height="1" width="14" border="0"></td>\n';
    tStr+='<td bgcolor="#DDDDDD" width="1" rowspan="1"><img src="/images/spacer.gif" height="1" width="1" border="0"></td>\n';
    tStr+='</tr>\n';
    tStr+='<tr>\n';
    tStr+='<td align="left" valign="top" colspan="2" rowspan="2"><img src="/images/blcurv.gif" width="19" height="15" border="0"></td>\n';
    tStr+='<td><img src="/images/spacer.gif" height="14" width="1" border="0"></td>\n';
    tStr+='<td align="right" valign="top" colspan="2" rowspan="2"><img src="/images/brcurv.gif" width="15" height="15" border="0"></td>\n';
    tStr+='</tr>\n';
    tStr+='<tr>\n';
    tStr+='<td bgcolor="#DDDDDD"><img width="'+tSize2+'" height="1" border="0" src="/images/spacer.gif"></td>\n';
    tStr+='</tr>\n';
    tStr+='</table>\n';
    layerWriteStr(tStr);
}


function table_gel_begin(tTitle,tHeight)
{
    var tStr="";
    tStr='<table width="188" cellspacing="0" cellpadding="0" border="0">\n';
    tStr+='<tr>\n';
    tStr+='<td rowspan="3" colspan="2"><img src="/images/lcurv.gif" width="19" height="24" border="0"></td>\n';
    tStr+='<td bgcolor="#DDDDDD"><img src="/images/spacer.gif" height="1" width="154" border="0"></td>\n';
    tStr+='<td rowspan="3" colspan="2" align="right"><img src="/images/rcurv.gif" width="15" height="24" border="0"></td>\n';
    tStr+='</tr>\n';
    tStr+='<tr>\n';
    tStr+='<td height="22" bgcolor="#EEF5FA" class="bluebold" align="center">'+tTitle+'</td>\n';
    tStr+='</tr>\n';
    tStr+='<tr>\n';
    tStr+='<td bgcolor="#DDDDDD" width="1"><img src="/images/spacer.gif" height="1" width="1" border="0"></td>\n';
    tStr+='</tr>\n';
    tStr+='<tr>\n';
    tStr+='<td bgcolor="#DDDDDD" width="1" rowspan="1"><img src="/images/spacer.gif" height="1" width="1" border="0"></td>\n';
    tStr+='<td width="18"><img src="/images/spacer.gif" height="1" width="18" border="0"></td>\n';
    tStr+='<td><br>\n';
    tStr+='<table width="154" cellpadding="0" cellspacing="0" border="0" height="'+tHeight+'">\n';
    tStr+='<tr>\n';
    tStr+='<td valign="top">\n';    
    layerWriteStr(tStr);
}

function table_gel_end()
{
    var tStr="";
    tStr+='</td>\n';
    tStr+='</tr>\n';
    tStr+='</table>\n'; 
    tStr+='</td>\n';
    tStr+='<td bgcolor="#FFFFFF" width="14"><img src="/images/spacer.gif" height="1" width="14" border="0"></td>\n';
    tStr+='<td bgcolor="#DDDDDD" width="1" rowspan="1"><img src="/images/spacer.gif" height="1" width="1" border="0"></td>\n';
    tStr+='</tr>\n';
    tStr+='<tr>\n';
    tStr+='<td align="left" valign="top" colspan="2" rowspan="2"><img src="/images/blcurv.gif" width="19" height="15" border="0"></td>\n';
    tStr+='<td><img src="/images/spacer.gif" height="14" width="1" border="0"></td>\n';
    tStr+='<td align="right" valign="top" colspan="2" rowspan="2"><img src="/images/brcurv.gif" width="15" height="15" border="0"></td>\n';
    tStr+='</tr>\n';
    tStr+='<tr>\n';
    tStr+='<td bgcolor="#DDDDDD"><img width="154" height="1" border="0" src="/images/spacer.gif"></td>\n';
    tStr+='</tr>\n';
    tStr+='</table>\n';
    layerWriteStr(tStr);
}

function landing_promogel_begin(tTitle,tHeight)
{
    var tStr="";
    tStr+='<table width="188" cellspacing="0" cellpadding="0" border="0" bgcolor="#EEF5FA">\n';
    tStr+='<tr>\n';
    tStr+='<td rowspan="2" colspan="2" height="10"><img src="/images/tlcurv.gif" width="10" height="10" border="0"></td>\n';
    tStr+='<td bgcolor="#DDDDDD"><img src="/images/spacer.gif" height="1" width="168" border="0"></td>\n';
    tStr+='<td rowspan="2" colspan="2" height="10"><img src="/images/trcurv.gif" width="10" height="10" border="0"></td>\n';
    tStr+='</tr>\n';
    tStr+='<tr>\n';
    tStr+='<td height="9"><img src="/images/spacer.gif" height="8" width="1" border="0"></td></tr>\n';
    tStr+='<tr>\n';
    tStr+='<td bgcolor="#DDDDDD" rowspan="3"><img src="/images/spacer.gif" height="195" width="1" border="0"></td>\n';
    tStr+='<td rowspan="3"><img src="/images/spacer.gif" height="1" width="9" border="0"></td>\n';
    tStr+='<td class="bluebold" valign="top" height="33" align="center">'+tTitle+'<br><br></td>\n';
    tStr+='<td rowspan="3"><img src="/images/spacer.gif" height="1" width="9" border="0"></td>\n';
    tStr+='<td bgcolor="#DDDDDD" rowspan="3"><img src="/images/spacer.gif" height="'+tHeight+'" width="1" border="0"></td></tr>\n';
    tStr+='<tr>\n';
    tStr+='<td align="center" width="168" height="130" valign="top">\n';
    layerWriteStr(tStr);
}   

function landing_promogel_end(tURL, tImage,tAlt)
{
    var tStr="";    
    tStr+='</td>\n';
    tStr+='</tr>\n';
    tStr+='<tr>\n';
    tStr+='<td align="center" valign="bottom" height="22"><br><a href="'+tURL+'"><img src="/images/buttons/'+tImage+'" alt="'+tAlt+'" border="0"></a></td>\n';
    tStr+='</tr>\n';
    tStr+='<tr valign="top">\n';
    tStr+='<td rowspan="2" colspan="2" height="9"><img src="/images/index_blcurv.gif" width="10" height="9" border="0"></td>\n';
    tStr+='<td><img src="/images/spacer.gif" height="9" width="1" border="0"></td>\n';
    tStr+='<td rowspan="2" colspan="2" height="9"><img src="/images/index_brcurv.gif" width="10" height="9" border="0"></td></tr>\n';
    tStr+='<tr>\n';
    tStr+='<td bgcolor="#DDDDDD"><img src="/images/spacer.gif" height="1" width="154" border="0"></td>\n';
    tStr+='</tr>\n';
    tStr+='</table>\n';
    layerWriteStr(tStr);
}

function addressgel_begin(tSize)
{
    var tStr="";
    tStr+='<table width="'+tSize+'" cellspacing="0" cellpadding="0" border="0">\n';
    tStr+='<tr>\n';
    tStr+='<td rowspan="2" colspan="2"><img src="/images/tl_address_curve.gif" width="13" height="10" border="0" alt=""></td>\n';
    tStr+='<td bgcolor="#DDDDDD"><img src="/images/spacer.gif" height="1" width="'+tSize+'" border="0"></td>\n';
    tStr+='<td rowspan="2" colspan="2" align="right"><img src="/images/tr_address_curve.gif" width="9" height="10" border="0" alt=""></td>\n';
    tStr+='</tr>\n';
    tStr+='<tr>\n';
    tStr+='<td height="9" bgcolor="#EEF5FA"><img src="/images/spacer.gif" height="1" width="'+tSize+'" border="0"></td>\n';
    tStr+='</tr>\n';
    tStr+='<tr>\n';
    tStr+='<td bgcolor="#DDDDDD" width="1"><img src="/images/spacer.gif" height="1" width="1" border="0"></td>\n';
    tStr+='<td width="12" bgcolor="#EEF5FA"><img src="/images/spacer.gif" height="1" width="12" border="0"></td>\n';
    tStr+='<td bgcolor="#EEF5FA">\n';
    tStr+='<table cellspacing="0" cellpadding="2" width="'+tSize+'" border="0">\n';
    tStr+='<tr>\n';
    tStr+='<td bgcolor="#EEF5FA">\n';
    layerWriteStr(tStr);
}   

function addressgel_end(tSize)
{
    var tStr="";    
    tStr+='</td>\n';
    tStr+='</tr>\n';
    tStr+='</table>\n';
    tStr+='</td>\n';
    tStr+='<td  bgcolor="#EEF5FA"width="8"><img src="/images/spacer.gif" height="1" width="8" border="0"></td>\n';
    tStr+='<td bgcolor="#DDDDDD" width="1"><img src="/images/spacer.gif" height="1" width="1" border="0"></td>\n';
    tStr+='</tr>\n';
    tStr+='<tr>\n';
    tStr+='<td rowspan="2" colspan="2"><img src="/images/bl_address_curve.gif" width="13" height="9" border="0" alt=""></td>\n';
    tStr+='<td bgcolor="#EEF5FA"><img src="/images/spacer.gif" height="8" width="1" border="0"></td>\n';
    tStr+='<td rowspan="2" colspan="2" align="right"><img src="/images/br_address_curve.gif" width="9" height="9" border="0" alt=""></td>\n';
    tStr+='</tr>\n';
    tStr+='<tr>\n';
    tStr+='<td bgcolor="#DDDDDD"><img width="'+tSize+'" height="1" border="0" src="/images/spacer.gif"></td>\n';
    tStr+='</tr>\n';
    tStr+='</table>\n';
    layerWriteStr(tStr);
}

function bluegel_begin(tSize,tSize2,tHeight)
{
    var tStr="";
    tStr+='<table width="'+tSize+'" cellspacing="0" cellpadding="0" border="0">\n';
    tStr+='<tr>\n';
    tStr+='<td rowspan="2" colspan="2"><img src="/images/tl_address_curve.gif" width="13" height="10" border="0"></td>\n';
    tStr+='<td bgcolor="#DDDDDD"><img src="/images/spacer.gif" height="1" width="'+tSize2+'" border="0"></td>\n';
    tStr+='<td rowspan="2" colspan="2" align="right"><img src="/images/tr_address_curve.gif" width="9" height="10" border="0"></td>\n';
    tStr+='</tr>\n';
    tStr+='<tr>\n';
    tStr+='<td height="9" bgcolor="#EEF5FA"><img src="/images/spacer.gif" height="1" width="1" border="0"></td>\n';
    tStr+='</tr>\n';
    tStr+='<tr>\n';
    tStr+='<td bgcolor="#DDDDDD" width="1"><img src="/images/spacer.gif" height="1" width="1" border="0"></td>\n';
    tStr+='<td width="12" bgcolor="#EEF5FA"><img src="/images/spacer.gif" height="1" width="12" border="0"></td>\n';
    tStr+='<td bgcolor="#EEF5FA">\n';
    tStr+='<table width="'+tSize2+'" cellpadding="0" cellspacing="0" border="0" height="'+tHeight+'">\n';
    tStr+='<tr>\n';
    tStr+='<td valign="top">\n';        
    layerWriteStr(tStr);
}   

function bluegel_end(tSize,tSize2)
{
    var tStr="";
    tStr+='</td>\n';
    tStr+='</tr>\n';
    tStr+='</table>\n';     
    tStr+='</td>\n';
    tStr+='<td  bgcolor="#EEF5FA"width="8"><img src="/images/spacer.gif" height="1" width="8" border="0"></td>\n';
    tStr+='<td bgcolor="#DDDDDD" width="1"><img src="/images/spacer.gif" height="1" width="1" border="0"></td>\n';
    tStr+='</tr>\n';
    tStr+='<tr>\n';
    tStr+='<td rowspan="2" colspan="2"><img src="/images/bl_address_curve.gif" width="13" height="9" border="0" alt=""></td>\n';
    tStr+='<td bgcolor="#EEF5FA"><img src="/images/spacer.gif" height="8" width="1" border="0"></td>\n';
    tStr+='<td rowspan="2" colspan="2" align="right"><img src="/images/br_address_curve.gif" width="9" height="9" border="0" alt=""></td>\n';
    tStr+='</tr>\n';
    tStr+='<tr>\n';
    tStr+='<td bgcolor="#DDDDDD"><img width="'+tSize2+'" height="1" border="0" src="/images/spacer.gif"></td>\n';
    tStr+='</tr>\n';
    tStr+='</table>\n';
    layerWriteStr(tStr);
}

function side_Menu()
{
    var tStr="";
    tStr+='<table cellpadding="3" cellspacing="0" bgcolor="#ffffff"  width="160">\n';
    //tStr+='<tr><td nowrap><a href="/index.asp" class="navLinks"><b><font color="#000000">Home</font></b></a></td></tr>\n';
    tStr+='<tr><td width="10" class="borderBottomGray"><img src="/images/dot_menu.gif"></td><td nowrap class="borderBottomRightGray"><a href="/aboutus/aboutus_index.asp" class="navLinks"><b><font color="#000000" size="1">About Us</font></b></a></td></tr>\n';
    tStr+='<tr><td width="10" class="borderBottomGray"><img src="/images/dot_menu.gif"></td><td nowrap class="borderBottomRightGray"><a href="/services/service_index.asp" class="navLinks"><b><font color="#000000" size="1">Services</font></b></a></td></tr>\n';     
    tStr+='<tr><td width="10" class="borderBottomGray"><img src="/images/dot_menu.gif"></td><td nowrap class="borderBottomRightGray"><a href="/relationships/rel_partners.asp" class="navLinks"><b><font color="#000000" size="1">Relationships</font></b></a></td></tr>\n';
    tStr+='<tr><td width="10" class="borderBottomGray"><img src="/images/dot_menu.gif"></td><td nowrap class="borderBottomRightGray"><a href="/account/login_index.asp" class="navLinks"><b><font color="#000000" size="1">Online Account</font></b></a></td></tr>\n';
    tStr+='<tr><td width="10" class="borderBottomGray"><img src="/images/dot_menu.gif"></td><td nowrap class="borderBottomRightGray"><a href="/cus_service/contact_us.asp" class="navLinks"><b><font color="#000000" size="1">Contact Us</font></b></a></td></tr>\n';
    tStr+='<tr><td width="10" class="borderBottomGray"><img src="/images/dot_menu.gif"></td><td nowrap class="borderBottomRightGray"><a href="/career/career_index.asp" class="navLinks"><b><font color="#000000" size="1">Careers</font></b></a></td></tr>\n';
    tStr+='<tr><td width="10"><img src="/images/dot_menu.gif"></td><td nowrap class="borderRightGray"><a href="/cus_service/faqs.asp" class="navLinks"><b><font color="#000000" size="1">FAQs</font></b></a></td></tr>\n';
    tStr+='</table>\n';
    tStr+='<table cellpadding="0" cellspacing="0" height="100%" border="0">\n';
    tStr+='<tr><td valign="top"><img src="/images/sMenu_bottom.gif" border="0"></td></tr>\n';
    tStr+='</table>\n';
    layerWriteStr(tStr);
}

function layerWriteStr(tStr)  //use this function only in content division of document
{

    var catchLayer;
    
    if (is_nav4)  //
    {
        for (eachLayer in document.layers) {
          if (eachLayer.indexOf('content') > -1) catchLayer = eachLayer;
        }
        eval('document.' + catchLayer + '.document.writeln(tStr);');
    }
    else // ie or ns6
    {
        document.writeln(tStr);
    }
}   
