<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
<!DOCTYPE prefwindow SYSTEM "chrome://rtc/locale/prefwindow.dtd">
<prefwindow id="rtcPreferences" 
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" 
title="&prefwindow.title;" 
onload="rtc.optionsLoad();" 
onclose="rtc.optionsSave();"
buttons=","
>

	<script type='application/x-javascript' src='chrome://rtc/content/rtc.js'></script>

	<script type="application/x-javascript">
	  <![CDATA[

	  ]]>
	</script>


  <prefpane id="pane1" label="&pane1.title;">

	<tabbox id="tabbox">
		<tabs id="tabs">
			<tab id="tab1" label="&Tab1Title;"/>
			<tab id="tab2" label="&Tab2Title;"/>
			<tab id="tab3" label="&Tab3Title;"/>
		</tabs>
		<tabpanels>
	
			<tabpanel id="tabpanel1" orient="vertical" minheight="300">
			    <checkbox id="0" label="&a;"/>
			    <checkbox id="1" label="&b;"/>
			    <checkbox id="2" label="&c;"/>
			    <checkbox id="3" label="&d;"/>
			    <checkbox id="4" label="&e;"/>
			    <checkbox id="5" label="&f;"/>
			    <checkbox id="6" label="&g;"/>
			    <checkbox id="7" label="&h;"/>
			    <checkbox id="8" label="&i;"/>
			    <checkbox id="20" label="&j;"/>
			    <checkbox id="21" label="&k;"/>
			    <checkbox id="24" label="&n;" oncommand="rtc.SettingsToggled(event);"/> 
				<groupbox>
					<caption label="&q;" />
						<radiogroup  id="27" orient="horizontal">
						  <radio id="27-0" value="0" label="&r;"/>
						  <radio id="27-1" value="1" label="&s;"/>
						  <radio id="27-2" value="2" label="&t;"/>
						</radiogroup>
				</groupbox>
				<spacer orient="vertical" height="5px" flex="1"/>
				<label value="&Info1;" style="font-style: italic;"/>
				<label value="&Info2;" style="font-style: italic;"/>
			</tabpanel>
	
			<tabpanel id="tabpanel2" orient="vertical">
				<groupbox>
				<caption id="nonJSOptions" label="&nonJSOptions;" />
			    	<checkbox id="25" label="&o;" oncommand="rtc.SettingsToggled(event);"/>
			    	<checkbox id="26" label="&p;" oncommand="rtc.SettingsToggled(event);"/>
				</groupbox>
				<groupbox>
				<caption id="PermanentOptions" label="&PermanentOptions;" />
					<checkbox id="22" label="&l;"/>
					<checkbox id="23" label="&m;"/>
				</groupbox>
			</tabpanel>


			<tabpanel id="tabpanel3" orient="vertical">
			<vbox maxwidth="400">
			<spacer orient="vertical" height="20px"/>
			<description onclick="rtc.pageInfo();">
				1. To save most media (e.g. images) you can always can use the Firefox 'Page Info' function.
				Click here to open page info, then switch to media tab.
			</description>
			<spacer orient="vertical" height="20px"/>
			<description>
				2. Most javascript protected media can be saved if you simply disable javascript and/or CSS. 
				To disable script go to Firefox options (content tab) or install a javascript-disable button. 
				To disable styles see Firefox menu, view, page-style.
			</description>
			<spacer orient="vertical" height="20px"/>
			<description>
				3. Most people do not know: Everything you see on a website is actually downloaded to your harddisk. 
				You just need to extract it from the browser cache (use an addon to do so).
			</description>
			<spacer orient="vertical" height="20px"/>
			</vbox>
			</tabpanel>



	
		</tabpanels>

		<spacer orient="vertical" height="10px" flex="1"/>
		<hbox pack="end">
			<button id="ResetBtn" oncommand="rtc.resetPrefs(); alert('Recommended settings are restored!');" label="Reset all options"/>
			<button id="MacAcceptBtn" oncommand="rtc.optionsSave(); window.close();" label="Ok" accesskey="o"/>
		</hbox>

	</tabbox>
  </prefpane>

</prefwindow>