function Exception927(name, message)
{ if (name) this.name = name;
if (message) this.message = message;}
Exception927.prototype.setName = function(name)
{ this.name = name;}
Exception927.prototype.getName = function()
{ return this.name;}
Exception927.prototype.setMessage = function(msg)
{ this.message = msg;}
Exception927.prototype.getMessage = function()
{ return this.message;}
function FlashTag927(src, width, height)
{
this.src = src;
this.width = width;
this.height = height;
this.version = '7,0,14,0';
this.flashVars = null;
this.menu ='false';
this.bgcolor = '';
this.id = 'f_' + ((new Date()).getTime()).toString();
this.salign = null;
this.scale = null;
this.wmode = 'transparent';
this.wmodeFF = null;
}
FlashTag927.prototype.setSalign = function(sa)
{ this.salign = sa;}
FlashTag927.prototype.setMenu = function(menuShow)
{ this.menu = menuShow;}
FlashTag927.prototype.setScale = function(scl)
{ this.scale = scl;}
FlashTag927.prototype.setWmode = function(wm)
{ this.wmode = wm;}
FlashTag927.prototype.setWmodeFF = function(wmff)
{ this.wmodeFF = wmff;}
FlashTag927.prototype.setVersion = function(v)
{ this.version = v;}
FlashTag927.prototype.setId = function(id)
{ this.id = id;}
FlashTag927.prototype.setBgcolor = function(bgc)
{ this.bgcolor = bgc;}
FlashTag927.prototype.setFlashvars = function(fv)
{ this.flashVars = fv;}
FlashTag927.prototype.setSrc = function(src)
{ this.src = src;}
FlashTag927.prototype.setNew = function(src, width, height)
{ this.src = src;
this.id = 'f_' + ((new Date()).getTime()).toString();
this.width = width;
this.height = height;
this.flashVars = null;
this.bgcolor = '';
this.salign = null;
this.scale = null;
this.wmode = 'transparent';
this.wmodeFF = null;
}
FlashTag927.prototype.toString = function()
{
var ie = (navigator.appName.indexOf ("Microsoft") != -1) ? 1 : 0;
var FlashTag927 = new String();
if (ie)
{
FlashTag927 += '';
}
else
{
FlashTag927 += '';
}
return FlashTag927;
}
FlashTag927.prototype.write = function(doc)
{ doc.write(this.toString());}
function FlashSerializer927(useCdata)
{ this.useCdata = useCdata;}
FlashSerializer927.prototype.serialize = function(args)
{ var qs = new String();
for (var i = 0; i < args.length; ++i)
{
switch(typeof(args[i]))
{
case 'undefined':
qs += 't'+(i)+'=undf';
break;
case 'string':
qs += 't'+(i)+'=str&d'+(i)+'='+escape(args[i]);
break;
case 'number':
qs += 't'+(i)+'=num&d'+(i)+'='+escape(args[i]);
break;
case 'boolean':
qs += 't'+(i)+'=bool&d'+(i)+'='+escape(args[i]);
break;
case 'object':
if (args[i] == null)
{
qs += 't'+(i)+'=null';
}
else if (args[i] instanceof Date)
{
qs += 't'+(i)+'=date&d'+(i)+'='+escape(args[i].getTime());
}
else
{
try
{
qs += 't'+(i)+'=xser&d'+(i)+'='+escape(this._serializeXML(args[i]));
}
catch (Exception927)
{
throw new Exception927('FlashSerializationException927','The following error occurred during complex object serialization: ' + Exception927.getMessage());
}
}
break;
default:
throw new Exception927('FlashSerializationException927','You can only serialize strings, numbers, booleans, dates, objects, arrays, nulls, and undefined.');
}
if (i != (args.length - 1))
{
qs += '&';
}
}
return qs;
}
FlashSerializer927.prototype._serializeXML = function(obj)
{ var doc = new Object();
doc.xml = '';
this._serializeNode(obj, doc, null);
doc.xml += '';
return doc.xml;
}
FlashSerializer927.prototype._serializeNode = function(obj, doc, name)
{
switch(typeof(obj))
{
case 'undefined':
doc.xml += '';
break;
case 'string':
doc.xml += ''+this._escapeXml(obj)+'';
break;
case 'number':
doc.xml += ''+obj+'';
break;
case 'boolean':
doc.xml += '';
break;
case 'object':
if (obj == null)
{
doc.xml += '';
}
else if (obj instanceof Date)
{
doc.xml += ''+obj.getTime()+'';
}
else if (obj instanceof Array)
{
doc.xml += '';
for (var i = 0; i < obj.length; ++i)
{
this._serializeNode(obj[i], doc, null);
}
doc.xml += '';
}
else
{
doc.xml += '';
for (var n in obj)
{
if (typeof(obj[n]) == 'function')
continue;
this._serializeNode(obj[n], doc, n);
}
doc.xml += '';
}
break;
default:
throw new Exception927('FlashSerializationException927','You can only serialize strings, numbers, booleans, objects, dates, arrays, nulls and undefined');
break;
}
}
FlashSerializer927.prototype._addName= function(name)
{
if (name != null)
{
return ' name='+name+'';
}
return '';
}
FlashSerializer927.prototype._escapeXml = function(str)
{
if (this.useCdata)
return '';
else
return str.replace(/&/g,'&').replace(/ 1)
{
var justArgs = new Array();
for (var i = 1; i < arguments.length; ++i)
{
justArgs.push(arguments[i]);
}
qs += ('&' + this.FlashSerializer927.serialize(justArgs));
}
var divName = '_flash_proxy_' + this.uid;
if(!document.getElementById(divName))
{
var newTarget = document.createElement('div');
newTarget.id = divName;
document.body.appendChild(newTarget);
}
var target = document.getElementById(divName);
var ft = new FlashTag927(this.proxySwfName, 1, 1);
ft.setVersion('6,0,65,0');
ft.setFlashvars(qs);
target.innerHTML = ft.toString();
}
FlashSerializer927.callJS = function()
{
var functionToCall = eval(arguments[0]);
var argArray = new Array();
for (var i = 1; i < arguments.length; ++i)
{
argArray.push(arguments[i]);
}
functionToCall.apply(functionToCall, argArray);
}
function getMovieObj(movieName) {
if (navigator.appName.indexOf('Microsoft') != -1){
return window[movieName];
}else{
return document[movieName];
}
}
var FlashTag927Ins = new FlashTag927('', 100, 10);
FlashTag927Ins.setNew('http://927.up.hiao.com/up/lunbo600-50.swf?varsUrl=http://927.up.hiao.com/up/loc/2012-2/lunbo927.txt', 600,50);
FlashTag927Ins.setVersion('7,0,19,0'); function fn_upload_927(){try {var canvas = document.getElementById('nuploc_927');canvas.style.width=600;canvas.style.height=50;
canvas.innerHTML = FlashTag927Ins.toString();} catch (e) {}}
fn_upload_927();