function spc(a,b,c) {
	t =
	(c == "t")?"s":
	(c == "b")?"sb":
	(c == "0")?"":
	"";
	document.write('<img src="/chinesehistory/images/'+(t));
	document.write('.gif" width="');
	document.write((a));
	document.write('" height="');
	document.write((b));
	document.write('">');
};

function perlnk() {
	document.write("<a class='contents' href='#' onclick='returnDocument();return true;'>");
	document.write(document.title);
	document.write("</a>");
};

function imgloc() {document.write('/chineseart/images/')};

function see(d) {
	if (d == "seea") {document.write('<p class="a2">SEE Also:<ul class="a2">')}
	if (d == "seeb") {document.write([hr()]+'<p class="a2">SEE Also:<ul class="a2">')}
	if (d == "seee") {document.write('</ul></p>')}
};

function imgnavbut() {
document.write('<table><tr><td valign="middle" style="padding-right: 30px;">Slideshow: <a href="javascript:void(enableSlideMode(5));" class="cont">On</a> / <a href="javascript:void(disableSlideMode());" class="cont">Off</a></td><td style="border-left: 1px dotted #000; padding-left: 30px;"><a href="javascript:void(showFirst());"><img border="0" src="/chinesehistory/images/nafi.png" alt="First"></a>&nbsp; <a href="javascript:void(showPrevious());"><img border="0" src="/chinesehistory/images/napr.png" alt="Previous"></a>&nbsp; <a href="javascript:void(showNext());"><img border="0" src="/chinesehistory/images/nane.png" alt="Next"></a>&nbsp; <a href="javascript:void(showLast());"><img border="0" src="/chinesehistory/images/nala.png" alt="First"></a></td></tr></table>');
};


function line() {
document.write('<img src="')+[imgloc()]
document.write('line.gif" width="100%" alt="line" height="6">')};

function linaic(w,h) {
document.write('<img src="')+[imgloc()]
document.write('line.gif" width="'+(w)+'" alt="line" height="'+(h)+'">')};

function hr() {document.write('<hr align="center" width="100%" color="#000000" noshade style="color: #000000" size="1">')}

function pldiv() {
document.write('<div id="prepage" class="lpw"><img src="/chineseart/l03.gif"></div>')
}

function endpage(t) {
	if(t == "s") {document.write('<div class="endpa">');
	};
	document.write('<p>'+[line()]+'</p>');
	document.write('<p class="v2h"><a href="javascript: onClick=history.back()"><img border="0" src="/chineseart/images/goback.gif" alt="Back" width="100" height="20"></a><a href="/chineseart/"><img border="0" src="/chineseart/images/gohome.gif" alt="Home" width="100" height="20"></a>');
	document.write([spc("30","1","t")]);
	document.write('Link Back: ');
	document.write([perlnk()]);
	document.write('</p><p>');
	document.write([line()]+'</p><p><a href="/chineseart/source.html"><img border="0" src="/chineseart/images/copyright.gif" alt="Copyright Date" width="345" height="44"></a><a href="/chineseart/contact"><img border="0" src="/chineseart/images/rich.gif" alt="Richard R. Wertz" width="345" height="44"></a>');
	if(t == "") {('');
	};
	if(t == 1 || t == "s") {
	document.write([spc("50","44","t")]);
	document.write('<!--Creative Commons License--><a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/3.0/"><img alt="Creative Commons License" style="border-width:0" src="http://i.creativecommons.org/l/by-nc-sa/3.0/88x31.png"></a><!--/Creative Commons License--><!-- <rdf:RDF xmlns="http://web.resource.org/cc/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"><Work rdf:about=""><license rdf:resource="http://creativecommons.org/licenses/by-nc-sa/3.0/" /><dc:type rdf:resource="http://purl.org/dc/dcmitype/Text" /></Work><License rdf:about="http://creativecommons.org/licenses/by-nc-sa/3.0/"><permits rdf:resource="http://web.resource.org/cc/Reproduction"/><permits rdf:resource="http://web.resource.org/cc/Distribution"/><requires rdf:resource="http://web.resource.org/cc/Notice"/><requires rdf:resource="http://web.resource.org/cc/Attribution"/><prohibits rdf:resource="http://web.resource.org/cc/CommercialUse"/><permits rdf:resource="http://web.resource.org/cc/DerivativeWorks"/><requires rdf:resource="http://web.resource.org/cc/ShareAlike"/></License></rdf:RDF> -->');
	};
	if(t == "kec") {
	document.write([spc("30","44","t")]);
	document.write('<a name="kec"></a><img src="/chineseart/images/kec.gif">');
	};
     if(t == "s") {document.write('</div>');
	};
};

function ver(v,d) {	document.write('<a target="_blank" class="vh" href="UH.v'+((v))+'.AIC.html">v'+((d))+'</a>')}

/*
sect:
	(s == "nw00")?"":
	(s == "fo")?"":
	(s == "ci")?"Contact Information":
	(s == "cc")?"Contact Confirmation":

*/

function efvsf(d) {
	if(d == "beg") {document.write(':<blockquote><blockquote><p class="v2h">')}
	if(d == "end") {document.write('</p></blockquote></blockquote>')}
}

function supl(t,d) {
	if(t=="pe") {
	document.write('<p class="a2">SEE Also:<ul class="a2"><li><a target="_blank" href="/chinesehistory/contents/')}
	if(d=="01") {
	document.write('')}
}

