var faq_que = new Array()
var faq_ans = new Array()
faq_que[1] = ('<div class="question">What is my stash?</div>')
faq_ans[1] = ('<div class="answer">Your stash is the total collection of all the movies, pictures, and songs you have added to your account.  You can stash movie files, picture files, and song files.  Specifically:<ul>')
faq_ans[1] += ('<li>Movie files: .avi, .mov, .wmv (note: movies imported from a camcorder are stored as .wmv files)</li>')
faq_ans[1] += ('<li>Picture files: .jpg</li>')
faq_ans[1] += ('<li>Song files: .mp3, .wma</li></ul></div>')

faq_que[2] = ('<div class="question">Where is my stash?</div>')
faq_ans[2] = ('<div class="answer">The actual location of your stash files depends on whether or not you have shared or bought a DVD.  Specifically:<ul>')
faq_ans[2] += ('<li>When you initially add content to your stash (via the various “add” buttons on the main menu), all files still reside on your local computer.  None of your files have uploaded to our servers.</li>')
faq_ans[2] += ('<li>When you share a movie or picture album with somebody (via the “share” button on the main menu), the files associated with that movie or picture album are uploaded to our servers so that others can view them thru the internet.  Once the files are uploaded an email is sent to the people you shared with so they can view the movie or picture album.</li>')
faq_ans[2] += ('<li>When you purchase a DVD the files needed for that DVD are uploaded to our servers so that we can create your DVD and ship it back to you.</li></ul></div>')

faq_que[3] = ('<div class="question">Who sees my stash?</div>')
faq_ans[3] = ('<div class="answer">Only you and the people you share with can view your movies and picture albums.  We do not provide access to your content to anybody except thru the process of sharing.</div>')

faq_que[4] = ('<div class="question">What is sharing?</div>')
faq_ans[4] = ('<div class="answer">"Sharing" is the process you go through to allow people to view your movies and picture albums.  When you share content with somebody we upload your files to our servers and then send an email to that person.  That person can then follow a link from the email that will play the movie or album you shared with them.  It is important to note that nobody will see your movies, picture albums, or the messages for those items until you share it with them.</div>')

faq_que[5] = ('<div class="question">How do I add new video to my movie?</div>')
faq_ans[5] = ('<div class="answer">To add new video to your movie you must click either the "add video from - videocam" button or the "add video from - files" button on the main icon bar. Once you click one of these buttons you will be taken thru a process to add new video to your movie. Each new file you add will become a new scene on your movie.</div>')

faq_que[6] = ('<div class="question">How do I edit a scene?</div>')
faq_ans[6] = ('<div class="answer">Once you have created a scene by adding video to your movie, you will want to edit that scene. Editing a scene gives you the ability to adjust several aspects of the scene including the start and end times, the title of the scene, and the thumbnail image for that scene.')
faq_ans[6] += ('To edit you scene, perform the following steps:<ol>')
faq_ans[6] += ('<li>Move your mouse over the scene you wish to edit and click the <img src="/images/ele-support-faq-magglass.gif" border="0"> button.</li>')
faq_ans[6] += ('<li>Type in a name or title for this scene above the image from your movie.</li>')
faq_ans[6] += ('<li>Move the scene start marker <img src="/images/ele-support-faq-scenestart.gif" border="0"> and scene end marker <img src="/images/ele-support-faq-sceneend.gif" border="0"> along the top timeline to the times you choose to begin and end this scene</li>')
faq_ans[6] += ('<li>Move the scene thumbnail marker <img src="/images/ele-support-faq-thumbmark.gif" border="0"> along the lower timeline to choose a thumbnail image to represent this scene.</li>')
faq_ans[6] += ('<li>Click the <img src="/images/ele-support-faq-setthumb.gif" border="0"> button.</li>')
faq_ans[6] += ('<li>When you are happy with the start and end times and the scene thumbnail image, click the <img src="/images/ele-support-faq-donebtn.gif" border="0"> button.</li></ol></div>')

