﻿document.writeln("<script>");
document.writeln("function getparastr(strname) ");
document.writeln("{ ");
document.writeln("var hrefstr,pos,parastr,para,tempstr; ");
document.writeln("hrefstr = window.location.href;");
document.writeln("pos = hrefstr.indexOf(\"?\") ");
document.writeln("parastr = hrefstr.substring(pos+1); ");
document.writeln("para = parastr.split(\"&\"); ");
document.writeln("tempstr=\"\";");
document.writeln("for(i=0;i<para.length;i++) ");
document.writeln("{ ");
document.writeln("tempstr = para[i];");
document.writeln("pos = tempstr.indexOf(\"=\"); ");
document.writeln("if(tempstr.substring(0,pos) == strname) ");
document.writeln("{ ");
document.writeln("	return tempstr.substring(pos+1); ");
document.writeln("  ");
document.writeln("} ");
document.writeln("} ");
document.writeln("return null; ");
document.writeln("} ");
document.writeln("\/\/ 获取program参数 ");
document.writeln("var programstr = getparastr(\"type\"); ");
document.writeln("\/\/document.write(programstr)");
document.writeln("if (programstr == null) {");
document.writeln("	document.write(\"<ul><li><a href='http:\/\/www.laotela.com\/articles\/celebrity\/2010\/05-12\/05102256.htm' target='_blank'><img src='http:\/\/image.icesmall.cn\/laotela\/uploadfiles\/belazy\/2010\/5-12\/pic2010512102712_small.jpg'><\/a><BR><a href='http:\/\/www.laotela.com\/articles\/celebrity\/2010\/05-12\/05102256.htm' target='_blank'>天秤座名人：英国史上最年轻首相卡梅伦<\/a> 生于1966-10-9 <\/li><li><a href='http:\/\/www.laotela.com\/articles\/celebrity\/2010\/07-30\/07130102.htm' target='_blank'><img src='http:\/\/image.icesmall.cn\/laotela\/uploadfiles\/belazy\/2010\/7-30\/pic201073013653_small.jpg'><\/a><BR><a href='http:\/\/www.laotela.com\/articles\/celebrity\/2010\/07-30\/07130102.htm' target='_blank'>天秤座名人：中国科学家钱伟长<\/a> 生于1912-10-9 <\/li><li><a href='http:\/\/www.laotela.com\/articles\/celebrity\/2008\/new\/197.htm' target='_blank'><img src='http:\/\/image.icesmall.cn\/laotela\/uploadfiles\/belazy\/2008\/2-9\/pic200829152810_small.jpg'><\/a><BR><a href='http:\/\/www.laotela.com\/articles\/celebrity\/2008\/new\/197.htm' target='_blank'>天秤座名人：诺贝尔奖获得者德国化学家埃米尔·费雪<\/a> 生于1852-10-9 <\/li><\/ul>\");");
document.writeln("}");
document.writeln("else {");
document.writeln("	document.write(\"<ul><li><table width='100%' border='0'><tr><td style='width:124px;'><a href='http:\/\/www.laotela.com\/articles\/celebrity\/2010\/05-12\/05102256.htm' target='_blank'><img src='http:\/\/image.icesmall.cn\/laotela\/uploadfiles\/belazy\/2010\/5-12\/pic2010512102712_small.jpg'><\/a><\/td><td><a href='http:\/\/www.laotela.com\/articles\/celebrity\/2010\/05-12\/05102256.htm' target='_blank'>天秤座名人：英国史上最年轻首相卡梅伦<\/a> 生于1966-10-9  <\/td><\/tr> <\/table><\/li><li><table width='100%' border='0'><tr><td style='width:124px;'><a href='http:\/\/www.laotela.com\/articles\/celebrity\/2010\/07-30\/07130102.htm' target='_blank'><img src='http:\/\/image.icesmall.cn\/laotela\/uploadfiles\/belazy\/2010\/7-30\/pic201073013653_small.jpg'><\/a><\/td><td><a href='http:\/\/www.laotela.com\/articles\/celebrity\/2010\/07-30\/07130102.htm' target='_blank'>天秤座名人：中国科学家钱伟长<\/a> 生于1912-10-9  <\/td><\/tr> <\/table><\/li><li><table width='100%' border='0'><tr><td style='width:124px;'><a href='http:\/\/www.laotela.com\/articles\/celebrity\/2008\/new\/197.htm' target='_blank'><img src='http:\/\/image.icesmall.cn\/laotela\/uploadfiles\/belazy\/2008\/2-9\/pic200829152810_small.jpg'><\/a><\/td><td><a href='http:\/\/www.laotela.com\/articles\/celebrity\/2008\/new\/197.htm' target='_blank'>天秤座名人：诺贝尔奖获得者德国化学家埃米尔·费雪<\/a> 生于1852-10-9  <\/td><\/tr> <\/table><\/li><\/ul>\");");
document.writeln("}");
document.writeln("<\/script>");

