browserName = navigator.appName;
function chatwin()
{
if(browserName=="Netscape")
var win = window.open("/NSTWChat.asp","","width=650,height=500");
else
var win = window.open("/TWChat.asp","","width=650,height=500");
}


ptitle='Privacy Statement';
var pover = 'self.status=\''+ptitle+'\';return true;'
mtitle='Member Agreement';
var mover = 'self.status=\''+mtitle+'\';return true;'
ctitle='Live Support';
var cover = 'self.status=\''+ctitle+'\';return true;'

var url;
url=unescape(location.href)
var convcase = url.toLowerCase()
var choice=convcase.indexOf('2000')
var choice6=convcase.indexOf('jun')
var choice7=convcase.indexOf('jul')
var choice8=convcase.indexOf('aug')
var choice9=convcase.indexOf('sep')
var choice10=convcase.indexOf('oct')
var choice11=convcase.indexOf('nov')
var choice12=convcase.indexOf('dec')
var choice=convcase.indexOf('2001')
var choice13=convcase.indexOf('jan')
var choice14=convcase.indexOf('feb')
var choice15=convcase.indexOf('mar')
var choice16=convcase.indexOf('apr')
var choice17=convcase.indexOf('may')
var choice18=convcase.indexOf('jun01')
var choice19=convcase.indexOf('jul01')
var choice20=convcase.indexOf('aug01')
var choice21=convcase.indexOf('sep01')
var choice22=convcase.indexOf('oct01')
var choice23=convcase.indexOf('nov01')

var flag
flag=0
if(flag==0)
{
if(choice !="-1" )
{
flag=1
}
if(choice6!="-1" || choice7!="-1" || choice8!="-1" || choice9!="-1" || choice10!="-1" || choice11!="-1" || choice12!="-1" || choice13!="-1" || choice14!="-1" || choice15!="-1" || choice16!="-1" || choice17!="-1" || choice18!="-1"  || choice19!="-1" || choice20!="-1" || choice21!="-1"  || choice22!="-1"  || choice23!="-1"  || choice24!="-1")
{
flag=2
}
}

if(flag!==3)
{
if (flag==1)
{
if (choice !="-1")
{
document.write('<table width="100%" BORDER="0" cellpadding="0" cellspacing="0">')
document.write('<tr>')
document.write('<td align="left" bgcolor="#000000" valign="top" width="100%" height="2" colspan="4" nowrap>')
document.write('<img src="images/spacer.gif" width="2" height="1">')
document.write('</td>')
document.write('<tr bgcolor="#ffffff">')
document.write('<td class="ftr" valign="bottom" height="25" nowrap>')
document.write('&nbsp;&nbsp;Copyright © 2000-2005 TexWorld.Com Inc, USA.All rights reserved.')
document.write('</td>')
document.write('<td align="right" bgcolor="#ffffff" valign="bottom" width="152" height="5" colspan="2" nowrap>')
document.write('<img src="images/spacer.gif" width="1" height="1">')
document.write('</td>')
document.write('<td  align="right" bgcolor="#ffffff" valign="bottom" nowrap>')
//document.write('<a href="javascript:chatwin()" class="ftr" title="Live Support" onmouseover="'+cover+'"><u>Live Support</u></a>&nbsp;|&nbsp;')
document.write('<a href="/privacy.html" class="ftr" onmouseover="'+pover+'" title="Privacy Statement"><u>Privacy Statement</u></a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href="/agreement.html" class="ftr" onmouseover="'+mover+'" title="Member Agreement"><u>Member Agreement</u></a>&nbsp;&nbsp;</font>')
document.write('</td>')
document.write('</tr>')
document.write('<tr><td bgcolor="#ffffff" colspan="4">&nbsp;</td></tr>')
document.write('</table>')
}
}
else if (flag==2)
{

if (flag=1 && (choice6 !="-1" || choice7 !="-1" || choice8!="-1" || choice9!="-1" || choice10!="-1" || choice11!="-1" || choice12!="-1" || choice13!="-1" || choice14!="-1" || choice15!="-1" || choice16!="-1" || choice17!="-1" || choice18!="-1"  || choice19!="-1" || choice20!="-1" || choice21!="-1"  || choice22!="-1"  || choice23!="-1"  || choice24!="-1"))
{
document.write('<table width="100%" BORDER="0" cellpadding="0" cellspacing="0">')
document.write('<tr>')
document.write('<td align="left" bgcolor="#000000" valign="top" width="100%" height="2" colspan="4" nowrap>')
document.write('<img src="images/spacer.gif" width="2" height="1">')
document.write('</td>')
document.write('<tr bgcolor="#ffffff">')
document.write('<td class="footer" valign="bottom" height="25" nowrap>')
document.write('&nbsp;&nbsp;&nbsp;Copyright © 2000-2005 TexWorld.Com Inc, USA.All rights reserved.')
document.write('</td>')
document.write('<td align="right" bgcolor="#ffffff" valign="bottom" width="120" height="5" colspan="2" nowrap>')
document.write('<img src="images/spacer.gif" width="1" height="1">')
document.write('</td>')
document.write('<td  align="right" bgcolor="#ffffff" valign="bottom" nowrap>')
//document.write('<a href="javascript:chatwin()" class="ftr" title="Live Support" onmouseover="'+cover+'"><u>Live Support</u></a>&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;')
document.write('<a href="/privacy.html" class="ftr" onmouseover="'+pover+'" title="Privacy Statement"><u>Privacy Statement</u></a>&nbsp;&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;<a href="/agreement.html" class="ftr" onmouseover="'+mover+'" title="Member Agreement"><u>Member Agreement</u></a>&nbsp;&nbsp;&nbsp;&nbsp;</font>')
document.write('</td>')
document.write('</tr>')
document.write('<tr><td bgcolor="#ffffff" colspan="4">&nbsp;</td></tr>')
document.write('</table>')
}
}
else
{
document.write('<table width="100%" BORDER="0" cellpadding="0" cellspacing="0">')
document.write('<tr>')
document.write('<td align="left" bgcolor="#000000" valign="top" width="100%" height="2" colspan="4" nowrap>')
document.write('<img src="images/spacer.gif" width="2" height="1">')
document.write('</td>')
document.write('<tr bgcolor="#ffffff">')
document.write('<td class="footer" valign="bottom" height="25" nowrap>')
document.write('&nbsp;&nbsp;&nbsp;Copyright © 2000-2005 TexWorld.Com Inc, USA.All rights reserved.')
document.write('</td>')
document.write('<td align="right" bgcolor="#ffffff" valign="bottom" width="120" height="5" colspan="2" nowrap>')
document.write('<img src="images/spacer.gif" width="1" height="1">')
document.write('</td>')
document.write('<td  align="right" bgcolor="#ffffff" valign="bottom" nowrap>')
//document.write('<a href="javascript:chatwin()" class="ftr" title="Live Support" onmouseover="'+cover+'"><u>Live Support</u></a>&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;')
document.write('<a href="/privacy.html" class="ftr" onmouseover="'+pover+'" title="Privacy Statement"><u>Privacy Statement</u></a>&nbsp;&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;<a href="/agreement.html" class="ftr" onmouseover="'+mover+'" title="Member Agreement"><u>Member Agreement</u></a>&nbsp;&nbsp;&nbsp;&nbsp;</font>')
document.write('</td>')
document.write('</tr>')
document.write('<tr><td bgcolor="#ffffff" colspan="4">&nbsp;</td></tr>')
document.write('</table>')
}

}
