document.write ('	<p>&nbsp;</p>		');
document.write ('<DIV STYLE="overflow: auto; width: 270px; height: 600px; border-left: 0px gray solid; border-bottom: 0px gray solid; padding:0px; margin: 0px;" >');
document.write ('<a style="text-decoration:none" >');
//all same except height in px here 250 there 350
window.collapsibleListRef = []; window.imageCache = []; window.autoCloseRef = [];
//iCab can change display, but does not say so, and does notunderstand '' so I use a browser detect and script 934+54343 
var is_Icab = window.ScriptEngine && ScriptEngine().indexOf( 'InScript' ) + 1;

function collapsibleList() {
	//hold tree information about the list and the images used
	this.treeImg = arguments[0];
	this.expdImg = arguments[1];
	this.isAutoClose = arguments[2];
	this.subClass = arguments[3];
	this.sub = [];
}

function sub() {
	//hold information about the list item
	this.text = arguments[0];
	this.expanded = arguments[1];
	this.sub = [];
}

//done because WebTV does not understand inline object syntax
function ColLexPdOb(plI,miI,oSv,oAc) { this.plI = plI; this.miI = miI; this.subs = []; this.saveName = oSv; this.autoCol = oAc; }
function ColLexPdIT(name,expanded) { this.name = name; this.expanded = expanded; }

function createList(listObject,currentExt,imgExt,oLev,oBase) {
	if( !currentExt || !currentExt.match(/^treeList_\d+(_\d+)+$/) ) {
		//create the list, start by defining aditional stuff that is required, counting the lists etc.
		window.collapsibleListRef[window.collapsibleListRef.length] = new ColLexPdOb( listObject.expdImg[4], listObject.expdImg[5], currentExt, listObject.isAutoClose );
		currentExt = 'treeList_'+( window.collapsibleListRef.length - 1 ); imgExt = ''; oLev = 0; oBase = listObject;
		document.write( '<p style="line-height:'+(document.layers?listObject.treeImg[1]+'px':'100%')+';">' );
		oBase.menuUniqueNum = window.collapsibleListRef.length - 1; window.autoCloseRef[oBase.menuUniqueNum] = [];
	}
	document.write( '<span style="display:;" id="'+currentExt+'">' );
	for( var x = 0; x < listObject.sub.length; x++ ) {
		//for every child object, create their line
		document.write(
			//the line break on all except the very first line
			( ( oLev || x ) ? '\n<br>' : '' ) +
			//what may or may not remain of the trunk
			( ( oBase.subClass && oBase.subClass[oLev] && oBase.subClass[oLev][listObject.sub[x].sub.length?1:0] && !( document.layers && navigator.mimeTypes['*'] ) ) ? ( '<span class="'+oBase.subClass[oLev][listObject.sub[x].sub.length?1:0]+'">' ) : '' ) + imgExt +
			//this branch
			( oLev ? '<img src="' + ( ( x < listObject.sub.length - 1 ) ? oBase.treeImg[2] : oBase.treeImg[3] ) + '" align="absmiddle" width="' + oBase.treeImg[0] + '" height="' + oBase.treeImg[1] + '" alt="' + ( ( x < listObject.sub.length - 1 ) ? '|-' : '`-' ) + '" border="0">' : '' ) +
			//the expand / collapse link or not as the case may be
			( listObject.sub[x].sub.length ? '<a href="#" onclick="expandList(\'' + currentExt + '_' + x + '\',\'' + currentExt + '_' + x + '_img\',\'' + oBase.expdImg[4] + '\',\'' + oBase.expdImg[5] + '\',\'' + oBase.menuUniqueNum + '\','+oLev+',' + ( oBase.isAutoClose ? 'true' : 'false' ) + ');if(this.blur){this.blur();}return false;"><img src="' + oBase.expdImg[2] + '" align="absmiddle" name="' + currentExt + '_' + x + '_img" width="' + oBase.expdImg[0] + '" height="' + oBase.expdImg[1] + '" alt="[+/-]" border="0"></a> ' : '<img src="' + oBase.expdImg[3] + '" align="absmiddle" width="' + oBase.expdImg[0] + '" height="' + oBase.expdImg[1] + '" alt="-----" border="0"> ' ) +
			//the text of the branch
			listObject.sub[x].text + ( ( oBase.subClass && oBase.subClass[oLev] && oBase.subClass[oLev][listObject.sub[x].sub.length?1:0] && !( document.layers && navigator.mimeTypes['*'] ) ) ? '</span>' : '' )
		);
		if( listObject.sub[x].sub.length ) {
			//add the span id to a list so we can easily find it and collapse it later
			window.collapsibleListRef[window.collapsibleListRef.length - 1].subs[window.collapsibleListRef[window.collapsibleListRef.length - 1].subs.length] = new ColLexPdIT( currentExt + '_' + x, listObject.sub[x].expanded && !oBase.isAutoClose );
			//create children
			createList( listObject.sub[x], currentExt + '_' + x, oLev ? ( imgExt + ( ( x < listObject.sub.length - 1 ) ? '<img src="' + oBase.treeImg[4] + '" align="absmiddle" width="' + oBase.treeImg[0] + '" height="' + oBase.treeImg[1] + '" alt="|&nbsp;">' : '<img src="' + oBase.treeImg[5] + '" align="absmiddle" width="' + oBase.treeImg[0] + '" height="' + oBase.treeImg[1] + '" alt="&nbsp;&nbsp;">' ) ) : '', oLev + 1, oBase );
		}
	}
	document.write( '</span>' );
	if( !oLev ) {
		//end the list and prepare to collapse as soon as the browser lays it out
		document.write( '</p>\n' );
		if( document.all || document.getElementById ) { window.setTimeout('prepareForUse('+(window.collapsibleListRef.length-1)+')',100); }
	}
}

