document.writeln("<table width=\"860\" border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\">");
document.writeln("  <tr>");
document.writeln("    <td height=\"3\" bgcolor=\"#DEE7EC\"><\/tr>");
document.writeln("<\/table>");
document.writeln("<table width=\"860\" border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\">");
document.writeln("  <tr>");
document.writeln("    <td width=\"263\"><img src=\"/news/images\/newslogo.gif\" width=\"263\" height=\"53\"><\/td>");
document.writeln("    <td><table width=\"98%\" border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\">");
document.writeln("      <tr>");
document.writeln("        <td width=\"298\" align=\"right\"><a href=\"#\"><font color=\"#82BEDC\">阳光通行证<\/font><\/a> | <a href=\"http:\/\/www.sun0769.com\/subject\/todaylife\" target=\"_blank\"><font color=\"#82BEDC\">今日生活提示<\/font><\/a> | <a href=\"http:\/\/www.sun0769.com\/subject\/todaylife\" target=\"_blank\"><font color=\"#82BEDC\">天气<\/font><\/a> | <a href=\"http:\/\/www.sun0769.com\/ad\" target=\"_blank\"><font color=\"#82BEDC\">广告服务<\/font><\/a><\/td>");
document.writeln("        <td align=\"right\"> <a href=\"#\"><font color=\"#82BEDC\">设为首页<\/font><\/a> <font color=\"#82BEDC\">\/<\/font> <a href=\"#\"><font color=\"#82BEDC\">加入收藏<\/font><\/a> <\/td>");
document.writeln("      <\/tr>");
document.writeln("      <tr>");
document.writeln("        <td height=\"8\" colspan=\"2\">");
document.writeln("      <\/tr>");
document.writeln("      <tr>");
document.writeln("        <td colspan=\"2\" align=\"right\"><a href=\"http:\/\/www.sun0769.com\/\" target=\"_blank\">首页<\/a> | <a href=\"http:\/\/sunline.sun0769.com\" target=\"_blank\">阳光热线<\/a> | <a href=\"http://www.sun0769.com/2008citytopic/more.asp\" target=\"_blank\">城市话题<\/a> | <a href=\"http://www.sun0769.com/subject/2008sunlive\" target=\"_blank\">阳光直播<\/a> | <a href=\"http:\/\/home.sun0769.com\" target=\"_blank\" style='color:#FF0000'>房产<\/a> | <a href=\"http://tour.sun0769.com/\" target=\"_blank\">旅游<\/a> | <a href=\"http:\/\/auto.sun0769.com\" target=\"_blank\" >汽车<\/a> | <a href=\"http://51job.sun0769.com\" target=\"_blank\">人才<\/a> | <a href=\"http:\/\/bbs.sun0769.com\" target=\"_blank\">社区<\/a> | <a href=\"http:\/\/love.sun0769.com\/\" target=\"_blank\">交友<\/a> | <a href=\"http://www.sun0769.com/subject/sunweekend08/\" target=\"_blank\">阳光周末<\/a><\/td>");
document.writeln("      <\/tr>");
document.writeln("    <\/table><\/td>");
document.writeln("  <\/tr>");
document.writeln("<\/table>");
document.writeln("<table width=\"860\" border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\">");
document.writeln("  <tr>");
document.writeln("    <td height=\"5\" bgcolor=\"#C0C0C0\">  <\/tr>");
document.writeln("<\/table>");
var Sun_SEARCH_URL = "http://search.sun0769.com:8080/was40/search?channelid=50439&ChnlName=" //#chnlname#&searchword=docchannel=#chnlid#"
var Sun_ALLSEARCH_URL = "http://search.sun0769.com:8080/was40/search?channelid=33678&ChnlName=" //#chnlname#&searchword=docchannel=#chnlid#"
var Sun_IMG_SEARCH_URL = "http://search.sun0769.com:8080/was40/search?channelid=51491&ChnlName=" //#chnlname#&searchword=docchannel=#chnlid#"
var Sun_BIG_SEARCH_URL = "http://search.sun0769.com:8080/was40/search?channelid=25275&ChnlName=" //#chnlname#&searchword=docchannel=#chnlid#"
var Sun_Chnl_Pic_URL= "http://search.sun0769.com:8080/was40/search?channelid=47963&ChnlName=" //#chnlname#&searchword=docchannel=#chnlid#"
function getMore(chnlname,chnlid,aCss,aTitle){
	if (aCss != "")
		document.write("<a href='" + Sun_SEARCH_URL + chnlname + "&searchword=docchannel=" + chnlid + "' class=" + aCss + " target=_blank>" + aTitle + "</a>")
	else
		document.write("<a href='" + Sun_SEARCH_URL + chnlname + "&searchword=docchannel=" + chnlid + "' target=_blank>" + aTitle + "</a>")
}

