var anext = new Array(); var rnext = new Array(); function next_obj(article_id,title,link,date){ this.article_id=article_id; this.link=link; this.title=title; this.date=date; } function get_next_article_link_embedded(jsID,jsType) { var nextList = anext; var nextString = ''; if (jsType=="review") { nextList = rnext; if (nextList[jsID] == null) { nextList = anext; } } if (nextList[jsID] != null) { var obj = nextList[jsID]; var link = obj.link; var title= obj.title; var nextString = ''+ title +'' } return nextString } function get_next_article_link(jsID,jsType) { var nextList = anext; var nextString = ''; var defaultName = 'firstIdanext'; if (jsType=="review") { nextList = rnext; defaultName = 'firstIdrnext' if (nextList[jsID] == null) { nextList = anext; } } if (nextList[jsID] != null) { var obj = nextList[jsID]; } else { var did = eval(defaultName); var obj = nextList[did]; } var link = obj.link; var title= obj.title; if (jsType=="review") { var nextString = '
Next Review
'; } if (jsType=="article") { var nextString = ''; } return nextString } var anext = new Array(); var firstIdanext = '20316234'; anext["20316234"] = new next_obj('20316233','empty shell','/ew/article/0,,20316233,00.html','10/30/2009 10:00AM'); anext["20316233"] = new next_obj('20316230','empty shell','/ew/article/0,,20316230,00.html','10/30/2009 10:00AM'); anext["20316230"] = new next_obj('20316229','empty shell','/ew/article/0,,20316229,00.html','10/30/2009 10:00AM'); anext["20316229"] = new next_obj('20316227','empty shell','/ew/article/0,,20316227,00.html','10/30/2009 10:00AM'); anext["20316227"] = new next_obj('20316226','empty shell','/ew/article/0,,20316226,00.html','10/30/2009 10:00AM'); anext["20316226"] = new next_obj('20316225','empty shell','/ew/article/0,,20316225,00.html','10/30/2009 10:00AM'); anext["20316225"] = new next_obj('20316224','empty shell','/ew/article/0,,20316224,00.html','10/30/2009 10:00AM'); anext["20316224"] = new next_obj('20316223','empty shell','/ew/article/0,,20316223,00.html','10/30/2009 10:00AM'); anext["20316223"] = new next_obj('20316222','empty shell','/ew/article/0,,20316222,00.html','10/30/2009 10:00AM'); anext["20316222"] = new next_obj('20316221','empty shell','/ew/article/0,,20316221,00.html','10/30/2009 10:00AM'); anext["20316221"] = new next_obj('20316212','empty shell','/ew/article/0,,20316212,00.html','10/30/2009 10:00AM'); anext["20316212"] = new next_obj('20316206','empty shell','/ew/article/0,,20316206,00.html','10/30/2009 10:00AM'); anext["20316206"] = new next_obj('20316205','empty shell','/ew/article/0,,20316205,00.html','10/30/2009 10:00AM'); anext["20316205"] = new next_obj('20316203','empty shell','/ew/article/0,,20316203,00.html','10/30/2009 10:00AM'); anext["20316203"] = new next_obj('20316202','empty shell','/ew/article/0,,20316202,00.html','10/30/2009 10:00AM'); anext["20316202"] = new next_obj('20316201','empty shell','/ew/article/0,,20316201,00.html','10/30/2009 10:00AM'); anext["20316201"] = new next_obj('20316200','empty shell','/ew/article/0,,20316200,00.html','10/30/2009 10:00AM'); anext["20316200"] = new next_obj('20316199','empty shell','/ew/article/0,,20316199,00.html','10/30/2009 10:00AM'); anext["20316199"] = new next_obj('20316198','empty shell','/ew/article/0,,20316198,00.html','10/30/2009 10:00AM'); anext["20316198"] = new next_obj('20316196','empty shell','/ew/article/0,,20316196,00.html','10/30/2009 10:00AM'); anext["20316196"] = new next_obj('20316182','empty shell','/ew/article/0,,20316182,00.html','10/30/2009 10:00AM'); anext["20316182"] = new next_obj('20316181','empty shell','/ew/article/0,,20316181,00.html','10/30/2009 10:00AM'); anext["20316181"] = new next_obj('20316180','empty shell','/ew/article/0,,20316180,00.html','10/30/2009 10:00AM'); anext["20316180"] = new next_obj('20316177','empty shell','/ew/article/0,,20316177,00.html','10/30/2009 10:00AM'); anext["20316177"] = new next_obj('20316234','empty shell','/ew/article/0,,20316234,00.html','10/30/2009 10:00AM'); var rnext = new Array(); var firstIdrnext = '20316234'; rnext["20316234"] = new next_obj('20316233','empty shell','/ew/article/0,,20316233,00.html','10/30/2009 10:00AM'); rnext["20316233"] = new next_obj('20316230','empty shell','/ew/article/0,,20316230,00.html','10/30/2009 10:00AM'); rnext["20316230"] = new next_obj('20316229','empty shell','/ew/article/0,,20316229,00.html','10/30/2009 10:00AM'); rnext["20316229"] = new next_obj('20316227','empty shell','/ew/article/0,,20316227,00.html','10/30/2009 10:00AM'); rnext["20316227"] = new next_obj('20316226','empty shell','/ew/article/0,,20316226,00.html','10/30/2009 10:00AM'); rnext["20316226"] = new next_obj('20316225','empty shell','/ew/article/0,,20316225,00.html','10/30/2009 10:00AM'); rnext["20316225"] = new next_obj('20316224','empty shell','/ew/article/0,,20316224,00.html','10/30/2009 10:00AM'); rnext["20316224"] = new next_obj('20316223','empty shell','/ew/article/0,,20316223,00.html','10/30/2009 10:00AM'); rnext["20316223"] = new next_obj('20316222','empty shell','/ew/article/0,,20316222,00.html','10/30/2009 10:00AM'); rnext["20316222"] = new next_obj('20316221','empty shell','/ew/article/0,,20316221,00.html','10/30/2009 10:00AM'); rnext["20316221"] = new next_obj('20316212','empty shell','/ew/article/0,,20316212,00.html','10/30/2009 10:00AM'); rnext["20316212"] = new next_obj('20316206','empty shell','/ew/article/0,,20316206,00.html','10/30/2009 10:00AM'); rnext["20316206"] = new next_obj('20316205','empty shell','/ew/article/0,,20316205,00.html','10/30/2009 10:00AM'); rnext["20316205"] = new next_obj('20316203','empty shell','/ew/article/0,,20316203,00.html','10/30/2009 10:00AM'); rnext["20316203"] = new next_obj('20316202','empty shell','/ew/article/0,,20316202,00.html','10/30/2009 10:00AM'); rnext["20316202"] = new next_obj('20316201','empty shell','/ew/article/0,,20316201,00.html','10/30/2009 10:00AM'); rnext["20316201"] = new next_obj('20316200','empty shell','/ew/article/0,,20316200,00.html','10/30/2009 10:00AM'); rnext["20316200"] = new next_obj('20316199','empty shell','/ew/article/0,,20316199,00.html','10/30/2009 10:00AM'); rnext["20316199"] = new next_obj('20316198','empty shell','/ew/article/0,,20316198,00.html','10/30/2009 10:00AM'); rnext["20316198"] = new next_obj('20316196','empty shell','/ew/article/0,,20316196,00.html','10/30/2009 10:00AM'); rnext["20316196"] = new next_obj('20316182','empty shell','/ew/article/0,,20316182,00.html','10/30/2009 10:00AM'); rnext["20316182"] = new next_obj('20316181','empty shell','/ew/article/0,,20316181,00.html','10/30/2009 10:00AM'); rnext["20316181"] = new next_obj('20316180','empty shell','/ew/article/0,,20316180,00.html','10/30/2009 10:00AM'); rnext["20316180"] = new next_obj('20316177','empty shell','/ew/article/0,,20316177,00.html','10/30/2009 10:00AM'); rnext["20316177"] = new next_obj('20316234','empty shell','/ew/article/0,,20316234,00.html','10/30/2009 10:00AM');