[b]<!--
******************************************************************************
*
* File Name: template.html
*
******************************************************************************
* C O P Y R I G H T A N D C O N F I D E N T I A L I T Y N O T I C E
******************************************************************************
*
* Copyright © 2006 AOL LLC. All rights reserved.
* This software contains valuable confidential and proprietary
* information of AOL LLC. and is subject to applicable
* licensing agreements. Unauthorized reproduction, transmission or
* distribution of this file and its contents is a violation of
* applicable laws.
*
* A O L C O N F I D E N T I A L
*
******************************************************************************
-->
<html>
<head>
<link rel="stylesheet" type="text/css" href="template.css">
<style type="text/css"></style>
<script for=SWF1 event=FSCommand>onFSCommand(arguments[0],arguments[1])</script>
<script for=SWF2 event=FSCommand>onFSCommand(arguments[0],arguments[1])</script>
<script for=SWF3 event=FSCommand>onFSCommand(arguments[0],arguments[1])</script>
<script for=SWF4 event=FSCommand>onFSCommand(arguments[0],arguments[1])</script>
</head>
<script language="JavaScript">
<!--
var AIMX = null;
var AIMXURL = "";
var stuckToBottom=true;
var isInitial=true;
var hasBuddyIcon=false;
var hasSuperBuddy=false;
var hasWallpaper=false;
var inAdjust=false;
var debugWindow=null;
var textBody=null;
var flashVersion=0;
var MM_contentVersion = 6;
var MM_FlashCanPlay=false;
// --------------------------
// AIM Partner Expression API
function getAIMXApiVersion() { return 1; }
function getFlashVersion() { return flashVersion; }
function getImTextDoc() { return textWindow.document; }
function getImTextWindow() { return document.getElementById("textWindow"); }
function getImTextBody() { return _getTextBody(); }
function getImTextIconStyle() { return buddyicon.style; }
function getImTextFaderStyle() { return faderSurround.style; }
function appendImText(text) { appendHTML(-1, html, ""); }
function clearImText() { clearHTML(); }
function showImText(e) { textWindow.style.display=e?"":"none" }
function Adjust() { _AdjustIcons(); }
function handleURL(u) { external.proxy.launchURL(u); }
function addImTextRule(sel,style)
{
textWindow.document.styleSheets[1].addRule(sel, style);
}
function resetImTextStyles()
{
var ss = textWindow.document.styleSheets[1];
var rules = ss.rules;
rules.disabled = true;
while (rules.length) { ss.removeRule(0); }
rules.disabled = false;
}
function addImHistRule(sel,style)
{
document.styleSheets[1].addRule(sel, style);
}
function resetImHistStyles()
{
var ss = document.styleSheets[1];
var rules = ss.rules;
var rules = ss.rules;
rules.disabled = true;
while (rules.length) { ss.removeRule(0); }
rules.disabled = false;
}
function setMinSize(w, h)
{
external.proxy.setMinSize(w,h);
}
function setAIMX(base,code)
{
clearAIMX();
_mark();
AIMX=null;
AIMXURL=base + "/";
eval(code);
if (AIMX&&AIMX.ctor)
{
FlashDiv.style.visibility="hidden";
MM_FlashCanPlay = false;
if (!AIMX.ctor()) clearAIMX();
}
else if (!AIMX)
{
clearAIMX();
}
else
{
_AdjustIcons();
}
}
function clearAIMX()
{
if (AIMX&&AIMX.dtor) AIMX.dtor();
_sweep();
resetImTextStyles();
resetImHistStyles();
setMinSize(50, 20);
AIMX=null;
AIMXURL="";
MM_FlashCanPlay = flashVersion >= MM_contentVersion;
FlashDiv.style.visibility="visible";
_getTextBody();
textBody.leftMargin = 10;
textBody.topMargin = 15;
textBody.bottomMargin = 15;
faderSurround.style.paddingTop = 0;
faderSurround.style.paddingLeft = 0;
faderSurround.style.paddingBottom = 0;
//BuddyWallpaperDiv.paddingRight = 0;
//BuddyWallpaperDiv.paddingLeft = 0;
//BuddyWallpaperDiv.paddingTop = 0;
//BuddyWallpaperDiv.paddingBottom = 0;
_AdjustIcons();
}
// --------------------------
function _getTextBody()
{
if (!textBody) textBody = textWindow.document.body;
return textBody;
}
// Checks to see if?
function _checkScroll()
{
if (AIMX&&AIMX.resize) AIMX.resize();
if(stuckToBottom || isInitial)
{
scrollToBottom();
}
_AdjustIcons();
}
function _print(t)
{
external.proxy.print(t);
}
function _AdjustIcons()
{
if (!inAdjust)
{
inAdjust=true;
try {
var f=7; // default flags
_getTextBody();
var sbars = (textBody.clientHeight < textBody.scrollHeight);
var trm = ( (buddyicon.style.display != "none" || hasSuperBuddy || hasWallpaper) ? 60 : 4);
var bsr = ((buddyicon.style.display != "none") ? (sbars ? 25 : 4) : 0);
var fsp = (hasWallpaper ? (sbars ? 77 : 59) : 0);
textBody.scroll= (sbars? "yes" : "no");
if (AIMX&&AIMX.adjust) f=AIMX.adjust(sbars, trm, bsr, fsp);
if(f & 1)
{
textBody.rightMargin = trm;// + "px";
}
if(f & 2)
{
buddyicon.style.right = bsr;// + "px";
superGroupDiv.style.right = (sbars ? 18 : 0);// + "px";
}
if(f & 4)
{
faderSurround.style.paddingRight = fsp;// + "px";
}
} catch (e) {
_print("Exception in _AdjustIcons(): " + e.description);
}
inAdjust=false;
if(stuckToBottom)
{
scrollToBottom();
}
}
}
function _onLoadFunction()
{
statusIndicator.style.right ="20";
statusIndicator.style.paddingLeft ="20";
textWindow.attachEvent('onscroll', _checkStuckToBottom);
_checkScroll();
/*
_print("textBody.leftMargin = " + textBody.leftMargin);
_print("textBody.rightMargin = " + textBody.rightMargin);
_print("textBody.topMargin = " + textBody.topMargin);
_print("textBody.bottomMargin = " + textBody.bottomMargin);
_print("faderSurround.style.paddingTop = " + faderSurround.style.paddingTop);
_print("faderSurround.style.paddingBottom = " + faderSurround.style.paddingBottom);
_print("faderSurround.style.paddingLeft = " + faderSurround.style.paddingLeft);
_print("faderSurround.style.paddingRight = " + faderSurround.style.paddingRight);
*/
}
onresize = _checkScroll;
onload = _onLoadFunction;
function _checkStuckToBottom()
{
_getTextBody();
if(isInitial || textBody.clientHeight == 0) return;
/* put a padding in here of 20 pixels */
if( (textBody.scrollTop + textBody.clientHeight + 20) >= textBody.scrollHeight || textBody.clientHeight > textBody.scrollHeight)
{
stuckToBottom = true;
}
else
{
stuckToBottom = false;
}
}
function _mark()
{
var c = document.all.length;
for (var i=0;i<c;i++)
document.all[i].aim=true;
_sweep = _sweep2;
}
function _sweep() {}
function _sweep2()
{
s = { "CAPTION":1,"COL":1,"COLGROUP":1,"FRAMESET":1,"HTML":1,
"TBODY":1,"TD":1,"TFOOT":1,"TH":1,"THEAD":1,"TR":1};
var d=[];
var c= document.all.length;
for (var i=0;i<c; i++)
{
var o = document.all[i];
if (!o.aim && !s[o.tagName.toUpperCase()]) d.push(o);
}
var c = d.length;
for (var i=0;i<c; i++) { d[i].outerHTML=""; }
}
/* \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/ */
// Boxely Interface
function isStuckToBottom() { return stuckToBottom; }
// Shows or hides status text indicator.
function statusText(text)
{
if( !text || text=="")
{
statusIndicator.style.display = "none";
}
else
{
statusIndicator.innerHTML = text;
statusIndicator.style.display = "inline";
}
}
//----------------------------------------------------------------------------
//IM Text
function focusText() { _getTextBody().focus(); }
function scrollToBottom()
{
_getTextBody();
textBody.scrollTop = textBody.scrollHeight;
}
function appendHTML(source, html, plain)
{
_getTextBody();
textBody.insertAdjacentHTML('beforeEnd', html);
if (AIMX)
{
if (1==source && AIMX.receivedIm)
AIMX.receivedIm(plain);
else if (0==source && AIMX.sentIm)
AIMX.sentIm(plain);
}
if( stuckToBottom )
{
scrollToBottom();
// move cursor to the end of the page
var range = textBody.createTextRange();
range.collapse(false);
range.select();
}
if(isInitial)
{
isInitial = false;
}
_AdjustIcons();
}
function clearHTML()
{
_getTextBody();
textBody.innerHTML = "";
_AdjustIcons();
}
// Somtimes we need to clear the history. since it's not contained in a span
// tag, we just readd the ad and the spam box.
function clearHistory()
{
_getTextBody();
spamSpan = textWindow.document.getElementById('spamSpan');
if(spamSpan)
{
spamSpan.parentNode.removeChild(spamSpan);
}
textBody.innerHTML = "";
textBody.appendChild(spamSpan);
}
function getHTML()
{
_getTextBody();
// remove spam text
var div = textWindow.document.getElementById('spamSpan');
if(div)
{
div.parentNode.removeChild(div);
}
return textBody.innerHTML;
}
function superBuddyBuddyTrigger(text)
{
if(document.all.MetaStreamCtl)
{
return document.all.MetaStreamCtl.ProcessMessage (text);
}
}
var conversationSheet;
function addRule(name, value)
{
conversationSheet = textWindow.document.createStyleSheet();
conversationSheet.addRule(name, value);
}
function flipTimestamp()
{
if(conversationSheet.rules[0].style.display == "inline")
{
conversationSheet.rules[0].style.display = "none";
}
else
{
conversationSheet.rules[0].style.display = "inline";
}
_AdjustIcons();
}
function setFlashVer(v)
{
flashVersion = v;
MM_FlashCanPlay = v >= MM_contentVersion;
_initializeFlash();
}
// If a pref is added later which wants to know if flash is
// working, an easy check is to run
// if( ! FlashCtl.object ) // no flash!
function playSmiley(index)
{
index++; //index passed in is base 0, we need base 1
if ( MM_FlashCanPlay )
{
document.all.FlashCtl.setVariable("opacity",30);
document.all.FlashCtl.setVariable("emote",index);
}
}
function _initializeFlash()
{
if ( MM_FlashCanPlay )
{
var obj = '<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"'+
' codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" '+
' ID="FlashCtl" WIDTH="100%" HEIGHT="100%" ALIGN="">'+
' <PARAM NAME=movie VALUE="Emoticals_bitmap.swf"> <PARAM NAME=quality VALUE=high>'+
' <PARAM NAME=wmode VALUE="transparent">'+
' </OBJECT>';
FlashDiv.innerHTML = obj;
}
else
{
FlashDiv.style.visibility="hidden";
}
}
function onFSCommand(c,a)
{
if (AIMX&&AIMX.flash) AIMX.flash(c,a);
}
//----------------------------------------------------------------------------
//Spam
function setupSpam(t, l)
{
textWindow.spamText.innerHTML = t;
textWindow.spamLink.innerHTML = l;
}
function enableSpam(d) { textWindow.spamLink.disabled=d; }
function showSpam(s)
{
var div = textWindow.document.getElementById('spamSpan');
if(s)
{
div.style.display = "inline";
}
else
{
div.style.display = "none";
}
}
//----------------------------------------------------------------------------
// Expressions:
function setBuddyIcon(s)
{
var b=true;
if (AIMX&&AIMX.canShowBuddy) b=AIMX.canShowBuddy(s, false);
if(b && s)
{
buddyicon.src=s;
buddyicon.style.display = "inline";
superGroupDiv.innerHTML = "";
}
else
{
superGroupDiv.innerHTML = "";
buddyicon.style.display = "none";
}
hasSuperBuddy = false;
_AdjustIcons();
}
function setSuperBuddyIcon(s)
{
hasSuperBuddy = false;
buddyicon.style.display = "none";
superGroupDiv.innerHTML = "";
_AdjustIcons();
if (s==null) return;
var b=true;
if (AIMX&&AIMX.canShowBuddy) b=AIMX.canShowBuddy(s,true);
if (
{
superGroupDiv.innerHTML = '<object ' +
'id="MetaStreamCtl" '+
'classid="CLSID:AE98F132-0B5F-44CF-A7B9-AA88A5A65382" '+
'width=80 '+
'height=80 '+
'codebase="https://components.viewpoint.com/MTSInstallers/MetaStream3.cab#Version=3,0,2,62" VIEWASTEXT> '+
//'<param name="Source" value="http://cdn-cf.aol.com/se/superbud/yellow_dog/yellow_dog_preloader.mtz"> '+
'<param name="Component" value="ISceneComponent"> '+
'<param name="ComponentFileName" value="SceneComponent.mtc"> '+
'<param name="BroadcastKeyFileURL" value=""> '+
'<param name="GenieMinimumVersion" value="50333696"> '+
'</object>';
try
{
buddyicon.style.display = "none";
document.all.MetaStreamCtl.PluginCommand ('ForceHostLayering(1)', 0, 0);
document.all.MetaStreamCtl.SetSuperBuddy (s, 'EN');
hasSuperBuddy = true;
}
catch(e)
{
superGroupDiv.innerHTML = "";
_AdjustIcons();
throw(e)
}
_AdjustIcons();
}
}
function setBuddyWallpaper(u, f)
{
var b=true;
if (AIMX&&AIMX.canShowWallpaper) b=AIMX.canShowWallpaper(u,f);
if (
{
if ( f)
{
var obj = '<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"'+
' codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" '+
' ID="FlashWallpaperCtl" WIDTH="100%" HEIGHT="100%" ALIGN="">'+
' <PARAM NAME=movie VALUE="' + u + '"> <PARAM NAME=quality VALUE=high>'+
' <PARAM NAME=wmode VALUE="transparent">'+
' </OBJECT>';
BuddyWallpaperDiv.innerHTML = obj;
hasWallpaper=true;
}
else if (f==false && u)
{
BuddyWallpaperDiv.innerHTML='<div style="width:100%; height:100%; background-image: url(' + u + ');"></div>';
hasWallpaper=true;
}
else
{
BuddyWallpaperDiv.innerHTML="";
hasWallpaper=false;
}
}
else
{
BuddyWallpaperDiv.innerHTML="";
hasWallpaper=false;
}
_AdjustIcons();
}
function setWallpaperOverlay(u, f)
{
var b=true;
if (AIMX&&AIMX.canShowOverlay) b=AIMX.canShowOverlay(u,f);
if (
{
if (f)
{
var obj = '<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"'+
' codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" '+
' ID="FlashWallpaperCtl" WIDTH="100%" HEIGHT="100%" ALIGN="">'+
' <PARAM NAME=movie VALUE="' + u + '"> <PARAM NAME=quality VALUE=high>'+
' <PARAM NAME=wmode VALUE="transparent">'+
' </OBJECT>';
wallPaperOverlay.innerHTML = obj;
hasWallpaper=true;
}
else if (f==false && u)
{
wallPaperOverlay.innerHTML='<div style="width:100%; height:100%; background-image: url(' + u + ');"></div>';
hasWallpaper=true;
}
else
{
wallPaperOverlay.innerHTML="";
hasWallpaper=false;
}
}
else
{
wallPaperOverlay.innerHTML="";
hasWallpaper=false;
}
_AdjustIcons();
}
function getTextWindowStyleSheets()
{
return textWindow.document.styleSheets;
}
//-->
</SCRIPT>
<body scroll="no" marginheight="0" marginwidth="0" onFocus="focusText();">
<div id="BuddyWallpaperDiv" class="BuddyWallpaperDiv"></div>
<div id="faderSurround" class="faderSurround">
<div id="fader" class="fader"></div>
</div>
<div id="gallery" class="gallery">
<img id="buddyicon" class="buddyicon" align="right" unselectable="on">
<div id="superGroupDiv" class="superGroupDiv" align="right"/>
</div>
<div id="FlashDiv" class="FlashDiv" ></div>
<div id="wallPaperOverlay" class="wallPaperOverlay"></div>
<iframe id="textWindow" class="textWindow" src="default.htm" ALLOWTRANSPARENCY="true" ></iframe>
<div unselectable="on" id="statusIndicator" class="statusIndicator"/>
</body>
</html>
When receiving an IM the sound comes up that we are being IM'ed but nothing is written. When we try to IM to someone we type a word & click send. I hear a slight beeping (blocking?) sound but nothing shows up.
I have uninstalled & reinstalled countless times. I have turned Norton firewall off & on. I have done SpyBot, Adaware & Norton scans. I am at my wits end with this!
Any & all help would be greatly appreciated!
This post has been edited by HelpPlease67: 21 December 2006 - 11:05 PM

Help

Back to top









