<div id="floatdiv" style="position:absolute; right:814px; top:56px; background:#FFFFFF; border:0px solid #2266AA; width: 256; height: 190; visibility: hidden;">
<table border="0" cellpadding="0" cellspacing="0" width="265">
<!-- fwtable fwsrc="Untitled" fwpage="Page 1" fwbase="popup01.gif" fwstyle="Dreamweaver" fwdocid = "184885766" fwnested="0" -->
<tr>
<td><img src="http://www.onechat.com/images/spacer.gif" width="59" height="1" border="0" alt="" /></td>
<td><img src="http://www.onechat.com/images/spacer.gif" width="58" height="1" border="0" alt="" /></td>
<td><img src="http://www.onechat.com/images/spacer.gif" width="27" height="1" border="0" alt="" /></td>
<td><img src="http://www.onechat.com/images/spacer.gif" width="60" height="1" border="0" alt="" /></td>
<td><img src="http://www.onechat.com/images/spacer.gif" width="37" height="1" border="0" alt="" /></td>
<td><img src="http://www.onechat.com/images/spacer.gif" width="24" height="1" border="0" alt="" /></td>
<td><img src="http://www.onechat.com/images/spacer.gif" width="1" height="1" border="0" alt="" /></td>
</tr>
<tr>
<td colspan="5"><img name="popup01_r1_c1" src="http://www.onechat.com/images/popup01_r1_c1.gif" width="241" height="18" border="0" id="popup01_r1_c1" alt="" /></td>
<td><a href="#"><img src="http://www.onechat.com/images/popup01_r1_c6.gif" alt="" name="popup01_r1_c6" width="24" height="18" border="0" id="popup01_r1_c6" onclick="MM_showHideLayers('floatdiv','','hide')" /></a></td>
<td><img src="http://www.onechat.com/images/spacer.gif" width="1" height="18" border="0" alt="" /></td>
</tr>
<tr>
<td colspan="6"><img name="popup01_r2_c1" src="http://www.onechat.com/images/popup01_r2_c1.gif" width="265" height="125" border="0" id="popup01_r2_c1" alt="" /></td>
<td><img src="http://www.onechat.com/images/spacer.gif" width="1" height="125" border="0" alt="" /></td>
</tr>
<tr>
<td rowspan="2"><img name="popup01_r3_c1" src="http://www.onechat.com/images/popup01_r3_c1.gif" width="59" height="47" border="0" id="popup01_r3_c1" alt="" /></td>
<td><a href="#"><img src="http://www.onechat.com/images/popup01_r3_c2.gif" alt="" name="popup01_r3_c2" width="58" height="17" border="0" id="popup01_r3_c2" onclick="MM_openBrWindow('http://chat.1plus.com/sample.aspx?company_id=1','','width=450,height=458')" /></a></td>
<td rowspan="2"><img name="popup01_r3_c3" src="http://www.onechat.com/images/popup01_r3_c3.gif" width="27" height="47" border="0" id="popup01_r3_c3" alt="" /></td>
<td><a href="#"><img src="http://www.onechat.com/images/popup01_r3_c4.gif" alt="" name="popup01_r3_c4" width="60" height="17" border="0" id="popup01_r3_c4" onclick="MM_showHideLayers('floatdiv','','hide')" /></a></td>
<td rowspan="2" colspan="2"><img name="popup01_r3_c5" src="http://www.onechat.com/images/popup01_r3_c5.gif" width="61" height="47" border="0" id="popup01_r3_c5" alt="" /></td>
<td><img src="http://www.onechat.com/images/spacer.gif" width="1" height="17" border="0" alt="" /></td>
</tr>
<tr>
<td><img name="popup01_r4_c2" src="http://www.onechat.com/images/popup01_r4_c2.gif" width="58" height="30" border="0" id="popup01_r4_c2" alt="" /></td>
<td><img name="popup01_r4_c4" src="http://www.onechat.com/images/popup01_r4_c4.gif" width="60" height="30" border="0" id="popup01_r4_c4" alt="" /></td>
<td><img src="http://www.onechat.com/images/spacer.gif" width="1" height="30" border="0" alt="" /></td>
</tr>
</table>
</div>
<script type="text/javascript"><!--
var winW = 630, winH = 460;
if (parseInt(navigator.appVersion)>3) {
if (navigator.appName=="Netscape") {
winW = window.innerWidth;
// winH = window.innerHeight;
}
if (navigator.appName.indexOf("Microsoft")!=-1) {
winW = document.body.offsetWidth
winW = winW /2-132.5
// winH = document.body.offsetHeight
}
}
//document.write(
// "Window width = "+winW+"<br>"
//+"Window height = "+winH
//)
var floatingMenuId = 'floatdiv';
var floatingMenu =
{
targetX: winW,
targetY: 100,
hasInner: typeof(window.innerWidth) == 'number',
hasElement: document.documentElement
&& document.documentElement.clientWidth,
menu:
document.getElementById
? document.getElementById(floatingMenuId)
: document.all
? document.all[floatingMenuId]
: document.layers[floatingMenuId]
};
floatingMenu.move = function ()
{
if (document.layers)
{
floatingMenu.menu.left = floatingMenu.nextX;
floatingMenu.menu.top = floatingMenu.nextY;
}
else
{
floatingMenu.menu.style.left = floatingMenu.nextX + 'px';
floatingMenu.menu.style.top = floatingMenu.nextY + 'px';
}
}
floatingMenu.computeShifts = function ()
{
var de = document.documentElement;
floatingMenu.shiftX =
floatingMenu.hasInner
? pageXOffset
: floatingMenu.hasElement
? de.scrollLeft
: document.body.scrollLeft;
if (floatingMenu.targetX < 0)
{
if (floatingMenu.hasElement && floatingMenu.hasInner)
{
// Handle Opera 8 problems
floatingMenu.shiftX +=
de.clientWidth > window.innerWidth
? window.innerWidth
: de.clientWidth
}
else
{
floatingMenu.shiftX +=
floatingMenu.hasElement
? de.clientWidth
: floatingMenu.hasInner
? window.innerWidth
: document.body.clientWidth;
}
}
floatingMenu.shiftY =
floatingMenu.hasInner
? pageYOffset
: floatingMenu.hasElement
? de.scrollTop
: document.body.scrollTop;
if (floatingMenu.targetY < 0)
{
if (floatingMenu.hasElement && floatingMenu.hasInner)
{
// Handle Opera 8 problems
floatingMenu.shiftY +=
de.clientHeight > window.innerHeight
? window.innerHeight
: de.clientHeight
}
else
{
floatingMenu.shiftY +=
floatingMenu.hasElement
? document.documentElement.clientHeight
: floatingMenu.hasInner
? window.innerHeight
: document.body.clientHeight;
}
}
}
floatingMenu.doFloat = function()
{
var stepX, stepY;
floatingMenu.computeShifts();
stepX = (floatingMenu.shiftX +
floatingMenu.targetX - floatingMenu.nextX) * .07;
if (Math.abs(stepX) < .5)
{
stepX = floatingMenu.shiftX +
floatingMenu.targetX - floatingMenu.nextX;
}
stepY = (floatingMenu.shiftY +
floatingMenu.targetY - floatingMenu.nextY) * .07;
if (Math.abs(stepY) < .5)
{
stepY = floatingMenu.shiftY +
floatingMenu.targetY - floatingMenu.nextY;
}
if (Math.abs(stepX) > 0 ||
Math.abs(stepY) > 0)
{
floatingMenu.nextX += stepX;
floatingMenu.nextY += stepY;
floatingMenu.move();
}
setTimeout('floatingMenu.doFloat()', 20);
};
// addEvent designed by Aaron Moore
floatingMenu.addEvent = function(element, listener, handler)
{
if(typeof element[listener] != 'function' ||
typeof element[listener + '_num'] == 'undefined')
{
element[listener + '_num'] = 0;
if (typeof element[listener] == 'function')
{
element[listener + 0] = element[listener];
element[listener + '_num']++;
}
element[listener] = function(e)
{
var r = true;
e = (e) ? e : window.event;
for(var i = element[listener + '_num'] -1; i >= 0; i--)
{
if(element[listener + i](e) == false)
r = false;
}
return r;
}
}
//if handler is not already stored, assign it
for(var i = 0; i < element[listener + '_num']; i++)
if(element[listener + i] == handler)
return;
element[listener + element[listener + '_num']] = handler;
element[listener + '_num']++;
};
floatingMenu.init = function()
{
floatingMenu.initSecondary();
floatingMenu.doFloat();
};
// Some browsers init scrollbars only after
// full document load.
floatingMenu.initSecondary = function()
{
floatingMenu.computeShifts();
floatingMenu.nextX = floatingMenu.shiftX +
floatingMenu.targetX;
floatingMenu.nextY = floatingMenu.shiftY +
floatingMenu.targetY;
floatingMenu.move();
}
if (document.layers)
floatingMenu.addEvent(window, 'onload', floatingMenu.init);
else
{
floatingMenu.init();
floatingMenu.addEvent(window, 'onload',
floatingMenu.initSecondary);
}
//-->
</script>