function cred(d) {
	
	if(d == "s_ech01") {
	document.write('<p class="a2">SEE Also:<ul class="a2"><li><a target="_blank" href="/chinesehistory/contents/02cul/c02s03.html">Exploring Chinese History :: Poetry</a></li><li><a target="_blank" href="/chineseculture/contents/arts/p-arts-c02.html">Cultural Heritage of China :: Calligraphy</a></li></ul></p>')}
	if(d == "s_ech02") {
	document.write('<p class="a2">SEE Also:<ul class="a2"><li><a target="_blank" href="/chinesehistory/contents/02cul/c03.html">Exploring Chinese History :: Chinese Archaeology</a></li></ul></p>')}
	if(d == "s_ech03") {
	document.write('<p class="a2">SEE Also:<ul class="a2"><li><a target="_blank" href="/chinesehistory/contents/02cul/c03s01.html">Exploring Chinese History :: Qin Mausoleum and Terra Cotta Army</a></li></ul></p>')}
	if(d == "s_ech04") {
	document.write('<p class="a2">SEE Also:<ul class="a2"><li><a target="_blank" href="/chinesehistory/contents/02cul/c06.html">Exploring Chinese History :: People</a></li></ul></p>')}
	if(d == "s_ech05") {
	document.write('<p class="a2">SEE Also:<ul class="a2"><li><a target="_blank" href="/chinesehistory/contents/02cul/c05.html">Exploring Chinese History :: Religion</a></li></ul></p>')}
	if(d == "s_ech06") {
	document.write('<p class="a2">SEE Also:<ul class="a2"><li><a target="_blank" href="/chinesehistory/contents/03pol/c02.html">Exploring Chinese History :: Government Documents</a></li></ul></p>')}
	if(d == "s_ech07") {
	document.write('<p class="a2">SEE Also:<ul class="a2"><li><a target="_blank" href="/chinesehistory/contents/01his/c02s03.html#04Emergence%20of%20Modern%20China">Exploring Chinese History :: Emergence of Modern China</a></li></ul></p>')}
	if(d == "s_ech08") {
	document.write('<p class="a2">SEE Also:<ul class="a2"><li><a target="_blank" href="/chinesehistory/contents/03pol/c03s10.html">Exploring Chinese History :: Cultural Revolution</a></li></ul></p>')}
	if(d == "s_ech09") {
	document.write('<p class="a2">SEE Also:<ul class="a2"><li><a target="_blank" href="/chinesehistory/contents/03pol/c03s11.html">Exploring Chinese History :: Tiananmen</a></li></ul></p>')}
	if(d == "s_chc01") {
	document.write('<p class="a2">SEE Also:<ul class="a2"><li><a target="_blank" href="/chineseculture/contents/arts/p-arts-c03.html">Cultural Heritage of China :: Architecture</a></li></ul></p>')}
	if(d == "s_chc02") {
	document.write('<p class="a2">SEE Also:<ul class="a2"><li><a target="_blank" href="/chineseculture/contents/entr/p-entr-c01.html">Cultural Heritage of China :: Chinese Opera</a></li></ul></p>')}
	
	
	if(d == "WIKc0001") {
	document.write('<a target="_blank" href="http://en.wikipedia.org/w/index.php?title=2008_Tibetan_unrest&oldid=201629770">2008 Tibetan unrest</a>. (2008, March 28). Wikipedia, The Free Encyclopedia. Retrieved 20:36, March 28, 2008.')}
	if(d == "ccbysa") {
	document.write('This file is licensed under Creative Commons Attribution ShareAlike 2.0 License (cc-by-sa-2.0).')}
//	this image is for content direct from RFA and contains the cr info.
	if(d == "rfal") {
	document.write('<a target="_blank" href="http://www.rfa.org"><img border="0" src="/chinesehistory/images/rfac.jpg"></a>')}
	if(d == "player") {
	document.write('Media Player from Flow Player.')}
	if(d == "hku1") {
	document.write('<p class="a2">From:<br><a target="_blank" href="http://www.lib.cuhk.edu.hk">The Chinese University of Hong Kong<br>University Library System</a></p>')}
	if(d == "hku2") {
	document.write('<p class="a2">From:<br><a target="_blank" href="http://www.cuhk.edu.hk/ics/ccaa/index.htm">CENTRE FOR CHINESE ARCHAEOLOGY AND ART</a>,<br>Institute of Chinese Studies,<br>The Chinese University of Hong Kong,<br>Shatin, Hong Kong.</p>')}
	if(d == "eqm01") {
	document.write('<p class="a2">From: <br><a target="_blank" href="http://www.kepu.ac.cn/english/index.html">China Virtual Science Museums</a>,<br>The Earthquake Museum.</p>')}
	if(d == "tic01") {
	document.write('<p class="a2">From: <br><a target="_blank" href="http://en.tibet.cn">China Tibet Information Center</a></p>')}
	if(d == "get01") {
	document.write('<p class="a2">From: <br>Program for Global Environmental Teachings<br><a target="_blank" href="http://www.uwsp.edu">University of Wisconsin-Stevens Point</a><br>403D LRC Stevens Point, WI 54481-3897, USA</p>')}
	if(d == "use01") {
	document.write('<p class="a2">From: <br><a target="_blank" href="http://www.usembassy-china.org.cn">US Embassy in China</a>.</p>')}
	if(d == "hms01") {
	document.write('<p class="a2">From: <br><a target="_blank" href="http://www.harrys-stuff.com">Harry&#39;s Stuff.com</a>.<br>Copyright Harry Marshall © 2002-2006</p>')}
	if(d == "mum01") {
	document.write('<p class="a2">From: <br><a target="_blank" href="http://www.mc.maricopa.edu">Maicopa University</a>,<br>Macau.</p>')}
	if(d == "mep01") {
	document.write('<p class="a2">From: <br><a target="_blank" href="http://www.maryevans.com/">Mary Evans Picture Library</a>,<br>London, UK.</p>')}
	if(d == "tpg01") {
	document.write('<p class="a2">From: <br><a target="_blank" href="http://www.travel-pictures-gallery.com/">Travel Picture Gallery</a></p>')}
	if(d == "lom01") {
	document.write('<p class="a2">From: <br><a target="_blank" href="http://www.odyssei.com/">Latvian Open Air Museum</a>, Latvia</p>')}
	if(d == "lom02") {
	document.write('<p class="a2">From: <br>Bernard Cloutier,<br><a target="_blank" href="http://www.odyssei.com/">Latvian Open Air Museum</a>, Latvia</p>')}
	if(d == "cacbc01") {
	document.write('<p class="a2">From: <br><a target="_blank" href="http://www.cacbc.org/jmoriental/art.html">Chinese American Cultural Bridge Center</a></p>')}
	if(d == "cco01") {
	document.write('<p class="a2">From: <br><a target="_blank" href="http://www.chinaculture.org">China Culture</a></p>')}
	if(d == "bam1") {
	document.write('<p class="a2">From:<br><a target="_blank" href="http://www.bampfa.berkeley.edu/collection/artcollection">Chinese Paintings Collection</a><br>Berkeley Art Museum<br>University of California, Berkeley</p>')}
	if(d == "osu1") {
	document.write('<p class="a2">From:<br><a target="_blank" href="http://kaladarshan.arts.ohio-state.edu/">John C. and Susan L. Huntington Archive of Buddhist and Related Art</a><br>Ohio State University<br>College of the Arts</p>')}
	if(d == "npm1") {
	document.write('<p class="a2">From:<br><a target="_blank" href="http://www.npm.gov.tw">Collection of the National Palace Museum</a><br>Taipei, Taiwan</p>')}
	if(d == "met1") {
	document.write('<p class="a2">From:<br><a target="_blank" href="http://www.metmuseum.org/">Collection of The Metropolitan Museum of Art</a><br>New York, USA</p>')}
	if(d == "srl01") {
	document.write('<p class="a2">From the <a href="http://www.iisg.nl/~landsberger">IISH Stefan R. Landsberger Collection</a></p>')}
	if(d == "mde01") {
	document.write('<p class="a2">From:<br>Ming Dynasty Encyclopedia <i>Sancai Tuhui</i> (三才圖會), 1607</p>')}
	if(d == "blb01") {
	document.write('<p class="a2">From:<br>18th century album of portraits of 86 emperors of China, with Chinese historical notes.<br>British Library</p>')}
	if(d == "fab01") {
	document.write('<p class="a2">From:<br>The Thirteen Emperors Scroll 歷代帝王圖卷 (傳閻立本)<br>Chinese, Tang dynasty, Second half of the 7th century<br>Attributed to: Yan Liben, 600- 673<br>51.3 x 531 cm (20 3/16 x 209 1/16 in.)<br>Ink and color on silk<br><a target="_blank" href="http://www.mfa.org/index.asp">Museum of Fine Arts, Boston</a><br>Denman Waldo Ross Collection, 1931</p>')}
	if(d == "cffaiss01") {
	document.write('<p class="a2">From:<br><a target="_blank" href="http://www.seu.edu.cn/art/english/ehome.htm">Chinese Folk Fine Arts Information Service System</a>,<br>Southeast University<br>Najing, China</p>')}

}

