Hi all
I'm running some javascript code at the bottom of my tpl_index_default page which displays some news articles. Does anyone know how I can modify the code so that it will not display on secure pages - ie when logging in, as this gives a security warning. Here is the code:
<table width="100%" border="0px" class="leftbox" bordercolor="#666666">
<tr>
<td align="center"><h1>Latest Articles </h1>
<script language=javascript>document.write("<"+"script language=javascript src='http://www.contentinfusion.com/Category.aspx?CATEGORYID=10&FORMAT=JS&MEMBERID=6536&TITLE_TEXTFONT=Arial&TITLE_T EXTSIZE=2&TITLE_TEXTCOLOR=990000&BODY_TEXTFONT=Arial&BODY_TEXTSIZE=2&BODY_TEXTCO LOR=&PANEL_COLOR=&MAX_ITEMS=5&PANEL_WIDTH=550&SHOW_SUMMARY=True&SHOW_IMAGES=Fals eONLY_IMAGES=False&ARTICLE_URL=http%3a%2f%2fwww.desirables.biz%2findex.php%3fmai n_page%3dpage_2%26&TEXT_ALIGN=Left&NEW_WINDOW=False&KEYWORD_FILTER=&WINDOW_TARGE T=&ARTICLES_APPLY=True&THUMBNAIL_SIZE=1&location="+ document.location +"'>"+"<"+"/script>");</script></td>
</tr>
</table>
Thanks



