function setCSS(cssname)
{
mycss.styleSheet.cssText="";
mycss.styleSheet.addImport("/mb/news_css"+cssname+".css");
}

function doZoom(size,height){
	if(size==12){
		document.getElementById("nr").style.fontSize="12px";
		document.getElementById("nr").style.lineheight="100%";
		document.styleSheets[0].addRule("#all_div a","line-height:24px;font-size:12px;color:#000;text-decoration:none;");
		}
	if(size==14){
		document.getElementById("nr").style.fontSize="16px";
		document.getElementById("nr").style.lineheight="150%";
		document.styleSheets[0].addRule("#all_div a","line-height:24px;font-size:14px;color:#000;text-decoration:none;");
		}
	if(size==16){
		document.getElementById("nr").style.fontSize="20px";
		document.getElementById("nr").style.lineheight="200%";
		document.styleSheets[0].addRule("#all_div a","line-height:24px;font-size:16px;color:#000;text-decoration:none;");
		}
}
function myhomepage(){
	this.homepage1.style.behavior='url(#default#homepage)';
	this.homepage1.sethomepage('http://www.yirenss.com/');
}
var myReg =/.*_(\d*)\..*/; 
var path1;
path1=window.location.href;
var id=path1.replace(myReg,"$1"); 
function tools(t){
	document.write("【<A href='javascript:myhomepage();' name='homepage"+t+"'>设为首页</A>】【<A href='javascript:shoucang();'>收藏<A>】【<a href='javascript:doZoom(16,26)'>大</a> <a href='javascript:doZoom(14,22)'>中</a> <a href='javascript:doZoom(12,20)'>小</a>】【<a href='/'>首页</a>】【<a href='#top' style=\"color:#ff0000\"><b>返回顶部</b></a>】【<a href='http://www.yirenss.com/inc/zhuanzai_user.asp?id="+id+"' target='_blank'>转载文章</a>】");
}

function copycode(obj){
obj.select();
objcopy=obj.createTextRange();
objcopy.execCommand("Copy");
}
function copy1(obj1){ 
var cr=document.body.createTextRange();cr.moveToElementText(document.getElementById(obj1));cr.select();
cr.execCommand("Copy")
} 

function shengming(){
	document.write("<p  style='font-size:12px'>声明：基于信息传播的目的，本网部分内容由网上转载，如有异议请与本网联系，本网会尽快处理有争议之内容。</p>");
	}
	
function zhuanzai(){
	var text1='<div style="display: none" id="nr1"></div>';
	document.write(text1);
	var text2='<br /><font style="color:red;">点这里转载文章，请不要去掉文后链接：</font>';
	document.write(text2);
	}



function guoshi(){
document.all.nr.innerHTML="<center><a href='"+ file1 +"' style='color:red;'>您查看的内容可能已经过时，点这里查看最新内容</a></center>"+document.all.nr.innerHTML;	
}

function page_linktop(){}

function if1(){
	document.all.if1.height=0;
	document.all.if1.src="";
	document.all.if1.width="320px;";
	window.right.height=900;
	//window.alert(right.height);
	}
	
function shoucang1(){
	var a;
	var b;
	var c;
a="<a href=\"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)\" style=\"color:#ff5500;padding:2px 2px 0px 5px;font-size:14px;\"><img src=\'http://shuqian.qq.com/img/add.gif\' border=0 />收藏到QQ书签</a>";
b="<a  style=\"color:#ff5500;text-decoration:none;font-size:14px;\"   href=\"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\" style=\"color:#ff5500;text-decoration:none;font-size:12px;font-weight:normal\"><IMG  src=\"http://cang.baidu.com/-/remote/fav1.jpg\" align=absMiddle border=0>添加到百度搜藏</a>";
c="<a href=\"#\"  style=\"color:#ff5500;text-decoration:none;font-size:14px;\"  onclick=\"window.open(\'http://myweb.cn.yahoo.com/popadd.html?&url=\'+encodeURIComponent(document.location.href)+\'&tags=asldkfasdkf&title=\'+encodeURIComponent(document.title), \'Yahoo\',\'scrollbars=yes,width=780,height=550,left=80,top=80,status=yes,resizable=yes\');\"><img src=\"http://cn.yimg.com/i/fav/add2myweb.gif\" border=0>添加到雅虎收藏</a>";
document.write(a + b + c);
	}