function echbio(b,d) {

var liend44="Exploring Chinese History :: Biographical Database Entry</a></li>"

document.write([hr()]+'<p class="a2">SEE Also:<ul class="a2"><li><a target="_blank" href="/chinesehistory/contents/06dat/bio.')

	if(b == 1)  {document.write('1imp.html#'+((d))+'">'+liend44)}
	if(b == 2)  {document.write('2qin.html#'+((d))+'">'+liend44)}
	if(b == 3)  {document.write('3rep.html#'+((d))+'">'+liend44)}
	if(b == 4)  {document.write('4prc.html#'+((d))+'">'+liend44)}
	if(b == 5)  {document.write('5roc.html#'+((d))+'">'+liend44)}

document.write('</ul></p>')
}

function echgeo(b,d,e,f) {

var liend44="Exploring Chinese History :: East Asian Region :: "
var liend45="Exploring Chinese History :: Geographical Database Entry</a></li>"
var liend46="Atlas :: City Maps :: "
var liend47="Atlas :: Provincial Maps :: "
var liend48="Atlas :: Country Maps :: "
var libeg23="<li><a target='_blank' href="
var libeg24="<li><a href="
var liend99="</a></li>"

	if(b == "ear")  {document.write(libeg23+'"/chinesehistory/contents/04ear/c'+((e))+'.html">'+liend44+((f))+liend99)}
	if(b == "geo")  {document.write(libeg23+'"/chinesehistory/contents/06dat/geo.html#'+((d))+'">'+liend45)}
	if(b == "aic_c")  {document.write(libeg24+'"/chineseart/contents/atls/c02p0'+((e))+'.htm">'+liend46+((f))+liend99)}
	if(b == "aic_p")  {document.write(libeg24+'"/chineseart/contents/atls/c01p0'+((e))+'.htm">'+liend47+((f))+liend99)}
	if(b == "aic_z")  {document.write(libeg24+'"/chineseart/contents/atls/c03p0'+((e))+'.htm">'+liend48+((f))+liend99)}

}

function ar_c01s02_scr_scrn() {
document.write('<center>'+[hr()]+'<p>Whole Images.<br>These are quite large, prepare to wait a while for them to download (the file size is present).</p><table class="galnavb"><tr><td class="galnavbl"><p class="galnav"><a class="galnav" href="c01s02i01.htm">Scroll 1</a><br>1.83 MB</p></td><td class="galnavb"><p class="galnav"><a class="galnav" href="c01s02i02.htm">Scroll 2</a><br>360 KB</p></td><td class="galnavb"><p class="galnav"><a class="galnav" href="c01s02i03.htm">Scroll 3</a><br>1.30 MB</p></td><td class="galnavb"><p class="galnav"><a class="galnav" href="c01s02i04.htm">Scroll 4</a><br>538 KB</p></td></tr></table></center>')
}


function ar_c01s02_scr_desc(d) {
var hsp
var desc = new Array()
desc["scr01"]="Autumn Colors on the Ch'iao and Hua Mountains, detail<br>Zhao Mengfu (1254-1322)<br>Ink and color on paper."
desc["scr02"]="Return Clearing, detail<br>Anonymous<br>Ink and color on silk."
desc["scr03"]="Spring Morning in the Han Palace, detail<br>Qiu Ying (1494-1552)<br>Ink and colors on silk."
desc["scr04"]="Green Mountains and White Clouds, detail<br>Wu Li (1632-1718)<br>Ink and colors on silk."

for (hsp in desc){
if(hsp===hsp){(desc[hsp])}}

document.write('<p class="a3">'+desc[(d)]+'</p>')
}


function aral(r,d) {
var alb
var album = new Array()

//contents/arti/c01s01
album["a01"]="Album of Bamboo in 4 Seasons"
album["a02"]="Album of Twelve Leaves- Figures in Landscape Settings"
album["a03"]="Album of Twelve Landscapes in Old Styles"
album["a04"]="Album of Eight Leaves- Fish and Fruit"
album["a05"]="Album of Beggars and Street Entertainers"
album["a06"]="Album of Flower Paintings"
album["a07"]="Album of Flowers"
album["a08"]="Album of Flowers and Landscapes"
album["a09"]="Album of Ten Leaves- Figures and Landscapes"
album["a10"]="Album of Twelve Leaves- Flowers"
album["a11"]="Album of Miscellaneous Subjects"
album["a12"]="Album of Birds, Flowers and Landscapes"
album["a13"]="Album of Fourteen Leaves<br>Anthology of Masterpieces of the T'ang, Sung and Yuan Dynasties"


//contents/cult/c05s01
album["cu0501100"]="Knife Coins" //6 images
album["cu0501200"]="Spade Coins"
album["cu0501300"]="Round Coins"
album["cu0501400"]="Coin Moulds"
album["cu05019000"]="The Ken Elks Collection of Chinese Coins"

//contents/cult/c05s02
album["cu0502100"]="Paper Money"
album["cu0502200"]="Printing Blocks"
album["cu0502300"]="Banknotes"

//contents/peop/c01s01
album["pe0101"]="Woodblock Prints"
album["pe0102"]="Foreign Visitors"
album["pe0103"]="Philosophers and Legendary Figures"
album["pe0104"]="Court Portraits"
album["pe0105"]="Hongwu Emperor, Founder of the Ming Dynasty"
album["pe0106"]="Album of Portraits of 86 Emperors of China"
album["pe0107"]="Yuan Dynasty"
album["pe0108"]="Thirteen Emperors Scroll"
album["pe0110"]="Cixi"
album["pe0111"]="Puyi, The Last Emperor of China"

//contents/peop/c03s01
album["pe0301"]="13th Dalai Lama"
album["pe0302"]="14th Dalai Lama"

//contents/peop/c05s01
album["pe0501"]="Until 1978"
album["pe0502"]="Nixon In China"
album["pe0503"]="1979-1999"
album["pe0504"]="2000- Present"

//contents/atls/
//c01p01
album["at0101"]="Anhui Province"
album["at0102"]="Aomen SAR (Macau)"
album["at0103"]="Beijing Municipality"
album["at0104"]="Chongqing Municipality"
album["at0105"]="Fujian Province"
album["at0106"]="Gansu Province"
album["at0107"]="Guangdong Province"
album["at0108"]="Guangxi Zhuang Autonomous Region"
album["at0109"]="Guizhou Province"
album["at0110"]="Hainan Province"
album["at0111"]="Hebei Province"
//c01p02
album["at0112"]="Heilongjiang Province"
album["at0113"]="Henan Province"
album["at0114"]="Hubei Province"
album["at0115"]="Hunan Province"
album["at0116"]="Jiangsu Province"
album["at0117"]="Jiangxi Province"
album["at0118"]="Jilin Province"
album["at0119"]="Liaoning Province"
album["at0120"]="Neimenggu Autonomous Region (Inner Mongolia)"
album["at0121"]="Ningxia Hui Autonomous Region"
album["at0122"]="Qinghai Province"
//c01p03
album["at0123"]="Shaanxi Province"
album["at0124"]="Shandong Province"
album["at0125"]="Shanghai Municipality"
album["at0126"]="Shanxi Province"
album["at0127"]="Sichuan Province"
album["at0128"]="Tianjin Municipality"
album["at0129"]="Xianggang SAR (Hong Kong)"
album["at0130"]="Xinjiang Uygur Autonomous Region"
album["at0131"]="Xizang Province (Tibet)"
album["at0132"]="Yunnan Province"
album["at0133"]="Zhejiang Province"
//Beijing, Chongqing, Shanghai, Tianjin:
album["at01m"]="Municipality"
//Hong Kong, Macau:
album["at01x01"]="(Hong Kong)"
album["at01a01"]="SAR (Macau)"
album["at01t01"]="Taiwan"

//contents/atls/
//c02p01
album["at0202"]="Anshan"
album["at0201"]="Anshan"
album["at0202"]="Baotou"
album["at0203"]="Beijing"
album["at0204"]="Changchun"
album["at0205"]="Changsha"
album["at0206"]="Chengdu"
album["at0207"]="Chongqing"
album["at0208"]="Dalian"
album["at0209"]="Fulin"
album["at0210"]="Fushun"
album["at0211"]="Fuzhou"
//c02p02
album["at0212"]="Guangzhou"
album["at0213"]="Guiyang"
album["at0214"]="Haikou"
album["at0215"]="Hangzhou"
album["at0216"]="Harbin"
album["at0217"]="Hefei"
album["at0218"]="Hohhot"
album["at0219"]="Xianggang SAR"
album["at0220"]="Jilin"
album["at0221"]="Jinan"
album["at0222"]="Jinhua"
//c02p03
album["at0223"]="Kashi"
album["at0224"]="Kunming"
album["at0225"]="Lanzhou"
album["at0226"]="Luancheng"
album["at0227"]="Luoyang"
album["at0228"]="Nanchang"
album["at0229"]="Nanjing"
album["at0230"]="Nanning"
album["at0231"]="Ningbo"
album["at0232"]="Qingdao"
album["at0233"]="Qingjiang"
//c02p04
album["at0234"]="Qiqihar"
album["at0235"]="Shanghai"
album["at0236"]="Shenyang"
album["at0237"]="Shijiazhuang"
album["at0238"]="Suzhou"
album["at0239"]="Taian"
album["at0240"]="Taipei"
album["at0241"]="Taiyuan"
album["at0242"]="Tangshan"
album["at0243"]="Tianjin"
album["at0244"]="Ürümqi"
//c02p05
album["at0245"]="Weifang"
album["at0246"]="Wuhan"
album["at0247"]="Wuxi"
album["at0248"]="Xian"
album["at0249"]="Xiangfan"
album["at0250"]="Xining"
album["at0251"]="Yangzhou"
album["at0252"]="Yantai"
album["at0253"]="Yinchuan"
album["at0254"]="Zaozhuang"
album["at0255"]="Zhengzhou"

//contents/atls/
//c03
album["at0301"]="China"
album["at0302"]="Hong Kong"
album["at0303"]="Japan"
album["at0304"]="Korea, North"
album["at0305"]="Korea, South"
album["at0306"]="Macau"
album["at0307"]="Mongolia"
album["at0308"]="Taiwan"
album["at0309"]="Yangtze River"

//contents/atls/
//c04
album["at0401"]="Origin of Chinese Civilization"
album["at0402"]="Shang Dynasty"
album["at0403"]="Qin Dynasty"
album["at0404"]="Han Dynasty"
album["at0405"]="Three Kingdoms"
album["at0406"]="Sui Dynasty"
album["at0407"]="Tang Dynasty"
album["at0408"]="Song Dynasty"
album["at0409"]="Yuan Dynasty"
album["at0410"]="Ming Dynasty"
album["at0411"]="Qing Dynasty"
album["at0412"]="Routes of the Silk Road"
album["at0413"]="Routes of the Silk Road"
album["at0414"]="Zhang Qian Route"
album["at0415"]="Long March Route"
album["at0416"]="Ever Victorious Campaign"
album["at0417"]="Taiping Territory"
album["at0418"]="Moukden"
album["at0419"]="Nanking"
album["at0420"]="Tientsin"
album["at0421"]="Peking"
album["at0422"]="Sino-Soviet Border Conflict"

album["0"]=""

for (alb in album){
if(r===alb){(album[alb])}}

if(r == "0"){document.write([inc("p_intro")]+album[(d)]+'</p>')}
if(r != "0"){document.write([inc("p_intro")]+album[(r)]+'<br>'+album[(d)]+'</p>')}

}