faq_que[7] = ('<div class="question">How do I cut my video into many scenes?</div>')
faq_ans[7] = ('<div class="answer">Once you have added video to your movie, you will probably want to cut it into multiple scenes so you can remove unwanted footage and arrange the scenes in whatever order makes the most sense.')
faq_ans[7] += ('To cut an existing scene into multiple scenes follow these steps:<ol>')
faq_ans[7] += ('<li>First, edit your initial scene so it will only show the video you want to see in the first scene of your movie. See the "How do I edit a scene" item above.</li>')
faq_ans[7] += ('<li>Now that you have edited your first scene, move your mouse over that scene and click the <img src="/images/ele-support-faq-plussign.gif" border="0"> icon. This will automatically create a new scene that starts where your previous scene ended, and brings up the scene edit bubble.</li>')
faq_ans[7] += ('<li>Now simply edit this scene like any other and click the <img src="/images/ele-support-faq-donebtn.gif" border="0"> button. You will now have your second scene.</li></ol></div>')

faq_que[8] = ('<div class="question">How do I copy a scene from another movie?</div>')
faq_ans[8] = ('<div class="answer">First you want to select a destination movie to where the scenes will be copied.  If you want to copy them to a new movie, click the "+new" button next to "movies" above your list.<ol>')
faq_ans[8] += ('<li>Make sure that destination movie is active or current by clicking on its name in the movie list at the right.  When active, the name of the movie will be underlined.</li>') 
faq_ans[8] += ('<li>Click on the small <img src="/images/ele-support-faq-magglass.gif" border="0"> icon that is next to the movie from which you want to copy a scene.  This will load all the scenes in that movie into a scene selection bubble.</li>')
faq_ans[8] += ('<li>Click on the scene you wish to add to your current movie.</li>')
faq_ans[8] += ('<li>Repeat steps 2 and 3 for each scene that you want to copy to your current movie.</li></ol></div>')

faq_que[9] = ('<div class="question">How do I share a movie or pic album with friends and family?</div>')
faq_ans[9] = ('<div class="answer"><ol><li>Select the movie or picture album you wish to share.</li>')
faq_ans[9] += ('<li>Click on the "+new" button in the "people" list at the bottom right.  This will bring up the people edit bubble.</li>')
faq_ans[9] += ('<li>Enter a name and valid email address, and click the "ok" button.  The new person will be added to your people list.</li>')
faq_ans[9] += ('<li>Click the <img src="/images/ele-support-faq-sharecir.gif" border="0"> icon next to the person.  It will change to a check mark.</li>')
faq_ans[9] += ('<li>Click the <img src="/images/ele-support-faq-shareicon.gif" border="0"> button on the main icon bar to start the sharing process.  In this process your movie or picture album will be formatted for sharing and then uploaded to our servers.</li>')
faq_ans[9] += ('<li>Once the sharing process is complete, emails will be sent to all new persons checked in your people list.</li></ol>')
faq_ans[9] += ('<p style="margin-top:10px">Note: If you have already shared the movie or picture album in the past, the sharing process will detect that no new files need to be uploaded to our servers and it will only send out emails to new people added to your list.</div>')

faq_que[10] = ('<div class="question">What happens when I order a DVD?</div>')
faq_ans[10] = ('<div class="answer">To order a DVD you must perform several steps:<ol>')
faq_ans[10] += ('<li>Select the movie you wish to order from the movie list at the right.</li>')
faq_ans[10] += ('<li>Click on the <img src="/images/ele-support-faq-buydvd.gif" border="0"> buy button to start the order process.  Choose the number of copies that you want.</li>')
faq_ans[10] += ('<li>Click on the <img src="/images/ele-support-faq-checkout.gif" border="0"> button to bring up the DVD order page, enter your payment and shipping options.</li>')
faq_ans[10] += ('<li>Click the <img src="/images/ele-support-faq-submit.gif" border="0"> button.</li>')
faq_ans[10] += ('<li>At this point we will begin the DVD stashing process.  This process can be time consuming depending on the size of your movie.  There are 2 main steps involved:<ol>')
faq_ans[10] += ('<li type="a">First, your movie is transformed into DVD format.  The exact details of this depend on what kind of video is involved.  For instance, AVI files require a different kind of process than MOV files.</li>')
faq_ans[10] += ('<li type="a">Then your movie is uploaded to our servers.</li>')
faq_ans[10] += ('<li type="a">Finally, once your files are completely uploaded to our servers, we will begin the process of burning your DVDs and shipping them to you.</li></ol></li></ol></div>')

