
document.writeln("<style type=\"text/css\">");
document.writeln("		#ShowTab{font-size:12px;position:absolute;left:0;top:0;display:none;z-index:100;background:#FFFFDD;border:1px solid #000;padding-top:10px;width:600px;padding-bottom:7px;}");
document.writeln("		#ShowTab .title1{padding:0 5px;}");
document.writeln("		#ShowTab .title1 h2{float:left;}");
document.writeln("		#ShowTab .title1 span{float:right;color:#ccc}");
document.writeln("		#ShowTab .Notop{clear:both;border-top:1px solid #000;padding:3px 3px;padding-bottom:0px;}");
document.writeln("		#ShowTab .photo{float:left;width:250;height:350px;}");
document.writeln("		#ShowTab .info{margin-left:5px;float:left;width:325px;height:23px;line-height:23px;padding-bottom:4px;}");
document.writeln("		#ShowTab .yy{overflow:hidden;height:23px;line-height:23px;}");
document.writeln("		#ShowTab li span{float:right;width:262px;height:20px; line-height:20px;padding-top:4px;}");
document.writeln("		#ShowTab .summary{border-top:1px solid #000;padding-left:0px;list-style:none;padding-top:5px;height:185px;overflow:hidden;text-overflow:ellipsis;}");
//document.writeln("		#ShowTab .summary p{text-indent:2em;text-align:justify;text-justify:inter-ideograph;line-height:23px;height:23px;}");
document.writeln("		#ShowTab .summary p{text-indent:0em;text-align:justify;text-justify:inter-ideograph;line-height:23px;height:23px;}");
document.writeln("		#ShowTab .ad{display:block;background:#ccc;width:585px; height:90px;margin-left:3px;margin-top:3px;}");
document.writeln("	</style>");
document.writeln("	<div id=\"ShowTab\">");
document.writeln("		<div class=\"title1\"><a class=\"movieurl\"><h2></h2></a><span>VOD588-飞梦免费电影</span></div>");
document.writeln("		<div class=\"Notop\">");
document.writeln("			<a class=\"movieurl\"><img class=\"photo\"  style=\"float:left;\"/></a>");
document.writeln("			<div class=\"info\" >");
document.writeln("				<ul>");
document.writeln("					<li>电影名称：<a class=\"movieurl\"><font></font></a></li>");
document.writeln("					<li>加入收藏：【<a href=\"#\" onclick=\"javascript:window.open(\'http://shuqian.qq.com/post?from=3&title=\'+encodeURIComponent(document.title)+\'&uri=\'+encodeURIComponent(document.location.href)+\'&jumpback=2&noui=1\',\'favit\',\'width=930,height=470,left=50,top=50,toolbar=no,menubar=no,location=no,scrollbars=yes,status=yes,resizable=yes\');void(0)\" class=\"link_green_12n\">收藏到QQ书签</a>】【<a  href=\"#\" onclick=\"javascript:window.open(\'http://cang.baidu.com/do/add?it=\'+encodeURIComponent(document.title.substring(0,76))+\'&iu=\'+encodeURIComponent(location.href)+\'&fr=ien#nw=1\',\'_blank\',\'scrollbars=no,width=600,height=450,left=75,top=20,status=no,resizable=yes\'); void(0)\" class=\"link_green_12n\">添加到百度搜藏</a>】</li>");
document.writeln("					<li>所属分类：<font></font></li>");
document.writeln("					<li>播出年份：<font></font></li>");
document.writeln("                    <li class=\"yy\">主要演员：<font></font></li>");
document.writeln("					<li style=\"clear:both\">电影状态：<font></font></li>");
document.writeln("					<li><h2 style=\"height:28px;\">剧情简介:</h2></li>");
document.writeln("					<li class=\"summary\"><p></p></li>");
document.writeln("				</ul>");
document.writeln("			</div>");
document.writeln("			<div class=\"ad\">");

//document.writeln("				<iframe src=\"/pp/piaofu-lun.html\" width=\"585\" height=\"90\" frameborder=\"0\" scrolling=\"no\" marginheight=\"0\" marginwidth=\"0\"></iframe>");

//document.write('<script language=\"javascript\" src=\"\/ggjs\/piaofu-lun.js\"><\/script>');

document.writeln("			</div>");
document.writeln("		</div>");
document.writeln("	</div>");

var showTab=$("#ShowTab");
	showTab.init=function(){
		this.title=$("h2:first,font:first",this)
		this.movieurl=$(".movieurl",this)
		this.photo=$(".photo",this)
		this.category=$("font:eq(1)",this)
		this.year=$("font:eq(2)",this)
		this.actor=$("font:eq(3)",this)
		this.state=$("font:eq(4)",this)
		this.summary=$(".summary p",this)
		showTab.showTab=function($data){
			this.title.html(decodeURIComponent($data.title));
			this.photo.attr("src",$data.photo);
			this.category.html(decodeURIComponent($data.category));
			this.year.html(decodeURIComponent($data.year));
			this.actor.html(decodeURIComponent($data.actor));
			this.state.html(decodeURIComponent($data.state));
			this.summary.html(decodeURIComponent($data.summary)); 
			this.movieurl.attr("href",showTab.current.href);
			/*			
				loader.x=(document.body.clientWidth-this.getBoundingClientRect().right-$(this).width()/2>500?this.getBoundingClientRect().right:this.getBoundingClientRect().left-500-$(this).width()/2);
				loader.y=document.documentElement.scrollTop+(this.getBoundingClientRect().bottom>250?this.getBoundingClientRect().bottom-250:this.getBoundingClientRect().bottom);
			*/
			$(showTab).css({left:(document.documentElement.clientWidth-showTab[0].clientWidth)/2+document.documentElement.scrollLeft,top:(document.documentElement.clientHeight-showTab[0].clientHeight)/2+document.documentElement.scrollTop}).show();
		}
		showTab.hover(function(){
			showTab.show();
			showTab.mouseoverflag=true;
			clearTimeout(this.timer);
		},function(){
			showTab.mouseoverflag=false;
//			this.timer=setTimeout(function(){
				showTab.hide();
//			},100);
		});

		$(".ShowTab a").hover(function(){
			href=this.href;
			var loader=this;
				loader.x=(document.body.clientWidth-this.getBoundingClientRect().right-$(this).width()/2>500?this.getBoundingClientRect().right:this.getBoundingClientRect().left-500-$(this).width()/2);
				loader.y=document.documentElement.scrollTop+(this.getBoundingClientRect().bottom>250?this.getBoundingClientRect().bottom-250:this.getBoundingClientRect().bottom);
				showTab.current=loader;
				this.timer=setTimeout(function(){
					if(loader.data){
						showTab.showTab(loader.data);
					}else{
						$.getJSON("/dy_html/"+(/\/dy_html\/([a-z0-9]+)\.html/ig.exec(href)[1])+".js",function($data){
							loader.data=$data;
							showTab.showTab(loader.data=$data);
						})
					}
				},1000);
		},function(){
			clearTimeout(this.timer);
			showTab.hide();
		});
	};
	