function expandList(spanName,imgName,plsImg,minImg,oMenu,oLevel,oAutoClose) {
	var theSpan = document.getElementById ? document.getElementById(spanName) : document.all ? document.all[spanName] : (new Object());
	if( !theSpan ) { return; } if( theSpan.style ) { theSpan = theSpan.style; }
	if( typeof( theSpan.display ) == 'undefined' && !is_Icab ) {
		//if we could not access the span element or if its display style cannot be changed, say so
		window.alert( 'Sorry, your browser cannot collapse or expand these lists\nso the lists will remain constantly expanded.' );
	} else {
		//if required, collapse back down again
		for( var y = window.autoCloseRef[oMenu].length - 1; y >= oLevel; y-- ) {
			if( window.autoCloseRef[oMenu][y] && oAutoClose && window.autoCloseRef[oMenu][y][0] != spanName ) {
				var theSpan2 = document.getElementById ? document.getElementById(window.autoCloseRef[oMenu][y][0]) : document.all ? document.all[window.autoCloseRef[oMenu][y][0]] : (new Object());
				if( theSpan2.style ) { theSpan2 = theSpan2.style; } theSpan2.display = 'none';
				document.images[window.autoCloseRef[oMenu][y][1]].src = window.autoCloseRef[oMenu][y][2];
				window.autoCloseRef[oMenu][y] = null;
			}
		}
		if( theSpan.display == 'none' ) { window.autoCloseRef[oMenu][oLevel] = [spanName,imgName,plsImg]; }
		//expand / collapse the list and change the image
		theSpan.display = ( theSpan.display == 'none' ) ? ( is_Icab ? 'inline' : '' ) : 'none';
		document.images[imgName].src = theSpan.display ? plsImg : minImg;
	}
}