function artinav(c,d) {

var arnav = new Array()
arnav["tab_b"]="<table class='galnavo'<tr><td class='galnavob'><p class='galnav'>"
arnav["lnk_b"]="<a class='galnav' href="
arnav["fil_e"]=".htm>Album "
arnav["scr_e"]=".htm>Scroll "
arnav["pag_e"]=".htm>Page "
arnav["cty_e"]=".htm>Cities "
arnav["por_e"]=".htm>"
arnav["lnk_e"]="</a>"
arnav["sep"]=" | "
arnav["tab_e"]="</p></td></tr></table>"

if(d == "") {

if(c == "c01s01") {

document.write(arnav["tab_b"])
document.write(arnav["lnk_b"]+c+'a01'+arnav["fil_e"]+'1'+arnav["lnk_e"]+arnav["sep"])
document.write(arnav["lnk_b"]+c+'a02'+arnav["fil_e"]+'2'+arnav["lnk_e"]+arnav["sep"])
document.write(arnav["lnk_b"]+c+'a03'+arnav["fil_e"]+'3'+arnav["lnk_e"]+arnav["sep"])
document.write(arnav["lnk_b"]+c+'a04'+arnav["fil_e"]+'4'+arnav["lnk_e"]+arnav["sep"])
document.write(arnav["lnk_b"]+c+'a05'+arnav["fil_e"]+'5'+arnav["lnk_e"]+arnav["sep"])
document.write(arnav["lnk_b"]+c+'a06'+arnav["fil_e"]+'6'+arnav["lnk_e"]+arnav["sep"])
document.write(arnav["lnk_b"]+c+'a07'+arnav["fil_e"]+'7'+arnav["lnk_e"]+arnav["sep"])
document.write(arnav["lnk_b"]+c+'a08'+arnav["fil_e"]+'8'+arnav["lnk_e"]+arnav["sep"])
document.write(arnav["lnk_b"]+c+'a09'+arnav["fil_e"]+'9'+arnav["lnk_e"]+arnav["sep"])
document.write(arnav["lnk_b"]+c+'a10'+arnav["fil_e"]+'10'+arnav["lnk_e"]+arnav["sep"])
document.write(arnav["lnk_b"]+c+'a11'+arnav["fil_e"]+'11'+arnav["lnk_e"]+arnav["sep"])
document.write(arnav["lnk_b"]+c+'a12'+arnav["fil_e"]+'12'+arnav["lnk_e"])
document.write(arnav["tab_e"])
}
if(c == "c01s02") {

document.write(arnav["tab_b"])
document.write(arnav["lnk_b"]+c+'i01d00'+arnav["scr_e"]+'1'+arnav["lnk_e"]+arnav["sep"])
document.write(arnav["lnk_b"]+c+'i02d00'+arnav["scr_e"]+'2'+arnav["lnk_e"]+arnav["sep"])
document.write(arnav["lnk_b"]+c+'i03d00'+arnav["scr_e"]+'3'+arnav["lnk_e"]+arnav["sep"])
document.write(arnav["lnk_b"]+c+'i04d00'+arnav["scr_e"]+'4'+arnav["lnk_e"])
document.write(arnav["tab_e"])
}}

if(d == "arti" && c == "c01s01") {
document.write(arnav["tab_b"])
document.write(arnav["lnk_b"]+c+'a01'+arnav["por_e"]+'Bamboo in 4 Seasons'+arnav["lnk_e"]+arnav["sep"])
document.write(arnav["lnk_b"]+c+'a02'+arnav["por_e"]+'Twelve Leaves- Figures in Landscape Settings'+arnav["lnk_e"]+arnav["sep"])
document.write(arnav["lnk_b"]+c+'a03'+arnav["por_e"]+'Twelve Landscapes in Old Styles'+arnav["lnk_e"]+arnav["sep"])
document.write(arnav["lnk_b"]+c+'a04'+arnav["por_e"]+'Eight Leaves- Fish and Fruit'+arnav["lnk_e"]+'<br>')
document.write(arnav["lnk_b"]+c+'a05'+arnav["por_e"]+'Beggars and Street Entertainers'+arnav["lnk_e"]+arnav["sep"])
document.write(arnav["lnk_b"]+c+'a06'+arnav["por_e"]+'Flower Paintings'+arnav["lnk_e"]+arnav["sep"])
document.write(arnav["lnk_b"]+c+'a07'+arnav["por_e"]+'Flowers'+arnav["lnk_e"]+arnav["sep"])
document.write(arnav["lnk_b"]+c+'a08'+arnav["por_e"]+'Flowers and Landscapes'+arnav["lnk_e"]+arnav["sep"])
document.write(arnav["lnk_b"]+c+'a09'+arnav["por_e"]+'Ten Leaves- Figures and Landscapes'+arnav["lnk_e"]+arnav["sep"])
document.write(arnav["lnk_b"]+c+'a10'+arnav["por_e"]+'Twelve Leaves- Flowers'+arnav["lnk_e"]+'<br>')
document.write(arnav["lnk_b"]+c+'a11'+arnav["por_e"]+'Miscellaneous Subjects'+arnav["lnk_e"]+arnav["sep"])
document.write(arnav["lnk_b"]+c+'a12'+arnav["por_e"]+'Birds, Flowers, and Landscapes'+arnav["lnk_e"]+arnav["sep"])
document.write(arnav["lnk_b"]+c+'a13'+arnav["por_e"]+'Anthology of Masterpieces of the T\'ang, Sung and Yuan Dynasties'+arnav["lnk_e"])
document.write(arnav["tab_e"])
}

if(d == "arti" && c == "c01s02") {
document.write(arnav["tab_b"])
document.write(arnav["lnk_b"]+c+'i01d00'+arnav["por_e"]+'Autumn Colors on the Ch\'iao and Hua Mountains'+arnav["lnk_e"]+arnav["sep"])
document.write(arnav["lnk_b"]+c+'i02d00'+arnav["por_e"]+'Return Clearing'+arnav["lnk_e"]+arnav["sep"])
document.write(arnav["lnk_b"]+c+'i03d00'+arnav["por_e"]+'Spring Morning in the Han Palace'+arnav["lnk_e"]+arnav["sep"])
document.write(arnav["lnk_b"]+c+'i04d00'+arnav["por_e"]+'Green Mountains and White Clouds'+arnav["lnk_e"])
document.write(arnav["tab_e"])
}

if(d == "cult" && c == "c05s01") {
document.write(arnav["tab_b"])
document.write(arnav["lnk_b"]+c+'p10'+arnav["por_e"]+'Knife Coins'+arnav["lnk_e"]+arnav["sep"])
document.write(arnav["lnk_b"]+c+'p20'+arnav["por_e"]+'Spade Coins'+arnav["lnk_e"]+arnav["sep"])
document.write(arnav["lnk_b"]+c+'p30'+arnav["por_e"]+'Round Coins'+arnav["lnk_e"]+arnav["sep"])
document.write(arnav["lnk_b"]+c+'p40'+arnav["por_e"]+'Coin Moulds'+arnav["lnk_e"]+arnav["sep"])
document.write(arnav["lnk_b"]+c+'p900'+arnav["por_e"]+'Ken Elks Collection'+arnav["lnk_e"])
document.write(arnav["tab_e"])
}

if(d == "cult" && c == "c05s02") {
document.write(arnav["tab_b"])
document.write(arnav["lnk_b"]+c+'p10'+arnav["por_e"]+'Paper Money'+arnav["lnk_e"]+arnav["sep"])
document.write(arnav["lnk_b"]+c+'p20'+arnav["por_e"]+'Printing Blocks'+arnav["lnk_e"]+arnav["sep"])
document.write(arnav["lnk_b"]+c+'p30'+arnav["por_e"]+'Banknotes'+arnav["lnk_e"])
document.write(arnav["tab_e"])
}

if(d == "peop" && c == "c01s01") {
document.write(arnav["tab_b"])
document.write(arnav["lnk_b"]+c+'p01'+arnav["por_e"]+'Woodblock Prints'+arnav["lnk_e"]+arnav["sep"])
document.write(arnav["lnk_b"]+c+'p02'+arnav["por_e"]+'Foreign Visitors'+arnav["lnk_e"]+arnav["sep"])
document.write(arnav["lnk_b"]+c+'p03'+arnav["por_e"]+'Legendary Figures'+arnav["lnk_e"]+arnav["sep"])
document.write(arnav["lnk_b"]+c+'p04'+arnav["por_e"]+'Court Portraits'+arnav["lnk_e"]+arnav["sep"])
document.write(arnav["lnk_b"]+c+'p05'+arnav["por_e"]+'Hongwu Emperor'+arnav["lnk_e"]+arnav["sep"])
document.write(arnav["lnk_b"]+c+'p06'+arnav["por_e"]+'Album of Portraits'+arnav["lnk_e"]+arnav["sep"])
document.write(arnav["lnk_b"]+c+'p07'+arnav["por_e"]+'Yuan Dynasty'+arnav["lnk_e"]+arnav["sep"])
document.write(arnav["lnk_b"]+c+'p08'+arnav["por_e"]+'Emperors Scroll'+arnav["lnk_e"]+arnav["sep"])
document.write(arnav["lnk_b"]+c+'p10'+arnav["por_e"]+'Cixi'+arnav["lnk_e"]+arnav["sep"])
document.write(arnav["lnk_b"]+c+'p11'+arnav["por_e"]+'Puyi'+arnav["lnk_e"])
document.write(arnav["tab_e"])
}
if(d == "peop" && c == "c05s01") {
document.write(arnav["tab_b"])
document.write(arnav["lnk_b"]+c+'p01'+arnav["por_e"]+'Until 1978'+arnav["lnk_e"]+arnav["sep"])
document.write(arnav["lnk_b"]+c+'p02'+arnav["por_e"]+'Nixon In China'+arnav["lnk_e"]+arnav["sep"])
document.write(arnav["lnk_b"]+c+'p03'+arnav["por_e"]+'1979-1999'+arnav["lnk_e"]+arnav["sep"])
document.write(arnav["lnk_b"]+c+'p04'+arnav["por_e"]+'2000- Present'+arnav["lnk_e"])
document.write(arnav["tab_e"])
}
if(d == "atls" && c == "c01") {
document.write(arnav["tab_b"])
document.write(arnav["lnk_b"]+c+'p01'+arnav["por_e"]+'Anhui-Hebei'+arnav["lnk_e"]+arnav["sep"])
document.write(arnav["lnk_b"]+c+'p02'+arnav["por_e"]+'Heilongjiang-Qinghai'+arnav["lnk_e"]+arnav["sep"])
document.write(arnav["lnk_b"]+c+'p03'+arnav["por_e"]+'Shaanxi-Zhejiang'+arnav["lnk_e"])
document.write(arnav["tab_e"])
}
if(d == "atls" && c == "c02s01") {
document.write(arnav["tab_b"])
document.write(arnav["lnk_b"]+c+'p01'+arnav["cty_e"]+'1'+arnav["lnk_e"]+arnav["sep"])
document.write(arnav["lnk_b"]+c+'p02'+arnav["cty_e"]+'2'+arnav["lnk_e"]+arnav["sep"])
document.write(arnav["lnk_b"]+c+'p03'+arnav["cty_e"]+'2'+arnav["lnk_e"]+arnav["sep"])
document.write(arnav["lnk_b"]+c+'p04'+arnav["cty_e"]+'2'+arnav["lnk_e"])
document.write(arnav["tab_e"])
}
if(d == "atls" && c == "c02") {
document.write(arnav["tab_b"])
document.write(arnav["lnk_b"]+c+'p01'+arnav["por_e"]+'Anshan-Fuzhou'+arnav["lnk_e"]+arnav["sep"])
document.write(arnav["lnk_b"]+c+'p02'+arnav["por_e"]+'Guangzhou-Jinhua'+arnav["lnk_e"]+arnav["sep"])
document.write(arnav["lnk_b"]+c+'p03'+arnav["por_e"]+'Kashi-Qingjiang'+arnav["lnk_e"]+arnav["sep"])
document.write(arnav["lnk_b"]+c+'p04'+arnav["por_e"]+'Qiqihar-Ürümqi'+arnav["lnk_e"]+arnav["sep"])
document.write(arnav["lnk_b"]+c+'p05'+arnav["por_e"]+'Weifang-Zhengzhou'+arnav["lnk_e"])
document.write(arnav["tab_e"])
}
}
	