function ggad_w1(){
document.writeln("<script type=\"text/javascript\"><!--");
document.writeln("google_ad_client = \"pub-4680806060254892\";");
document.writeln("//336x280, 创建于korea_内容_上  07-11-6");
document.writeln("google_ad_slot = \"7242959931\";");
document.writeln("google_ad_width = 336;");
document.writeln("google_ad_height = 280;");
document.writeln("//-->");
document.writeln("</script>");
document.writeln("<script type=\"text/javascript\" src=\"http://pagead2.googlesyndication.com/pagead/show_ads.js\">");
document.writeln("</scr"+"ipt>");
}
function ggad_w2(){
document.writeln("<script type=\"text/javascript\"><!--");
document.writeln("google_ad_client = \"pub-4680806060254892\";");
document.writeln("//336x280, 创建于korea_内容_下  07-11-6");
document.writeln("google_ad_slot = \"7242959931\";");
document.writeln("google_ad_width = 336;");
document.writeln("google_ad_height = 280;");
document.writeln("//-->");
document.writeln("</scr"+"ipt>");
document.writeln("<script type=\"text/javascript\" src=\"http://pagead2.googlesyndication.com/pagead/show_ads.js\">");
document.writeln("</scr"+"ipt>");
}
function ggad_right(){
document.writeln("<script type=\"text/javascript\"><!--");
document.writeln("google_ad_client = \"pub-4680806060254892\";");
document.writeln("//336x280, 创建于korea_内容_下  07-11-6");
document.writeln("google_ad_slot = \"8746005759\";");
document.writeln("google_ad_width = 160;");
document.writeln("google_ad_height = 600;");
document.writeln("//-->");
document.writeln("</scr"+"ipt>");
document.writeln("<script type=\"text/javascript\" src=\"http://pagead2.googlesyndication.com/pagead/show_ads.js\">");
document.writeln("</scr"+"ipt>");
}



function ggad_w3(){
document.writeln("<script type=\"text/javascript\">");
document.writeln("alimama_pid=\"mm_10106695_1110378_8541341\"; ");
document.writeln("alimama_type=\"f\";");
document.writeln("alimama_sizecode =\"tl_2x4_12\"; ");
document.writeln("alimama_fontsize=12; ");
document.writeln("alimama_bordercolor=\"FFFFFF\"; ");
document.writeln("alimama_bgcolor=\"FFFFFF\"; ");
document.writeln("alimama_titlecolor=\"0000FF\"; ");
document.writeln("alimama_underline=0; ");
document.writeln("alimama_height=42; ");
document.writeln("alimama_width=0; ");
document.writeln("</script>");
document.writeln("<script src=\"http://a.alimama.cn/inf.js\" type=\"text/javascript\"> ");
document.writeln("</script>");
}

function ggad_w4(){
document.writeln("<div style=\"\">");
document.writeln("<script type=\"text/javascript\"><!--");
document.writeln("google_ad_client = \"pub-4680806060254892\";");
document.writeln("//728x15, 创建于 07-11-6 koreafad");
document.writeln("google_ad_slot = \"4516303488\";");
document.writeln("google_ad_width = 728;");
document.writeln("google_ad_height = 15;");
document.writeln("//--></script>");
document.writeln("<script type=\"text/javascript\" src=\"http://pagead2.googlesyndication.com/pagead/show_ads.js\">");
document.writeln("</sc"+"ript>");
document.write("</div>");
}


