var host = "http://" + location.hostname;

var o = document.createElement("link") 
o.rel = "stylesheet"; 
o.type = "text/css"; 
o.href = host + "/css/header.css"; 
o.media = "screen"; 
var ho = document.getElementsByTagName('head')[0]; 
ho.appendChild(o); 

document.write('<div id="wb_header">');
document.write('	<div id="wb_logo"></div>');
document.write('	<div id="wb_flash">');
/*
document.write('		<object type="application/x-shockwave-flash" data="'+host+'/images/flash-1.swf" width="304" height="76" id="flash1" name="flash1">');
document.write('			<param name="allowScriptAccess" value="sameDomain" />');
document.write('			<param name="movie" value="'+host+'/images/flash-1.swf" />');
document.write('			<param name="quality" value="high" />');
document.write('			<param name="scale" value="noScale" />');
document.write('			<param name="allowFullScreen" value="true" />');
document.write('			<param name="wmode" value="transparent" />');
document.write('		</object>');
*/
document.write('	</div>');
document.write('	<div id="wb_login">');
document.write('		<iframe src="http://sso.mo2u.net/sitv/login_status.do" id="loginframe" width="100%" height="70" frameborder="no" border="0" marginwidth="0" marginheight="0" scrolling="no" allowtransparency="yes"></iframe>');
document.write('	</div>');
document.write('</div>');
/*
var myArray = [
"http://pic.6621.cn/p1/jpg/2010-04-28/1/12um.6621.cn_2938897000.jpg|javascript:void(0);",
"http://pic.6621.cn/p1/jpg/2010-04-27/23/12um.6621.cn_3031835000.jpg|javascript:void(0);",
"http://pic.6621.cn/p1/jpg/2010-04-28/1/12um.6621.cn_2938847000.jpg|javascript:void(0);"];

setTimeout(function(){
	document.getElementById("flash1").sendToAS(myArray); 
}, 2000);
*/