function inc(d) {
	if (d == "nav") {document.write('<a class="nav" href="')}
	if (d == "navd") {document.write('<a target="_blank" class="nav" href="')}
	if (d == "navc") {document.write('<a class="navcur" href="')}
	if (d == "nave") {document.write('</a>')}
	if (d == "enfi") {document.write('">')}
	if (d == "pnv") {document.write('<p class="nav">')}
	if (d == "p_intro") {document.write('<p class="pageintro">')}
	if (d == "pnve") {document.write('</p>')}
	if (d == "sep") {document.write(' :: ')}
	if (d == "spb") {document.write(' | ')}
	if (d == "hmloc") {document.write('/chineseart/')}
	if (d == "coloc") {document.write('/chineseart/contents/')}
	if (d == "ache"||d == "artc"||d == "arti"||d == "atls"||d == "call"||d == "hist"||d == "news"||d == "peop"||d == "foto") {document.write([inc("coloc")]+((d))+('/'))}

	if (d == "filoc") {document.write('/chineseart/contents/files/')}
	if (d == "fiend") {document.write('.html')}
	if (d == "disloc") {document.write('http://www.ibiblio.org/chinesehistory/forum/viewforum.php?f=')}
	if (d == "disimg") {document.write('<img border="0" src="http://www.ibiblio.org/chinesehistory/forum/templates/subRed/images/lang_english/discuss.png">')}
};