function ggss_show1(){
	document.write("<font style=\"color:red;font-size:14px;\">热门搜索：</font>");
	ggss_show("服饰搭配");
	ggss_show("韩流服饰");
	ggss_show("韩国明星");
	ggss_show("美容美体");
	ggss_show("瘦身减肥");
	ggss_show("非主流");
	ggss_show("明星美图");
}

function ggss_show(o_str1){
document.write("<a href=\"/key.asp?k="+o_str1+"\">"+o_str1+"</a>&nbsp;&nbsp;");
}

function ggss_show2(o_str1){
document.write("<a href=\"/key.asp?k="+o_str1+"\">"+o_str1+"</a>&nbsp;&nbsp;");

}
//!--左侧
function ggad_w5(){
	document.write(" ");
}

function ggad_lw5(){
	document.write(" ");
}

function ggad_lw1(){
document.writeln("<span style=\"width:250px;text-align:center;\"><iframe style=\"width:250px;height:860px;\" id=\"if1\" height=\"1\" frameborder=\"0\" src=\"/inc/a/wz_l1.html\" scrolling=\"no\"></iframe></span>");
	  }

function ggad_w6(){
document.writeln("<script type=\"text/javascript\"><!--");
document.writeln("google_ad_client = \"pub-4680806060254892\";");
document.writeln("//728x15,koreafad_linkfoot_tools");
document.writeln("google_ad_slot = \"6391522085\";");
document.writeln("google_ad_width = 468;");
document.writeln("google_ad_height = 15;");
document.writeln("//-->");
document.writeln("</script>");
document.writeln("<script type=\"text/javascript\" src=\"http://pagead2.googlesyndication.com/pagead/show_ads.js\">");
document.writeln("</scr"+"ipt>");
}
	
function show_w7(){
	document.writeln("<span style=\"width:0px;height:0;text-align:center;\">");
	document.write("<ifr");
	document.write("ame style=\"width:0px;height:0px;\" id=\"if1\" height=\"1\" frameborder=\"0\"");
	document.write("src=\"\" scrolling=\"no\"></ifr");
	document.write("ame></span>");
	}


function ggad_wnr_shang(){
	}

function ggad_wnr_xia(){
document.writeln("<span style=\"width:650px;text-align:center;\"><iframe style=\"width:560px;height:65px;\" id=\"if1\" height=\"1\" frameborder=\"0\" src=\"/inc/a/wz_nrxiafang.html\" scrolling=\"no\"></iframe></span>");
	}
	

function validata_form(obj){
if (obj.Content.value.length<=10||obj.Content.value==""){
	obj.Content.focus();
	alert("评论内容不能小于10个字,谢谢!");
	return false;
}
return true;
}



function wz_pinglun1(){

document.writeln("<table id=\"pinglun\"><tr><td height=\"186\" colspan=\"2\"><table style=\"font-size:14px;\" width=100% align=center cellspacing=0 cellpadding=0><form action =\"/rew.asp?action=add\" method=post target=\"_blank\" name=\"rewinfo\" onSubmit=\"return validata_form(this)\"><tr><td width=\"243\" class=\"right_b\">发表评论</td><td width=\"132\" align=\"right\" class=\"right_b\"><script>document.write('<a href=\"/wz_pinglun.asp?newsid="+id+"\" style=\" color:#000000;\">查看本文评论</a>');</script></td></tr><tr><td height=\"32\" colspan=\"2\" align=\"left\">用户：<input type=\"text\" value=\"过客\" class=\"input11\"  name=\"Author\" size=\"10\"></td></tr><tr><td colspan=\"2\" align=right><textarea  rows=\"7\" name=\"Content\" class=\"input11\" cols=\"40\"></textarea></td></tr><tr><td height=\"32\" align=left>请不要发表无关的言论。 <a name=\"bottom\"></a><input type=\"hidden\" name=\"newsid\" value=\""+id+"\"></td><td align=center ><input type=\"submit\" name=\"Submit\" value=\"发表评论\" class=\"input11\"></td></tr></form></table></td></tr></table>");
}