function prepareForUse(listNum) {
	if( !window.collapsibleListRef[listNum].subs.length ) { return; } //no branches to collapse
	var lastPart = window.collapsibleListRef[listNum].subs[window.collapsibleListRef[listNum].subs.length - 1].name;
	lastPart = document.getElementById ? document.getElementById(lastPart) : document.all[lastPart];
	//if the page has not loaded enough, try again later
	if( !lastPart ) { window.setTimeout('prepareForUse('+listNum+')',100); } else {
		//if their browser cannot change the display style, don't try
		if( lastPart.style ) { lastPart = lastPart.style; }
		if( typeof( lastPart.display ) == 'undefined' && !is_Icab ) { return; }
		//cache images for faster changes
		window.imageCache[listNum] = [(new Image()),(new Image())];
		window.imageCache[listNum][0].src = window.collapsibleListRef[listNum].plI;
		window.imageCache[listNum][1].src = window.collapsibleListRef[listNum].miI;
		var svNm; if( svNm = window.collapsibleListRef[listNum].saveName ) { svNm = retrieveCookie(svNm); }
		if( typeof( svNm ) == 'string' ) { svNm = svNm.split(','); }
		for( var x = 0; x < window.collapsibleListRef[listNum].subs.length; x++ ) {
			var lastPart = window.collapsibleListRef[listNum].subs[x];
			if( svNm ) { var thisArray = mwjInArray(lastPart.name,svNm); }
			if( ( svNm && thisArray ) || ( !svNm && lastPart.expanded ) ) {
				//if they want it expanded by default, just change the image
				document.images[lastPart.name + '_img'].src = window.imageCache[listNum][1].src;
			} else {
				//collapse the branch and change the image
				document.images[lastPart.name + '_img'].src = window.imageCache[listNum][0].src;
				lastPart = document.getElementById ? document.getElementById(lastPart.name) : document.all[lastPart.name];
				if( lastPart.style ) { lastPart = lastPart.style; }
				lastPart.display = 'none';
			}
		}
	}
}

function mwjInArray(oNeed,oHay) { for( var i = 0; i < oHay.length; i++ ) { if( oNeed == oHay[i] ) { return true; } } return false; }

function saveCollapseState(oLife) {
	var allSpans = document.getElementsByTagName ? document.getElementsByTagName('span') : ( document.all ? document.all.tags('SPAN') : [] );
	if( !allSpans.length ) { return; } //nothing to save
	//try to minimise the number of comparisons, to save processor time
	for( var x = 0, saveNums = ''; window.collapsibleListRef[x]; x++ ) {
		if( !window.collapsibleListRef[x].autoCol && window.collapsibleListRef[x].saveName ) { saveNums += ( saveNums ? '|' : '' ) + x; } }
	if( !saveNums ) { return; } //nothing to save
	for( var x = 0, brnch = [], frNm, rgxp = new RegExp('^treeList_('+saveNums+')_.*$',''); x < allSpans.length; x++ ) {
		if( allSpans[x].id && allSpans[x].id.match(rgxp) && allSpans[x].style.display != 'none' ) {
			frNm = allSpans[x].id.replace(rgxp,'$1');
			brnch[frNm] = ( brnch[frNm] ? ( brnch[frNm] + ',' ) : '' ) + allSpans[x].id;
		}
	}
	for( var x = 0, saveNums = ''; window.collapsibleListRef[x]; x++ ) {
		if( window.collapsibleListRef[x].saveName ) { setCookie(window.collapsibleListRef[x].saveName,brnch[x],oLife,'/'); } }
}
//first create a tree object and define all images to use
var myList = new collapsibleList([17,21,'images/leftmenu/spacer.gif','images/leftmenu/spacer.gif','images/leftmenu/spacer.gif','images/leftmenu/e.gif'],[12,12,'images/leftmenu/f.gif','images/dot.gif','images/leftmenu/plus.png','images/leftmenu/minus.png']);