faq_que[11] = ('<div class="question">How do I add video from my mobile phone?</div>')
faq_ans[11] = ('<div class="answer">In addition to adding mobile phone video files directly from your computer you can add them via e-mail.<br>')
faq_ans[11] += ('<br>Once you have a mobile number associated with your account* you can')
faq_ans[11] += (' e-mail video from that mobile device to mystash@stashSpace.com and the video will be added to your mobile video list.  ')
faq_ans[11] += ('To add the video as a scene to a movie click \'mobile\' from the add scene bubble and select the file from the list provied.')
faq_ans[11] += ('<br><br>')
faq_ans[11] += ('*If you do not have a mobile number associated with your account you will be prompted to enter one when you click \'mobile\' ')
faq_ans[11] += ('from the add scene bubble.')

function start_faq(num)
{
document.getElementById('question'+num).innerHTML = faq_que[num]
}

function show_hide_faq(num)
{
var inner_string = String(document.getElementById('question'+num).innerHTML)
for(cntr=1;cntr<faq_que.length;cntr++)
	{
	if(cntr == num)
		{
		if(inner_string.indexOf("class=answer") > 0)
			{
			document.getElementById('question'+cntr).innerHTML = faq_que[cntr]
			}
		else
			{
			document.getElementById('question'+cntr).innerHTML = faq_que[cntr] +'\n'+ faq_ans[cntr]
			}
		}
	else
		{
		document.getElementById('question'+cntr).innerHTML = faq_que[cntr]
		}
	}
}

function show_faq_list()
{
if(document.getElementById('faq_list'))
	{
	if(document.getElementById('faq_list').style.visibility == "visible")
		{
		hide_faq_list()
		}
	else
		{
		document.getElementById('faq_list').style.visibility = "visible"
		for(cntr=1;cntr<faq_que.length;cntr++)
			{
			start_faq(cntr)
			}
		}
	}
}

function hide_faq_list()
{
var this_page = String(document.location.pathname)
if(document.getElementById('faq_list')) document.getElementById('faq_list').style.visibility = "hidden"
if(document.getElementById("nav_menu_home")) document.getElementById("nav_menu_home").style.visibility = "hidden"
if(document.getElementById("nav_menu_stash")) document.getElementById("nav_menu_stash").style.visibility = "hidden"
if(document.getElementById("nav_menu_share")) document.getElementById("nav_menu_share").style.visibility = "hidden"
if(document.getElementById("nav_menu_overview")) document.getElementById("nav_menu_overview").style.visibility = "hidden"
if(document.getElementById("nav_menu_account")) document.getElementById("nav_menu_account").style.visibility = "hidden"
if(document.getElementById("nav_menu_tapes")) document.getElementById("nav_menu_tapes").style.visibility = "hidden"
if(document.getElementById("nav_menu_help")) document.getElementById("nav_menu_help").style.visibility = "hidden"
if(document.getElementById("menu_stash_help")) document.getElementById("menu_stash_help").style.visibility = "hidden"
if(document.getElementById("nav_menu_contact")) document.getElementById("nav_menu_contact").style.visibility = "hidden"
if(document.getElementById("account_pages") && document.getElementById("account_pages").style.visibility == "visible")
	{
	if(document.getElementById("account_frame") && String(document.getElementById("account_frame").src).indexOf("tape-drive"))
		{
		if(document.getElementById("nav_menu_tapes")) document.getElementById("nav_menu_tapes").style.visibility = "visible" 
		}
	else
		{
		if(document.getElementById("nav_menu_account")) document.getElementById("nav_menu_account").style.visibility = "visible"
		}
	}
else if(partner != "" && this_page.indexOf(partner_folder+"/") > -1)
	{
	if(document.getElementById("nav_menu_home")) document.getElementById("nav_menu_home").style.visibility = "visible"
	}
else if(partner != "" && this_page.indexOf(partner_folder+"/index") > -1)
	{
	if(document.getElementById("nav_menu_home")) document.getElementById("nav_menu_home").style.visibility = "visible"
	}
else if(typeof(active_tab) != "undefined")
	{
	document.getElementById("nav_menu_"+active_tab).style.visibility = "visible"
	}
}