function dis(t) {
	document.write([br(2)]+[inc("navd")]+[inc("disloc")])
	document.write(t)+([inc("enfi")]+[inc("disimg")]+[inc("nave")])}

function br(n) {
	if (n == 1){document.write('<br>')}
	if (n == 2){document.write('<br><br>')}
	if (n == 3){document.write('<br><br><br>')}
	if (n == 4){document.write('<br><br><br><br>')}
}

//l= level (hme, cnt, frm)
//p= part (01his, 09app, 00int)
//			00int= these are introductions to each part, located in the contents/files folder.
//c= chapter title (c01, c02)
//s= section (s01, s02)
//b= subsection (sa01, sb01)
//z= page level
//(cnt010101z- cnt[content level], 01[history part], 01[chapter 01], 01[section 01], z[no subsection. if subsection- letter of sebsection (a,b,c,d,e)])

function _in(t,c,s,e,n1) {

var v
var filo = new Array()
filo["fi"]="/chineseart/contents/files/"
filo["nav"]="<a class='nav' href='"
filo["ell"]="</a>"
filo["01"]="c01.html'>"
filo["11"]="c01s01.html'>"
filo["12"]="c01s02.html'>"
filo["13"]="c01s03.html'>"
filo["14"]="c01s04.html'>"
filo["21"]="c02s01.html'>"
filo["22"]="c02s02.html'>"
filo["23"]="c02s03.html'>"
filo["24"]="c02s04.html'>"
filo["31"]="c03s01.html'>"
filo["32"]="c03s02.html'>"
filo["33"]="c03s03.html'>"
filo["34"]="c03s04.html'>"
filo["41"]="c04s01.html'>"
filo["41v"]="c04s01v.html'>"
filo["42"]="c04s02.html'>"
filo["43"]="c04s03.html'>"
filo["44"]="c04s04.html'>"
filo["51"]="c05s01.html'>"
filo["52"]="c05s02.html'>"
filo["53"]="c05s03.html'>"
filo["54"]="c05s04.html'>"
filo["61"]="c06s01.html'>"
filo["62"]="c06s02.html'>"
filo["63"]="c06s03.html'>"
filo["64"]="c06s04.html'>"

for (v in filo){
if(v===v){(filo[v])}}

var a
var cha = new Array()
cha["ache"] = "Archaeology"
cha["artc"] = "Architecture"
cha["arti"] = "Artistry"
cha["atls"] = "Atlas"
cha["call"] = "Calligraphy"
cha["cult"] = "Culture"
cha["hist"] = "Pictoral History"
cha["news"] = "News in Pictures"
cha["peop"] = "People in History"
cha["foto"] = "Scenic China"
cha["cont"] = "Contact Information"

for (a in cha){
if(c===a){(cha[a])}}

var g
var gpf = new Array()
gpf["ache"] = "20"
gpf["artc"] = "21"
gpf["arti"] = "30"
gpf["atls"] = "23"
gpf["call"] = "24"
gpf["cult"] = "39"
gpf["hist"] = "40"
gpf["news"] = "42"
gpf["peop"] = "41"
gpf["foto"] = "Scenic China"
gpf["cont"] = "Contact Information"

for (g in gpf){
if(c===g){(gpf[g])}}

var n
var cloc = new Array()
cloc["ac01"]=cloc["ah01"]=cloc["ar01"]=cloc["at01"]=cloc["ca01"]=cloc["cu01"]=cloc["hi01"]=cloc["nw01"]=cloc["pe01"]=cloc["fo01"]="c01"
cloc["ac02"]=cloc["ah02"]=cloc["ar02"]=cloc["at02"]=cloc["ca02"]=cloc["cu02"]=cloc["hi02"]=cloc["nw02"]=cloc["pe02"]=cloc["fo02"]="c02"
cloc["ac03"]=cloc["ah03"]=cloc["ar03"]=cloc["at03"]=cloc["ca03"]=cloc["cu03"]=cloc["hi03"]=cloc["nw03"]=cloc["pe03"]=cloc["fo03"]="c03"
cloc["ac04"]=cloc["ah04"]=cloc["ar04"]=cloc["at04"]=cloc["ca04"]=cloc["cu04"]=cloc["hi04"]=cloc["nw04"]=cloc["pe04"]=cloc["fo04"]="c04"
cloc["ac05"]=cloc["ah05"]=cloc["ar05"]=cloc["at05"]=cloc["ca05"]=cloc["cu05"]=cloc["hi05"]=cloc["nw05"]=cloc["pe05"]=cloc["fo05"]="c05"
cloc["ac06"]=cloc["ah06"]=cloc["ar06"]=cloc["at06"]=cloc["ca06"]=cloc["cu06"]=cloc["hi06"]=cloc["nw06"]=cloc["pe06"]=cloc["fo06"]="c06"

for (n in cloc){
if(s===n){(cloc[n])}}


var b
var sec = new Array()
sec["0"]=""
sec["ac01"]="Pre- History"
sec["ac02"]="Qin Dynasty"
sec["ac03"]="Archaeological Sites"
sec["ah01"]="Houses"
sec["ah02"]="Style"
sec["ar01"]="Paintings"
sec["ar02"]="Art Imitating Life"
sec["at01"]="Provincial Maps"
sec["at02"]="City Maps"
sec["at03"]="Country Maps"
sec["at04"]="Historical Maps"
sec["at05"]="Other Maps"
sec["ca01"]="The Art of Calligraphy"
sec["ca02"]="Poetry"
sec["cu01"]="Minorities"
sec["cu02"]="Religion"
sec["cu03"]="Martial Arts"
sec["cu04"]="Paper"
sec["cu05"]="Money"
sec["cu06"]="Chinese Opera"
sec["hi01"]="Imperial Edicts"
sec["hi02"]="18th, 19th and Early 20th Centuries"
sec["hi03"]="Cultural Revolution"
sec["hi04"]="Tiananmen Incident"
sec["hi05"]="Modern History"
sec["pe01"]="Imperial Portraits"
sec["pe02"]="Republican Era Figures"
sec["pe03"]="Dalai Lama"
sec["pe04"]="Mao Zedong"
sec["pe05"]="PRC Figures"
sec["pe06"]="ROC Figures"

for (b in sec){
if(s===b){(sec[b])}}

var z
var pin = new Array()
pin["0"]=""
pin["ac0101"]="Oracle Bones"
pin["ac0102"]="Peking Man"
pin["ac0201"]="Qin Shi Huangdi Tomb"
pin["ac0202"]="Terra Cotta Army"
pin["ac0301"]="Relics"
pin["ac0302"]="Ruins"
pin["ac0303"]="Excavations"
pin["ac0304"]="Site Diagrams"
pin["ah0101"]="Traditional Houses"
pin["ah0201"]="Form & Function"
pin["ar0101"]="Albums"
pin["ar0102"]="Hand Scrolls"
pin["ar0103"]="Hanging Scrolls"
pin["ar0104"]="Single Subject"
pin["ar0201"]="History"
pin["ar0202"]="Politics"
pin["ar0203"]="Life"
pin["ca0101"]="Calligraphy As Art"
pin["ca0102"]="Calligraphers"
pin["ca0103"]="Art In Motion"
pin["ca0201"]="Poetry As Art"
pin["cu0101"]="People"
pin["cu0201"]="Places of Worship"
pin["cu0202"]="Iconography"
pin["cu0301"]="Practice"
pin["cu0302"]="Theory"
pin["cu0401"]="Technique"
pin["cu0401v"]="Technique : Video"
pin["cu0402"]="Relics"
pin["cu0501"]="Coins"
pin["cu0502"]="Paper Money"
pin["cu0601"]="Performance"
pin["cu0602"]="Opera Masks"
pin["cu0603"]="Costumes"
pin["hi0301"]="Posters"
pin["hi0302"]="Mao Badges"
pin["pe0301"]="13th Dalai Lama"
pin["pe0302"]="14th Dalai Lama"

pin["nw01"]="News In Pictures"

for (z in pin){
if(e===z){(pin[z])}}

var y
var ch_p = new Array()
ch_p["ache"]=filo["nav"]+"c01.html'>"+sec["ac01"]+"</a> | "+filo["nav"]+"c02.html'>"+sec["ac02"]+"</a> | "+filo["nav"]+"c03.html'>"+sec["ac03"]+"</a>"
ch_p["artc"]=filo["nav"]+"c01.html'>"+sec["ah01"]+"</a> | "+filo["nav"]+"c02.html'>"+sec["ah02"]+"</a>"
ch_p["arti"]=filo["nav"]+"c01.html'>"+sec["ar01"]+"</a> | "+filo["nav"]+"c02.html'>"+sec["ar02"]+"</a>"
ch_p["atls"]=filo["nav"]+"c01.htm'>"+sec["at01"]+"</a> | "+filo["nav"]+"c02.htm'>"+sec["at02"]+"</a> | "+filo["nav"]+"c03.htm'>"+sec["at03"]+"</a> | "+filo["nav"]+"c04.htm'>"+sec["at04"]+"</a>"
// | "+filo["nav"]+"c05.htm'>"+sec["at05"]+"</a>"
ch_p["call"]=filo["nav"]+"c01.html'>"+sec["ca01"]+"</a> | "+filo["nav"]+"c02.html'>"+sec["ca02"]+"</a>"
ch_p["cult"]=filo["nav"]+"c01.html'>"+sec["cu01"]+"</a> | "+filo["nav"]+"c02.html'>"+sec["cu02"]+"</a> | "+filo["nav"]+"c03.html'>"+sec["cu03"]+"</a> | "+filo["nav"]+"c04.html'>"+sec["cu04"]+"</a> | "+filo["nav"]+"c05.html'>"+sec["cu05"]+"</a> | "+filo["nav"]+"c06.html'>"+sec["cu06"]+"</a>"
ch_p["hist"]=filo["nav"]+"c01.html'>"+sec["hi01"]+"</a> | "+filo["nav"]+"c02.html'>"+sec["hi02"]+"</a> | "+filo["nav"]+"c03.html'>"+sec["hi03"]+"</a> | "+filo["nav"]+"c04.html'>"+sec["hi04"]+"</a> | "+filo["nav"]+"c05.html'>"+sec["hi05"]+"</a>"
ch_p["peop"]=filo["nav"]+"c01.html'>"+sec["pe01"]+"</a> | "+filo["nav"]+"c02.html'>"+sec["pe02"]+"</a> | "+filo["nav"]+"c03.html'>"+sec["pe03"]+"</a> | "+filo["nav"]+"c04.html'>"+sec["pe04"]+"</a> | "+filo["nav"]+"c05.html'>"+sec["pe05"]+"</a> | "+filo["nav"]+"c06.html'>"+sec["pe06"]+"</a>"

ch_p["news"]=filo["nav"]+filo["01"]+pin["nw01"]+"</a>"

for (y in ch_p){
if(c===y){(ch_p[y])}}

//	child pages under each chapter

var x
var ch_c = new Array()
ch_c["ac01"]=filo["nav"]+filo["11"]+pin["ac0101"]+"</a> | "+filo["nav"]+filo["12"]+pin["ac0102"]+"</a>"
ch_c["ac02"]=filo["nav"]+filo["21"]+pin["ac0201"]+"</a> | "+filo["nav"]+filo["22"]+pin["ac0202"]+"</a>"
ch_c["ac03"]=filo["nav"]+filo["31"]+pin["ac0301"]+"</a> | "+filo["nav"]+filo["32"]+pin["ac0302"]+"</a> | "+filo["nav"]+filo["33"]+pin["ac0303"]+"</a> | "+filo["nav"]+filo["34"]+pin["ac0304"]+"</a>"
ch_c["ah01"]=filo["nav"]+filo["11"]+pin["ah0101"]+"</a>"
ch_c["ah02"]=filo["nav"]+filo["21"]+pin["ah0201"]+"</a>"
ch_c["ar01"]=filo["nav"]+filo["11"]+pin["ar0101"]+"</a> | "+filo["nav"]+filo["12"]+pin["ar0102"]+"</a> | "+filo["nav"]+filo["13"]+pin["ar0103"]+"</a> | "+filo["nav"]+filo["14"]+pin["ar0104"]+"</a>"
ch_c["ar02"]=filo["nav"]+filo["21"]+pin["ar0201"]+"</a> | "+filo["nav"]+filo["22"]+pin["ar0202"]+"</a> | "+filo["nav"]+filo["23"]+pin["ar0203"]+"</a>"
ch_c["ca01"]=filo["nav"]+filo["11"]+pin["ca0101"]+"</a> | "+filo["nav"]+filo["12"]+pin["ca0102"]+"</a> | "+filo["nav"]+filo["13"]+pin["ca0103"]+"</a>"
ch_c["ca02"]=filo["nav"]+filo["21"]+pin["ca0201"]+"</a>"
ch_c["cu01"]=filo["nav"]+filo["11"]+pin["cu0101"]+"</a>"
ch_c["cu02"]=filo["nav"]+filo["21"]+pin["cu0201"]+"</a> | "+filo["nav"]+filo["22"]+pin["cu0202"]+"</a>"
ch_c["cu03"]=filo["nav"]+filo["31"]+pin["cu0301"]+"</a> | "+filo["nav"]+filo["32"]+pin["cu0302"]+"</a>"
ch_c["cu04"]=filo["nav"]+filo["41"]+pin["cu0401"]+"</a> | "+filo["nav"]+filo["41v"]+pin["cu0401v"]+"</a> | "+filo["nav"]+filo["42"]+pin["cu0402"]+"</a>"
ch_c["cu05"]=filo["nav"]+filo["51"]+pin["cu0501"]+"</a> | "+filo["nav"]+filo["52"]+pin["cu0502"]+"</a>"
ch_c["cu06"]=filo["nav"]+filo["61"]+pin["cu0601"]+"</a> | "+filo["nav"]+filo["62"]+pin["cu0602"]+"</a> | "+filo["nav"]+filo["63"]+pin["cu0603"]+"</a>"
ch_c["hi03"]=filo["nav"]+filo["31"]+pin["hi0301"]+"</a> | "+filo["nav"]+filo["32"]+pin["hi0302"]+"</a>"
ch_c["pe03"]=filo["nav"]+filo["31"]+pin["pe0301"]+"</a> | "+filo["nav"]+filo["32"]+pin["pe0302"]+"</a>"

for (x in ch_c){
if(s===x){(ch_c[x])}}

var w
var cf_c = new Array()
cf_c["ache"]=cf_c["artc"]=cf_c["arti"]=cf_c["atls"]=cf_c["call"]=cf_c["cult"]=cf_c["hist"]=cf_c["peop"]=cf_c["news"]=cf_c["foto"]=filo["nav"]+filo["fi"]+"ache.html'>"+cha["ache"]+"</a> | "+filo["nav"]+filo["fi"]+"artc.html'>"+cha["artc"]+"</a> | "+filo["nav"]+filo["fi"]+"arti.html'>"+cha["arti"]+"</a> | "+filo["nav"]+filo["fi"]+"atls.html'>"+cha["atls"]+"</a> | "+filo["nav"]+filo["fi"]+"call.html'>"+cha["call"]+"</a> | "+filo["nav"]+filo["fi"]+"cult.html'>"+cha["cult"]+"</a> | "+filo["nav"]+filo["fi"]+"hist.html'>"+cha["hist"]+"</a> | "+filo["nav"]+filo["fi"]+"news.html'>"+cha["news"]+"</a> | "+filo["nav"]+filo["fi"]+"peop.html'>"+cha["peop"]+"</a>"

// | "+filo["nav"]+filo["fi"]+"foto.html'>"+cha["foto"]+"</a>"

for (w in cf_c){
if(c===w){(cf_c[w])}}

	if(t == "b") {
	document.write('<center><img border="0" src="')+[imgloc()]
	document.write('ib.cont.'+(c)+'.gif')
	document.write('" width="100%" height="65" alt="'+(cha[c])+'">')
	if(s != "0" && c != "0") {
	document.write('<table class="intro"><tr class="intro"><td height="3">&nbsp </td></tr><tr><td class="intro">-'+(sec[s]))
	document.write('-</td></tr><tr class="intro"><td height="3">&nbsp </td></tr></table>')
	document.write('<p class="pageintro">')
	document.write(pin[e])
	document.write('</p>')
	}
	document.write('</center>')
	if(s == "0") {
	document.write('<p>&nbsp;</p>')
	}
	}
	
	if(t == "n") {
	document.write[botnav((n1))]
	}
	
function lb(d) {

	if (d == "000000nme") {document.write('Table of Contents')}
	if (d == "000000loc") {document.write([inc("hmloc")]+'index.html#toc')}
	
	if (d == "tocnme") {document.write((cha[c]))}
	if (d == "tocloc") {document.write([inc("filoc")]+((c))+'.html')}
	
	if (d == "chanme") {document.write((sec[s]))}
	if (d == "chaloc") {document.write([inc((c))]+(cloc[s])+'.html')}
	
	if (d == "cfnme") {document.write((cf_c[c]))}
	if (d == "clnme") {document.write((ch_p[c]))}
	if (d == "ccnme") {document.write((ch_c[s]))}
	
	if (d == "990000nme") {document.write('Appendix')}
	if (d == "990000loc") {document.write('')}
	if (d == "990001nme") {document.write('Contact Information')}
	if (d == "990001loc") {document.write([inc("hmloc")]+'contact/')}
	if (d == "990002nme") {document.write('Search This Site')}
	if (d == "990002loc") {document.write([inc("hmloc")]+'search.html')}
	if (d == "990003nme") {document.write('Site Index')}
	if (d == "990003loc") {document.write([inc("hmloc")]+'site.html')}
	if (d == "990004nme") {document.write('Source Index')}
	if (d == "990004loc") {document.write([inc("hmloc")]+'source.html')}

}

function botnav(d) {

	if (d == "cf") {
	document.write([line()])
	document.write([inc("pnv")]+[inc("nav")]+[lb("000000loc")]+[inc("enfi")]+[lb("000000nme")]+[inc("nave")])
	document.write([br(2)]+[lb("cfnme")]+[inc("pnve")])}
	if (d == "cl") {
	document.write([line()])
	document.write([inc("pnv")]+[inc("nav")]+[lb("000000loc")]+[inc("enfi")]+[lb("000000nme")]+[inc("nave")])
	document.write([inc("sep")]+[inc("nav")]+[lb("tocloc")]+[inc("enfi")]+[lb("tocnme")]+[inc("nave")])
	document.write([br(2)]+[lb("clnme")])
	document.write([dis(gpf[c])]+[inc("pnve")])}
	if (d == "cc") {
	document.write([line()])
	document.write([inc("pnv")]+[inc("nav")]+[lb("tocloc")]+[inc("enfi")]+[lb("tocnme")]+[inc("nave")])
	document.write([inc("sep")]+[inc("nav")]+[lb("chaloc")]+[inc("enfi")]+[lb("chanme")]+'</a>')
	document.write([br(2)]+[lb("ccnme")])
	document.write([dis(gpf[c])]+[inc("pnve")])}
}
}