//then create branches
//I only put the extra spaces in so you could see what I was doing
myList.sub[0]                      = new sub('<font face="Verdana" size = "1"  color="461d6c"  color="461d6c" ><b>Prospective Students</b></font>',true);
myList.sub[0].sub[0]               = new sub('<font face="Verdana" size = "1"  color="461d6c"  color="461d6c" ><u><i>Admissions</i></u></font>');
myList.sub[0].sub[0].sub[0]        = new sub('<a href="http://www.oip.lsu.edu/iso/How_To_Get_an_LSU_Form_I-20orDS-2019.htm" style="text-decoration: none"><font face="Verdana" size = "1"  color="461d6c"  >How To Get an LSU <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Form I20 or DS-2019</font></a>');
myList.sub[0].sub[0].sub[1]        = new sub('<a href="http://appl003.lsu.edu/grad/gradschool.nsf/index" style="text-decoration: none"><font face="Verdana" size = "1"  color="461d6c"  >Graduate Admissions</font></a>');
myList.sub[0].sub[0].sub[2]        = new sub('<a href="http://www.lsu.edu/paurec/international.shtml" style="text-decoration: none"><font face="Verdana" size = "1"  color="461d6c"  >Undergraduate Admissions</font></a>'                    );
//myList.sub[0].sub[0].sub[3]        = new sub('<a href="http://appl003.lsu.edu/slas/recruitweb.nsf/index" style="text-decoration: none" ><font face="Verdana" size = "1"  color="461d6c"   >Recruiting Services</font></a>'                    );
myList.sub[0].sub[0].sub[3]        = new sub('<a href="Dates%20and%20costs.htm" style="text-decoration: none"><font face="Verdana" size = "1"  color="461d6c"  >Estimated Expenses</font></a>'                    );
myList.sub[0].sub[0].sub[4]        = new sub('<a href="pdfs/Affidavit_of_Support.pdf" style="text-decoration: none"><font face="Verdana" size = "1"  color="461d6c"  >Affidavit of Support</font></a>'                    );
myList.sub[0].sub[0].sub[5]        = new sub('<a href="scholarships%20info.htm" style="text-decoration: none"><font face="Verdana" size = "1"  color="461d6c"  >Scholarship Information</font></a>'                    );
myList.sub[0].sub[0].sub[6]        = new sub('<a href="Stats_Main.htm" style="text-decoration: none"><font face="Verdana" size = "1"  color="461d6c"  >International Student Stats</font></a>'                    );
myList.sub[0].sub[1]               = new sub('<font face="Verdana" size = "1"  color="461d6c"  color="461d6c" ><u><i>Immigration Forms and Procedures</i></u></font>');
myList.sub[0].sub[1].sub[0]        = new sub('<a href="immigration forms.htm" style="text-decoration: none"><font face="Verdana" size = "1"  color="461d6c"  >Immigration Forms</font></a>');
myList.sub[0].sub[1].sub[1]        = new sub('<a href="Sevis Fee.htm" style="text-decoration: none"><font face="Verdana" size = "1"  color="461d6c"  >Sevis Fee</font></a>');
myList.sub[0].sub[1].sub[2]        = new sub('<a href="visas.htm" style="text-decoration: none"><font face="Verdana" size = "1"  color="461d6c"  >Visas</font></a>');
myList.sub[0].sub[1].sub[3]        = new sub('<a href="transfer ins.htm" style="text-decoration: none"><font face="Verdana" size = "1"  color="461d6c"  >Students Transferring from Other<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;US Schools</font></a>');  
myList.sub[0].sub[2]               = new sub('<font face="Verdana" size = "1"  color="461d6c"  color="461d6c" ><i><u>Preparation for and travel to LSU</u></i></font></a>');
myList.sub[0].sub[2].sub[0]        = new sub('<a href="pdfs/Welcome_Brochure.pdf" style="text-decoration: none"><font face="Verdana" size = "1"  color="461d6c"  >Welcome Brochure</font></a>'                    );
myList.sub[0].sub[2].sub[1]        = new sub('<a href="before departure.htm" style="text-decoration: none"><font face="Verdana" size = "1"  color="461d6c"  >Before Departure</font></a>'                    );
myList.sub[0].sub[2].sub[2]        = new sub('<a href="during travel.htm" style="text-decoration: none"><font face="Verdana" size = "1"  color="461d6c"  color="461d6c" >During Travel to US</font></a>'                    );
myList.sub[0].sub[2].sub[3]        = new sub('<a href="arrival.htm" style="text-decoration: none"><font face="Verdana" size = "1"  color="461d6c"  >Arrival</font></a>');
myList.sub[0].sub[2].sub[4]        = new sub('<a href="orientation dates.htm" style="text-decoration: none"><font face="Verdana" size = "1"  color="461d6c"  >Orientation</font></a>');
myList.sub[0].sub[2].sub[5]        = new sub('<a href="ISSC Service Charge.htm" style="text-decoration: none"><font face="Verdana" size = "1"  color="461d6c"  >ISSC Service Charge</font></a>');
myList.sub[0].sub[2].sub[6]        = new sub('<a href="http://www.lsu.edu/icc" style="text-decoration: none"><font face="Verdana" size = "1"  color="461d6c"  >International Cultural Center</font></a>');
myList.sub[0].sub[3]               = new sub('<a href="http://www.oip.lsu.edu/iso/prospective_FAQs.htm" style="text-decoration: none"><font face="Verdana" size = "1"  color="461d6c"  color="461d6c" >Frequently Asked Questions</font></a>',true)
myList.sub[0].sub[4]               = new sub('<a href="info for departments.htm" style="text-decoration: none"><font face="Verdana" size = "1"  color="461d6c"  color="461d6c" >Information for Admitting Departments</font></a>', true);
myList.sub[1]                      = new sub('<font face="Verdana" size = "1"  color="461d6c"  color="461d6c" ><b>Current Students</b></font>',true);
myList.sub[1].sub[0]               = new sub('<font face="Verdana" size = "1"  color="461d6c"  color="461d6c" ><u><i>F-1 Students</u></i></font>');
myList.sub[1].sub[0].sub[0]        = new sub('<a href="Maintaining_F-1_Status.htm" style="text-decoration: none"><font face="Verdana" size = "1"  color="461d6c" >Maintaining F-1 Status</font></a>');
myList.sub[1].sub[0].sub[1]        = new sub('<a href="Sevis fee payment.htm" style="text-decoration: none"><font face="Verdana" size = "1"  color="461d6c" >Sevis Fee Payment Information</font></a>');
myList.sub[1].sub[0].sub[2]        = new sub('<a href="ISSC Service Charge.htm" style="text-decoration: none"><font face="Verdana" size = "1"  color="461d6c" >ISSC Service Charge</font></a>');
myList.sub[1].sub[0].sub[3]        = new sub('<a href="NSEERS.htm"  style="text-decoration: none"><font face="Verdana" size = "1"  color="461d6c" >NSEERS</font></a>');
myList.sub[1].sub[0].sub[4]        = new sub('<a href="status_change.htm"  style="text-decoration: none"><font face="Verdana" size = "1"  color="461d6c" >Change of Status</font></a>');   
myList.sub[1].sub[1]               = new sub('<a href="J-1.htm" style="text-decoration: none"><font face="Verdana" size = "1"  color="461d6c" >J-1 Students</font></a>');  
myList.sub[1].sub[2]               = new sub('<a href="visas for continuing students.htm" style="text-decoration: none"><font face="Verdana" size = "1"  color="461d6c" >Visas</font></a>'); 
myList.sub[1].sub[3]               = new sub('<a href="passport.htm" style="text-decoration: none"><font face="Verdana" size = "1"  color="461d6c"  color="461d6c">Passport</font></a>'); 
myList.sub[1].sub[4]               = new sub('<a href="travel.htm" style="text-decoration: none"><font face="Verdana" size = "1"  color="461d6c" >Travel</font></a>');
myList.sub[1].sub[5]               = new sub('<a href="I94 arrival departure card-document.htm" style="text-decoration: none"><font face="Verdana" size = "1"  color="461d6c"  color="461d6c">I-94 Arrival Departure Document/Card</font></a>');
myList.sub[1].sub[6]               = new sub('<a href="insurance info.htm" style="text-decoration: none"><font face="Verdana" size = "1"  color="461d6c" >Insurance Information</font></a>');
myList.sub[1].sub[7]               = new sub('<a href="scholarships%20info.htm" style="text-decoration: none"><font face="Verdana" size = "1"  color="461d6c" >Scholarship Information</font></a>');
myList.sub[1].sub[8]               = new sub('<font face="Verdana" size = "1"  color="461d6c"  color="461d6c"><u><i>Student Employment</u></i></font>');
myList.sub[1].sub[8].sub[0]        = new sub('<a href="work permits.htm" style="text-decoration: none"><font face="Verdana" size = "1"  color="461d6c" >On Campus Employment</font></a>' );
myList.sub[1].sub[8].sub[1]        = new sub('<a href="off campus employment.htm" style="text-decoration: none"><font face="Verdana" size = "1"  color="461d6c" >Off Campus Employment</font></a>' );
myList.sub[1].sub[8].sub[2]        = new sub('<a href="social security.htm" style="text-decoration: none"><font face="Verdana" size = "1"  color="461d6c"  color="461d6c">Social Security</font></a>' );
myList.sub[1].sub[8].sub[3]        = new sub('<a href="pdfs/Hiring Intl Students Brochure.pdf" style="text-decoration: none"><font face="Verdana" size = "1"  color="461d6c" >Employers Guide to Hiring <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; International Students</font></a>' );
myList.sub[1].sub[9]               = new sub('<a href="All ISO Forms.htm" style="text-decoration: none"><font face="Verdana" size = "1"  color="461d6c" >All IS FORMS</font></a>' );
myList.sub[1].sub[10]               = new sub('<a href="glossary.htm" style="text-decoration: none"><font face="Verdana" size = "1"  color="461d6c" >Glossary</font></a>' );
myList.sub[1].sub[11]               = new sub('<a href="iso processing times.htm" style="text-decoration: none"><font face="Verdana" size = "1"  color="461d6c"  color="461d6c">IS Processing Times</font></a>' );
myList.sub[1].sub[12]               = new sub('<a href="Stats_Main.htm" style="text-decoration: none"><font face="Verdana" size = "1"  color="461d6c" >International Student Stats</font></a>' );
myList.sub[1].sub[13]               = new sub('<a href="taxes.htm" style="text-decoration: none"><font face="Verdana" size = "1"  color="461d6c"  color="461d6c">Taxes</font></a>' );
myList.sub[2]                      = new sub('<font face="Verdana" size = "1"  color="461d6c"  color="461d6c" ><b>Faculty Staff & Departments</b></font>', true                    );
myList.sub[2].sub[0]               = new sub('<a href="permanent%20residency.htm" style="text-decoration: none"><font face="Verdana" size = "1"  color="461d6c" >Permanent Residence</font></a>' );
myList.sub[2].sub[1]               = new sub('<a href="h1b.htm" style="text-decoration: none"><font face="Verdana" size = "1"  color="461d6c" >H-1B</font></a>' );
myList.sub[2].sub[2]               = new sub('<a href="j1.htm" style="text-decoration: none"><font face="Verdana" size = "1"  color="461d6c" >J-1</font></a>' );
myList.sub[2].sub[3]               = new sub('<a href="tn.htm" style="text-decoration: none"><font face="Verdana" size = "1"  color="461d6c" >TN</font></a>' );
myList.sub[2].sub[4]               = new sub('<a href="e3.htm" style="text-decoration: none"><font face="Verdana" size = "1"  color="461d6c" >E-3</font></a>' );
myList.sub[3]                      = new sub('<font face="Verdana" size = "1"  color="461d6c"  color="461d6c" ><b>IS</b></font>', true                );
myList.sub[3].sub[0]               = new sub('<a href="welcome.htm" style="text-decoration: none"><font face="Verdana" size = "1"  color="461d6c" >Welcome</font></a>' );
myList.sub[3].sub[1]  		       = new sub('<a href="staff duties.htm" style="text-decoration: none"><font face="Verdana" size = "1"  color="461d6c"  color="461d6c">Staff Duties</font></a>' );
myList.sub[3].sub[2]               = new sub('<a href="contact iso staff.htm" style="text-decoration: none"><font face="Verdana" size = "1"  color="461d6c" >Contact IS Staff</font></a>' );
myList.sub[3].sub[3]               = new sub('<a href="mission statement.htm" style="text-decoration: none"><font face="Verdana" size = "1"  color="461d6c" >Mission Statement</font></a>' );

//then tell the


createList(myList);
document.write ('</a>');
document.write ('</div>');