function getAllMore(chnlname,chnlid,aCss,aTitle){
	if (aCss != "")
		document.write("<a href='" + Sun_ALLSEARCH_URL + chnlname + "&searchword=chnlid=" + chnlid + "' class=" + aCss + " target=_blank>" + aTitle + "</a>")
	else
		document.write("<a href='" + Sun_ALLSEARCH_URL + chnlname + "&searchword=chnlid=" + chnlid + "' target=_blank>" + aTitle + "</a>")
}

function getImgMore(chnlname,chnlid,aCss,aTitle){
	if (aCss != "")
		document.write("<a href='" + Sun_IMG_SEARCH_URL + chnlname + "&searchword=docchannel=" + escape(chnlid) + "' class=" + aCss + " target=_blank>" + aTitle + "</a>")
	else
		document.write("<a href='" + Sun_IMG_SEARCH_URL + chnlname + "&searchword=docchannel=" + escape(chnlid) + "' target=_blank>" + aTitle + "</a>")
}

function getBigMore(chnlname,chnlid,aCss,aTitle){
	if (aCss != "")
		document.write("<a href='" + Sun_BIG_SEARCH_URL + chnlname + "&searchword=chnlid=" + chnlid + "' class=" + aCss + " target=_blank>" + aTitle + "</a>")
	else
		document.write("<a href='" + Sun_BIG_SEARCH_URL + chnlname + "&searchword=chnlid=" + chnlid + "' target=_blank>" + aTitle + "</a>")
}

function getSearchMore(chnlname,chnlid,strWord,aCss,aTitle){
	if (aCss != "")
		document.write("<a href='" + Sun_SEARCH_URL + chnlname + "&searchword=docchannel=" + escape(chnlid) + " and " + strWord + "' class=" + aCss + " target=_blank>" + aTitle + "</a>")
	else
		document.write("<a href='" + Sun_SEARCH_URL + chnlname + "&searchword=docchannel=" + escape(chnlid) + " and " + strWord + "' target=_blank>" + aTitle + "</a>")
}
function getChnlPicMore(chnlname,chnlid,aCss,aTitle){
	if (aCss != "")
		document.write("<a href='" + Sun_Chnl_Pic_URL + chnlname + "&searchword=docchannel=" + escape(chnlid) + "' class=" + aCss + " target=_blank>" + aTitle + "</a>")
	else
		document.write("<a href='" + Sun_Chnl_Pic_URL + chnlname + "&searchword=docchannel=" + escape(chnlid) + "' target=_blank>" + aTitle + "</a>")
}

function mail2F(tUrl)
{ 
	sUrl=document.location
	sTitle=document.title
	strUrl=tUrl + "?surl=" + sUrl + "&sTitle=" + sTitle
	popup=window.open(strUrl,"_blank","top=30 left=100 toolbar=no,directories=no,menubar=no,scrollbars=yes,height=390,width=450");
}

function openVideoWin(vid,vstartpos,vendpos) {
var strUrl;
strUrl="/suntv/play.asp?id=" + vid + "&startpoint=" + vstartpos + "&endpoint=" + vendpos
//alert(strUrl)
var newwin=window.open(strUrl,"NewWin","toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,width=520,height=360");
newwin.focus();
return false;
}
function parseDate(str){
  if(typeof str == 'string'){
    var results = str.match(/^ *(\d{4})-(\d{1,2})-(\d{1,2}) *$/);
    if(results && results.length>3)
      return new Date(results[1],results[2] -1,results[3]);
    results = str.match(/^ *(\d{4})-(\d{1,2})-(\d{1,2}) +(\d{1,2}):(\d{1,2}):(\d{1,2}) *$/);
    if(results && results.length>6)
      return new Date(results[1],results[2] -1,results[3],results[4],results[5],results[6]);
    results = str.match(/^ *(\d{4})-(\d{1,2})-(\d{1,2}) +(\d{1,2}):(\d{1,2}):(\d{1,2})\.(\d{1,9}) *$/);
    if(results && results.length>7)
      return new Date(results[1],results[2] -1,results[3],results[4],results[5],results[6],results[7]);
  }
  return null;
}
var intVideo
intVideo=0
videoArray=new Array()
