// JavaScript Documentif(navigator.userAgent.indexOf("MSIE")!= -1){	document.write('<link rel="stylesheet" type="text/css" href="tatuPC.css" />');}else if(navigator.userAgent.indexOf("Firefox")!= -1){	document.write('<link rel="stylesheet" type="text/css" href="tatu.css" />');}else{	document.write('<link rel="stylesheet" type="text/css" href="tatu.css" />');}function loadthevideo(a){	var picholder = new Array();	picholder.push('<object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/lLOR9PmZhP8&hl=en&fs=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/lLOR9PmZhP8&hl=en&fs=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"></embed></object>');	picholder.push('<object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/klGQaQibS-k&hl=en&fs=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/klGQaQibS-k&hl=en&fs=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"></embed></object>');		document.getElementById('embeddedVIDEOS').innerHTML = picholder[a];}//////////function topmenu(a){	var thespacer = '<img src="images/spacer.gif" width="35" height="1" />';	var hm ='<a href="index.htm" class="nav" target="_parent">HOME</a>';	var abt ='<a href="about.htm" class="nav" target="_parent">ABOUT US</a>';	var ev ='<a href="upcomingeventsALT3.php" class="nav" target="_parent">EVENTS</a>';	var ap ='<a href="application.htm" class="nav" target="_parent">APPLICATION</a>';	var ord ='<a href="Ordering2.htm" class="nav" target="_parent">ORDERING</a>';	var gal ='<a href="Gallery2.htm" class="nav" target="_parent">GALLERY</a>';	var lk ='<a href="links.htm" class="nav" target="_parent">LINKS</a>';	var cnt ='<a href="contact.htm" class="nav" target="_parent">CONTACT</a>';	var vido ='<a href="video.htm" class="nav" target="_parent">VIDEO</a>';	var myspace = '<a href="http://www.myspace.com/TatuYouEllenB" class="nav" target="_blank">TATU @ MYSPACE</a>';	switch(a){case "about":var abt ='<a href="about.htm" class="navON" target="_parent">ABOUT US</a>';break;case "events":var ev ='<a href="upcomingeventsALT3.php" class="navON" target="_parent">EVENTS</a>';break;case "home":var hm ='<a href="index.htm" class="navON">HOME</a>';break;case "application":var ap ='<a href="application.htm" class="navON" target="_parent">APPLICATION</a>';break;case "order":var ord ='<a href="Ordering2.htm" class="navON" target="_parent">ORDERING</a>';break;case "gallery":var gal ='<a href="Gallery2.htm" class="navON" target="_parent">GALLERY</a>';break;case "links":var lk ='<a href="links.htm" class="navON" target="_parent">LINKS</a>';break;case "contact":var cnt ='<a href="contact.htm" class="navON" target="_parent">CONTACT</a>';break;case "video":var vido ='<a href="video.htm" class="navON" target="_parent">VIDEO</a>';break;}return(hm + thespacer + vido + thespacer + cnt + thespacer + ev + thespacer + myspace + thespacer + ap + thespacer + ord + thespacer + gal + thespacer + lk + thespacer + abt);}/*/////////////////////function topmenu(a){	switch(a){case "about":var tmenu = '<a href="index.htm" class="nav">HOME</a><img src="images/spacer.gif" width="35" height="1" /><a href="video.htm" class="navON">VIDEO</a><img src="images/spacer.gif" width="35" height="1" /><a href="contact.htm" class="nav" target="_parent">CONTACT</a><img src="images/spacer.gif" width="40" height="1" /><a href="upcomingeventsALT3.php" class="nav" target="_parent">EVENTS</a><img src="images/spacer.gif" width="40" height="1" /><a href="http://www.myspace.com/TatuYouEllenB" class="nav" target="_blank">TATU @ MYSPACE</a><img src="images/spacer.gif" width="40" height="1" /><a href="application.htm" class="nav" target="_parent">APPLICATION</a><img src="images/spacer.gif" width="40" height="1" /><a href="Ordering2.htm" class="nav" target="_parent">ORDERING</a><img src="images/spacer.gif" width="40" height="1" /><a href="Gallery2.htm" class="nav" target="_parent">GALLERY</a><img src="images/spacer.gif" width="40" height="1" /><a href="links.htm" class="nav" target="_parent">LINKS</a><img src="images/spacer.gif" width="40" height="1" /><a href="about.htm" class="navON" target="_parent">ABOUT US</a>';	return(tmenu);break;case "events":var tmenu = '<a href="index.htm" class="nav">HOME</a><img src="images/spacer.gif" width="35" height="1" /><a href="video.htm" class="navON">VIDEO</a><img src="images/spacer.gif" width="35" height="1" /><a href="contact.htm" class="nav" target="_parent">CONTACT</a><img src="images/spacer.gif" width="40" height="1" /><a href="upcomingeventsALT3.php" class="navON" target="_parent">EVENTS</a><img src="images/spacer.gif" width="40" height="1" /><a href="http://www.myspace.com/TatuYouEllenB" class="nav" target="_blank">TATU @ MYSPACE</a><img src="images/spacer.gif" width="40" height="1" /><a href="application.htm" class="nav" target="_parent">APPLICATION</a><img src="images/spacer.gif" width="40" height="1" /><a href="Ordering2.htm" class="nav" target="_parent">ORDERING</a><img src="images/spacer.gif" width="40" height="1" /><a href="Gallery2.htm" class="nav" target="_parent">GALLERY</a><img src="images/spacer.gif" width="40" height="1" /><a href="links.htm" class="nav" target="_parent">LINKS</a><img src="images/spacer.gif" width="40" height="1" /><a href="about.htm" class="nav" target="_parent">ABOUT US</a>';	return(tmenu);break;case "home":var tmenu = '<a href="index.htm" class="navON">HOME</a><img src="images/spacer.gif" width="35" height="1" /><a href="video.htm" class="navON">VIDEO</a><img src="images/spacer.gif" width="35" height="1" /><a href="contact.htm" class="nav" target="_parent">CONTACT</a><img src="images/spacer.gif" width="35" height="1" /><a href="upcomingeventsALT3.php" class="nav" target="_parent">EVENTS</a><img src="images/spacer.gif" width="35" height="1" /><a href="http://www.myspace.com/TatuYouEllenB" class="nav" target="_blank">TATU @ MYSPACE</a><img src="images/spacer.gif" width="35" height="1" /><a href="application.htm" class="nav" target="_parent">APPLICATION</a><img src="images/spacer.gif" width="35" height="1" /><a href="Ordering2.htm" class="nav" target="_parent">ORDERING</a><img src="images/spacer.gif" width="35" height="1" /><a href="Gallery2.htm" class="nav" target="_parent">GALLERY</a><img src="images/spacer.gif" width="35" height="1" /><a href="links.htm" class="nav" target="_parent">LINKS</a><img src="images/spacer.gif" width="35" height="1" /><a href="about.htm" class="nav" target="_parent">ABOUT US</a>';	return(tmenu);break;case "application":var tmenu = '<a href="index.htm" class="nav">HOME</a><img src="images/spacer.gif" width="35" height="1" /><a href="video.htm" class="navON">VIDEO</a><img src="images/spacer.gif" width="35" height="1" /><a href="contact.htm" class="nav" target="_parent">CONTACT</a><img src="images/spacer.gif" width="40" height="1" /><a href="upcomingeventsALT3.php" class="nav" target="_parent">EVENTS</a><img src="images/spacer.gif" width="40" height="1" /><a href="http://www.myspace.com/TatuYouEllenB" class="nav" target="_blank">TATU @ MYSPACE</a><img src="images/spacer.gif" width="40" height="1" /><a href="application.htm" class="navON" target="_parent">APPLICATION</a><img src="images/spacer.gif" width="40" height="1" /><a href="Ordering2.htm" class="nav" target="_parent">ORDERING</a><img src="images/spacer.gif" width="40" height="1" /><a href="Gallery2.htm" class="nav" target="_parent">GALLERY</a><img src="images/spacer.gif" width="40" height="1" /><a href="links.htm" class="nav" target="_parent">LINKS</a><img src="images/spacer.gif" width="40" height="1" /><a href="about.htm" class="nav" target="_parent">ABOUT US</a>';	return(tmenu);break;case "order":var tmenu = '<a href="index.htm" class="nav">HOME</a><img src="images/spacer.gif" width="35" height="1" /><a href="video.htm" class="navON">VIDEO</a><img src="images/spacer.gif" width="35" height="1" /><a href="contact.htm" class="nav" target="_parent">CONTACT</a><img src="images/spacer.gif" width="40" height="1" /><a href="upcomingeventsALT3.php" class="nav" target="_parent">EVENTS</a><img src="images/spacer.gif" width="40" height="1" /><a href="http://www.myspace.com/TatuYouEllenB" class="nav" target="_blank">TATU @ MYSPACE</a><img src="images/spacer.gif" width="40" height="1" /><a href="application.htm" class="nav" target="_parent">APPLICATION</a><img src="images/spacer.gif" width="40" height="1" /><a href="Ordering2.htm" class="navON" target="_parent">ORDERING</a><img src="images/spacer.gif" width="40" height="1" /><a href="Gallery2.htm" class="nav" target="_parent">GALLERY</a><img src="images/spacer.gif" width="40" height="1" /><a href="links.htm" class="nav" target="_parent">LINKS</a><img src="images/spacer.gif" width="40" height="1" /><a href="about.htm" class="nav" target="_parent">ABOUT US</a>';	return(tmenu);break;case "gallery":var tmenu = '<a href="index.htm" class="nav">HOME</a><img src="images/spacer.gif" width="35" height="1" /><a href="video.htm" class="navON">VIDEO</a><img src="images/spacer.gif" width="35" height="1" /><a href="contact.htm" class="nav" target="_parent">CONTACT</a><img src="images/spacer.gif" width="40" height="1" /><a href="upcomingeventsALT3.php" class="nav" target="_parent">EVENTS</a><img src="images/spacer.gif" width="40" height="1" /><a href="http://www.myspace.com/TatuYouEllenB" class="nav" target="_blank">TATU @ MYSPACE</a><img src="images/spacer.gif" width="40" height="1" /><a href="application.htm" class="nav" target="_parent">APPLICATION</a><img src="images/spacer.gif" width="40" height="1" /><a href="Ordering2.htm" class="nav" target="_parent">ORDERING</a><img src="images/spacer.gif" width="40" height="1" /><a href="Gallery2.htm" class="navON" target="_parent">GALLERY</a><img src="images/spacer.gif" width="40" height="1" /><a href="links.htm" class="nav" target="_parent">LINKS</a><img src="images/spacer.gif" width="40" height="1" /><a href="about.htm" class="nav" target="_parent">ABOUT US</a>';	return(tmenu);break;case "links":var tmenu = '<a href="index.htm" class="nav">HOME</a><img src="images/spacer.gif" width="35" height="1" /><a href="video.htm" class="navON">VIDEO</a><img src="images/spacer.gif" width="35" height="1" /><a href="contact.htm" class="nav" target="_parent">CONTACT</a><img src="images/spacer.gif" width="40" height="1" /><a href="upcomingeventsALT3.php" class="nav" target="_parent">EVENTS</a><img src="images/spacer.gif" width="40" height="1" /><a href="http://www.myspace.com/TatuYouEllenB" class="nav" target="_blank">TATU @ MYSPACE</a><img src="images/spacer.gif" width="40" height="1" /><a href="application.htm" class="nav" target="_parent">APPLICATION</a><img src="images/spacer.gif" width="40" height="1" /><a href="Ordering2.htm" class="nav" target="_parent">ORDERING</a><img src="images/spacer.gif" width="40" height="1" /><a href="Gallery2.htm" class="nav" target="_parent">GALLERY</a><img src="images/spacer.gif" width="40" height="1" /><a href="links.htm" class="navON" target="_parent">LINKS</a><img src="images/spacer.gif" width="40" height="1" /><a href="about.htm" class="nav" target="_parent">ABOUT US</a>';	return(tmenu);break;case "contact":var tmenu = '<a href="index.htm" class="nav">HOME</a><img src="images/spacer.gif" width="40" height="1" /><a href="contact.htm" class="navON">CONTACT</a><img src="images/spacer.gif" width="40" height="1" /><a href="upcomingeventsALT3.php" class="nav" target="_parent">EVENTS</a><img src="images/spacer.gif" width="40" height="1" /><a href="http://www.myspace.com/TatuYouEllenB" class="nav" target="_blank">TATU @ MYSPACE</a><img src="images/spacer.gif" width="40" height="1" /><a href="application.htm" class="nav" target="_parent">APPLICATION</a><img src="images/spacer.gif" width="40" height="1" /><a href="Ordering2.htm" class="nav" target="_parent">ORDERING</a><img src="images/spacer.gif" width="40" height="1" /><a href="Gallery2.htm" class="nav" target="_parent">GALLERY</a><img src="images/spacer.gif" width="40" height="1" /><a href="links.htm" class="nav" target="_parent">LINKS</a><img src="images/spacer.gif" width="40" height="1" /><a href="about.htm" class="nav" target="_parent">ABOUT US</a>';	return(tmenu);break;case "video":var tmenu = '<a href="index.htm" class="nav">HOME</a><img src="images/spacer.gif" width="35" height="1" /><a href="video.htm" class="navON">VIDEO</a><img src="images/spacer.gif" width="35" height="1" /><a href="contact.htm" class="navON">CONTACT</a><img src="images/spacer.gif" width="35" height="1" /><a href="upcomingeventsALT3.php" class="nav" target="_parent">EVENTS</a><img src="images/spacer.gif" width="35" height="1" /><a href="http://www.myspace.com/TatuYouEllenB" class="nav" target="_blank">TATU @ MYSPACE</a><img src="images/spacer.gif" width="35" height="1" /><a href="application.htm" class="nav" target="_parent">APPLICATION</a><img src="images/spacer.gif" width="35" height="1" /><a href="Ordering2.htm" class="nav" target="_parent">ORDERING</a><img src="images/spacer.gif" width="35" height="1" /><a href="Gallery2.htm" class="nav" target="_parent">GALLERY</a><img src="images/spacer.gif" width="35" height="1" /><a href="links.htm" class="nav" target="_parent">LINKS</a><img src="images/spacer.gif" width="35" height="1" /><a href="about.htm" class="nav" target="_parent">ABOUT US</a>';	return(tmenu);break;default: var tmenu = '<a href="index.htm" class="nav">HOME</a><img src="images/spacer.gif" width="40" height="1" /><a href="contact.htm" class="nav">CONTACT</a><img src="images/spacer.gif" width="40" height="1" /><a href="upcomingeventsALT3.php" class="nav" target="_parent">EVENTS</a><img src="images/spacer.gif" width="40" height="1" /><a href="http://www.myspace.com/TatuYouEllenB" class="nav" target="_blank">TATU @ MYSPACE</a><img src="images/spacer.gif" width="40" height="1" /><a href="application.htm" class="nav" target="_parent">APPLICATION</a><img src="images/spacer.gif" width="40" height="1" /><a href="Ordering2.htm" class="nav" target="_parent">ORDERING</a><img src="images/spacer.gif" width="40" height="1" /><a href="Gallery2.htm" class="nav" target="_parent">GALLERY</a><img src="images/spacer.gif" width="40" height="1" /><a href="links.htm" class="nav" target="_parent">LINKS</a><img src="images/spacer.gif" width="40" height="1" /><a href="about.htm" class="nav" target="_parent">ABOUT US</a>';	return(tmenu);}}*/function bottommenu(b){		switch(b){case "links":	var bmenu = '<img src="images/spacer.gif" width="50" height="2" /><a href="index.htm" class="navbtm" target="_parent">HOME</a> <img src="images/spacer.gif" width="30" height="2" /><a href="Ordering2.htm" class="navbtm" target="_parent">ORDERING</a><img src="images/spacer.gif" width="30" height="2" /><a href="Gallery2.htm" class="navbtm" target="_parent">GALLERY</a><img src="images/spacer.gif" width="30" height="2" /><a href="links.htm" class="navbtmON">LINKS</a><img src="images/spacer.gif" width="30" height="2" /><a href="about.htm" class="navbtm" target="_parent">ABOUT US</a><img src="images/spacer.gif" width="150" height="2" /><a href="contact.htm" class="navbtmBLK">CONTACT US</a><img src="images/spacer.gif" width="50" height="2" />';	return(bmenu);	break;	case "home":	var bmenu = '<img src="images/spacer.gif" width="50" height="2" /><a href="index.htm" class="navbtmON">HOME</a> <img src="images/spacer.gif" width="30" height="2" /><a href="Ordering2.htm" class="navbtm" target="_parent">ORDERING</a><img src="images/spacer.gif" width="30" height="2" /><a href="Gallery2.htm" class="navbtm" target="_parent">GALLERY</a><img src="images/spacer.gif" width="30" height="2" /><a href="links.htm" class="navbtm" target="_parent">LINKS</a><img src="images/spacer.gif" width="30" height="2" /><a href="about.htm" class="navbtm" target="_parent">ABOUT US</a><img src="images/spacer.gif" width="150" height="2" /><a href="contact.htm" class="navbtmBLK">CONTACT US</a><img src="images/spacer.gif" width="50" height="2" />';	return(bmenu);	break;	case "order":	var bmenu = '<img src="images/spacer.gif" width="50" height="2" /><a href="index.htm" class="navbtm" target="_parent">HOME</a><img src="images/spacer.gif" width="30" height="2" /> <a href="index.htm" class="navbtmON">ORDERING</a><img src="images/spacer.gif" width="30" height="2" /><a href="Gallery2.htm" class="navbtm" target="_parent">GALLERY</a><img src="images/spacer.gif" width="30" height="2" /><a href="links.htm" class="navbtm" target="_parent">LINKS</a><img src="images/spacer.gif" width="30" height="2" /><a href="about.htm" class="navbtm" target="_parent">ABOUT US</a><img src="images/spacer.gif" width="150" height="2" /><a href="contact.htm" class="navbtmBLK">CONTACT US</a><img src="images/spacer.gif" width="50" height="2" />';	return(bmenu);	break;	case "gallery":	var bmenu = '<img src="images/spacer.gif" width="50" height="2" /><a href="index.htm" class="navbtm" target="_parent">HOME</a><img src="images/spacer.gif" width="30" height="2" /> <a href="Ordering2.htm" class="navbtm" target="_parent">ORDERING</a><img src="images/spacer.gif" width="30" height="2" /><a href="Gallery2.htm" class="navbtmON">GALLERY</a><img src="images/spacer.gif" width="30" height="2" /><a href="links.htm" class="navbtm" target="_parent">LINKS</a><img src="images/spacer.gif" width="30" height="2" /><a href="about.htm" class="navbtm" target="_parent">ABOUT US</a><img src="images/spacer.gif" width="150" height="2" /><a href="contact.htm" class="navbtmBLK">CONTACT US</a><img src="images/spacer.gif" width="50" height="2" />';	return(bmenu);	break;	case "about":	var bmenu = '<img src="images/spacer.gif" width="50" height="2" /><a href="index.htm" class="navbtm" target="_parent">HOME</a> <img src="images/spacer.gif" width="30" height="2" /><a href="Ordering2.htm" class="navbtm" target="_parent">ORDERING</a><img src="images/spacer.gif" width="30" height="2" /><a href="Gallery2.htm" class="navbtm" target="_parent">GALLERY</a><img src="images/spacer.gif" width="30" height="2" /><a href="links.htm" class="navbtm" target="_parent">LINKS</a><img src="images/spacer.gif" width="30" height="2" /><a href="about.htm" class="navbtmON">ABOUT US</a><img src="images/spacer.gif" width="150" height="2" /><a href="contact.htm" class="navbtmBLK">CONTACT US</a><img src="images/spacer.gif" width="50" height="2" />';	return(bmenu);	break;	default: var bmenu = '<img src="images/spacer.gif" width="50" height="2" /><a href="index.htm" class="navbtm" target="_parent">HOME</a><img src="images/spacer.gif" width="30" height="2" /> <a href="Ordering2.htm" class="navbtm" target="_parent">ORDERING</a><img src="images/spacer.gif" width="30" height="2" /><a href="Gallery2.htm" class="navbtm" target="_parent">GALLERY</a><img src="images/spacer.gif" width="30" height="2" /><a href="links.htm" class="navbtm" target="_parent">LINKS</a><img src="images/spacer.gif" width="30" height="2" /><a href="about.htm" class="navbtm" target="_parent">ABOUT US</a><img src="images/spacer.gif" width="150" height="2" /><a href="contact.htm" class="navbtmBLK">CONTACT US</a><img src="images/spacer.gif" width="50" height="2" />';	return(bmenu);		}}//////upcoming events menufunction nowyouseeit(a){	document.getElementById(a).style.visibility = 'visible';}	//////END upcoming events menu/////photo gallery thingfunction gallerythumbs(){	var thumbsup ='<table cellpadding="5" cellspcing="5" border="1"><tr><td align="center"><img src="images/photoshopimages/thumbnails/DSC_4896_Tatoos.jpg" /></a></td><td align="center"><a href="#"><img src="images/photoshopimages/thumbnails/tat3.jpg" /></td><td align="center"><img src="images/photoshopimages/thumbnails/MarcosTatoos01.jpg" /></td><td align="center"><img src="images/photoshopimages/thumbnails/SonnyTatoos01.jpg" /></td><td align="center"><img src="images/photoshopimages/thumbnails/MarcosTatoos03.jpg" /></td><td align="center"><img src="images/photoshopimages/thumbnails/mehndi_tatoos.jpg" /></td><td align="center"><img src="images/photoshopimages/thumbnails/SonnyTatoss04__.jpg" /></td><td align="center"><img src="images/photoshopimages/thumbnails/SonnyTattoo06.jpg" /></td><td align="center"><img src="images/photoshopimages/thumbnails/tatoo.jpg" /></td><td align="center"><img src="images/photoshopimages/thumbnails/Tatoos.jpg" /></td><td align="center"><img src="images/photoshopimages/thumbnails/DSC_4896_Tatoos.jpg" /></td><td align="center"><img src="images/photoshopimages/thumbnails/wuvtatoo04.jpg" /></td><td align="center"><img src="images/photoshopimages/thumbnails/WuvTatoos01.jpg" /></td><td align="center"><img src="images/photoshopimages/thumbnails/WuvTatoos02__.jpg" /></td><td align="center"><img src="images/photoshopimages/thumbnails/DSC_4896_Tatoos.jpg" /></td></tr></table>';	return(thumbsup);}function changebigpicture(g){	document.getElementById("galleryBIGpics").style.backgroundImage = "url("+g+")";}function gallerythumbs2(a){var bigandsmallpics = a.split("BREAKHERE");var smallpictures = bigandsmallpics[0].split(",");var bigpictures = bigandsmallpics[1].split(",");var builduptable = '<table cellpadding="2" cellspacing="10" border="0"><tr>';var allpics="";var allpics2="";var rowcounter =0;for(i=0; i<smallpictures.length; i++){		if(rowcounter<3){	allpics = '<td align="center"><a href="#" onClick="changebigpicture(';		  allpics +="'"+bigpictures[i]+"');";allpics +='"><img src="'+smallpictures[i]+'"/></a></td>';allpics2+=allpics;rowcounter++;	}else{	allpics = '<td align="center"><a href="#" onClick="changebigpicture(';		  allpics +="'"+bigpictures[i]+"');";allpics +='"><img src="'+smallpictures[i]+'"/></a></td></tr><tr>';rowcounter=0;allpics2+=allpics;}}var newtable=builduptable+allpics2+'</tr></table>';changebigpicture(bigpictures[0]);return (newtable);}//////////maybe need this<EVtitle>Title of event goes here (i.e. Body Art Expo)</EVtitle><EVlink>Link goes here</EVlink><EVvenune>Venue goes here if there is one. (i.e. O'Hare Expo Center)</EVvenue><EVbooth>Name of booth here</EVbooth><EVdates>Dates (i.e. Jan 21-28th) goes here</EVdates><EVcityState>City and state (i.e. Chicago, Il)</EVcityState>////////////////////////////////////////////////////////////////-------------FUNCTIONS FOR THE UPDATE PAGE-----------///////////////////////////////////////////This one goes through and gets the ACTUAL stuff that's currently entered into the text boxes to update the fluzx arrayfunction updatefluxarray(){for(qr=0; qr<flux_Array.length; qr++){flux_Array[qr].title = document.getElementById('title'+qr).value;flux_Array[qr].link = document.getElementById('link'+qr).value;flux_Array[qr].venue =document.getElementById('venue'+qr).value;flux_Array[qr].booth = document.getElementById('booth'+qr).value;flux_Array[qr].dates = document.getElementById('dates'+qr).value;flux_Array[qr].citystate =document.getElementById('citystate'+qr).value;}}function printit(){	var temparray = new Array();	var toppart = '<table width="750" cellpadding="5" cellspacing="5" border="0"><tr><td align="center" colspan="3"><span class="largeheader">UPCOMING EVENTS UPDATER </span>  <a href="#" onclick="addone();"> Add Event</a><br />Added events appear at the bottom of the list.  you can reorder them from there.</td></tr>';		temparray.push(toppart);			for(io=0; io<flux_Array.length; io++){				var nutemplink = flux_Array[io].link;		var nunum = io+1;			var nuev0 ='<tr><td bgcolor="#eeeeee">EVENT'+nunum+'- | -<a href="#" onclick="del('+nunum+');">click to delete</a>- | -reorder<input type="text" size="4" name="order'+io+'" onblur="reord(this.value,'+io+')"><br /></td></tr><tr><td>EVENT TITLE: <input type="text" size="70" name="title'+io+'" value="'+flux_Array[io].title+'"><br /> LINK: <input type="text" size="70" name="link'+io+'" value="'+nutemplink+'"><br />VENUE: <input type="text" size="50" name="venue'+io+'" value="'+flux_Array[io].venue+'"><br />BOOTH: <input type="text" size="30" name="booth'+io+'" value="'+flux_Array[io].booth+'"><br />DATES: <input type="text" size="40" name="dates'+io+'" value="'+flux_Array[io].dates+'"><br />CITY AND STATE: <input type="text" size="30" name="citystate'+io+'" value="'+flux_Array[io].citystate+'"></td></tr><tr><td bgcolor="#ffffff"><br /><br /><br /></td></tr>';			temparray.push(nuev0);	}		var endingpart = '<tr><td>Enter password<input type="password" name="pwrd" size="12"><input type="submit" value="submit to test page"><input type="reset" value="reset"></td></tr></table></form>';	temparray.push(endingpart);		var nusection = temparray.join("");   document.getElementById('updater').innerHTML = nusection;}			///////this function is for the delete feature on the event updater page on the back endfunction del(a){	var realnum = a-1;	var yn = confirm("You want to delete EVENT titled \" "+flux_Array[realnum].title+"\" ?");	if(yn == true){		var n = a-1;		flux_Array.splice(n,1)		printit();		updatefluxarray();				alert(a+" has been deleted");	}else{		alert("delete cancelled");	}}//////reorder funcionfunction reord(putit,takeitfrom){		for(cc=0; cc<flux_Array.length; cc++){flux_Array[cc].title = document.updates['title'+cc].value;flux_Array[cc].link = document.updates['link'+cc].value;flux_Array[cc].venue =document.updates['venue'+cc].value;flux_Array[cc].booth = document.updates['booth'+cc].value;flux_Array[cc].dates = document.updates['dates'+cc].value;flux_Array[cc].citystate =document.updates['citystate'+cc].value;		}	var nuput = putit-1;	var vb2 =new Array();	vb2 = flux_Array.splice(takeitfrom,1);flux_Array.splice(nuput,0,vb2[0]);vb2.length=0;printit();updatefluxarray();}//////add one to the flux_arrayfunction addone(){	for(dd=0; dd<flux_Array.length; dd++){flux_Array[dd].title = document.updates['title'+dd].value;flux_Array[dd].link = document.updates['link'+dd].value;flux_Array[dd].venue =document.updates['venue'+dd].value;flux_Array[dd].booth = document.updates['booth'+dd].value;flux_Array[dd].dates = document.updates['dates'+dd].value;flux_Array[dd].citystate =document.updates['citystate'+dd].value;		}	var nuvent = new Object;nuvent.title = "Event Title";nuvent.link = "Event Link";nuvent.venue ="Event Venue";nuvent.booth = "Event booth name";nuvent.dates = "Event Dates";nuvent.citystate ="City, State";	flux_Array.push(nuvent);		printit();updatefluxarray();	}function rpw(){	var stateofPW = false;	if(document.updates.pwrd.value == "tat003"){		stateofPW = true;	}else{		alert("that was not the right password...try again");	}	return stateofPW;}