var ocmOrig = document.oncontextmenu
var ocmNone = new Function( "return false" )
// Inline Object
function ObjInline(n,a,x,y,w,h,v,z,c,d) {
this.name = n
this.altName = a
this.x = x
this.y = y
this.w = w
this.h = h
this.v = v
this.z = z
this.isGrp = false
this.hasOnUp = false
this.hasOnRUp = false
this.bgColor = c
this.obj = this.name+"Object"
this.parmArray = new Array
this.numParms = 0
this.alreadyActioned = false;
this.eatOnUp=false;
this.eatOnRUp=false;
eval(this.obj+"=this")
if ( d != 'undefined' && d!=null )
this.divTag = d;
else
this.divTag = "div";
this.childArray = new Array
}
function ObjInlineAddParm( newParm ) {
this.parmArray[this.numParms++] = newParm;
}
function ObjInlineAddChild( newChild ) {
this.childArray[this.childArray.length] = newChild;
}
function ObjInlineActionGoTo( destURL, destFrame ) {
this.objLyr.actionGoTo( destURL, destFrame );
}
function ObjInlineActionGoToNewWindow( destURL, name, props ) {
this.objLyr.actionGoToNewWindow( destURL, name, props );
}
function ObjInlineActionPlay( ) {
if( is.ie ) {
eval( "document.swf" + this.name + ".Play()" )
} else {
this.objLyr.actionPlay();
}
}
function ObjInlineActionStop( ) {
if( is.ie ) {
eval( "document.swf" + this.name + ".Stop()" )
} else {
this.objLyr.actionStop();
}
}
function ObjInlineActionShow( ) {
if( this.isGrp || !this.isVisible() )
this.onShow();
}
function ObjInlineActionHide( ) {
if( this.isGrp || this.isVisible() )
this.onHide();
}
function ObjInlineActionLaunch( ) {
this.objLyr.actionLaunch();
}
function ObjInlineActionExit( ) {
this.objLyr.actionExit();
}
function ObjInlineActionChangeContents( value, align, fntId ) {
var varValue = ''
varValue += value
if (arguments.length>1) {
var div = null
var fntName = this.objLyr.id + 'Font' + fntId
if( varValue.split ) {
var test = escape( varValue )
var ca = test.split('%5Cr')
if( ca.length ) {
var newVarValue=''
for(var i=0;i'
}
varValue = newVarValue
}
test = varValue;
var ca = test.split('%')
if( ca.length ) {
var newVarValue=''
for(var i=0;i';
if( !is.ns4 ) {
var parts = this.objLyr.ele.innerHTML.split(splitID);
if ( parts.length == 3 )
{
if( is.ns ){
if( varValue == "~~~null~~~" ) div = parts[0] + splitID + '' + '' + splitID + parts[2];
else div = parts[0] + splitID + '' + varValue + '' + splitID + parts[2];
}
else {
if( varValue == "~~~null~~~" ) div = parts[0] + splitID + '<' + this.divTag + ' class="' + align + '">' + '' + this.divTag + '>' + splitID + parts[2];
else div = parts[0] + splitID + '<' + this.divTag + ' class="' + align + '">' + varValue + '' + this.divTag + '>' + splitID + parts[2];
}
}
}
if( !div )
{
if( is.ns ){
if( varValue == "~~~null~~~" ) div = '' + ''
else div = '' + varValue + ''
}
else {
if( varValue == "~~~null~~~" ) div = '<' + this.divTag + ' class="' + align + '">' + '' + this.divTag + '>'
else div = '<' + this.divTag + ' class="' + align + '">' + varValue + '' + this.divTag + '>'
}
}
if( is.ns5 ) this.objLyr.ele.innerHTML = div
else this.objLyr.write( div );
}
else {
this.parmArray[1] = "";
this.parmArray[3] = "