function wz_top(){
document.write("<div id=\"dh\"><div style=\"float:right;width:300px;text-align:right;\">【<a href=/rss.xml ><img src=\"/images/rss.jpg\" border=0>RSS</a>】【<a href=# onclick=\"this.style.behavior='url(#default#homepage)';this.setHomePage('http://www.yirenss.com');\">设为首页</a>】【<a target=_top href=\"javascript:window.external.AddFavorite('http://www.yirenss.com','伊人时尚')\">加入收藏</a>】【<a href=\"http://www.yirenss.com/wap/index.asp\">韩尚女性网wap版</a>】</div></div>");

document.write("<div id=\"dh_d\" style=\" padding:5px;\">");
document.write("<div style=\"width:150px;float:left;\"><table style=\"width:150px;border:0px;\" ><tr><td><div style=\"color:darkmagenta;font-size:16px;font-weight:900;\"><a href=\"/\"><img src=\"/logo3.jpg\" style=\"border:0px;\" /></a></div></td></tr><tr><td style=\" text-align:center;color:#000000; font-size:14px;\"><strong><a href=\"/\" class=\"logoa\">韩流</a> | <a href=\"/\" class=\"logoa\">时尚</a> | <a href=\"/\" class=\"logoa\">主流</a></strong></td></tr></table></div>");
document.write("<div style=\"width:740px;float:right;height:100px;vertical-align:middle;\">");
//广告位T1
//document.writeln("<span></span>");
document.writeln("<span><iframe style=\"width:750px;height:90px;\" id=\"if1\" height=\"1\" frameborder=\"0\" src=\"/inc/a/a1.html\" scrolling=\"no\"></iframe></span>");
/**/
//广告位T1
document.writeln("</div>");
document.write("</div>");

document.write("<div style=\"width:100%;text-align:center;margin:10px;\">");
/*
//广告位T2
document.writeln("<span><iframe style=\"width:950px;height:90px;\" id=\"if1\" height=\"1\" frameborder=\"0\" src=\"/inc/a/a2.html\" scrolling=\"no\"></iframe></span>");
//广告位T2
*/
document.write("</div>");
document.writeln("<script src=\"http://www.google-analytics.com/urchin.js\" type=\"text/javascript\"></scr"+"ipt>");

}
	
	

function wzxia_tools(){

document.writeln("<div class=\"kuai1\" >");
document.writeln("<div class=\"t1num\" >");
document.writeln("<script type=\"text/javascript\">k_show_click();</script>");
document.writeln("</div>");
document.writeln("<div><a href=\"#\" target=\"_self\">浏览次数</a></div>");
document.writeln("</div>");

document.writeln("<div class=\"kuai1\">");
document.writeln("<div class=\"t1num\">");
document.writeln("<a href=\"/wz_pinglun.asp?newsid="+ id +"\" target=\"_self\"><script type=\"text/javascript\">k_show_pinglun();</script></a>");
document.writeln("</div>");
document.writeln("<div><a href=\"/wz_pinglun.asp?newsid="+ id +"\" target=\"_self\">我要评论</a></div>");
document.writeln("</div>");

document.writeln("<div class=\"kuai1\" >");
document.writeln("<div class=\"t1num\" >");
document.writeln("<a title=\"将本文转载至论坛或博客\" href=\"/inc/zhuanzai_user.asp?id="+ id +"\" target=\"_blank\"><script type=\"text/javascript\">k_show_tj();</script></a>");
document.writeln("</div>");
document.writeln("<div><a title=\"将本文转载至论坛或博客\" href=\"/inc/zhuanzai_user.asp?id="+ id +"\" target=\"_blank\">转载工具</a></div>");
document.writeln("</div>");

document.writeln("<div class=\"kuai1\" >");
document.writeln("<div class=\"t1num\" >");
document.writeln("<a href=\"http://www.yirenss.com/\" target=\"_self\">首页</a>");
document.writeln("</div>");
document.writeln("<div><a href=\"http://www.yirenss.com/\" target=\"_self\">返回首页</a></div>");
document.writeln("</div>");
	
	}
